diff --git a/.editorconfig b/.editorconfig index 1fc7824c..1671c9b9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,8 +8,11 @@ indent_style = space indent_size = 4 trim_trailing_whitespace = true -[*.{html, less, js}] -indent_size = 2 - [*.md] trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 + +[docker-compose.yml] +indent_size = 4 diff --git a/.env.example b/.env.example index feef3f0e..903168a0 100644 --- a/.env.example +++ b/.env.example @@ -1,18 +1,52 @@ -[app] -debug = false -trace = false +APP_NAME=Laravel +APP_ENV=local +APP_KEY= +APP_DEBUG=true +APP_URL=http://localhost -[database] -hostname = '{hostname}' -database = '{database}' -username = '{username}' -password = '{password}' -hostport = '{hostport}' -charset = utf8mb4 -prefix = lsky_ +LOG_CHANNEL=stack +LOG_DEPRECATIONS_CHANNEL=null +LOG_LEVEL=debug -[system] -single_user_mode = false -intercept_salacity = false -url_query = '' -watermark = false \ No newline at end of file +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_PORT=3306 +DB_DATABASE=lsky +DB_USERNAME=root +DB_PASSWORD= + +BROADCAST_DRIVER=log +CACHE_DRIVER=file +FILESYSTEM_DRIVER=local +QUEUE_CONNECTION=sync +SESSION_DRIVER=file +SESSION_LIFETIME=120 + +MEMCACHED_HOST=127.0.0.1 + +REDIS_HOST=127.0.0.1 +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_MAILER=smtp +MAIL_HOST=mailhog +MAIL_PORT=1025 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null +MAIL_FROM_ADDRESS=null +MAIL_FROM_NAME="${APP_NAME}" + +AWS_ACCESS_KEY_ID= +AWS_SECRET_ACCESS_KEY= +AWS_DEFAULT_REGION=us-east-1 +AWS_BUCKET= +AWS_USE_PATH_STYLE_ENDPOINT=false + +PUSHER_APP_ID= +PUSHER_APP_KEY= +PUSHER_APP_SECRET= +PUSHER_APP_CLUSTER=mt1 + +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..967315dd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +* text=auto +*.css linguist-vendored +*.scss linguist-vendored +*.js linguist-vendored +CHANGELOG.md export-ignore diff --git a/.gitignore b/.gitignore index 95e9ccce..eb003b01 100644 --- a/.gitignore +++ b/.gitignore @@ -1,35 +1,15 @@ -# General -.DS_Store -.AppleDouble -.LSOverride -.idea -.vscode -*.iml -runtime/.tmp -/public/20* -/application/install.lock -backups +/node_modules +/public/hot +/public/storage +/storage/*.key +/vendor .env - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk +.env.backup +.phpunit.result.cache +docker-compose.override.yml +Homestead.json +Homestead.yaml +npm-debug.log +yarn-error.log +/.idea +/.vscode diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 00000000..877ea701 --- /dev/null +++ b/.styleci.yml @@ -0,0 +1,14 @@ +php: + preset: laravel + version: 8 + disabled: + - no_unused_imports + finder: + not-name: + - index.php + - server.php +js: + finder: + not-name: + - webpack.mix.js +css: true diff --git a/README.md b/README.md index 803be85e..18739453 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -Lsky Pro Logo +Lsky Pro Logo

Lsky Pro

☁ Your photo album on the cloud. -[![PHP](https://img.shields.io/badge/PHP->=5.6-orange.svg)](http://php.net) +[![PHP](https://img.shields.io/badge/PHP->=8.0-orange.svg)](http://php.net) [![Release](https://img.shields.io/github/v/release/wisp-x/lsky-pro)](https://github.com/wisp-x/lsky-pro/releases) [![Issues](https://img.shields.io/github/issues/wisp-x/lsky-pro)](https://github.com/wisp-x/lsky-pro/issues) [![Code size](https://img.shields.io/github/languages/code-size/wisp-x/lsky-pro?color=blueviolet)](https://github.com/wisp-x/lsky-pro) @@ -14,64 +14,10 @@ [文档](https://www.kancloud.cn/wispx/lsky-pro)   [演示](https://pic.iqy.ink)   -[Chrome 拓展](https://github.com/wisp-x/lsky-pro-chrome-extension)   [Telegram 群组](https://t.me/lsky_pro) -> 下载稳定版请点击[这里](https://github.com/wisp-x/lsky-pro/releases),发现 bug 可发送邮件至邮箱:i@wispx.cn,或提交 [issues](https://github.com/wisp-x/lsky-pro/issues) - -![homepage.png](./public/static/app/images/demo/1.png) -![homepage.png](./public/static/app/images/demo/2.png) - -### 📌 TODO -* [x] 支持第三方云储存,本地、阿里云 OSS、腾讯云 COS、七牛云、又拍云、FTP -* [x] 多图上传、拖拽上传、粘贴上传、上传预览、全屏预览、页面响应式布局 -* [x] 简洁的图片管理功能,支持鼠标右键、单选多选、重命名等操作 -* [x] 全局配置用户初始剩余储存空间、设置指定用户剩余储存空间 -* [x] 一键复制图片外链、二维码扫描链接、图片鉴黄功能 -* [x] 设置上传文件、文件夹路径命名规则、文件夹分类功能 -* [x] 接口上传、图片软删除 -* [x] OTA 在线升级系统 -* [x] (Dark)暗黑主题 -* [x] IP 封禁功能(支持通配符) -* [x] 自定义链接参数 -* [x] 单用户模式 -* [x] 图片广场(画廊) -* [x] 上传图片自动增加水印(支持图片或文字) - -### 🛠 安装要求 -* PHP 版本 ≥ 5.6 -* mysql 版本 ≥ 5.5 -* PDO 拓展 -* ZipArchive 支持 -* fileinfo 拓展 -* curl 拓展 - -注:如果使用 FTP 功能,需要开启 PHP 的 FTP 拓展 - -### 🔍 安装教程 -1. 下载兰空,上传至 web 运行环境,解压。 -2. 设置运行目录为 public。 -3. 配置 Rewrite 规则: - ##### Nginx: - ``` - location / { - if (!-e $request_filename) { - rewrite ^(.*)$ /index.php?s=$1 last; break; - } - } - ``` - - ##### Apache: - Apache 直接使用 .htaccess 即可 - -4. 访问首页,未安装自动跳转至安装页面,根据页面提示安装即可。 -5. 安装完成以后请设置 runtime 目录 0755 权限,如果你使用本地存储,public 目录也需要设置为 0755 权限 - -### ☁️ 一键部署 - -兰空图床支持一键部署至 [腾讯云云开发](https://docs.cloudbase.net/) 详细配置可参考[文档](https://github.com/Handsomedoggy/lsky-pro/blob/master/cloudbase/tcb_doc.md) - -[![](https://main.qcloudimg.com/raw/67f5a389f1ac6f3b4d04c7256438e44f.svg)](https://console.cloud.tencent.com/tcb/env/index?action=CreateAndDeployCloudBaseProject&appUrl=https%3A%2F%2Fgithub.com%2FHandsomedoggy%2Flsky-pro&branch=master) +> ⚠️ 当前分支为 2.0 版本开发分支,[查看 2.0 版本详细说明](https://github.com/wisp-x/lsky-pro/issues/281) +> 历史版本请点击[这里](https://github.com/wisp-x/lsky-pro/releases) ,发现 bug 可发送邮件至邮箱:i@wispx.cn,或提交 [issues](https://github.com/wisp-x/lsky-pro/issues) ### 📧 联系我 - Email: i@wispx.cn @@ -84,19 +30,11 @@ Lsky Pro 的开发和更新等,都是作者在空余时间独立开发,并 微信 - - + + -### 😋 鸣谢 -- ThinkPHP -- Jquery -- BootStrap -- Mdui -- viewer.js -- context.js - ### 📃 开源许可 [GPL 3.0](https://opensource.org/licenses/GPL-3.0) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php new file mode 100644 index 00000000..d8bc1d29 --- /dev/null +++ b/app/Console/Kernel.php @@ -0,0 +1,32 @@ +command('inspire')->hourly(); + } + + /** + * Register the commands for the application. + * + * @return void + */ + protected function commands() + { + $this->load(__DIR__.'/Commands'); + + require base_path('routes/console.php'); + } +} diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php new file mode 100644 index 00000000..8e7fbd1b --- /dev/null +++ b/app/Exceptions/Handler.php @@ -0,0 +1,41 @@ +> + */ + protected $dontReport = [ + // + ]; + + /** + * A list of the inputs that are never flashed for validation exceptions. + * + * @var array + */ + protected $dontFlash = [ + 'current_password', + 'password', + 'password_confirmation', + ]; + + /** + * Register the exception handling callbacks for the application. + * + * @return void + */ + public function register() + { + $this->reportable(function (Throwable $e) { + // + }); + } +} diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php new file mode 100644 index 00000000..a0a2a8a3 --- /dev/null +++ b/app/Http/Controllers/Controller.php @@ -0,0 +1,13 @@ + + */ + protected $middleware = [ + // \App\Http\Middleware\TrustHosts::class, + \App\Http\Middleware\TrustProxies::class, + \Fruitcake\Cors\HandleCors::class, + \App\Http\Middleware\PreventRequestsDuringMaintenance::class, + \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, + \App\Http\Middleware\TrimStrings::class, + \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class, + ]; + + /** + * The application's route middleware groups. + * + * @var array> + */ + protected $middlewareGroups = [ + 'web' => [ + \App\Http\Middleware\EncryptCookies::class, + \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, + \Illuminate\Session\Middleware\StartSession::class, + // \Illuminate\Session\Middleware\AuthenticateSession::class, + \Illuminate\View\Middleware\ShareErrorsFromSession::class, + \App\Http\Middleware\VerifyCsrfToken::class, + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + + 'api' => [ + // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, + 'throttle:api', + \Illuminate\Routing\Middleware\SubstituteBindings::class, + ], + ]; + + /** + * The application's route middleware. + * + * These middleware may be assigned to groups or used individually. + * + * @var array + */ + protected $routeMiddleware = [ + 'auth' => \App\Http\Middleware\Authenticate::class, + 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, + 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, + 'can' => \Illuminate\Auth\Middleware\Authorize::class, + 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, + 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, + 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, + 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, + 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, + ]; +} diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php new file mode 100644 index 00000000..704089a7 --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,21 @@ +expectsJson()) { + return route('login'); + } + } +} diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php new file mode 100644 index 00000000..867695bd --- /dev/null +++ b/app/Http/Middleware/EncryptCookies.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php new file mode 100644 index 00000000..74cbd9a9 --- /dev/null +++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php new file mode 100644 index 00000000..a2813a06 --- /dev/null +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -0,0 +1,32 @@ +check()) { + return redirect(RouteServiceProvider::HOME); + } + } + + return $next($request); + } +} diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php new file mode 100644 index 00000000..88cadcaa --- /dev/null +++ b/app/Http/Middleware/TrimStrings.php @@ -0,0 +1,19 @@ + + */ + protected $except = [ + 'current_password', + 'password', + 'password_confirmation', + ]; +} diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php new file mode 100644 index 00000000..7186414c --- /dev/null +++ b/app/Http/Middleware/TrustHosts.php @@ -0,0 +1,20 @@ + + */ + public function hosts() + { + return [ + $this->allSubdomainsOfApplicationUrl(), + ]; + } +} diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php new file mode 100644 index 00000000..3391630e --- /dev/null +++ b/app/Http/Middleware/TrustProxies.php @@ -0,0 +1,28 @@ +|string|null + */ + protected $proxies; + + /** + * The headers that should be used to detect proxies. + * + * @var int + */ + protected $headers = + Request::HEADER_X_FORWARDED_FOR | + Request::HEADER_X_FORWARDED_HOST | + Request::HEADER_X_FORWARDED_PORT | + Request::HEADER_X_FORWARDED_PROTO | + Request::HEADER_X_FORWARDED_AWS_ELB; +} diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php new file mode 100644 index 00000000..9e865217 --- /dev/null +++ b/app/Http/Middleware/VerifyCsrfToken.php @@ -0,0 +1,17 @@ + + */ + protected $except = [ + // + ]; +} diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100644 index 00000000..89963686 --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,44 @@ + + */ + protected $fillable = [ + 'name', + 'email', + 'password', + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'email_verified_at' => 'datetime', + ]; +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php new file mode 100644 index 00000000..ee8ca5bc --- /dev/null +++ b/app/Providers/AppServiceProvider.php @@ -0,0 +1,28 @@ + + */ + protected $policies = [ + // 'App\Models\Model' => 'App\Policies\ModelPolicy', + ]; + + /** + * Register any authentication / authorization services. + * + * @return void + */ + public function boot() + { + $this->registerPolicies(); + + // + } +} diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php new file mode 100644 index 00000000..395c518b --- /dev/null +++ b/app/Providers/BroadcastServiceProvider.php @@ -0,0 +1,21 @@ +> + */ + protected $listen = [ + Registered::class => [ + SendEmailVerificationNotification::class, + ], + ]; + + /** + * Register any events for your application. + * + * @return void + */ + public function boot() + { + // + } +} diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php new file mode 100644 index 00000000..3bd3c81e --- /dev/null +++ b/app/Providers/RouteServiceProvider.php @@ -0,0 +1,63 @@ +configureRateLimiting(); + + $this->routes(function () { + Route::prefix('api') + ->middleware('api') + ->namespace($this->namespace) + ->group(base_path('routes/api.php')); + + Route::middleware('web') + ->namespace($this->namespace) + ->group(base_path('routes/web.php')); + }); + } + + /** + * Configure the rate limiters for the application. + * + * @return void + */ + protected function configureRateLimiting() + { + RateLimiter::for('api', function (Request $request) { + return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); + }); + } +} diff --git a/application/.htaccess b/application/.htaccess deleted file mode 100644 index 3418e55a..00000000 --- a/application/.htaccess +++ /dev/null @@ -1 +0,0 @@ -deny from all \ No newline at end of file diff --git a/application/api/controller/Base.php b/application/api/controller/Base.php deleted file mode 100644 index dd1d12ef..00000000 --- a/application/api/controller/Base.php +++ /dev/null @@ -1,11 +0,0 @@ - - * Date: 2019/10/31 - * Time: 11:10 上午 - * Link: https://github.com/wisp-x - */ - -namespace app\api\controller; - -use app\common\model\Images; -use app\index\controller\User; - -class Image extends Base -{ - private $model; - - public function initialize() - { - parent::initialize(); - $user = request()->user; - $this->model = new Images(); - $this->model = $this->model->where('user_id', $user->id)->field(['user_id', 'folder_id'], true); - } - - public function find() - { - $id = $this->request->post('id'); - if (!$image = $this->model->where('id', $id)->find()) { - $this->response(lang('The picture data was not found'), [], 500); - } - $this->response('success', $this->parseData($image)); - } - - public function items() - { - $page = $this->request->request('page', 1); - $rows = $this->request->request('rows', 20); - $images = $this->model->paginate(null, false, [ - 'page' => $page, - 'list_rows' => $rows, - ])->each(function ($item) { - $item = $this->parseData($item); - unset($item['create_time']); - return $item; - }); - $this->response('success', $images); - } - - public function delete() - { - $user = new User(); - $data = str_replace(',', ',', $this->request->request('id')); - if (strpos($data, ',') !== false) { - $data = explode(',', $data); - } - if ($user->deleteImages($data)) { - $this->response(lang('Delete succeeded!')); - } - $this->response(lang('Deletion failed!'), [], 500); - } - - private function parseData($data) - { - $data['upload_time'] = $data->getData('create_time'); - $data['upload_date'] = $data->create_time; - return $data; - } -} diff --git a/application/api/controller/Token.php b/application/api/controller/Token.php deleted file mode 100644 index c38d2c69..00000000 --- a/application/api/controller/Token.php +++ /dev/null @@ -1,37 +0,0 @@ - $email])) { - throw new Exception(lang('Account does not exist')); - } - if ($user->password != md5($password)) { - throw new Exception(lang('Account password error')); - } - if ('true' == $refresh) { - $token = make_token(); - $user->token = $token; - if (!$user->save()) { - throw new Exception(lang('Token refresh failed')); - } - } - } catch (Exception $e) { - $this->response($e->getMessage(), null, 500); - } - $this->response('success', ['token' => $user->token]); - } -} diff --git a/application/api/controller/Upload.php b/application/api/controller/Upload.php deleted file mode 100644 index c6404c24..00000000 --- a/application/api/controller/Upload.php +++ /dev/null @@ -1,51 +0,0 @@ -getConfig('allowed_tourist_upload') && !request()->user) { - $this->response(lang('The administrator closed the tourist upload channel')); - } - } - - /** - * 上传 - */ - public function index() - { - $data = null; - Db::startTrans(); - try { - - $data = (new \app\common\controller\Upload)->exec(); - - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->response($e->getMessage(), [], 500); - } catch (ErrorException $e) { - Db::rollback(); - $this->response($e->getMessage(), [], 500); - } catch (\Throwable $e) { - Db::rollback(); - $this->response($e->getMessage(), [], 500); - } - $this->response('success', $data); - } -} diff --git a/application/command.php b/application/command.php deleted file mode 100644 index 826bb2b2..00000000 --- a/application/command.php +++ /dev/null @@ -1,12 +0,0 @@ - -// +---------------------------------------------------------------------- - -return []; diff --git a/application/common.php b/application/common.php deleted file mode 100644 index 41339c9c..00000000 --- a/application/common.php +++ /dev/null @@ -1,157 +0,0 @@ - -// +---------------------------------------------------------------------- - -// 应用公共文件 - -/** - * 转换文件大小单位 - * - * @param $size - * @param $array - * - * @return string|array - */ -function format_size($size, $array = false) -{ - if (0 == $size) { - return "0.00 Bytes"; - } - $unit = ['', 'K', 'M', 'G', 'T', 'P']; - $base = 1024; - $i = floor(log($size, $base)); - $n = count($unit); - if ($i >= $n) { - $i = $n - 1; - } - - if ($array) { - return [sprintf("%.2f", $size / pow($base, $i)), $unit[$i] . 'B']; - } - - return sprintf("%.2f", $size / pow($base, $i)) . ' ' . $unit[$i] . 'B'; -} - -/** - * 格式化友好时间戳 - * - * @return false|string - */ -function format_time($remote, $local = null) -{ - $timediff = (is_null($local) || $local ? time() : $local) - $remote; - $chunks = array( - array(60 * 60 * 24 * 365, 'year'), - array(60 * 60 * 24 * 30, 'month'), - array(60 * 60 * 24 * 7, 'week'), - array(60 * 60 * 24, 'day'), - array(60 * 60, 'hour'), - array(60, 'minute'), - array(1, 'second') - ); - $name = $count =''; - for ($i = 0, $j = count($chunks); $i < $j; $i++) { - $seconds = $chunks[$i][0]; - $name = $chunks[$i][1]; - if (($count = floor($timediff / $seconds)) != 0) { - break; - } - } - - return lang("%s {$name}%s ago", [$count, ($count > 1 ? 's' : '')]); -} - -/** - * 过滤逗号(去除字符串两边的逗号,并将中文逗号转换成英文逗号) - * - * @param string $str 字符串 - * - * @return string - */ -function filter_comma($str) -{ - return trim(str_replace(",", ",", $str), ","); -} - -/** - * 获取文件后缀 - * - * @param string $name 文件名 - * - * @return mixed - */ -function get_file_ext($name) -{ - return pathinfo($name, PATHINFO_EXTENSION); -} - -/** - * 随机字符串 - * - * @param int $length - * @param string $char - * @return bool|string - */ -function str_rand($length = 16, $char = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') -{ - $string = ''; - for ($i = $length; $i > 0; $i--) { - $string .= $char[mt_rand(0, strlen($char) - 1)]; - } - - return $string; -} - -/** - * Make Token - * - * @param bool $recursion 是否递归检测 Token - * @return string - */ -function make_token($recursion = true) -{ - $token = md5('LSKY PRO' . uniqid() . time()); - if ($recursion) { - if (\app\common\model\Users::where('token', $token)->count()) { - return make_token(true); - } - } - return $token; -} - -/** - * Make Url - * - * @param $domain - * @param null $pathname - * @return mixed - */ -function make_url($domain, $pathname = null) -{ - $domain = rtrim($domain, '/'); - if (false === strpos($domain, 'https://') && false === strpos($domain, 'http://')) { - $domain = 'http://' . $domain; - } - $query = \think\facade\Config::get('system.url_query'); - $url = str_replace('\\', '/', $domain . ($pathname ? '/' . $pathname : null)); - if ($query) $url = $url . $query; - return $url; -} - -/** - * @param int $length - * @return int - */ -function generate_code($length = 5) -{ - $min = pow(10, ($length - 1)); - $max = pow(10, $length) - 1; - return rand($min, $max); -} diff --git a/application/common/controller/Upload.php b/application/common/controller/Upload.php deleted file mode 100644 index b57c6a4e..00000000 --- a/application/common/controller/Upload.php +++ /dev/null @@ -1,302 +0,0 @@ -user = request()->user; - $this->configs = $this->getConfig(); - - // 角色组 - if ($this->user) $this->group = $this->user->role; - if (!$this->group) $this->group = Group::where('default', 1)->find(); - - // 设置当前储存策略 - $this->strategy = $this->getStrategyInstance($this->group->strategy); - } - - /** - * 执行上传,成功返回数据,否则直接抛出异常 - * - * @return array - * @throws Exception - */ - public function exec() - { - if (!$this->configs['allowed_tourist_upload'] && !$this->user) { - throw new Exception(lang('The administrator turned off the tourist upload!')); - } - - $sameIpDayMaxUploadCount = $this->getConfig('same_ip_day_max_upload'); - if ($sameIpDayMaxUploadCount > 0) { - $startTimestamp = strtotime(date('Y-m-d')); - $ipUploadCount = Images::where('ip', '=', request()->ip())->where('create_time', '>=', $startTimestamp) - ->count(); - if ($ipUploadCount >= $sameIpDayMaxUploadCount) { - throw new Exception(lang('The number of pictures uploaded today has reached the maximum')); - } - } - - $image = $this->getImage(); - $size = $image->getSize(); - $mime = $image->getMime(); - $sha1 = $image->hash('sha1'); - $md5 = $image->hash('md5'); - - if ($this->user) { - if (($this->user->use_quota + $size) > $this->user->quota) { - throw new Exception(lang('Save failed! Your storage capacity is insufficient, please contact the administrator!')); - } - - if (!$this->user->state) { - throw new Exception(lang('Your account is frozen, please contact the administrator!')); - } - } - - $temp = $image->getPathname(); - - // 当前储存策略 - $currentStrategy = strtolower($this->group->strategy); - $pathname = $this->makePathname($image->getInfo('name')); - - $cdnDomain = $currentStrategy . '_cdn_domain'; - $domain = $this->request->domain(); - if (array_key_exists($cdnDomain, $this->strategy->configs)) { - if ($this->strategy->configs[$cdnDomain]) { - $domain = $this->strategy->configs[$cdnDomain]; - } - } - $url = make_url($domain, $pathname); - - // 自动水印 - if (Config::get('system.watermark') && $watermarkConfig = config("watermark.{$currentStrategy}")) { - if ($watermarkConfig['enable']) { - $watermarkImage = app()->getRuntimePath() . 'temp/' . md5($sha1 . $md5); - $locates = [ - 1 => Image::WATER_NORTHWEST, 2 => Image::WATER_NORTH, 3 => Image::WATER_NORTHEAST, - 4 => Image::WATER_WEST, 5 => Image::WATER_CENTER, 6 => Image::WATER_EAST, - 7 => Image::WATER_SOUTHWEST, 8 => Image::WATER_SOUTH, 9 => Image::WATER_SOUTHEAST, - ]; - switch ($watermarkConfig['type']) { - case 1: - $watermark = Image::open($image)->text( - $watermarkConfig['text'], - $watermarkConfig['font'], - $watermarkConfig['size'], - $watermarkConfig['color'], - $locates[$watermarkConfig['locate']], - $watermarkConfig['offset'], - $watermarkConfig['angle'] - ); - break; - case 2: - $watermark = Image::open($image)->water( - $watermarkConfig['source'], - $watermarkConfig['locate'], - $watermarkConfig['alpha'] - ); - break; - default: - throw new Exception(lang('Abnormal configuration of automatic watermark function')); - } - $watermark->save($watermarkImage); - $temp = $watermarkImage; - $sha1 = sha1_file($temp); - $md5 = md5_file($temp); - $size = filesize($temp); - } - } - - // 检测是否存在该图片,有则直接返回 - if ($oldImage = Images::where('md5', $md5)->where('sha1', $sha1)->where('strategy', $currentStrategy)->find()) { - $pathname = $oldImage->pathname; - $url = make_url($domain, $pathname); - goto exist; - } - - if (!$this->strategy->create($pathname, $temp)) { - if (Config::get('app.app_debug')) { - throw new Exception($this->strategy->getError()); - } - throw new Exception(lang('Upload failed. Please check whether the policy configuration is correct!')); - } - - isset($watermarkImage) && @unlink($watermarkImage); - - exist: - - // 图片鉴黄 - $suspicious = 0; - if ($this->configs['open_audit']) { - $client = new Client(['timeout' => 30.00]); - $response = $client->get("https://www.moderatecontent.com/api/v2?key={$this->configs['audit_key']}&url={$url}"); - if (200 == $response->getStatusCode()) { - $result = json_decode($response->getBody()->getContents()); - if (0 == $result->error_code) { - if ($result->rating_index >= $this->configs['audit_index']) { - // 是否直接拦截色情图片 - if (Config::get('system.intercept_salacity')) { - $this->strategy->delete($pathname); - throw new Exception(lang('The picture %s is suspected of violation. Uploading is prohibited!', [$image->getInfo('name')])); - } - $suspicious = 1; - } - } else { - $this->strategy->delete($pathname); - throw new Exception($result->error); - } - } - } - - $imageData = [ - 'user_id' => $this->user ? $this->user->id : 0, - 'strategy' => $currentStrategy, - 'path' => dirname($pathname), - 'name' => basename($pathname), - 'pathname' => $pathname, - 'size' => $size, - 'mime' => $mime, - 'sha1' => $sha1, - 'md5' => $md5, - 'suspicious' => $suspicious - ]; - - // 默认上传文件夹,暂只支持一级 - if ($this->user && $this->user->default_folder) { - $folderId = $this->user->folders()->where('name', $this->user->default_folder)->value('id'); - if (!$folderId) { - if (!$folderId = $this->user->folders()->insertGetId([ - 'user_id' => $this->user->id, - 'parent_id' => 0, - 'name' => $this->user->default_folder - ])) { - throw new Exception(lang('Folder creation failed!')); - } - } - - $imageData['folder_id'] = $folderId; - } - - if (!$model = Images::create($imageData)) { - $this->strategy->delete($pathname); - throw new Exception(lang('Failed to save picture data')); - } - - $data = [ - 'id' => $model->id, - 'name' => $image->getInfo('name'), - 'url' => $url, - 'size' => $size, - 'mime' => $mime, - 'sha1' => $sha1, - 'md5' => $md5, - ]; - - if ($this->user) { - $data['quota'] = sprintf('%.2f', (float)$this->user->quota); - $data['use_quota'] = sprintf('%.2f', (float)$this->user->use_quota); - } - - return $data; - } - - /** - * 获取图片资源 - * - * @return array|null|\think\File - * @throws Exception - */ - private function getImage() - { - $image = $this->request->file('image'); - if (null === $image) { - throw new Exception(lang('Picture resource acquisition failed')); - } - if (!is_uploaded_file($image->getPathname())) { - throw new Exception('file is not uploaded via HTTP POST'); - } - if (!$image->check([ - 'size' => $this->configs['upload_max_size'], - 'ext' => filter_comma($this->configs['upload_allowed_exts']), - ])) { - throw new Exception($image->getError()); - } - - return $image; - } - - /** - * Make pathname - * - * @param string $name 文件名 - * - * @return string - */ - private function makePathname($name) - { - $naming = Config::pull('naming'); - $pathRule = $this->configs['path_naming_rule']; - $fileRule = $this->configs['file_naming_rule']; - $path = trim(str_replace( - array_column($naming['path'], 'name'), - array_column($naming['path'], 'value'), - $pathRule - ), '/'); - - // 原始文件名单独处理 - foreach ($naming['file'] as &$item) { - if ($item['name'] === '{original}') { - $item['value'] = pathinfo($name, PATHINFO_FILENAME); - } - } - - $file = trim(str_replace( - array_column($naming['file'], 'name'), - array_column($naming['file'], 'value'), - $fileRule - ), '/') . '.' . get_file_ext($name); - - return $path ? ($path . '/' . $file) : trim($file, '/'); - } -} diff --git a/application/common/model/Config.php b/application/common/model/Config.php deleted file mode 100644 index 894b5f30..00000000 --- a/application/common/model/Config.php +++ /dev/null @@ -1,18 +0,0 @@ -where('default', 1)->setField('default', 0); - } - return $default ? 1 : 0; - } -} diff --git a/application/common/model/Images.php b/application/common/model/Images.php deleted file mode 100644 index 0cc8304c..00000000 --- a/application/common/model/Images.php +++ /dev/null @@ -1,41 +0,0 @@ - $data['strategy'], - 'name' => $data['strategy'] . '_cdn_domain', - ])->value('value'); - $domain = $cdnDomain ? $cdnDomain : request()->domain(); - return make_url($domain, $data['pathname']); - } - - public function setIpAttr() - { - return request()->ip(); - } - - public function getDateAttr($date, $data) - { - return format_time($data['create_time']); - } -} diff --git a/application/common/model/Users.php b/application/common/model/Users.php deleted file mode 100644 index 3225389d..00000000 --- a/application/common/model/Users.php +++ /dev/null @@ -1,91 +0,0 @@ -value('id'); - } - - public function setPassWordAttr($password) - { - return md5($password); - } - - public function setRegIpAttr() - { - return request()->ip(); - } - - public function setQuotaAttr($quota) - { - return $quota ? $quota : Config::where('name', 'user_initial_quota')->value('value'); - } - - public function setTokenAttr() - { - return make_token(); - } - - public function getUseQuotaAttr() - { - return sprintf("%.2f", $this->images()->sum('size')); - } - - public static function login($account, $password, $field = 'email') - { - if (!$account) { - throw new Exception(lang('Please enter the account number')); - } - - if (!$password) { - throw new Exception(lang('Please input a password')); - } - - if ($user = self::get([$field => $account])) { - if (0 === $user->state) { - throw new Exception(lang('Your account has been frozen, please contact the administrator!')); - } - if ($user->password !== md5($password)) { - throw new Exception(lang('Incorrect password')); - } - Session::set('uid', $user->id); - } else { - throw new Exception(lang('User does not exist')); - } - } - - public function images() - { - return $this->hasMany(Images::class, 'user_id', 'id'); - } - - public function folders() - { - return $this->hasMany(Folders::class, 'user_id', 'id'); - } - - public function role() - { - return $this->hasOne(Group::class, 'id', 'group_id'); - } -} diff --git a/application/common/traits/Core.php b/application/common/traits/Core.php deleted file mode 100644 index 268408c8..00000000 --- a/application/common/traits/Core.php +++ /dev/null @@ -1,78 +0,0 @@ -column('value', 'name'); - // 驱动 - $driver = Config::get('strategy.' . $strategy . '.class'); - $class = new $driver($configs); - $class->configs = $configs; - // 获取该储存策略配置 - return $class; - } - - /** - * 获取系统配置信息 - * - * @param string $name - * @return array|mixed|null - */ - public function getConfig($name = '') - { - if (count($this->configs) === 0) { - $data = \app\common\model\Config::all(); - foreach ($data as $value) { - $this->configs[$value->name] = $value->value; - } - } - - if ($name) { - return isset($this->configs[$name]) ? $this->configs[$name] : null; - } - return $this->configs; - } - - /** - * 返回数据给客户端并中断输出 - * - * @param string $msg 提示信息 - * @param array $data 数据 - * @param int $code 状态码 - * @param string $type 返回数据类型 - * - * @throws HttpResponseException - */ - protected function response($msg = '', $data = [], $code = 200, $type = 'json') - { - $response = Response::create([ - 'code' => $code, - 'msg' => $msg, - 'data' => $data ?: new \stdClass(), - 'time' => time() - ], $type); - - throw new HttpResponseException($response); - } -} diff --git a/application/common/validate/Folders.php b/application/common/validate/Folders.php deleted file mode 100644 index e6b46981..00000000 --- a/application/common/validate/Folders.php +++ /dev/null @@ -1,28 +0,0 @@ - 'require|number|integer', - 'name' => 'require|max:30|chsAlphaNum' - ]; - - protected $message = [ - 'parent_id.require' => '{%Parent folder not found}', - 'parent_id.number' => '{%Parent folder exception}', - 'parent_id.integer' => '{%Parent folder exception}', - 'name.require' => '{%Folder name cannot be empty}', - 'name.max' => '{%Folder name length max. 30 characters}', - 'name.chsAlphaNum' => '{%Folder names can only be Chinese characters, letters and numbers}' - ]; -} diff --git a/application/common/validate/Group.php b/application/common/validate/Group.php deleted file mode 100644 index f514d957..00000000 --- a/application/common/validate/Group.php +++ /dev/null @@ -1,24 +0,0 @@ - 'require|max:30|chsAlphaNum' - ]; - - protected $message = [ - 'name.require' => '{%Role group name cannot be empty}', - 'name.max' => '{%The maximum length of the role group name is 30 characters}', - 'name.chsAlphaNum' => '{%The role group name can only be Chinese characters, letters and numbers}' - ]; -} diff --git a/application/common/validate/Users.php b/application/common/validate/Users.php deleted file mode 100644 index 3259f0b1..00000000 --- a/application/common/validate/Users.php +++ /dev/null @@ -1,57 +0,0 @@ - 'require|min:3|max:15|alphaDash|unique:users', - 'nickname' => 'max:15', - 'default_folder' => 'max:30|chsAlphaNum', - 'email' => 'require|email|max:50|unique:users', - 'password' => 'require|confirm', - 'captcha' => 'require|captcha|token', - ]; - - protected $message = [ - 'username.require' => '{%User name cannot be empty}', - 'username.min' => '{%The user name cannot be less than three characters}', - 'username.max' => '{%The user name character length exceeds the limit}', - 'username.alphaDash' => '{%User names can only be letters, numbers, and underscores_ And dash-}', - 'username.unique' => '{%User name already exists, please replace}', - 'nickname.max' => '{%The length of nickname characters exceeds the limit}', - 'default_folder.max' => '{%Default upload folder name length exceeds limit}', - 'default_folder.chsAlphaNum'=> '{%The default upload folder name can only be Chinese characters, letters and numbers}', - 'email.require' => '{%Mailbox cannot be empty}', - 'email.email' => '{%The mailbox format is incorrect}', - 'email.max' => '{%Mailbox character length exceeds the limit}', - 'email.unique' => '{%Mailbox already exists}', - 'password.require' => '{%Password cannot be empty}', - 'password.confirm' => '{%The passwords entered twice are inconsistent}', - 'captcha.require' => '{%Please enter the verification code}', - 'captcha.captcha' => '{%Verification code error}', - ]; - - public function sceneEdit() - { - return $this->only(['nickname', 'default_folder', 'password'])->remove('password', 'require'); - } - - public function sceneAdminEdit() - { - return $this->only(['username', 'nickname', 'email', 'password'])->remove('password', 'require'); - } - - public function sceneInstall() - { - return $this->only(['username', 'email', 'password']); - } -} diff --git a/application/http/middleware/ApiAuthenticate.php b/application/http/middleware/ApiAuthenticate.php deleted file mode 100644 index d9fc416d..00000000 --- a/application/http/middleware/ApiAuthenticate.php +++ /dev/null @@ -1,45 +0,0 @@ -getConfig('open_api')) { // 站点是否开启了接口 - $this->response(lang('The administrator turned off API functionality'), [], 500); - } - - $user = null; - $token = $request->header('token', $request->request('token')); - if ($token) { - if (!$user = Users::get(['token' => $token])) { - $this->response(lang('Authentication failed'), [], 401); - } - } - - if (!in_array($request->path(), $this->paths)) { - if (!$token) $this->response(lang('Token does not exist'), [], 401); - } - - $request->user = $user; - - return $next($request); - } -} diff --git a/application/http/middleware/Initialize.php b/application/http/middleware/Initialize.php deleted file mode 100644 index 310f2889..00000000 --- a/application/http/middleware/Initialize.php +++ /dev/null @@ -1,70 +0,0 @@ -getAppPath() . 'install.lock')) { - if ($request->controller(true) !== 'install' || $request->action(true) !== 'index') { - return redirect(url('install/index')); - } - } else { - // 检测封禁IP - $banIp = $this->getConfig('ban_ip'); - if ($banIp) { - $ips = explode(',', str_replace(',', ',', $banIp)); - if ($this->banIp($request->ip(), $ips)) { - throw new HttpResponseException(Response::code(403)); - } - } - } - - return $next($request); - } - - /** - * 拦截某个IP, 支持通配符 - * - * @param string $ip - * @param array $ips - * @return bool - */ - private function banIp($ip, array $ips) - { - $parts = explode('.', $ip); // 分段当前 IP - $ban = false; - foreach ($ips as $item) { - // 如果直接匹配到 - if ($item === $ip) { - $ban = true; - continue; - } - - if (strpos($item, '*') !== false) { - $array = explode('.', $item); - $check = true; - for ($i = 0; $i < count($array); $i++) { - if ($array[$i] !== '*' && $array[$i] !== $parts[$i]) { - $check = false; - break; - } - } - if ($check) { - $ban = true; - break; - } - } - } - return $ban; - } -} diff --git a/application/http/middleware/WebAuthenticate.php b/application/http/middleware/WebAuthenticate.php deleted file mode 100644 index 57e8085e..00000000 --- a/application/http/middleware/WebAuthenticate.php +++ /dev/null @@ -1,56 +0,0 @@ -controller(true); - $action = $request->action(true); - $path = $controller . '/' . $action; - - $user = null; - if ($uid = Session::get('uid')) { - if (!$user = Users::get($uid)) { - Session::delete('uid'); - } - } - - if (!in_array($path, $this->paths) && !$user) { - return redirect(url('/auth/login')); - } - - $request->user = $user; - - // 单用户模式下, 只允许访问首页(除了接口) - if (env('system.single_user_mode') && !$user) { - if ($path !== 'index/index') { - return redirect(url('/')); - } - } - - return $next($request); - } -} diff --git a/application/index/controller/Auth.php b/application/index/controller/Auth.php deleted file mode 100644 index 46e5a5f8..00000000 --- a/application/index/controller/Auth.php +++ /dev/null @@ -1,123 +0,0 @@ -request->isPost()) { - try { - Users::login($account, $password, filter_var($account, FILTER_VALIDATE_EMAIL) ? 'email' : 'username'); - } catch (Exception $e) { - Session::flash('error', $e->getMessage()); - return $this->fetch(); - } - $this->redirect(url('/')); - } - return $this->fetch(); - } - - public function register() - { - if ($this->request->isPost()) { - try { - if ($this->getConfig('close_register')) { - throw new Exception(lang('Site registration closed')); - } - $data = $this->request->post(); - $validate = $this->validate($data, 'Users'); - if (true !== $validate) { - throw new Exception($validate); - } - Users::create($data); - } catch (Exception $e) { - Session::flash('error', $e->getMessage()); - return $this->fetch(); - } - Session::flash('success', lang('Registration successful')); - $this->redirect(url('auth/login')); - } - - if ($this->getConfig('close_register')) { - abort(404, lang('Site registration closed')); - } - return $this->fetch(); - } - - public function forgot() - { - $delSession = function () { - Session::delete('code', 'forgot_'); - Session::delete('email', 'forgot_'); - }; - if ($this->request->isPost()) { - try { - $data = $this->request->post(); - $validate = $this->validate($data, [ - 'password|'.lang('Password') => 'require|confirm', - ]); - if (true !== $validate) { - $this->error($validate); - } - if ($data['code'] != Session::get('code', 'forgot_')) { - throw new Exception(lang('Incorrect verification code')); - } - if (!$user = Users::get(['email' => Session::get('email', 'forgot_')])) { - throw new Exception(lang('User does not exist')); - } - $user->password = $data['password']; - $user->save(); - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $delSession(); - $this->success(lang('Reset successful')); - } - $delSession(); - return $this->fetch(); - } - - public function sendCode() - { - if ($this->request->isPost()) { - $data = $this->request->post(); - $validate = $this->validate($data, [ - 'email|'.lang('Mailbox') => 'require|email', - 'captcha|'.lang('Verification Code') => 'require|captcha' - ]); - if (true !== $validate) { - $this->error($validate); - } - - if (!$user = Users::get(['email' => $data['email']])) { - $this->error(lang('Account does not exist')); - } - - $code = generate_code(); - $err = $this->sendMail( - $data['email'], - lang('Retrieve password'), - lang('Retrieve password mail content', [$user->username, $code]) - ); - - if (true !== $err) { - $this->error($err); - } - - Session::set('code', $code, 'forgot_'); - Session::set('email', $data['email'], 'forgot_'); - $this->success(lang('Sent successfully')); - } - } -} diff --git a/application/index/controller/Base.php b/application/index/controller/Base.php deleted file mode 100644 index f0ecd6c7..00000000 --- a/application/index/controller/Base.php +++ /dev/null @@ -1,79 +0,0 @@ -user = request()->user; - - if ($this->request->has('lang')) { - Cookie::set('think_var', $this->request->get('lang')); - } - - $this->assign([ - 'config' => $this->getConfig(), - 'user' => $this->user, - 'uri' => strtolower($this->request->controller() . '/' . $this->request->action()), - 'lang' => Lang::range(), - 'languages' => json_encode(Lang::get()), - ]); - } - - protected function sendMail($email, $subject, $body) - { - $mail = new PHPMailer(); - try { - // $mail->SMTPDebug = 2; - $mail->isSMTP(); - $mail->Host = $this->getConfig('mail_smtp_host'); - $mail->CharSet = 'UTF-8'; - $mail->SMTPAuth = true; - $mail->Username = $this->getConfig('mail_smtp_username'); - $mail->Password = $this->getConfig('mail_smtp_password'); - $mail->SMTPSecure = $this->getConfig('mail_smtp_secure'); - $mail->Port = $this->getConfig('mail_smtp_port'); - $mail->setFrom($this->getConfig('mail_form_email'), $this->getConfig('site_name')); - $mail->addAddress($email); - $mail->addReplyTo($this->getConfig('mail_form_email'), $this->getConfig('site_name')); - $mail->isHTML(true); - $mail->Subject = $subject; - $mail->Body = $body; - if (!$mail->send()) { - throw new Exception('Mailer Error: ' . $mail->ErrorInfo); - } - } catch (Exception $e) { - $this->error($e->getMessage()); - } - - return true; - } -} diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php deleted file mode 100644 index a9e968b1..00000000 --- a/application/index/controller/Index.php +++ /dev/null @@ -1,70 +0,0 @@ -user) { - if ($this->request->isPost()) { - try { - $account = $this->request->post('account'); - $password = $this->request->post('password'); - $field = filter_var($account, FILTER_VALIDATE_EMAIL) ? 'email' : 'username'; - Users::login($account, $password, $field); - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Welcome back')); - } - return view('index/home'); - } - - $this->assign('images_count', Images::cache(120)->count()); - return $this->fetch(); - } - - public function gallery() - { - if (!$this->getConfig('open_gallery')) { - abort(404, lang('Gallery feature is off')); - } - $images = []; - Images::order('id', 'desc') - ->where('user_id', 0) - ->paginate($this->request->limit ? $this->request->limit : 30) - ->each(function (Images $item) use (&$images) { - $images[] = [ - 'url' => $item->url, - 'date' => $item->date, - ]; - }); - if ($this->request->isPost()) { - $this->success('success', null, $images); - } - $this->assign('images', $images); - return $this->fetch(); - } - - public function api() - { - if (!$this->getConfig('open_api')) { - abort(404, lang('API interface closed')); - } - $this->assign('domain', $this->request->domain()); - return $this->fetch(); - } -} diff --git a/application/index/controller/Install.php b/application/index/controller/Install.php deleted file mode 100644 index 8f2bd16a..00000000 --- a/application/index/controller/Install.php +++ /dev/null @@ -1,156 +0,0 @@ -getAppPath() . 'install.lock') && !Session::has('install_success')) { - exit(lang('Installed tips')); - } - - $phpVerGt56 = PHP_VERSION >= 5.6; - $isCurl = function_exists('curl_init'); - $isFileInfo = function_exists('finfo_open'); - $pdo = extension_loaded("pdo_mysql"); - $isZip = class_exists('ZipArchive'); - - switch ($step) { - case 1: - // 运行环境检测 - $testing = $phpVerGt56 && $isCurl && $isFileInfo && $pdo && $isZip; - $this->assign([ - 'phpVerGt56' => $phpVerGt56, - 'isCurl' => $isCurl, - 'isFileInfo' => $isFileInfo, - 'pdo' => $pdo, - 'isZip' => $isZip, - 'testing' => $testing, - 'dir' => is_writable(app()->getRuntimePath()) && is_writable(app()->getConfigPath()), - ]); - break; - case 2: - // 安装 - if ($this->request->isPost()) { - $hostname = $this->request->post('hostname'); - $database = $this->request->post('database'); - $username = $this->request->post('username'); - $password = $this->request->post('password'); - $hostport = $this->request->post('hostport'); - try { - $installSql = app()->getAppPath() . 'sql/install.sql'; - if (!is_file($installSql)) { - throw new Exception(lang('The database SQL file does not exist')); - } - $db = Db::connect(array_merge(\config('database.'), [ - 'hostname' => $hostname, - 'database' => $database, - 'username' => $username, - 'password' => $password, - 'hostport' => $hostport, - ])); - - $lines = file($installSql); - $temp = ''; - foreach ($lines as &$line) { - $line = trim($line); - if (substr($line, 0, 2) == '--' || $line == '' || substr($line, 0, 2) == '/*') continue; - $temp .= $line; - if (substr($line, -1, 1) == ';') { - $db->execute($temp); - $temp = ''; - } - } - - Session::set('db', [ - 'hostname' => $hostname, - 'database' => $database, - 'username' => $username, - 'password' => $password, - 'hostport' => $hostport, - 'prefix' => 'lsky_' - ]); - } catch (Exception $e) { - $this->error($e->getMessage()); - } catch (\PDOException $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Data written successfully')); - } - break; - case 3: - // 设置管理员账号密码 - if ($this->request->isPost()) { - try { - $data = $this->request->post(); - $data['is_admin'] = 1; - $data['group_id'] = 1; - $data['quota'] = 1073741824; - $data['update_time'] = time(); - $data['create_time'] = time(); - if ($data['password'] != $data['password_confirm']) { - throw new Exception(lang('The passwords entered twice are inconsistent!')); - } - $data['password'] = md5($data['password']); - $data['reg_ip'] = request()->ip(); - $data['token'] = make_token(false); - - $config = Session::get('db'); - - // 写入 env 文件 - $env = str_ireplace([ - '{hostname}', - '{database}', - '{username}', - '{password}', - '{hostport}', - ], $config, @file_get_contents(app()->getRootPath() . '.env.example')); - if (!@file_put_contents(app()->getRootPath() . '.env', $env)) { - throw new \Exception(lang('Configuration file write failed')); - } - - $db = Db::connect(array_merge(\config('database.'), $config)); - unset($data['password_confirm']); - $db->name('users')->insert($data); - - // 创建安装锁文件 - if (!@fopen(app()->getAppPath() . 'install.lock', 'w')) { - throw new \Exception(lang('Setup lock file creation failed')); - } - } catch (Exception $e) { - @unlink(app()->getAppPath() . 'install.lock'); - $this->error($e->getMessage()); - } catch (\Exception $e) { - @unlink(app()->getAppPath() . 'install.lock'); - $this->error($e->getMessage()); - } catch (\PDOException $e) { - @unlink(app()->getAppPath() . 'install.lock'); - $this->error($e->getMessage()); - } - Session::flash('install_success', true); - // 删除session - Session::delete('db'); - $this->success(lang('Set successfully')); - } - break; - } - - $this->assign([ - 'step' => $step - ]); - return $this->fetch(); - } -} diff --git a/application/index/controller/Upload.php b/application/index/controller/Upload.php deleted file mode 100755 index 2339e72e..00000000 --- a/application/index/controller/Upload.php +++ /dev/null @@ -1,38 +0,0 @@ -exec(); - - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - return json(['error' => $e->getMessage()]); - } catch (ErrorException $e) { - Db::rollback(); - return json(['error' => $e->getMessage()]); - } catch (\Throwable $e) { - Db::rollback(); - return json(['error' => $e->getMessage()]); - } - - $this->result($data, 200, lang('Upload succeeded')); - } -} diff --git a/application/index/controller/User.php b/application/index/controller/User.php deleted file mode 100644 index fabb5b54..00000000 --- a/application/index/controller/User.php +++ /dev/null @@ -1,268 +0,0 @@ -request->isPost()) { - try { - $model = $this->user->images()->order('create_time', 'desc'); - $folders = $this->user->folders()->where('parent_id', $folderId)->select(); - if (!empty($keyword)) { - $model = $model->where('pathname|alias_name|sha1|md5|ip', 'like', "%{$keyword}%"); - } - if (is_numeric($folderId)) { - $model = $model->where('folder_id', $folderId); - } - $images = $model->paginate($limit); - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $this->success('success', null, [ - 'images' => $images, - 'folders'=> $folders - ]); - } - return $this->fetch(); - } - - public function deleteImages($deleteId = null) - { - Db::startTrans(); - try { - $id = $deleteId ? $deleteId : $this->request->post('id'); - $deletes = []; // 需要删除的文件 - $images = $this->user->images()->where('id', 'in', $id)->select(); - foreach ($images as &$value) { - // 查找是否有相同 md5 的文件记录,有的话则只删除记录不删除文件 - if (!$this->exists($value)) { - $deletes[$value->strategy][] = $value->pathname; - } - $value->delete(); - unset($value); - } - // 是否开启软删除(开启了只删除记录,不删除文件) - if (!$this->getConfig('soft_delete')) { - $strategy = []; - // 实例化所有储存策略驱动 - $strategyAll = array_keys(Config::pull('strategy')); - foreach ($strategyAll as $value) { - // 获取储存策略驱动 - $strategy[$value] = $this->getStrategyInstance($value); - } - - foreach ($deletes as $key => $val) { - if (1 === count($val)) { - if (!$strategy[$key]->delete(isset($val[0]) ? $val[0] : null)) { - // throw new Exception(lang('Deletion failed')); - } - } else { - if (!$strategy[$key]->deletes($val)) { - // throw new Exception(lang('Batch deletion failed')); - } - } - } - } - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - if ($deleteId) { - return false; - } - $this->error($e->getMessage()); - } - if ($deleteId) { - return true; - } - $this->success(lang('Delete succeeded')); - } - - public function createFolder() - { - if ($this->request->isPost()) { - try { - $parentId = $this->request->post('parent_id'); - $name = $this->request->post('name'); - $data = [ - 'user_id' => $this->user->id, - 'parent_id' => $parentId, - 'name' => $name - ]; - $validate = $this->validate($data, 'Folders'); - if (true !== $validate) { - throw new Exception($validate); - } - Folders::create($data); - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Created successfully')); - } - } - - public function deleteFolder() - { - if ($this->request->isPost()) { - Db::startTrans(); - try { - $id = $this->request->post('id'); - $folders = $images = []; - $this->getDeleteFoldersAndImages($id, $folders, $images); - $folders[] = (int) $id; - $folders && Folders::destroy($folders, true); - $images && $this->deleteImages($images); - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->error($e->getMessage()); - } - $this->success(lang('Delete succeeded')); - } - } - - public function getFolders($parentId = 0) - { - if ($this->request->isPost()) { - $folders = $this->user->folders()->where('parent_id', $parentId)->select(); - $this->success('success', null, $folders); - } - } - - public function moveImages($ids, $folderId) - { - if ($this->request->isPost()) { - $count = $this->user->folders()->where('id', $folderId)->count(); - if ($count || $folderId == 0) { - if (Images::where('id', 'in', $ids)->setField('folder_id', $folderId)) { - $this->success(lang('Move succeeded')); - } - $this->error(lang('Move failed')); - } else { - $this->error(lang('The folder does not exist!')); - } - } - } - - public function renameFolder() - { - if ($this->request->isPost()) { - Db::startTrans(); - try { - $id = $this->request->post('id'); - $parentId = $this->request->post('parent_id'); - $name = $this->request->post('name'); - $data = [ - 'id' => $id, - 'parent_id' => $parentId, - 'user_id' => $this->user->id, - 'name' => $name - ]; - $validate = $this->validate($data, 'Folders'); - if (true !== $validate) { - throw new Exception($validate); - } - Folders::update($data); - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->error($e->getMessage()); - } - $this->success(lang('Rename succeeded')); - } - } - - public function renameImage() - { - if ($this->request->isPost()) { - try { - $id = $this->request->post('id'); - $name = $this->request->post('name'); - - $validate = Validate::make(['name|'.lang('Alias') => 'require|max:60|chsDash']); - if (!$validate->check(['name' => $name])) { - throw new \Exception($validate->getError()); - } - if (!$this->user->images()->where('id', $id)->update(['alias_name' => $name])) { - throw new \Exception(lang('Rename failed')); - } - } catch (\Exception $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Rename succeeded')); - } - } - - /** - * 检测除本身图片以外的记录是否存在 - * - * @param Images $image - * @return float|string - */ - private function exists(Images $image) - { - return Images::where('id', 'neq', $image->id) - ->where('md5', $image->md5) - ->where('sha1', $image->sha1) - ->count(); - } - - private function getDeleteFoldersAndImages($folderId, &$folders, &$images) - { - $folderList = $this->user->folders()->where('parent_id', $folderId)->column('id'); - $imagesList = $this->user->images()->where('folder_id', $folderId)->column('id'); - if ($imagesList) { - $images = array_merge($images, $imagesList); - } - foreach ($folderList as &$value) { - $folders[] = $value; - $this->getDeleteFoldersAndImages($value, $folders, $images); - } - } - - public function settings() - { - if ($this->request->isPost()) { - try { - $data = $this->request->post(); - $validate = $this->validate($data, 'Users.edit'); - if (true !== $validate) { - throw new Exception($validate); - } - if ($data['password_old']) { - if (md5($data['password_old']) != $this->user->password) { - throw new Exception(lang('The original password is incorrect')); - } - } - if (!$data['password']) unset($data['password']); - $this->user->save($data); - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Saved successfully')); - } - return $this->fetch(); - } - - public function logout() - { - Session::delete('uid'); - $this->redirect(url('/')); - } -} diff --git a/application/index/controller/admin/Base.php b/application/index/controller/admin/Base.php deleted file mode 100644 index 201abdbb..00000000 --- a/application/index/controller/admin/Base.php +++ /dev/null @@ -1,38 +0,0 @@ -user) { - $this->redirect(url('auth/login')); - } - if (!$this->user->is_admin) { - $this->redirect(url('/')); - } - } - - protected function getConfigs($keys) - { - $data = Config::order('type', 'asc')->all(); - $configs = []; - foreach ($data as $value) { - if (in_array($value->key, $keys)) { - $configs[$value->key][] = $value; - } - } - return $configs; - } -} diff --git a/application/index/controller/admin/Group.php b/application/index/controller/admin/Group.php deleted file mode 100644 index 67f7d84c..00000000 --- a/application/index/controller/admin/Group.php +++ /dev/null @@ -1,157 +0,0 @@ -strategyList = Config::pull('strategy'); - } - - public function index() - { - $groups = GroupModel::select()->order('id', 'desc')->each(function ($item) { - $item->strategy_str = isset($this->strategyList[$item->strategy]) ? $this->strategyList[$item->strategy]['name'] : lang('Unknown'); - return $item; - }); - $this->assign([ - 'groups' => $groups, - 'strategy_list' => $this->strategyList - ]); - - return $this->fetch(); - } - - public function add() - { - if ($this->request->isPost()) { - try { - $data = $this->request->post(); - $validate = $this->validate($data, 'Group'); - if (true !== $validate) { - throw new Exception($validate); - } - if (!GroupModel::create($data)) { - throw new Exception(lang('Add failed')); - } - } catch (Exception $e) { - $this->error($e->getMessage()); - } - - $this->success(lang('Added successfully')); - } - } - - public function edit() - { - if ($this->request->isPost()) { - try { - $data = $this->request->post(); - $validate = $this->validate($data, 'Group'); - if (true !== $validate) { - throw new Exception($validate); - } - $data['default'] = array_key_exists('default', $data) ? 1 : 0; - if ($data['default'] === 0) { - if (!GroupModel::where('default', 1)->where('id', 'neq', $data['id'])->count()) { - throw new Exception(lang('Keep at least one default group')); - } - } - if (!GroupModel::update($data)) { - throw new Exception(lang('Edit failed')); - } - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Edit succeeded')); - } - } - - public function del() - { - if ($this->request->isPost()) { - Db::startTrans(); - try { - $id = $this->request->post('id'); - if (1 == $id) { - throw new Exception(lang('The default group cannot be deleted')); - } - $group = GroupModel::find($id); - // 至少保留一个默认分组 - $defaultId = GroupModel::where('default', 1)->where('id', 'neq', $id)->value('id'); - if (!$defaultId) { - throw new Exception(lang('Keep at least one default group')); - } - // 转移该组下的用户到默认分组 - \app\common\model\Users::where('group_id', $group->id)->setField('group_id', $defaultId); - $group->delete(); - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->error($e->getMessage()); - } - $this->success(lang('Delete succeeded')); - } - } - - public function getGroup() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - $this->success('success', null, GroupModel::find($id)); - } - } - - public function setDefault() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - $value = $this->request->post('value'); - if (1 != $value) { - if (!GroupModel::where('default', 1)->where('id', 'neq', $id)->count()) { - $this->error(lang('Keep at least one default group')); - } - } - if (!GroupModel::update([ - 'id' => $id, - 'default' => $value - ])) { - $this->error(lang('Setting failed')); - } - $this->success(lang('Setting succeeded')); - } - } - - public function setStrategy() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - $strategy = $this->request->post('strategy'); - if (!array_key_exists($strategy, $this->strategyList)) { - $this->error(lang('Storage policy does not exist')); - } - if (!GroupModel::update([ - 'id' => $id, - 'strategy' => $strategy - ])) { - $this->error(lang('Setting failed')); - } - $this->success(lang('Setting succeeded')); - } - } -} diff --git a/application/index/controller/admin/Images.php b/application/index/controller/admin/Images.php deleted file mode 100644 index ea8f8336..00000000 --- a/application/index/controller/admin/Images.php +++ /dev/null @@ -1,155 +0,0 @@ -strategyList = Config::pull('strategy'); - $this->assign('strategy_list', $this->strategyList); - } - - public function index($strategy = '', $user_id = '', $suspicious = 0, $keyword = '', $limit = 30) - { - $model = new ImagesModel(); - $model = $model->where('suspicious', $suspicious); - if ($strategy) { - $model = $model->where('strategy', $strategy); - } - if ($user_id) { - $model = $model->where('user_id', $user_id); - } - if (!empty($keyword)) { - $model = $model->where('pathname|alias_name|sha1|md5|ip', 'like', "%{$keyword}%"); - } - $images = $model->order('id', 'desc')->paginate($limit, false, [ - 'query' => [ - 'strategy' => $strategy, - 'keyword' => $keyword - ] - ])->each(function ($item) { - $username = Users::where('id', $item->user_id)->value('username'); - $item->username = $username ? $username : lang('Visitor'); - $item->strategyStr = isset($this->strategyList[$item->strategy]) ? $this->strategyList[$item->strategy]['name'] : lang('Unknown'); - return $item; - }); - $this->assign([ - 'images' => $images, - 'keyword' => $keyword, - 'strategyList' => $this->strategyList, - 'strategy' => $strategy, - 'suspicious' => $suspicious, - 'user_id' => $user_id, - ]); - - return $this->fetch(); - } - - public function delete() - { - if ($this->request->isPost()) { - Db::startTrans(); - try { - $id = $this->request->post('id'); - $deletes = []; // 需要删除的文件 - $images = ImagesModel::where('id', 'in', $id)->select(); - foreach ($images as &$value) { - // 查找是否有相同 md5 的文件记录,有的话则只删除记录不删除文件 - if (!$this->exists($value)) { - $deletes[$value->strategy][] = $value->pathname; - } - $value->delete(); - unset($value); - } - // 是否开启软删除(开启了只删除记录,不删除文件) - if (!$this->getConfig('soft_delete')) { - $strategy = []; - // 实例化所有储存策略驱动 - $strategyAll = array_keys($this->strategyList); - foreach ($strategyAll as $value) { - // 获取储存策略驱动 - $strategy[$value] = $this->getStrategyInstance($value); - } - - foreach ($deletes as $key => $val) { - if (1 === count($val)) { - if (!$strategy[$key]->delete(isset($val[0]) ? $val[0] : null)) { - // throw new Exception(lang('Deletion failed')); - } - } else { - if (!$strategy[$key]->deletes($val)) { - // throw new Exception(lang('Batch deletion failed')); - } - } - } - } - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->error($e->getMessage()); - } - $this->success(lang('Delete succeeded')); - } - } - - /** - * 检测除本身图片以外的记录是否存在 - * - * @param ImagesModel $image - * @return float|string - */ - private function exists(ImagesModel $image) - { - return ImagesModel::where('id', 'neq', $image->id) - ->where('md5', $image->md5) - ->where('sha1', $image->sha1) - ->count(); - } - - public function getIpInfo() - { - if ($this->request->isPost()) { - try { - $data = null; - $ip = $this->request->post('ip'); - $client = new Client(); - $response = $client->get("https://ip.taobao.com/outGetIpInfo?ip={$ip}&accessKey=alibaba-inc"); - if ($response->getStatusCode() == 200) { - $data = json_decode($response->getBody()->getContents(), true); - if (isset($data['code']) && $data['code'] == 0) { - $data = isset($data['data']) ? $data['data'] : null; - } - } - } catch (Exception $e) { - $this->error(lang('Acquisition failed')); - } catch (RequestException $e) { - $this->error(lang('The interface is abnormal, %s', [$e->getMessage()])); - } - $this->success(lang('Get success'), null, $data); - } - } -} diff --git a/application/index/controller/admin/Strategy.php b/application/index/controller/admin/Strategy.php deleted file mode 100644 index 7a2d1b7e..00000000 --- a/application/index/controller/admin/Strategy.php +++ /dev/null @@ -1,51 +0,0 @@ -assign([ - 'configs' => parent::getConfigs(array_keys($strategy)), - 'strategy' => $strategy - ]); - } - - public function index() - { - if ($this->request->isPost()) { - Db::startTrans(); - try { - $data = $this->request->post(); - foreach ($data as $key => $value) { - Config::where('name', $key)->setField('value', trim($value)); - } - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->error($e->getMessage()); - } - $this->success(lang('Saved successfully')); - } - return $this->fetch(); - } -} diff --git a/application/index/controller/admin/System.php b/application/index/controller/admin/System.php deleted file mode 100644 index 249fbb8b..00000000 --- a/application/index/controller/admin/System.php +++ /dev/null @@ -1,217 +0,0 @@ -assign('configs', parent::getConfigs(['basics', 'upload', 'user', 'mail', 'audit', 'other'])); - } - - public function index() - { - if ($this->request->isPost()) { - Db::startTrans(); - try { - $data = $this->request->post(); - foreach ($data as $key => $value) { - Config::where('name', $key)->setField('value', $value); - } - Db::commit(); - } catch (Exception $e) { - Db::rollback(); - $this->error($e->getMessage()); - } - $this->success(lang('Saved successfully')); - } - // 命名规则 - $naming = \think\facade\Config::pull('naming'); - $this->assign('naming', $naming); - return $this->fetch(); - } - - public function console() - { - $storage = Images::sum('size'); - $imagesCount = Images::count('*'); - $suspiciousImagesCount = Images::where('suspicious', 1)->count(); - $users_count = \app\common\model\Users::count('*'); - $today = Images::whereTime('create_time', 'today')->count('*'); - $yesterday = Images::whereTime('create_time', 'yesterday')->count('*'); - $month = Images::whereTime('create_time', 'month')->count('*'); - $tourists = Images::where('user_id', 0)->count(); - - $this->assign([ - 'storage' => format_size($storage, true), // 占用储存 - 'images_num' => $imagesCount, // 图片数量 - 'suspicious_images_num' => $suspiciousImagesCount, // 可疑图片 - 'users_num' => $users_count, // 用户数量 - 'today' => $today, // 今日上传 - 'yesterday' => $yesterday, // 昨日上传 - 'month' => $month, // 本月上传 - 'tourists' => $tourists, // 游客上传 - ]); - - return $this->fetch(); - } - - public function testMail() - { - if ($this->request->isPost()) { - $email = $this->request->post('email'); - $err = $this->sendMail($email, lang('Test'), lang('This is a test email!')); - if (true !== $err) { - $this->error($err); - } - $this->success(lang('Sent successfully')); - } - } - - /** - * 更新系统 - */ - public function upgrade() - { - $upgrade = null; - try { - if (!class_exists('ZipArchive')) { - throw new \Exception(lang('Cannot continue, please make sure ZipArrive is installed correctly')); - } - - ignore_user_abort(true); - set_time_limit(0); - ini_set('max_execution_time', 0); - ini_set('memory_limit', '256M'); - - $upgrade = new \Upgrade(app()->getRootPath(), $this->getConfig('system_version')); - $release = $upgrade->release(); // 获取最新版 - // 判断是否已经是最新版 - if ($upgrade->check($release->version)) { - throw new \Exception(lang('The current system is the latest version')); - } - $upgradeFile = app()->getRuntimePath() . 'upgrade.zip';// 判断是否存在安装包 - $file = file_exists($upgradeFile) ? $upgradeFile : $upgrade->download($release->url); - - // 校验 MD5 - if (strtolower(md5_file($file)) !== strtolower($release->md5)) { - throw new \Exception(lang('The installation package is corrupt. Please try again later')); - } - - $dir = $upgrade->unzip($file, $upgrade->getWorkspace()); // 解压安装包到工作区目录 - $path = rtrim($dir . strtolower($release->path), '/') . '/'; // 新版本程序解压后的根目录 - $updateSql = $path . $release->sql; // 更新数据库结构 sql 文件路径 - if (!$sql = @file_get_contents($updateSql)) { - throw new \Exception(lang('SQL file acquisition failed')); - } - - // 创建安装锁文件 - if (!@fopen($path . 'application/install.lock', 'w')) { - throw new \Exception(lang('Setup lock file creation failed')); - } - - Db::startTrans(); - - // 检测新增表字段 - if (!$tableFields = @include($path . 'config/table.php')) { - throw new \Exception(lang('Failed to get table field configuration file')); - } - foreach ($tableFields as $table => $fields) { - foreach ($fields as $field => $sql) { - $fetchFields = array_column(Db::query("DESCRIBE `{$table}`;"), 'Field'); - if (!in_array($field, $fetchFields)) { - Db::execute($sql); - } - } - } - - // 执行 sql 导入 - if (is_file($path . $release->sql)) { - $lines = file($path . $release->sql); - $temp = ''; - foreach ($lines as &$line) { - $line = trim($line); - if (substr($line, 0, 2) == '--' || $line == '' || substr($line, 0, 2) == '/*') continue; - $temp .= $line; - if (substr($line, -1, 1) == ';') { - Db::execute($temp); - $temp = ''; - } - } - } - - // 检测需要的删除文件或文件夹 - foreach ($release->removes as $key => $items) { - foreach ($items as $item) { - $pathname = trim($upgrade->getRootPath(), '/') . '/' . trim($item, '/'); - if ($key === 'folders') { - $upgrade->rmdir($pathname); - } else { - @unlink($pathname); - } - } - } - - // 复制文件夹 - $upgrade->copyDirs($path, $upgrade->getRootPath()); - - Db::commit(); - } catch (\Exception $e) { - Db::rollback(); - @$upgrade->rmdir($upgrade->getWorkspace()); - $this->error($e->getMessage()); - } catch (\PDOException $e) { - Db::rollback(); - @$upgrade->rmdir($upgrade->getWorkspace()); - $this->error($e->getMessage()); - } catch (\HttpException $e) { - Db::rollback(); - @$upgrade->rmdir($upgrade->getWorkspace()); - $this->error($e->getMessage()); - } catch (\Throwable $e) { - Db::rollback(); - @$upgrade->rmdir($upgrade->getWorkspace()); - $this->error($e->getMessage()); - } - $this->success(lang('Upgrade Complete')); - } - - /** - * 备份系统 - */ - public function backup() - { - $backup = 'backups/' . date('YmdHis') . '.zip'; - try { - $upgrade = new \Upgrade(app()->getRootPath(), $this->getConfig('system_version')); - $upgrade->backup($backup); - } catch (\Exception $e) { - $this->error($e->getMessage()); - } catch (\PDOException $e) { - $this->error($e->getMessage()); - } catch (\HttpException $e) { - $this->error($e->getMessage()); - } catch (\Throwable $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Backup complete, %s', [$backup])); - } -} diff --git a/application/index/controller/admin/Users.php b/application/index/controller/admin/Users.php deleted file mode 100644 index d637b7b0..00000000 --- a/application/index/controller/admin/Users.php +++ /dev/null @@ -1,151 +0,0 @@ -where('state', $state); - } - if (!empty($keyword)) { - $model = $model->where('username|nickname|email', 'like', "%{$keyword}%"); - } - $users = $model->order('id', 'desc')->paginate($limit, false, [ - 'query' => [ - 'state' => $state, - 'keyword' => $keyword - ] - ]); - $this->assign([ - 'users' => $users, - 'state' => $state, - 'keyword' => $keyword, - 'groups' => \app\common\model\Group::select() - ]); - return $this->fetch(); - } - - public function delete() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - if (is_array($id)) { - if (in_array($this->user->id, $id)) { - $this->error(lang('You cannot delete your account!')); - } - } else { - if ($id == $this->user->id) { - $this->error(lang('You cannot delete your account!')); - } - } - if (!UsersModel::destroy($id)) { - $this->error(lang('Deletion failed')); - } - $this->success(lang('Delete succeeded')); - } - } - - public function frozen() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - if (is_array($id)) { - if (in_array($this->user->id, $id)) { - $this->error(lang('You can\'t freeze your account!')); - } - } else { - if ($id == $this->user->id) { - $this->error(lang('You can\'t freeze your account!')); - } - } - $model = new UsersModel(); - if (!$model->where('id', 'in', $id)->update(['state' => 0])) { - $this->error(lang('Freeze failed')); - } - $this->success(lang('Freeze succeeded')); - } - } - - public function getUser() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - if (!$user = UsersModel::get($id)) { - $this->error(lang('Data acquisition failed')); - } - unset($user->password); - $this->success(lang('Success'), null, $user); - } - } - - public function edit() - { - if ($this->request->isPost()) { - try { - $data = $this->request->post(); - $validate = $this->validate($data, 'Users.AdminEdit'); - if (true !== $validate) { - throw new Exception($validate); - } - if (!$data['password']) unset($data['password'], $data['password_confirm']); - if (!UsersModel::update($data)) { - throw new Exception(lang('Modification failed')); - } - } catch (Exception $e) { - $this->error($e->getMessage()); - } - $this->success(lang('Saved successfully')); - } - } - - public function setState() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - $state = $this->request->post('state'); - if (!$user = UsersModel::get($id)) { - $this->error(lang('Data acquisition failed')); - } - if ($user->id === $this->user->id) { - $this->error(lang('You cannot modify your status')); - } - if (!$user->where('id', $id)->setField('state', $state)) { - $this->error(lang('Status modification failed')); - } - $this->success(lang('Status modification succeeded')); - } - } - - public function setGroup() - { - if ($this->request->isPost()) { - $id = $this->request->post('id'); - $groupId = $this->request->post('group_id'); - if (!$group = \app\common\model\Group::find($groupId)) { - $this->error('Data acquisition failed'); - } - if (!UsersModel::where('id', $id)->setField('group_id', $groupId)) { - $this->error(lang('Modification failed')); - } - $this->success(lang('Modified successfully')); - } - } -} diff --git a/application/index/middleware.php b/application/index/middleware.php deleted file mode 100644 index 26b122af..00000000 --- a/application/index/middleware.php +++ /dev/null @@ -1,18 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | 中间件配置 -// +---------------------------------------------------------------------- -return [ - app\http\middleware\Initialize::class, - app\http\middleware\WebAuthenticate::class -]; diff --git a/application/index/view/admin/group/index.html b/application/index/view/admin/group/index.html deleted file mode 100644 index 20f9dfd8..00000000 --- a/application/index/view/admin/group/index.html +++ /dev/null @@ -1,210 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Role group')} - {$config.site_name}{/block} - -{block name="main"} -
-
-
-
-
-

{:lang('Role group tips')}

-
-
-
-
-
- - - - - - - - - - - {foreach $groups as $value} - - - - - - - {/foreach} - -
{:lang('Strategy used')}{:lang('Name')}{:lang('Register default')}{:lang('Operation')}
- - {$value.name} - - -
- - -
-
-
-
-
-
-
-
-
{:lang('Add role group')}
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
-
-
-
-
{:lang('Edit role group')}
-
- - -
-
- - -
-
- - -
- -
- - -
-
-
-
-
-
- -
-{/block} - -{block name="js"} - -{/block} diff --git a/application/index/view/admin/images/index.html b/application/index/view/admin/images/index.html deleted file mode 100644 index 1ec22fda..00000000 --- a/application/index/view/admin/images/index.html +++ /dev/null @@ -1,173 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Picture management')} - {$config.site_name}{/block} - -{block name="css"} - -{/block} - -{block name="main"} -
-
-
- - {:lang('There are %s pictures in total', [''.$images->total().''])} - -
-
-
- - - - -
-
-
- - - - - - - - - - - - - - - - {foreach $images as $key => $value} - - - - - - - - - - - - {/foreach} - -
{:lang('User')}{:lang('Storage strategy')}{:lang('Alias')}{:lang('Route')}{:lang('Size')}{:lang('Type')}{:lang('Upload IP')}{:lang('Upload time')}{:lang('Operation')}
{$value.username}{:lang($value.strategyStr)}{$value.alias_name ?: '-'}{$value.pathname}{$value.size|format_size}{$value.mime}{$value.ip}{$value.date} - -
- - -
-
-
-
- {$images|raw} -
-
-
-
- -
-{/block} - -{block name="js"} - - - -{/block} diff --git a/application/index/view/admin/strategy/index.html b/application/index/view/admin/strategy/index.html deleted file mode 100644 index c0f7294d..00000000 --- a/application/index/view/admin/strategy/index.html +++ /dev/null @@ -1,70 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Storage strategy')} - {$config.site_name}{/block} - -{block name="main"} -
-
-
-
-
-

{:lang('Storage strategy tips')}

-
-
-
- {foreach $strategy as $key => $value} - {:lang($value.name)} - {/foreach} -
-
- {foreach $configs as $key => $value} -
-
- {foreach $value as $val} -
- - {switch $val.type} - {case text} - - {/case} - {case bool} - - {/case} - {case select} - - {/case} - {/switch} -
- {/foreach} - - - -
-
- {/foreach} -
-
-
-
-{/block} -{block name="js"} - -{/block} diff --git a/application/index/view/admin/system/console.html b/application/index/view/admin/system/console.html deleted file mode 100644 index af902009..00000000 --- a/application/index/view/admin/system/console.html +++ /dev/null @@ -1,116 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Console')} - {$config.site_name}{/block} - -{block name="main"} -
-
-
-
-
-
- -

{:lang('Occupied storage')}

- {$storage[0]} - {if $storage[0]}{$storage[1]}{else/}Kb{/if} - -
-
-
-
-

{:lang('Number of pictures')}

- {$images_num} {:lang('Piece')} -
-
-
-
-

{:lang('Suspicious picture')}

- {$suspicious_images_num} {:lang('Piece')} -
-
-
-
-

{:lang('Number of users')}

- {$users_num} {:lang('Piece')} -
-
-
-
-

{:lang('Upload today')}

- {$today} {:lang('Piece')} -
-
-
-
-

{:lang('Uploaded yesterday')}

- {$yesterday} {:lang('Piece')} -
-
-
-
-

{:lang('Upload this month')}

- {$month} {:lang('Piece')} -
-
-
-
-

{:lang('Visitor upload')}

- {$tourists} {:lang('Piece')} -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - -
{:lang('System configuration')}
{:lang('Operating system')}:{:php_uname('s')}{:lang('Server IP:')}{:GetHostByName($Think.server.http_host)}{:lang('Website domain name:')}{$Think.server.http_host}
{:lang('Operating environment:')}{$Think.server.server_software}{:lang('PHP version:')}{$Think.PHP_VERSION}{:lang('File upload restrictions:')}{:ini_get('upload_max_filesize')}
-
-
- - - - - - - - - - - - - - - - - - - - - - -
{:lang('Software information')}
{:lang('Software version:')}v{$config.system_version}
{:lang('User manual:')}https://www.kancloud.cn/wispx/lsky-pro/content
{:lang('Warehouse address:')}https://github.com/wisp-x/lsky-pro
{:lang('Contact author:')}i@wispx.cn
-
-
-
-
-{/block} diff --git a/application/index/view/admin/system/index.html b/application/index/view/admin/system/index.html deleted file mode 100644 index b942b1e0..00000000 --- a/application/index/view/admin/system/index.html +++ /dev/null @@ -1,145 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('System management')} - {$config.site_name}{/block} - -{block name="main"} -
-
-
-
-
-

- {:lang('System management tips')} -

-
-
- -
- {foreach $configs as $key => $value} - - {/foreach} -
-
-
-
-
-
- - - - - - - - - - {foreach $naming.path as $value} - - - - - - {/foreach} - -
{:lang('Variable name')}{:lang('Example')}{:lang('Explain')}
{$value.name}{:lang($value.example)}{:lang($value.explain)}
-
-
-
-
-
-
- - - - - - - - - - {foreach $naming.file as $value} - - - - - - {/foreach} - -
{:lang('Variable name')}{:lang('Example')}{:lang('Explain')}
{$value.name}{:lang($value.example)}{:lang($value.explain)}
-
-
-
-
-{/block} -{block name="js"} - -{/block} diff --git a/application/index/view/admin/users/index.html b/application/index/view/admin/users/index.html deleted file mode 100644 index 19dbc8c8..00000000 --- a/application/index/view/admin/users/index.html +++ /dev/null @@ -1,247 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('User management')} - {$config.site_name}{/block} - -{block name="main"} -
-
-
- - {:lang('There are %s users in total', [''.$users->total().''])} - -
-
-
- - - -
-
-
- - - - - - - - - - - - - - - - - {foreach $users as $value} - - - - - - - - - - - - - {/foreach} - -
{:lang('User name')}{:lang('Role group')}{:lang('Nickname')}{:lang('Mailbox')}{:lang('Used capacity')}{:lang('Total capacity')}{:lang('Account status')}{:lang('Register IP')}{:lang('Create time')}{:lang('Operation')}
{$value.username} - - {$value.nickname}{$value.email}{$value.use_quota|format_size}{$value.quota|format_size} - - {$value.reg_ip}{$value.create_time} -
- - -
-
-
-
- {$users|raw} -
-
-
-
-
-
{:lang('Modify user data')}
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- -
- - -
-
-
-
-
-
- -
- - -
-
-{/block} - -{block name="js"} - -{/block} diff --git a/application/index/view/auth/forgot.html b/application/index/view/auth/forgot.html deleted file mode 100644 index 9bff17ba..00000000 --- a/application/index/view/auth/forgot.html +++ /dev/null @@ -1,72 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Retrieve password')} - {$config.site_name}{/block} - -{block name="main"} -
-
-
-
-
-
{:lang('Retrieve password')}
-
-
-
- - -
-
- - - {:lang('Verification Code')} -
-
- -
-
-
-
- - -
-
- - -
-
- - -
-
- -
-
-
-
-
-
-
-
-{/block} - -{block name="js"} - -{/block} diff --git a/application/index/view/auth/login.html b/application/index/view/auth/login.html deleted file mode 100644 index e48e8a0c..00000000 --- a/application/index/view/auth/login.html +++ /dev/null @@ -1,46 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Sign In')} - {$config.site_name}{/block} - -{block name="css"} - -{/block} - -{block name="main"} -
-
-
- -
-
-
-{/block} - -{block name="js"} - -{/block} diff --git a/application/index/view/auth/register.html b/application/index/view/auth/register.html deleted file mode 100644 index 692d14b5..00000000 --- a/application/index/view/auth/register.html +++ /dev/null @@ -1,71 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Sign Up')} - {$config.site_name}{/block} - -{block name="css"} - -{/block} - -{block name="main"} -
-
-
-
-
-
{:lang('Registered account')}
-
-
- {include file="common:alert"} -
- - -
-
- - -
-
- - -
-
- - -
-
- - - {:lang('Verification Code')} -
-
- {if $config.close_register} - - {else /} - - {/if} -
- {:token()} -
-

- {:lang('Existing account?')} {:lang('Sign In')} -

-
-
-
-
- {if $config.close_register} -
-
-
-

{:lang('Site registration closed')}

-
-
-
- {/if} -
-
-{/block} - -{block name="js"} - -{/block} diff --git a/application/index/view/common/alert.html b/application/index/view/common/alert.html deleted file mode 100644 index b0268726..00000000 --- a/application/index/view/common/alert.html +++ /dev/null @@ -1,12 +0,0 @@ -{if session('?success')} - -{/if} -{if session('?error')} - -{/if} \ No newline at end of file diff --git a/application/index/view/common/base.html b/application/index/view/common/base.html deleted file mode 100644 index e12e9f7d..00000000 --- a/application/index/view/common/base.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - - - - - - {block name="title"}Lsky Pro{/block} - {block name="css"}{/block} - - - - - - - - -{$config.custom_style|raw} -{block name="header"} -
-
- - {$config.site_name} -
- {if $user} - - {if $user.is_admin} - - {/if} - - - - {/if} - {if config('app.lang_switch_on')} - - - - {/if} - - - {if cookie('theme') eq 'dark'}{else/}{/if} - -
-
-{/block} -{block name="left"} - -{/block} -{block name="main"} -
-
-
-{/block} -{block name="footer"} -
- -
-
-
-
-
-
-
-
-
- Copyright © 2018 - present Lsky Pro. All rights reserved. - {if $config.icp_number}{$config.icp_number}.{/if} - {:lang('Footer tip')} -
-
-{/block} - - - - - - -{block name="js"}{/block} - -{if $user and $user.is_admin and !cookie('?no_update')} - -{/if} -{$config.statistics_code|raw} - - diff --git a/application/index/view/index/api.html b/application/index/view/index/api.html deleted file mode 100644 index 99b19dd5..00000000 --- a/application/index/view/index/api.html +++ /dev/null @@ -1,532 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}Upload API Document - {$config.site_name}{/block} - -{block name="main"} - -
-
-
-

1. Get token

-
-
-
- - - - - - - - - - - - - - - - - -
FunctionInterface
Request modePOST
URL{$domain}/api/token
-
-
-
-

Request parameters

-
- - - - - - - - - - - - - - - - - - - - - - - -
Parameter nameTypeRequiredExplain
emailStringYesMailbox
passwordStringYesAccount password
-
-

Return data description

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parameter nameTypeInstance valueExplain
codeNumber200The status code returns 200 for success and 500 for failure
msgStringsuccessPrompt information
timeNumber1544176295Response timestamp
dataarray|object{"token": "8961576c9090ef0902c4b89406f8d557"}Obtained token data
-
-
- -
-

2. Picture upload

-
-
-
- - - - - - - - - - - - - - - - - -
FunctionInterface
Request modePOST
URL{$domain}/api/upload
-
-
-
-

Request parameters

-
- - - - - - - - - - - - - - - - - -
Parameter nameTypeRequiredExplain
imageFileYesForm name
-
-
- Note: if the header has a token parameter during the request, the interface will authenticate the token, and the uploaded image is also in the token user account, otherwise the system will consider it as uploaded by tourists. -
-

Return data description

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parameter nameTypeInstance valueExplain
codeNumber200The status code returns 200 for success and 500 for failure
msgStringsuccessPrompt information
timeNumber1544176295Response timestamp
dataarray|object -
{
-  "name": "9B7BCFBD05891B2D42187F126887777A.jpg",
-  "url": "http://domain.com/2018/12/08/5c0b519f44701.jpg"
-}
-
Picture data
-
-

Upload example

-
-POST /api/upload HTTP/1.1
-Host: {$domain}
-
-Connection: keep-alive
-Content-Length: 57398
-Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx2mqINKHVPJ8yMdK
-
-------WebKitFormBoundaryx2mqINKHVPJ8yMdK
-Content-Disposition: form-data; name="image"; filename="test.png"
-Content-Type: image/png
-
-

Response error example

-
-{
-  "code": 500,
-  "msg": "The administrator turned off the tourist upload!",
-  "data": null,
-  "time": 1544245931
-}
-
- -
- Note: token is required for the following interfaces -
-
-

3. Get picture list

-
-
-
- - - - - - - - - - - - - - - - - -
FunctionInterface
Request modePOST
URL{$domain}/api/images
-
-
-
-

Request parameters

-
- - - - - - - - - - - - - - - - - - - - - - - -
Parameter nameTypeRequiredExplain
pageStringYesPage number
rowsStringNoQuantity per page, 20 by default
-
-

Return data description

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parameter nameTypeInstance valueExplain
totalNumber999Total data
per_pageString1Number per page
current_pageNumber1Current page
last_pageNumber999Last page number
-
-

Picture data description

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Parameter nameTypeInstance valueExplain
idNumber1Picture ID
strategyStringossStorage strategy, (cos: Tencent cloud, kodo: qiniu cloud, local: local, soo: Alibaba cloud OSS, remote: remote storage, uss: shooting cloud again)
pathString2019/10/31Picture path
alias_nameStringtestPicture alias
nameString929616303ca92.jpgPicture name
pathnameString2019/10/31/929616303ca92.jpgPicture path + name
sizeString30405.00Picture size (bytes: b)
mimeStringimage/jpegPicture MIME type
sha1String0143f7904f12e2a76ff2935f21a771b8adadf961Picture SHA1 value
md5Stringe630c1d832f1701b0afe09cfe86a7f2bPicture MD5 value
ipString192.168.0.1Uploader IP
suspiciousNumber0Is it a suspicious picture, (0: No, 1: Yes)
upload_timeNumber1572491936Picture upload time
upload_dateString2019-10-31 11:18:56Picture upload date
urlStringhttp://domain.com/2019/10/31/929616303ca92.jpgPictures linking
-
-
- -
-

4. Get a single picture

-
-
-
- - - - - - - - - - - - - - - - - -
FunctionInterface
Request modePOST
URL{$domain}/api/image
-
-
-
-

Request parameters

-
- - - - - - - - - - - - - - - - - -
Parameter nameTypeRequestExplain
idStringYesPicture ID
-
-

The returned data is the same as the third one

-
- -
-

5. Delete picture

-
-
-
- - - - - - - - - - - - - - - - - -
FunctionInterface
Request modePOST
URL{$domain}/api/delete
-
-
-
-

Request parameters

-
- - - - - - - - - - - - - - - - - -
Parameter nameTypeRequiredExplain
idStringYesPicture ID, delete multiple, separated by commas
-
-
-
-
-{/block} diff --git a/application/index/view/index/gallery.html b/application/index/view/index/gallery.html deleted file mode 100644 index fa5c0e25..00000000 --- a/application/index/view/index/gallery.html +++ /dev/null @@ -1,102 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Gallery')} - {$config.site_name}{/block} - -{block name="css"} - -{/block} - -{block name="main"} - - -
-
-
- {foreach ($images as $index => $image)} -
-
-
- -
-
-
{$image.date}
-
-
-
-
- {/foreach} -
- -
-
-{/block} - -{block name="js"} - - - -{/block} diff --git a/application/index/view/index/home.html b/application/index/view/index/home.html deleted file mode 100644 index d921b037..00000000 --- a/application/index/view/index/home.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - {$config.site_name} - - - - -
-
-
SIGN IN
-
- - - -
- - - - diff --git a/application/index/view/index/index.html b/application/index/view/index/index.html deleted file mode 100755 index 81e10c8c..00000000 --- a/application/index/view/index/index.html +++ /dev/null @@ -1,205 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{$config.site_name}{/block} - -{block name="css"} - - - -{/block} - -{block name="main"} -
-
-
- {if $config.notice} -
- - {$config.notice|raw} -
- {/if} -
-

Image Upload

-

{:lang('Home upload info', [format_size($config.upload_max_size), $config.upload_single_num, $images_count])}

-
-
- -
-
- -
    -
      -
        -
          - -
          -
          - {if 0 == $config.allowed_tourist_upload and !$user} -
          -
          -
          -
          {:lang('Sign in tip')}
          - -
          -
          -
          - {/if} -
          -
          -{/block} -{block name="js"} - - - - - - -{if ($lang === 'zh-cn')} - -{/if} - -{if 1 == $config.allowed_tourist_upload or $user} - -{/if} -{/block} diff --git a/application/index/view/install/index.html b/application/index/view/install/index.html deleted file mode 100644 index f10a0943..00000000 --- a/application/index/view/install/index.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - Install Lsky Pro - - - - - - - - - -
          -
          - {switch step} - - {case 1} -

          - 运行环境检测

          - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          - PHP版本 ≥ 5.6: - - {if ($phpVerGt56) } - - {else/} - - {/if} -
          - fileInfo 拓展: - - {if ($isFileInfo) } - - {else/} - - {/if} -
          - curl 拓展: - - {if ($isCurl) } - - {else/} - - {/if} -
          - PDO 拓展: - - {if ($pdo) } - - {else/} - - {/if} -
          - ZipArchive: - - {if ($isZip) } - - {else/} - - {/if} -
          - 文件写入权限: - - {if ($dir) } - - {else/} - - {/if} -
          - {if (!$testing) } - 检测不通过 - {else/} - 下一步 - {/if} - {/case} - - {case 2} -

          - 完善数据库配置

          -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          - -
          - {/case} - - {case 3} -

          - 设置管理员账号

          -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          - -
          - {/case} - - {case 4} -

          - 安装成功

          -
          -

          程序安装成功,请牢记管理员账号密码!

          - 网站首页 - 作者博客 -
          -
          Copyright © 2018 - present Wisp X All rights reserved.
          - {/case} - - {default /} - - {/switch} -
          -
          - - - - - diff --git a/application/index/view/tpl/compatibility.html b/application/index/view/tpl/compatibility.html deleted file mode 100644 index c677a54d..00000000 --- a/application/index/view/tpl/compatibility.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - 抱歉,无法兼容您的IE版本 - - - -

          Oops!

          -

          本站不支持 IE 9 及以下版本浏览器。

          -
          -

          - 为了获得更好的浏览体验,我们强烈建议您 - 升级到最新版本的IE浏览器,或者使用较新版本的 - Google ChromeFirefox、 - Safari 等。 如果您使用的是 IE 10 或以上版本,请关闭“兼容性视图”。 -

          - - diff --git a/application/index/view/user/images.html b/application/index/view/user/images.html deleted file mode 100644 index bfab3b81..00000000 --- a/application/index/view/user/images.html +++ /dev/null @@ -1,590 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Picture management')} - {$config.site_name}{/block} - -{block name="css"} - - -{/block} - -{block name="main"} -
          -
          -
          -
          -
          - - {:lang('There are %s pictures in total', ['0'])} - -
          -
          -
          - -
          - -
          - -
          -
          - -
          -
          -
          -
          -
          -
          -
          -
          - - -
          -
          -
          -
          -
          - -
          -
          - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          {:lang('Alias:')}
          {:lang('Link:')} - -
          {:lang('Position:')}
          {:lang('Size:')}
          {:lang('MD5:')}
          {:lang('Type:')}
          -
          -
          -
          -
          -
          - {:lang('Open link')} - - - -
          -
          -
          - -
          -
          - -
            - -
          -
          -
          - - -
          -
          -
          -
          -
          - - -{/block} - -{block name="js"} - - - - -{/block} diff --git a/application/index/view/user/settings.html b/application/index/view/user/settings.html deleted file mode 100644 index 8eb309ec..00000000 --- a/application/index/view/user/settings.html +++ /dev/null @@ -1,67 +0,0 @@ -{extend name="common:base" /} - -{block name="title"}{:lang('Setting')} - {$config.site_name}{/block} - -{block name="main"} -
          -
          -
          -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          {:lang('Token tip')}
          -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          - - -
          -
          -
          -
          -
          -{/block} -{block name="js"} - -{/block} diff --git a/application/lang/en.php b/application/lang/en.php deleted file mode 100644 index 94b95d0d..00000000 --- a/application/lang/en.php +++ /dev/null @@ -1,391 +0,0 @@ - 'Home', - 'Gallery' => 'Gallery', - 'Api' => 'Api', - 'My picture' => 'My picture', - 'Setting' => 'Setting', - 'System management' => 'System', - 'Console' => 'Console', - 'Role group' => 'Role groups', - 'User management' => 'Users', - 'Picture management' => 'Pictures', - 'Storage' => 'Storages', - 'System setting' => 'System setting', - 'Sign In' => 'Sign In', - 'Sign Up' => 'Sign Up', - 'Logout' => 'Logout', - 'Used capacity' => 'Used capacity', - 'Sign in tip' => 'Please log in and experience', - 'Home upload info' => 'Up to %s piece pictures can be uploaded, and %s piece picture can be selected at a time. This site has hosted %s piece pictures.', - 'Account input tip' => 'Please enter a user name or email address', - 'Password input tip' => 'Please input a password', - 'Copy successful' => 'Copy succeeded', - 'Copy failed' => 'Copy failed', - 'Upload pasted photos?' => 'Upload pasted pictures?', - 'Confirm' => 'Confirm', - 'Cancel' => 'Cancel', - 'Exception occurred' => 'Exception occurred', - 'Footer tip' => 'Please do not upload pictures that violate the law. Violators will bear the consequences.', - '%s second%s ago' => '%s second%s ago', - '%s minute%s ago' => '%s minute%s ago', - '%s hour%s ago' => '%s hour%s ago', - '%s day%s ago' => '%s day%s ago', - '%s week%s ago' => '%s week%s ago', - '%s month%s ago' => '%s month%s ago', - '%s year%s ago' => '%s year%s ago', - 'See more' => 'See more', - 'Loading more' => 'Load more', - 'Loading...' => 'Loading...', - 'No more' => 'I also have a bottom line~', - 'No data available' => 'No data', - 'There are %s pictures in total' => 'There are %s pictures in total', - 'Select all' => 'Select all', - 'Deselect all' => 'Deselect all', - 'Selected items' => 'Selected item', - 'Move' => 'Move', - 'Delete' => 'Delete', - 'Reset data' => 'Reset data', - 'Enter search...' => 'Press enter search...', - 'Are you sure to delete this picture?' => 'Are you sure to delete this picture?', - 'Are you sure to delete the selected picture?' => 'Are you sure to delete the selected picture?', - 'Folder not found' => 'Folder not found', - 'Open' => 'Open', - 'Close' => 'Close', - 'Rename' => 'Rename', - 'Please enter a folder name' => 'Please enter a folder name', - 'Are you sure to delete this folder?' => 'Are you sure to delete this folder?', - 'See picture' => 'View picture', - 'Open picture in new window' => 'Open picture in new window', - 'Please enter a picture name' => 'Please enter a picture name', - 'Copy link' => 'Copy link', - 'Open link' => 'Open link', - 'Attribute' => 'Attribute', - 'New folder' => 'New folder', - 'Refresh' => 'Refresh', - 'Select at least one data!' => 'Select at least one data!', - 'No data available!' => 'No data', - 'Data exception!' => 'Data exception!', - 'Picture link' => 'Picture outer chain', - 'Alias:' => 'Alias: ', - 'Link:' => 'Link: ', - 'Position:' => 'Position: ', - 'Size:' => 'Size: ', - 'MD5:' => 'MD5: ', - 'Type:' => 'Type: ', - 'User name' => 'User name', - 'Mailbox' => 'Mailbox', - 'Token tip' => 'Note: token has permission to manage pictures. Please do not disclose it at will.', - 'Nickname' => 'Nickname', - 'Default upload folder' => 'Default upload folder', - 'Default upload folder tip' => 'Default upload folder name (automatically created when there is no upload)', - 'Old password' => 'Original password', - 'Old password tip' => 'Original password, Do not want to modify please leave blank', - 'Account' => 'Account', - 'Password' => 'Password', - 'Forgot your password?' => 'Forgot your password?', - 'Registered account' => 'Registered account', - 'Registration closed' => 'Registration closed', - 'Send verification code' => 'Send verification code', - 'Mail verification code' => 'Mail verification code', - 'New password' => 'New password', - 'Confirm new password' => 'Confirm new password', - 'Reset password' => 'Reset password', - 'Password tip' => 'Password, Do not want to modify please leave blank', - 'Confirm password' => 'Confirm password', - 'Save' => 'Save', - 'Reset' => 'Reset', - 'Occupied storage' => 'Occupied storage', - 'Piece' => 'Piece', - 'Number of pictures' => 'Number of pictures', - 'Suspicious picture' => 'Suspicious picture', - 'Number of users' => 'Number of users', - 'Upload today' => 'Upload today', - 'Uploaded yesterday' => 'Uploaded yesterday', - 'Upload this month' => 'Upload this month', - 'Visitor upload' => 'Visitor upload', - 'System configuration' => 'System configuration', - 'Operating system' => 'Operating system', - 'Server IP:' => 'Server IP: ', - 'Website domain name:' => 'Website domain name: ', - 'Operating environment:' => 'Operating environment: ', - 'PHP version:' => 'PHP version: ', - 'File upload restrictions:' => 'File upload restrictions: ', - 'Software information' => 'Software information', - 'Software version:' => 'Software version: ', - 'User manual:' => 'User \'s manual: ', - 'Warehouse address:' => 'Warehouse address: ', - 'System management tips' => 'In system configuration, pay attention to using the <script></script> label in the statistics code. If it is not necessary, it can be set to blank.
          If the basic configuration cannot be saved, please check whether the request is blocked by the firewall.', - 'Basic configuration' => 'Basic configuration', - 'Upload configuration' => 'Upload configuration', - 'User configuration' => 'User configuration', - 'Mail configuration' => 'Mail configuration', - 'Other configuration' => 'Other configuration', - 'Picture identification yellow' => 'Picture identification yellow', - 'Test mail sending' => 'Test mail sending', - 'Variable name' => 'Variable name', - 'Example' => 'Example', - 'Explain' => 'Explain', - 'Please input mailbox' => 'Please enter email address', - 'Turn off registration' => 'Close registration', - 'Existing account?' => 'Existing account?', - 'Website title' => 'Website title', - 'Website keywords' => 'Website keywords', - 'Website description' => 'Website description', - 'Custom CSS' => 'Custom CSS', - 'Statistical code' => 'Statistical code', - 'Allow visitors to upload' => 'Allow visitors to upload', - 'Allow visitors to upload tip' => 'Can visitors upload', - 'Upload max size' => 'Maximum upload size', - 'Upload max size tip' => 'Unit: B, default 5242880: 5m', - 'Upload single num' => 'Number of single simultaneous uploads', - 'Same ip day max upload' => 'Maximum upload limit of the same IP in one day', - 'Same ip day max upload tip' => 'If it is 0, there is no limit', - 'Upload allowed exts' => 'File suffix allowed to upload', - 'Upload allowed exts tip' => 'Comma separated', - 'Path naming rule' => 'File path naming rules', - 'File naming rule' => 'File naming rules', - 'Path naming variable cross reference table' => 'Path naming variable comparison table', - 'File naming variable cross reference table' => 'File naming variable cross reference table', - 'User initial quota' => 'User initial quota capacity', - 'User initial quota tip' => 'Unit: B, default 1073741824: 1g, maximum 18 bits', - 'Mail send mode' => 'Mail sending method', - 'Mail smtp secure' => 'SMTP authentication method', - 'Mail smtp host' => 'SMTP host address', - 'Mail smtp username' => 'SMTP user name', - 'Mail smtp password' => 'SMTP password', - 'Mail smtp port' => 'SMTP port', - 'Mail form mailbox' => 'Sender mailbox', - 'Icp number' => 'E-ICP prepared No', - 'Soft delete' => 'Soft delete', - 'Soft delete tip' => 'The source file is not deleted when deleting the picture. It is not recommended to open it', - 'Open gallery' => 'Open gallery function', - 'Open gallery tip' => 'Open the gallery function, and the pictures uploaded by tourists will appear in the gallery', - 'Open api' => 'Enable API', - 'Open api tip' => 'Whether to open the interface function', - 'Ban ip' => 'Blocked IP', - 'Ban ip tip' => 'Blocked IP, multiple are separated by commas', - 'Storage strategy' => 'Storage strategy', - 'Domain name' => 'Domain name', - 'Regional node' => 'Regional node', - 'Region' => 'Region', - 'Bucket name' => 'Bucket name', - 'Operator account' => 'Operator account', - 'Operator password' => 'Operator password', - 'Cloud storage service name' => 'Cloud storage service name', - 'System notice' => 'System announcement', - 'System notice tip' => 'Support HTML', - 'Remote storage type' => 'Remote storage type', - 'Passive mode' => 'Passive mode', - 'Connection address' => 'Connection address', - 'Login account' => 'Login account', - 'Login password' => 'Login password', - 'Login mode' => 'Login mode', - 'Connection port' => 'Connection port', - 'Turn on picture yellow identification' => 'Turn on picture yellow identification', - 'Turn on picture yellow identification tip' => 'Interface application address: https://www.moderatecontent.com', - 'Content rating' => 'Content rating', - 'Content rating tip' => '1 = very strict, 2 = strict, 3 = average', - 'Very strict' => 'Very strict', - 'Strict' => 'Strict', - 'Commonly' => 'Commonly', - 'System version' => 'System version', - 'Default group' => 'Default group', - 'Role group tips' => 'Users in different role groups will use different storage strategies to upload pictures.
          There is at least one default role group. Newly registered users and visitors will use the default role group.
          After the role group is deleted, the users under the group will be reset to the default role group.', - 'Strategy used' => 'Use strategy', - 'Name' => 'Name', - 'Register default' => 'Register default', - 'Operation' => 'Operation', - 'Edit' => 'Edit', - 'Add role group' => 'Add role group', - 'Edit role group' => 'Edit role group', - 'Group name' => 'Group name', - 'Is default' => 'Default', - 'Modify' => 'Modify', - 'Are you sure to delete this role group?' => 'Are you sure to delete this role group?', - 'Are you sure to delete the selected item role group?' => 'Are you sure to delete the selected role group?', - 'There are %s users in total' => 'There are %s users in total', - 'All' => 'All', - 'Normal' => 'Normal', - 'Frozen' => 'Frozen', - 'Total capacity' => 'Total capacity', - 'Account status' => 'Account status', - 'Register IP' => 'Register IP', - 'Modify user data' => 'Modify user data', - 'Storage capacity' => 'Storage capacity', - 'Used storage capacity' => 'Used storage capacity', - 'Are you sure to delete this user?' => 'Are you sure you want to delete the user?', - 'Are you sure to delete the selected user?' => 'Are you sure to delete the selected user?', - 'Are you sure to freeze this user?' => 'Are you sure to freeze this user?', - 'Are you sure to freeze the selected users?' => 'Are you sure to freeze the selected users?', - 'Visitor picture' => 'Visitor picture', - 'User' => 'User', - 'Alias' => 'Alias', - 'Route' => 'Route', - 'Size' => 'Size', - 'Type' => 'Type', - 'Create time' => 'Create time', - 'Upload time' => 'Upload time', - 'See' => 'See', - 'Country:' => 'Country: ', - 'Region:' => 'Region: ', - 'Area:' => 'Area: ', - 'City:' => 'City: ', - 'County:' => 'County: ', - 'Local' => 'Local', - 'Aliyun OSS' => 'Aliyun OSS', - 'Tencent COS' => 'Tencent COS', - 'Qiniu KODO' => 'Qiniu KODO', - 'Upyun USS' => 'Upyun USS', - 'Remote' => 'Remote', - 'Storage strategy tips' => 'Multiple storage policies can be configured, and different role groups are used to control the user\'s picture storage policy.', - 'It is already the latest version' => 'It is already the latest version', - 'New version detected [%s]' => 'New version detected[%s]', - 'Ignore' => 'Ignore', - 'Don\'t prompt again' => 'Don\'t prompt again', - 'Upgrade now' => 'Upgrade now', - 'Upgrade note' => 'The original system files will be backed up before upgrading, but the \'runtime\' and \'public\' directories and databases will not be included', - 'Do you need to back up the original system?' => '⚠ Do you need to back up the original system?', - 'Backup' => 'Backup', - 'No backup' => 'No backup', - 'System prompt' => 'System prompt', - 'Upgrading, please do not close the window' => 'Upgrading..., please do not close the window', - 'Upgrade failed' => 'Upgrade failed, please try again later(Help documentation: https://www.kancloud.cn/wispx/lsky-pro/1569428)', - - // Admin controller - 'Unknown' => 'Unknown', - 'Add failed' => 'Add failed', - 'Added successfully' => 'Added successfully', - 'Edit failed' => 'Edit failed', - 'Edit succeeded' => 'Edit succeeded', - 'Setting failed' => 'Setting failed', - 'Setting succeeded' => 'Setting succeeded', - 'Keep at least one default group' => 'Keep at least one default group', - 'The default group cannot be deleted' => 'The default group cannot be deleted', - 'Storage policy does not exist' => 'Storage policy does not exist', - 'Visitor' => 'Visitor', - 'Acquisition failed' => 'Acquisition failed', - 'Get success' => 'Get success', - 'The interface is abnormal, %s' => 'Interface exception, %s', - 'Test' => 'Test', - 'This is a test email!' => 'This is a test email!', - 'Cannot continue, please make sure ZipArrive is installed correctly' => 'Unable to continue, please make sure ZipArchive is installed correctly', - 'The current system is the latest version' => 'The current system is the latest version', - 'The installation package is corrupt. Please try again later' => 'The installation package is corrupt. Please try again later', - 'SQL file acquisition failed' => 'SQL file acquisition failed', - 'Failed to get table field configuration file' => 'Failed to get table field profile', - 'Upgrade Complete' => 'Upgrade Complete', - 'Backup complete, %s' => 'Backup complete, %s', - 'You cannot delete your account!' => 'You cannot delete your account!', - 'You can\'t freeze your account!' => 'You can\'t freeze your account!', - 'Freeze failed' => 'Freeze failed', - 'Freeze succeeded' => 'Freeze succeeded', - 'Data acquisition failed' => 'Data acquisition failed', - 'Success' => 'Success', - 'Modification failed' => 'Modification failed', - 'Modified successfully' => 'Modified successfully', - 'You cannot modify your status' => 'You cannot modify your status', - 'Status modification failed' => 'Status modification failed', - 'Status modification succeeded' => 'Status modification succeeded', - - // Api controller - 'The picture data was not found' => 'The picture data was not found', - 'Delete succeeded' => 'Delete succeeded', - 'Deletion failed' => 'Deletion failed', - 'Delete succeeded!' => 'Delete succeeded!', - 'Deletion failed!' => 'Deletion failed!', - 'Account does not exist' => 'Account does not exist', - 'Account password error' => 'Account password error', - 'Token refresh failed' => 'Token refresh failed', - 'The administrator closed the tourist upload channel' => 'The administrator closed the tourist upload channel', - 'The administrator turned off the tourist upload!' => 'The administrator turned off the tourist upload!', - 'The number of pictures uploaded today has reached the maximum' => 'The number of pictures uploaded today has reached the maximum', - 'Save failed! Your storage capacity is insufficient, please contact the administrator!' => 'Save failed! Your storage capacity is insufficient, please contact the administrator!', - 'Your account is frozen, please contact the administrator!' => 'Your account is frozen. Please contact the administrator!', - 'Abnormal configuration of automatic watermark function' => 'Abnormal configuration of automatic watermark function', - 'Upload failed. Please check whether the policy configuration is correct!' => 'Upload failed, please check whether the policy configuration is correct!', - 'The picture %s is suspected of violation. Uploading is prohibited!' => 'The picture [%s] is suspected to be illegal. Upload is prohibited!', - 'Folder creation failed!' => 'Folder creation failed!', - 'Failed to save picture data' => 'Failed to save picture data', - 'Picture resource acquisition failed' => 'Picture resource acquisition failed', - 'Please enter the account number' => 'Please enter the account number', - 'Please input a password' => 'Please input a password', - 'Your account has been frozen, please contact the administrator!' => 'Your account has been frozen, please contact the administrator!', - 'Incorrect password' => 'Incorrect password', - 'User does not exist' => 'User does not exist', - - // Validate - 'Parent folder not found' => 'Parent folder not found', - 'Parent folder exception' => 'Parent folder exception', - 'Folder name cannot be empty' => 'Folder name cannot be empty', - 'Folder name length max. 30 characters' => 'The folder name can be up to 30 characters long', - 'Folder names can only be Chinese characters, letters and numbers' => 'Folder names can only be Chinese characters, letters and numbers', - 'Role group name cannot be empty' => 'Role group name cannot be empty', - 'The maximum length of the role group name is 30 characters' => 'The maximum length of the role group name is 30 characters', - 'The role group name can only be Chinese characters, letters and numbers' => 'The role group name can only be Chinese characters, letters and numbers', - 'User name cannot be empty' => 'User name cannot be empty', - 'The user name cannot be less than three characters' => 'The user name cannot be less than three characters', - 'User names can only be letters, numbers, and underscores_ And dash-' => 'User names can only be letters, numbers, and underscores_ And dash-', - 'The user name character length exceeds the limit' => 'User name character length exceeds', - 'User name already exists, please replace' => 'User name already exists, please replace', - 'The length of nickname characters exceeds the limit' => 'Nickname character length exceeds', - 'Default upload folder name length exceeds limit' => 'Default upload folder name length exceeds', - 'The default upload folder name can only be Chinese characters, letters and numbers' => 'The default upload folder name can only be Chinese characters, letters and numbers', - 'Mailbox cannot be empty' => 'Mailbox cannot be empty', - 'The mailbox format is incorrect' => 'The mailbox format is incorrect', - 'Mailbox character length exceeds the limit' => 'Mailbox character length exceeds the limit', - 'Mailbox already exists' => 'Mailbox already exists', - 'Password cannot be empty' => 'Password cannot be empty', - 'The passwords entered twice are inconsistent' => 'The passwords entered twice are inconsistent', - 'Please enter the verification code' => 'Please enter the verification code', - 'Verification code error' => 'Verification code error', - - // Middleware - 'The administrator turned off API functionality' => 'The administrator has closed the API', - 'Authentication failed' => 'Authentication failed', - 'Token does not exist' => 'Token does not exist', - - // Index controller - 'Site registration closed' => 'Site registration closed', - 'Registration successful' => 'Registration successful', - 'Incorrect verification code' => 'Incorrect verification code', - 'Reset successful' => 'Reset successful', - 'Verification Code' => 'Verification Code', - 'Retrieve password' => 'Retrieve password', - 'Retrieve password mail content' => "Dear %s, you are applying for password reset. The verification code this time is %s . If it is not your own operation, please ignore it!", - 'Sent successfully' => 'Sent successfully', - 'Welcome back' => 'Welcome back', - 'Gallery feature is off' => 'Gallery feature is off', - 'API interface closed' => 'API interface closed', - 'Installed tips' => 'You have successfully installed. Please delete the install.lock file if you need to re install', - 'The database SQL file does not exist' => 'The database SQL file does not exist', - 'Data written successfully' => 'Data written successfully', - 'The passwords entered twice are inconsistent!' => 'The passwords entered twice are inconsistent!', - 'Configuration file write failed' => 'Configuration file write failed', - 'Setup lock file creation failed' => 'Failed to create the installation lock file', - 'Set successfully' => 'Set successfully', - 'Upload succeeded' => 'Upload succeeded', - 'Created successfully' => 'Created successfully', - 'Move succeeded' => 'Move succeeded', - 'Move failed' => 'Move failed', - 'The folder does not exist!' => 'The folder does not exist!', - 'Rename succeeded' => 'Rename succeeded', - 'Rename failed' => 'Rename failed', - 'The original password is incorrect' => 'The original password is incorrect', - 'Saved successfully' => 'Saved successfully', - 'Batch deletion failed' => 'Batch deletion failed', - - // Naming config - 'Year' => 'Year', - 'Month' => 'Month', - 'Day' => 'Day', - 'Upload date' => 'Upload date', - 'Unique ID' => 'Unique ID', - 'MD5 (non file)' => 'MD5 (non file)', - '16 bit random string' => '16 bit random string', - '8 bit random string' => '8 bit random string', - 'Nothing' => 'Nothing', - 'Original file name' => 'Original file name', -]; diff --git a/application/lang/zh-cn.php b/application/lang/zh-cn.php deleted file mode 100644 index d5498b91..00000000 --- a/application/lang/zh-cn.php +++ /dev/null @@ -1,391 +0,0 @@ - '首页', - 'Gallery' => '画廊', - 'Api' => '接口', - 'My picture' => '我的图片', - 'Setting' => '设置', - 'System management' => '系统管理', - 'Console' => '控制台', - 'Role group' => '角色组', - 'User management' => '用户管理', - 'Picture management' => '图片管理', - 'Storage' => '储存策略', - 'System setting' => '系统设置', - 'Sign In' => '登录', - 'Sign Up' => '注册', - 'Logout' => '退出账号', - 'Used capacity' => '使用容量', - 'Sign in tip' => '请登录后体验', - 'Home upload info' => '最大可上传 %s 的图片,单次同时可选择 %s 张。本站已托管 %s 张图片。', - 'Account input tip' => '请输入用户名或邮箱', - 'Password input tip' => '请输入密码', - 'Copy successful' => '复制成功', - 'Copy failed' => '复制失败', - 'Upload pasted photos?' => '是否上传粘贴的图片?', - 'Confirm' => '确定', - 'Cancel' => '取消', - 'Exception occurred' => '发生异常', - 'Footer tip' => '请勿上传违反中国大陆和香港法律的图片,违者后果自负。', - '%s second%s ago' => '%s秒前', - '%s minute%s ago' => '%s分钟前', - '%s hour%s ago' => '%s小时前', - '%s day%s ago' => '%s天前', - '%s week%s ago' => '%s周前', - '%s month%s ago' => '%s月前', - '%s year%s ago' => '%s年前', - 'See more' => '查看更多', - 'Loading more' => '加载更多', - 'Loading...' => '加载中...', - 'No more' => '我也是有底线的~', - 'No data available' => '暂无数据', - 'There are %s pictures in total' => '共有 %s 张图片', - 'Select all' => '全选', - 'Deselect all' => '取消全选', - 'Selected items' => '选中项', - 'Move' => '移动', - 'Delete' => '删除', - 'Reset data' => '重置数据', - 'Enter search...' => '回车搜索...', - 'Are you sure to delete this picture?' => '确认删除该图片吗?', - 'Are you sure to delete the selected picture?' => '确认删除选中项图片吗?', - 'Folder not found' => '没有找到文件夹', - 'Open' => '打开', - 'Close' => '关闭', - 'Rename' => '重新命名', - 'Please enter a folder name' => '请输入文件夹名称', - 'Are you sure to delete this folder?' => '确认删除该文件夹吗?', - 'See picture' => '查看图片', - 'Open picture in new window' => '新窗口打开图片', - 'Please enter a picture name' => '请输入图片名称', - 'Copy link' => '复制链接', - 'Open link' => '打开链接', - 'Attribute' => '属性', - 'New folder' => '新建文件夹', - 'Refresh' => '刷新', - 'Select at least one data!' => '至少选择一项数据!', - 'No data available!' => '暂无数据', - 'Data exception!' => '数据异常!', - 'Picture link' => '图片外链', - 'Alias:' => '别名:', - 'Link:' => '链接:', - 'Position:' => '位置:', - 'Size:' => '大小:', - 'MD5:' => 'MD5:', - 'Type:' => '类型:', - 'User name' => '用户名', - 'Mailbox' => '邮箱', - 'Token tip' => '注意:Token 具有管理图片权限,请不要随意泄漏。', - 'Nickname' => '昵称', - 'Default upload folder' => '默认上传文件夹', - 'Default upload folder tip' => '默认上传文件夹名(不存在上传时自动创建)', - 'Old password' => '原密码', - 'Old password tip' => '原密码,不修改请留空', - 'Account' => '账号', - 'Password' => '密码', - 'Forgot your password?' => '忘记密码?', - 'Registered account' => '注册账号', - 'Registration closed' => '已关闭注册', - 'Send verification code' => '发送验证码', - 'Mail verification code' => '邮件验证码', - 'New password' => '新密码', - 'Confirm new password' => '确认新密码', - 'Reset password' => '重置密码', - 'Password tip' => '密码,不修改请留空', - 'Confirm password' => '确认密码', - 'Save' => '保存', - 'Reset' => '重置', - 'Occupied storage' => '占用储存', - 'Piece' => '张', - 'Number of pictures' => '图片数量', - 'Suspicious picture' => '可疑图片', - 'Number of users' => '用户数量', - 'Upload today' => '今日上传', - 'Uploaded yesterday' => '昨日上传', - 'Upload this month' => '本月上传', - 'Visitor upload' => '游客上传', - 'System configuration' => '系统配置', - 'Operating system' => '操作系统', - 'Server IP:' => '服务器 IP:', - 'Website domain name:' => '网站域名:', - 'Operating environment:' => '运行环境:', - 'PHP version:' => 'PHP 版本', - 'File upload restrictions:' => '文件上传限制:', - 'Software information' => '软件信息', - 'Software version:' => '软件版本:', - 'User manual:' => '用户手册:', - 'Warehouse address:' => '仓库地址:', - 'System management tips' => '系统配置,统计代码中注意要使用<script></script>标签,不设置可为空。
          基础配置如果出现无法保存的情况请检查请求是否被防火墙拦截。', - 'Basic configuration' => '基础配置', - 'Upload configuration' => '上传配置', - 'User configuration' => '用户配置', - 'Mail configuration' => '邮件配置', - 'Other configuration' => '其他配置', - 'Picture identification yellow' => '图片鉴黄', - 'Test mail sending' => '测试邮件发送', - 'Variable name' => '变量名', - 'Example' => '示例', - 'Explain' => '说明', - 'Please input mailbox' => '请输入邮箱', - 'Turn off registration' => '关闭注册', - 'Existing account?' => '已有账号?', - 'Website title' => '网站标题', - 'Website keywords' => '网站关键字', - 'Website description' => '网站描述', - 'Custom CSS' => '自定义CSS', - 'Statistical code' => '统计代码', - 'Allow visitors to upload' => '允许游客上传', - 'Allow visitors to upload tip' => '是否允许游客上传', - 'Upload max size' => '最大上传大小', - 'Upload max size tip' => '单位:b,默认5242880:5M', - 'Upload single num' => '单次同时上传数量', - 'Same ip day max upload' => '相同ip一天内最大上传限制', - 'Same ip day max upload tip' => '为0则不限制', - 'Upload allowed exts' => '允许上传的文件后缀', - 'Upload allowed exts tip' => '逗号隔开', - 'Path naming rule' => '文件路径命名规则', - 'File naming rule' => '文件命名规则', - 'Path naming variable cross reference table' => '路径命名变量对照表', - 'File naming variable cross reference table' => '文件命名变量对照表', - 'User initial quota' => '用户初始配额容量', - 'User initial quota tip' => '单位:b,默认1073741824:1G,最大18位', - 'Mail send mode' => '邮件发送方式', - 'Mail smtp secure' => 'SMTP验证方式', - 'Mail smtp host' => 'SMTP主机地址', - 'Mail smtp username' => 'SMTP用户名', - 'Mail smtp password' => 'SMTP密码', - 'Mail smtp port' => 'SMTP端口', - 'Mail form mailbox' => '发件人邮箱', - 'Icp number' => '备案号', - 'Soft delete' => '软删除', - 'Soft delete tip' => '删除图片时不删除源文件,不建议开启', - 'Open gallery' => '开启画廊', - 'Open gallery tip' => '开启画廊功能,游客上传的图片将会出现在画廊中', - 'Open api' => '开启API', - 'Open api tip' => '是否开放接口', - 'Ban ip' => '封禁IP', - 'Ban ip tip' => '封禁IP, 多个使用逗号隔开', - 'Storage strategy' => '储存策略', - 'Domain name' => '域名', - 'Regional node' => '地域节点', - 'Region' => '所属区域', - 'Bucket name' => '储存桶名称', - 'Operator account' => '操作员账号', - 'Operator password' => '操作员密码', - 'Cloud storage service name' => '云储存服务名称', - 'System notice' => '系统公告', - 'System notice tip' => '支持html', - 'Remote storage type' => '远程储存类型', - 'Passive mode' => '被动模式', - 'Connection address' => '连接地址', - 'Login account' => '登录账号', - 'Login password' => '登录密码', - 'Login mode' => '登录方式', - 'Connection port' => '连接端口', - 'Turn on picture yellow identification' => '开启图片鉴黄', - 'Turn on picture yellow identification tip' => '接口申请地址:https://www.moderatecontent.com', - 'Content rating' => '内容评级', - 'Content rating tip' => '1=非常严格,2=严格,3=一般', - 'Very strict' => '非常严格', - 'Strict' => '严格', - 'Commonly' => '一般', - 'System version' => '系统版本', - 'Default group' => '默认组', - 'Role group tips' => '不同的角色组下的用户,上传图片将使用不同的储存策略。
          至少有一个默认角色组,新注册用户和访客将会使用默认的角色组。
          角色组删除后,该组下面的用户将重置默认角色组。', - 'Strategy used' => '使用策略', - 'Name' => '名称', - 'Register default' => '注册默认', - 'Operation' => '操作', - 'Edit' => '编辑', - 'Add role group' => '添加角色组', - 'Edit role group' => '编辑角色组', - 'Group name' => '组名称', - 'Is default' => '是否默认', - 'Modify' => '修改', - 'Are you sure to delete this role group?' => '确认删除该角色组吗?', - 'Are you sure to delete the selected item role group?' => '确认删除选中项角色组吗?', - 'There are %s users in total' => '共有 %s 个用户', - 'All' => '全部', - 'Normal' => '正常', - 'Frozen' => '冻结', - 'Total capacity' => '总容量', - 'Account status' => '账号状态', - 'Register IP' => '注册IP', - 'Modify user data' => '修改用户数据', - 'Storage capacity' => '储存容量', - 'Used storage capacity' => '已使用储存容量', - 'Are you sure to delete this user?' => '确认删除该用户吗?', - 'Are you sure to delete the selected user?' => '确认删除选中项用户吗?', - 'Are you sure to freeze this user?' => '确认冻结该用户吗?', - 'Are you sure to freeze the selected users?' => '确认冻结选中项用户吗?', - 'Visitor picture' => '访客图片', - 'User' => '所属用户', - 'Alias' => '别名', - 'Route' => '路径', - 'Size' => '大小', - 'Type' => '类型', - 'Create time' => '创建时间', - 'Upload time' => '上传时间', - 'See' => '查看', - 'Country:' => '国家:', - 'Region:' => '地区:', - 'Area:' => '区域:', - 'City:' => '城市:', - 'County:' => '县:', - 'Local' => '本地', - 'Aliyun OSS' => '阿里云OSS', - 'Tencent COS' => '腾讯云COS', - 'Qiniu KODO' => '七牛云KODO', - 'Upyun USS' => '又拍云USS', - 'Remote' => '远程', - 'Storage strategy tips' => '储存策略,可配置多个,使用不同的角色组来控制用户图片储存策略。', - 'It is already the latest version' => '已经是最新版本', - 'New version detected [%s]' => '检测到新版本[%s]', - 'Ignore' => '忽略', - 'Don\'t prompt again' => '不再提示', - 'Upgrade now' => '立即升级', - 'Upgrade note' => '将会在升级前备份原系统文件, 但不包括 runtime 和 public 目录以及数据库', - 'Do you need to back up the original system?' => '⚠ 是否需要备份原系统?', - 'Backup' => '备份', - 'No backup' => '不备份', - 'System prompt' => '系统提示', - 'Upgrading, please do not close the window' => '升级中, 请不要关闭窗口...', - 'Upgrade failed' => '升级失败, 请稍后重试(帮助文档: https://www.kancloud.cn/wispx/lsky-pro/1569428)', - - // Admin controller - 'Unknown' => '未知', - 'Add failed' => '添加失败', - 'Added successfully' => '添加成功', - 'Edit failed' => '编辑失败', - 'Edit succeeded' => '编辑成功', - 'Setting failed' => '设置失败', - 'Setting succeeded' => '设置成功', - 'Keep at least one default group' => '至少保留一个默认组', - 'The default group cannot be deleted' => '默认组不可删除', - 'Storage policy does not exist' => '储存策略不存在', - 'Visitor' => '访客', - 'Acquisition failed' => '获取失败', - 'Get success' => '获取成功', - 'The interface is abnormal, %s' => '接口发生异常,%s', - 'Test' => '测试', - 'This is a test email!' => '这是一封测试邮件!', - 'Cannot continue, please make sure ZipArrive is installed correctly' => '无法继续执行, 请确保 ZipArchive 正确安装', - 'The current system is the latest version' => '当前系统已经是最新版', - 'The installation package is corrupt. Please try again later' => '安装包损坏, 请稍后重试', - 'SQL file acquisition failed' => 'SQL 文件获取失败', - 'Failed to get table field configuration file' => '表字段配置文件获取失败', - 'Upgrade Complete' => '升级完成', - 'Backup complete, %s' => '备份完成,%s', - 'You cannot delete your account!' => '不能删除自己的账号!', - 'You can\'t freeze your account!' => '不能冻结自己的账号!', - 'Freeze failed' => '冻结失败', - 'Freeze succeeded' => '冻结成功', - 'Data acquisition failed' => '数据获取失败', - 'Success' => '成功', - 'Modification failed' => '修改失败', - 'Modified successfully' => '修改成功', - 'You cannot modify your status' => '不可修改自己的状态', - 'Status modification failed' => '状态修改失败', - 'Status modification succeeded' => '状态修改成功', - - // Api controller - 'The picture data was not found' => '未找到该图片数据', - 'Delete succeeded' => '删除成功', - 'Deletion failed' => '删除失败', - 'Delete succeeded!' => '删除成功!', - 'Deletion failed!' => '删除失败!', - 'Account does not exist' => '账号不存在', - 'Account password error' => '账号密码错误', - 'Token refresh failed' => 'Token 刷新失败', - 'The administrator closed the tourist upload channel' => '管理员关闭了游客上传通道', - 'The administrator turned off the tourist upload!' => '管理员关闭了游客上传!', - 'The number of pictures uploaded today has reached the maximum' => '今日图片上传数量已达到上限', - 'Save failed! Your storage capacity is insufficient, please contact the administrator!' => '保存失败!您的储存容量不足,请联系管理员!', - 'Your account is frozen, please contact the administrator!' => '你的账号被冻结,请联系管理员!', - 'Abnormal configuration of automatic watermark function' => '自动水印功能配置异常', - 'Upload failed. Please check whether the policy configuration is correct!' => '上传失败,请检查策略配置是否正确!', - 'The picture %s is suspected of violation. Uploading is prohibited!' => '图片[%s]涉嫌违规,禁止上传!', - 'Folder creation failed!' => '文件夹创建失败!', - 'Failed to save picture data' => '图片数据保存失败', - 'Picture resource acquisition failed' => '图片资源获取失败', - 'Please enter the account number' => '请输入账号', - 'Please input a password' => '请输入密码', - 'Your account has been frozen, please contact the administrator!' => '你的账户已被冻结,请联系管理员!', - 'Incorrect password' => '密码不正确', - 'User does not exist' => '用户不存在', - - // Validate - 'Parent folder not found' => '没有找到上级文件夹', - 'Parent folder exception' => '上级文件夹异常', - 'Folder name cannot be empty' => '文件夹名称不能为空', - 'Folder name length max. 30 characters' => '文件夹名称长度最大30个字符', - 'Folder names can only be Chinese characters, letters and numbers' => '文件夹名称只能是汉字、字母和数字', - 'Role group name cannot be empty' => '角色组名称不能为空', - 'The maximum length of the role group name is 30 characters' => '角色组名称长度最大30个字符', - 'The role group name can only be Chinese characters, letters and numbers' => '角色组名称只能是汉字、字母和数字', - 'User name cannot be empty' => '用户名不能为空', - 'The user name cannot be less than three characters' => '用户名不能少于三个字符', - 'User names can only be letters, numbers, and underscores_ And dash-' => '用户名只能是字母、数字和下划线_及破折号-', - 'The user name character length exceeds the limit' => '用户名字符长度超出', - 'User name already exists, please replace' => '用户名已存在,请更换', - 'The length of nickname characters exceeds the limit' => '昵称字符长度超出', - 'Default upload folder name length exceeds limit' => '默认上传文件夹名称长度超出', - 'The default upload folder name can only be Chinese characters, letters and numbers' => '默认上传文件夹名称只能是汉字、字母和数字', - 'Mailbox cannot be empty' => '邮箱不能为空', - 'The mailbox format is incorrect' => '邮箱格式不正确', - 'Mailbox character length exceeds the limit' => '邮箱字符长度超出', - 'Mailbox already exists' => '邮箱已存在', - 'Password cannot be empty' => '密码不能为空', - 'The passwords entered twice are inconsistent' => '两次输入的密码不一致', - 'Please enter the verification code' => '请输入验证码', - 'Verification code error' => '验证码错误', - - // Middleware - 'The administrator turned off API functionality' => '管理员关闭了接口', - 'Authentication failed' => '认证失败', - 'Token does not exist' => 'Token 不存在', - - // Index controller - 'Site registration closed' => '站点已关闭注册', - 'Registration successful' => '注册成功', - 'Incorrect verification code' => '验证码不正确', - 'Reset successful' => '重置成功', - 'Verification Code' => '验证码', - 'Retrieve password' => '找回密码', - 'Retrieve password mail content' => "尊敬的 %s, 您好,您正在申请重置密码操作,本次的验证码是 %s,如果不是您本人操作请忽略!", - 'Sent successfully' => '发送成功', - 'Welcome back' => '欢迎回来', - 'Gallery feature is off' => '画廊功能已关闭', - 'API interface closed' => 'API 接口已关闭', - 'Installed tips' => '你已安装成功,需要重新安装请删除 install.lock 文件', - 'The database SQL file does not exist' => '数据库 SQL 文件不存在', - 'Data written successfully' => '数据写入成功', - 'The passwords entered twice are inconsistent!' => '两次输入的密码不一致!', - 'Configuration file write failed' => '配置文件写入失败', - 'Setup lock file creation failed' => '安装锁文件创建失败', - 'Set successfully' => '设置成功', - 'Upload succeeded' => '上传成功', - 'Created successfully' => '创建成功', - 'Move succeeded' => '移动成功', - 'Move failed' => '移动失败', - 'The folder does not exist!' => '该文件夹不存在!', - 'Rename succeeded' => '重命名成功', - 'Rename failed' => '重命名失败', - 'The original password is incorrect' => '原密码不正确', - 'Saved successfully' => '保存成功', - 'Batch deletion failed' => '批量删除失败', - - // Naming config - 'Year' => '年', - 'Month' => '月', - 'Day' => '日', - 'Upload date' => '上传日期', - 'Unique ID' => '唯一ID', - 'MD5 (non file)' => 'md5(非文件md5)', - '16 bit random string' => '16位随机字符串', - '8 bit random string' => '8位随机字符串', - 'Nothing' => '无', - 'Original file name' => '原文件名', -]; diff --git a/application/provider.php b/application/provider.php deleted file mode 100644 index a8415bde..00000000 --- a/application/provider.php +++ /dev/null @@ -1,13 +0,0 @@ - -// +---------------------------------------------------------------------- - -// 应用容器绑定定义 -return []; diff --git a/application/sql/install.sql b/application/sql/install.sql deleted file mode 100644 index 3fb6b59f..00000000 --- a/application/sql/install.sql +++ /dev/null @@ -1,175 +0,0 @@ -SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; -SET time_zone = "+00:00"; - --- --- Database: `lsky` --- - --- --- 表的结构 `lsky_config` --- - -DROP TABLE IF EXISTS `lsky_config`; -CREATE TABLE IF NOT EXISTS `lsky_config` ( - `id` smallint(6) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID', - `key` varchar(32) DEFAULT NULL COMMENT 'key', - `type` varchar(32) NOT NULL DEFAULT 'text' COMMENT 'text|bool|textarea|select', - `input_type` varchar(32) NOT NULL DEFAULT 'text' COMMENT 'input type属性', - `name` varchar(32) CHARACTER SET utf8mb4 NOT NULL UNIQUE COMMENT '配置名', - `title` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '配置标题', - `tip` varchar(1000) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '配置描述', - `value` text CHARACTER SET utf8mb4 NOT NULL COMMENT '配置值', - `extend` text CHARACTER SET utf8mb4 NOT NULL COMMENT '扩展属性', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci COMMENT='系统配置' ROW_FORMAT=COMPACT; - --- --- 表的结构 `lsky_images` --- - -DROP TABLE IF EXISTS `lsky_images`; -CREATE TABLE IF NOT EXISTS `lsky_images` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID', - `user_id` int(11) NOT NULL DEFAULT 0 COMMENT '用户ID,为0表示游客上传', - `folder_id` int(11) NOT NULL DEFAULT 0 COMMENT '文件夹ID', - `strategy` varchar(32) NOT NULL DEFAULT 'local' COMMENT '储存策略,默认本地', - `path` varchar(500) NOT NULL COMMENT '保存路径', - `name` varchar(500) NOT NULL COMMENT '保存名称', - `alias_name` varchar(255) NULL DEFAULT NULL COMMENT '别名', - `pathname` varchar(500) NOT NULL COMMENT '保存名称', - `size` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '图片大小(字节:b)', - `mime` varchar(32) NOT NULL COMMENT '文件MIME类型', - `sha1` varchar(100) NOT NULL COMMENT 'hash sha1', - `md5` varchar(32) NOT NULL COMMENT 'hash md5', - `ip` varchar(128) DEFAULT NULL COMMENT '上传者IP', - `suspicious` tinyint(1) NOT NULL DEFAULT '0' COMMENT '可疑图片', - `create_time` int(11) NOT NULL COMMENT '创建时间', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci COMMENT='图片表'; - --- --- 表的结构 `lsky_users` --- - -DROP TABLE IF EXISTS `lsky_users`; -CREATE TABLE IF NOT EXISTS `lsky_users` ( - `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, - `group_id` int(11) NOT NULL DEFAULT '0' COMMENT '角色组ID', - `username` varchar(32) NOT NULL UNIQUE COMMENT '用户名', - `nickname` varchar(32) DEFAULT NULL COMMENT '昵称', - `email` varchar(100) NOT NULL UNIQUE COMMENT '邮箱', - `password` varchar(32) NOT NULL COMMENT '密码', - `quota` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '可用配额容量(字节:b)', - `default_folder` varchar(32) DEFAULT NULL COMMENT '默认上传文件夹', - `is_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否为管理员', - `state` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0:冻结,1:正常', - `token` varchar(32) DEFAULT NULL COMMENT 'Token', - `reg_ip` varchar(128) DEFAULT NULL COMMENT '注册IP', - `delete_time` int(11) DEFAULT NULL COMMENT '删除时间', - `update_time` int(11) NOT NULL COMMENT '更新时间', - `create_time` int(11) NOT NULL COMMENT '添加时间', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci COMMENT='用户表'; - --- --- 表的结构 `lsky_folders` --- - -DROP TABLE IF EXISTS `lsky_folders`; -CREATE TABLE `lsky_folders` ( - `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', - `user_id` int(11) NOT NULL COMMENT '用户ID', - `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '上级文件夹ID', - `name` varchar(100) NOT NULL COMMENT '文件夹名称', - `delete_time` int(11) DEFAULT NULL COMMENT '删除时间', - `update_time` int(11) DEFAULT NULL COMMENT '更新时间', - `create_time` int(11) DEFAULT NULL COMMENT '添加时间', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci COMMENT='文件夹表'; - --- --- 表的结构 `lsky_users_group` --- - -DROP TABLE IF EXISTS `lsky_group`; -CREATE TABLE `lsky_group` ( - `id` INT NOT NULL AUTO_INCREMENT COMMENT 'ID', - `strategy` varchar(32) NOT NULL COMMENT '使用策略', - `name` varchar(32) NOT NULL COMMENT '组名称', - `default` tinyint(1) NOT NULL DEFAULT '0' COMMENT '默认', - `update_time` int(11) DEFAULT NULL COMMENT '更新时间', - `create_time` int(11) DEFAULT NULL COMMENT '添加时间', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci COMMENT='文件夹表'; - --- -------------------------------------------------------- - --- --- 表中的数据 `lsky_config` --- - -INSERT INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'basics', 'bool', 'checkbox', 'close_register', 'Turn off registration', NULL, '0', ''), -(NULL, 'basics', 'text', 'text', 'site_name', 'Website title', NULL, 'Lsky Pro', ''), -(NULL, 'basics', 'text', 'text', 'site_keywords', 'Website keywords', NULL, 'Lsky Pro', ''), -(NULL, 'basics', 'text', 'text', 'site_description', 'Website description', NULL, 'Lsky Pro, Your photo album on the cloud.', ''), -(NULL, 'basics', 'textarea', 'textarea', 'custom_style', 'Custom CSS', NULL, '\r\n', ''), -(NULL, 'basics', 'textarea', 'textarea', 'statistics_code', 'Statistical code', NULL, '', ''), -(NULL, 'basics', 'text', 'text', 'icp_number', 'Icp number', NULL, '', ''), -(NULL, 'upload', 'bool', 'checkbox', 'allowed_tourist_upload', 'Allow visitors to upload', 'Allow visitors to upload tip', '1', ''), -(NULL, 'upload', 'text', 'text', 'upload_max_size', 'Upload max size', 'Upload max size tip', '5242880', ''), -(NULL, 'upload', 'text', 'number', 'upload_single_num', 'Upload single num', NULL, '10', ''), -(NULL, 'upload', 'text', 'number', 'same_ip_day_max_upload', 'Same ip day max upload', 'Same ip day max upload tip', '0', ''), -(NULL, 'upload', 'text', 'text', 'upload_allowed_exts', 'Upload allowed exts', 'Upload allowed exts tip', 'jpg,jpeg,gif,png,ico', ''), -(NULL, 'upload', 'text', 'text', 'path_naming_rule', 'Path naming rule', 'Path naming variable cross reference table', '{Y}/{m}/{d}', ''), -(NULL, 'upload', 'text', 'text', 'file_naming_rule', 'File naming rule', 'File naming variable cross reference table', '{uniqid}', ''), -(NULL, 'user', 'text', 'text', 'user_initial_quota', 'User initial quota', 'User initial quota tip', '1073741824', ''), -(NULL, 'mail', 'select', 'text', 'mail_send_mode', 'Mail send mode', NULL, 'smtp', '{\"smtp\":\"SMTP\"}'), -(NULL, 'mail', 'select', 'text', 'mail_smtp_secure', 'Mail smtp secure', NULL, 'none', '{\"none\":\"None\",\"tls\":\"TLS\",\"ssl\":\"SSL\"}'), -(NULL, 'mail', 'text', 'text', 'mail_smtp_host', 'Mail smtp host', NULL, '', ''), -(NULL, 'mail', 'text', 'text', 'mail_smtp_username', 'Mail smtp username', NULL, '', ''), -(NULL, 'mail', 'text', 'password', 'mail_smtp_password', 'Mail smtp password', NULL, '', ''), -(NULL, 'mail', 'text', 'number', 'mail_smtp_port', 'Mail smtp port', '25/465', '25', ''), -(NULL, 'mail', 'text', 'email', 'mail_form_email', 'Mail form mailbox', NULL, '', ''), - -(NULL, 'other', 'bool', 'checkbox', 'soft_delete', 'Soft delete', 'Soft delete tip', '0', ''), -(NULL, 'other', 'bool', 'checkbox', 'open_gallery', 'Open gallery', 'Open gallery tip', '0', ''), -(NULL, 'other', 'bool', 'checkbox', 'open_api', 'Open api', 'Open api tip', '0', ''), -(NULL, 'other', 'textarea', 'textarea', 'ban_ip', 'Ban ip', 'Ban ip tip', '', ''), - -(NULL, 'storage_strategy', 'select', 'text', 'storage_strategy', 'Storage strategy', NULL, 'local', ''), -(NULL, 'local', 'text', 'text', 'local_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'oss', 'text', 'text', 'oss_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'oss', 'text', 'text', 'oss_access_key_id', 'AccessKeyId', NULL, '', ''), -(NULL, 'oss', 'text', 'text', 'oss_access_key_secret', 'AccessKeySecret', NULL, '', ''), -(NULL, 'oss', 'text', 'text', 'oss_endpoint', 'Endpoint', 'Regional node', '', ''), -(NULL, 'oss', 'text', 'text', 'oss_bucket', 'Bucket', NULL, '', ''), -(NULL, 'cos', 'text', 'text', 'cos_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'cos', 'text', 'text', 'cos_secret_id', 'SecretId', NULL, '', ''), -(NULL, 'cos', 'text', 'text', 'cos_secret_key', 'SecretKey', NULL, '', ''), -(NULL, 'cos', 'text', 'text', 'cos_region', 'Region', NULL, '', ''), -(NULL, 'cos', 'text', 'text', 'cos_bucket', 'Bucket', 'Bucket name', '', ''), -(NULL, 'kodo', 'text', 'text', 'kodo_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'kodo', 'text', 'text', 'kodo_access_key', 'AccessKey', NULL, '', ''), -(NULL, 'kodo', 'text', 'text', 'kodo_secret_key', 'SecretKey', NULL, '', ''), -(NULL, 'kodo', 'text', 'text', 'kodo_bucket', 'Bucket', NULL, '', ''), -(NULL, 'uss', 'text', 'text', 'uss_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'uss', 'text', 'text', 'uss_operator_name', 'OperatorName', 'Operator account', '', ''), -(NULL, 'uss', 'text', 'password', 'uss_operator_pwd', 'OperatorPwd', 'Operator password', '', ''), -(NULL, 'uss', 'text', 'text', 'uss_service_name', 'ServiceName', 'Cloud storage service name', '', ''), -(NULL, 'basics', 'textarea', 'textarea', 'notice', 'System notice', 'System notice tip', '', ''), -(NULL, 'remote', 'text', 'text', 'remote_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'remote', 'select', 'text', 'remote_type', 'Remote storage type', NULL, 'ftp', '{\"ftp\":\"ftp\"}'), -(NULL, 'remote', 'bool', 'checkbox', 'remote_pasv', 'Passive mode', NULL, '0', ''), -(NULL, 'remote', 'text', 'text', 'remote_host', 'Connection address', NULL, '', ''), -(NULL, 'remote', 'text', 'text', 'remote_name', 'Login account', NULL, '', ''), -(NULL, 'remote', 'text', 'password', 'remote_password', 'Login password', NULL, '', ''), -(NULL, 'remote', 'text', 'number', 'remote_port', 'Connection port', NULL, '21', ''), - -(NULL, 'audit', 'bool', 'checkbox', 'open_audit', 'Turn on picture yellow identification', 'Turn on picture yellow identification tip', '0', ''), -(NULL, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''), -(NULL, 'audit', 'select', 'text', 'audit_index', 'Content rating', 'Content rating tip', '3', '{\"1\": \"Very strict\", \"2\": \"Strict\", \"3\": \"Commonly\"}'), - -(NULL, '', 'text', 'text', 'system_version', 'System version', NULL, '1.6.4', ''); - -INSERT INTO `lsky_group` (`id`, `strategy`, `name`, `default`, `update_time`, `create_time`) VALUES (NULL, 'local', 'Default group', '1', '0', '0'); diff --git a/application/sql/update.sql b/application/sql/update.sql deleted file mode 100644 index 1cd405e0..00000000 --- a/application/sql/update.sql +++ /dev/null @@ -1,117 +0,0 @@ --- --- Sql更新文件,选择数据库后导入,或直接复制内容执行 --- - --- v1.2.0 -UPDATE `lsky_config` SET `value` = '1.2.1' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.3.2 -UPDATE `lsky_config` SET `value` = '1.3.2' WHERE `lsky_config`.`name` = 'system_version'; - -INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'audit', 'bool', 'checkbox', 'open_audit', 'Turn on picture yellow identification', 'Turn on picture yellow identification tip', '0', ''), -(NULL, 'audit', 'text', 'text', 'audit_key', 'Key', NULL, '', ''), -(NULL, 'audit', 'select', 'text', 'audit_index', 'Content rating', 'Content rating tip', '3', '{\"1\": \"Very strict\", \"2\": \"Strict\", \"3\": \"Commonly\"}'), -(NULL, 'other', 'bool', 'checkbox', 'open_api', 'Open api', 'Open api tip', '0', ''); - --- v1.3.3 -UPDATE `lsky_config` SET `value` = '1.3.3' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.4.0 -UPDATE `lsky_config` SET `value` = '1.4.0' WHERE `lsky_config`.`name` = 'system_version'; -UPDATE `lsky_config` SET `key` = 'uss', `name` = 'uss_cdn_domain' WHERE `lsky_config`.`name` = 'upyun_cdn_domain'; -UPDATE `lsky_config` SET `key` = 'uss', `name` = 'uss_operator_name' WHERE `lsky_config`.`name` = 'upyun_operator_name'; -UPDATE `lsky_config` SET `key` = 'uss', `name` = 'uss_operator_pwd' WHERE `lsky_config`.`name` = 'upyun_operator_pwd'; -UPDATE `lsky_config` SET `key` = 'uss', `name` = 'uss_service_name' WHERE `lsky_config`.`name` = 'upyun_service_name'; -UPDATE `lsky_config` SET `key` = 'kodo', `name` = 'kodo_cdn_domain' WHERE `lsky_config`.`name` = 'qiniu_cdn_domain'; -UPDATE `lsky_config` SET `key` = 'kodo', `name` = 'kodo_access_key' WHERE `lsky_config`.`name` = 'qiniu_access_key'; -UPDATE `lsky_config` SET `key` = 'kodo', `name` = 'kodo_secret_key' WHERE `lsky_config`.`name` = 'qiniu_secret_key'; -UPDATE `lsky_config` SET `key` = 'kodo', `name` = 'kodo_bucket' WHERE `lsky_config`.`name` = 'qiniu_bucket'; -UPDATE `lsky_config` SET `value` = 'kodo' WHERE `lsky_config`.`value` = 'qiniu'; -UPDATE `lsky_config` SET `value` = 'uss' WHERE `lsky_config`.`value` = 'upyun'; - --- v1.4.1 -UPDATE `lsky_config` SET `value` = '1.4.1' WHERE `lsky_config`.`name` = 'system_version'; -CREATE TABLE IF NOT EXISTS `lsky_folders` ( - `id` int(11) PRIMARY KEY AUTO_INCREMENT NOT NULL COMMENT 'ID', - `user_id` int(11) NOT NULL COMMENT '用户ID', - `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '上级文件夹ID', - `name` varchar(100) NOT NULL COMMENT '文件夹名称', - `delete_time` int(11) DEFAULT NULL COMMENT '删除时间', - `update_time` int(11) DEFAULT NULL COMMENT '更新时间', - `create_time` int(11) DEFAULT NULL COMMENT '添加时间' -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文件夹表'; - --- v1.4.2 -UPDATE `lsky_config` SET `value` = '1.4.2' WHERE `lsky_config`.`name` = 'system_version'; -UPDATE `lsky_images` SET `strategy` = 'uss' WHERE `lsky_images`.`strategy` = 'upyun'; -UPDATE `lsky_images` SET `strategy` = 'kodo' WHERE `lsky_images`.`strategy` = 'qiniu'; - --- v1.5.0 -UPDATE `lsky_config` SET `value` = '1.5.0' WHERE `lsky_config`.`name` = 'system_version'; -UPDATE `lsky_config` SET `tip` = 'Turn on picture yellow identification tip' WHERE `lsky_config`.`name` = 'open_audit'; -INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'basics', 'textarea', 'textarea', 'custom_style', 'Custom CSS', NULL, '\r\n', ''), -(NULL, 'basics', 'textarea', 'textarea', 'statistics_code', 'Statistical code', NULL, '', ''); -CREATE TABLE IF NOT EXISTS `lsky_group` ( - `id` INT NOT NULL AUTO_INCREMENT COMMENT 'ID', - `strategy` varchar(32) NOT NULL COMMENT '使用策略', - `name` varchar(32) NOT NULL COMMENT '组名称', - `default` tinyint(1) NOT NULL DEFAULT '0' COMMENT '默认', - `update_time` int(11) DEFAULT NULL COMMENT '更新时间', - `create_time` int(11) DEFAULT NULL COMMENT '添加时间', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_general_ci COMMENT='文件夹表'; -INSERT IGNORE INTO `lsky_group` (`id`, `strategy`, `name`, `default`, `create_time`) VALUES ('1', 'local', 'Default group', '1', '0'); - --- v1.5.1 -UPDATE `lsky_config` SET `value` = '1.5.1' WHERE `lsky_config`.`name` = 'system_version'; -ALTER TABLE `lsky_users` CHANGE `reg_ip` `reg_ip` VARCHAR(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '注册IP'; - --- v1.5.2 -UPDATE `lsky_config` SET `value` = '1.5.2' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.5.3 -UPDATE `lsky_config` SET `value` = '1.5.3' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.5.4 -UPDATE `lsky_config` SET `value` = '1.5.4' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.5.5 -UPDATE `lsky_config` SET `value` = '1.5.5' WHERE `lsky_config`.`name` = 'system_version'; -INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'basics', 'textarea', 'textarea', 'notice', 'System notice', 'System notice tip', '', ''), -(NULL, 'remote', 'text', 'text', 'remote_cdn_domain', 'Domain name', NULL, '', ''), -(NULL, 'remote', 'select', 'text', 'remote_type', 'Remote storage type', NULL, 'ftp', '{\"ftp\":\"Ftp\"}'), -(NULL, 'remote', 'text', 'text', 'remote_host', 'Connection address', NULL, '', ''), -(NULL, 'remote', 'text', 'text', 'remote_name', 'Login account', NULL, '', ''), -(NULL, 'remote', 'text', 'password', 'remote_password', 'Login password', NULL, '', ''), -(NULL, 'remote', 'text', 'number', 'remote_port', 'Connection port', NULL, '21', ''); - --- v1.5.6 -UPDATE `lsky_config` SET `value` = '1.5.6' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.5.7 -UPDATE `lsky_config` SET `value` = '1.5.7' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.5.8 -UPDATE `lsky_config` SET `value` = '1.5.8' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.6.0 -UPDATE `lsky_config` SET `value` = '1.6.0' WHERE `lsky_config`.`name` = 'system_version'; -INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'other', 'textarea', 'textarea', 'ban_ip', 'Ban ip', 'Ban ip tip', '', ''), -(NULL, 'remote', 'bool', 'checkbox', 'remote_pasv', 'Passive mode', NULL, '0', ''); - --- v1.6.1 -UPDATE `lsky_config` SET `value` = '1.6.1' WHERE `lsky_config`.`name` = 'system_version'; - --- v1.6.3 -UPDATE `lsky_config` SET `value` = '1.6.3' WHERE `lsky_config`.`name` = 'system_version'; -INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'other', 'bool', 'checkbox', 'open_gallery', 'Open gallery', 'Open gallery tip', '', ''); - --- v1.6.4 -UPDATE `lsky_config` SET `value` = '1.6.4' WHERE `lsky_config`.`name` = 'system_version'; -INSERT IGNORE INTO `lsky_config` (`id`, `key`, `type`, `input_type`, `name`, `title`, `tip`, `value`, `extend`) VALUES -(NULL, 'upload', 'text', 'number', 'same_ip_day_max_upload', 'Same ip day max upload', 'Same ip day max upload tip', '0', ''); diff --git a/application/tags.php b/application/tags.php deleted file mode 100644 index 4b18d105..00000000 --- a/application/tags.php +++ /dev/null @@ -1,28 +0,0 @@ - -// +---------------------------------------------------------------------- - -// 应用行为扩展定义文件 -return [ - // 应用初始化 - 'app_init' => [], - // 应用开始 - 'app_begin' => [], - // 模块初始化 - 'module_init' => [], - // 操作开始执行 - 'action_begin' => [], - // 视图内容过滤 - 'view_filter' => [], - // 日志写入 - 'log_write' => [], - // 应用结束 - 'app_end' => [], -]; diff --git a/artisan b/artisan new file mode 100755 index 00000000..67a3329b --- /dev/null +++ b/artisan @@ -0,0 +1,53 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100644 index 00000000..037e17df --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,55 @@ +singleton( + Illuminate\Contracts\Http\Kernel::class, + App\Http\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Console\Kernel::class, + App\Console\Kernel::class +); + +$app->singleton( + Illuminate\Contracts\Debug\ExceptionHandler::class, + App\Exceptions\Handler::class +); + +/* +|-------------------------------------------------------------------------- +| Return The Application +|-------------------------------------------------------------------------- +| +| This script returns the application instance. The instance is given to +| the calling script so we can separate the building of the instances +| from the actual running of the application and sending responses. +| +*/ + +return $app; diff --git a/runtime/.gitignore b/bootstrap/cache/.gitignore similarity index 100% rename from runtime/.gitignore rename to bootstrap/cache/.gitignore diff --git a/composer.json b/composer.json index 91ad986c..8fc7406e 100644 --- a/composer.json +++ b/composer.json @@ -1,34 +1,62 @@ { - "name": "wisp-x/lsky-pro", - "description": "Lsky Pro, your photo album on the cloud.", + "name": "laravel/laravel", "type": "project", - "keywords": [ - "lsky", - "lsky Pro" - ], - "homepage": "https://www.lsky.pro", - "license": "GPL-3.0", - "authors": [ - { - "name": "Wisp X", - "email": "1591788658@qq.com" - } - ], + "description": "The Laravel Framework.", + "keywords": ["framework", "laravel"], + "license": "MIT", "require": { - "php": ">=5.6.0", - "topthink/framework": "5.1.*", - "topthink/think-captcha": "^2.0", - "aliyuncs/oss-sdk-php": "^2.3", - "qiniu/php-sdk": "^7.2", - "upyun/sdk": "^3.3", - "qcloud/cos-sdk-v5": "^1.2", - "topthink/think-image": "^1.0", - "phpmailer/phpmailer": "^6.0", - "nicolab/php-ftp-client": "^1.5" + "php": "^7.3|^8.0", + "fruitcake/laravel-cors": "^2.0", + "guzzlehttp/guzzle": "^7.0.1", + "laravel/framework": "^8.65", + "laravel/sanctum": "^2.11", + "laravel/tinker": "^2.5" + }, + "require-dev": { + "facade/ignition": "^2.5", + "fakerphp/faker": "^1.9.1", + "laravel/sail": "^1.0.1", + "mockery/mockery": "^1.4.4", + "nunomaduro/collision": "^5.10", + "phpunit/phpunit": "^9.5.10" }, "autoload": { "psr-4": { - "app\\": "application" + "App\\": "app/", + "Database\\Factories\\": "database/factories/", + "Database\\Seeders\\": "database/seeders/" } - } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/" + } + }, + "scripts": { + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover --ansi" + ], + "post-update-cmd": [ + "@php artisan vendor:publish --tag=laravel-assets --ansi --force" + ], + "post-root-package-install": [ + "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ], + "post-create-project-cmd": [ + "@php artisan key:generate --ansi" + ] + }, + "extra": { + "laravel": { + "dont-discover": [] + } + }, + "config": { + "optimize-autoloader": true, + "preferred-install": "dist", + "sort-packages": true + }, + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/composer.lock b/composer.lock index 8f88ac77..807e8583 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fb6ffef3fc6c84854a1c9c891746c6e1", + "content-hash": "d4842c22e789d247c4b660e69490545f", "packages": [ { - "name": "aliyuncs/oss-sdk-php", - "version": "v2.4.2", + "name": "asm89/stack-cors", + "version": "v2.0.3", "source": { "type": "git", - "url": "https://github.com/aliyun/aliyun-oss-php-sdk.git", - "reference": "0c9d902c33847c07efc66c4cdf823deaea8fc2b6" + "url": "https://github.com/asm89/stack-cors.git", + "reference": "9cb795bf30988e8c96dd3c40623c48a877bc6714" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/0c9d902c33847c07efc66c4cdf823deaea8fc2b6", - "reference": "0c9d902c33847c07efc66c4cdf823deaea8fc2b6", + "url": "https://api.github.com/repos/asm89/stack-cors/zipball/9cb795bf30988e8c96dd3c40623c48a877bc6714", + "reference": "9cb795bf30988e8c96dd3c40623c48a877bc6714", "shasum": "", "mirrors": [ { @@ -27,74 +27,23 @@ ] }, "require": { - "php": ">=5.3" + "php": "^7.0|^8.0", + "symfony/http-foundation": "~2.7|~3.0|~4.0|~5.0", + "symfony/http-kernel": "~2.7|~3.0|~4.0|~5.0" }, "require-dev": { - "phpunit/phpunit": "*", - "satooshi/php-coveralls": "*" - }, - "type": "library", - "autoload": { - "psr-4": { - "OSS\\": "src/OSS" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aliyuncs", - "homepage": "http://www.aliyun.com" - } - ], - "description": "Aliyun OSS SDK for PHP", - "homepage": "http://www.aliyun.com/product/oss/", - "support": { - "issues": "https://github.com/aliyun/aliyun-oss-php-sdk/issues", - "source": "https://github.com/aliyun/aliyun-oss-php-sdk/tree/v2.4.2" - }, - "time": "2021-06-04T06:55:06+00:00" - }, - { - "name": "guzzlehttp/command", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/command.git", - "reference": "2aaa2521a8f8269d6f5dfc13fe2af12c76921034" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/command/zipball/2aaa2521a8f8269d6f5dfc13fe2af12c76921034", - "reference": "2aaa2521a8f8269d6f5dfc13fe2af12c76921034", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "guzzlehttp/guzzle": "^6.2", - "guzzlehttp/promises": "~1.3", - "guzzlehttp/psr7": "~1.0", - "php": ">=5.5.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" + "phpunit/phpunit": "^6|^7|^8|^9", + "squizlabs/php_codesniffer": "^3.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.9-dev" + "dev-master": "2.0-dev" } }, "autoload": { "psr-4": { - "GuzzleHttp\\Command\\": "src/" + "Asm89\\Stack\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -103,35 +52,34 @@ ], "authors": [ { - "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": "Alexander", + "email": "iam.asm89@gmail.com" } ], - "description": "Provides the foundation for building command-based web service clients", + "description": "Cross-origin resource sharing library and stack middleware", + "homepage": "https://github.com/asm89/stack-cors", + "keywords": [ + "cors", + "stack" + ], "support": { - "issues": "https://github.com/guzzle/command/issues", - "source": "https://github.com/guzzle/command/tree/1.0.0" + "issues": "https://github.com/asm89/stack-cors/issues", + "source": "https://github.com/asm89/stack-cors/tree/v2.0.3" }, - "time": "2016-11-24T13:34:15+00:00" + "time": "2021-03-11T06:42:03+00:00" }, { - "name": "guzzlehttp/guzzle", - "version": "6.5.5", + "name": "brick/math", + "version": "0.9.3", "source": { "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e" + "url": "https://github.com/brick/math.git", + "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", - "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", + "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", + "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", "shasum": "", "mirrors": [ { @@ -142,23 +90,653 @@ }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.6.1", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.17.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.1" + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", + "vimeo/psalm": "4.9.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Brick\\Math\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Arbitrary-precision arithmetic library", + "keywords": [ + "Arbitrary-precision", + "BigInteger", + "BigRational", + "arithmetic", + "bigdecimal", + "bignum", + "brick", + "math" + ], + "support": { + "issues": "https://github.com/brick/math/issues", + "source": "https://github.com/brick/math/tree/0.9.3" + }, + "funding": [ + { + "url": "https://github.com/BenMorel", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/brick/math", + "type": "tidelift" + } + ], + "time": "2021-08-15T20:50:18+00:00" + }, + { + "name": "dflydev/dot-access-data", + "version": "v3.0.1", + "source": { + "type": "git", + "url": "https://github.com/dflydev/dflydev-dot-access-data.git", + "reference": "0992cc19268b259a39e86f296da5f0677841f42c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/0992cc19268b259a39e86f296da5f0677841f42c", + "reference": "0992cc19268b259a39e86f296da5f0677841f42c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.42", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", + "scrutinizer/ocular": "1.6.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^3.14" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Dflydev\\DotAccessData\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Dragonfly Development Inc.", + "email": "info@dflydev.com", + "homepage": "http://dflydev.com" + }, + { + "name": "Beau Simensen", + "email": "beau@dflydev.com", + "homepage": "http://beausimensen.com" + }, + { + "name": "Carlos Frutos", + "email": "carlos@kiwing.it", + "homepage": "https://github.com/cfrutos" + }, + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com" + } + ], + "description": "Given a deep data structure, access data by dot notation.", + "homepage": "https://github.com/dflydev/dflydev-dot-access-data", + "keywords": [ + "access", + "data", + "dot", + "notation" + ], + "support": { + "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.1" + }, + "time": "2021-08-13T13:06:58+00:00" + }, + { + "name": "doctrine/inflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "vimeo/psalm": "^4.10" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } + ], + "time": "2021-10-22T20:16:43+00:00" + }, + { + "name": "doctrine/lexer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "e864bbf5904cb8f5bb334f99209b48018522f042" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/e864bbf5904cb8f5bb334f99209b48018522f042", + "reference": "e864bbf5904cb8f5bb334f99209b48018522f042", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^6.0", + "phpstan/phpstan": "^0.11.8", + "phpunit/phpunit": "^8.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", + "type": "tidelift" + } + ], + "time": "2020-05-25T17:44:05+00:00" + }, + { + "name": "dragonmantank/cron-expression", + "version": "v3.1.0", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c", + "reference": "7a8c6e56ab3ffcc538d05e8155bb42269abf1a0c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2|^8.0", + "webmozart/assert": "^1.7.0" + }, + "replace": { + "mtdowling/cron-expression": "^1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-webmozart-assert": "^0.12.7", + "phpunit/phpunit": "^7.0|^8.0|^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "support": { + "issues": "https://github.com/dragonmantank/cron-expression/issues", + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.1.0" + }, + "funding": [ + { + "url": "https://github.com/dragonmantank", + "type": "github" + } + ], + "time": "2020-11-24T19:55:57+00:00" + }, + { + "name": "egulias/email-validator", + "version": "2.1.25", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "doctrine/lexer": "^1.0.1", + "php": ">=5.5", + "symfony/polyfill-intl-idn": "^1.10" + }, + "require-dev": { + "dominicsayers/isemail": "^3.0.7", + "phpunit/phpunit": "^4.8.36|^7.5.15", + "satooshi/php-coveralls": "^1.0.1" }, "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ], + "support": { + "issues": "https://github.com/egulias/EmailValidator/issues", + "source": "https://github.com/egulias/EmailValidator/tree/2.1.25" + }, + "funding": [ + { + "url": "https://github.com/egulias", + "type": "github" + } + ], + "time": "2020-12-29T14:50:06+00:00" + }, + { + "name": "fruitcake/laravel-cors", + "version": "v2.0.4", + "source": { + "type": "git", + "url": "https://github.com/fruitcake/laravel-cors.git", + "reference": "a8ccedc7ca95189ead0e407c43b530dc17791d6a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fruitcake/laravel-cors/zipball/a8ccedc7ca95189ead0e407c43b530dc17791d6a", + "reference": "a8ccedc7ca95189ead0e407c43b530dc17791d6a", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "asm89/stack-cors": "^2.0.1", + "illuminate/contracts": "^6|^7|^8|^9", + "illuminate/support": "^6|^7|^8|^9", + "php": ">=7.2", + "symfony/http-foundation": "^4|^5", + "symfony/http-kernel": "^4.3.4|^5" + }, + "require-dev": { + "laravel/framework": "^6|^7|^8", + "orchestra/testbench-dusk": "^4|^5|^6|^7", + "phpunit/phpunit": "^6|^7|^8|^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + }, + "laravel": { + "providers": [ + "Fruitcake\\Cors\\CorsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Fruitcake\\Cors\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fruitcake", + "homepage": "https://fruitcake.nl" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application", + "keywords": [ + "api", + "cors", + "crossdomain", + "laravel" + ], + "support": { + "issues": "https://github.com/fruitcake/laravel-cors/issues", + "source": "https://github.com/fruitcake/laravel-cors/tree/v2.0.4" + }, + "funding": [ + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2021-04-26T11:24:25+00:00" + }, + { + "name": "graham-campbell/result-type", + "version": "v1.0.4", + "source": { + "type": "git", + "url": "https://github.com/GrahamCampbell/Result-Type.git", + "reference": "0690bde05318336c7221785f2a932467f98b64ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", + "reference": "0690bde05318336c7221785f2a932467f98b64ca", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.0 || ^8.0", + "phpoption/phpoption": "^1.8" + }, + "require-dev": { + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "GrahamCampbell\\ResultType\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "An Implementation Of The Result Type", + "keywords": [ + "Graham Campbell", + "GrahamCampbell", + "Result Type", + "Result-Type", + "result" + ], + "support": { + "issues": "https://github.com/GrahamCampbell/Result-Type/issues", + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type", + "type": "tidelift" + } + ], + "time": "2021-11-21T21:41:47+00:00" + }, + { + "name": "guzzlehttp/guzzle", + "version": "7.4.1", + "source": { + "type": "git", + "url": "https://github.com/guzzle/guzzle.git", + "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79", + "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "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": "6.5-dev" + "dev-master": "7.4-dev" } }, "autoload": { @@ -175,75 +753,10 @@ ], "authors": [ { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/6.5" - }, - "time": "2020-06-16T21:01:06+00:00" - }, - { - "name": "guzzlehttp/guzzle-services", - "version": "1.1.3", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle-services.git", - "reference": "9e3abf20161cbf662d616cbb995f2811771759f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle-services/zipball/9e3abf20161cbf662d616cbb995f2811771759f7", - "reference": "9e3abf20161cbf662d616cbb995f2811771759f7", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "guzzlehttp/command": "~1.0", - "guzzlehttp/guzzle": "^6.2", - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "gimler/guzzle-description-loader": "^0.0.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Command\\Guzzle\\": "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", @@ -255,30 +768,70 @@ "homepage": "https://github.com/jeremeamia" }, { - "name": "Stefano Kowalke", - "email": "blueduck@mail.org", - "homepage": "https://github.com/konafets" + "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": "Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.", + "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-services/issues", - "source": "https://github.com/guzzle/guzzle-services/tree/1.1.3" + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.4.1" }, - "time": "2017-10-06T14:32:02+00:00" + "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": "2021-12-06T18:43:05+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.4.1", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d" + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d", + "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", "shasum": "", "mirrors": [ { @@ -296,7 +849,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.5-dev" } }, "autoload": { @@ -312,10 +865,25 @@ "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", @@ -324,22 +892,36 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.4.1" + "source": "https://github.com/guzzle/promises/tree/1.5.1" }, - "time": "2021-03-07T09:25:29+00:00" + "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": "1.8.2", + "version": "2.1.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91" + "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72", + "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72", "shasum": "", "mirrors": [ { @@ -349,16 +931,19 @@ ] }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "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": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "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" @@ -366,30 +951,53 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7-dev" + "dev-master": "2.1-dev" } }, "autoload": { "psr-4": { "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + } }, "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", @@ -405,22 +1013,36 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.8.2" + "source": "https://github.com/guzzle/psr7/tree/2.1.0" }, - "time": "2021-04-26T09:17:50+00:00" + "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": "2021-10-06T17:43:30+00:00" }, { - "name": "nicolab/php-ftp-client", - "version": "v1.6.0", + "name": "laravel/framework", + "version": "v8.75.0", "source": { "type": "git", - "url": "https://github.com/Nicolab/php-ftp-client.git", - "reference": "a02f966fa3ac700a0ea412fcb37b537ef1a24c9f" + "url": "https://github.com/laravel/framework.git", + "reference": "0bb91d3176357da232da69762a64b0e0a0988637" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Nicolab/php-ftp-client/zipball/a02f966fa3ac700a0ea412fcb37b537ef1a24c9f", - "reference": "a02f966fa3ac700a0ea412fcb37b537ef1a24c9f", + "url": "https://api.github.com/repos/laravel/framework/zipball/0bb91d3176357da232da69762a64b0e0a0988637", + "reference": "0bb91d3176357da232da69762a64b0e0a0988637", "shasum": "", "mirrors": [ { @@ -430,13 +1052,139 @@ ] }, "require": { - "ext-ftp": "*", - "php": ">=5.4" + "doctrine/inflector": "^1.4|^2.0", + "dragonmantank/cron-expression": "^3.0.2", + "egulias/email-validator": "^2.1.10", + "ext-json": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "laravel/serializable-closure": "^1.0", + "league/commonmark": "^1.3|^2.0.2", + "league/flysystem": "^1.1", + "monolog/monolog": "^2.0", + "nesbot/carbon": "^2.53.1", + "opis/closure": "^3.6", + "php": "^7.3|^8.0", + "psr/container": "^1.0", + "psr/log": "^1.0 || ^2.0", + "psr/simple-cache": "^1.0", + "ramsey/uuid": "^4.2.2", + "swiftmailer/swiftmailer": "^6.3", + "symfony/console": "^5.4", + "symfony/error-handler": "^5.4", + "symfony/finder": "^5.4", + "symfony/http-foundation": "^5.4", + "symfony/http-kernel": "^5.4", + "symfony/mime": "^5.4", + "symfony/process": "^5.4", + "symfony/routing": "^5.4", + "symfony/var-dumper": "^5.4", + "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "vlucas/phpdotenv": "^5.2", + "voku/portable-ascii": "^1.4.8" + }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.198.1", + "doctrine/dbal": "^2.13.3|^3.1.4", + "filp/whoops": "^2.14.3", + "guzzlehttp/guzzle": "^6.5.5|^7.0.1", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.4.4", + "orchestra/testbench-core": "^6.27", + "pda/pheanstalk": "^4.0", + "phpunit/phpunit": "^8.5.19|^9.5.8", + "predis/predis": "^1.1.9", + "symfony/cache": "^5.4" + }, + "suggest": { + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.198.1).", + "brianium/paratest": "Required to run tests in parallel (^6.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", + "ext-bcmath": "Required to use the multiple_of validation rule.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.5.5|^7.0.1).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "mockery/mockery": "Required to use mocking (^1.4.4).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^8.5.19|^9.5.8).", + "predis/predis": "Required to use the predis connector (^1.1.9).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0|^7.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.4).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^5.4).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", + "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "8.x-dev" + } + }, "autoload": { - "psr-0": { - "FtpClient": "src/" + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/" + ] } }, "notification-url": "https://packagist.org/downloads/", @@ -445,40 +1193,34 @@ ], "authors": [ { - "name": "Nicolas Tallefourtane", - "email": "dev@nicolab.net", - "homepage": "http://nicolab.net" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "A flexible FTP and SSL-FTP client for PHP. This lib provides helpers easy to use to manage the remote files.", - "homepage": "https://github.com/Nicolab/php-ftp-client", + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", "keywords": [ - "file", - "ftp", - "helper", - "lib", - "server", - "sftp", - "ssl", - "ssl-ftp" + "framework", + "laravel" ], "support": { - "source": "https://github.com/Nicolab/php-ftp-client/tree/v1.6.0" + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" }, - "time": "2021-06-28T13:28:11+00:00" + "time": "2021-12-07T14:55:46+00:00" }, { - "name": "phpmailer/phpmailer", - "version": "v6.5.0", + "name": "laravel/sanctum", + "version": "v2.12.2", "source": { "type": "git", - "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c" + "url": "https://github.com/laravel/sanctum.git", + "reference": "76b2d552c00477d520338889160f80a0cfb5fc55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a5b5c43e50b7fba655f793ad27303cd74c57363c", - "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/76b2d552c00477d520338889160f80a0cfb5fc55", + "reference": "76b2d552c00477d520338889160f80a0cfb5fc55", "shasum": "", "mirrors": [ { @@ -488,66 +1230,1357 @@ ] }, "require": { - "ext-ctype": "*", - "ext-filter": "*", - "ext-hash": "*", - "php": ">=5.5.0" + "ext-json": "*", + "illuminate/contracts": "^6.9|^7.0|^8.0", + "illuminate/database": "^6.9|^7.0|^8.0", + "illuminate/support": "^6.9|^7.0|^8.0", + "php": "^7.2|^8.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.2", - "phpcompatibility/php-compatibility": "^9.3.5", - "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.5.6", - "yoast/phpunit-polyfills": "^0.2.0" - }, - "suggest": { - "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", - "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", - "league/oauth2-google": "Needed for Google XOAUTH2 authentication", - "psr/log": "For optional PSR-3 debug logging", - "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", - "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" + "mockery/mockery": "^1.0", + "orchestra/testbench": "^4.0|^5.0|^6.0", + "phpunit/phpunit": "^8.0|^9.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Sanctum\\SanctumServiceProvider" + ] + } + }, "autoload": { "psr-4": { - "PHPMailer\\PHPMailer\\": "src/" + "Laravel\\Sanctum\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "LGPL-2.1-only" + "MIT" ], "authors": [ { - "name": "Marcus Bointon", - "email": "phpmailer@synchromedia.co.uk" - }, - { - "name": "Jim Jagielski", - "email": "jimjag@gmail.com" - }, - { - "name": "Andy Prevost", - "email": "codeworxtech@users.sourceforge.net" - }, - { - "name": "Brent R. Matzelle" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "PHPMailer is a full-featured email creation and transfer class for PHP", + "description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.", + "keywords": [ + "auth", + "laravel", + "sanctum" + ], "support": { - "issues": "https://github.com/PHPMailer/PHPMailer/issues", - "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.0" + "issues": "https://github.com/laravel/sanctum/issues", + "source": "https://github.com/laravel/sanctum" + }, + "time": "2021-11-16T16:57:07+00:00" + }, + { + "name": "laravel/serializable-closure", + "version": "v1.0.5", + "source": { + "type": "git", + "url": "https://github.com/laravel/serializable-closure.git", + "reference": "25de3be1bca1b17d52ff0dc02b646c667ac7266c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/25de3be1bca1b17d52ff0dc02b646c667ac7266c", + "reference": "25de3be1bca1b17d52ff0dc02b646c667ac7266c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "pestphp/pest": "^1.18", + "phpstan/phpstan": "^0.12.98", + "symfony/var-dumper": "^5.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\SerializableClosure\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "nuno@laravel.com" + } + ], + "description": "Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.", + "keywords": [ + "closure", + "laravel", + "serializable" + ], + "support": { + "issues": "https://github.com/laravel/serializable-closure/issues", + "source": "https://github.com/laravel/serializable-closure" + }, + "time": "2021-11-30T15:53:04+00:00" + }, + { + "name": "laravel/tinker", + "version": "v2.6.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/tinker.git", + "reference": "a9ddee4761ec8453c584e393b393caff189a3e42" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/tinker/zipball/a9ddee4761ec8453c584e393b393caff189a3e42", + "reference": "a9ddee4761ec8453c584e393b393caff189a3e42", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/console": "^6.0|^7.0|^8.0", + "illuminate/contracts": "^6.0|^7.0|^8.0", + "illuminate/support": "^6.0|^7.0|^8.0", + "php": "^7.2.5|^8.0", + "psy/psysh": "^0.10.4", + "symfony/var-dumper": "^4.3.4|^5.0" + }, + "require-dev": { + "mockery/mockery": "~1.3.3|^1.4.2", + "phpunit/phpunit": "^8.5.8|^9.3.3" + }, + "suggest": { + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Tinker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Powerful REPL for the Laravel framework.", + "keywords": [ + "REPL", + "Tinker", + "laravel", + "psysh" + ], + "support": { + "issues": "https://github.com/laravel/tinker/issues", + "source": "https://github.com/laravel/tinker/tree/v2.6.3" + }, + "time": "2021-12-07T16:41:42+00:00" + }, + { + "name": "league/commonmark", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "819276bc54e83c160617d3ac0a436c239e479928" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/819276bc54e83c160617d3ac0a436c239e479928", + "reference": "819276bc54e83c160617d3ac0a436c239e479928", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-mbstring": "*", + "league/config": "^1.1.1", + "php": "^7.4 || ^8.0", + "psr/event-dispatcher": "^1.0", + "symfony/polyfill-php80": "^1.15" + }, + "require-dev": { + "cebe/markdown": "^1.0", + "commonmark/cmark": "0.30.0", + "commonmark/commonmark.js": "0.30.0", + "composer/package-versions-deprecated": "^1.8", + "erusev/parsedown": "^1.0", + "ext-json": "*", + "github/gfm": "0.29.0", + "michelf/php-markdown": "^1.4", + "phpstan/phpstan": "^0.12.88 || ^1.0.0", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "symfony/finder": "^5.3", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "suggest": { + "symfony/yaml": "v2.3+ required if using the Front Matter extension" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "flavored", + "gfm", + "github", + "github-flavored", + "markdown", + "md", + "parser" + ], + "support": { + "docs": "https://commonmark.thephpleague.com/", + "forum": "https://github.com/thephpleague/commonmark/discussions", + "issues": "https://github.com/thephpleague/commonmark/issues", + "rss": "https://github.com/thephpleague/commonmark/releases.atom", + "source": "https://github.com/thephpleague/commonmark" }, "funding": [ { - "url": "https://github.com/Synchro", + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/commonmark", + "type": "tidelift" + } + ], + "time": "2021-12-05T18:25:20+00:00" + }, + { + "name": "league/config", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/config.git", + "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/config/zipball/a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", + "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "dflydev/dot-access-data": "^3.0.1", + "nette/schema": "^1.2", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^0.12.90", + "phpunit/phpunit": "^9.5.5", + "scrutinizer/ocular": "^1.8.1", + "unleashedtech/php-coding-standard": "^3.1", + "vimeo/psalm": "^4.7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Config\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "Define configuration arrays with strict schemas and access values with dot notation", + "homepage": "https://config.thephpleague.com", + "keywords": [ + "array", + "config", + "configuration", + "dot", + "dot-access", + "nested", + "schema" + ], + "support": { + "docs": "https://config.thephpleague.com/", + "issues": "https://github.com/thephpleague/config/issues", + "rss": "https://github.com/thephpleague/config/releases.atom", + "source": "https://github.com/thephpleague/config" + }, + "funding": [ + { + "url": "https://www.colinodell.com/sponsor", + "type": "custom" + }, + { + "url": "https://www.paypal.me/colinpodell/10.00", + "type": "custom" + }, + { + "url": "https://github.com/colinodell", "type": "github" } ], - "time": "2021-06-16T14:33:43+00:00" + "time": "2021-08-14T12:15:32+00:00" + }, + { + "name": "league/flysystem", + "version": "1.1.9", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", + "reference": "094defdb4a7001845300334e7c1ee2335925ef99", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-fileinfo": "*", + "league/mime-type-detection": "^1.3", + "php": "^7.2.5 || ^8.0" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "phpspec/prophecy": "^1.11.1", + "phpunit/phpunit": "^8.5.8" + }, + "suggest": { + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem/issues", + "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" + }, + "funding": [ + { + "url": "https://offset.earth/frankdejonge", + "type": "other" + } + ], + "time": "2021-12-09T09:40:50+00:00" + }, + { + "name": "league/mime-type-detection", + "version": "1.9.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/mime-type-detection.git", + "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc927863d47309b4c23e69", + "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-fileinfo": "*", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.2", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\MimeTypeDetection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Mime-type detection for Flysystem", + "support": { + "issues": "https://github.com/thephpleague/mime-type-detection/issues", + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.9.0" + }, + "funding": [ + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" + } + ], + "time": "2021-11-21T11:48:40+00:00" + }, + { + "name": "monolog/monolog", + "version": "2.3.5", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "fd4380d6fc37626e2f799f29d91195040137eba9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9", + "reference": "fd4380d6fc37626e2f799f29d91195040137eba9", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "provide": { + "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "elasticsearch/elasticsearch": "^7", + "graylog2/gelf-php": "^1.4.2", + "mongodb/mongodb": "^1.8", + "php-amqplib/php-amqplib": "~2.4 || ^3", + "php-console/php-console": "^3.1.3", + "phpspec/prophecy": "^1.6.1", + "phpstan/phpstan": "^0.12.91", + "phpunit/phpunit": "^8.5", + "predis/predis": "^1.1", + "rollbar/rollbar": "^1.3", + "ruflin/elastica": ">=0.90@dev", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", + "ext-openssl": "Required to send log messages using SSL", + "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "https://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "https://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "support": { + "issues": "https://github.com/Seldaek/monolog/issues", + "source": "https://github.com/Seldaek/monolog/tree/2.3.5" + }, + "funding": [ + { + "url": "https://github.com/Seldaek", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "type": "tidelift" + } + ], + "time": "2021-10-01T21:08:31+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.55.2", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "8c2a18ce3e67c34efc1b29f64fe61304368259a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8c2a18ce3e67c34efc1b29f64fe61304368259a2", + "reference": "8c2a18ce3e67c34efc1b29f64fe61304368259a2", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16", + "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "doctrine/dbal": "^2.0 || ^3.0", + "doctrine/orm": "^2.7", + "friendsofphp/php-cs-fixer": "^3.0", + "kylekatarnls/multi-tester": "^2.0", + "phpmd/phpmd": "^2.9", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.54", + "phpunit/phpunit": "^7.5.20 || ^8.5.14", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-3.x": "3.x-dev", + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "https://markido.com" + }, + { + "name": "kylekatarnls", + "homepage": "https://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "https://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "support": { + "docs": "https://carbon.nesbot.com/docs", + "issues": "https://github.com/briannesbitt/Carbon/issues", + "source": "https://github.com/briannesbitt/Carbon" + }, + "funding": [ + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2021-12-03T14:59:52+00:00" + }, + { + "name": "nette/schema", + "version": "v1.2.2", + "source": { + "type": "git", + "url": "https://github.com/nette/schema.git", + "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/schema/zipball/9a39cef03a5b34c7de64f551538cbba05c2be5df", + "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", + "php": ">=7.1 <8.2" + }, + "require-dev": { + "nette/tester": "^2.3 || ^2.4", + "phpstan/phpstan-nette": "^0.12", + "tracy/tracy": "^2.7" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "📐 Nette Schema: validating data structures against a given Schema.", + "homepage": "https://nette.org", + "keywords": [ + "config", + "nette" + ], + "support": { + "issues": "https://github.com/nette/schema/issues", + "source": "https://github.com/nette/schema/tree/v1.2.2" + }, + "time": "2021-10-15T11:40:02+00:00" + }, + { + "name": "nette/utils", + "version": "v3.2.6", + "source": { + "type": "git", + "url": "https://github.com/nette/utils.git", + "reference": "2f261e55bd6a12057442045bf2c249806abc1d02" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nette/utils/zipball/2f261e55bd6a12057442045bf2c249806abc1d02", + "reference": "2f261e55bd6a12057442045bf2c249806abc1d02", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2 <8.2" + }, + "conflict": { + "nette/di": "<3.0.6" + }, + "require-dev": { + "nette/tester": "~2.0", + "phpstan/phpstan": "^1.0", + "tracy/tracy": "^2.3" + }, + "suggest": { + "ext-gd": "to use Image", + "ext-iconv": "to use Strings::webalize(), toAscii(), chr() and reverse()", + "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", + "ext-json": "to use Nette\\Utils\\Json", + "ext-mbstring": "to use Strings::lower() etc...", + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", + "ext-xml": "to use Strings::length() etc. when mbstring is not available" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause", + "GPL-2.0-only", + "GPL-3.0-only" + ], + "authors": [ + { + "name": "David Grudl", + "homepage": "https://davidgrudl.com" + }, + { + "name": "Nette Community", + "homepage": "https://nette.org/contributors" + } + ], + "description": "🛠 Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.", + "homepage": "https://nette.org", + "keywords": [ + "array", + "core", + "datetime", + "images", + "json", + "nette", + "paginator", + "password", + "slugify", + "string", + "unicode", + "utf-8", + "utility", + "validation" + ], + "support": { + "issues": "https://github.com/nette/utils/issues", + "source": "https://github.com/nette/utils/tree/v3.2.6" + }, + "time": "2021-11-24T15:47:23+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.13.2", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "210577fe3cf7badcc5814d99455df46564f3c077" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", + "reference": "210577fe3cf7badcc5814d99455df46564f3c077", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" + }, + "time": "2021-11-30T19:35:32+00:00" + }, + { + "name": "opis/closure", + "version": "3.6.2", + "source": { + "type": "git", + "url": "https://github.com/opis/closure.git", + "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/opis/closure/zipball/06e2ebd25f2869e54a306dda991f7db58066f7f6", + "reference": "06e2ebd25f2869e54a306dda991f7db58066f7f6", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^5.4 || ^7.0 || ^8.0" + }, + "require-dev": { + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.6.x-dev" + } + }, + "autoload": { + "psr-4": { + "Opis\\Closure\\": "src/" + }, + "files": [ + "functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" + } + ], + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", + "keywords": [ + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" + ], + "support": { + "issues": "https://github.com/opis/closure/issues", + "source": "https://github.com/opis/closure/tree/3.6.2" + }, + "time": "2021-04-09T13:42:10+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.8.1", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "support": { + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2021-12-04T23:24:31+00:00" + }, + { + "name": "psr/container", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.2" + }, + "time": "2021-11-05T16:50:12+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+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": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "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": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "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", @@ -609,17 +2642,73 @@ "time": "2016-08-06T14:39:51+00:00" }, { - "name": "qcloud/cos-sdk-v5", - "version": "v1.3.5", + "name": "psr/log", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/tencentyun/cos-php-sdk-v5.git", - "reference": "e67ad8143695192ee206bcbcafc78c08da92c621" + "url": "https://github.com/php-fig/log.git", + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/e67ad8143695192ee206bcbcafc78c08da92c621", - "reference": "e67ad8143695192ee206bcbcafc78c08da92c621", + "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", + "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/2.0.0" + }, + "time": "2021-07-14T16:41:46+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "shasum": "", "mirrors": [ { @@ -629,18 +2718,18 @@ ] }, "require": { - "guzzlehttp/guzzle": "~6.3", - "guzzlehttp/guzzle-services": "~1.1", "php": ">=5.3.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { "psr-4": { - "Qcloud\\Cos\\": "src/Qcloud/Cos/" - }, - "files": [ - "src/Qcloud/Cos/Common.php" - ] + "Psr\\SimpleCache\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -648,38 +2737,35 @@ ], "authors": [ { - "name": "yaozongyou", - "email": "yaozongyou@vip.qq.com" - }, - { - "name": "lewzylu", - "email": "327874225@qq.com" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "PHP SDK for QCloud COS", + "description": "Common interfaces for simple caching", "keywords": [ - "cos", - "php", - "qcloud" + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" ], "support": { - "issues": "https://github.com/tencentyun/cos-php-sdk-v5/issues", - "source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.2.0" + "source": "https://github.com/php-fig/simple-cache/tree/master" }, - "time": "2021-05-18T12:47:31+00:00" + "time": "2017-10-23T01:57:42+00:00" }, { - "name": "qiniu/php-sdk", - "version": "v7.4.0", + "name": "psy/psysh", + "version": "v0.10.12", "source": { "type": "git", - "url": "https://github.com/qiniu/php-sdk.git", - "reference": "1c6bc89166e524a40ee42bf516fb99ffc6401c82" + "url": "https://github.com/bobthecow/psysh.git", + "reference": "a0d9981aa07ecfcbea28e4bfa868031cca121e7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/qiniu/php-sdk/zipball/1c6bc89166e524a40ee42bf516fb99ffc6401c82", - "reference": "1c6bc89166e524a40ee42bf516fb99ffc6401c82", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/a0d9981aa07ecfcbea28e4bfa868031cca121e7d", + "reference": "a0d9981aa07ecfcbea28e4bfa868031cca121e7d", "shasum": "", "mirrors": [ { @@ -689,20 +2775,40 @@ ] }, "require": { - "php": ">=5.3.3" + "ext-json": "*", + "ext-tokenizer": "*", + "nikic/php-parser": "~4.0|~3.0|~2.0|~1.3", + "php": "^8.0 || ^7.0 || ^5.5.9", + "symfony/console": "~5.0|~4.0|~3.0|^2.4.2|~2.3.10", + "symfony/var-dumper": "~5.0|~4.0|~3.0|~2.7" }, "require-dev": { - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~3.6" + "bamarni/composer-bin-plugin": "^1.2", + "hoa/console": "3.17.*" }, + "suggest": { + "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", + "ext-pdo-sqlite": "The doc command requires SQLite to work.", + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", + "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.", + "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit." + }, + "bin": [ + "bin/psysh" + ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.10.x-dev" + } + }, "autoload": { - "psr-4": { - "Qiniu\\": "src/Qiniu" - }, "files": [ - "src/Qiniu/functions.php" - ] + "src/functions.php" + ], + "psr-4": { + "Psy\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -710,24 +2816,24 @@ ], "authors": [ { - "name": "Qiniu", - "email": "sdk@qiniu.com", - "homepage": "http://www.qiniu.com" + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" } ], - "description": "Qiniu Resource (Cloud) Storage SDK for PHP", - "homepage": "http://developer.qiniu.com/", + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", "keywords": [ - "cloud", - "qiniu", - "sdk", - "storage" + "REPL", + "console", + "interactive", + "shell" ], "support": { - "issues": "https://github.com/qiniu/php-sdk/issues", - "source": "https://github.com/qiniu/php-sdk/tree/v7.4.0" + "issues": "https://github.com/bobthecow/psysh/issues", + "source": "https://github.com/bobthecow/psysh/tree/v0.10.12" }, - "time": "2021-07-19T07:41:36+00:00" + "time": "2021-11-30T14:05:36+00:00" }, { "name": "ralouphie/getallheaders", @@ -779,6 +2885,1390 @@ }, "time": "2019-03-08T08:55:37+00:00" }, + { + "name": "ramsey/collection", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/ramsey/collection.git", + "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.3 || ^8", + "symfony/polyfill-php81": "^1.23" + }, + "require-dev": { + "captainhook/captainhook": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "ergebnis/composer-normalize": "^2.6", + "fakerphp/faker": "^1.5", + "hamcrest/hamcrest-php": "^2", + "jangregor/phpstan-prophecy": "^0.8", + "mockery/mockery": "^1.3", + "phpspec/prophecy-phpunit": "^2.0", + "phpstan/extension-installer": "^1", + "phpstan/phpstan": "^0.12.32", + "phpstan/phpstan-mockery": "^0.12.5", + "phpstan/phpstan-phpunit": "^0.12.11", + "phpunit/phpunit": "^8.5 || ^9", + "psy/psysh": "^0.10.4", + "slevomat/coding-standard": "^6.3", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ramsey\\Collection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "A PHP library for representing and manipulating collections.", + "keywords": [ + "array", + "collection", + "hash", + "map", + "queue", + "set" + ], + "support": { + "issues": "https://github.com/ramsey/collection/issues", + "source": "https://github.com/ramsey/collection/tree/1.2.2" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/collection", + "type": "tidelift" + } + ], + "time": "2021-10-10T03:01:02+00:00" + }, + { + "name": "ramsey/uuid", + "version": "4.2.3", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "brick/math": "^0.8 || ^0.9", + "ext-json": "*", + "php": "^7.2 || ^8.0", + "ramsey/collection": "^1.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php80": "^1.14" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "captainhook/captainhook": "^5.10", + "captainhook/plugin-composer": "^5.3", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "doctrine/annotations": "^1.8", + "ergebnis/composer-normalize": "^2.15", + "mockery/mockery": "^1.3", + "moontoast/math": "^1.1", + "paragonie/random-lib": "^2", + "php-mock/php-mock": "^2.2", + "php-mock/php-mock-mockery": "^1.3", + "php-parallel-lint/php-parallel-lint": "^1.1", + "phpbench/phpbench": "^1.0", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-mockery": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^8.5 || ^9", + "slevomat/coding-standard": "^7.0", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", + "ext-ctype": "Enables faster processing of character classification using ctype functions.", + "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", + "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", + "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.x-dev" + }, + "captainhook": { + "force-install": true + } + }, + "autoload": { + "psr-4": { + "Ramsey\\Uuid\\": "src/" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", + "keywords": [ + "guid", + "identifier", + "uuid" + ], + "support": { + "issues": "https://github.com/ramsey/uuid/issues", + "source": "https://github.com/ramsey/uuid/tree/4.2.3" + }, + "funding": [ + { + "url": "https://github.com/ramsey", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", + "type": "tidelift" + } + ], + "time": "2021-09-25T23:10:38+00:00" + }, + { + "name": "swiftmailer/swiftmailer", + "version": "v6.3.0", + "source": { + "type": "git", + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c", + "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "egulias/email-validator": "^2.0|^3.1", + "php": ">=7.0.0", + "symfony/polyfill-iconv": "^1.0", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "symfony/phpunit-bridge": "^4.4|^5.4" + }, + "suggest": { + "ext-intl": "Needed to support internationalized email addresses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.2-dev" + } + }, + "autoload": { + "files": [ + "lib/swift_required.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Corbyn" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Swiftmailer, free feature-rich PHP mailer", + "homepage": "https://swiftmailer.symfony.com", + "keywords": [ + "email", + "mail", + "mailer" + ], + "support": { + "issues": "https://github.com/swiftmailer/swiftmailer/issues", + "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0" + }, + "funding": [ + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer", + "type": "tidelift" + } + ], + "abandoned": "symfony/mailer", + "time": "2021-10-18T15:26:12+00:00" + }, + { + "name": "symfony/console", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4", + "reference": "9130e1a0fc93cb0faadca4ee917171bd2ca9e5f4", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" + }, + "conflict": { + "psr/log": ">=3", + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.4.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": "2021-12-09T11:22:43+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v6.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "ede53cafe1784b9131a48774b54f281d5d003f65" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/ede53cafe1784b9131a48774b54f281d5d003f65", + "reference": "ede53cafe1784b9131a48774b54f281d5d003f65", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v6.0.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": "2021-12-08T15:13:44+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-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/v3.0.0" + }, + "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": "2021-11-01T23:48:49+00:00" + }, + { + "name": "symfony/error-handler", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "1e3cb3565af49cd5f93e5787500134500a29f0d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/1e3cb3565af49cd5f93e5787500134500a29f0d9", + "reference": "1e3cb3565af49cd5f93e5787500134500a29f0d9", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4.4|^5.0|^6.0" + }, + "require-dev": { + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/http-kernel": "^4.4|^5.0|^6.0", + "symfony/serializer": "^4.4|^5.0|^6.0" + }, + "bin": [ + "Resources/bin/patch-type-declarations" + ], + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to manage errors and ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/error-handler/tree/v5.4.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": "2021-12-01T15:04:08+00:00" + }, + { + "name": "symfony/event-dispatcher", + "version": "v6.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "4f06d19a5f78087061f9de6df3269c139c3d289d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4f06d19a5f78087061f9de6df3269c139c3d289d", + "reference": "4f06d19a5f78087061f9de6df3269c139c3d289d", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2", + "symfony/event-dispatcher-contracts": "^2|^3" + }, + "conflict": { + "symfony/dependency-injection": "<5.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "2.0|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/error-handler": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/stopwatch": "^5.4|^6.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.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": "2021-12-08T15:13:44+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "aa5422287b75594b90ee9cd807caf8f0df491385" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/aa5422287b75594b90ee9cd807caf8f0df491385", + "reference": "aa5422287b75594b90ee9cd807caf8f0df491385", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2", + "psr/event-dispatcher": "^1" + }, + "suggest": { + "symfony/event-dispatcher-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "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": "Generic abstractions related to dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.0" + }, + "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": "2021-07-15T12:33:35+00:00" + }, + { + "name": "symfony/finder", + "version": "v5.4.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "d2f29dac98e96a98be467627bd49c2efb1bc2590" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/d2f29dac98e96a98be467627bd49c2efb1bc2590", + "reference": "d2f29dac98e96a98be467627bd49c2efb1bc2590", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Finds files and directories via an intuitive fluent interface", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/finder/tree/v5.4.0" + }, + "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": "2021-11-28T15:25:38+00:00" + }, + { + "name": "symfony/http-foundation", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "5dad3780023a707f4c24beac7d57aead85c1ce3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5dad3780023a707f4c24beac7d57aead85c1ce3c", + "reference": "5dad3780023a707f4c24beac7d57aead85c1ce3c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php80": "^1.16" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/cache": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/mime": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/mime": "To use the file extension guesser" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Defines an object-oriented layer for the HTTP specification", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-foundation/tree/v5.4.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": "2021-12-09T12:46:57+00:00" + }, + { + "name": "symfony/http-kernel", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "2bdace75c9d6a6eec7e318801b7dc87a72375052" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/2bdace75c9d6a6eec7e318801b7dc87a72375052", + "reference": "2bdace75c9d6a6eec7e318801b7dc87a72375052", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "psr/log": "^1|^2", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^5.0|^6.0", + "symfony/http-foundation": "^5.3.7|^6.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "symfony/browser-kit": "<5.4", + "symfony/cache": "<5.0", + "symfony/config": "<5.0", + "symfony/console": "<4.4", + "symfony/dependency-injection": "<5.3", + "symfony/doctrine-bridge": "<5.0", + "symfony/form": "<5.0", + "symfony/http-client": "<5.0", + "symfony/mailer": "<5.0", + "symfony/messenger": "<5.0", + "symfony/translation": "<5.0", + "symfony/twig-bridge": "<5.0", + "symfony/validator": "<5.0", + "twig/twig": "<2.13" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "psr/cache": "^1.0|^2.0|^3.0", + "symfony/browser-kit": "^5.4|^6.0", + "symfony/config": "^5.0|^6.0", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/css-selector": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^5.3|^6.0", + "symfony/dom-crawler": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/finder": "^4.4|^5.0|^6.0", + "symfony/http-client-contracts": "^1.1|^2|^3", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/routing": "^4.4|^5.0|^6.0", + "symfony/stopwatch": "^4.4|^5.0|^6.0", + "symfony/translation": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2|^3", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "symfony/browser-kit": "", + "symfony/config": "", + "symfony/console": "", + "symfony/dependency-injection": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a structured process for converting a Request into a Response", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/http-kernel/tree/v5.4.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": "2021-12-09T13:36:09+00:00" + }, + { + "name": "symfony/mime", + "version": "v5.4.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "d4365000217b67c01acff407573906ff91bcfb34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/d4365000217b67c01acff407573906ff91bcfb34", + "reference": "d4365000217b67c01acff407573906ff91bcfb34", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "egulias/email-validator": "~3.0.0", + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/mailer": "<4.4" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10|^3.1", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/property-access": "^4.4|^5.1|^6.0", + "symfony/property-info": "^4.4|^5.1|^6.0", + "symfony/serializer": "^5.2|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Allows manipulating MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "support": { + "source": "https://github.com/symfony/mime/tree/v5.4.0" + }, + "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": "2021-11-23T10:19:22+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.23.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" + }, + "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": "2021-02-19T12:13:01+00:00" + }, + { + "name": "symfony/polyfill-iconv", + "version": "v1.23.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-iconv.git", + "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/63b5bb7db83e5673936d6e3b8b3e022ff6474933", + "reference": "63b5bb7db83e5673936d6e3b8b3e022ff6474933", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-iconv": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Iconv\\": "" + }, + "files": [ + "bootstrap.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": "Symfony polyfill for the Iconv extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "iconv", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.23.0" + }, + "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": "2021-05-27T09:27:20+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.23.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "16880ba9c5ebe3642d1995ab866db29270b36535" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/16880ba9c5ebe3642d1995ab866db29270b36535", + "reference": "16880ba9c5ebe3642d1995ab866db29270b36535", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + }, + "files": [ + "bootstrap.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": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.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": "2021-05-27T12:26:48+00:00" + }, { "name": "symfony/polyfill-intl-idn", "version": "v1.23.0", @@ -962,6 +4452,92 @@ ], "time": "2021-02-19T12:13:01+00:00" }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.23.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6", + "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.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": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.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": "2021-05-27T12:26:48+00:00" + }, { "name": "symfony/polyfill-php72", "version": "v1.23.0", @@ -1045,17 +4621,17 @@ "time": "2021-05-27T09:17:38+00:00" }, { - "name": "topthink/framework", - "version": "v5.1.41", + "name": "symfony/polyfill-php73", + "version": "v1.23.0", "source": { "type": "git", - "url": "https://github.com/top-think/framework.git", - "reference": "7137741a323a4a60cfca334507cd1812fac91bb2" + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/framework/zipball/7137741a323a4a60cfca334507cd1812fac91bb2", - "reference": "7137741a323a4a60cfca334507cd1812fac91bb2", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", "shasum": "", "mirrors": [ { @@ -1065,107 +4641,82 @@ ] }, "require": { - "php": ">=5.6.0", - "topthink/think-installer": "2.*" - }, - "require-dev": { - "johnkary/phpunit-speedtrap": "^1.0", - "mikey179/vfsstream": "~1.6", - "phpdocumentor/reflection-docblock": "^2.0", - "phploc/phploc": "2.*", - "phpunit/phpunit": "^5.0|^6.0", - "sebastian/phpcpd": "2.*", - "squizlabs/php_codesniffer": "2.*" - }, - "type": "think-framework", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "liu21st", - "email": "liu21st@gmail.com" - }, - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "description": "the new thinkphp framework", - "homepage": "http://thinkphp.cn/", - "keywords": [ - "framework", - "orm", - "thinkphp" - ], - "support": { - "issues": "https://github.com/top-think/framework/issues", - "source": "https://github.com/top-think/framework/tree/v5.1.41" - }, - "time": "2021-01-11T02:51:29+00:00" - }, - { - "name": "topthink/think-captcha", - "version": "v2.0.2", - "source": { - "type": "git", - "url": "https://github.com/top-think/think-captcha.git", - "reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/top-think/think-captcha/zipball/54c8a51552f99ff9ea89ea9c272383a8f738ceee", - "reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "topthink/framework": "5.1.*" + "php": ">=7.1" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { "psr-4": { - "think\\captcha\\": "src/" + "Symfony\\Polyfill\\Php73\\": "" }, "files": [ - "src/helper.php" + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { - "name": "yunwuxin", - "email": "448901948@qq.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "captcha package for thinkphp5", + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], "support": { - "issues": "https://github.com/top-think/think-captcha/issues", - "source": "https://github.com/top-think/think-captcha/tree/2.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" }, - "time": "2017-12-31T16:37:49+00:00" + "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": "2021-02-19T12:13:01+00:00" }, { - "name": "topthink/think-image", - "version": "v1.0.7", + "name": "symfony/polyfill-php80", + "version": "v1.23.1", "source": { "type": "git", - "url": "https://github.com/top-think/think-image.git", - "reference": "8586cf47f117481c6d415b20f7dedf62e79d5512" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-image/zipball/8586cf47f117481c6d415b20f7dedf62e79d5512", - "reference": "8586cf47f117481c6d415b20f7dedf62e79d5512", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/1100343ed1a92e3a38f9ae122fc0eb21602547be", + "reference": "1100343ed1a92e3a38f9ae122fc0eb21602547be", "shasum": "", "mirrors": [ { @@ -1175,47 +4726,239 @@ ] }, "require": { - "ext-gd": "*" + "php": ">=7.1" }, - "require-dev": { - "phpunit/phpunit": "4.8.*", - "topthink/framework": "^5.0" + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.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": "2021-07-28T13:41:28+00:00" + }, + { + "name": "symfony/polyfill-php81", + "version": "v1.23.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "e66119f3de95efc359483f810c4c3e6436279436" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/e66119f3de95efc359483f810c4c3e6436279436", + "reference": "e66119f3de95efc359483f810c4c3e6436279436", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php81\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "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": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php81/tree/v1.23.0" + }, + "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": "2021-05-21T13:25:03+00:00" + }, + { + "name": "symfony/process", + "version": "v5.4.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "5be20b3830f726e019162b26223110c8f47cf274" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/5be20b3830f726e019162b26223110c8f47cf274", + "reference": "5be20b3830f726e019162b26223110c8f47cf274", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { "psr-4": { - "think\\": "src" - } + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { - "name": "yunwuxin", - "email": "448901948@qq.com" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "The ThinkPHP5 Image Package", + "description": "Executes commands in sub-processes", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/top-think/think-image/issues", - "source": "https://github.com/top-think/think-image/tree/master" + "source": "https://github.com/symfony/process/tree/v5.4.0" }, - "time": "2016-09-29T06:05:43+00:00" + "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": "2021-11-28T15:25:38+00:00" }, { - "name": "topthink/think-installer", - "version": "v2.0.5", + "name": "symfony/routing", + "version": "v5.4.0", "source": { "type": "git", - "url": "https://github.com/top-think/think-installer.git", - "reference": "38ba647706e35d6704b5d370c06f8a160b635f88" + "url": "https://github.com/symfony/routing.git", + "reference": "9eeae93c32ca86746e5d38f3679e9569981038b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/top-think/think-installer/zipball/38ba647706e35d6704b5d370c06f8a160b635f88", - "reference": "38ba647706e35d6704b5d370c06f8a160b635f88", + "url": "https://api.github.com/repos/symfony/routing/zipball/9eeae93c32ca86746e5d38f3679e9569981038b1", + "reference": "9eeae93c32ca86746e5d38f3679e9569981038b1", "shasum": "", "mirrors": [ { @@ -1225,48 +4968,987 @@ ] }, "require": { - "composer-plugin-api": "^1.0||^2.0" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "doctrine/annotations": "<1.12", + "symfony/config": "<5.3", + "symfony/dependency-injection": "<4.4", + "symfony/yaml": "<4.4" }, "require-dev": { - "composer/composer": "^1.0||^2.0" + "doctrine/annotations": "^1.12", + "psr/log": "^1|^2|^3", + "symfony/config": "^5.3|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/expression-language": "^4.4|^5.0|^6.0", + "symfony/http-foundation": "^4.4|^5.0|^6.0", + "symfony/yaml": "^4.4|^5.0|^6.0" }, - "type": "composer-plugin", + "suggest": { + "symfony/config": "For using the all-in-one router or any loader", + "symfony/expression-language": "For using expression matching", + "symfony/http-foundation": "For using a Symfony Request object", + "symfony/yaml": "For using the YAML loader" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Maps an HTTP request to a set of configuration variables", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ], + "support": { + "source": "https://github.com/symfony/routing/tree/v5.4.0" + }, + "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": "2021-11-23T10:19:22+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "d664541b99d6fb0247ec5ff32e87238582236204" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d664541b99d6fb0247ec5ff32e87238582236204", + "reference": "d664541b99d6fb0247ec5ff32e87238582236204", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", "extra": { - "class": "think\\composer\\Plugin" + "branch-alias": { + "dev-main": "2.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } }, "autoload": { "psr-4": { - "think\\composer\\": "src" + "Symfony\\Contracts\\Service\\": "" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { - "name": "yunwuxin", - "email": "448901948@qq.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], "support": { - "issues": "https://github.com/top-think/think-installer/issues", - "source": "https://github.com/top-think/think-installer/tree/v2.0.5" + "source": "https://github.com/symfony/service-contracts/tree/v2.4.1" }, - "time": "2021-01-14T12:12:14+00:00" + "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": "2021-11-04T16:37:19+00:00" }, { - "name": "upyun/sdk", - "version": "3.5.0", + "name": "symfony/string", + "version": "v6.0.1", "source": { "type": "git", - "url": "https://github.com/upyun/php-sdk.git", - "reference": "c9f824626552c32b987de4ac7f136e0e21cca962" + "url": "https://github.com/symfony/string.git", + "reference": "0cfed595758ec6e0a25591bdc8ca733c1896af32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/upyun/php-sdk/zipball/c9f824626552c32b987de4ac7f136e0e21cca962", - "reference": "c9f824626552c32b987de4ac7f136e0e21cca962", + "url": "https://api.github.com/repos/symfony/string/zipball/0cfed595758ec6e0a25591bdc8ca733c1896af32", + "reference": "0cfed595758ec6e0a25591bdc8ca733c1896af32", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/translation-contracts": "<2.0" + }, + "require-dev": { + "symfony/error-handler": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/translation-contracts": "^2.0|^3.0", + "symfony/var-exporter": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "files": [ + "Resources/functions.php" + ], + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "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": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v6.0.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": "2021-12-08T15:13:44+00:00" + }, + { + "name": "symfony/translation", + "version": "v6.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "b7956e00c6e03546f2ba489fc50f7c47933e76b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/b7956e00c6e03546f2ba489fc50f7c47933e76b8", + "reference": "b7956e00c6e03546f2ba489fc50f7c47933e76b8", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^2.3|^3.0" + }, + "conflict": { + "symfony/config": "<5.4", + "symfony/console": "<5.4", + "symfony/dependency-injection": "<5.4", + "symfony/http-kernel": "<5.4", + "symfony/twig-bundle": "<5.4", + "symfony/yaml": "<5.4" + }, + "provide": { + "symfony/translation-implementation": "2.3|3.0" + }, + "require-dev": { + "psr/log": "^1|^2|^3", + "symfony/config": "^5.4|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/http-client-contracts": "^1.1|^2.0|^3.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/intl": "^5.4|^6.0", + "symfony/polyfill-intl-icu": "^1.21", + "symfony/service-contracts": "^1.1.2|^2|^3", + "symfony/yaml": "^5.4|^6.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to internationalize your application", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/translation/tree/v6.0.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": "2021-12-08T15:13:44+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "1b6ea5a7442af5a12dba3dbd6d71034b5b234e77" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/1b6ea5a7442af5a12dba3dbd6d71034b5b234e77", + "reference": "1b6ea5a7442af5a12dba3dbd6d71034b5b234e77", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=8.0.2" + }, + "suggest": { + "symfony/translation-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + } + }, + "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": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/translation-contracts/tree/v3.0.0" + }, + "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": "2021-09-07T12:43:40+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v5.4.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "2366ac8d8abe0c077844613c1a4f0c0a9f522dcc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2366ac8d8abe0c077844613c1a4f0c0a9f522dcc", + "reference": "2366ac8d8abe0c077844613c1a4f0c0a9f522dcc", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "phpunit/phpunit": "<5.4.3", + "symfony/console": "<4.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/uid": "^5.1|^6.0", + "twig/twig": "^2.13|^3.0.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "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": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v5.4.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": "2021-12-01T15:04:08+00:00" + }, + { + "name": "tijsverkoyen/css-to-inline-styles", + "version": "2.2.4", + "source": { + "type": "git", + "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", + "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "php": "^5.5 || ^7.0 || ^8.0", + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "TijsVerkoyen\\CssToInlineStyles\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Tijs Verkoyen", + "email": "css_to_inline_styles@verkoyen.eu", + "role": "Developer" + } + ], + "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", + "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", + "support": { + "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" + }, + "time": "2021-12-08T09:12:39+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v5.4.0", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/d4394d044ed69a8f244f3445bcedf8a0d7fe2403", + "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-pcre": "*", + "graham-campbell/result-type": "^1.0.2", + "php": "^7.1.3 || ^8.0", + "phpoption/phpoption": "^1.8", + "symfony/polyfill-ctype": "^1.23", + "symfony/polyfill-mbstring": "^1.23.1", + "symfony/polyfill-php80": "^1.23.1" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.4-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "support": { + "issues": "https://github.com/vlucas/phpdotenv/issues", + "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2021-11-10T01:08:39+00:00" + }, + { + "name": "voku/portable-ascii", + "version": "1.5.6", + "source": { + "type": "git", + "url": "https://github.com/voku/portable-ascii.git", + "reference": "80953678b19901e5165c56752d087fc11526017c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/voku/portable-ascii/zipball/80953678b19901e5165c56752d087fc11526017c", + "reference": "80953678b19901e5165c56752d087fc11526017c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0" + }, + "suggest": { + "ext-intl": "Use Intl for transliterator_transliterate() support" + }, + "type": "library", + "autoload": { + "psr-4": { + "voku\\": "src/voku/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Lars Moelleken", + "homepage": "http://www.moelleken.org/" + } + ], + "description": "Portable ASCII library - performance optimized (ascii) string functions for php.", + "homepage": "https://github.com/voku/portable-ascii", + "keywords": [ + "ascii", + "clean", + "php" + ], + "support": { + "issues": "https://github.com/voku/portable-ascii/issues", + "source": "https://github.com/voku/portable-ascii/tree/1.5.6" + }, + "funding": [ + { + "url": "https://www.paypal.me/moelleken", + "type": "custom" + }, + { + "url": "https://github.com/voku", + "type": "github" + }, + { + "url": "https://opencollective.com/portable-ascii", + "type": "open_collective" + }, + { + "url": "https://www.patreon.com/voku", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", + "type": "tidelift" + } + ], + "time": "2020-11-12T00:07:28+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.10.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "support": { + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.10.0" + }, + "time": "2021-03-09T10:59:23+00:00" + } + ], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", + "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.0", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2020-11-10T18:47:58+00:00" + }, + { + "name": "facade/flare-client-php", + "version": "1.9.1", + "source": { + "type": "git", + "url": "https://github.com/facade/flare-client-php.git", + "reference": "b2adf1512755637d0cef4f7d1b54301325ac78ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/facade/flare-client-php/zipball/b2adf1512755637d0cef4f7d1b54301325ac78ed", + "reference": "b2adf1512755637d0cef4f7d1b54301325ac78ed", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "facade/ignition-contracts": "~1.0", + "illuminate/pipeline": "^5.5|^6.0|^7.0|^8.0", + "php": "^7.1|^8.0", + "symfony/http-foundation": "^3.3|^4.1|^5.0", + "symfony/mime": "^3.4|^4.0|^5.1", + "symfony/var-dumper": "^3.4|^4.0|^5.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.14", + "phpunit/phpunit": "^7.5.16", + "spatie/phpunit-snapshot-assertions": "^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Facade\\FlareClient\\": "src" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/facade/flare-client-php", + "keywords": [ + "exception", + "facade", + "flare", + "reporting" + ], + "support": { + "issues": "https://github.com/facade/flare-client-php/issues", + "source": "https://github.com/facade/flare-client-php/tree/1.9.1" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2021-09-13T12:16:46+00:00" + }, + { + "name": "facade/ignition", + "version": "2.17.2", + "source": { + "type": "git", + "url": "https://github.com/facade/ignition.git", + "reference": "af3cd70d58ca3ef5189ff0e59efbe5a5c043e2d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/facade/ignition/zipball/af3cd70d58ca3ef5189ff0e59efbe5a5c043e2d2", + "reference": "af3cd70d58ca3ef5189ff0e59efbe5a5c043e2d2", "shasum": "", "mirrors": [ { @@ -1277,18 +5959,100 @@ }, "require": { "ext-curl": "*", - "guzzlehttp/guzzle": "~6.0", - "php": ">=5.5.0" + "ext-json": "*", + "ext-mbstring": "*", + "facade/flare-client-php": "^1.9.1", + "facade/ignition-contracts": "^1.0.2", + "illuminate/support": "^7.0|^8.0", + "monolog/monolog": "^2.0", + "php": "^7.2.5|^8.0", + "symfony/console": "^5.0", + "symfony/var-dumper": "^5.0" }, "require-dev": { - "consolidation/robo": "^1.0", - "phpdocumentor/phpdocumentor": "^2.9", - "phpunit/phpunit": "~4.0" + "friendsofphp/php-cs-fixer": "^2.14", + "livewire/livewire": "^2.4", + "mockery/mockery": "^1.3", + "orchestra/testbench": "^5.0|^6.0", + "psalm/plugin-laravel": "^1.2" + }, + "suggest": { + "laravel/telescope": "^3.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + }, + "laravel": { + "providers": [ + "Facade\\Ignition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Facade\\Ignition\\Facades\\Flare" + } + } + }, + "autoload": { + "psr-4": { + "Facade\\Ignition\\": "src" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://github.com/facade/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/facade/ignition/issues", + "source": "https://github.com/facade/ignition" + }, + "time": "2021-11-29T14:04:22+00:00" + }, + { + "name": "facade/ignition-contracts", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/facade/ignition-contracts.git", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^v2.15.8", + "phpunit/phpunit": "^9.3.11", + "vimeo/psalm": "^3.17.1" }, "type": "library", "autoload": { "psr-4": { - "Upyun\\": "src/Upyun/" + "Facade\\IgnitionContracts\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1297,43 +6061,2486 @@ ], "authors": [ { - "name": "lfeng", - "email": "bonevv@gmail.com" - }, - { - "name": "lvtongda", - "email": "riyao.lyu@gmail.com" - }, - { - "name": "totoleo", - "email": "totoleo@163.com" - }, - { - "name": "sabakugaara", - "email": "senellise@gmail.com" + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://flareapp.io", + "role": "Developer" } ], - "description": "UPYUN sdk for php", - "homepage": "https://github.com/upyun/php-sdk/", + "description": "Solution contracts for Ignition", + "homepage": "https://github.com/facade/ignition-contracts", "keywords": [ - "sdk", - "upyun" + "contracts", + "flare", + "ignition" ], "support": { - "issues": "https://github.com/upyun/php-sdk/issues", - "source": "https://github.com/upyun/php-sdk/tree/master" + "issues": "https://github.com/facade/ignition-contracts/issues", + "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" }, - "time": "2020-04-22T06:08:39+00:00" + "time": "2020-10-16T08:27:54+00:00" + }, + { + "name": "fakerphp/faker", + "version": "v1.17.0", + "source": { + "type": "git", + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "b85e9d44eae8c52cca7aa0939483611f7232b669" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/b85e9d44eae8c52cca7aa0939483611f7232b669", + "reference": "b85e9d44eae8c52cca7aa0939483611f7232b669", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-intl": "*", + "symfony/phpunit-bridge": "^4.4 || ^5.2" + }, + "suggest": { + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "v1.17-dev" + } + }, + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ], + "support": { + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.17.0" + }, + "time": "2021-12-05T17:14:47+00:00" + }, + { + "name": "filp/whoops", + "version": "2.14.4", + "source": { + "type": "git", + "url": "https://github.com/filp/whoops.git", + "reference": "f056f1fe935d9ed86e698905a957334029899895" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filp/whoops/zipball/f056f1fe935d9ed86e698905a957334029899895", + "reference": "f056f1fe935d9ed86e698905a957334029899895", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^5.5.9 || ^7.0 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" + }, + "require-dev": { + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.7-dev" + } + }, + "autoload": { + "psr-4": { + "Whoops\\": "src/Whoops/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" + } + ], + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ], + "support": { + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.14.4" + }, + "funding": [ + { + "url": "https://github.com/denis-sokolov", + "type": "github" + } + ], + "time": "2021-10-03T12:00:00+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, + { + "name": "laravel/sail", + "version": "v1.12.10", + "source": { + "type": "git", + "url": "https://github.com/laravel/sail.git", + "reference": "9d5000703c7f811588a780b9aab91cca5c336319" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sail/zipball/9d5000703c7f811588a780b9aab91cca5c336319", + "reference": "9d5000703c7f811588a780b9aab91cca5c336319", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/console": "^8.0|^9.0", + "illuminate/contracts": "^8.0|^9.0", + "illuminate/support": "^8.0|^9.0", + "php": "^7.3|^8.0" + }, + "bin": [ + "bin/sail" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Sail\\SailServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sail\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Docker files for running a basic Laravel application.", + "keywords": [ + "docker", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/sail/issues", + "source": "https://github.com/laravel/sail" + }, + "time": "2021-12-07T16:25:11+00:00" + }, + { + "name": "mockery/mockery", + "version": "1.4.4", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/e01123a0e847d52d186c5eb4b9bf58b0c6d00346", + "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": "^7.3 || ^8.0" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.4.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "issues": "https://github.com/mockery/mockery/issues", + "source": "https://github.com/mockery/mockery/tree/1.4.4" + }, + "time": "2021-09-13T15:28:59+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.10.2", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", + "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "replace": { + "myclabs/deep-copy": "self.version" + }, + "require-dev": { + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^7.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2020-11-13T09:40:50+00:00" + }, + { + "name": "nunomaduro/collision", + "version": "v5.10.0", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/collision.git", + "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/3004cfa49c022183395eabc6d0e5207dfe498d00", + "reference": "3004cfa49c022183395eabc6d0e5207dfe498d00", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "facade/ignition-contracts": "^1.0", + "filp/whoops": "^2.14.3", + "php": "^7.3 || ^8.0", + "symfony/console": "^5.0" + }, + "require-dev": { + "brianium/paratest": "^6.1", + "fideloper/proxy": "^4.4.1", + "fruitcake/laravel-cors": "^2.0.3", + "laravel/framework": "8.x-dev", + "nunomaduro/larastan": "^0.6.2", + "nunomaduro/mock-final-classes": "^1.0", + "orchestra/testbench": "^6.0", + "phpstan/phpstan": "^0.12.64", + "phpunit/phpunit": "^9.5.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], + "support": { + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" + }, + "funding": [ + { + "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" + } + ], + "time": "2021-09-20T15:06:32+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "bae7c545bef187884426f042434e561ab1ddb182" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", + "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.1.0" + }, + "time": "2021-02-23T14:00:09+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, + "time": "2020-06-27T09:03:43+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + }, + "time": "2021-10-19T17:43:47+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.5.1", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae", + "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" + }, + "require-dev": { + "ext-tokenizer": "*", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "support": { + "issues": "https://github.com/phpDocumentor/TypeResolver/issues", + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1" + }, + "time": "2021-10-02T14:08:47+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "v1.15.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "doctrine/instantiator": "^1.2", + "php": "^7.2 || ~8.0, <8.2", + "phpdocumentor/reflection-docblock": "^5.2", + "sebastian/comparator": "^3.0 || ^4.0", + "sebastian/recursion-context": "^3.0 || ^4.0" + }, + "require-dev": { + "phpspec/phpspec": "^6.0 || ^7.0", + "phpunit/phpunit": "^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Prophecy\\": "src/Prophecy" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "support": { + "issues": "https://github.com/phpspec/prophecy/issues", + "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" + }, + "time": "2021-12-08T12:19:24+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.10", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/d5850aaf931743067f4bfc1ae4cbd06468400687", + "reference": "d5850aaf931743067f4bfc1ae4cbd06468400687", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.13.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "*", + "ext-xdebug": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.10" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-05T09:12:13+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.5.10", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c814a05837f2edb0d1471d6e3f4ab3501ca3899a", + "reference": "c814a05837f2edb0d1471d6e3f4ab3501ca3899a", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "doctrine/instantiator": "^1.3.1", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpspec/prophecy": "^1.12.1", + "phpunit/php-code-coverage": "^9.2.7", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.5", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.3", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^2.3.4", + "sebastian/version": "^3.0.2" + }, + "require-dev": { + "ext-pdo": "*", + "phpspec/prophecy-phpunit": "^2.0.1" + }, + "suggest": { + "ext-soap": "*", + "ext-xdebug": "*" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.5-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ], + "files": [ + "src/Framework/Assert/Functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.10" + }, + "funding": [ + { + "url": "https://phpunit.de/donate.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-09-25T07:38:51+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", + "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:49:45+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:10:38+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "388b6ced16caa751030f6a69e588299fa09200ac" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", + "reference": "388b6ced16caa751030f6a69e588299fa09200ac", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:52:38+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-11-11T14:18:36+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-06-11T13:31:12+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:12:34+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", + "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:17:30+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "2.3.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-06-15T12:49:02+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2021-07-28T10:34:58+00:00" } ], - "packages-dev": [], "aliases": [], - "minimum-stability": "stable", + "minimum-stability": "dev", "stability-flags": [], - "prefer-stable": false, + "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=5.6.0" + "php": "^7.3|^8.0" }, "platform-dev": [], "plugin-api-version": "2.0.0" diff --git a/config/app.php b/config/app.php index 8ddad88b..a8d1a82e 100644 --- a/config/app.php +++ b/config/app.php @@ -1,146 +1,235 @@ -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | 应用设置 -// +---------------------------------------------------------------------- return [ - // 应用名称 - 'app_name' => Env::get('app.name', 'Lsky Pro'), - // 应用地址 - 'app_host' => '', - // 应用调试模式 - 'app_debug' => Env::get('app.debug', false), - // 应用Trace - 'app_trace' => Env::get('app.trace', false), - // 是否支持多模块 - 'app_multi_module' => true, - // 入口自动绑定模块 - 'auto_bind_module' => false, - // 注册的根命名空间 - 'root_namespace' => ['app'], - // 默认输出类型 - 'default_return_type' => 'html', - // 默认AJAX 数据返回格式,可选json xml ... - 'default_ajax_return' => 'json', - // 默认JSONP格式返回的处理方法 - 'default_jsonp_handler' => 'jsonpReturn', - // 默认JSONP处理方法 - 'var_jsonp_handler' => 'callback', - // 默认时区 - 'default_timezone' => 'Asia/Shanghai', - // 是否开启多语言 - 'lang_switch_on' => true, - // 默认全局过滤方法 用逗号分隔多个 - 'default_filter' => '', - // 默认语言 - 'default_lang' => 'zh-cn', - // 应用类库后缀 - 'class_suffix' => false, - // 控制器类后缀 - 'controller_suffix' => false, - // +---------------------------------------------------------------------- - // | 模块设置 - // +---------------------------------------------------------------------- + /* + |-------------------------------------------------------------------------- + | Application Name + |-------------------------------------------------------------------------- + | + | This value is the name of your application. This value is used when the + | framework needs to place the application's name in a notification or + | any other location as required by the application or its packages. + | + */ - // 默认模块名 - 'default_module' => 'index', - // 禁止访问模块 - 'deny_module_list' => ['common'], - // 默认控制器名 - 'default_controller' => 'Index', - // 默认操作名 - 'default_action' => 'index', - // 默认验证器 - 'default_validate' => '', - // 默认的空模块名 - 'empty_module' => '', - // 默认的空控制器名 - 'empty_controller' => 'Error', - // 操作方法前缀 - 'use_action_prefix' => false, - // 操作方法后缀 - 'action_suffix' => '', - // 自动搜索控制器 - 'controller_auto_search' => true, + 'name' => env('APP_NAME', 'Laravel'), - // +---------------------------------------------------------------------- - // | URL设置 - // +---------------------------------------------------------------------- + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ - // PATHINFO变量名 用于兼容模式 - 'var_pathinfo' => 's', - // 兼容PATH_INFO获取 - 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'], - // pathinfo分隔符 - 'pathinfo_depr' => '/', - // HTTPS代理标识 - 'https_agent_name' => '', - // IP代理获取标识 - 'http_agent_ip' => 'X-REAL-IP', - // URL伪静态后缀 - 'url_html_suffix' => 'html', - // URL普通方式参数 用于自动生成 - 'url_common_param' => true, - // URL参数方式 0 按名称成对解析 1 按顺序解析 - 'url_param_type' => 0, - // 是否开启路由延迟解析 - 'url_lazy_route' => false, - // 是否强制使用路由 - 'url_route_must' => false, - // 合并路由规则 - 'route_rule_merge' => false, - // 路由是否完全匹配 - 'route_complete_match' => true, - // 使用注解路由 - 'route_annotation' => false, - // 域名根,如thinkphp.cn - 'url_domain_root' => '', - // 是否自动转换URL中的控制器和操作名 - 'url_convert' => false, - // 默认的访问控制器层 - 'url_controller_layer' => 'controller', - // 表单请求类型伪装变量 - 'var_method' => '_method', - // 表单ajax伪装变量 - 'var_ajax' => '_ajax', - // 表单pjax伪装变量 - 'var_pjax' => '_pjax', - // 是否开启请求缓存 true自动缓存 支持设置请求缓存规则 - 'request_cache' => false, - // 请求缓存有效期 - 'request_cache_expire' => null, - // 全局请求缓存排除规则 - 'request_cache_except' => [], - // 是否开启路由缓存 - 'route_check_cache' => false, - // 路由缓存的Key自定义设置(闭包),默认为当前URL和请求类型的md5 - 'route_check_cache_key' => '', - // 路由缓存类型及参数 - 'route_cache_option' => [], + 'env' => env('APP_ENV', 'production'), - // 默认跳转页面对应的模板文件 - 'dispatch_success_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl', - 'dispatch_error_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl', + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ - // 异常页面的模板文件 - 'exception_tmpl' => Env::get('think_path') . 'tpl/think_exception.tpl', + 'debug' => (bool) env('APP_DEBUG', false), - // 错误显示信息,非调试模式有效 - 'error_message' => '页面错误!请稍后再试~', - // 显示错误信息 - 'show_error_msg' => false, - // 异常处理handle类 留空使用 \think\exception\Handle - 'exception_handle' => '', + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | your application so that it is used when running Artisan tasks. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + 'asset_url' => env('ASSET_URL', null), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. We have gone + | ahead and set this to a sensible default for you out of the box. + | + */ + + 'timezone' => 'UTC', + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by the translation service provider. You are free to set this value + | to any of the locales which will be supported by the application. + | + */ + + 'locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Application Fallback Locale + |-------------------------------------------------------------------------- + | + | The fallback locale determines the locale to use when the current one + | is not available. You may change the value to correspond to any of + | the language folders that are provided through your application. + | + */ + + 'fallback_locale' => 'en', + + /* + |-------------------------------------------------------------------------- + | Faker Locale + |-------------------------------------------------------------------------- + | + | This locale will be used by the Faker PHP library when generating fake + | data for your database seeds. For example, this will be used to get + | localized telephone numbers, street address information and more. + | + */ + + 'faker_locale' => 'en_US', + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is used by the Illuminate encrypter service and should be set + | to a random, 32 character string, otherwise these encrypted strings + | will not be safe. Please do this before deploying an application! + | + */ + + 'key' => env('APP_KEY'), + + 'cipher' => 'AES-256-CBC', + + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + + 'providers' => [ + + /* + * Laravel Framework Service Providers... + */ + Illuminate\Auth\AuthServiceProvider::class, + Illuminate\Broadcasting\BroadcastServiceProvider::class, + Illuminate\Bus\BusServiceProvider::class, + Illuminate\Cache\CacheServiceProvider::class, + Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, + Illuminate\Cookie\CookieServiceProvider::class, + Illuminate\Database\DatabaseServiceProvider::class, + Illuminate\Encryption\EncryptionServiceProvider::class, + Illuminate\Filesystem\FilesystemServiceProvider::class, + Illuminate\Foundation\Providers\FoundationServiceProvider::class, + Illuminate\Hashing\HashServiceProvider::class, + Illuminate\Mail\MailServiceProvider::class, + Illuminate\Notifications\NotificationServiceProvider::class, + Illuminate\Pagination\PaginationServiceProvider::class, + Illuminate\Pipeline\PipelineServiceProvider::class, + Illuminate\Queue\QueueServiceProvider::class, + Illuminate\Redis\RedisServiceProvider::class, + Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, + Illuminate\Session\SessionServiceProvider::class, + Illuminate\Translation\TranslationServiceProvider::class, + Illuminate\Validation\ValidationServiceProvider::class, + Illuminate\View\ViewServiceProvider::class, + + /* + * Package Service Providers... + */ + + /* + * Application Service Providers... + */ + App\Providers\AppServiceProvider::class, + App\Providers\AuthServiceProvider::class, + // App\Providers\BroadcastServiceProvider::class, + App\Providers\EventServiceProvider::class, + App\Providers\RouteServiceProvider::class, + + ], + + /* + |-------------------------------------------------------------------------- + | Class Aliases + |-------------------------------------------------------------------------- + | + | This array of class aliases will be registered when this application + | is started. However, feel free to register as many as you wish as + | the aliases are "lazy" loaded so they don't hinder performance. + | + */ + + 'aliases' => [ + + 'App' => Illuminate\Support\Facades\App::class, + 'Arr' => Illuminate\Support\Arr::class, + 'Artisan' => Illuminate\Support\Facades\Artisan::class, + 'Auth' => Illuminate\Support\Facades\Auth::class, + 'Blade' => Illuminate\Support\Facades\Blade::class, + 'Broadcast' => Illuminate\Support\Facades\Broadcast::class, + 'Bus' => Illuminate\Support\Facades\Bus::class, + 'Cache' => Illuminate\Support\Facades\Cache::class, + 'Config' => Illuminate\Support\Facades\Config::class, + 'Cookie' => Illuminate\Support\Facades\Cookie::class, + 'Crypt' => Illuminate\Support\Facades\Crypt::class, + 'Date' => Illuminate\Support\Facades\Date::class, + 'DB' => Illuminate\Support\Facades\DB::class, + 'Eloquent' => Illuminate\Database\Eloquent\Model::class, + 'Event' => Illuminate\Support\Facades\Event::class, + 'File' => Illuminate\Support\Facades\File::class, + 'Gate' => Illuminate\Support\Facades\Gate::class, + 'Hash' => Illuminate\Support\Facades\Hash::class, + 'Http' => Illuminate\Support\Facades\Http::class, + 'Js' => Illuminate\Support\Js::class, + 'Lang' => Illuminate\Support\Facades\Lang::class, + 'Log' => Illuminate\Support\Facades\Log::class, + 'Mail' => Illuminate\Support\Facades\Mail::class, + 'Notification' => Illuminate\Support\Facades\Notification::class, + 'Password' => Illuminate\Support\Facades\Password::class, + 'Queue' => Illuminate\Support\Facades\Queue::class, + 'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class, + 'Redirect' => Illuminate\Support\Facades\Redirect::class, + // 'Redis' => Illuminate\Support\Facades\Redis::class, + 'Request' => Illuminate\Support\Facades\Request::class, + 'Response' => Illuminate\Support\Facades\Response::class, + 'Route' => Illuminate\Support\Facades\Route::class, + 'Schema' => Illuminate\Support\Facades\Schema::class, + 'Session' => Illuminate\Support\Facades\Session::class, + 'Storage' => Illuminate\Support\Facades\Storage::class, + 'Str' => Illuminate\Support\Str::class, + 'URL' => Illuminate\Support\Facades\URL::class, + 'Validator' => Illuminate\Support\Facades\Validator::class, + 'View' => Illuminate\Support\Facades\View::class, + + ], ]; diff --git a/config/auth.php b/config/auth.php new file mode 100644 index 00000000..e29a3f7d --- /dev/null +++ b/config/auth.php @@ -0,0 +1,111 @@ + [ + 'guard' => 'web', + 'passwords' => 'users', + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | here which uses session storage and the Eloquent user provider. + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | Supported: "session" + | + */ + + 'guards' => [ + 'web' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication drivers have a user provider. This defines how the + | users are actually retrieved out of your database or other storage + | mechanisms used by this application to persist your user's data. + | + | If you have multiple user tables or models you may configure multiple + | sources which represent each model / table. These sources may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => App\Models\User::class, + ], + + // 'users' => [ + // 'driver' => 'database', + // 'table' => 'users', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | You may specify multiple password reset configurations if you have more + | than one user table or model in the application and you want to have + | separate password reset settings based on the specific user types. + | + | The expire time is the number of minutes that the reset token should be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + */ + + 'passwords' => [ + 'users' => [ + 'provider' => 'users', + 'table' => 'password_resets', + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the amount of seconds before a password confirmation + | times out and the user is prompted to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => 10800, + +]; diff --git a/config/broadcasting.php b/config/broadcasting.php new file mode 100644 index 00000000..2d529820 --- /dev/null +++ b/config/broadcasting.php @@ -0,0 +1,64 @@ + env('BROADCAST_DRIVER', 'null'), + + /* + |-------------------------------------------------------------------------- + | Broadcast Connections + |-------------------------------------------------------------------------- + | + | Here you may define all of the broadcast connections that will be used + | to broadcast events to other systems or over websockets. Samples of + | each available type of connection are provided inside this array. + | + */ + + 'connections' => [ + + 'pusher' => [ + 'driver' => 'pusher', + 'key' => env('PUSHER_APP_KEY'), + 'secret' => env('PUSHER_APP_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), + 'options' => [ + 'cluster' => env('PUSHER_APP_CLUSTER'), + 'useTLS' => true, + ], + ], + + 'ably' => [ + 'driver' => 'ably', + 'key' => env('ABLY_KEY'), + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + ], + + 'log' => [ + 'driver' => 'log', + ], + + 'null' => [ + 'driver' => 'null', + ], + + ], + +]; diff --git a/config/cache.php b/config/cache.php index 985dbb1c..8736c7a7 100644 --- a/config/cache.php +++ b/config/cache.php @@ -1,25 +1,110 @@ -// +---------------------------------------------------------------------- -// +---------------------------------------------------------------------- -// | 缓存设置 -// +---------------------------------------------------------------------- +use Illuminate\Support\Str; return [ - // 驱动方式 - 'type' => 'File', - // 缓存保存目录 - 'path' => '', - // 缓存前缀 - 'prefix' => '', - // 缓存有效期 0表示永久缓存 - 'expire' => 0, + + /* + |-------------------------------------------------------------------------- + | Default Cache Store + |-------------------------------------------------------------------------- + | + | This option controls the default cache connection that gets used while + | using this caching library. This connection is used when another is + | not explicitly specified when executing a given caching function. + | + */ + + 'default' => env('CACHE_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "apc", "array", "database", "file", + | "memcached", "redis", "dynamodb", "octane", "null" + | + */ + + 'stores' => [ + + 'apc' => [ + 'driver' => 'apc', + ], + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'cache', + 'connection' => null, + 'lock_connection' => null, + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'cache', + 'lock_connection' => 'default', + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + 'octane' => [ + 'driver' => 'octane', + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing a RAM based store such as APC or Memcached, there might + | be other applications utilizing the same cache. So, we'll specify a + | value to get prefixed to all our keys so we can avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), + ]; diff --git a/config/console.php b/config/console.php deleted file mode 100644 index b0f9165a..00000000 --- a/config/console.php +++ /dev/null @@ -1,19 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | 控制台配置 -// +---------------------------------------------------------------------- -return [ - 'name' => 'Think Console', - 'version' => '0.1', - 'user' => null, -]; diff --git a/config/cookie.php b/config/cookie.php deleted file mode 100644 index 1de07082..00000000 --- a/config/cookie.php +++ /dev/null @@ -1,30 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | Cookie设置 -// +---------------------------------------------------------------------- -return [ - // cookie 名称前缀 - 'prefix' => '', - // cookie 保存时间 - 'expire' => 0, - // cookie 保存路径 - 'path' => '/', - // cookie 有效域名 - 'domain' => '', - // cookie 启用安全传输 - 'secure' => false, - // httponly设置 - 'httponly' => '', - // 是否使用 setcookie - 'setcookie' => true, -]; diff --git a/config/cors.php b/config/cors.php new file mode 100644 index 00000000..8a39e6da --- /dev/null +++ b/config/cors.php @@ -0,0 +1,34 @@ + ['api/*', 'sanctum/csrf-cookie'], + + 'allowed_methods' => ['*'], + + 'allowed_origins' => ['*'], + + 'allowed_origins_patterns' => [], + + 'allowed_headers' => ['*'], + + 'exposed_headers' => [], + + 'max_age' => 0, + + 'supports_credentials' => false, + +]; diff --git a/config/database.php b/config/database.php index a51a6e44..b42d9b30 100644 --- a/config/database.php +++ b/config/database.php @@ -1,63 +1,147 @@ -// +---------------------------------------------------------------------- + +use Illuminate\Support\Str; return [ - // 数据库类型 - 'type' => 'mysql', - // 数据库连接DSN配置 - 'dsn' => '', - // 服务器地址 - 'hostname' => env('database.hostname', '127.0.0.1'), - // 数据库名 - 'database' => env('database.database', 'lsky'), - // 数据库用户名 - 'username' => env('database.username', 'root'), - // 数据库密码 - 'password' => env('database.password', ''), - // 数据库连接端口 - 'hostport' => env('database.hostport', '3306'), - // 数据库连接参数 - 'params' => [], - // 数据库编码默认采用utf8 - 'charset' => env('database.charset', 'utf8mb4'), - // 数据库表前缀 - 'prefix' => env('database.prefix'), - // 数据库调试模式 - 'debug' => false, - // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) - 'deploy' => 0, - // 数据库读写是否分离 主从式有效 - 'rw_separate' => false, - // 读写分离后 主服务器数量 - 'master_num' => 1, - // 指定从服务器序号 - 'slave_no' => '', - // 自动读取主库数据 - 'read_master' => false, - // 是否严格检查字段是否存在 - 'fields_strict' => true, - // 数据集返回类型 - 'resultset_type' => 'array', - // 自动写入时间戳字段 - 'auto_timestamp' => true, - // 时间字段取出后的默认时间格式 - 'datetime_format' => 'Y-m-d H:i:s', - // 是否需要进行SQL性能分析 - 'sql_explain' => false, - // Builder类 - 'builder' => '', - // Query类 - 'query' => '\\think\\db\\Query', - // 是否需要断线重连 - 'break_reconnect' => false, - // 断线标识字符串 - 'break_match_str' => [], + + /* + |-------------------------------------------------------------------------- + | Default Database Connection Name + |-------------------------------------------------------------------------- + | + | Here you may specify which of the database connections below you wish + | to use as your default connection for all database work. Of course + | you may use many connections at once using the Database library. + | + */ + + 'default' => env('DB_CONNECTION', 'mysql'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Here are each of the database connections setup for your application. + | Of course, examples of configuring each database platform that is + | supported by Laravel is shown below to make development simple. + | + | + | All database work in Laravel is done through the PHP PDO facilities + | so make sure you have the driver for your particular database of + | choice installed on your machine before you begin development. + | + */ + + 'connections' => [ + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DATABASE_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + 'schema' => 'public', + 'sslmode' => 'prefer', + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + 'prefix_indexes' => true, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run in the database. + | + */ + + 'migrations' => 'migrations', + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as APC or Memcached. Laravel makes it easy to dig right in. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'password' => env('REDIS_PASSWORD', null), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'password' => env('REDIS_PASSWORD', null), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + ], + + ], + ]; diff --git a/config/filesystems.php b/config/filesystems.php new file mode 100644 index 00000000..760ef972 --- /dev/null +++ b/config/filesystems.php @@ -0,0 +1,73 @@ + env('FILESYSTEM_DRIVER', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Here you may configure as many filesystem "disks" as you wish, and you + | may even configure multiple disks of the same driver. Defaults have + | been setup for each driver as an example of the required options. + | + | Supported Drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app'), + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => env('APP_URL').'/storage', + 'visibility' => 'public', + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + +]; diff --git a/config/hashing.php b/config/hashing.php new file mode 100644 index 00000000..84257708 --- /dev/null +++ b/config/hashing.php @@ -0,0 +1,52 @@ + 'bcrypt', + + /* + |-------------------------------------------------------------------------- + | Bcrypt Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Bcrypt algorithm. This will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'bcrypt' => [ + 'rounds' => env('BCRYPT_ROUNDS', 10), + ], + + /* + |-------------------------------------------------------------------------- + | Argon Options + |-------------------------------------------------------------------------- + | + | Here you may specify the configuration options that should be used when + | passwords are hashed using the Argon algorithm. These will allow you + | to control the amount of time it takes to hash the given password. + | + */ + + 'argon' => [ + 'memory' => 1024, + 'threads' => 2, + 'time' => 2, + ], + +]; diff --git a/config/log.php b/config/log.php deleted file mode 100644 index 82cbd4e9..00000000 --- a/config/log.php +++ /dev/null @@ -1,30 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | 日志设置 -// +---------------------------------------------------------------------- -return [ - // 日志记录方式,内置 file socket 支持扩展 - 'type' => 'File', - // 日志保存目录 - 'path' => '', - // 日志记录级别 - 'level' => [], - // 单文件日志写入 - 'single' => false, - // 独立日志级别 - 'apart_level' => [], - // 最大日志文件数量 - 'max_files' => 30, - // 是否关闭日志写入 - 'close' => false, -]; diff --git a/config/logging.php b/config/logging.php new file mode 100644 index 00000000..880cd922 --- /dev/null +++ b/config/logging.php @@ -0,0 +1,118 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Deprecations Log Channel + |-------------------------------------------------------------------------- + | + | This option controls the log channel that should be used to log warnings + | regarding deprecated PHP and library features. This allows you to get + | your application ready for upcoming major versions of dependencies. + | + */ + + 'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Out of + | the box, Laravel uses the Monolog PHP logging library. This gives + | you a variety of powerful log handlers / formatters to utilize. + | + | Available Drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", + | "custom", "stack" + | + */ + + 'channels' => [ + 'stack' => [ + 'driver' => 'stack', + 'channels' => ['single'], + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'days' => 14, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => 'Laravel Log', + 'emoji' => ':boom:', + 'level' => env('LOG_LEVEL', 'critical'), + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => SyslogUdpHandler::class, + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + ], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'with' => [ + 'stream' => 'php://stderr', + ], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + ], + +]; diff --git a/config/mail.php b/config/mail.php new file mode 100644 index 00000000..f96c6c7c --- /dev/null +++ b/config/mail.php @@ -0,0 +1,118 @@ + env('MAIL_MAILER', 'smtp'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers to be used while + | sending an e-mail. You will specify which one you are using for your + | mailers below. You are free to add additional mailers as required. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", + | "postmark", "log", "array", "failover" + | + */ + + 'mailers' => [ + 'smtp' => [ + 'transport' => 'smtp', + 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), + 'port' => env('MAIL_PORT', 587), + 'encryption' => env('MAIL_ENCRYPTION', 'tls'), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'auth_mode' => null, + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'mailgun' => [ + 'transport' => 'mailgun', + ], + + 'postmark' => [ + 'transport' => 'postmark', + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -t -i'), + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + + 'failover' => [ + 'transport' => 'failover', + 'mailers' => [ + 'smtp', + 'log', + ], + ], + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all e-mails sent by your application to be sent from + | the same address. Here, you may specify a name and address that is + | used globally for all e-mails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', 'Example'), + ], + + /* + |-------------------------------------------------------------------------- + | Markdown Mail Settings + |-------------------------------------------------------------------------- + | + | If you are using Markdown based email rendering, you may configure your + | theme and component paths here, allowing you to customize the design + | of the emails. Or, you may simply stick with the Laravel defaults! + | + */ + + 'markdown' => [ + 'theme' => 'default', + + 'paths' => [ + resource_path('views/vendor/mail'), + ], + ], + +]; diff --git a/config/middleware.php b/config/middleware.php deleted file mode 100644 index 153d2b75..00000000 --- a/config/middleware.php +++ /dev/null @@ -1,15 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | 中间件配置 -// +---------------------------------------------------------------------- -return []; diff --git a/config/naming.php b/config/naming.php deleted file mode 100755 index 14a24371..00000000 --- a/config/naming.php +++ /dev/null @@ -1,183 +0,0 @@ - [ - [ - 'name' => '{Y}', - 'example' => '2018', - 'explain' => 'Year', - 'value' => date('Y'), - ], - [ - 'name' => '{m}', - 'example' => '01', - 'explain' => 'Month', - 'value' => date('m'), - ], - [ - 'name' => '{d}', - 'example' => '04', - 'explain' => 'Day', - 'value' => date('d'), - ], - [ - 'name' => '{Ymd}', - 'example' => '20180104', - 'explain' => 'Upload date', - 'value' => date('Ymd'), - ], - [ - 'name' => '{ymd}', - 'example' => '180104', - 'explain' => 'Upload date', - 'value' => date('ymd'), - ], - [ - 'name' => '{Y-m-d}', - 'example' => '2018-01-04', - 'explain' => 'Upload date', - 'value' => date('Y-m-d'), - ], - [ - 'name' => '{y-m-d}', - 'example' => '18-01-04', - 'explain' => 'Upload date', - 'value' => date('y-m-d'), - ], - [ - 'name' => '{time-stamp}', - 'example' => '1514995200', - 'explain' => 'Upload date', - 'value' => $time, - ], - [ - 'name' => '{uniqid}', - 'example' => '5bb2f89a38935', - 'explain' => 'Unique ID', - 'value' => $uniqid, - ], - [ - 'name' => '{md5-32}', - 'example' => 'f96087bb0a9a5e8723dbde0d0f8dce34', - 'explain' => 'MD5 (non file)', - 'value' => $md5, - ], - [ - 'name' => '{md5-16}', - 'example' => '0a9a5e8723dbde0d', - 'explain' => 'MD5 (non file)', - 'value' => substr($md5, 8, 16), - ], - [ - 'name' => '{rend-character}', - 'example' => 'HgTLmGcDceplMduF', - 'explain' => '16 bit random string', - 'value' => str_rand(), - ], - [ - 'name' => '{rend-character-8}', - 'example' => 'HgTLmGcD', - 'explain' => '16 bit random string', - 'value' => str_rand(8), - ], - ], - 'file' => [ - [ - 'name' => '{Y}', - 'example' => '2018', - 'explain' => 'Year', - 'value' => date('Y'), - ], - [ - 'name' => '{m}', - 'example' => '01', - 'explain' => 'Month', - 'value' => date('m'), - ], - [ - 'name' => '{d}', - 'example' => '04', - 'explain' => 'Day', - 'value' => date('d'), - ], - [ - 'name' => '{Ymd}', - 'example' => '20180104', - 'explain' => 'Upload date', - 'value' => date('Ymd'), - ], - [ - 'name' => '{ymd}', - 'example' => '180104', - 'explain' => 'Upload date', - 'value' => date('ymd'), - ], - [ - 'name' => '{Y-m-d}', - 'example' => '2018-01-04', - 'explain' => 'Upload date', - 'value' => date('Y-m-d'), - ], - [ - 'name' => '{y-m-d}', - 'example' => '18-01-04', - 'explain' => 'Upload date', - 'value' => date('y-m-d'), - ], - [ - 'name' => '{time-stamp}', - 'example' => '1514995200', - 'explain' => 'Upload date', - 'value' => $time, - ], - [ - 'name' => '{uniqid}', - 'example' => '5bb2f89a38935', - 'explain' => 'Unique ID', - 'value' => $uniqid, - ], - [ - 'name' => '{md5-32}', - 'example' => 'f96087bb0a9a5e8723dbde0d0f8dce34', - 'explain' => 'MD5 (non file)', - 'value' => $md5, - ], - [ - 'name' => '{md5-16}', - 'example' => '0a9a5e8723dbde0d', - 'explain' => 'MD5 (non file)', - 'value' => substr($md5, 8, 16), - ], - [ - 'name' => '{rend-character}', - 'example' => 'HgTLmGcDceplMduF', - 'explain' => '16 bit random string', - 'value' => str_rand(), - ], - [ - 'name' => '{rend-character-8}', - 'example' => 'HgTLmGcD', - 'explain' => '8 bit random string', - 'value' => str_rand(8), - ], - [ - 'name' => '{original}', - 'example' => 'Nothing', - 'explain' => 'Original file name', - 'value' => '{original}', - ], - ], -]; diff --git a/config/queue.php b/config/queue.php new file mode 100644 index 00000000..25ea5a81 --- /dev/null +++ b/config/queue.php @@ -0,0 +1,93 @@ + env('QUEUE_CONNECTION', 'sync'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection information for each server that + | is used by your application. A default configuration has been added + | for each back-end shipped with Laravel. You are free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'table' => 'jobs', + 'queue' => 'default', + 'retry_after' => 90, + 'after_commit' => false, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => 'localhost', + 'queue' => 'default', + 'retry_after' => 90, + 'block_for' => 0, + 'after_commit' => false, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'default'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'after_commit' => false, + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => 'default', + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => 90, + 'block_for' => null, + 'after_commit' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control which database and table are used to store the jobs that + | have failed. You may change them to any database / table you wish. + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'mysql'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/config/sanctum.php b/config/sanctum.php new file mode 100644 index 00000000..9281c92d --- /dev/null +++ b/config/sanctum.php @@ -0,0 +1,65 @@ + explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( + '%s%s', + 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', + env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : '' + ))), + + /* + |-------------------------------------------------------------------------- + | Sanctum Guards + |-------------------------------------------------------------------------- + | + | This array contains the authentication guards that will be checked when + | Sanctum is trying to authenticate a request. If none of these guards + | are able to authenticate the request, Sanctum will use the bearer + | token that's present on an incoming request for authentication. + | + */ + + 'guard' => ['web'], + + /* + |-------------------------------------------------------------------------- + | Expiration Minutes + |-------------------------------------------------------------------------- + | + | This value controls the number of minutes until an issued token will be + | considered expired. If this value is null, personal access tokens do + | not expire. This won't tweak the lifetime of first-party sessions. + | + */ + + 'expiration' => null, + + /* + |-------------------------------------------------------------------------- + | Sanctum Middleware + |-------------------------------------------------------------------------- + | + | When authenticating your first-party SPA with Sanctum you may need to + | customize some of the middleware Sanctum uses while processing the + | request. You may change the middleware listed below as required. + | + */ + + 'middleware' => [ + 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, + 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, + ], + +]; diff --git a/config/services.php b/config/services.php new file mode 100644 index 00000000..2a1d616c --- /dev/null +++ b/config/services.php @@ -0,0 +1,33 @@ + [ + 'domain' => env('MAILGUN_DOMAIN'), + 'secret' => env('MAILGUN_SECRET'), + 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), + ], + + 'postmark' => [ + 'token' => env('POSTMARK_TOKEN'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + +]; diff --git a/config/session.php b/config/session.php index 1d7b6c60..ac0802b1 100644 --- a/config/session.php +++ b/config/session.php @@ -1,26 +1,201 @@ -// +---------------------------------------------------------------------- -// +---------------------------------------------------------------------- -// | 会话设置 -// +---------------------------------------------------------------------- +use Illuminate\Support\Str; return [ - 'id' => '', - // SESSION_ID的提交变量,解决flash上传跨域 - 'var_session_id' => '', - // SESSION 前缀 - 'prefix' => 'think', - // 驱动方式 支持redis memcache memcached - 'type' => '', - // 是否自动开启 SESSION - 'auto_start' => true, + + /* + |-------------------------------------------------------------------------- + | Default Session Driver + |-------------------------------------------------------------------------- + | + | This option controls the default session "driver" that will be used on + | requests. By default, we will use the lightweight native driver but + | you may specify any of the other wonderful drivers provided here. + | + | Supported: "file", "cookie", "database", "apc", + | "memcached", "redis", "dynamodb", "array" + | + */ + + 'driver' => env('SESSION_DRIVER', 'file'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to immediately expire on the browser closing, set that option. + | + */ + + 'lifetime' => env('SESSION_LIFETIME', 120), + + 'expire_on_close' => false, + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it is stored. All encryption will be run + | automatically by Laravel and you can use the Session like normal. + | + */ + + 'encrypt' => false, + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When using the native session driver, we need a location where session + | files may be stored. A default has been set for you but a different + | location may be specified. This is only needed for file sessions. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION', null), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table we + | should use to manage the sessions. Of course, a sensible default is + | provided for you; however, you are free to change this as needed. + | + */ + + 'table' => 'sessions', + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | While using one of the framework's cache driven session backends you may + | list a cache store that should be used for these sessions. This value + | must match with one of the application's configured cache "stores". + | + | Affects: "apc", "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE', null), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the cookie used to identify a session + | instance by ID. The name specified here will get used every time a + | new session cookie is created by the framework for every driver. + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug(env('APP_NAME', 'laravel'), '_').'_session' + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application but you are free to change this when necessary. + | + */ + + 'path' => '/', + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | Here you may change the domain of the cookie used to identify a session + | in your application. This will determine which domains the cookie is + | available to in your application. A sensible default has been set. + | + */ + + 'domain' => env('SESSION_DOMAIN', null), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you when it can't be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. You are free to modify this option if needed. + | + */ + + 'http_only' => true, + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" since this is a secure default value. + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => 'lax', + ]; diff --git a/config/strategy.php b/config/strategy.php deleted file mode 100644 index bbc20101..00000000 --- a/config/strategy.php +++ /dev/null @@ -1,36 +0,0 @@ - [ - 'name' => 'Local', - 'class' => \strategy\driver\Local::class - ], - 'oss' => [ - 'name' => 'Aliyun OSS', - 'class' => \strategy\driver\Oss::class - ], - 'cos' => [ - 'name' => 'Tencent COS', - 'class' => \strategy\driver\Cos::class - ], - 'kodo' => [ - 'name' => 'Qiniu KODO', - 'class' => \strategy\driver\Kodo::class - ], - 'uss' => [ - 'name' => 'Upyun USS', - 'class' => \strategy\driver\Uss::class - ], - 'remote' => [ - 'name' => 'Remote', - 'class' => \strategy\driver\Remote::class - ], -]; diff --git a/config/system.php b/config/system.php deleted file mode 100644 index 14a9e12c..00000000 --- a/config/system.php +++ /dev/null @@ -1,18 +0,0 @@ - env('system.single_user_mode', false), - // 违规图片是否直接拦截 - 'intercept_salacity' => env('system.intercept_salacity', false), - // 图片链接额外参数(例: ?test=123) - 'url_query' => env('system.url_query', ''), - // 是否开启策略自动水印功能 - 'watermark' => env('system.watermark') -]; diff --git a/config/table.php b/config/table.php deleted file mode 100644 index 0a2e52ed..00000000 --- a/config/table.php +++ /dev/null @@ -1,17 +0,0 @@ - [ - 'folder_id' => "ALTER TABLE `lsky_images` ADD `folder_id` INT NOT NULL DEFAULT '0' COMMENT '文件夹ID' AFTER `user_id`;", - 'suspicious' => "ALTER TABLE `lsky_images` ADD `suspicious` TINYINT(1) NOT NULL DEFAULT '0' COMMENT '可疑图片' AFTER `ip`;", - 'alias_name' => "ALTER TABLE `lsky_images` ADD `alias_name` VARCHAR(255) NULL DEFAULT NULL COMMENT '别名' AFTER `name`;" - ], - 'lsky_users' => [ - 'default_folder' => "ALTER TABLE `lsky_users` ADD `default_folder` VARCHAR(32) DEFAULT NULL COMMENT '默认上传文件夹' AFTER `quota`;", - 'group_id' => "ALTER TABLE `lsky_users` ADD `group_id` int(11) NOT NULL DEFAULT 0 COMMENT '角色组ID' AFTER `id`;" - ], -]; diff --git a/config/template.php b/config/template.php deleted file mode 100644 index 299bd6f4..00000000 --- a/config/template.php +++ /dev/null @@ -1,35 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | 模板设置 -// +---------------------------------------------------------------------- - -return [ - // 模板引擎类型 支持 php think 支持扩展 - 'type' => 'Think', - // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 3 保持操作方法 - 'auto_rule' => 1, - // 模板路径 - 'view_path' => '', - // 模板后缀 - 'view_suffix' => 'html', - // 模板文件名分隔符 - 'view_depr' => DIRECTORY_SEPARATOR, - // 模板引擎普通标签开始标记 - 'tpl_begin' => '{', - // 模板引擎普通标签结束标记 - 'tpl_end' => '}', - // 标签库标签开始标记 - 'taglib_begin' => '{', - // 标签库标签结束标记 - 'taglib_end' => '}', -]; diff --git a/config/trace.php b/config/trace.php deleted file mode 100644 index 425d3014..00000000 --- a/config/trace.php +++ /dev/null @@ -1,18 +0,0 @@ - -// +---------------------------------------------------------------------- - -// +---------------------------------------------------------------------- -// | Trace设置 开启 app_trace 后 有效 -// +---------------------------------------------------------------------- -return [ - // 内置Html Console 支持扩展 - 'type' => 'Html', -]; diff --git a/config/view.php b/config/view.php new file mode 100644 index 00000000..22b8a18d --- /dev/null +++ b/config/view.php @@ -0,0 +1,36 @@ + [ + resource_path('views'), + ], + + /* + |-------------------------------------------------------------------------- + | Compiled View Path + |-------------------------------------------------------------------------- + | + | This option determines where all the compiled Blade templates will be + | stored for your application. Typically, this is within the storage + | directory. However, as usual, you are free to change this value. + | + */ + + 'compiled' => env( + 'VIEW_COMPILED_PATH', + realpath(storage_path('framework/views')) + ), + +]; diff --git a/config/watermark.php b/config/watermark.php deleted file mode 100644 index 951b0d2c..00000000 --- a/config/watermark.php +++ /dev/null @@ -1,70 +0,0 @@ -getRootPath(); - -return [ - // 本地 - 'local' => [ - 'enable' => false, - 'type' => 1, - 'text' => 'Lsky Pro', - 'font' => $root . 'public/static/app/font/test.ttf', - 'size' => 20, - 'color' => '#333333', - 'locate' => 9, - 'offset' => 0, - 'angle' => 0, - ], - // 阿里云 OSS - 'oss' => [ - 'enable' => false, - 'type' => 2, - 'source' => $root . 'public/static/app/images/icon.png', - 'locate' => 9, - 'alpha' => 100, - ], - // 腾讯云 COS - 'cos' => [ - 'enable' => false, - ], - // 又拍云 USS - 'uss' => [ - 'enable' => false, - ], - // 七牛云 Kodo - 'kodo' => [ - 'enable' => false, - ], -]; \ No newline at end of file diff --git a/database/.gitignore b/database/.gitignore new file mode 100644 index 00000000..9b19b93c --- /dev/null +++ b/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 00000000..a3eb239a --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,39 @@ + $this->faker->name(), + 'email' => $this->faker->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password + 'remember_token' => Str::random(10), + ]; + } + + /** + * Indicate that the model's email address should be unverified. + * + * @return \Illuminate\Database\Eloquent\Factories\Factory + */ + public function unverified() + { + return $this->state(function (array $attributes) { + return [ + 'email_verified_at' => null, + ]; + }); + } +} diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php new file mode 100644 index 00000000..621a24eb --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('name'); + $table->string('email')->unique(); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password'); + $table->rememberToken(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('users'); + } +} diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php new file mode 100644 index 00000000..0ee0a36a --- /dev/null +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets'); + } +} diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php new file mode 100644 index 00000000..6aa6d743 --- /dev/null +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('failed_jobs'); + } +} diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php new file mode 100644 index 00000000..4315e16a --- /dev/null +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -0,0 +1,36 @@ +id(); + $table->morphs('tokenable'); + $table->string('name'); + $table->string('token', 64)->unique(); + $table->text('abilities')->nullable(); + $table->timestamp('last_used_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('personal_access_tokens'); + } +} diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100644 index 00000000..57b73b54 --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,18 @@ +create(); + } +} diff --git a/extend/Upgrade.php b/extend/Upgrade.php deleted file mode 100644 index 7f112110..00000000 --- a/extend/Upgrade.php +++ /dev/null @@ -1,376 +0,0 @@ -rootPath = rtrim(str_replace('\\', '/', $path), '/') . '/'; - $this->workspace = $this->rootPath . 'runtime/.tmp/'; - $this->version = ltrim('v', strtolower($version)); - - if (!class_exists('ZipArchive')) { - throw new \Exception('无法继续执行, 请确保 ZipArchive 正确安装'); - } - - ob_clean(); - } - - /** - * 下载安装包 - * - * @param string $url - * @return string - * @throws Exception - */ - public function download($url) - { - $ip = $this->getRandIp(); - $headers = [ - 'Accept-Encoding: gzip, deflate', - 'User-Agent: ' . $this->getRandUserAgent(), - 'X-FORWARDED-FOR: ' . $ip, - 'CLIENT-IP: ' . $ip, - ]; - - !is_dir($this->workspace) && @mkdir($this->workspace, 0777, true); - if (!is_dir($this->workspace)) throw new \Exception('工作区目录不存在, 请检查是否有写入权限'); - $pathname = $this->workspace . 'upgrade.zip'; - - $curl = curl_init(); - curl_setopt($curl, CURLOPT_URL, $url); - curl_setopt($curl, CURLOPT_ENCODING, 'gzip, delete'); - curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); - curl_setopt($curl, CURLOPT_TIMEOUT, 180); - curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 180); - curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); - curl_setopt($curl, CURLOPT_HEADER, 0); - curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); - $contents = curl_exec($curl); - $statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); - /*$headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE); - $header = substr($contents, 0, $headerSize);*/ - - curl_close($curl); - - if ($statusCode !== 200) { - throw new \Exception('安装包下载失败, 请稍后重试!'); - } - - if (!@file_put_contents($pathname, $contents)) { - throw new \Exception('安装包保存失败, 请检查 runtime 目录是否有写入权限'); - } - - return $pathname; - } - - /** - * 解压 - * - * @param string $file 文件 - * @param string $dir 解压到文件夹 - * @return mixed - * @throws Exception - */ - public function unzip($file, $dir) - { - $zip = new \ZipArchive; - if ($zip->open($file) !== true) { - throw new \Exception('无法打开安装包文件'); - } - if (!$zip->extractTo($dir)) { - $zip->close(); - throw new \Exception('无法解压安装包文件'); - } - - $zip->close(); - @unlink($file); // 解压成功后删除临时文件 - - return $dir; - } - - /** - * 获取发行包列表 - * - * @return mixed|array - * @throws Exception - */ - public function releases() - { - if (!$releases = @file_get_contents(self::RELEASES_URL)) { - throw new \Exception('更新服务器异常, 请稍后重试!'); - } - - if (!$releases = json_decode($releases, true)) { - throw new \Exception('更新包获取失败, 请稍后重试'); - } - - // 排序 - $weights = array_column($releases, 'weigh'); - array_multisort($weights, SORT_DESC, $releases); - - return array_map(function (&$item) { - return (object)$item; - }, $releases); - } - - /** - * 获取最新版 - * - * @return mixed - * @throws Exception - */ - public function release() - { - if (!$release = @file_get_contents(self::RELEASES_URL . '?version=last')) { - throw new \Exception('更新服务器异常, 请稍后重试!'); - } - - return json_decode($release); - } - - /** - * 判断版本号是否相同 - * - * @param string $version 要与当前系统版本比对的版本号 - * @return bool - */ - public function check($version) - { - return version_compare($this->version, $version) === 0; - } - - /** - * 获取错误信息 - * - * @return mixed - */ - public function getError() - { - return $this->error; - } - - /** - * 删除文件夹 - * - * @param $dir - * @return bool - */ - public function rmdir($dir) - { - if (!$handle = @opendir($dir)) return false; - - while (false !== ($file = readdir($handle))) { - if ($file !== "." && $file !== "..") { // 排除当前目录与父级目录 - $file = $dir . '/' . $file; - if (is_dir($file)) { - $this->rmdir($file); - } else { - @unlink($file); - } - } - } - - return @rmdir($dir); - } - - /** - * 备份系统 - * - * @param string $pathname 备份后的文件名称 - * @return bool - */ - public function backup($pathname) - { - $pathname = $this->rootPath . $pathname; - $dirname = dirname($pathname); - if (!is_dir($dirname)) mkdir($dirname); - $zip = new \ZipArchive; - $zip->open($pathname, \ZipArchive::CREATE); - $files = new RecursiveIteratorIterator( - new RecursiveDirectoryIterator($this->rootPath, - RecursiveDirectoryIterator::SKIP_DOTS), - RecursiveIteratorIterator::CHILD_FIRST - ); - foreach ($files as $file) { - $filePath = $file->getPathName(); - $localName = str_replace($this->rootPath, '', $filePath); - // 跳过不需要备份的目录 - $path = trim(str_replace('\\', '/', $filePath), '/'); - if ( - strpos($path, trim($this->getRootPath(), '/') . '/runtime') !== false || - strpos($path, trim($this->getRootPath(), '/') . '/backups') !== false || - strpos($path, trim($this->getRootPath(), '/') . '/public') !== false - ) { - continue; - } - - if ($file->isFile()) { - $zip->addFile($filePath, $localName); - } elseif ($file->isDir()) { - $zip->addEmptyDir($localName); - } - } - $zip->close(); - return true; - } - - /** - * 复制文件夹 - * @param string $source 源文件夹 - * @param string $dest 目标文件夹 - */ - public function copyDirs($source, $dest) - { - if (!is_dir($dest)) { - mkdir($dest, 0755, true); - } - foreach ( - $iterator = new RecursiveIteratorIterator( - new RecursiveDirectoryIterator($source, RecursiveDirectoryIterator::SKIP_DOTS), - RecursiveIteratorIterator::SELF_FIRST - ) as $item - ) { - if ($item->isDir()) { - $sontDir = $dest . '/' . $iterator->getSubPathName(); - if (!is_dir($sontDir)) { - mkdir($sontDir, 0755, true); - } - } else { - copy($item, $dest . '/' . $iterator->getSubPathName()); - } - } - } - - /** - * 获取随机 UserAgent - * - * @return mixed - */ - private function getRandUserAgent() - { - $array = [ - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1", - "Mozilla/5.0 (X11; CrOS i686 2268.111.0) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11", - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.6 (KHTML, like Gecko) Chrome/20.0.1092.0 Safari/536.6", - "Mozilla/5.0 (Windows NT 6.2) AppleWebKit/536.6 (KHTML, like Gecko) Chrome/20.0.1090.0 Safari/536.6", - "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/19.77.34.5 Safari/537.1", - "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.9 Safari/536.5", - "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.36 Safari/536.5", - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1063.0 Safari/536.3", - "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1063.0 Safari/536.3", - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_0) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1063.0 Safari/536.3", - "Mozilla/5.0 (Windows NT 6.2) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1062.0 Safari/536.3", - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1062.0 Safari/536.3", - "Mozilla/5.0 (Windows NT 6.2) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1061.1 Safari/536.3", - "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1061.1 Safari/536.3", - "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1061.1 Safari/536.3", - "Mozilla/5.0 (Windows NT 6.2) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1061.0 Safari/536.3", - "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.24 (KHTML, like Gecko) Chrome/19.0.1055.1 Safari/535.24", - "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/535.24 (KHTML, like Gecko) Chrome/19.0.1055.1 Safari/535.24", - "Mozilla/5.0 (Macintosh; U; Mac OS X Mach-O; en-US; rv:2.0a) Gecko/20040614 Firefox/3.0.0 ", - "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3", - "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5", - "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110218 AlexaToolbar/alxf-2.0 Firefox/3.6.14", - "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15", - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1", - "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11", - "Opera/9.80 (Android 2.3.4; Linux; Opera mobi/adr-1107051709; U; zh-cn) Presto/2.8.149 Version/11.10", - "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10", - "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/533.17.8 (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8", - "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5", - "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0", - "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)", - "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)", - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" - ]; - - return $array[array_rand($array)]; - } - - /** - * 随机IP - * - * @return string - */ - private function getRandIp() - { - $array = ["218", "218", "66", "66", "218", "218", "60", "60", "202", "204", "66", "66", "66", "59", "61", "60", "222", "221", "66", "59", "60", "60", "66", "218", "218", "62", "63", "64", "66", "66", "122", "211"]; - $rand = mt_rand(0, count($array)); - $ip1id = $array[$rand]; - $ip2id = round(rand(600000, 2550000) / 10000); - $ip3id = round(rand(600000, 2550000) / 10000); - $ip4id = round(rand(600000, 2550000) / 10000); - return $ip1id . "." . $ip2id . "." . $ip3id . "." . $ip4id; - } - - /** - * @return mixed - */ - public function getRootPath() - { - return $this->rootPath; - } - - /** - * @return mixed - */ - public function getWorkspace() - { - return $this->workspace; - } - - /** - * @return mixed - */ - public function getVersion() - { - return $this->version; - } - - public function __destruct() - { - @$this->rmdir($this->workspace); // 清除临时工作目录 - } -} diff --git a/extend/strategy/Driver.php b/extend/strategy/Driver.php deleted file mode 100644 index 1869e52c..00000000 --- a/extend/strategy/Driver.php +++ /dev/null @@ -1,52 +0,0 @@ -options = $options; - try { - $this->cos = new Client([ - 'region' => $this->options['cos_region'], - 'credentials' => [ - 'secretId' => $this->options['cos_secret_id'], - 'secretKey' => $this->options['cos_secret_key'], - ], - ]); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - } - } - - /** - * 创建文件 - * - * @param $pathname - * @param $file - * - * @return bool - */ - public function create($pathname, $file) - { - try { - $this->cos->putObject(array( - 'Bucket' => $this->options['cos_bucket'], - 'Key' => $pathname, - 'Body' => fopen($file, 'rb') - )); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除文件 - * - * @param $pathname - * - * @return bool - */ - public function delete($pathname) - { - try { - $this->cos->deleteObject([ - 'Bucket' => $this->options['cos_bucket'], - 'Key' => $pathname, - ]); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除多个文件 - * - * @param array $list - * @return bool|mixed - */ - public function deletes(array $list) - { - try { - $objects = []; - foreach ($list as $value) { - $objects[] = ['Key' => $value ]; - } - $this->cos->deleteObjects([ - 'Bucket' => $this->options['cos_bucket'], - 'Objects' => $objects, - ]); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - public function getError() - { - return 'Cos:' . $this->error; - } -} \ No newline at end of file diff --git a/extend/strategy/driver/Kodo.php b/extend/strategy/driver/Kodo.php deleted file mode 100644 index 1f758c24..00000000 --- a/extend/strategy/driver/Kodo.php +++ /dev/null @@ -1,138 +0,0 @@ -options = $options; - try { - $auth = new Auth($this->options['kodo_access_key'], $this->options['kodo_secret_key']); - $this->uploadToken = $auth->uploadToken($this->options['kodo_bucket']); - $config = new Config(); - $this->uploadMgr = new UploadManager(); - $this->bucketMgr = new BucketManager($auth, $config); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - } - } - - /** - * 创建一个文件 - * - * @param $pathname - * @param $file - * - * @return bool - * @throws \Exception - */ - public function create($pathname, $file) - { - list($ret, $err) = $this->uploadMgr->putFile($this->uploadToken, $pathname, $file); - if (null !== $err) { - $this->error = $err; - return false; - } - - return true; - } - - /** - * 删除文件 - * - * @param $pathname - * - * @return bool - */ - public function delete($pathname) - { - $err = $this->bucketMgr->delete($this->options['kodo_bucket'], $pathname); - if ($err) { - $this->error = $err; - return false; - } - - return true; - } - - /** - * 删除多个文件 - * - * @param array $list - * @return bool|mixed - */ - public function deletes(array $list) - { - $ops = $this->bucketMgr->buildBatchDelete($this->options['kodo_bucket'], $list); - list($ret, $err) = $this->bucketMgr->batch($ops); - if ($err) { - $this->error = $err; - return false; - } - return true; - } - - public function getError() - { - return 'Kodo:' . $this->error; - } -} diff --git a/extend/strategy/driver/Local.php b/extend/strategy/driver/Local.php deleted file mode 100644 index 3c57679a..00000000 --- a/extend/strategy/driver/Local.php +++ /dev/null @@ -1,132 +0,0 @@ -rootPath = ROOT_PATH; - $this->options = $options; - } - - /** - * 创建本地文件 - * - * @param $pathname 文件路径加文件名 - * @param $file 文件资源路径 - * - * @return bool - */ - public function create($pathname, $file) - { - $path = $this->rootPath . dirname($pathname) . DIRECTORY_SEPARATOR; - if (true === $this->checkPath($path)) { - if (rename($file, $pathname)) { - return true; - } - } - $this->error = '文件移动失败'; - - return false; - } - - /** - * 删除本地文件 - * - * @param $pathname 文件路径加文件名 - * - * @return bool - */ - public function delete($pathname) - { - $delete = @unlink($this->rootPath . ltrim($pathname, DIRECTORY_SEPARATOR)); - if (!$delete) { - $this->error = '文件删除失败'; - } - - return $delete; - } - - /** - * 批量删除本地文件 - * - * @param array $list - * @return bool|mixed - */ - public function deletes(array $list) - { - foreach ($list as $value) { - if (is_string($value)) { - @unlink($this->rootPath . ltrim($value, DIRECTORY_SEPARATOR)); - } - } - - return true; - } - - /** - * 检测目录是否可写,不存在则创建 - * - * @param $path 路径 - * - * @return bool - */ - protected function checkPath($path) - { - if (is_dir($path)) { - return true; - } - - if (mkdir($path, 0755, true)) { - return true; - } - $this->error = '目录[' . $path . ']无写入权限'; - - return false; - } - - public function getError() - { - return 'Local:' . $this->error; - } -} diff --git a/extend/strategy/driver/Oss.php b/extend/strategy/driver/Oss.php deleted file mode 100644 index 46876f61..00000000 --- a/extend/strategy/driver/Oss.php +++ /dev/null @@ -1,127 +0,0 @@ -options = $options; - try { - $this->oss = new OssClient( - $this->options['oss_access_key_id'], - $this->options['oss_access_key_secret'], - $this->options['oss_endpoint'], - false, - null, - null - ); - } catch (OssException $e) { - $this->error = $e->getMessage(); - } - } - - /** - * 创建文件 - * - * @param $pathname - * @param $file - * - * @return bool - */ - public function create($pathname, $file) - { - try { - $this->oss->uploadFile($this->options['oss_bucket'], $pathname, $file); - } catch (OssException $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除文件 - * - * @param $pathname - * - * @return bool - */ - public function delete($pathname) - { - try { - $this->oss->deleteObject($this->options['oss_bucket'], $pathname); - } catch (OssException $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除多个文件 - * - * @param array $list - * @return bool|mixed - */ - public function deletes(array $list) - { - try { - $this->oss->deleteObjects($this->options['oss_bucket'], $list); - } catch (OssException $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - public function getError() - { - return 'Oss:' . $this->error; - } -} \ No newline at end of file diff --git a/extend/strategy/driver/Remote.php b/extend/strategy/driver/Remote.php deleted file mode 100644 index 9a1adf32..00000000 --- a/extend/strategy/driver/Remote.php +++ /dev/null @@ -1,130 +0,0 @@ - - * Date: 2019/10/31 - * Time: 9:39 上午 - * Link: https://github.com/wisp-x - */ - -namespace strategy\driver; - -use FtpClient\FtpException; -use strategy\Driver; - -class Remote implements Driver -{ - private $ftp; - - private $error; - - public function __construct($options = []) - { - try { - $this->ftp = new \FtpClient\FtpClient(); - $this->ftp->connect($options['remote_host'], false, $options['remote_port']); - $this->ftp = $this->ftp->login($options['remote_name'], $options['remote_password']); - $this->ftp->pasv($options['remote_pasv'] ? true : false); - } catch (FtpException $e) { - $this->error = $e->getMessage(); - } - } - - /** - * 创建文件 - * - * @param $pathname - * @param $file - * - * @return mixed - */ - public function create($pathname, $file) - { - if (!$this->check()) return false; - - try { - $dirname = dirname($pathname); - if (!$this->ftp->isDir($dirname)) { - if (!$this->ftp->mkdir($dirname, true)) { - throw new FtpException('文件夹创建失败!'); - } - } - if (!$this->ftp->put($pathname, $file, FTP_BINARY)) { - throw new FtpException('上传失败'); - } - } catch (FtpException $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除单个文件 - * - * @param $pathname - * - * @return mixed - */ - public function delete($pathname) - { - if (!$this->check()) return false; - - try { - if (!$this->ftp->remove($pathname, true)) { - throw new FtpException('删除失败'); - } - } catch (FtpException $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除多个文件 - * - * @param array $list 一维数组 - * - * @return mixed - */ - public function deletes(array $list) - { - if (!$this->check()) return false; - - try { - foreach ($list as $item) { - if (!$this->ftp->remove($item, true)) { - throw new FtpException('删除失败'); - } - } - } catch (FtpException $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 获取出错信息 - * - * @return mixed - */ - public function getError() - { - return 'Remote:' . $this->error; - } - - private function check() - { - if (!extension_loaded('ftp')) { - $this->error = 'php_ftp 拓展未开启'; - return false; - } - - return true; - } -} diff --git a/extend/strategy/driver/Uss.php b/extend/strategy/driver/Uss.php deleted file mode 100644 index 26c85590..00000000 --- a/extend/strategy/driver/Uss.php +++ /dev/null @@ -1,128 +0,0 @@ -options = $options; - try { - $serviceConfig = new \Upyun\Config( - $this->options['uss_service_name'], - $this->options['uss_operator_name'], - $this->options['uss_operator_pwd'] - ); - $this->uss = new \Upyun\Upyun($serviceConfig); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - } - } - - /** - * 创建文件 - * - * @param $pathname - * @param $file - * - * @return bool - */ - public function create($pathname, $file) - { - try { - $this->uss->write($pathname, fopen($file, 'r')); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除文件 - * - * @param $pathname - * - * @return bool - */ - public function delete($pathname) - { - try { - $this->uss->delete($pathname); - } catch (\Exception $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - /** - * 删除多个文件 - * - * @param array $list - * @return bool|mixed - */ - public function deletes(array $list) - { - try { - foreach ($list as $value) { - if (is_string($value)) { - // 异步删除 - $this->uss->delete($value, true); - } - } - } catch (\Exception $e) { - $this->error = $e->getMessage(); - return false; - } - - return true; - } - - public function getError() - { - return 'Uss:' . $this->error; - } -} diff --git a/package.json b/package.json new file mode 100644 index 00000000..00c65067 --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "private": true, + "scripts": { + "dev": "npm run development", + "development": "mix", + "watch": "mix watch", + "watch-poll": "mix watch -- --watch-options-poll=1000", + "hot": "mix watch --hot", + "prod": "npm run production", + "production": "mix --production" + }, + "devDependencies": { + "axios": "^0.21", + "laravel-mix": "^6.0.6", + "lodash": "^4.17.19", + "postcss": "^8.1.14" + } +} diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 00000000..4ae4d979 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,31 @@ + + + + + ./tests/Unit + + + ./tests/Feature + + + + + ./app + + + + + + + + + + + + + + diff --git a/public/.htaccess b/public/.htaccess index 220826a5..3aec5e27 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,8 +1,21 @@ - Options +FollowSymlinks -Multiviews - RewriteEngine On + + Options -MultiViews -Indexes + - RewriteCond %{REQUEST_FILENAME} !-d - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ index.php?s=/$1 [QSA,PT,L] + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] diff --git a/public/favicon.ico b/public/favicon.ico index cf80eb9e..e69de29b 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/index.php b/public/index.php index 05fa682c..002ee24d 100644 --- a/public/index.php +++ b/public/index.php @@ -1,21 +1,55 @@ -// +---------------------------------------------------------------------- -// [ 应用入口文件 ] -namespace think; +use Illuminate\Contracts\Http\Kernel; +use Illuminate\Http\Request; -define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); +define('LARAVEL_START', microtime(true)); -// 加载基础文件 -require __DIR__ . '/../thinkphp/base.php'; +/* +|-------------------------------------------------------------------------- +| Check If The Application Is Under Maintenance +|-------------------------------------------------------------------------- +| +| If the application is in maintenance / demo mode via the "down" command +| we will load this file so that any pre-rendered content can be shown +| instead of starting the framework, which could cause an exception. +| +*/ -// 执行应用并响应 -Container::get('app')->bind('index')->run()->send(); +if (file_exists(__DIR__.'/../storage/framework/maintenance.php')) { + require __DIR__.'/../storage/framework/maintenance.php'; +} + +/* +|-------------------------------------------------------------------------- +| Register The Auto Loader +|-------------------------------------------------------------------------- +| +| Composer provides a convenient, automatically generated class loader for +| this application. We just need to utilize it! We'll simply require it +| into the script here so we don't need to manually load our classes. +| +*/ + +require __DIR__.'/../vendor/autoload.php'; + +/* +|-------------------------------------------------------------------------- +| Run The Application +|-------------------------------------------------------------------------- +| +| Once we have the application, we can handle the incoming request using +| the application's HTTP kernel. Then, we will send the response back +| to this client's browser, allowing them to enjoy our application. +| +*/ + +$app = require_once __DIR__.'/../bootstrap/app.php'; + +$kernel = $app->make(Kernel::class); + +$response = $kernel->handle( + $request = Request::capture() +)->send(); + +$kernel->terminate($request, $response); diff --git a/public/router.php b/public/router.php deleted file mode 100644 index dfd6ab65..00000000 --- a/public/router.php +++ /dev/null @@ -1,17 +0,0 @@ - -// +---------------------------------------------------------------------- - -if (is_file($_SERVER["DOCUMENT_ROOT"].$_SERVER["SCRIPT_NAME"])) { - return false; -} else { - require __DIR__."/index.php"; -} \ No newline at end of file diff --git a/public/static/app/css/app.css b/public/static/app/css/app.css deleted file mode 100644 index 49f044d0..00000000 --- a/public/static/app/css/app.css +++ /dev/null @@ -1,685 +0,0 @@ -*, -*:before, -*:after { - box-sizing: border-box; -} -a { - color: #03A9F4; -} -a, -a:hover, -a:active, -a:focus { - text-decoration: none; -} -a:focus { - outline-style: none; -} -audio, -body, -caption, -div, -footer, -form, -h1, -h2, -h3, -h4, -h5, -h6, -header, -html, -iframe, -label, -legend, -li, -main, -mark, -menu, -nav, -ol, -p, -section, -span, -summary, -table, -textarea, -time, -ul, -video { - padding: 0; - margin: 0; - border: 0; - outline: 0 none; -} -html { - position: relative; - min-height: 100%; -} -html, -body { - width: 100%; - margin: 0; - padding: 0; -} -body { - margin-bottom: 60px; - overflow-x: hidden; -} -.mdui-drawer-body-left footer { - width: calc(100% - 240px); -} -.mdui-tab a, -.mdui-btn, -.mdui-fab { - text-transform: capitalize; -} -main { - position: relative; - top: 0; - left: 0; - right: 0; - margin: 1.7rem 0; -} -main .login-container, -main .register-container { - margin-top: 4rem; - margin-bottom: 4rem; -} -main .upload-container .title { - margin: 1rem 0; -} -main .upload-container .title h1 { - font-weight: 300; - font-size: 2rem; - text-shadow: -5px 5px 0 rgba(0, 0, 0, 0.1); -} -main .upload-container .title p { - margin-top: 1rem; - font-size: 0.8rem; - color: #999; -} -main .upload-container .success-info { - margin-top: 1rem; - width: 0; -} -main .upload-container .success-info .mdui-tab a { - text-transform: inherit; -} -main .upload-container .success-info ul { - list-style: none; -} -main .upload-container .success-info ul li { - position: relative; - margin-top: 0.5rem; - padding: 0.8rem; - border: 1px solid #dadada; - background-color: #f7f7f7; - font-size: 14px; - color: #555; - white-space: pre-wrap; - word-break: break-all; - word-wrap: break-word; - border-radius: 0; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; -} -main .upload-container .success-info ul li i.icon-copy { - display: none; -} -main .upload-container .success-info ul li:hover i.icon-copy { - display: block; - position: absolute; - top: 4px; - font-size: 25px; - right: 10px; - color: #00b0ff; - cursor: pointer; -} -main .console-container .mdui-table td, -main .console-container .mdui-table th { - padding: 12px 28px; -} -main .console-container div.item i.mdui-icon { - float: left; - font-size: 3.7rem; -} -main .console-container div.item > div { - border-radius: 3px; -} -main .console-container div.item > div p { - margin-bottom: 25px; -} -main .system-container .mdui-textfield-label { - pointer-events: inherit; -} -main .system-container .mdui-textfield { - overflow: inherit; -} -main .images-container #info .mdui-dialog-content { - word-break: break-all; - word-wrap: break-word; -} -main .images-container #info .mdui-btn-group .mdui-btn { - margin-left: 0; - min-width: inherit; -} -main .images-container #info img.qrcode { - text-align: center; - margin-top: 0.4rem; -} -main .images-container #info .mdui-dialog-content { - padding-bottom: 0; -} -main .images-container #info table { - width: 100%; -} -main .images-container #info table tbody tr td[align="right"] { - width: 50px; - color: #998; -} -main .images-container .box { - min-height: 10rem; -} -main .images-container .folders-box .item, -main .images-container .images-box .item { - position: relative; - padding: 2rem 0.4rem 0.4rem; - text-align: center; - width: 100%; - height: auto; - transition: all 0.1s; - border: 1px solid transparent; - margin-top: 1rem; -} -main .images-container .folders-box .item i.iconfont, -main .images-container .images-box .item i.iconfont { - display: none; - position: absolute; - cursor: pointer; - font-size: 19px; -} -main .images-container .folders-box .item i.icon-choice, -main .images-container .images-box .item i.icon-choice { - top: 5px; - left: 5px; - color: #cecece; -} -main .images-container .folders-box .item i.icon-choice:hover, -main .images-container .images-box .item i.icon-choice:hover { - color: #999; -} -main .images-container .folders-box .item i.icon-info, -main .images-container .images-box .item i.icon-info { - top: 5px; - right: 5px; - color: #129cff; -} -main .images-container .folders-box .item:hover, -main .images-container .images-box .item:hover { - background-color: #ebebeb; -} -main .images-container .folders-box .item.choice, -main .images-container .images-box .item.choice { - background: rgba(204, 232, 255, 0.5); - border: 1px solid rgba(153, 209, 255, 0.57); -} -main .images-container .folders-box .item.choice i.icon-choice, -main .images-container .images-box .item.choice i.icon-choice { - display: block; - color: #3b8cff; -} -main .images-container .folders-box .item:hover i.icon-choice, -main .images-container .images-box .item:hover i.icon-choice, -main .images-container .folders-box .item.choice i.icon-choice, -main .images-container .images-box .item.choice i.icon-choice, -main .images-container .folders-box .item:hover i.icon-info, -main .images-container .images-box .item:hover i.icon-info, -main .images-container .folders-box .item.choice i.icon-info, -main .images-container .images-box .item.choice i.icon-info { - display: block; -} -main .images-container .folders-box .item .info, -main .images-container .images-box .item .info { - cursor: pointer; - height: 90px; - overflow: hidden; - display: block; - text-align: center; - vertical-align: middle; -} -main .images-container .folders-box .item .info img, -main .images-container .images-box .item .info img { - max-height: 100%; - max-width: 100%; - border-radius: 0; - position: relative; - top: 50%; - transform: translateY(-50%); -} -main .images-container .folders-box .item .info.image img, -main .images-container .images-box .item .info.image img { - -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); - box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); -} -main .images-container .folders-box .item p.name, -main .images-container .images-box .item p.name { - color: #555; - cursor: default; - text-align: center; - word-break: break-all; - font-size: 12px; - margin: 0.3rem auto; - line-height: 1.5em; - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 3; -} -main .mdui-textfield .captcha { - position: absolute; - top: 34px; - right: 0; - bottom: 0; - width: 140px; - cursor: pointer; -} -main ul.breadcrumb { - display: block; - flex-wrap: wrap; - padding: 0.65rem 1rem; - margin-bottom: 0.5rem; - list-style: none; - background-color: #e9ecef; - border-radius: 0.2rem; - font-size: 13px; -} -main ul.breadcrumb li { - display: inline-block; -} -main ul.breadcrumb li + li { - padding-left: 0.2rem; -} -main ul.breadcrumb li + li:before { - display: inline-block; - padding-right: 0.2rem; - color: #6c757d; - content: "/"; -} -main ul.breadcrumb li a { - cursor: pointer; -} -main ul.breadcrumb li.active a { - cursor: default; - color: #6c757d; -} -main .mdui-table td, -main .mdui-table th { - padding: 7px 10px; -} -main .mask { - position: absolute; - top: -1px; - left: -1px; - right: -1px; - bottom: -1px; - background: rgba(255, 255, 255, 0.47058824); - z-index: 99; -} -main .mask .content { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 100; -} -.krajee-default .file-footer-caption { - margin-bottom: 28px; -} -.krajee-default .file-thumb-progress .progress, -.krajee-default .file-thumb-progress .progress-bar { - height: 20px; - font-size: 12px; -} -.file-input { - font-size: 1rem; -} -.file-input .file-preview { - border: none; - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13); -} -.file-input .file-preview .fileinput-remove { - top: 6px; - right: 6px; -} -.file-input .file-preview .file-drop-zone-title { - font-size: 1.2em; -} -.file-input .file-preview .file-preview-thumbnails .krajee-default.file-preview-frame { - border: 2px solid transparent; - transition: all 0.3s; - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13); -} -.file-input .file-preview .file-preview-thumbnails .krajee-default.file-preview-frame.hover { - border: 2px solid red; -} -.file-input .file-preview .kv-fileinput-error ul { - list-style: none; -} -.file-input .file-caption-main .form-control { - box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13); - border: none; - height: 40px; - padding: 8px 18px; -} -.file-input .file-caption-main .form-control:focus { - z-index: 0; -} -.file-input .file-caption-main .btn { - padding: 8px 18px; - border: 0; -} -.file-input .file-caption-main .btn:first-child { - border-left: 1px solid #e2e2e2; -} -.file-input .file-caption-main .btn:last-child { - margin-right: -1px; -} -.file-input .file-caption-main .btn-file { - border-color: #2383eb; - background-color: #2383eb; -} -.file-input .file-caption-main .input-group-append { - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13); -} -.file-input .file-caption-main .input-group-append .btn { - box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13); -} -.file-input .file-caption-main .file-caption .file-caption-name { - font-size: 90%; -} -.file-zoom-fullscreen.modal { - z-index: 999999; -} -.mdui-tab-scrollable { - padding-left: 0; -} -.mdui-table-fluid { - box-shadow: 0 0 10px 0 rgba(45, 45, 45, 0.13); - border-radius: 5px; - border: none; -} -.mdui-btn-raised { - box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} -.panel { - padding: 0; - overflow: hidden; - white-space: normal; - word-break: break-all; - box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.13); - border-radius: 0.5rem; -} -.panel .panel-header { - padding: 1rem; -} -.panel .panel-body { - border-top: 1px solid #f1f1f1; - border-bottom: 1px solid #f1f1f1; - padding: 1rem; -} -.panel .panel-body-box { - border-top: 1px solid #f1f1f1; - padding: 1rem; - border-bottom-left-radius: 0.5rem; - border-bottom-right-radius: 0.5rem; -} -.panel .panel-footer { - padding: 1rem; -} -.error-box { - border: none; - margin: 0; -} -.none { - display: none; -} -#loading-container { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - display: none; -} -#loading-container .mask { - position: absolute; - width: 100%; - z-index: 9999; -} -#loading-container .loading { - position: absolute; - top: 5rem; - right: 1rem; - z-index: 10000; -} -.panel-box { - overflow: hidden; - white-space: normal; - word-break: break-all; - box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.13); - border-radius: 0.5rem; - padding: 1rem; -} -#menu .quota-container { - position: absolute; - left: 50%; - bottom: 2rem; - text-align: left; - transform: translateX(-50%); -} -#menu .quota-container progress { - background-color: #f6f6f6; - display: inline; - height: 0.5rem; -} -#menu .quota-container progress::-webkit-progress-bar { - background-color: #e0eaf0; -} -#menu .quota-container progress::-webkit-progress-value { - background-color: #1abc9c; -} -#menu .quota-container progress::-moz-progress-bar { - background-color: #e0eaf0; -} -#menu .quota-container progress::-moz-progress-value { - background-color: #708d9b; -} -#fab-buttons.mdui-fab-wrapper { - margin-bottom: 4rem; -} -#search-form .search-input { - display: inline-block; - padding-bottom: 0.6rem; - width: 140px; -} -footer { - position: absolute; - bottom: 0; - width: 100%; - height: 60px; - line-height: 60px; - color: #999; - text-align: left; - background-color: #f5f5f5; - z-index: -1; -} -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} -.pagination > li { - display: inline; -} -.pagination > li > a, -.pagination > li > span { - position: relative; - float: left; - text-decoration: none; - color: #00b5ad; - background-color: #fff; - border: 1px solid #ddd; - margin-left: -1px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; -} -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; -} -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; -} -.pagination > li > a:hover, -.pagination > li > a:focus, -.pagination > li > span:hover, -.pagination > li > span:focus { - z-index: 2; - color: #22ddde; - background-color: #eeeeee; - border-color: #ddd; -} -.pagination > .active > a, -.pagination > .active > a:hover, -.pagination > .active > a:focus, -.pagination > .active > span, -.pagination > .active > span:hover, -.pagination > .active > span:focus { - z-index: 3; - color: #e4e4e4; - background-color: transparent; - border-color: #e4e4e4; - cursor: default; -} -.pagination > .disabled > span, -.pagination > .disabled > span:hover, -.pagination > .disabled > span:focus, -.pagination > .disabled > a, -.pagination > .disabled > a:hover, -.pagination > .disabled > a:focus { - color: #777777; - background-color: #fff; - border-color: #ddd; - cursor: not-allowed; -} -body.mdui-theme-layout-dark .markdown-body { - color: #eaeaea; -} -body.mdui-theme-layout-dark .markdown-body a { - color: #64adff; -} -body.mdui-theme-layout-dark .markdown-body img { - background-color: rgba(0, 0, 0, 0); -} -body.mdui-theme-layout-dark .markdown-body .highlight pre, -body.mdui-theme-layout-dark .markdown-body pre { - background-color: #585858; -} -body.mdui-theme-layout-dark .markdown-body table tr { - background-color: #4c4c4c; -} -body.mdui-theme-layout-dark .markdown-body table tr:nth-child(2n) { - background-color: #5d5d5d; -} -body.mdui-theme-layout-dark .pagination > .disabled > span, -body.mdui-theme-layout-dark .pagination > .disabled > span:hover, -body.mdui-theme-layout-dark .pagination > .disabled > span:focus, -body.mdui-theme-layout-dark .pagination > .disabled > a, -body.mdui-theme-layout-dark .pagination > .disabled > a:hover, -body.mdui-theme-layout-dark .pagination > .disabled > a:focus, -body.mdui-theme-layout-dark .pagination > li > a, -body.mdui-theme-layout-dark .pagination > li > span { - background-color: #2b2b2b; -} -body.mdui-theme-layout-dark .mdui-btn, -body.mdui-theme-layout-dark .mdui-theme-accent-indigo .mdui-dialog-actions .mdui-btn { - color: white !important; -} -body.mdui-theme-layout-dark main .mask { - background-color: rgba(47, 45, 45, 0.47058824); -} -body.mdui-theme-layout-dark main .mask .content .mdui-color-white { - color: white !important; - background-color: rgba(76, 76, 76, 0.78) !important; -} -body.mdui-theme-layout-dark main .images-container .folders-box .item p.name, -body.mdui-theme-layout-dark main .images-container .images-box .item p.name { - color: #a0a0a0; -} -body.mdui-theme-layout-dark main .images-container .folders-box .item:hover, -body.mdui-theme-layout-dark main .images-container .images-box .item:hover { - background-color: #212121; -} -body.mdui-theme-layout-dark main ul.breadcrumb { - background-color: #3e3e3e; -} -body.mdui-theme-layout-dark main ul.breadcrumb li.active a { - color: #c3c3c3; -} -body.mdui-theme-layout-dark main .upload-container .success-info ul li { - border: 1px solid #888888; - background-color: #303030; - color: #d4d4d4; -} -body.mdui-theme-layout-dark footer { - background-color: #303030; -} -body.mdui-theme-layout-dark .modal-content { - background-color: #333; -} -body.mdui-theme-layout-dark .file-input .file-preview { - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2); -} -body.mdui-theme-layout-dark .file-input .file-caption-main .btn:first-child { - border-left: 0; -} -body.mdui-theme-layout-dark .file-input .file-caption-main .form-control { - color: #bababa; - background-color: #303030; - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2); -} -body.mdui-theme-layout-dark .file-input .file-caption-main .form-control .file-caption-name { - color: #c1c1c1; -} -@media (max-width: 768px) { - body { - margin-bottom: 120px; - } - .krajee-default.file-preview-frame { - width: 95%; - } - .krajee-default.file-preview-frame .kv-file-content { - width: 100%; - height: 100%; - } - #loading-container .loading { - top: 4.5rem; - } - main .images-container #info img.qrcode { - width: 150px; - } - footer { - height: auto; - width: 100% !important; - line-height: 1.666; - padding: 1rem 0; - } -} -/*# sourceMappingURL=app.css.map */ \ No newline at end of file diff --git a/public/static/app/css/app.css.map b/public/static/app/css/app.css.map deleted file mode 100644 index 5a2284a1..00000000 --- a/public/static/app/css/app.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["app.less"],"names":[],"mappings":"AAAA;AAAG,CAAC;AAAS,CAAC;EACZ,sBAAA;;AAGF;EACE,cAAA;;AAGF;AAAG,CAAC;AAAQ,CAAC;AAAS,CAAC;EACrB,qBAAA;;AAGF,CAAC;EACC,mBAAA;;AAGF;AAAO;AAAM;AAAS;AAAK;AAAQ;AAAM;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAQ;AAAM;AAAQ;AAAO;AAAQ;AAAI;AAAM;AAAM;AAAM;AAAK;AAAI;AAAG;AAAS;AAAM;AAAS;AAAO;AAAU;AAAM;AAAI;EACzL,UAAA;EACA,SAAA;EACA,SAAA;EACA,eAAA;;AAGF;EACE,kBAAA;EACA,gBAAA;;AAGF;AAAM;EACJ,WAAA;EACA,SAAA;EACA,UAAA;;AAGF;EACE,mBAAA;EACA,kBAAA;;AAGF,sBACE;EACE,OAAO,kBAAP;;AAIJ,SAAU;AAAG;AAAW;EACtB,0BAAA;;AAGF;EACE,kBAAA;EACA,MAAA;EACA,OAAA;EACA,QAAA;EACA,gBAAA;;AALF,IAOE;AAPF,IAOoB;EAChB,gBAAA;EACA,mBAAA;;AATJ,IAYE,kBACE;EACE,cAAA;;AAdN,IAYE,kBACE,OAGE;EACE,gBAAA;EACA,eAAA;EACA,0CAAA;;AAnBR,IAYE,kBACE,OASE;EACE,gBAAA;EACA,iBAAA;EACA,WAAA;;AAzBR,IAYE,kBAiBE;EACE,gBAAA;EACA,QAAA;;AA/BN,IAYE,kBAiBE,cAIE,UAAU;EACR,uBAAA;;AAlCR,IAYE,kBAiBE,cAQE;EACE,gBAAA;;AAtCR,IAYE,kBAiBE,cAQE,GAGE;EACE,kBAAA;EACA,kBAAA;EACA,eAAA;EACA,yBAAA;EACA,yBAAA;EACA,eAAA;EACA,WAAA;EACA,qBAAA;EACA,qBAAA;EACA,qBAAA;EACA,gBAAA;EACA,sCAAsC,wBAAtC;;AApDV,IAYE,kBAiBE,cAQE,GAGE,GAcE,EAAC;EACC,aAAA;;AAGF,IA9CR,kBAiBE,cAQE,GAGE,GAkBG,MACC,EAAC;EACC,cAAA;EACA,kBAAA;EACA,QAAA;EACA,eAAA;EACA,WAAA;EACA,cAAA;EACA,eAAA;;AAlEd,IA2EE,mBACE,YAAY;AA5EhB,IA2EE,mBACkB,YAAY;EAC1B,kBAAA;;AA7EN,IA2EE,mBAKE,IAAG,KACD,EAAC;EACC,WAAA;EACA,iBAAA;;AAGF,IAXJ,mBAKE,IAAG,KAMC;EACA,kBAAA;;AADF,IAXJ,mBAKE,IAAG,KAMC,MAGA;EACE,mBAAA;;AA1FV,IAiGE,kBACE;EACE,uBAAA;;AAnGN,IAiGE,kBAKE;EACE,iBAAA;;AAvGN,IA4GE,kBACE,MACE;EACE,qBAAA;EACA,qBAAA;;AAhHR,IA4GE,kBACE,MAME,gBACE;EACE,cAAA;EACA,kBAAA;;AAtHV,IA4GE,kBACE,MAaE,IAAG;EACD,kBAAA;EACA,kBAAA;;AA5HR,IA4GE,kBACE,MAkBE;EACE,iBAAA;;AAhIR,IA4GE,kBACE,MAsBE;EACE,WAAA;;AAKM,IA7BZ,kBACE,MAsBE,MAGE,MACE,GACE,GACG;EACC,WAAA;EACA,WAAA;;AA3IhB,IA4GE,kBA0CE;EACE,iBAAA;;AAvJN,IA4GE,kBA8CE,aACE;AA3JN,IA4GE,kBA8CgB,YACZ;EACE,kBAAA;EACA,2BAAA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;EACA,oBAAA;EACA,6BAAA;EACA,gBAAA;;AAnKR,IA4GE,kBA8CE,aACE,MAUE,EAAC;AArKT,IA4GE,kBA8CgB,YACZ,MAUE,EAAC;EACC,aAAA;EACA,kBAAA;EACA,eAAA;EACA,eAAA;;AAzKV,IA4GE,kBA8CE,aACE,MAkBE,EAAC;AA7KT,IA4GE,kBA8CgB,YACZ,MAkBE,EAAC;EACC,QAAA;EACA,SAAA;EACA,cAAA;;AAEA,IAtER,kBA8CE,aACE,MAkBE,EAAC,YAKE;AAAD,IAtER,kBA8CgB,YACZ,MAkBE,EAAC,YAKE;EACC,WAAA;;AAnLZ,IA4GE,kBA8CE,aACE,MA6BE,EAAC;AAxLT,IA4GE,kBA8CgB,YACZ,MA6BE,EAAC;EACC,QAAA;EACA,UAAA;EACA,cAAA;;AAGF,IAlFN,kBA8CE,aACE,MAmCG;AAAD,IAlFN,kBA8CgB,YACZ,MAmCG;EACC,yBAAA;;AAGF,IAtFN,kBA8CE,aACE,MAuCG;AAAD,IAtFN,kBA8CgB,YACZ,MAuCG;EACC,oCAAA;EACA,2CAAA;;AAFF,IAtFN,kBA8CE,aACE,MAuCG,OAIC,EAAC;AAJH,IAtFN,kBA8CgB,YACZ,MAuCG,OAIC,EAAC;EACC,cAAA;EACA,cAAA;;AAIJ,IAhGN,kBA8CE,aACE,MAiDG,MACC,EAAC;AADH,IAhGN,kBA8CgB,YACZ,MAiDG,MACC,EAAC;AADM,IAhGf,kBA8CE,aACE,MAiDY,OACR,EAAC;AADM,IAhGf,kBA8CgB,YACZ,MAiDY,OACR,EAAC;AADH,IAhGN,kBA8CE,aACE,MAiDG,MACgB,EAAC;AADlB,IAhGN,kBA8CgB,YACZ,MAiDG,MACgB,EAAC;AADT,IAhGf,kBA8CE,aACE,MAiDY,OACO,EAAC;AADT,IAhGf,kBA8CgB,YACZ,MAiDY,OACO,EAAC;EACd,cAAA;;AA9MZ,IA4GE,kBA8CE,aACE,MAuDE;AAlNR,IA4GE,kBA8CgB,YACZ,MAuDE;EACE,eAAA;EACA,YAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,sBAAA;;AAxNV,IA4GE,kBA8CE,aACE,MAuDE,MAQE;AA1NV,IA4GE,kBA8CgB,YACZ,MAuDE,MAQE;EACE,gBAAA;EACA,eAAA;EACA,gBAAA;EACA,kBAAA;EACA,QAAA;EACA,WAAW,gBAAX;;AAGF,IAvHR,kBA8CE,aACE,MAuDE,MAiBG,MACC;AADF,IAvHR,kBA8CgB,YACZ,MAuDE,MAiBG,MACC;EACE,kDAAA;EACA,+CAAA;EACA,0CAAA;;AAvOd,IA4GE,kBA8CE,aACE,MAiFE,EAAC;AA5OT,IA4GE,kBA8CgB,YACZ,MAiFE,EAAC;EACC,WAAA;EACA,eAAA;EACA,kBAAA;EACA,qBAAA;EACA,eAAA;EACA,mBAAA;EACA,kBAAA;EAEA,gBAAA;EACA,oBAAA;EACA,4BAAA;EACA,qBAAA;;AAxPV,IA8PE,gBACE;EACE,kBAAA;EACA,SAAA;EACA,QAAA;EACA,SAAA;EACA,YAAA;EACA,eAAA;;AArQN,IAyQE,GAAE;EACA,cAAA;EACA,eAAA;EACA,qBAAA;EACA,qBAAA;EACA,gBAAA;EACA,yBAAA;EACA,qBAAA;EACA,eAAA;;AAjRJ,IAyQE,GAAE,WAUA;EACE,qBAAA;;AAEA,IAbJ,GAAE,WAUA,GAGI;EACA,oBAAA;;AAEA,IAhBN,GAAE,WAUA,GAGI,KAGC;EACC,qBAAA;EACA,qBAAA;EACA,cAAA;EACA,SAAS,GAAT;;AA7RV,IAyQE,GAAE,WAUA,GAcE;EACE,eAAA;;AAGF,IA5BJ,GAAE,WAUA,GAkBG,OACC;EACE,eAAA;EACA,cAAA;;AAxSV,IA8SE,YAAY;AA9Sd,IA8SkB,YAAY;EAC1B,iBAAA;;AA/SJ,IAkTE;EACE,kBAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,2CAAA;EACA,WAAA;;AAzTJ,IAkTE,MASE;EACE,kBAAA;EACA,QAAA;EACA,SAAA;EACA,WAAW,qBAAX;EACA,YAAA;;AAMN,eACE;EACE,mBAAA;;AAFJ,eAKE,qBACE;AANJ,eAKE,qBACa;EACT,YAAA;EACA,eAAA;;AAKN;EACE,eAAA;;AADF,WAKE;EACE,YAAA;EACA,0CAAA;;AAPJ,WAKE,cAIE;EACE,QAAA;EACA,UAAA;;AAXN,WAKE,cASE;EACE,gBAAA;;AAfN,WAKE,cAaE,yBACE,gBAAe;EACb,6BAAA;EACA,oBAAA;EACA,0CAAA;;AAEA,WAnBN,cAaE,yBACE,gBAAe,mBAKZ;EACC,qBAAA;;AAzBV,WAKE,cAyBE,oBACE;EACE,gBAAA;;AAhCR,WAqCE,mBACE;EACE,4CAAA;EACA,YAAA;EACA,YAAA;EACA,iBAAA;;AAEA,WAPJ,mBACE,cAMG;EACC,UAAA;;AA7CR,WAqCE,mBAYE;EACE,iBAAA;EACA,SAAA;;AAEA,WAhBJ,mBAYE,KAIG;EACC,8BAAA;;AAGF,WApBJ,mBAYE,KAQG;EACC,kBAAA;;AA1DR,WAqCE,mBAyBE;EACE,qBAAA;EACA,yBAAA;;AAhEN,WAqCE,mBA8BE;EACE,0CAAA;;AApEN,WAqCE,mBA8BE,oBAGE;EACE,4CAAA;;AAvER,WAqCE,mBAsCE,cAAc;EACZ,cAAA;;AAMN,qBAAqB;EACnB,eAAA;;AAIF;EACE,eAAA;;AAGF;EACE,6CAAA;EACA,kBAAA;EACA,YAAA;;AAGF;EACE,+GAAA;;AAGF;EAIE,UAAA;EACA,gBAAA;EACA,mBAAA;EACA,qBAAA;EACA,0CAAA;EACA,qBAAA;;AATF,MAWE;EACE,aAAA;;AAZJ,MAeE;EACE,6BAAA;EACA,gCAAA;EACA,aAAA;;AAlBJ,MAqBE;EACE,6BAAA;EACA,aAAA;EACA,iCAAA;EACA,kCAAA;;AAzBJ,MA4BE;EACE,aAAA;;AAIJ;EACE,YAAA;EACA,SAAA;;AAGF;EACE,aAAA;;AAGF;EACE,eAAA;EACA,MAAA;EACA,OAAA;EACA,QAAA;EACA,SAAA;EACA,aAAA;;AANF,kBAQE;EACE,kBAAA;EACA,WAAA;EACA,aAAA;;AAXJ,kBAcE;EACE,kBAAA;EACA,SAAA;EACA,WAAA;EACA,cAAA;;AAIJ;EACE,gBAAA;EACA,mBAAA;EACA,qBAAA;EACA,0CAAA;EACA,qBAAA;EACA,aAAA;;AAGF,KACE;EACE,kBAAA;EACA,SAAA;EACA,YAAA;EACA,gBAAA;EACA,WAAW,gBAAX;;AANJ,KACE,iBAOE;EACE,yBAAA;EACA,eAAA;EACA,cAAA;;AAXN,KACE,iBAaE,SAAQ;EACN,yBAAA;;AAfN,KACE,iBAiBE,SAAQ;EACN,yBAAA;;AAnBN,KACE,iBAqBE,SAAQ;EACN,yBAAA;;AAvBN,KACE,iBAyBE,SAAQ;EACN,yBAAA;;AAKN,YAAY;EACV,mBAAA;;AAGF,YACE;EACE,qBAAA;EACA,sBAAA;EACA,YAAA;;AAIJ;EACE,kBAAA;EACA,SAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,WAAA;EACA,gBAAA;EACA,yBAAA;EACA,WAAA;;AAGF;EACE,qBAAA;EACA,eAAA;EACA,cAAA;EACA,kBAAA;;AAGF,WAAY;EACV,eAAA;;AAGF,WAAY,KAAK;AACjB,WAAY,KAAK;EACf,kBAAA;EACA,WAAA;EACA,qBAAA;EACA,cAAA;EACA,sBAAA;EACA,sBAAA;EACA,iBAAA;EACA,iBAAA;EACA,eAAA;EACA,gBAAA;;AAGF,WAAY,KAAI,YAAa;AAC7B,WAAY,KAAI,YAAa;EAC3B,cAAA;EACA,8BAAA;EACA,2BAAA;;AAGF,WAAY,KAAI,WAAY;AAC5B,WAAY,KAAI,WAAY;EAC1B,+BAAA;EACA,4BAAA;;AAGF,WAAY,KAAK,IAAG;AACpB,WAAY,KAAK,IAAG;AACpB,WAAY,KAAK,OAAM;AACvB,WAAY,KAAK,OAAM;EACrB,UAAA;EACA,cAAA;EACA,yBAAA;EACA,kBAAA;;AAGF,WAAY,UAAU;AACtB,WAAY,UAAU,IAAG;AACzB,WAAY,UAAU,IAAG;AACzB,WAAY,UAAU;AACtB,WAAY,UAAU,OAAM;AAC5B,WAAY,UAAU,OAAM;EAC1B,UAAA;EACA,cAAA;EACA,6BAAA;EACA,qBAAA;EACA,eAAA;;AAGF,WAAY,YAAY;AACxB,WAAY,YAAY,OAAM;AAC9B,WAAY,YAAY,OAAM;AAC9B,WAAY,YAAY;AACxB,WAAY,YAAY,IAAG;AAC3B,WAAY,YAAY,IAAG;EACzB,cAAA;EACA,sBAAA;EACA,kBAAA;EACA,mBAAA;;AAIF,IAAI,uBACF;EACE,cAAA;;AAFJ,IAAI,uBACF,eAGE;EACE,cAAA;;AALN,IAAI,uBACF,eAOE;EACE,kCAAA;;AATN,IAAI,uBACF,eAWE,WAAW;AAZf,IAAI,uBACF,eAWkB;EACd,yBAAA;;AAbN,IAAI,uBACF,eAeE,MACE;EACE,yBAAA;;AAEA,IApBJ,uBACF,eAeE,MACE,GAGG,UAAU;EACT,yBAAA;;AArBV,IAAI,uBA2BF,YAAY,YAAY;AA3B1B,IAAI,uBA4BF,YAAY,YAAY,OAAM;AA5BhC,IAAI,uBA6BF,YAAY,YAAY,OAAM;AA7BhC,IAAI,uBA8BF,YAAY,YAAY;AA9B1B,IAAI,uBA+BF,YAAY,YAAY,IAAG;AA/B7B,IAAI,uBAgCF,YAAY,YAAY,IAAG;AAhC7B,IAAI,uBAiCF,YAAY,KAAK;AAjCnB,IAAI,uBAiCoB,YAAY,KAAK;EACrC,yBAAA;;AAlCJ,IAAI,uBAqCF;AArCF,IAAI,uBAqCS,0BAA0B,qBAAqB;EACxD,uBAAA;;AAtCJ,IAAI,uBAyCF,KACE;EACE,8CAAA;;AA3CN,IAAI,uBAyCF,KACE,MAGE,SACE;EACE,uBAAA;EACA,wCAAA;;AAhDV,IAAI,uBAyCF,KAYE,kBACE,aACE,MACE,EAAC;AAxDX,IAAI,uBAyCF,KAYE,kBACgB,YACZ,MACE,EAAC;EACC,cAAA;;AAGF,IA5DN,uBAyCF,KAYE,kBACE,aACE,MAKG;AAAD,IA5DN,uBAyCF,KAYE,kBACgB,YACZ,MAKG;EACC,yBAAA;;AA7DZ,IAAI,uBAyCF,KA0BE,GAAE;EACA,yBAAA;;AApEN,IAAI,uBAyCF,KA0BE,GAAE,WAGA,GAAE,OAAQ;EACR,cAAA;;AAvER,IAAI,uBAyCF,KAkCE,kBACE,cACE,GACE;EACE,yBAAA;EACA,yBAAA;EACA,cAAA;;AAjFZ,IAAI,uBAwFF;EACE,yBAAA;;AAzFJ,IAAI,uBA4FF;EACE,sBAAA;;AA7FJ,IAAI,uBAgGF,YACE;EACE,yCAAA;;AAlGN,IAAI,uBAgGF,YAKE,mBAEE,KAAI;EACF,cAAA;;AAxGR,IAAI,uBAgGF,YAKE,mBAME;EACE,cAAA;EACA,yBAAA;EACA,yCAAA;;AA9GR,IAAI,uBAgGF,YAKE,mBAME,cAKE;EACE,cAAA;;AAaV,QAA0B;EACxB;IACE,oBAAA;;EAGF,eAAe;IACb,UAAA;;EADF,eAAe,mBAGb;IACE,WAAA;IACA,YAAA;;EAIJ,kBACE;IACE,WAAA;;EAIJ,IAEE,kBACE,MACE,IAAG;IACD,YAAA;;EAMR;IACE,YAAA;IACA,sBAAA;IACA,kBAAA;IACA,eAAA","file":"app.css"} \ No newline at end of file diff --git a/public/static/app/css/app.less b/public/static/app/css/app.less deleted file mode 100644 index 159f3a77..00000000 --- a/public/static/app/css/app.less +++ /dev/null @@ -1,860 +0,0 @@ -*, *:before, *:after { - box-sizing: border-box; -} - -a { - color: #03A9F4; -} - -a, a:hover, a:active, a:focus { - text-decoration: none; -} - -a:focus { - outline-style: none; -} - -audio, body, caption, div, footer, form, h1, h2, h3, h4, h5, h6, header, html, iframe, label, legend, li, main, mark, menu, nav, ol, p, section, span, summary, table, textarea, time, ul, video { - padding: 0; - margin: 0; - border: 0; - outline: 0 none; -} - -html { - position: relative; - min-height: 100%; -} - -html, body { - width: 100%; - margin: 0; - padding: 0; -} - -body { - margin-bottom: 60px; - overflow-x: hidden; -} - -.mdui-drawer-body-left { - footer { - width: calc(100% - 240px); - } -} - -.mdui-tab a, .mdui-btn, .mdui-fab { - text-transform: capitalize; -} - -main { - position: relative; - top: 0; - left: 0; - right: 0; - margin: 1.7rem 0; - - .login-container, .register-container { - margin-top: 4rem; - margin-bottom: 4rem; - } - - .upload-container { - .title { - margin: 1rem 0; - - h1 { - font-weight: 300; - font-size: 2rem; - text-shadow: -5px 5px 0 rgba(0, 0, 0, .1); - } - - p { - margin-top: 1rem; - font-size: .8rem; - color: #999; - } - } - - .success-info { - margin-top: 1rem; - width: 0; - - .mdui-tab a { - text-transform: inherit; - } - - ul { - list-style: none; - - li { - position: relative; - margin-top: 0.5rem; - padding: .8rem; - border: 1px solid #dadada; - background-color: #f7f7f7; - font-size: 14px; - color: #555; - white-space: pre-wrap; - word-break: break-all; - word-wrap: break-word; - border-radius: 0; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - - i.icon-copy { - display: none; - } - - &:hover { - i.icon-copy { - display: block; - position: absolute; - top: 4px; - font-size: 25px; - right: 10px; - color: #00b0ff; - cursor: pointer; - } - } - } - } - } - } - - // 控制台 - .console-container { - .mdui-table td, .mdui-table th { - padding: 12px 28px; - } - - div.item { - i.mdui-icon { - float: left; - font-size: 3.7rem; - } - - & > div { - border-radius: 3px; - - p { - margin-bottom: 25px; - } - } - } - } - - // 系统设置 - .system-container { - .mdui-textfield-label { - pointer-events: inherit; - } - - .mdui-textfield { - overflow: inherit; - } - } - - // 我的图片 - .images-container { - #info { - .mdui-dialog-content { - word-break: break-all; - word-wrap: break-word; - } - - .mdui-btn-group { - .mdui-btn { - margin-left: 0; - min-width: inherit; - } - } - - img.qrcode { - text-align: center; - margin-top: .4rem; - } - - .mdui-dialog-content { - padding-bottom: 0; - } - - table { - width: 100%; - - tbody { - tr { - td { - &[align="right"] { - width: 50px; - color: #998; - } - } - } - } - } - } - - .screen-box { - } - - .box { - min-height: 10rem; - } - - .folders-box, .images-box { - .item { - position: relative; - padding: 2rem .4rem .4rem; - text-align: center; - width: 100%; - height: auto; - transition: all .1s; - border: 1px solid transparent; - margin-top: 1rem; - - i.iconfont { - display: none; - position: absolute; - cursor: pointer; - font-size: 19px; - } - - // 选择 - i.icon-choice { - top: 5px; - left: 5px; - color: #cecece; - - &:hover { - color: #999; - } - } - - // 信息 - i.icon-info { - top: 5px; - right: 5px; - color: #129cff; - } - - &:hover { - background-color: #ebebeb; - } - - &.choice { - background: rgba(204, 232, 255, 0.5); - border: 1px solid rgba(153, 209, 255, 0.57); - - i.icon-choice { - display: block; - color: #3b8cff; - } - } - - &:hover, &.choice { - i.icon-choice, i.icon-info { - display: block; - } - } - - .info { - cursor: pointer; - height: 90px; - overflow: hidden; - display: block; - text-align: center; - vertical-align: middle; - - img { - max-height: 100%; - max-width: 100%; - border-radius: 0; - position: relative; - top: 50%; - transform: translateY(-50%); - } - - &.image { - img { - -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); - box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2); - } - } - } - - p.name { - color: #555; - cursor: default; - text-align: center; - word-break: break-all; - font-size: 12px; - margin: .3rem auto; - line-height: 1.5em; - //padding-bottom: 5px; - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 3; - } - } - } - } - - .mdui-textfield { - .captcha { - position: absolute; - top: 34px; - right: 0; - bottom: 0; - width: 140px; - cursor: pointer; - } - } - - ul.breadcrumb { - display: block; - flex-wrap: wrap; - padding: .65rem 1rem; - margin-bottom: .5rem; - list-style: none; - background-color: #e9ecef; - border-radius: .20rem; - font-size: 13px; - - li { - display: inline-block; - - & + li { - padding-left: .2rem; - - &:before { - display: inline-block; - padding-right: .2rem; - color: #6c757d; - content: "/"; - } - } - - a { - cursor: pointer; - } - - &.active { - a { - cursor: default; - color: #6c757d; - } - } - } - } - - .mdui-table td, .mdui-table th { - padding: 7px 10px; - } - - .mask { - position: absolute; - top: -1px; - left: -1px; - right: -1px; - bottom: -1px; - background: rgba(255, 255, 255, 0.47058823529411764); - z-index: 99; - - .content { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 100; - } - } -} - -// 重写fileinput插件样式 -.krajee-default { - .file-footer-caption { - margin-bottom: 28px; - } - - .file-thumb-progress { - .progress, .progress-bar { - height: 20px; - font-size: 12px; - } - } -} - -.file-input { - font-size: 1rem; - @box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13); - @form-control-padding: 8px 18px; - - .file-preview { - border: none; - box-shadow: @box-shadow; - - .fileinput-remove { - top: 6px; - right: 6px; - } - - .file-drop-zone-title { - font-size: 1.2em; - } - - .file-preview-thumbnails { - .krajee-default.file-preview-frame { - border: 2px solid transparent; - transition: all .3s; - box-shadow: @box-shadow; - - &.hover { - border: 2px solid red; - } - } - } - - .kv-fileinput-error { - ul { - list-style: none; - } - } - } - - .file-caption-main { - .form-control { - box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13); - border: none; - height: 40px; - padding: @form-control-padding; - - &:focus { - z-index: 0; - } - } - - .btn { - padding: @form-control-padding; - border: 0; - - &:first-child { - border-left: 1px solid #e2e2e2; - } - - &:last-child { - margin-right: -1px; - } - } - - .btn-file { - border-color: #2383eb; - background-color: #2383eb; - } - - .input-group-append { - box-shadow: @box-shadow; - - .btn { - box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13); - } - } - - .file-caption .file-caption-name { - font-size: 90%; - } - } -} - -// 摸态框全屏 -.file-zoom-fullscreen.modal { - z-index: 999999; -} - -// mdui -.mdui-tab-scrollable { - padding-left: 0; -} - -.mdui-table-fluid { - box-shadow: 0 0 10px 0 rgba(45, 45, 45, 0.13); - border-radius: 5px; - border: none; -} - -.mdui-btn-raised { - box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12); -} - -.panel { - @border-radius: .5rem; - @padding: 1rem; - @border-color: #f1f1f1; - padding: 0; - overflow: hidden; - white-space: normal; - word-break: break-all; - box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.13); - border-radius: @border-radius; - - .panel-header { - padding: @padding; - } - - .panel-body { - border-top: 1px solid @border-color; - border-bottom: 1px solid @border-color; - padding: @padding; - } - - .panel-body-box { - border-top: 1px solid @border-color; - padding: @padding; - border-bottom-left-radius: @border-radius; - border-bottom-right-radius: @border-radius; - } - - .panel-footer { - padding: @padding; - } -} - -.error-box { - border: none; - margin: 0; -} - -.none { - display: none; -} - -#loading-container { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - display: none; - - .mask { - position: absolute; - width: 100%; - z-index: 9999; - } - - .loading { - position: absolute; - top: 5rem; - right: 1rem; - z-index: 10000; - } -} - -.panel-box { - overflow: hidden; - white-space: normal; - word-break: break-all; - box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.13); - border-radius: .5rem; - padding: 1rem; -} - -#menu { - .quota-container { - position: absolute; - left: 50%; - bottom: 2rem; - text-align: left; - transform: translateX(-50%); - - progress { - background-color: #f6f6f6; - display: inline; - height: .5rem; - } - - progress::-webkit-progress-bar { - background-color: #e0eaf0; - } - - progress::-webkit-progress-value { - background-color: #1abc9c; - } - - progress::-moz-progress-bar { - background-color: #e0eaf0; - } - - progress::-moz-progress-value { - background-color: #708d9b; - } - } -} - -#fab-buttons.mdui-fab-wrapper { - margin-bottom: 4rem; -} - -#search-form { - .search-input { - display: inline-block; - padding-bottom: .6rem; - width: 140px; - } -} - -footer { - position: absolute; - bottom: 0; - width: 100%; - height: 60px; - line-height: 60px; - color: #999; - text-align: left; - background-color: #f5f5f5; - z-index: -1; -} - -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} - -.pagination > li { - display: inline; -} - -.pagination > li > a, -.pagination > li > span { - position: relative; - float: left; - text-decoration: none; - color: #00b5ad; - background-color: #fff; - border: 1px solid #ddd; - margin-left: -1px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; -} - -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-bottom-left-radius: 3px; - border-top-left-radius: 3px; -} - -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-bottom-right-radius: 3px; - border-top-right-radius: 3px; -} - -.pagination > li > a:hover, -.pagination > li > a:focus, -.pagination > li > span:hover, -.pagination > li > span:focus { - z-index: 2; - color: #22ddde; - background-color: #eeeeee; - border-color: #ddd; -} - -.pagination > .active > a, -.pagination > .active > a:hover, -.pagination > .active > a:focus, -.pagination > .active > span, -.pagination > .active > span:hover, -.pagination > .active > span:focus { - z-index: 3; - color: #e4e4e4; - background-color: transparent; - border-color: #e4e4e4; - cursor: default; -} - -.pagination > .disabled > span, -.pagination > .disabled > span:hover, -.pagination > .disabled > span:focus, -.pagination > .disabled > a, -.pagination > .disabled > a:hover, -.pagination > .disabled > a:focus { - color: #777777; - background-color: #fff; - border-color: #ddd; - cursor: not-allowed; -} - -// dark 主题 -body.mdui-theme-layout-dark { - .markdown-body { - color: #eaeaea; - - a { - color: #64adff; - } - - img { - background-color: rgba(0, 0, 0, 0); - } - - .highlight pre, pre { - background-color: #585858; - } - - table { - tr { - background-color: #4c4c4c; - - &:nth-child(2n) { - background-color: #5d5d5d; - } - } - } - } - - .pagination > .disabled > span, - .pagination > .disabled > span:hover, - .pagination > .disabled > span:focus, - .pagination > .disabled > a, - .pagination > .disabled > a:hover, - .pagination > .disabled > a:focus, - .pagination > li > a, .pagination > li > span { - background-color: #2b2b2b; - } - - .mdui-btn, .mdui-theme-accent-indigo .mdui-dialog-actions .mdui-btn { - color: white !important; - } - - main { - .mask { - background-color: rgba(47, 45, 45, 0.47058824); - - .content { - .mdui-color-white { - color: white !important; - background-color: rgba(76, 76, 76, 0.78) !important; - } - } - } - - .images-container { - .folders-box, .images-box { - .item { - p.name { - color: #a0a0a0; - } - - &:hover { - background-color: #212121; - } - } - } - } - - ul.breadcrumb { - background-color: #3e3e3e; - - li.active a { - color: #c3c3c3; - } - } - - .upload-container { - .success-info { - ul { - li { - border: 1px solid #888888; - background-color: #303030; - color: #d4d4d4; - } - } - } - } - } - - footer { - background-color: #303030; - } - - .modal-content { - background-color: #333; - } - - .file-input { - .file-preview { - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.20); - } - - .file-caption-main { - - .btn:first-child { - border-left: 0; - } - - .form-control { - color: #bababa; - background-color: #303030; - box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.20); - - .file-caption-name { - color: #c1c1c1; - } - } - } - } -} - -@media (max-width: 1200px) { -} - -@media (max-width: 992px) { -} - -@media (max-width: 768px) { - body { - margin-bottom: 120px; - } - - .krajee-default.file-preview-frame { - width: 95%; - - .kv-file-content { - width: 100%; - height: 100%; - } - } - - #loading-container { - .loading { - top: 4.5rem; - } - } - - main { - // 我的图片 - .images-container { - #info { - img.qrcode { - width: 150px; - } - } - } - } - - footer { - height: auto; - width: 100% !important; - line-height: 1.666; - padding: 1rem 0; - } -} - -@media (max-width: 576px) { - -} diff --git a/public/static/app/css/home.css b/public/static/app/css/home.css deleted file mode 100644 index 55a2b3d6..00000000 --- a/public/static/app/css/home.css +++ /dev/null @@ -1,168 +0,0 @@ -*, -*:before, -*:after { - box-sizing: border-box; -} -a { - color: #03A9F4; -} -a, -a:hover, -a:active, -a:focus { - text-decoration: none; -} -a:focus { - outline-style: none; -} -audio, -body, -caption, -div, -footer, -form, -h1, -h2, -h3, -h4, -h5, -h6, -header, -html, -iframe, -label, -legend, -li, -main, -mark, -menu, -nav, -ol, -p, -section, -span, -summary, -table, -textarea, -time, -ul, -video { - padding: 0; - margin: 0; - border: 0; - outline: 0 none; -} -html { - position: relative; - min-height: 100%; -} -html, -body { - width: 100%; - margin: 0; - padding: 0; -} -body, -body #mask { - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - overflow: hidden; - width: 100%; - height: 100%; - margin: 0 auto; - display: flex; - justify-content: center; - align-items: center; - align-content: center; -} -#bg { - position: absolute; - width: 100%; - height: 100%; - background-image: url("/static/app/images/bg.jpg"); - background-repeat: no-repeat; - background-size: cover; - background-position: center; - filter: blur(0px); - transition: filter 0.5s, background-size 0.5s; -} -#login-btn { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background-color: #35bc9d; - letter-spacing: 2px; - height: 50px; - line-height: 50px; - cursor: pointer; - border-radius: 5px; - color: white; - font-size: 1.3rem; - text-align: center; - padding: 0 2rem; - font-family: inherit; - font-weight: normal; - box-shadow: 0 0 20px 0 rgba(5, 143, 220, 0.33); - z-index: 3; -} -#mask { - opacity: 0.4; - background-color: #1b1f23; - z-index: 1; - transition: all 1s; -} -#login-box { - display: none; - flex-direction: column; - max-width: 500px; - max-height: 300px; - border-radius: 10px; - text-align: center; - padding: 1rem; - background-color: white; - box-shadow: 0 0 20px 0 rgba(186, 186, 186, 0.49); - transition: all 0.7s; - transform: scale(2); - opacity: 0; - z-index: 2; -} -#login-box input { - width: 100%; - border-radius: 20px; - height: 40px; - border: 0; - outline: 0; - padding: 0.8rem; - background-color: #e3e3e3; -} -#login-box input:first-child { - margin-bottom: 10px; -} -#login-box button { - width: 100%; - color: white; - background-color: #1abc9c; - border-radius: 10px; - text-align: center; - height: 35px; - line-height: 35px; - margin-top: 10px; - outline: 0; - border: 0; - cursor: pointer; -} -body.fade #login-box { - opacity: 1; - transform: scale(1.3); -} -body.fade #bg { - filter: blur(2px); -} -body.fade #mask { - opacity: 0.7; -} -/*# sourceMappingURL=home.css.map */ \ No newline at end of file diff --git a/public/static/app/css/home.css.map b/public/static/app/css/home.css.map deleted file mode 100644 index 656fb71c..00000000 --- a/public/static/app/css/home.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["home.less"],"names":[],"mappings":"AAAA;AAAG,CAAC;AAAS,CAAC;EACZ,sBAAA;;AAGF;EACE,cAAA;;AAGF;AAAG,CAAC;AAAQ,CAAC;AAAS,CAAC;EACrB,qBAAA;;AAGF,CAAC;EACC,mBAAA;;AAGF;AAAO;AAAM;AAAS;AAAK;AAAQ;AAAM;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAQ;AAAM;AAAQ;AAAO;AAAQ;AAAI;AAAM;AAAM;AAAM;AAAK;AAAI;AAAG;AAAS;AAAM;AAAS;AAAO;AAAU;AAAM;AAAI;EACzL,UAAA;EACA,SAAA;EACA,SAAA;EACA,eAAA;;AAGF;EACE,kBAAA;EACA,gBAAA;;AAGF;AAAM;EACJ,WAAA;EACA,SAAA;EACA,UAAA;;AAGF;AAAM,IAAK;EACT,eAAA;EACA,MAAA;EACA,OAAA;EACA,SAAA;EACA,QAAA;EACA,gBAAA;EACA,WAAA;EACA,YAAA;EACA,cAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;EACA,qBAAA;;AAGF;EACE,kBAAA;EACA,WAAA;EACA,YAAA;EACA,sBAAsB,4BAAtB;EACA,4BAAA;EACA,sBAAA;EACA,2BAAA;EACA,QAAQ,SAAR;EACA,6CAAA;;AAGF;EACE,kBAAA;EACA,QAAA;EACA,SAAA;EACA,WAAW,qBAAX;EACA,yBAAA;EACA,mBAAA;EACA,YAAA;EACA,iBAAA;EACA,eAAA;EACA,kBAAA;EACA,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,oBAAA;EACA,mBAAA;EACA,8CAAA;EACA,UAAA;;AAGF;EACE,YAAA;EACA,yBAAA;EACA,UAAA;EACA,kBAAA;;AAGF;EACE,aAAA;EACA,sBAAA;EACA,gBAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,aAAA;EACA,uBAAA;EACA,gDAAA;EACA,oBAAA;EACA,WAAW,QAAX;EACA,UAAA;EACA,UAAA;;AAbF,UAeE;EACE,WAAA;EACA,mBAAA;EACA,YAAA;EACA,SAAA;EACA,UAAA;EACA,eAAA;EACA,yBAAA;;AAEA,UATF,MASG;EACC,mBAAA;;AAzBN,UA6BE;EACE,WAAA;EACA,YAAA;EACA,yBAAA;EACA,mBAAA;EACA,kBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;EACA,UAAA;EACA,SAAA;EACA,eAAA;;AAIJ,IAAI,KACF;EACE,UAAA;EACA,WAAW,UAAX;;AAHJ,IAAI,KAKF;EACE,QAAQ,SAAR;;AANJ,IAAI,KAQF;EACE,YAAA","file":"home.css"} \ No newline at end of file diff --git a/public/static/app/css/home.less b/public/static/app/css/home.less deleted file mode 100644 index 57f7b55a..00000000 --- a/public/static/app/css/home.less +++ /dev/null @@ -1,146 +0,0 @@ -*, *:before, *:after { - box-sizing: border-box; -} - -a { - color: #03A9F4; -} - -a, a:hover, a:active, a:focus { - text-decoration: none; -} - -a:focus { - outline-style: none; -} - -audio, body, caption, div, footer, form, h1, h2, h3, h4, h5, h6, header, html, iframe, label, legend, li, main, mark, menu, nav, ol, p, section, span, summary, table, textarea, time, ul, video { - padding: 0; - margin: 0; - border: 0; - outline: 0 none; -} - -html { - position: relative; - min-height: 100%; -} - -html, body { - width: 100%; - margin: 0; - padding: 0; -} - -body, body #mask { - position: fixed; - top: 0; - left: 0; - bottom: 0; - right: 0; - overflow: hidden; - width: 100%; - height: 100%; - margin: 0 auto; - display: flex; - justify-content: center; - align-items: center; - align-content: center; -} - -#bg { - position: absolute; - width: 100%; - height: 100%; - background-image: url("/static/app/images/bg.jpg"); - background-repeat: no-repeat; - background-size: cover; - background-position: center; - filter: blur(0px); - transition: filter .5s, background-size .5s; -} - -#login-btn { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background-color: #35bc9d; - letter-spacing: 2px; - height: 50px; - line-height: 50px; - cursor: pointer; - border-radius: 5px; - color: white; - font-size: 1.3rem; - text-align: center; - padding: 0 2rem; - font-family: inherit; - font-weight: normal; - box-shadow: 0 0 20px 0 rgba(5, 143, 220, 0.33); - z-index: 3; -} - -#mask { - opacity: .4; - background-color: #1b1f23; - z-index: 1; - transition: all 1s; -} - -#login-box { - display: none; - flex-direction: column; - max-width: 500px; - max-height: 300px; - border-radius: 10px; - text-align: center; - padding: 1rem; - background-color: white; - box-shadow: 0 0 20px 0 rgba(186, 186, 186, 0.49); - transition: all .7s; - transform: scale(2); - opacity: 0; - z-index: 2; - - input { - width: 100%; - border-radius: 20px; - height: 40px; - border: 0; - outline: 0; - padding: .8rem; - background-color: #e3e3e3; - - &:first-child { - margin-bottom: 10px; - } - } - - button { - width: 100%; - color: white; - background-color: #1abc9c; - border-radius: 10px; - text-align: center; - height: 35px; - line-height: 35px; - margin-top: 10px; - outline: 0; - border: 0; - cursor: pointer; - } -} - -body.fade { - #login-box { - opacity: 1; - transform: scale(1.3); - } - #bg { - filter: blur(2px); - } - #mask { - opacity: .7; - } -} diff --git a/public/static/app/css/markdown.css b/public/static/app/css/markdown.css deleted file mode 100644 index 31a6f7db..00000000 --- a/public/static/app/css/markdown.css +++ /dev/null @@ -1,636 +0,0 @@ -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: #23241f; -} -.hljs, -.hljs-subst, -.hljs-tag { - color: #f8f8f2; -} -.hljs-emphasis, -.hljs-strong { - color: #a8a8a2; -} -.hljs-bullet, -.hljs-link, -.hljs-literal, -.hljs-number, -.hljs-quote, -.hljs-regexp { - color: #ae81ff; -} -.hljs-code, -.hljs-section, -.hljs-selector-class, -.hljs-title { - color: #a6e22e; -} -.hljs-strong { - font-weight: 700; -} -.hljs-emphasis { - font-style: italic; -} -.hljs-attr, -.hljs-keyword, -.hljs-name, -.hljs-selector-tag { - color: #f92672; -} -.hljs-attribute, -.hljs-symbol { - color: #66d9ef; -} -.hljs-class .hljs-title, -.hljs-params { - color: #f8f8f2; -} -.hljs-addition, -.hljs-built_in, -.hljs-builtin-name, -.hljs-selector-attr, -.hljs-selector-id, -.hljs-selector-pseudo, -.hljs-string, -.hljs-template-variable, -.hljs-type, -.hljs-variable { - color: #e6db74; -} -.hljs-comment, -.hljs-deletion, -.hljs-meta { - color: #75715e; -} -@font-face { - font-family: octicons-link; - src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); -} -.markdown-body { - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - color: #24292e; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 16px; - line-height: 1.5; - word-wrap: break-word; -} -.markdown-body .pl-c { - color: #6a737d; -} -.markdown-body .pl-c1, -.markdown-body .pl-s .pl-v { - color: #005cc5; -} -.markdown-body .pl-e, -.markdown-body .pl-en { - color: #6f42c1; -} -.markdown-body .pl-s .pl-s1, -.markdown-body .pl-smi { - color: #24292e; -} -.markdown-body .pl-ent { - color: #22863a; -} -.markdown-body .pl-k { - color: #d73a49; -} -.markdown-body .pl-pds, -.markdown-body .pl-s, -.markdown-body .pl-s .pl-pse .pl-s1, -.markdown-body .pl-sr, -.markdown-body .pl-sr .pl-cce, -.markdown-body .pl-sr .pl-sra, -.markdown-body .pl-sr .pl-sre { - color: #032f62; -} -.markdown-body .pl-smw, -.markdown-body .pl-v { - color: #e36209; -} -.markdown-body .pl-bu { - color: #b31d28; -} -.markdown-body .pl-ii { - color: #fafbfc; - background-color: #b31d28; -} -.markdown-body .pl-c2 { - color: #fafbfc; - background-color: #d73a49; -} -.markdown-body .pl-c2::before { - content: "^M"; -} -.markdown-body .pl-sr .pl-cce { - font-weight: 700; - color: #22863a; -} -.markdown-body .pl-ml { - color: #735c0f; -} -.markdown-body .pl-mh, -.markdown-body .pl-mh .pl-en, -.markdown-body .pl-ms { - font-weight: 700; - color: #005cc5; -} -.markdown-body .pl-mi { - font-style: italic; - color: #24292e; -} -.markdown-body .pl-mb { - font-weight: 700; - color: #24292e; -} -.markdown-body .pl-md { - color: #b31d28; - background-color: #ffeef0; -} -.markdown-body .pl-mi1 { - color: #22863a; - background-color: #f0fff4; -} -.markdown-body .pl-mc { - color: #e36209; - background-color: #ffebda; -} -.markdown-body .pl-mi2 { - color: #f6f8fa; - background-color: #005cc5; -} -.markdown-body .pl-mdr { - font-weight: 700; - color: #6f42c1; -} -.markdown-body .pl-ba { - color: #586069; -} -.markdown-body .pl-sg { - color: #959da5; -} -.markdown-body .pl-corl { - text-decoration: underline; - color: #032f62; -} -.markdown-body .octicon { - display: inline-block; - vertical-align: text-top; - fill: currentColor; -} -.markdown-body a { - background-color: transparent; -} -.markdown-body a:active, -.markdown-body a:hover { - outline-width: 0; -} -.markdown-body strong { - font-weight: inherit; -} -.markdown-body strong { - font-weight: bolder; -} -.markdown-body h1 { - font-size: 2em; - margin: 0.67em 0; -} -.markdown-body img { - border-style: none; -} -.markdown-body code, -.markdown-body kbd, -.markdown-body pre { - font-family: monospace, monospace; - font-size: 1em; -} -.markdown-body hr { - box-sizing: content-box; - height: 0; - overflow: visible; -} -.markdown-body input { - font: inherit; - margin: 0; -} -.markdown-body input { - overflow: visible; -} -.markdown-body [type=checkbox] { - box-sizing: border-box; - padding: 0; -} -.markdown-body * { - box-sizing: border-box; -} -.markdown-body input { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} -.markdown-body a { - color: #0366d6; - text-decoration: none; -} -.markdown-body a:hover { - text-decoration: underline; -} -.markdown-body strong { - font-weight: 600; -} -.markdown-body hr { - height: 0; - margin: 15px 0; - overflow: hidden; - background: 0 0; - border: 0; - border-bottom: 1px solid #dfe2e5; -} -.markdown-body hr::before { - display: table; - content: ""; -} -.markdown-body hr::after { - display: table; - clear: both; - content: ""; -} -.markdown-body table { - border-spacing: 0; - border-collapse: collapse; -} -.markdown-body td, -.markdown-body th { - padding: 0; -} -.markdown-body h1, -.markdown-body h2, -.markdown-body h3, -.markdown-body h4, -.markdown-body h5, -.markdown-body h6 { - margin-top: 0; - margin-bottom: 0; -} -.markdown-body h1 { - font-size: 32px; - font-weight: 600; -} -.markdown-body h2 { - font-size: 24px; - font-weight: 600; -} -.markdown-body h3 { - font-size: 20px; - font-weight: 600; -} -.markdown-body h4 { - font-size: 16px; - font-weight: 600; -} -.markdown-body h5 { - font-size: 14px; - font-weight: 600; -} -.markdown-body h6 { - font-size: 12px; - font-weight: 600; -} -.markdown-body p { - margin-top: 0; - margin-bottom: 10px; -} -.markdown-body blockquote { - margin: 0; -} -.markdown-body ol, -.markdown-body ul { - padding-left: 0; - margin-top: 0; - margin-bottom: 0; -} -.markdown-body ol ol, -.markdown-body ul ol { - list-style-type: lower-roman; -} -.markdown-body ol ol ol, -.markdown-body ol ul ol, -.markdown-body ul ol ol, -.markdown-body ul ul ol { - list-style-type: lower-alpha; -} -.markdown-body dd { - margin-left: 0; -} -.markdown-body code { - font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} -.markdown-body pre { - margin-top: 0; - margin-bottom: 0; - font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 12px; -} -.markdown-body .octicon { - vertical-align: text-bottom; -} -.markdown-body .pl-0 { - padding-left: 0 !important; -} -.markdown-body .pl-1 { - padding-left: 4px !important; -} -.markdown-body .pl-2 { - padding-left: 8px !important; -} -.markdown-body .pl-3 { - padding-left: 16px !important; -} -.markdown-body .pl-4 { - padding-left: 24px !important; -} -.markdown-body .pl-5 { - padding-left: 32px !important; -} -.markdown-body .pl-6 { - padding-left: 40px !important; -} -.markdown-body::before { - display: table; - content: ""; -} -.markdown-body::after { - display: table; - clear: both; - content: ""; -} -.markdown-body > :first-child { - margin-top: 0 !important; -} -.markdown-body > :last-child { - margin-bottom: 0 !important; -} -.markdown-body a:not([href]) { - color: inherit; - text-decoration: none; -} -.markdown-body .anchor { - float: left; - padding-right: 4px; - margin-left: -20px; - line-height: 1; -} -.markdown-body .anchor:focus { - outline: 0; -} -.markdown-body blockquote, -.markdown-body dl, -.markdown-body ol, -.markdown-body p, -.markdown-body pre, -.markdown-body table, -.markdown-body ul { - margin-top: 0; - margin-bottom: 16px; -} -.markdown-body hr { - height: 0.25em; - padding: 0; - margin: 24px 0; - background-color: #e1e4e8; - border: 0; -} -.markdown-body blockquote { - padding: 0 1em; - color: #6a737d; - border-left: 0.25em solid #dfe2e5; -} -.markdown-body blockquote > :first-child { - margin-top: 0; -} -.markdown-body blockquote > :last-child { - margin-bottom: 0; -} -.markdown-body kbd { - display: inline-block; - padding: 3px 5px; - font-size: 11px; - line-height: 10px; - color: #444d56; - vertical-align: middle; - background-color: #fafbfc; - border: solid 1px #c6cbd1; - border-bottom-color: #959da5; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #959da5; -} -.markdown-body h1, -.markdown-body h2, -.markdown-body h3, -.markdown-body h4, -.markdown-body h5, -.markdown-body h6 { - margin-top: 24px; - margin-bottom: 16px; - font-weight: 600; - line-height: 1.25; -} -.markdown-body h1 .octicon-link, -.markdown-body h2 .octicon-link, -.markdown-body h3 .octicon-link, -.markdown-body h4 .octicon-link, -.markdown-body h5 .octicon-link, -.markdown-body h6 .octicon-link { - color: #1b1f23; - vertical-align: middle; - visibility: hidden; -} -.markdown-body h1:hover .anchor, -.markdown-body h2:hover .anchor, -.markdown-body h3:hover .anchor, -.markdown-body h4:hover .anchor, -.markdown-body h5:hover .anchor, -.markdown-body h6:hover .anchor { - text-decoration: none; -} -.markdown-body h1:hover .anchor .octicon-link, -.markdown-body h2:hover .anchor .octicon-link, -.markdown-body h3:hover .anchor .octicon-link, -.markdown-body h4:hover .anchor .octicon-link, -.markdown-body h5:hover .anchor .octicon-link, -.markdown-body h6:hover .anchor .octicon-link { - visibility: visible; -} -.markdown-body h1 { - padding-bottom: 0.3em; - font-size: 2em; - border-bottom: 1px solid #eaecef; -} -.markdown-body h2 { - padding-bottom: 0.3em; - font-size: 1.5em; - border-bottom: 1px solid #eaecef; -} -.markdown-body h3 { - font-size: 1.25em; -} -.markdown-body h4 { - font-size: 1em; -} -.markdown-body h5 { - font-size: 0.875em; -} -.markdown-body h6 { - font-size: 0.85em; - color: #6a737d; -} -.markdown-body ol, -.markdown-body ul { - padding-left: 2em; -} -.markdown-body ol ol, -.markdown-body ol ul, -.markdown-body ul ol, -.markdown-body ul ul { - margin-top: 0; - margin-bottom: 0; -} -.markdown-body li { - word-wrap: break-all; -} -.markdown-body li > p { - margin-top: 16px; -} -.markdown-body li + li { - margin-top: 0.25em; -} -.markdown-body dl { - padding: 0; -} -.markdown-body dl dt { - padding: 0; - margin-top: 16px; - font-size: 1em; - font-style: italic; - font-weight: 600; -} -.markdown-body dl dd { - padding: 0 16px; - margin-bottom: 16px; -} -.markdown-body table { - display: block; - width: 100%; - overflow: auto; -} -.markdown-body table th { - font-weight: 600; -} -.markdown-body table td, -.markdown-body table th { - padding: 6px 13px; - border: 1px solid #dfe2e5; -} -.markdown-body table tr { - background-color: #fff; - border-top: 1px solid #c6cbd1; -} -.markdown-body table tr:nth-child(2n) { - background-color: #f6f8fa; -} -.markdown-body img { - max-width: 100%; - box-sizing: content-box; - background-color: #fff; -} -.markdown-body img[align=right] { - padding-left: 20px; -} -.markdown-body img[align=left] { - padding-right: 20px; -} -.markdown-body code { - padding: 0.2em 0.4em; - margin: 0; - font-size: 85%; - background-color: rgba(27, 31, 35, 0.05); - border-radius: 3px; -} -.markdown-body pre { - word-wrap: normal; -} -.markdown-body pre > code { - padding: 0; - margin: 0; - font-size: 100%; - word-break: normal; - white-space: pre; - background: 0 0; - border: 0; -} -.markdown-body .highlight { - margin-bottom: 16px; -} -.markdown-body .highlight pre { - margin-bottom: 0; - word-break: normal; -} -.markdown-body .highlight pre, -.markdown-body pre { - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f6f8fa; - border-radius: 3px; -} -.markdown-body pre code { - display: inline; - max-width: auto; - padding: 0; - margin: 0; - overflow: visible; - line-height: inherit; - word-wrap: normal; - background-color: transparent; - border: 0; -} -.markdown-body .full-commit .btn-outline:not(:disabled):hover { - color: #005cc5; - border-color: #005cc5; -} -.markdown-body kbd { - display: inline-block; - padding: 3px 5px; - font: 11px SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; - line-height: 10px; - color: #444d56; - vertical-align: middle; - background-color: #fafbfc; - border: solid 1px #d1d5da; - border-bottom-color: #c6cbd1; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #c6cbd1; -} -.markdown-body :checked + .radio-label { - position: relative; - z-index: 1; - border-color: #0366d6; -} -.markdown-body .task-list-item { - list-style-type: none; -} -.markdown-body .task-list-item + .task-list-item { - margin-top: 3px; -} -.markdown-body .task-list-item input { - margin: 0 0.2em 0.25em -1.6em; - vertical-align: middle; -} -.markdown-body hr { - border-bottom-color: #eee; -} diff --git a/public/static/app/iconfont/iconfont.css b/public/static/app/iconfont/iconfont.css deleted file mode 100644 index 12ef4556..00000000 --- a/public/static/app/iconfont/iconfont.css +++ /dev/null @@ -1,27 +0,0 @@ - -@font-face {font-family: "iconfont"; - src: url('iconfont.eot?t=1540125096323'); /* IE9*/ - src: url('iconfont.eot?t=1540125096323#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAdMAAsAAAAACqgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8dk3CY21hcAAAAYAAAABzAAAByIaQlDZnbHlmAAAB9AAAAzwAAAQggHL+42hlYWQAAAUwAAAALwAAADYTBGlNaGhlYQAABWAAAAAeAAAAJAfeA4pobXR4AAAFgAAAABEAAAAYGAMAAGxvY2EAAAWUAAAADgAAAA4D4gJKbWF4cAAABaQAAAAeAAAAIAEWAJJuYW1lAAAFxAAAAUUAAAJtPlT+fXBvc3QAAAcMAAAAQAAAAFGqHvHseJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWScwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeMbw+z9zwv4EhhrmBoQEozAiSAwDtOQy4eJztkcsJgDAQRN+aKCJiG3qwErEeT/ZoF/FgEbqbVcEenPBCZsgHMkAJBGVUIsiKYFo0lZwHmpxHJvUtNQUxkbrU78OxnSd83SvR3c+wl0TvinoaqfjV5nm+XWm/6OR151gHqXesp31wrKtjcyguthIdygB4nE1SPYwbRRSeN7Mzs+v9sWe9a+Psnu/s9dpShJ3Ya+8qIBv7pBO5REJINHBpUNpLFAkaGpQzEpCCjpJISJTQ0SGh3KWCEiQKoKGAEgkhUKrzmLcHAaR5o++9+d58M58eYYRs/2QfMIcocoW8S0jaHdHpgk7aNPBoUiSzab8rdiDpiqDxPIRBY5LPIQsn+bSfDDyjCkJ6tNFssyYCpI2MwQiKBSsWdIpoMKKDEVtAMS0WPMNbm21oNmSbYpekP6T74zge799YXY3jq6v01WWt5V1zlHKuea3a0lXK/Z5J2xOUMxEEpsGZF13eC+NnDoaN+XKR9bhpSqOfFWHNl0AbjqyYTFQqFpOCGdW9Xn+gmpd7sRX43MCnMgq2a9bj8erGfimJyuP4m3mpOFctZ1EqLqjXUj96YWB7ZtU0L41Hz4a1bq9b44wZTEjTNOQy29lVVdf2g9DxQ5uHIX7Hi5pKttut54ZxVdp+6LTm8e6eYfuuqttodOn1F+wr9iIiSWqEwCwJ6ypR9Qlmexh0eHR0NPwSKvqJfqCfQIVat27pD0Hp3+inT2vwFlQu7jpjp2xFHNIlCd7lgURr0Wk0vQ6ifwX60xcgn+xCkTd2oQ1yDNvTjWFsTh9tON88+l1/a7jiIecp98TxueEhAM5WePQvTX+OJOAPkZFyfnyOhD53OSEU9c/ZO3RLdsgM1TvlkGSzjlQd/FSj2cFJySaoX6hpH7BQ4im+KREyvCAjh72x+VpaB/DR+/rXA2bDTUsw+rMAS4+oa7AHuBh3qf5JmuBAQreW/O7jl/TBZ79U6G1hwh0m6NvS0jcNF+hdwzHeZOC+bIm+i/YQIi48+gQ9MkmA/r5CXiPHhNTLGS6negjlUGe8zGT6H2Yd9DLBuJj2YjbNi0yhtxmWOiOYwwjKD2Clg3ZnGGrQTErbO12ct7IWlnQViNfrke9Hdfqe/sOuVm1wy/1/WOnH+SGsMJAIvXgJh/kWepFexz3ARkzh5B/G45Nl1IOlPsEdKVs8W6WwdFHA9+9RFfnUv+TffwooLZsP8xPPr7tlj17m1+nfvWtscteY0us5Ljhbr7G6OUsjCqUGqun7UUrIXwC3t0x4nGNgZGBgAGKTDaq/4/ltvjJwszCAwPVPk1Yg6P87WRiY3YFcDgYmkCgAT0ELywB4nGNgZGBgbvjfwBDDwswABCwMDIwMqIANAEdXAnIAAHicY2FgYGBBxswQGgABfQAcAAAAAAAAAAC2ANwBHAFuAhAAAHicY2BkYGBgY2gDYhBgAmIuIGRg+A/mMwAAFowBqQAAeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicY2BigAAuBuyAjZGJkZmRhZGVkY2RnYGjKDU9s7gktYglMy8tny05Iz8zOZU1Jz89M48lOb+gkoEBANqJC58=') format('woff'), - url('iconfont.ttf?t=1540125096323') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ - url('iconfont.svg?t=1540125096323#iconfont') format('svg'); /* iOS 4.1- */ -} - -.iconfont { - font-family:"iconfont" !important; - font-size:16px; - font-style:normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-register:before { content: "\e60e"; } - -.icon-info:before { content: "\ebcf"; } - -.icon-choice:before { content: "\e627"; } - -.icon-login:before { content: "\e728"; } - -.icon-copy:before { content: "\e600"; } - diff --git a/public/static/app/iconfont/iconfont.eot b/public/static/app/iconfont/iconfont.eot deleted file mode 100644 index 4b4940c5..00000000 Binary files a/public/static/app/iconfont/iconfont.eot and /dev/null differ diff --git a/public/static/app/iconfont/iconfont.js b/public/static/app/iconfont/iconfont.js deleted file mode 100644 index 4114e3c9..00000000 --- a/public/static/app/iconfont/iconfont.js +++ /dev/null @@ -1 +0,0 @@ -(function(window){var svgSprite='';var script=function(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]}();var shouldInjectCss=script.getAttribute("data-injectcss");var ready=function(fn){if(document.addEventListener){if(~["complete","loaded","interactive"].indexOf(document.readyState)){setTimeout(fn,0)}else{var loadFn=function(){document.removeEventListener("DOMContentLoaded",loadFn,false);fn()};document.addEventListener("DOMContentLoaded",loadFn,false)}}else if(document.attachEvent){IEContentLoaded(window,fn)}function IEContentLoaded(w,fn){var d=w.document,done=false,init=function(){if(!done){done=true;fn()}};var polling=function(){try{d.documentElement.doScroll("left")}catch(e){setTimeout(polling,50);return}init()};polling();d.onreadystatechange=function(){if(d.readyState=="complete"){d.onreadystatechange=null;init()}}}};var before=function(el,target){target.parentNode.insertBefore(el,target)};var prepend=function(el,target){if(target.firstChild){before(el,target.firstChild)}else{target.appendChild(el)}};function appendSvg(){var div,svg;div=document.createElement("div");div.innerHTML=svgSprite;svgSprite=null;svg=div.getElementsByTagName("svg")[0];if(svg){svg.setAttribute("aria-hidden","true");svg.style.position="absolute";svg.style.width=0;svg.style.height=0;svg.style.overflow="hidden";prepend(svg,document.body)}}if(shouldInjectCss&&!window.__iconfont__svg__cssinject__){window.__iconfont__svg__cssinject__=true;try{document.write("")}catch(e){console&&console.log(e)}}ready(appendSvg)})(window) \ No newline at end of file diff --git a/public/static/app/iconfont/iconfont.svg b/public/static/app/iconfont/iconfont.svg deleted file mode 100644 index 9d494dc9..00000000 --- a/public/static/app/iconfont/iconfont.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - -Created by iconfont - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/static/app/iconfont/iconfont.ttf b/public/static/app/iconfont/iconfont.ttf deleted file mode 100644 index 9a61cb2c..00000000 Binary files a/public/static/app/iconfont/iconfont.ttf and /dev/null differ diff --git a/public/static/app/iconfont/iconfont.woff b/public/static/app/iconfont/iconfont.woff deleted file mode 100644 index b5f88b79..00000000 Binary files a/public/static/app/iconfont/iconfont.woff and /dev/null differ diff --git a/public/static/app/images/bg.jpg b/public/static/app/images/bg.jpg deleted file mode 100644 index 8df857d8..00000000 Binary files a/public/static/app/images/bg.jpg and /dev/null differ diff --git a/public/static/app/images/demo/1.png b/public/static/app/images/demo/1.png deleted file mode 100644 index 0b4c16c4..00000000 Binary files a/public/static/app/images/demo/1.png and /dev/null differ diff --git a/public/static/app/images/demo/2.png b/public/static/app/images/demo/2.png deleted file mode 100644 index 95e07cc2..00000000 Binary files a/public/static/app/images/demo/2.png and /dev/null differ diff --git a/public/static/app/images/demo/alipay.png b/public/static/app/images/demo/alipay.png deleted file mode 100644 index e80b6f91..00000000 Binary files a/public/static/app/images/demo/alipay.png and /dev/null differ diff --git a/public/static/app/images/demo/wechat.jpeg b/public/static/app/images/demo/wechat.jpeg deleted file mode 100644 index 04ff4046..00000000 Binary files a/public/static/app/images/demo/wechat.jpeg and /dev/null differ diff --git a/public/static/app/images/folder.svg b/public/static/app/images/folder.svg deleted file mode 100644 index 2e55fe1e..00000000 --- a/public/static/app/images/folder.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/static/app/images/icon.png b/public/static/app/images/icon.png deleted file mode 100644 index 65960386..00000000 Binary files a/public/static/app/images/icon.png and /dev/null differ diff --git a/public/static/app/images/loading.jpg b/public/static/app/images/loading.jpg deleted file mode 100644 index 6ada6ce2..00000000 Binary files a/public/static/app/images/loading.jpg and /dev/null differ diff --git a/public/static/app/images/logo.png b/public/static/app/images/logo.png deleted file mode 100644 index d555b823..00000000 Binary files a/public/static/app/images/logo.png and /dev/null differ diff --git a/public/static/app/js/app.js b/public/static/app/js/app.js deleted file mode 100644 index bd53d30c..00000000 --- a/public/static/app/js/app.js +++ /dev/null @@ -1,308 +0,0 @@ -var app = { - sprintf: function () { - var args = arguments, string = args[0]; - for (var i = 1; i < args.length; i++) { - var item = arguments[i]; - string = string.replace('%s', item); - } - return string; - }, - /** - * ajax - * @param url - * @param data - * @param success - * @param error - */ - ajax: function (url, data, success, error) { - var loading = $('#loading-container'); - $.ajax({ - url: url, - type: 'post', - data: data, - dataType: 'json', - beforeSend: function () { - loading.fadeIn(200); - }, - success: success, - error: error, - complete: function () { - loading.fadeOut(50); - } - }); - }, - /** - * 执行请求 - * @param url 请求地址 - * @param data 数据 - * @param success 后端返回成功后执行的回调 - * @param error 后端返回失败后执行的回调 - * @returns {*|void} - */ - request: function (url, data, success, error) { - return app.ajax(url, data, function (response) { - mdui.snackbar({ - message: "" + (response.code ? '' : '') + "; " + response.msg, - position: 'right-top', - timeout: response.code ? 1000 : 2000, - onClose: function () { - if (response.code) { - success && success(); - } else { - error && error(); - } - } - }); - }); - }, - /** - * Msg - * @param bool - * @param msg - * @param callback - */ - msg: function (bool, msg, callback) { - mdui.snackbar({ - message: "" + (bool ? '' : '') + "; " + msg, - position: 'right-top', - timeout: bool ? 1000 : 2000, - onClose: function () { - if (bool) callback && callback(); - } - }); - }, - cookie: { - /** - * 设置cookie - * @param key cookie名称 - * @param val cookie值 - * @param time 过期时间(天) - * @param path cookie路径 - */ - set: function (key, val, time, path) { - var date = new Date(); - var expiresDays = time; - date.setTime(date.getTime() + expiresDays * 24 * 3600 * 1000); - document.cookie = key + "=" + val + ";expires=" + date.toGMTString() + (path ? (";path=" + path) : ''); - }, - /** - * 获取cookie - * @param key cookie名称 - * @returns {*} - */ - get: function (key) { - var getCookie = document.cookie.replace(/[ ]/g, ""); - var arrCookie = getCookie.split(";"); - var tips; - for (var i = 0; i < arrCookie.length; i++) { - var arr = arrCookie[i].split("="); - if (key === arr[0]) { - tips = arr[1]; - break; - } - } - return tips; - }, - /** - * 删除cookie - * @param key - */ - delete: function (key) { - var date = new Date(); - date.setTime(date.getTime() - 1); - document.cookie = key + "=; expires=" + date.toGMTString() + ";path=/"; - }, - /** - * Has - * @param key - * @returns {boolean} - */ - has: function (key) { - return app.cookie.get(key) ? true : false; - } - }, - /** - * 字节换算 - * @param bytes - * @returns {string} - */ - bytesToSize: function (bytes) { - if (bytes === 0) return '0 B'; - var k = 1024, sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], - i = Math.floor(Math.log(bytes) / Math.log(k)); - return (bytes / Math.pow(k, i)).toFixed(2) + ' ' + sizes[i]; - }, - versionCompare: function (ver, newVer) { - var sources = ver.split('.'); - var dests = newVer.split('.'); - var maxL = Math.max(sources.length, dests.length); - var result = 0; - for (var i = 0; i < maxL; i++) { - let preValue = sources.length > i ? sources[i] : 0; - let preNum = isNaN(Number(preValue)) ? preValue.charCodeAt() : Number(preValue); - let lastValue = dests.length > i ? dests[i] : 0; - let lastNum = isNaN(Number(lastValue)) ? lastValue.charCodeAt() : Number(lastValue); - if (preNum < lastNum) { - result = -1; - break; - } else if (preNum > lastNum) { - result = 1; - break; - } - } - return result; - }, - /** - * 执行更新 - */ - upgrade: function (backup) { - var loading = false; - if (loading) return; - loading = true; - var content = '
          ' + - '
          ' + - lang('Upgrading, please do not close the window') + - '
          '; - var error = lang('Upgrade failed'); - - $d = mdui.dialog({ - overlay: true, - modal: true, - buttons: [], - closeOnEsc: false, - content: content - }); - $d.$dialog.css({'max-width': '300px'}); - mdui.mutation(); - var upgradeCallback = function () { - setTimeout(function () { - $.ajax({ - url: '/admin/system/upgrade.html', - type: 'POST', - success: function (res) { - mdui.alert(res.msg, lang('System prompt'), function () { - history.go(0); - }, { - modal: true, - closeOnEsc: true, - }); - }, - complete: function () { - $d.close(); - loading = false; - }, - error: function () { - mdui.alert(error, lang('System prompt')); - } - }); - }, 1000) - }; - - if (backup) { - $.ajax({ - url: '/admin/system/backup.html', - type: 'POST', - success: function (res) { - if (res.code) { - upgradeCallback(); - } else { - $d.close(); - loading = false; - mdui.alert(res.msg, lang('System prompt'), function () { - history.go(0); - }, { - modal: true, - closeOnEsc: true, - }); - } - }, - error: function () { - $d.close(); - loading = false; - mdui.alert(error, lang('System prompt')); - } - }); - } else { - upgradeCallback(); - } - }, - /** - * 检测版本更新 - * @param ver - * @param auto - */ - getLastVer: function (ver, auto) { - $.ajax({ - url: 'https://api.lsky.pro/releases.php?version=last', - success: function (response) { - if (app.versionCompare(ver, response.version) === 0) { - // 已经是最新版 - auto && app.msg(true, lang('It is already the latest version')); - } else { - if (!app.cookie.has('no_update') || auto) { - mdui.dialog({ - title: lang('New version detected [%s]', [response.version]), - content: '
          ' + marked(response.info) + '
          ', - modal: true, - history: false, - buttons: [ - { - text: lang('Ignore') - }, - { - text: lang('Don\'t prompt again'), - onClick: function () { - app.cookie.set('no_update', true, 30, '/'); - } - }, - { - text: lang('Upgrade now'), - close: false, - onClick: function (inst) { - inst.close(); - mdui.confirm( - lang('Upgrade note'), - lang('Do you need to back up the original system?'), - function () { - app.upgrade(true); - }, - function () { - app.upgrade(false); - }, - { - confirmText: lang('Backup'), - cancelText: lang('No backup'), - modal: true, - closeOnEsc: false, - } - ); - } - } - ] - }); - } - } - auto && app.cookie.delete('no_update'); - } - }); - }, - toggleTheme: function () { - var theme = app.cookie.get('theme') || 'light'; - theme = theme === 'dark' ? 'light' : 'dark'; - app.cookie.set('theme', theme, 30, '/'); - $('body')[theme === 'dark' ? 'addClass' : 'removeClass']('mdui-theme-layout-dark'); - $('#set-theme i').html(theme === 'dark' ? '' : ''); - } -}; - -window.lang = function (name, vars) { - vars = vars || []; - var k = name.toLowerCase(); - for (var key in languages) { - if (k === key) { - return app.sprintf(languages[k], ...vars); - } - } - return name; -}; - diff --git a/public/static/contextjs/css/context.standalone.css b/public/static/contextjs/css/context.standalone.css deleted file mode 100644 index 22dd001c..00000000 --- a/public/static/contextjs/css/context.standalone.css +++ /dev/null @@ -1,228 +0,0 @@ -/** - * ContextJS Styles - * For use WITHOUT Twitters Bootstrap CSS - */ - -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - text-align:left; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #333333; - white-space: nowrap; - text-decoration: none; -} -.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a { - color: #ffffff; - text-decoration: none; - background-color: #0088cc; - background-color: #0081c2; - background-image: -moz-linear-gradient(top, #0088cc, #0077b3); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); - background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); - background-image: -o-linear-gradient(top, #0088cc, #0077b3); - background-image: linear-gradient(to bottom, #0088cc, #0077b3); - background-repeat: repeat-x; - filter: progid: dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); -} -.dropdown-menu .active > a, .dropdown-menu .active > a:hover { - color: #ffffff; - text-decoration: none; - background-color: #0088cc; - background-color: #0081c2; - background-image: linear-gradient(to bottom, #0088cc, #0077b3); - background-image: -moz-linear-gradient(top, #0088cc, #0077b3); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); - background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); - background-image: -o-linear-gradient(top, #0088cc, #0077b3); - background-repeat: repeat-x; - outline: 0; - filter: progid - : dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); -} -.dropdown-menu .disabled > a, .dropdown-menu .disabled > a:hover { - color: #999999; -} -.dropdown-menu .disabled > a:hover { - text-decoration: none; - cursor: default; - background-color: transparent; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, .navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: "\2191"; -} -.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu > .dropdown-menu.drop-left{ - left:-100%; -} -.dropdown-submenu:hover .dropdown-menu { - display: block; -} -.dropdown-submenu > a:after { - display: block; - float: right; - width: 0; - height: 0; - margin-top: 5px; - margin-right: -10px; - border-color: transparent; - border-left-color: #cccccc; - border-style: solid; - border-width: 5px 0 5px 5px; - content: " "; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown .dropdown-menu .nav-header { - padding-right: 20px; - padding-left: 20px; -} -/** - * Context Styles - */ - -.dropdown-context .nav-header { - cursor: default; -} -.dropdown-context:before, .dropdown-context-up:before { - position: absolute; - top: -7px; - left: 9px; - display: inline-block; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-left: 7px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} -.dropdown-context:after, .dropdown-context-up:after { - position: absolute; - top: -6px; - left: 10px; - display: inline-block; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - border-left: 6px solid transparent; - content: ''; -} -.dropdown-context-up:before, .dropdown-context-up:after { - top: auto; - bottom: -7px; - z-index: 9999; -} -.dropdown-context-up:before { - border-right: 7px solid transparent; - border-top: 7px solid #ccc; - border-bottom: none; - border-left: 7px solid transparent; -} -.dropdown-context-up:after { - border-right: 6px solid transparent; - border-top: 6px solid #ffffff; - border-left: 6px solid transparent; - border-bottom: none; -} -.dropdown-context-sub:before, .dropdown-context-sub:after { - display: none; -} -.dropdown-context .dropdown-submenu:hover .dropdown-menu { - display: none; -} -.dropdown-context .dropdown-submenu:hover > .dropdown-menu { - display: block; -} - -.compressed-context a{ - padding-left: 14px; - padding-top: 0; - padding-bottom: 0; - font-size: 13px; -} -.compressed-context .divider{ - margin: 5px 1px; -} -.compressed-context .nav-header{ - padding:1px 13px; -} \ No newline at end of file diff --git a/public/static/contextjs/js/context.js b/public/static/contextjs/js/context.js deleted file mode 100644 index b0de0efb..00000000 --- a/public/static/contextjs/js/context.js +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Context.js - * Copyright Jacob Kelley - * MIT License - */ - -var context = context || (function () { - - var options = { - fadeSpeed: 100, - filter: function ($obj) { - // Modify $obj, Do not return - }, - above: 'auto', - preventDoubleContext: true, - compress: false - }; - - function initialize(opts) { - - options = $.extend({}, options, opts); - - $(document).on('click', 'html', function () { - $('.dropdown-context').fadeOut(options.fadeSpeed, function(){ - $('.dropdown-context').css({display:''}).find('.drop-left').removeClass('drop-left'); - }); - }); - if(options.preventDoubleContext){ - $(document).on('contextmenu', '.dropdown-context', function (e) { - e.preventDefault(); - }); - } - $(document).on('mouseenter', '.dropdown-submenu', function(){ - var $sub = $(this).find('.dropdown-context-sub:first'), - subWidth = $sub.width(), - subLeft = $sub.offset().left, - collision = (subWidth+subLeft) > window.innerWidth; - if(collision){ - $sub.addClass('drop-left'); - } - }); - - } - - function updateOptions(opts){ - options = $.extend({}, options, opts); - } - - function buildMenu(data, id, subMenu) { - var subClass = (subMenu) ? ' dropdown-context-sub' : '', - compressed = options.compress ? ' compressed-context' : '', - $menu = $(''); - var i = 0, linkTarget = ''; - for(i; i'); - } else if (typeof data[i].header !== 'undefined') { - $menu.append(''); - } else { - if (typeof data[i].href == 'undefined') { - data[i].href = '#'; - } - if (typeof data[i].target !== 'undefined') { - linkTarget = ' target="'+data[i].target+'"'; - } - if (typeof data[i].subMenu !== 'undefined') { - $sub = (''); - } else { - $sub = $('
        • ' + data[i].text + '
        • '); - } - if (typeof data[i].action !== 'undefined') { - var actiond = new Date(), - actionID = 'event-' + actiond.getTime() * Math.floor(Math.random()*100000), - eventAction = data[i].action; - $sub.find('a').attr('id', actionID); - $('#' + actionID).addClass('context-event'); - $(document).on('click', '#' + actionID, eventAction); - } - $menu.append($sub); - if (typeof data[i].subMenu != 'undefined') { - var subMenuData = buildMenu(data[i].subMenu, id, true); - $menu.find('li:last').append(subMenuData); - } - } - if (typeof options.filter == 'function') { - options.filter($menu.find('li:last')); - } - } - return $menu; - } - - function addContext(selector, data) { - - var d = new Date(), - id = d.getTime(), - $menu = buildMenu(data, id); - - $('body').append($menu); - - - $(document).on('contextmenu', selector, function (e) { - e.preventDefault(); - e.stopPropagation(); - - $('.dropdown-context:not(.dropdown-context-sub)').hide(); - - $dd = $('#dropdown-' + id); - if (typeof options.above == 'boolean' && options.above) { - $dd.addClass('dropdown-context-up').css({ - top: e.pageY - 20 - $('#dropdown-' + id).height(), - left: e.pageX - 13 - }).fadeIn(options.fadeSpeed); - } else if (typeof options.above == 'string' && options.above == 'auto') { - $dd.removeClass('dropdown-context-up'); - var autoH = $dd.height() + 12; - if ((e.pageY + autoH) > $('html').height()) { - $dd.addClass('dropdown-context-up').css({ - top: e.pageY - 20 - autoH, - left: e.pageX - 13 - }).fadeIn(options.fadeSpeed); - } else { - $dd.css({ - top: e.pageY + 10, - left: e.pageX - 13 - }).fadeIn(options.fadeSpeed); - } - } - }); - } - - function destroyContext(selector) { - $(document).off('contextmenu', selector).off('click', '.context-event'); - } - - return { - init: initialize, - settings: updateOptions, - attach: addContext, - destroy: destroyContext - }; -})(); \ No newline at end of file diff --git a/public/static/jquery-viewer/1.2.0/js/jquery-viewer.js b/public/static/jquery-viewer/1.2.0/js/jquery-viewer.js deleted file mode 100644 index dcf0cbc9..00000000 --- a/public/static/jquery-viewer/1.2.0/js/jquery-viewer.js +++ /dev/null @@ -1,75 +0,0 @@ -/*! - * jQuery Viewer v1.0.0 - * https://github.com/fengyuanchen/jquery-viewer - * - * Copyright (c) 2018 Chen Fengyuan - * Released under the MIT license - * - * Date: 2018-04-01T05:58:29.617Z - */ - -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('viewerjs')) : - typeof define === 'function' && define.amd ? define(['jquery', 'viewerjs'], factory) : - (factory(global.jQuery,global.Viewer)); -}(this, (function ($,Viewer) { 'use strict'; - - $ = $ && $.hasOwnProperty('default') ? $['default'] : $; - Viewer = Viewer && Viewer.hasOwnProperty('default') ? Viewer['default'] : Viewer; - - if ($.fn) { - var AnotherViewer = $.fn.viewer; - var NAMESPACE = 'viewer'; - - $.fn.viewer = function jQueryViewer(option) { - for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - - var result = void 0; - - this.each(function (i, element) { - var $element = $(element); - var isDestroy = option === 'destroy'; - var viewer = $element.data(NAMESPACE); - - if (!viewer) { - if (isDestroy) { - return; - } - - var options = $.extend({}, $element.data(), $.isPlainObject(option) && option); - - viewer = new Viewer(element, options); - $element.data(NAMESPACE, viewer); - } - - if (typeof option === 'string') { - var fn = viewer[option]; - - if ($.isFunction(fn)) { - result = fn.apply(viewer, args); - - if (result === viewer) { - result = undefined; - } - - if (isDestroy) { - $element.removeData(NAMESPACE); - } - } - } - }); - - return result !== undefined ? result : this; - }; - - $.fn.viewer.Constructor = Viewer; - $.fn.viewer.setDefaults = Viewer.setDefaults; - $.fn.viewer.noConflict = function noConflict() { - $.fn.viewer = AnotherViewer; - return this; - }; - } - -}))); \ No newline at end of file diff --git a/public/web.config b/public/web.config new file mode 100644 index 00000000..323482f1 --- /dev/null +++ b/public/web.config @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vendor/topthink/think-image/tests/images/test.bmp b/resources/css/app.css similarity index 100% rename from vendor/topthink/think-image/tests/images/test.bmp rename to resources/css/app.css diff --git a/resources/js/app.js b/resources/js/app.js new file mode 100644 index 00000000..40c55f65 --- /dev/null +++ b/resources/js/app.js @@ -0,0 +1 @@ +require('./bootstrap'); diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js new file mode 100644 index 00000000..69225776 --- /dev/null +++ b/resources/js/bootstrap.js @@ -0,0 +1,28 @@ +window._ = require('lodash'); + +/** + * We'll load the axios HTTP library which allows us to easily issue requests + * to our Laravel back-end. This library automatically handles sending the + * CSRF token as a header based on the value of the "XSRF" token cookie. + */ + +window.axios = require('axios'); + +window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; + +/** + * Echo exposes an expressive API for subscribing to channels and listening + * for events that are broadcast by Laravel. Echo and event broadcasting + * allows your team to easily build robust real-time web applications. + */ + +// import Echo from 'laravel-echo'; + +// window.Pusher = require('pusher-js'); + +// window.Echo = new Echo({ +// broadcaster: 'pusher', +// key: process.env.MIX_PUSHER_APP_KEY, +// cluster: process.env.MIX_PUSHER_APP_CLUSTER, +// forceTLS: true +// }); diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php new file mode 100644 index 00000000..6598e2c0 --- /dev/null +++ b/resources/lang/en/auth.php @@ -0,0 +1,20 @@ + 'These credentials do not match our records.', + 'password' => 'The provided password is incorrect.', + 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', + +]; diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php new file mode 100644 index 00000000..d4814118 --- /dev/null +++ b/resources/lang/en/pagination.php @@ -0,0 +1,19 @@ + '« Previous', + 'next' => 'Next »', + +]; diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php new file mode 100644 index 00000000..2345a56b --- /dev/null +++ b/resources/lang/en/passwords.php @@ -0,0 +1,22 @@ + 'Your password has been reset!', + 'sent' => 'We have emailed your password reset link!', + 'throttled' => 'Please wait before retrying.', + 'token' => 'This password reset token is invalid.', + 'user' => "We can't find a user with that email address.", + +]; diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php new file mode 100644 index 00000000..ba42c8d9 --- /dev/null +++ b/resources/lang/en/validation.php @@ -0,0 +1,160 @@ + 'The :attribute must be accepted.', + 'accepted_if' => 'The :attribute must be accepted when :other is :value.', + 'active_url' => 'The :attribute is not a valid URL.', + 'after' => 'The :attribute must be a date after :date.', + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', + 'alpha' => 'The :attribute must only contain letters.', + 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.', + 'alpha_num' => 'The :attribute must only contain letters and numbers.', + 'array' => 'The :attribute must be an array.', + 'before' => 'The :attribute must be a date before :date.', + 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', + 'between' => [ + 'numeric' => 'The :attribute must be between :min and :max.', + 'file' => 'The :attribute must be between :min and :max kilobytes.', + 'string' => 'The :attribute must be between :min and :max characters.', + 'array' => 'The :attribute must have between :min and :max items.', + ], + 'boolean' => 'The :attribute field must be true or false.', + 'confirmed' => 'The :attribute confirmation does not match.', + 'current_password' => 'The password is incorrect.', + 'date' => 'The :attribute is not a valid date.', + 'date_equals' => 'The :attribute must be a date equal to :date.', + 'date_format' => 'The :attribute does not match the format :format.', + 'declined' => 'The :attribute must be declined.', + 'declined_if' => 'The :attribute must be declined when :other is :value.', + 'different' => 'The :attribute and :other must be different.', + 'digits' => 'The :attribute must be :digits digits.', + 'digits_between' => 'The :attribute must be between :min and :max digits.', + 'dimensions' => 'The :attribute has invalid image dimensions.', + 'distinct' => 'The :attribute field has a duplicate value.', + 'email' => 'The :attribute must be a valid email address.', + 'ends_with' => 'The :attribute must end with one of the following: :values.', + 'exists' => 'The selected :attribute is invalid.', + 'file' => 'The :attribute must be a file.', + 'filled' => 'The :attribute field must have a value.', + 'gt' => [ + 'numeric' => 'The :attribute must be greater than :value.', + 'file' => 'The :attribute must be greater than :value kilobytes.', + 'string' => 'The :attribute must be greater than :value characters.', + 'array' => 'The :attribute must have more than :value items.', + ], + 'gte' => [ + 'numeric' => 'The :attribute must be greater than or equal to :value.', + 'file' => 'The :attribute must be greater than or equal to :value kilobytes.', + 'string' => 'The :attribute must be greater than or equal to :value characters.', + 'array' => 'The :attribute must have :value items or more.', + ], + 'image' => 'The :attribute must be an image.', + 'in' => 'The selected :attribute is invalid.', + 'in_array' => 'The :attribute field does not exist in :other.', + 'integer' => 'The :attribute must be an integer.', + 'ip' => 'The :attribute must be a valid IP address.', + 'ipv4' => 'The :attribute must be a valid IPv4 address.', + 'ipv6' => 'The :attribute must be a valid IPv6 address.', + 'json' => 'The :attribute must be a valid JSON string.', + 'lt' => [ + 'numeric' => 'The :attribute must be less than :value.', + 'file' => 'The :attribute must be less than :value kilobytes.', + 'string' => 'The :attribute must be less than :value characters.', + 'array' => 'The :attribute must have less than :value items.', + ], + 'lte' => [ + 'numeric' => 'The :attribute must be less than or equal to :value.', + 'file' => 'The :attribute must be less than or equal to :value kilobytes.', + 'string' => 'The :attribute must be less than or equal to :value characters.', + 'array' => 'The :attribute must not have more than :value items.', + ], + 'max' => [ + 'numeric' => 'The :attribute must not be greater than :max.', + 'file' => 'The :attribute must not be greater than :max kilobytes.', + 'string' => 'The :attribute must not be greater than :max characters.', + 'array' => 'The :attribute must not have more than :max items.', + ], + 'mimes' => 'The :attribute must be a file of type: :values.', + 'mimetypes' => 'The :attribute must be a file of type: :values.', + 'min' => [ + 'numeric' => 'The :attribute must be at least :min.', + 'file' => 'The :attribute must be at least :min kilobytes.', + 'string' => 'The :attribute must be at least :min characters.', + 'array' => 'The :attribute must have at least :min items.', + ], + 'multiple_of' => 'The :attribute must be a multiple of :value.', + 'not_in' => 'The selected :attribute is invalid.', + 'not_regex' => 'The :attribute format is invalid.', + 'numeric' => 'The :attribute must be a number.', + 'password' => 'The password is incorrect.', + 'present' => 'The :attribute field must be present.', + 'prohibited' => 'The :attribute field is prohibited.', + 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.', + 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.', + 'prohibits' => 'The :attribute field prohibits :other from being present.', + 'regex' => 'The :attribute format is invalid.', + 'required' => 'The :attribute field is required.', + 'required_if' => 'The :attribute field is required when :other is :value.', + 'required_unless' => 'The :attribute field is required unless :other is in :values.', + 'required_with' => 'The :attribute field is required when :values is present.', + 'required_with_all' => 'The :attribute field is required when :values are present.', + 'required_without' => 'The :attribute field is required when :values is not present.', + 'required_without_all' => 'The :attribute field is required when none of :values are present.', + 'same' => 'The :attribute and :other must match.', + 'size' => [ + 'numeric' => 'The :attribute must be :size.', + 'file' => 'The :attribute must be :size kilobytes.', + 'string' => 'The :attribute must be :size characters.', + 'array' => 'The :attribute must contain :size items.', + ], + 'starts_with' => 'The :attribute must start with one of the following: :values.', + 'string' => 'The :attribute must be a string.', + 'timezone' => 'The :attribute must be a valid timezone.', + 'unique' => 'The :attribute has already been taken.', + 'uploaded' => 'The :attribute failed to upload.', + 'url' => 'The :attribute must be a valid URL.', + 'uuid' => 'The :attribute must be a valid UUID.', + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'attribute-name' => [ + 'rule-name' => 'custom-message', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap our attribute placeholder + | with something more reader friendly such as "E-Mail Address" instead + | of "email". This simply helps us make our message more expressive. + | + */ + + 'attributes' => [], + +]; diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php new file mode 100644 index 00000000..dd6a45db --- /dev/null +++ b/resources/views/welcome.blade.php @@ -0,0 +1,132 @@ + + + + + + + Laravel + + + + + + + + + + +
          + @if (Route::has('login')) + + @endif + +
          +
          + + + + + +
          + +
          +
          +
          + + +
          +
          + Laravel has wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Laravel, we recommend reading all of the documentation from beginning to end. +
          +
          +
          + +
          +
          + + +
          + +
          +
          + Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process. +
          +
          +
          + +
          +
          + + +
          + +
          +
          + Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials. +
          +
          +
          + +
          +
          + +
          Vibrant Ecosystem
          +
          + +
          +
          + Laravel's robust library of first-party tools and libraries, such as Forge, Vapor, Nova, and Envoyer help you take your projects to the next level. Pair them with powerful open source libraries like Cashier, Dusk, Echo, Horizon, Sanctum, Telescope, and more. +
          +
          +
          +
          +
          + +
          +
          +
          + + + + + + Shop + + + + + + + + Sponsor + +
          +
          + +
          + Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}) +
          +
          +
          +
          + + diff --git a/route/route.php b/route/route.php deleted file mode 100644 index 3bb39245..00000000 --- a/route/route.php +++ /dev/null @@ -1,27 +0,0 @@ - -// +---------------------------------------------------------------------- - -use think\facade\Route; - -Route::view('compatibility', 'index@tpl/compatibility'); - -// [Api Route] -Route::group('api', function () { - Route::any('token', 'api/Token/index'); - Route::any('upload', 'api/Upload/index'); - Route::any('image', 'api/Image/find'); - Route::any('images', 'api/Image/items'); - Route::any('delete', 'api/Image/delete'); -})->middleware(app\http\middleware\ApiAuthenticate::class) - ->header('Access-Control-Allow-Headers', 'Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With, Token') - ->allowCrossDomain(); - -return []; diff --git a/routes/api.php b/routes/api.php new file mode 100644 index 00000000..eb6fa48c --- /dev/null +++ b/routes/api.php @@ -0,0 +1,19 @@ +get('/user', function (Request $request) { + return $request->user(); +}); diff --git a/routes/channels.php b/routes/channels.php new file mode 100644 index 00000000..5d451e1f --- /dev/null +++ b/routes/channels.php @@ -0,0 +1,18 @@ +id === (int) $id; +}); diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 00000000..e05f4c9a --- /dev/null +++ b/routes/console.php @@ -0,0 +1,19 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 00000000..b1303973 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,18 @@ + + */ + +$uri = urldecode( + parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) +); + +// This file allows us to emulate Apache's "mod_rewrite" functionality from the +// built-in PHP web server. This provides a convenient way to test a Laravel +// application without having installed a "real" web server software here. +if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { + return false; +} + +require_once __DIR__.'/public/index.php'; diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php new file mode 100644 index 00000000..547152f6 --- /dev/null +++ b/tests/CreatesApplication.php @@ -0,0 +1,22 @@ +make(Kernel::class)->bootstrap(); + + return $app; + } +} diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php new file mode 100644 index 00000000..4ae02bc5 --- /dev/null +++ b/tests/Feature/ExampleTest.php @@ -0,0 +1,21 @@ +get('/'); + + $response->assertStatus(200); + } +} diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100644 index 00000000..2932d4a6 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,10 @@ +assertTrue(true); + } +} diff --git a/think b/think deleted file mode 100644 index a06f731d..00000000 --- a/think +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env php - -// +---------------------------------------------------------------------- - -namespace think; - -// 加载基础文件 -require __DIR__ . '/thinkphp/base.php'; - -// 应用初始化 -Container::get('app')->path(__DIR__ . '/application/')->initialize(); - -// 控制台初始化 -Console::init(); diff --git a/thinkphp/.gitignore b/thinkphp/.gitignore deleted file mode 100644 index f7775ba4..00000000 --- a/thinkphp/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/vendor -composer.phar -composer.lock -.DS_Store -Thumbs.db -/phpunit.xml -/.idea -/.vscode \ No newline at end of file diff --git a/thinkphp/.htaccess b/thinkphp/.htaccess deleted file mode 100644 index 3418e55a..00000000 --- a/thinkphp/.htaccess +++ /dev/null @@ -1 +0,0 @@ -deny from all \ No newline at end of file diff --git a/thinkphp/CONTRIBUTING.md b/thinkphp/CONTRIBUTING.md deleted file mode 100644 index 6cefcb38..00000000 --- a/thinkphp/CONTRIBUTING.md +++ /dev/null @@ -1,119 +0,0 @@ -如何贡献我的源代码 -=== - -此文档介绍了 ThinkPHP 团队的组成以及运转机制,您提交的代码将给 ThinkPHP 项目带来什么好处,以及如何才能加入我们的行列。 - -## 通过 Github 贡献代码 - -ThinkPHP 目前使用 Git 来控制程序版本,如果你想为 ThinkPHP 贡献源代码,请先大致了解 Git 的使用方法。我们目前把项目托管在 GitHub 上,任何 GitHub 用户都可以向我们贡献代码。 - -参与的方式很简单,`fork`一份 ThinkPHP 的代码到你的仓库中,修改后提交,并向我们发起`pull request`申请,我们会及时对代码进行审查并处理你的申请并。审查通过后,你的代码将被`merge`进我们的仓库中,这样你就会自动出现在贡献者名单里了,非常方便。 - -我们希望你贡献的代码符合: - -* ThinkPHP 的编码规范 -* 适当的注释,能让其他人读懂 -* 遵循 Apache2 开源协议 - -**如果想要了解更多细节或有任何疑问,请继续阅读下面的内容** - -### 注意事项 - -* 本项目代码格式化标准选用 [**PSR-2**](http://www.kancloud.cn/thinkphp/php-fig-psr/3141); -* 类名和类文件名遵循 [**PSR-4**](http://www.kancloud.cn/thinkphp/php-fig-psr/3144); -* 对于 Issues 的处理,请使用诸如 `fix #xxx(Issue ID)` 的 commit title 直接关闭 issue。 -* 系统会自动在 PHP 5.4 5.5 5.6 7.0 和 HHVM 上测试修改,其中 HHVM 下的测试容许报错,请确保你的修改符合 PHP 5.4 ~ 5.6 和 PHP 7.0 的语法规范; -* 管理员不会合并造成 CI faild 的修改,若出现 CI faild 请检查自己的源代码或修改相应的[单元测试文件](tests); - -## GitHub Issue - -GitHub 提供了 Issue 功能,该功能可以用于: - -* 提出 bug -* 提出功能改进 -* 反馈使用体验 - -该功能不应该用于: - - * 提出修改意见(涉及代码署名和修订追溯问题) - * 不友善的言论 - -## 快速修改 - -**GitHub 提供了快速编辑文件的功能** - -1. 登录 GitHub 帐号; -2. 浏览项目文件,找到要进行修改的文件; -3. 点击右上角铅笔图标进行修改; -4. 填写 `Commit changes` 相关内容(Title 必填); -5. 提交修改,等待 CI 验证和管理员合并。 - -**若您需要一次提交大量修改,请继续阅读下面的内容** - -## 完整流程 - -1. `fork`本项目; -2. 克隆(`clone`)你 `fork` 的项目到本地; -3. 新建分支(`branch`)并检出(`checkout`)新分支; -4. 添加本项目到你的本地 git 仓库作为上游(`upstream`); -5. 进行修改,若你的修改包含方法或函数的增减,请记得修改[单元测试文件](tests); -6. 变基(衍合 `rebase`)你的分支到上游 master 分支; -7. `push` 你的本地仓库到 GitHub; -8. 提交 `pull request`; -9. 等待 CI 验证(若不通过则重复 5~7,GitHub 会自动更新你的 `pull request`); -10. 等待管理员处理,并及时 `rebase` 你的分支到上游 master 分支(若上游 master 分支有修改)。 - -*若有必要,可以 `git push -f` 强行推送 rebase 后的分支到自己的 `fork`* - -*绝对不可以使用 `git push -f` 强行推送修改到上游* - -### 注意事项 - -* 若对上述流程有任何不清楚的地方,请查阅 GIT 教程,如 [这个](http://backlogtool.com/git-guide/cn/); -* 对于代码**不同方面**的修改,请在自己 `fork` 的项目中**创建不同的分支**(原因参见`完整流程`第9条备注部分); -* 变基及交互式变基操作参见 [Git 交互式变基](http://pakchoi.me/2015/03/17/git-interactive-rebase/) - -## 推荐资源 - -### 开发环境 - -* XAMPP for Windows 5.5.x -* WampServer (for Windows) -* upupw Apache PHP5.4 ( for Windows) - -或自行安装 - -- Apache / Nginx -- PHP 5.4 ~ 5.6 -- MySQL / MariaDB - -*Windows 用户推荐添加 PHP bin 目录到 PATH,方便使用 composer* - -*Linux 用户自行配置环境, Mac 用户推荐使用内置 Apache 配合 Homebrew 安装 PHP 和 MariaDB* - -### 编辑器 - -Sublime Text 3 + phpfmt 插件 - -phpfmt 插件参数 - -```json -{ - "autocomplete": true, - "enable_auto_align": true, - "format_on_save": true, - "indent_with_space": true, - "psr1_naming": false, - "psr2": true, - "version": 4 -} -``` - -或其他 编辑器 / IDE 配合 PSR2 自动格式化工具 - -### Git GUI - -* SourceTree -* GitHub Desktop - -或其他 Git 图形界面客户端 diff --git a/thinkphp/LICENSE.txt b/thinkphp/LICENSE.txt deleted file mode 100644 index 774fa76f..00000000 --- a/thinkphp/LICENSE.txt +++ /dev/null @@ -1,32 +0,0 @@ - -ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 -版权所有Copyright © 2006-2018 by ThinkPHP (http://thinkphp.cn) -All rights reserved。 -ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 - -Apache Licence是著名的非盈利开源组织Apache采用的协议。 -该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, -允许代码修改,再作为开源或商业软件发布。需要满足 -的条件: -1. 需要给代码的用户一份Apache Licence ; -2. 如果你修改了代码,需要在被修改的文件中说明; -3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 -带有原来代码中的协议,商标,专利声明和其他原来作者规 -定需要包含的说明; -4. 如果再发布的产品中包含一个Notice文件,则在Notice文 -件中需要带有本协议内容。你可以在Notice中增加自己的 -许可,但不可以表现为对Apache Licence构成更改。 -具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/thinkphp/README.md b/thinkphp/README.md deleted file mode 100644 index 1339e6c7..00000000 --- a/thinkphp/README.md +++ /dev/null @@ -1,99 +0,0 @@ -![](https://box.kancloud.cn/5a0aaa69a5ff42657b5c4715f3d49221) - -ThinkPHP 5.1(LTS) —— 12载初心,你值得信赖的PHP框架 -=============== - -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/top-think/framework/badges/quality-score.png?b=5.1)](https://scrutinizer-ci.com/g/top-think/framework/?branch=5.1) -[![Build Status](https://travis-ci.org/top-think/framework.svg?branch=master)](https://travis-ci.org/top-think/framework) -[![Total Downloads](https://poser.pugx.org/topthink/framework/downloads)](https://packagist.org/packages/topthink/framework) -[![Latest Stable Version](https://poser.pugx.org/topthink/framework/v/stable)](https://packagist.org/packages/topthink/framework) -[![PHP Version](https://img.shields.io/badge/php-%3E%3D5.6-8892BF.svg)](http://www.php.net/) -[![License](https://poser.pugx.org/topthink/framework/license)](https://packagist.org/packages/topthink/framework) - -ThinkPHP5.1对底层架构做了进一步的改进,减少依赖,其主要特性包括: - - + 采用容器统一管理对象 - + 支持Facade - + 更易用的路由 - + 注解路由支持 - + 路由跨域请求支持 - + 验证类增强 - + 配置和路由目录独立 - + 取消系统常量 - + 类库别名机制 - + 模型和数据库增强 - + 依赖注入完善 - + 支持PSR-3日志规范 - + 中间件支持(`V5.1.6+`) - + 支持`Swoole`/`Workerman`运行(`V5.1.18+`) - -官方已经正式宣布`5.1.27`版本为LTS版本。 - -### 废除的功能: - - + 聚合模型 - + 内置控制器扩展类 - + 模型自动验证 - -> ThinkPHP5.1的运行环境要求PHP5.6+ 兼容PHP8.0。 - - -## 安装 - -使用composer安装 - -~~~ -composer create-project topthink/think tp -~~~ - -启动服务 - -~~~ -cd tp -php think run -~~~ - -然后就可以在浏览器中访问 - -~~~ -http://localhost:8000 -~~~ - -更新框架 -~~~ -composer update topthink/framework -~~~ - - -## 在线手册 - -+ [完全开发手册](https://www.kancloud.cn/manual/thinkphp5_1/content) -+ [升级指导](https://www.kancloud.cn/manual/thinkphp5_1/354155) - - -## 官方服务 - -+ [应用服务市场](https://market.topthink.com/) -+ [ThinkAPI——统一API服务](https://docs.topthink.com/think-api) - -## 命名规范 - -`ThinkPHP5.1`遵循PSR-2命名规范和PSR-4自动加载规范。 - -## 参与开发 - -请参阅 [ThinkPHP5 核心框架包](https://github.com/top-think/framework)。 - -## 版权信息 - -ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 - -本项目包含的第三方源码和二进制文件之版权信息另行标注。 - -版权所有Copyright © 2006-2018 by ThinkPHP (http://thinkphp.cn) - -All rights reserved。 - -ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 - -更多细节参阅 [LICENSE.txt](LICENSE.txt) diff --git a/thinkphp/base.php b/thinkphp/base.php deleted file mode 100644 index d7238cc6..00000000 --- a/thinkphp/base.php +++ /dev/null @@ -1,52 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think; - -// 载入Loader类 -require __DIR__ . '/library/think/Loader.php'; - -// 注册自动加载 -Loader::register(); - -// 注册错误和异常处理机制 -Error::register(); - -// 实现日志接口 -if (interface_exists('Psr\Log\LoggerInterface')) { - interface LoggerInterface extends \Psr\Log\LoggerInterface - {} -} else { - interface LoggerInterface - {} -} - -// 注册类库别名 -Loader::addClassAlias([ - 'App' => facade\App::class, - 'Build' => facade\Build::class, - 'Cache' => facade\Cache::class, - 'Config' => facade\Config::class, - 'Cookie' => facade\Cookie::class, - 'Db' => Db::class, - 'Debug' => facade\Debug::class, - 'Env' => facade\Env::class, - 'Facade' => Facade::class, - 'Hook' => facade\Hook::class, - 'Lang' => facade\Lang::class, - 'Log' => facade\Log::class, - 'Request' => facade\Request::class, - 'Response' => facade\Response::class, - 'Route' => facade\Route::class, - 'Session' => facade\Session::class, - 'Url' => facade\Url::class, - 'Validate' => facade\Validate::class, - 'View' => facade\View::class, -]); diff --git a/thinkphp/composer.json b/thinkphp/composer.json deleted file mode 100644 index 33477b1d..00000000 --- a/thinkphp/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "topthink/framework", - "description": "the new thinkphp framework", - "type": "think-framework", - "keywords": [ - "framework", - "thinkphp", - "ORM" - ], - "homepage": "http://thinkphp.cn/", - "license": "Apache-2.0", - "authors": [ - { - "name": "liu21st", - "email": "liu21st@gmail.com" - }, - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "require": { - "php": ">=5.6.0", - "topthink/think-installer": "2.*" - }, - "require-dev": { - "phpunit/phpunit": "^5.0|^6.0", - "johnkary/phpunit-speedtrap": "^1.0", - "mikey179/vfsstream": "~1.6", - "phploc/phploc": "2.*", - "sebastian/phpcpd": "2.*", - "squizlabs/php_codesniffer": "2.*", - "phpdocumentor/reflection-docblock": "^2.0" - } -} diff --git a/thinkphp/convention.php b/thinkphp/convention.php deleted file mode 100644 index 1d85e56e..00000000 --- a/thinkphp/convention.php +++ /dev/null @@ -1,327 +0,0 @@ - [ - // 应用名称 - 'app_name' => '', - // 应用地址 - 'app_host' => '', - // 应用调试模式 - 'app_debug' => false, - // 应用Trace - 'app_trace' => false, - // 应用模式状态 - 'app_status' => '', - // 是否HTTPS - 'is_https' => false, - // 入口自动绑定模块 - 'auto_bind_module' => false, - // 注册的根命名空间 - 'root_namespace' => [], - // 默认输出类型 - 'default_return_type' => 'html', - // 默认AJAX 数据返回格式,可选json xml ... - 'default_ajax_return' => 'json', - // 默认JSONP格式返回的处理方法 - 'default_jsonp_handler' => 'jsonpReturn', - // 默认JSONP处理方法 - 'var_jsonp_handler' => 'callback', - // 默认时区 - 'default_timezone' => 'Asia/Shanghai', - // 是否开启多语言 - 'lang_switch_on' => false, - // 默认验证器 - 'default_validate' => '', - // 默认语言 - 'default_lang' => 'zh-cn', - - // +---------------------------------------------------------------------- - // | 模块设置 - // +---------------------------------------------------------------------- - - // 自动搜索控制器 - 'controller_auto_search' => false, - // 操作方法前缀 - 'use_action_prefix' => false, - // 操作方法后缀 - 'action_suffix' => '', - // 默认的空控制器名 - 'empty_controller' => 'Error', - // 默认的空模块名 - 'empty_module' => '', - // 默认模块名 - 'default_module' => 'index', - // 是否支持多模块 - 'app_multi_module' => true, - // 禁止访问模块 - 'deny_module_list' => ['common'], - // 默认控制器名 - 'default_controller' => 'Index', - // 默认操作名 - 'default_action' => 'index', - // 是否自动转换URL中的控制器和操作名 - 'url_convert' => true, - // 默认的访问控制器层 - 'url_controller_layer' => 'controller', - // 应用类库后缀 - 'class_suffix' => false, - // 控制器类后缀 - 'controller_suffix' => false, - - // +---------------------------------------------------------------------- - // | URL请求设置 - // +---------------------------------------------------------------------- - - // 默认全局过滤方法 用逗号分隔多个 - 'default_filter' => '', - // PATHINFO变量名 用于兼容模式 - 'var_pathinfo' => 's', - // 兼容PATH_INFO获取 - 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'], - // HTTPS代理标识 - 'https_agent_name' => '', - // IP代理获取标识 - 'http_agent_ip' => 'HTTP_X_REAL_IP', - // URL伪静态后缀 - 'url_html_suffix' => 'html', - // 域名根,如thinkphp.cn - 'url_domain_root' => '', - // 表单请求类型伪装变量 - 'var_method' => '_method', - // 表单ajax伪装变量 - 'var_ajax' => '_ajax', - // 表单pjax伪装变量 - 'var_pjax' => '_pjax', - // 是否开启请求缓存 true自动缓存 支持设置请求缓存规则 - 'request_cache' => false, - // 请求缓存有效期 - 'request_cache_expire' => null, - // 全局请求缓存排除规则 - 'request_cache_except' => [], - - // +---------------------------------------------------------------------- - // | 路由设置 - // +---------------------------------------------------------------------- - - // pathinfo分隔符 - 'pathinfo_depr' => '/', - // URL普通方式参数 用于自动生成 - 'url_common_param' => false, - // URL参数方式 0 按名称成对解析 1 按顺序解析 - 'url_param_type' => 0, - // 是否开启路由延迟解析 - 'url_lazy_route' => false, - // 是否强制使用路由 - 'url_route_must' => false, - // 合并路由规则 - 'route_rule_merge' => false, - // 路由是否完全匹配 - 'route_complete_match' => false, - // 使用注解路由 - 'route_annotation' => false, - // 默认的路由变量规则 - 'default_route_pattern' => '\w+', - // 是否开启路由缓存 - 'route_check_cache' => false, - // 路由缓存的Key自定义设置(闭包),默认为当前URL和请求类型的md5 - 'route_check_cache_key' => '', - // 路由缓存的设置 - 'route_cache_option' => [], - - // +---------------------------------------------------------------------- - // | 异常及错误设置 - // +---------------------------------------------------------------------- - - // 默认跳转页面对应的模板文件 - 'dispatch_success_tmpl' => __DIR__ . '/tpl/dispatch_jump.tpl', - 'dispatch_error_tmpl' => __DIR__ . '/tpl/dispatch_jump.tpl', - // 异常页面的模板文件 - 'exception_tmpl' => __DIR__ . '/tpl/think_exception.tpl', - // 错误显示信息,非调试模式有效 - 'error_message' => '页面错误!请稍后再试~', - // 显示错误信息 - 'show_error_msg' => false, - // 异常处理handle类 留空使用 \think\exception\Handle - 'exception_handle' => '', - ], - - // +---------------------------------------------------------------------- - // | 模板设置 - // +---------------------------------------------------------------------- - - 'template' => [ - // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 - 'auto_rule' => 1, - // 模板引擎类型 支持 php think 支持扩展 - 'type' => 'Think', - // 视图基础目录,配置目录为所有模块的视图起始目录 - 'view_base' => '', - // 当前模板的视图目录 留空为自动获取 - 'view_path' => '', - // 模板后缀 - 'view_suffix' => 'html', - // 模板文件名分隔符 - 'view_depr' => DIRECTORY_SEPARATOR, - // 模板引擎普通标签开始标记 - 'tpl_begin' => '{', - // 模板引擎普通标签结束标记 - 'tpl_end' => '}', - // 标签库标签开始标记 - 'taglib_begin' => '{', - // 标签库标签结束标记 - 'taglib_end' => '}', - ], - - // +---------------------------------------------------------------------- - // | 日志设置 - // +---------------------------------------------------------------------- - - 'log' => [ - // 日志记录方式,内置 file socket 支持扩展 - 'type' => 'File', - // 日志保存目录 - //'path' => LOG_PATH, - // 日志记录级别 - 'level' => [], - // 是否记录trace信息到日志 - 'record_trace' => false, - // 是否JSON格式记录 - 'json' => false, - ], - - // +---------------------------------------------------------------------- - // | Trace设置 开启 app_trace 后 有效 - // +---------------------------------------------------------------------- - - 'trace' => [ - // 内置Html Console 支持扩展 - 'type' => 'Html', - 'file' => __DIR__ . '/tpl/page_trace.tpl', - ], - - // +---------------------------------------------------------------------- - // | 缓存设置 - // +---------------------------------------------------------------------- - - 'cache' => [ - // 驱动方式 - 'type' => 'File', - // 缓存保存目录 - //'path' => CACHE_PATH, - // 缓存前缀 - 'prefix' => '', - // 缓存有效期 0表示永久缓存 - 'expire' => 0, - ], - - // +---------------------------------------------------------------------- - // | 会话设置 - // +---------------------------------------------------------------------- - - 'session' => [ - 'id' => '', - // SESSION_ID的提交变量,解决flash上传跨域 - 'var_session_id' => '', - // SESSION 前缀 - 'prefix' => 'think', - // 驱动方式 支持redis memcache memcached - 'type' => '', - // 是否自动开启 SESSION - 'auto_start' => true, - 'httponly' => true, - 'secure' => false, - ], - - // +---------------------------------------------------------------------- - // | Cookie设置 - // +---------------------------------------------------------------------- - - 'cookie' => [ - // cookie 名称前缀 - 'prefix' => '', - // cookie 保存时间 - 'expire' => 0, - // cookie 保存路径 - 'path' => '/', - // cookie 有效域名 - 'domain' => '', - // cookie 启用安全传输 - 'secure' => false, - // httponly设置 - 'httponly' => '', - // 是否使用 setcookie - 'setcookie' => true, - ], - - // +---------------------------------------------------------------------- - // | 数据库设置 - // +---------------------------------------------------------------------- - - 'database' => [ - // 数据库类型 - 'type' => 'mysql', - // 数据库连接DSN配置 - 'dsn' => '', - // 服务器地址 - 'hostname' => '127.0.0.1', - // 数据库名 - 'database' => '', - // 数据库用户名 - 'username' => 'root', - // 数据库密码 - 'password' => '', - // 数据库连接端口 - 'hostport' => '', - // 数据库连接参数 - 'params' => [], - // 数据库编码默认采用utf8 - 'charset' => 'utf8', - // 数据库表前缀 - 'prefix' => '', - // 数据库调试模式 - 'debug' => false, - // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) - 'deploy' => 0, - // 数据库读写是否分离 主从式有效 - 'rw_separate' => false, - // 读写分离后 主服务器数量 - 'master_num' => 1, - // 指定从服务器序号 - 'slave_no' => '', - // 是否严格检查字段是否存在 - 'fields_strict' => true, - // 数据集返回类型 - 'resultset_type' => 'array', - // 自动写入时间戳字段 - 'auto_timestamp' => false, - // 时间字段取出后的默认时间格式 - 'datetime_format' => 'Y-m-d H:i:s', - // 是否需要进行SQL性能分析 - 'sql_explain' => false, - // 查询对象 - 'query' => '\\think\\db\\Query', - ], - - //分页配置 - 'paginate' => [ - 'type' => 'bootstrap', - 'var_page' => 'page', - 'list_rows' => 15, - ], - - //控制台配置 - 'console' => [ - 'name' => 'Think Console', - 'version' => '0.1', - 'user' => null, - 'auto_path' => '', - ], - - // 中间件配置 - 'middleware' => [ - 'default_namespace' => 'app\\http\\middleware\\', - ], -]; diff --git a/thinkphp/helper.php b/thinkphp/helper.php deleted file mode 100644 index 72b9e9fd..00000000 --- a/thinkphp/helper.php +++ /dev/null @@ -1,726 +0,0 @@ - -// +---------------------------------------------------------------------- - -//------------------------ -// ThinkPHP 助手函数 -//------------------------- - -use think\Container; -use think\Db; -use think\exception\HttpException; -use think\exception\HttpResponseException; -use think\facade\Cache; -use think\facade\Config; -use think\facade\Cookie; -use think\facade\Debug; -use think\facade\Env; -use think\facade\Hook; -use think\facade\Lang; -use think\facade\Log; -use think\facade\Request; -use think\facade\Route; -use think\facade\Session; -use think\facade\Url; -use think\Response; -use think\route\RuleItem; - -if (!function_exists('abort')) { - /** - * 抛出HTTP异常 - * @param integer|Response $code 状态码 或者 Response对象实例 - * @param string $message 错误信息 - * @param array $header 参数 - */ - function abort($code, $message = null, $header = []) - { - if ($code instanceof Response) { - throw new HttpResponseException($code); - } else { - throw new HttpException($code, $message, null, $header); - } - } -} - -if (!function_exists('action')) { - /** - * 调用模块的操作方法 参数格式 [模块/控制器/]操作 - * @param string $url 调用地址 - * @param string|array $vars 调用参数 支持字符串和数组 - * @param string $layer 要调用的控制层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @return mixed - */ - function action($url, $vars = [], $layer = 'controller', $appendSuffix = false) - { - return app()->action($url, $vars, $layer, $appendSuffix); - } -} - -if (!function_exists('app')) { - /** - * 快速获取容器中的实例 支持依赖注入 - * @param string $name 类名或标识 默认获取当前应用实例 - * @param array $args 参数 - * @param bool $newInstance 是否每次创建新的实例 - * @return mixed|\think\App - */ - function app($name = 'think\App', $args = [], $newInstance = false) - { - return Container::get($name, $args, $newInstance); - } -} - -if (!function_exists('behavior')) { - /** - * 执行某个行为(run方法) 支持依赖注入 - * @param mixed $behavior 行为类名或者别名 - * @param mixed $args 参数 - * @return mixed - */ - function behavior($behavior, $args = null) - { - return Hook::exec($behavior, $args); - } -} - -if (!function_exists('bind')) { - /** - * 绑定一个类到容器 - * @access public - * @param string $abstract 类标识、接口 - * @param mixed $concrete 要绑定的类、闭包或者实例 - * @return Container - */ - function bind($abstract, $concrete = null) - { - return Container::getInstance()->bindTo($abstract, $concrete); - } -} - -if (!function_exists('cache')) { - /** - * 缓存管理 - * @param mixed $name 缓存名称,如果为数组表示进行缓存设置 - * @param mixed $value 缓存值 - * @param mixed $options 缓存参数 - * @param string $tag 缓存标签 - * @return mixed - */ - function cache($name, $value = '', $options = null, $tag = null) - { - if (is_array($options)) { - // 缓存操作的同时初始化 - Cache::connect($options); - } elseif (is_array($name)) { - // 缓存初始化 - return Cache::connect($name); - } - - if ('' === $value) { - // 获取缓存 - return 0 === strpos($name, '?') ? Cache::has(substr($name, 1)) : Cache::get($name); - } elseif (is_null($value)) { - // 删除缓存 - return Cache::rm($name); - } - - // 缓存数据 - if (is_array($options)) { - $expire = isset($options['expire']) ? $options['expire'] : null; //修复查询缓存无法设置过期时间 - } else { - $expire = is_numeric($options) ? $options : null; //默认快捷缓存设置过期时间 - } - - if (is_null($tag)) { - return Cache::set($name, $value, $expire); - } else { - return Cache::tag($tag)->set($name, $value, $expire); - } - } -} - -if (!function_exists('call')) { - /** - * 调用反射执行callable 支持依赖注入 - * @param mixed $callable 支持闭包等callable写法 - * @param array $args 参数 - * @return mixed - */ - function call($callable, $args = []) - { - return Container::getInstance()->invoke($callable, $args); - } -} - -if (!function_exists('class_basename')) { - /** - * 获取类名(不包含命名空间) - * - * @param string|object $class - * @return string - */ - function class_basename($class) - { - $class = is_object($class) ? get_class($class) : $class; - return basename(str_replace('\\', '/', $class)); - } -} - -if (!function_exists('class_uses_recursive')) { - /** - *获取一个类里所有用到的trait,包括父类的 - * - * @param $class - * @return array - */ - function class_uses_recursive($class) - { - if (is_object($class)) { - $class = get_class($class); - } - - $results = []; - $classes = array_merge([$class => $class], class_parents($class)); - foreach ($classes as $class) { - $results += trait_uses_recursive($class); - } - - return array_unique($results); - } -} - -if (!function_exists('config')) { - /** - * 获取和设置配置参数 - * @param string|array $name 参数名 - * @param mixed $value 参数值 - * @return mixed - */ - function config($name = '', $value = null) - { - if (is_null($value) && is_string($name)) { - if ('.' == substr($name, -1)) { - return Config::pull(substr($name, 0, -1)); - } - - return 0 === strpos($name, '?') ? Config::has(substr($name, 1)) : Config::get($name); - } else { - return Config::set($name, $value); - } - } -} - -if (!function_exists('container')) { - /** - * 获取容器对象实例 - * @return Container - */ - function container() - { - return Container::getInstance(); - } -} - -if (!function_exists('controller')) { - /** - * 实例化控制器 格式:[模块/]控制器 - * @param string $name 资源地址 - * @param string $layer 控制层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @return \think\Controller - */ - function controller($name, $layer = 'controller', $appendSuffix = false) - { - return app()->controller($name, $layer, $appendSuffix); - } -} - -if (!function_exists('cookie')) { - /** - * Cookie管理 - * @param string|array $name cookie名称,如果为数组表示进行cookie设置 - * @param mixed $value cookie值 - * @param mixed $option 参数 - * @return mixed - */ - function cookie($name, $value = '', $option = null) - { - if (is_array($name)) { - // 初始化 - Cookie::init($name); - } elseif (is_null($name)) { - // 清除 - Cookie::clear($value); - } elseif ('' === $value) { - // 获取 - return 0 === strpos($name, '?') ? Cookie::has(substr($name, 1), $option) : Cookie::get($name); - } elseif (is_null($value)) { - // 删除 - return Cookie::delete($name); - } else { - // 设置 - return Cookie::set($name, $value, $option); - } - } -} - -if (!function_exists('db')) { - /** - * 实例化数据库类 - * @param string $name 操作的数据表名称(不含前缀) - * @param array|string $config 数据库配置参数 - * @param bool $force 是否强制重新连接 - * @return \think\db\Query - */ - function db($name = '', $config = [], $force = true) - { - return Db::connect($config, $force)->name($name); - } -} - -if (!function_exists('debug')) { - /** - * 记录时间(微秒)和内存使用情况 - * @param string $start 开始标签 - * @param string $end 结束标签 - * @param integer|string $dec 小数位 如果是m 表示统计内存占用 - * @return mixed - */ - function debug($start, $end = '', $dec = 6) - { - if ('' == $end) { - Debug::remark($start); - } else { - return 'm' == $dec ? Debug::getRangeMem($start, $end) : Debug::getRangeTime($start, $end, $dec); - } - } -} - -if (!function_exists('download')) { - /** - * 获取\think\response\Download对象实例 - * @param string $filename 要下载的文件 - * @param string $name 显示文件名 - * @param bool $content 是否为内容 - * @param integer $expire 有效期(秒) - * @return \think\response\Download - */ - function download($filename, $name = '', $content = false, $expire = 360, $openinBrowser = false) - { - return Response::create($filename, 'download')->name($name)->isContent($content)->expire($expire)->openinBrowser($openinBrowser); - } -} - -if (!function_exists('dump')) { - /** - * 浏览器友好的变量输出 - * @param mixed $var 变量 - * @param boolean $echo 是否输出 默认为true 如果为false 则返回输出字符串 - * @param string $label 标签 默认为空 - * @return void|string - */ - function dump($var, $echo = true, $label = null) - { - return Debug::dump($var, $echo, $label); - } -} - -if (!function_exists('env')) { - /** - * 获取环境变量值 - * @access public - * @param string $name 环境变量名(支持二级 .号分割) - * @param string $default 默认值 - * @return mixed - */ - function env($name = null, $default = null) - { - return Env::get($name, $default); - } -} - -if (!function_exists('exception')) { - /** - * 抛出异常处理 - * - * @param string $msg 异常消息 - * @param integer $code 异常代码 默认为0 - * @param string $exception 异常类 - * - * @throws Exception - */ - function exception($msg, $code = 0, $exception = '') - { - $e = $exception ?: '\think\Exception'; - throw new $e($msg, $code); - } -} - -if (!function_exists('halt')) { - /** - * 调试变量并且中断输出 - * @param mixed $var 调试变量或者信息 - */ - function halt($var) - { - dump($var); - - throw new HttpResponseException(new Response); - } -} - -if (!function_exists('input')) { - /** - * 获取输入数据 支持默认值和过滤 - * @param string $key 获取的变量名 - * @param mixed $default 默认值 - * @param string $filter 过滤方法 - * @return mixed - */ - function input($key = '', $default = null, $filter = '') - { - if (0 === strpos($key, '?')) { - $key = substr($key, 1); - $has = true; - } - - if ($pos = strpos($key, '.')) { - // 指定参数来源 - $method = substr($key, 0, $pos); - if (in_array($method, ['get', 'post', 'put', 'patch', 'delete', 'route', 'param', 'request', 'session', 'cookie', 'server', 'env', 'path', 'file'])) { - $key = substr($key, $pos + 1); - } else { - $method = 'param'; - } - } else { - // 默认为自动判断 - $method = 'param'; - } - - if (isset($has)) { - return request()->has($key, $method, $default); - } else { - return request()->$method($key, $default, $filter); - } - } -} - -if (!function_exists('json')) { - /** - * 获取\think\response\Json对象实例 - * @param mixed $data 返回的数据 - * @param integer $code 状态码 - * @param array $header 头部 - * @param array $options 参数 - * @return \think\response\Json - */ - function json($data = [], $code = 200, $header = [], $options = []) - { - return Response::create($data, 'json', $code, $header, $options); - } -} - -if (!function_exists('jsonp')) { - /** - * 获取\think\response\Jsonp对象实例 - * @param mixed $data 返回的数据 - * @param integer $code 状态码 - * @param array $header 头部 - * @param array $options 参数 - * @return \think\response\Jsonp - */ - function jsonp($data = [], $code = 200, $header = [], $options = []) - { - return Response::create($data, 'jsonp', $code, $header, $options); - } -} - -if (!function_exists('lang')) { - /** - * 获取语言变量值 - * @param string $name 语言变量名 - * @param array $vars 动态变量值 - * @param string $lang 语言 - * @return mixed - */ - function lang($name, $vars = [], $lang = '') - { - return Lang::get($name, $vars, $lang); - } -} - -if (!function_exists('model')) { - /** - * 实例化Model - * @param string $name Model名称 - * @param string $layer 业务层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @return \think\Model - */ - function model($name = '', $layer = 'model', $appendSuffix = false) - { - return app()->model($name, $layer, $appendSuffix); - } -} - -if (!function_exists('parse_name')) { - /** - * 字符串命名风格转换 - * type 0 将Java风格转换为C的风格 1 将C风格转换为Java的风格 - * @param string $name 字符串 - * @param integer $type 转换类型 - * @param bool $ucfirst 首字母是否大写(驼峰规则) - * @return string - */ - function parse_name($name, $type = 0, $ucfirst = true) - { - if ($type) { - $name = preg_replace_callback('/_([a-zA-Z])/', function ($match) { - return strtoupper($match[1]); - }, $name); - - return $ucfirst ? ucfirst($name) : lcfirst($name); - } else { - return strtolower(trim(preg_replace("/[A-Z]/", "_\\0", $name), "_")); - } - } -} - -if (!function_exists('redirect')) { - /** - * 获取\think\response\Redirect对象实例 - * @param mixed $url 重定向地址 支持Url::build方法的地址 - * @param array|integer $params 额外参数 - * @param integer $code 状态码 - * @return \think\response\Redirect - */ - function redirect($url = [], $params = [], $code = 302) - { - if (is_integer($params)) { - $code = $params; - $params = []; - } - - return Response::create($url, 'redirect', $code)->params($params); - } -} - -if (!function_exists('request')) { - /** - * 获取当前Request对象实例 - * @return Request - */ - function request() - { - return app('request'); - } -} - -if (!function_exists('response')) { - /** - * 创建普通 Response 对象实例 - * @param mixed $data 输出数据 - * @param int|string $code 状态码 - * @param array $header 头信息 - * @param string $type - * @return Response - */ - function response($data = '', $code = 200, $header = [], $type = 'html') - { - return Response::create($data, $type, $code, $header); - } -} - -if (!function_exists('route')) { - /** - * 路由注册 - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - function route($rule, $route, $option = [], $pattern = []) - { - return Route::rule($rule, $route, '*', $option, $pattern); - } -} - -if (!function_exists('session')) { - /** - * Session管理 - * @param string|array $name session名称,如果为数组表示进行session设置 - * @param mixed $value session值 - * @param string $prefix 前缀 - * @return mixed - */ - function session($name, $value = '', $prefix = null) - { - if (is_array($name)) { - // 初始化 - Session::init($name); - } elseif (is_null($name)) { - // 清除 - Session::clear($value); - } elseif ('' === $value) { - // 判断或获取 - return 0 === strpos($name, '?') ? Session::has(substr($name, 1), $prefix) : Session::get($name, $prefix); - } elseif (is_null($value)) { - // 删除 - return Session::delete($name, $prefix); - } else { - // 设置 - return Session::set($name, $value, $prefix); - } - } -} - -if (!function_exists('token')) { - /** - * 生成表单令牌 - * @param string $name 令牌名称 - * @param mixed $type 令牌生成方法 - * @return string - */ - function token($name = '__token__', $type = 'md5') - { - $token = Request::token($name, $type); - - return ''; - } -} - -if (!function_exists('trace')) { - /** - * 记录日志信息 - * @param mixed $log log信息 支持字符串和数组 - * @param string $level 日志级别 - * @return array|void - */ - function trace($log = '[think]', $level = 'log') - { - if ('[think]' === $log) { - return Log::getLog(); - } else { - Log::record($log, $level); - } - } -} - -if (!function_exists('trait_uses_recursive')) { - /** - * 获取一个trait里所有引用到的trait - * - * @param string $trait - * @return array - */ - function trait_uses_recursive($trait) - { - $traits = class_uses($trait); - foreach ($traits as $trait) { - $traits += trait_uses_recursive($trait); - } - - return $traits; - } -} - -if (!function_exists('url')) { - /** - * Url生成 - * @param string $url 路由地址 - * @param string|array $vars 变量 - * @param bool|string $suffix 生成的URL后缀 - * @param bool|string $domain 域名 - * @return string - */ - function url($url = '', $vars = '', $suffix = true, $domain = false) - { - return Url::build($url, $vars, $suffix, $domain); - } -} - -if (!function_exists('validate')) { - /** - * 实例化验证器 - * @param string $name 验证器名称 - * @param string $layer 业务层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @return \think\Validate - */ - function validate($name = '', $layer = 'validate', $appendSuffix = false) - { - return app()->validate($name, $layer, $appendSuffix); - } -} - -if (!function_exists('view')) { - /** - * 渲染模板输出 - * @param string $template 模板文件 - * @param array $vars 模板变量 - * @param integer $code 状态码 - * @param callable $filter 内容过滤 - * @return \think\response\View - */ - function view($template = '', $vars = [], $code = 200, $filter = null) - { - return Response::create($template, 'view', $code)->assign($vars)->filter($filter); - } -} - -if (!function_exists('widget')) { - /** - * 渲染输出Widget - * @param string $name Widget名称 - * @param array $data 传入的参数 - * @return mixed - */ - function widget($name, $data = []) - { - $result = app()->action($name, $data, 'widget'); - - if (is_object($result)) { - $result = $result->getContent(); - } - - return $result; - } -} - -if (!function_exists('xml')) { - /** - * 获取\think\response\Xml对象实例 - * @param mixed $data 返回的数据 - * @param integer $code 状态码 - * @param array $header 头部 - * @param array $options 参数 - * @return \think\response\Xml - */ - function xml($data = [], $code = 200, $header = [], $options = []) - { - return Response::create($data, 'xml', $code, $header, $options); - } -} - -if (!function_exists('yaconf')) { - /** - * 获取yaconf配置 - * - * @param string $name 配置参数名 - * @param mixed $default 默认值 - * @return mixed - */ - function yaconf($name, $default = null) - { - return Config::yaconf($name, $default); - } -} diff --git a/thinkphp/lang/zh-cn.php b/thinkphp/lang/zh-cn.php deleted file mode 100644 index 1e050820..00000000 --- a/thinkphp/lang/zh-cn.php +++ /dev/null @@ -1,144 +0,0 @@ - -// +---------------------------------------------------------------------- - -// 核心中文语言包 -return [ - // 系统错误提示 - 'Undefined variable' => '未定义变量', - 'Undefined index' => '未定义数组索引', - 'Undefined offset' => '未定义数组下标', - 'Parse error' => '语法解析错误', - 'Type error' => '类型错误', - 'Fatal error' => '致命错误', - 'syntax error' => '语法错误', - - // 框架核心错误提示 - 'dispatch type not support' => '不支持的调度类型', - 'method param miss' => '方法参数错误', - 'method not exists' => '方法不存在', - 'function not exists' => '函数不存在', - 'file not exists' => '文件不存在', - 'module not exists' => '模块不存在', - 'controller not exists' => '控制器不存在', - 'class not exists' => '类不存在', - 'property not exists' => '类的属性不存在', - 'template not exists' => '模板文件不存在', - 'illegal controller name' => '非法的控制器名称', - 'illegal action name' => '非法的操作名称', - 'url suffix deny' => '禁止的URL后缀访问', - 'Route Not Found' => '当前访问路由未定义或不匹配', - 'Undefined db type' => '未定义数据库类型', - 'variable type error' => '变量类型错误', - 'PSR-4 error' => 'PSR-4 规范错误', - 'not support total' => '简洁模式下不能获取数据总数', - 'not support last' => '简洁模式下不能获取最后一页', - 'error session handler' => '错误的SESSION处理器类', - 'not allow php tag' => '模板不允许使用PHP语法', - 'not support' => '不支持', - 'redisd master' => 'Redisd 主服务器错误', - 'redisd slave' => 'Redisd 从服务器错误', - 'must run at sae' => '必须在SAE运行', - 'memcache init error' => '未开通Memcache服务,请在SAE管理平台初始化Memcache服务', - 'KVDB init error' => '没有初始化KVDB,请在SAE管理平台初始化KVDB服务', - 'fields not exists' => '数据表字段不存在', - 'where express error' => '查询表达式错误', - 'order express error' => '排序表达式错误', - 'no data to update' => '没有任何数据需要更新', - 'miss data to insert' => '缺少需要写入的数据', - 'not support data' => '不支持的数据表达式', - 'miss complex primary data' => '缺少复合主键数据', - 'miss update condition' => '缺少更新条件', - 'model data Not Found' => '模型数据不存在', - 'table data not Found' => '表数据不存在', - 'delete without condition' => '没有条件不会执行删除操作', - 'miss relation data' => '缺少关联表数据', - 'tag attr must' => '模板标签属性必须', - 'tag error' => '模板标签错误', - 'cache write error' => '缓存写入失败', - 'sae mc write error' => 'SAE mc 写入错误', - 'route name not exists' => '路由标识不存在(或参数不够)', - 'invalid request' => '非法请求', - 'bind attr has exists' => '模型的属性已经存在', - 'relation data not exists' => '关联数据不存在', - 'relation not support' => '关联不支持', - 'chunk not support order' => 'Chunk不支持调用order方法', - 'route pattern error' => '路由变量规则定义错误', - 'route behavior will not support' => '路由行为废弃(使用中间件替代)', - 'closure not support cache(true)' => '使用闭包查询不支持cache(true),请指定缓存Key', - - // 上传错误信息 - 'unknown upload error' => '未知上传错误!', - 'file write error' => '文件写入失败!', - 'upload temp dir not found' => '找不到临时文件夹!', - 'no file to uploaded' => '没有文件被上传!', - 'only the portion of file is uploaded' => '文件只有部分被上传!', - 'upload File size exceeds the maximum value' => '上传文件大小超过了最大值!', - 'upload write error' => '文件上传保存错误!', - 'has the same filename: {:filename}' => '存在同名文件:{:filename}', - 'upload illegal files' => '非法上传文件', - 'illegal image files' => '非法图片文件', - 'extensions to upload is not allowed' => '上传文件后缀不允许', - 'mimetype to upload is not allowed' => '上传文件MIME类型不允许!', - 'filesize not match' => '上传文件大小不符!', - 'directory {:path} creation failed' => '目录 {:path} 创建失败!', - - 'The middleware must return Response instance' => '中间件方法必须返回Response对象实例', - 'The queue was exhausted, with no response returned' => '中间件队列为空', - // Validate Error Message - ':attribute require' => ':attribute不能为空', - ':attribute must' => ':attribute必须', - ':attribute must be numeric' => ':attribute必须是数字', - ':attribute must be integer' => ':attribute必须是整数', - ':attribute must be float' => ':attribute必须是浮点数', - ':attribute must be bool' => ':attribute必须是布尔值', - ':attribute not a valid email address' => ':attribute格式不符', - ':attribute not a valid mobile' => ':attribute格式不符', - ':attribute must be a array' => ':attribute必须是数组', - ':attribute must be yes,on or 1' => ':attribute必须是yes、on或者1', - ':attribute not a valid datetime' => ':attribute不是一个有效的日期或时间格式', - ':attribute not a valid file' => ':attribute不是有效的上传文件', - ':attribute not a valid image' => ':attribute不是有效的图像文件', - ':attribute must be alpha' => ':attribute只能是字母', - ':attribute must be alpha-numeric' => ':attribute只能是字母和数字', - ':attribute must be alpha-numeric, dash, underscore' => ':attribute只能是字母、数字和下划线_及破折号-', - ':attribute not a valid domain or ip' => ':attribute不是有效的域名或者IP', - ':attribute must be chinese' => ':attribute只能是汉字', - ':attribute must be chinese or alpha' => ':attribute只能是汉字、字母', - ':attribute must be chinese,alpha-numeric' => ':attribute只能是汉字、字母和数字', - ':attribute must be chinese,alpha-numeric,underscore, dash' => ':attribute只能是汉字、字母、数字和下划线_及破折号-', - ':attribute not a valid url' => ':attribute不是有效的URL地址', - ':attribute not a valid ip' => ':attribute不是有效的IP地址', - ':attribute must be dateFormat of :rule' => ':attribute必须使用日期格式 :rule', - ':attribute must be in :rule' => ':attribute必须在 :rule 范围内', - ':attribute be notin :rule' => ':attribute不能在 :rule 范围内', - ':attribute must between :1 - :2' => ':attribute只能在 :1 - :2 之间', - ':attribute not between :1 - :2' => ':attribute不能在 :1 - :2 之间', - 'size of :attribute must be :rule' => ':attribute长度不符合要求 :rule', - 'max size of :attribute must be :rule' => ':attribute长度不能超过 :rule', - 'min size of :attribute must be :rule' => ':attribute长度不能小于 :rule', - ':attribute cannot be less than :rule' => ':attribute日期不能小于 :rule', - ':attribute cannot exceed :rule' => ':attribute日期不能超过 :rule', - ':attribute not within :rule' => '不在有效期内 :rule', - 'access IP is not allowed' => '不允许的IP访问', - 'access IP denied' => '禁止的IP访问', - ':attribute out of accord with :2' => ':attribute和确认字段:2不一致', - ':attribute cannot be same with :2' => ':attribute和比较字段:2不能相同', - ':attribute must greater than or equal :rule' => ':attribute必须大于等于 :rule', - ':attribute must greater than :rule' => ':attribute必须大于 :rule', - ':attribute must less than or equal :rule' => ':attribute必须小于等于 :rule', - ':attribute must less than :rule' => ':attribute必须小于 :rule', - ':attribute must equal :rule' => ':attribute必须等于 :rule', - ':attribute has exists' => ':attribute已存在', - ':attribute not conform to the rules' => ':attribute不符合指定规则', - 'invalid Request method' => '无效的请求类型', - 'invalid token' => '令牌数据无效', - 'not conform to the rules' => '规则错误', -]; diff --git a/thinkphp/library/think/App.php b/thinkphp/library/think/App.php deleted file mode 100644 index 35924a5b..00000000 --- a/thinkphp/library/think/App.php +++ /dev/null @@ -1,979 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\ClassNotFoundException; -use think\exception\HttpResponseException; -use think\route\Dispatch; - -/** - * App 应用管理 - */ -class App extends Container -{ - const VERSION = '5.1.41 LTS'; - - /** - * 当前模块路径 - * @var string - */ - protected $modulePath; - - /** - * 应用调试模式 - * @var bool - */ - protected $appDebug = true; - - /** - * 应用开始时间 - * @var float - */ - protected $beginTime; - - /** - * 应用内存初始占用 - * @var integer - */ - protected $beginMem; - - /** - * 应用类库命名空间 - * @var string - */ - protected $namespace = 'app'; - - /** - * 应用类库后缀 - * @var bool - */ - protected $suffix = false; - - /** - * 严格路由检测 - * @var bool - */ - protected $routeMust; - - /** - * 应用类库目录 - * @var string - */ - protected $appPath; - - /** - * 框架目录 - * @var string - */ - protected $thinkPath; - - /** - * 应用根目录 - * @var string - */ - protected $rootPath; - - /** - * 运行时目录 - * @var string - */ - protected $runtimePath; - - /** - * 配置目录 - * @var string - */ - protected $configPath; - - /** - * 路由目录 - * @var string - */ - protected $routePath; - - /** - * 配置后缀 - * @var string - */ - protected $configExt; - - /** - * 应用调度实例 - * @var Dispatch - */ - protected $dispatch; - - /** - * 绑定模块(控制器) - * @var string - */ - protected $bindModule; - - /** - * 初始化 - * @var bool - */ - protected $initialized = false; - - public function __construct($appPath = '') - { - $this->thinkPath = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR; - $this->path($appPath); - } - - /** - * 绑定模块或者控制器 - * @access public - * @param string $bind - * @return $this - */ - public function bind($bind) - { - $this->bindModule = $bind; - return $this; - } - - /** - * 设置应用类库目录 - * @access public - * @param string $path 路径 - * @return $this - */ - public function path($path) - { - $this->appPath = $path ? realpath($path) . DIRECTORY_SEPARATOR : $this->getAppPath(); - - return $this; - } - - /** - * 初始化应用 - * @access public - * @return void - */ - public function initialize() - { - if ($this->initialized) { - return; - } - - $this->initialized = true; - $this->beginTime = microtime(true); - $this->beginMem = memory_get_usage(); - - $this->rootPath = dirname($this->appPath) . DIRECTORY_SEPARATOR; - $this->runtimePath = $this->rootPath . 'runtime' . DIRECTORY_SEPARATOR; - $this->routePath = $this->rootPath . 'route' . DIRECTORY_SEPARATOR; - $this->configPath = $this->rootPath . 'config' . DIRECTORY_SEPARATOR; - - static::setInstance($this); - - $this->instance('app', $this); - - // 加载环境变量配置文件 - if (is_file($this->rootPath . '.env')) { - $this->env->load($this->rootPath . '.env'); - } - - $this->configExt = $this->env->get('config_ext', '.php'); - - // 加载惯例配置文件 - $this->config->set(include $this->thinkPath . 'convention.php'); - - // 设置路径环境变量 - $this->env->set([ - 'think_path' => $this->thinkPath, - 'root_path' => $this->rootPath, - 'app_path' => $this->appPath, - 'config_path' => $this->configPath, - 'route_path' => $this->routePath, - 'runtime_path' => $this->runtimePath, - 'extend_path' => $this->rootPath . 'extend' . DIRECTORY_SEPARATOR, - 'vendor_path' => $this->rootPath . 'vendor' . DIRECTORY_SEPARATOR, - ]); - - $this->namespace = $this->env->get('app_namespace', $this->namespace); - $this->env->set('app_namespace', $this->namespace); - - // 注册应用命名空间 - Loader::addNamespace($this->namespace, $this->appPath); - - // 初始化应用 - $this->init(); - - // 开启类名后缀 - $this->suffix = $this->config('app.class_suffix'); - - // 应用调试模式 - $this->appDebug = $this->env->get('app_debug', $this->config('app.app_debug')); - $this->env->set('app_debug', $this->appDebug); - - if (!$this->appDebug) { - ini_set('display_errors', 'Off'); - } elseif (PHP_SAPI != 'cli') { - //重新申请一块比较大的buffer - if (ob_get_level() > 0) { - $output = ob_get_clean(); - } - ob_start(); - if (!empty($output)) { - echo $output; - } - } - - // 注册异常处理类 - if ($this->config('app.exception_handle')) { - Error::setExceptionHandler($this->config('app.exception_handle')); - } - - // 注册根命名空间 - if (!empty($this->config('app.root_namespace'))) { - Loader::addNamespace($this->config('app.root_namespace')); - } - - // 加载composer autofile文件 - Loader::loadComposerAutoloadFiles(); - - // 注册类库别名 - Loader::addClassAlias($this->config->pull('alias')); - - // 数据库配置初始化 - Db::init($this->config->pull('database')); - - // 设置系统时区 - date_default_timezone_set($this->config('app.default_timezone')); - - // 读取语言包 - $this->loadLangPack(); - - // 路由初始化 - $this->routeInit(); - } - - /** - * 初始化应用或模块 - * @access public - * @param string $module 模块名 - * @return void - */ - public function init($module = '') - { - // 定位模块目录 - $module = $module ? $module . DIRECTORY_SEPARATOR : ''; - $path = $this->appPath . $module; - - // 加载初始化文件 - if (is_file($path . 'init.php')) { - include $path . 'init.php'; - } elseif (is_file($this->runtimePath . $module . 'init.php')) { - include $this->runtimePath . $module . 'init.php'; - } else { - // 加载行为扩展文件 - if (is_file($path . 'tags.php')) { - $tags = include $path . 'tags.php'; - if (is_array($tags)) { - $this->hook->import($tags); - } - } - - // 加载公共文件 - if (is_file($path . 'common.php')) { - include_once $path . 'common.php'; - } - - if ('' == $module) { - // 加载系统助手函数 - include $this->thinkPath . 'helper.php'; - } - - // 加载中间件 - if (is_file($path . 'middleware.php')) { - $middleware = include $path . 'middleware.php'; - if (is_array($middleware)) { - $this->middleware->import($middleware); - } - } - - // 注册服务的容器对象实例 - if (is_file($path . 'provider.php')) { - $provider = include $path . 'provider.php'; - if (is_array($provider)) { - $this->bindTo($provider); - } - } - - // 自动读取配置文件 - if (is_dir($path . 'config')) { - $dir = $path . 'config' . DIRECTORY_SEPARATOR; - } elseif (is_dir($this->configPath . $module)) { - $dir = $this->configPath . $module; - } - - $files = isset($dir) ? scandir($dir) : []; - - foreach ($files as $file) { - if ('.' . pathinfo($file, PATHINFO_EXTENSION) === $this->configExt) { - $this->config->load($dir . $file, pathinfo($file, PATHINFO_FILENAME)); - } - } - } - - $this->setModulePath($path); - - if ($module) { - // 对容器中的对象实例进行配置更新 - $this->containerConfigUpdate($module); - } - } - - protected function containerConfigUpdate($module) - { - $config = $this->config->get(); - - // 注册异常处理类 - if ($config['app']['exception_handle']) { - Error::setExceptionHandler($config['app']['exception_handle']); - } - - Db::init($config['database']); - $this->middleware->setConfig($config['middleware']); - $this->route->setConfig($config['app']); - $this->request->init($config['app']); - $this->cookie->init($config['cookie']); - $this->view->init($config['template']); - $this->log->init($config['log']); - $this->session->setConfig($config['session']); - $this->debug->setConfig($config['trace']); - $this->cache->init($config['cache'], true); - - // 加载当前模块语言包 - $this->lang->load($this->appPath . $module . DIRECTORY_SEPARATOR . 'lang' . DIRECTORY_SEPARATOR . $this->request->langset() . '.php'); - - // 模块请求缓存检查 - $this->checkRequestCache( - $config['app']['request_cache'], - $config['app']['request_cache_expire'], - $config['app']['request_cache_except'] - ); - } - - /** - * 执行应用程序 - * @access public - * @return Response - * @throws Exception - */ - public function run() - { - try { - // 初始化应用 - $this->initialize(); - - // 监听app_init - $this->hook->listen('app_init'); - - if ($this->bindModule) { - // 模块/控制器绑定 - $this->route->bind($this->bindModule); - } elseif ($this->config('app.auto_bind_module')) { - // 入口自动绑定 - $name = pathinfo($this->request->baseFile(), PATHINFO_FILENAME); - if ($name && 'index' != $name && is_dir($this->appPath . $name)) { - $this->route->bind($name); - } - } - - // 监听app_dispatch - $this->hook->listen('app_dispatch'); - - $dispatch = $this->dispatch; - - if (empty($dispatch)) { - // 路由检测 - $dispatch = $this->routeCheck()->init(); - } - - // 记录当前调度信息 - $this->request->dispatch($dispatch); - - // 记录路由和请求信息 - if ($this->appDebug) { - $this->log('[ ROUTE ] ' . var_export($this->request->routeInfo(), true)); - $this->log('[ HEADER ] ' . var_export($this->request->header(), true)); - $this->log('[ PARAM ] ' . var_export($this->request->param(), true)); - } - - // 监听app_begin - $this->hook->listen('app_begin'); - - // 请求缓存检查 - $this->checkRequestCache( - $this->config('request_cache'), - $this->config('request_cache_expire'), - $this->config('request_cache_except') - ); - - $data = null; - } catch (HttpResponseException $exception) { - $dispatch = null; - $data = $exception->getResponse(); - } - - $this->middleware->add(function (Request $request, $next) use ($dispatch, $data) { - return is_null($data) ? $dispatch->run() : $data; - }); - - $response = $this->middleware->dispatch($this->request); - - // 监听app_end - $this->hook->listen('app_end', $response); - - return $response; - } - - protected function getRouteCacheKey() - { - if ($this->config->get('route_check_cache_key')) { - $closure = $this->config->get('route_check_cache_key'); - $routeKey = $closure($this->request); - } else { - $routeKey = md5($this->request->baseUrl(true) . ':' . $this->request->method()); - } - - return $routeKey; - } - - protected function loadLangPack() - { - // 读取默认语言 - $this->lang->range($this->config('app.default_lang')); - - if ($this->config('app.lang_switch_on')) { - // 开启多语言机制 检测当前语言 - $this->lang->detect(); - } - - $this->request->setLangset($this->lang->range()); - - // 加载系统语言包 - $this->lang->load([ - $this->thinkPath . 'lang' . DIRECTORY_SEPARATOR . $this->request->langset() . '.php', - $this->appPath . 'lang' . DIRECTORY_SEPARATOR . $this->request->langset() . '.php', - ]); - } - - /** - * 设置当前地址的请求缓存 - * @access public - * @param string $key 缓存标识,支持变量规则 ,例如 item/:name/:id - * @param mixed $expire 缓存有效期 - * @param array $except 缓存排除 - * @param string $tag 缓存标签 - * @return void - */ - public function checkRequestCache($key, $expire = null, $except = [], $tag = null) - { - $cache = $this->request->cache($key, $expire, $except, $tag); - - if ($cache) { - $this->setResponseCache($cache); - } - } - - public function setResponseCache($cache) - { - list($key, $expire, $tag) = $cache; - - if (strtotime($this->request->server('HTTP_IF_MODIFIED_SINCE')) + $expire > $this->request->server('REQUEST_TIME')) { - // 读取缓存 - $response = Response::create()->code(304); - throw new HttpResponseException($response); - } elseif ($this->cache->has($key)) { - list($content, $header) = $this->cache->get($key); - - $response = Response::create($content)->header($header); - throw new HttpResponseException($response); - } - } - - /** - * 设置当前请求的调度信息 - * @access public - * @param Dispatch $dispatch 调度信息 - * @return $this - */ - public function dispatch(Dispatch $dispatch) - { - $this->dispatch = $dispatch; - return $this; - } - - /** - * 记录调试信息 - * @access public - * @param mixed $msg 调试信息 - * @param string $type 信息类型 - * @return void - */ - public function log($msg, $type = 'info') - { - $this->appDebug && $this->log->record($msg, $type); - } - - /** - * 获取配置参数 为空则获取所有配置 - * @access public - * @param string $name 配置参数名(支持二级配置 .号分割) - * @return mixed - */ - public function config($name = '') - { - return $this->config->get($name); - } - - /** - * 路由初始化 导入路由定义规则 - * @access public - * @return void - */ - public function routeInit() - { - // 路由检测 - if (is_dir($this->routePath)) { - $files = glob($this->routePath . '*.php'); - foreach ($files as $file) { - $rules = include $file; - if (is_array($rules)) { - $this->route->import($rules); - } - } - } - - if ($this->route->config('route_annotation')) { - // 自动生成路由定义 - if ($this->appDebug) { - $suffix = $this->route->config('controller_suffix') || $this->route->config('class_suffix'); - $this->build->buildRoute($suffix); - } - - $filename = $this->runtimePath . 'build_route.php'; - - if (is_file($filename)) { - include $filename; - } - } - } - - /** - * URL路由检测(根据PATH_INFO) - * @access public - * @return Dispatch - */ - public function routeCheck() - { - // 检测路由缓存 - if (!$this->appDebug && $this->config->get('route_check_cache')) { - $routeKey = $this->getRouteCacheKey(); - $option = $this->config->get('route_cache_option'); - - if ($option && $this->cache->connect($option)->has($routeKey)) { - return $this->cache->connect($option)->get($routeKey); - } elseif ($this->cache->has($routeKey)) { - return $this->cache->get($routeKey); - } - } - - // 获取应用调度信息 - $path = $this->request->path(); - - // 是否强制路由模式 - $must = !is_null($this->routeMust) ? $this->routeMust : $this->route->config('url_route_must'); - - // 路由检测 返回一个Dispatch对象 - $dispatch = $this->route->check($path, $must); - - if (!empty($routeKey)) { - try { - if ($option) { - $this->cache->connect($option)->tag('route_cache')->set($routeKey, $dispatch); - } else { - $this->cache->tag('route_cache')->set($routeKey, $dispatch); - } - } catch (\Exception $e) { - // 存在闭包的时候缓存无效 - } - } - - return $dispatch; - } - - /** - * 设置应用的路由检测机制 - * @access public - * @param bool $must 是否强制检测路由 - * @return $this - */ - public function routeMust($must = false) - { - $this->routeMust = $must; - return $this; - } - - /** - * 解析模块和类名 - * @access protected - * @param string $name 资源地址 - * @param string $layer 验证层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @return array - */ - protected function parseModuleAndClass($name, $layer, $appendSuffix) - { - if (false !== strpos($name, '\\')) { - $class = $name; - $module = $this->request->module(); - } else { - if (strpos($name, '/')) { - list($module, $name) = explode('/', $name, 2); - } else { - $module = $this->request->module(); - } - - $class = $this->parseClass($module, $layer, $name, $appendSuffix); - } - - return [$module, $class]; - } - - /** - * 实例化应用类库 - * @access public - * @param string $name 类名称 - * @param string $layer 业务层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @param string $common 公共模块名 - * @return object - * @throws ClassNotFoundException - */ - public function create($name, $layer, $appendSuffix = false, $common = 'common') - { - $guid = $name . $layer; - - if ($this->__isset($guid)) { - return $this->__get($guid); - } - - list($module, $class) = $this->parseModuleAndClass($name, $layer, $appendSuffix); - - if (class_exists($class)) { - $object = $this->__get($class); - } else { - $class = str_replace('\\' . $module . '\\', '\\' . $common . '\\', $class); - if (class_exists($class)) { - $object = $this->__get($class); - } else { - throw new ClassNotFoundException('class not exists:' . $class, $class); - } - } - - $this->__set($guid, $class); - - return $object; - } - - /** - * 实例化(分层)模型 - * @access public - * @param string $name Model名称 - * @param string $layer 业务层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @param string $common 公共模块名 - * @return Model - * @throws ClassNotFoundException - */ - public function model($name = '', $layer = 'model', $appendSuffix = false, $common = 'common') - { - return $this->create($name, $layer, $appendSuffix, $common); - } - - /** - * 实例化(分层)控制器 格式:[模块名/]控制器名 - * @access public - * @param string $name 资源地址 - * @param string $layer 控制层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @param string $empty 空控制器名称 - * @return object - * @throws ClassNotFoundException - */ - public function controller($name, $layer = 'controller', $appendSuffix = false, $empty = '') - { - list($module, $class) = $this->parseModuleAndClass($name, $layer, $appendSuffix); - - if (class_exists($class)) { - return $this->make($class, true); - } elseif ($empty && class_exists($emptyClass = $this->parseClass($module, $layer, $empty, $appendSuffix))) { - return $this->make($emptyClass, true); - } - - throw new ClassNotFoundException('class not exists:' . $class, $class); - } - - /** - * 实例化验证类 格式:[模块名/]验证器名 - * @access public - * @param string $name 资源地址 - * @param string $layer 验证层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @param string $common 公共模块名 - * @return Validate - * @throws ClassNotFoundException - */ - public function validate($name = '', $layer = 'validate', $appendSuffix = false, $common = 'common') - { - $name = $name ?: $this->config('default_validate'); - - if (empty($name)) { - return new Validate; - } - - return $this->create($name, $layer, $appendSuffix, $common); - } - - /** - * 数据库初始化 - * @access public - * @param mixed $config 数据库配置 - * @param bool|string $name 连接标识 true 强制重新连接 - * @return \think\db\Query - */ - public function db($config = [], $name = false) - { - return Db::connect($config, $name); - } - - /** - * 远程调用模块的操作方法 参数格式 [模块/控制器/]操作 - * @access public - * @param string $url 调用地址 - * @param string|array $vars 调用参数 支持字符串和数组 - * @param string $layer 要调用的控制层名称 - * @param bool $appendSuffix 是否添加类名后缀 - * @return mixed - * @throws ClassNotFoundException - */ - public function action($url, $vars = [], $layer = 'controller', $appendSuffix = false) - { - $info = pathinfo($url); - $action = $info['basename']; - $module = '.' != $info['dirname'] ? $info['dirname'] : $this->request->controller(); - $class = $this->controller($module, $layer, $appendSuffix); - - if (is_scalar($vars)) { - if (strpos($vars, '=')) { - parse_str($vars, $vars); - } else { - $vars = [$vars]; - } - } - - return $this->invokeMethod([$class, $action . $this->config('action_suffix')], $vars); - } - - /** - * 解析应用类的类名 - * @access public - * @param string $module 模块名 - * @param string $layer 层名 controller model ... - * @param string $name 类名 - * @param bool $appendSuffix - * @return string - */ - public function parseClass($module, $layer, $name, $appendSuffix = false) - { - $name = str_replace(['/', '.'], '\\', $name); - $array = explode('\\', $name); - $class = Loader::parseName(array_pop($array), 1) . ($this->suffix || $appendSuffix ? ucfirst($layer) : ''); - $path = $array ? implode('\\', $array) . '\\' : ''; - - return $this->namespace . '\\' . ($module ? $module . '\\' : '') . $layer . '\\' . $path . $class; - } - - /** - * 获取框架版本 - * @access public - * @return string - */ - public function version() - { - return static::VERSION; - } - - /** - * 是否为调试模式 - * @access public - * @return bool - */ - public function isDebug() - { - return $this->appDebug; - } - - /** - * 获取模块路径 - * @access public - * @return string - */ - public function getModulePath() - { - return $this->modulePath; - } - - /** - * 设置模块路径 - * @access public - * @param string $path 路径 - * @return void - */ - public function setModulePath($path) - { - $this->modulePath = $path; - $this->env->set('module_path', $path); - } - - /** - * 获取应用根目录 - * @access public - * @return string - */ - public function getRootPath() - { - return $this->rootPath; - } - - /** - * 获取应用类库目录 - * @access public - * @return string - */ - public function getAppPath() - { - if (is_null($this->appPath)) { - $this->appPath = Loader::getRootPath() . 'application' . DIRECTORY_SEPARATOR; - } - - return $this->appPath; - } - - /** - * 获取应用运行时目录 - * @access public - * @return string - */ - public function getRuntimePath() - { - return $this->runtimePath; - } - - /** - * 获取核心框架目录 - * @access public - * @return string - */ - public function getThinkPath() - { - return $this->thinkPath; - } - - /** - * 获取路由目录 - * @access public - * @return string - */ - public function getRoutePath() - { - return $this->routePath; - } - - /** - * 获取应用配置目录 - * @access public - * @return string - */ - public function getConfigPath() - { - return $this->configPath; - } - - /** - * 获取配置后缀 - * @access public - * @return string - */ - public function getConfigExt() - { - return $this->configExt; - } - - /** - * 获取应用类库命名空间 - * @access public - * @return string - */ - public function getNamespace() - { - return $this->namespace; - } - - /** - * 设置应用类库命名空间 - * @access public - * @param string $namespace 命名空间名称 - * @return $this - */ - public function setNamespace($namespace) - { - $this->namespace = $namespace; - return $this; - } - - /** - * 是否启用类库后缀 - * @access public - * @return bool - */ - public function getSuffix() - { - return $this->suffix; - } - - /** - * 获取应用开启时间 - * @access public - * @return float - */ - public function getBeginTime() - { - return $this->beginTime; - } - - /** - * 获取应用初始内存占用 - * @access public - * @return integer - */ - public function getBeginMem() - { - return $this->beginMem; - } - -} diff --git a/thinkphp/library/think/Build.php b/thinkphp/library/think/Build.php deleted file mode 100644 index 7a531d74..00000000 --- a/thinkphp/library/think/Build.php +++ /dev/null @@ -1,415 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Build -{ - /** - * 应用对象 - * @var App - */ - protected $app; - - /** - * 应用目录 - * @var string - */ - protected $basePath; - - public function __construct(App $app) - { - $this->app = $app; - $this->basePath = $this->app->getAppPath(); - } - - /** - * 根据传入的build资料创建目录和文件 - * @access public - * @param array $build build列表 - * @param string $namespace 应用类库命名空间 - * @param bool $suffix 类库后缀 - * @return void - */ - public function run(array $build = [], $namespace = 'app', $suffix = false) - { - // 锁定 - $lockfile = $this->basePath . 'build.lock'; - - if (is_writable($lockfile)) { - return; - } elseif (!touch($lockfile)) { - throw new Exception('应用目录[' . $this->basePath . ']不可写,目录无法自动生成!
          请手动生成项目目录~', 10006); - } - - foreach ($build as $module => $list) { - if ('__dir__' == $module) { - // 创建目录列表 - $this->buildDir($list); - } elseif ('__file__' == $module) { - // 创建文件列表 - $this->buildFile($list); - } else { - // 创建模块 - $this->module($module, $list, $namespace, $suffix); - } - } - - // 解除锁定 - unlink($lockfile); - } - - /** - * 创建目录 - * @access protected - * @param array $list 目录列表 - * @return void - */ - protected function buildDir($list) - { - foreach ($list as $dir) { - $this->checkDirBuild($this->basePath . $dir); - } - } - - /** - * 创建文件 - * @access protected - * @param array $list 文件列表 - * @return void - */ - protected function buildFile($list) - { - foreach ($list as $file) { - if (!is_dir($this->basePath . dirname($file))) { - // 创建目录 - mkdir($this->basePath . dirname($file), 0755, true); - } - - if (!is_file($this->basePath . $file)) { - file_put_contents($this->basePath . $file, 'php' == pathinfo($file, PATHINFO_EXTENSION) ? "basePath . $module)) { - // 创建模块目录 - mkdir($this->basePath . $module); - } - - if (basename($this->app->getRuntimePath()) != $module) { - // 创建配置文件和公共文件 - $this->buildCommon($module); - // 创建模块的默认页面 - $this->buildHello($module, $namespace, $suffix); - } - - if (empty($list)) { - // 创建默认的模块目录和文件 - $list = [ - '__file__' => ['common.php'], - '__dir__' => ['controller', 'model', 'view', 'config'], - ]; - } - - // 创建子目录和文件 - foreach ($list as $path => $file) { - $modulePath = $this->basePath . $module . DIRECTORY_SEPARATOR; - if ('__dir__' == $path) { - // 生成子目录 - foreach ($file as $dir) { - $this->checkDirBuild($modulePath . $dir); - } - } elseif ('__file__' == $path) { - // 生成(空白)文件 - foreach ($file as $name) { - if (!is_file($modulePath . $name)) { - file_put_contents($modulePath . $name, 'php' == pathinfo($name, PATHINFO_EXTENSION) ? "checkDirBuild(dirname($filename)); - $content = ''; - break; - default: - // 其他文件 - $content = "app->getNameSpace(); - $content = 'app->config('app.url_controller_layer'); - } - - if ($this->app->config('app.app_multi_module')) { - $modules = glob($this->basePath . '*', GLOB_ONLYDIR); - - foreach ($modules as $module) { - $module = basename($module); - - if (in_array($module, $this->app->config('app.deny_module_list'))) { - continue; - } - - $path = $this->basePath . $module . DIRECTORY_SEPARATOR . $layer . DIRECTORY_SEPARATOR; - $content .= $this->buildDirRoute($path, $namespace, $module, $suffix, $layer); - } - } else { - $path = $this->basePath . $layer . DIRECTORY_SEPARATOR; - $content .= $this->buildDirRoute($path, $namespace, '', $suffix, $layer); - } - - $filename = $this->app->getRuntimePath() . 'build_route.php'; - file_put_contents($filename, $content); - - return $filename; - } - - /** - * 生成子目录控制器类的路由规则 - * @access protected - * @param string $path 控制器目录 - * @param string $namespace 应用命名空间 - * @param string $module 模块 - * @param bool $suffix 类库后缀 - * @param string $layer 控制器层目录名 - * @return string - */ - protected function buildDirRoute($path, $namespace, $module, $suffix, $layer) - { - $content = ''; - $controllers = glob($path . '*.php'); - - foreach ($controllers as $controller) { - $controller = basename($controller, '.php'); - - $class = new \ReflectionClass($namespace . '\\' . ($module ? $module . '\\' : '') . $layer . '\\' . $controller); - - if (strpos($layer, '\\')) { - // 多级控制器 - $level = str_replace(DIRECTORY_SEPARATOR, '.', substr($layer, 11)); - $controller = $level . '.' . $controller; - $length = strlen(strstr($layer, '\\', true)); - } else { - $length = strlen($layer); - } - - if ($suffix) { - $controller = substr($controller, 0, -$length); - } - - $content .= $this->getControllerRoute($class, $module, $controller); - } - - $subDir = glob($path . '*', GLOB_ONLYDIR); - - foreach ($subDir as $dir) { - $content .= $this->buildDirRoute($dir . DIRECTORY_SEPARATOR, $namespace, $module, $suffix, $layer . '\\' . basename($dir)); - } - - return $content; - } - - /** - * 生成控制器类的路由规则 - * @access protected - * @param string $class 控制器完整类名 - * @param string $module 模块名 - * @param string $controller 控制器名 - * @return string - */ - protected function getControllerRoute($class, $module, $controller) - { - $content = ''; - $comment = $class->getDocComment(); - - if (false !== strpos($comment, '@route(')) { - $comment = $this->parseRouteComment($comment); - $route = ($module ? $module . '/' : '') . $controller; - $comment = preg_replace('/route\(\s?([\'\"][\-\_\/\:\<\>\?\$\[\]\w]+[\'\"])\s?\)/is', 'Route::resource(\1,\'' . $route . '\')', $comment); - $content .= PHP_EOL . $comment; - } elseif (false !== strpos($comment, '@alias(')) { - $comment = $this->parseRouteComment($comment, '@alias('); - $route = ($module ? $module . '/' : '') . $controller; - $comment = preg_replace('/alias\(\s?([\'\"][\-\_\/\w]+[\'\"])\s?\)/is', 'Route::alias(\1,\'' . $route . '\')', $comment); - $content .= PHP_EOL . $comment; - } - - $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC); - - foreach ($methods as $method) { - $comment = $this->getMethodRouteComment($module, $controller, $method); - if ($comment) { - $content .= PHP_EOL . $comment; - } - } - - return $content; - } - - /** - * 解析路由注释 - * @access protected - * @param string $comment - * @param string $tag - * @return string - */ - protected function parseRouteComment($comment, $tag = '@route(') - { - $comment = substr($comment, 3, -2); - $comment = explode(PHP_EOL, substr(strstr(trim($comment), $tag), 1)); - $comment = array_map(function ($item) {return trim(trim($item), ' \t*');}, $comment); - - if (count($comment) > 1) { - $key = array_search('', $comment); - $comment = array_slice($comment, 0, false === $key ? 1 : $key); - } - - $comment = implode(PHP_EOL . "\t", $comment) . ';'; - - if (strpos($comment, '{')) { - $comment = preg_replace_callback('/\{\s?.*?\s?\}/s', function ($matches) { - return false !== strpos($matches[0], '"') ? '[' . substr(var_export(json_decode($matches[0], true), true), 7, -1) . ']' : $matches[0]; - }, $comment); - } - return $comment; - } - - /** - * 获取方法的路由注释 - * @access protected - * @param string $module 模块 - * @param string $controller 控制器名 - * @param \ReflectMethod $reflectMethod - * @return string|void - */ - protected function getMethodRouteComment($module, $controller, $reflectMethod) - { - $comment = $reflectMethod->getDocComment(); - - if (false !== strpos($comment, '@route(')) { - $comment = $this->parseRouteComment($comment); - $action = $reflectMethod->getName(); - - if ($suffix = $this->app->config('app.action_suffix')) { - $action = substr($action, 0, -strlen($suffix)); - } - - $route = ($module ? $module . '/' : '') . $controller . '/' . $action; - $comment = preg_replace('/route\s?\(\s?([\'\"][\-\_\/\:\<\>\?\$\[\]\w]+[\'\"])\s?\,?\s?[\'\"]?(\w+?)[\'\"]?\s?\)/is', 'Route::\2(\1,\'' . $route . '\')', $comment); - $comment = preg_replace('/route\s?\(\s?([\'\"][\-\_\/\:\<\>\?\$\[\]\w]+[\'\"])\s?\)/is', 'Route::rule(\1,\'' . $route . '\')', $comment); - - return $comment; - } - } - - /** - * 创建模块的欢迎页面 - * @access protected - * @param string $module 模块名 - * @param string $namespace 应用类库命名空间 - * @param bool $suffix 类库后缀 - * @return void - */ - protected function buildHello($module, $namespace, $suffix = false) - { - $filename = $this->basePath . ($module ? $module . DIRECTORY_SEPARATOR : '') . 'controller' . DIRECTORY_SEPARATOR . 'Index' . ($suffix ? 'Controller' : '') . '.php'; - if (!is_file($filename)) { - $content = file_get_contents($this->app->getThinkPath() . 'tpl' . DIRECTORY_SEPARATOR . 'default_index.tpl'); - $content = str_replace(['{$app}', '{$module}', '{layer}', '{$suffix}'], [$namespace, $module ? $module . '\\' : '', 'controller', $suffix ? 'Controller' : ''], $content); - $this->checkDirBuild(dirname($filename)); - - file_put_contents($filename, $content); - } - } - - /** - * 创建模块的公共文件 - * @access protected - * @param string $module 模块名 - * @return void - */ - protected function buildCommon($module) - { - $filename = $this->app->getConfigPath() . ($module ? $module . DIRECTORY_SEPARATOR : '') . 'app.php'; - $this->checkDirBuild(dirname($filename)); - - if (!is_file($filename)) { - file_put_contents($filename, "basePath . ($module ? $module . DIRECTORY_SEPARATOR : '') . 'common.php'; - - if (!is_file($filename)) { - file_put_contents($filename, " -// +---------------------------------------------------------------------- - -namespace think; - -use think\cache\Driver; - -/** - * Class Cache - * - * @package think - * - * @mixin Driver - * @mixin \think\cache\driver\File - */ -class Cache -{ - /** - * 缓存实例 - * @var array - */ - protected $instance = []; - - /** - * 缓存配置 - * @var array - */ - protected $config = []; - - /** - * 操作句柄 - * @var object - */ - protected $handler; - - public function __construct(array $config = []) - { - $this->config = $config; - $this->init($config); - } - - /** - * 连接缓存 - * @access public - * @param array $options 配置数组 - * @param bool|string $name 缓存连接标识 true 强制重新连接 - * @return Driver - */ - public function connect(array $options = [], $name = false) - { - if (false === $name) { - $name = md5(serialize($options)); - } - - if (true === $name || !isset($this->instance[$name])) { - $type = !empty($options['type']) ? $options['type'] : 'File'; - - if (true === $name) { - $name = md5(serialize($options)); - } - - $this->instance[$name] = Loader::factory($type, '\\think\\cache\\driver\\', $options); - } - - return $this->instance[$name]; - } - - /** - * 自动初始化缓存 - * @access public - * @param array $options 配置数组 - * @param bool $force 强制更新 - * @return Driver - */ - public function init(array $options = [], $force = false) - { - if (is_null($this->handler) || $force) { - - if ('complex' == $options['type']) { - $default = $options['default']; - $options = isset($options[$default['type']]) ? $options[$default['type']] : $default; - } - - $this->handler = $this->connect($options); - } - - return $this->handler; - } - - public static function __make(Config $config) - { - return new static($config->pull('cache')); - } - - public function getConfig() - { - return $this->config; - } - - public function setConfig(array $config) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 切换缓存类型 需要配置 cache.type 为 complex - * @access public - * @param string $name 缓存标识 - * @return Driver - */ - public function store($name = '') - { - if ('' !== $name && 'complex' == $this->config['type']) { - return $this->connect($this->config[$name], strtolower($name)); - } - - return $this->init(); - } - - public function __call($method, $args) - { - return call_user_func_array([$this->init(), $method], $args); - } - -} diff --git a/thinkphp/library/think/Collection.php b/thinkphp/library/think/Collection.php deleted file mode 100644 index d7454ec5..00000000 --- a/thinkphp/library/think/Collection.php +++ /dev/null @@ -1,552 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use ArrayAccess; -use ArrayIterator; -use Countable; -use IteratorAggregate; -use JsonSerializable; - -class Collection implements ArrayAccess, Countable, IteratorAggregate, JsonSerializable -{ - /** - * 数据集数据 - * @var array - */ - protected $items = []; - - public function __construct($items = []) - { - $this->items = $this->convertToArray($items); - } - - public static function make($items = []) - { - return new static($items); - } - - /** - * 是否为空 - * @access public - * @return bool - */ - public function isEmpty() - { - return empty($this->items); - } - - public function toArray() - { - return array_map(function ($value) { - return ($value instanceof Model || $value instanceof self) ? $value->toArray() : $value; - }, $this->items); - } - - public function all() - { - return $this->items; - } - - /** - * 合并数组 - * - * @access public - * @param mixed $items - * @return static - */ - public function merge($items) - { - return new static(array_merge($this->items, $this->convertToArray($items))); - } - - /** - * 交换数组中的键和值 - * - * @access public - * @return static - */ - public function flip() - { - return new static(array_flip($this->items)); - } - - /** - * 按指定键整理数据 - * - * @access public - * @param mixed $items 数据 - * @param string $indexKey 键名 - * @return array - */ - public function dictionary($items = null, &$indexKey = null) - { - if ($items instanceof self || $items instanceof Paginator) { - $items = $items->all(); - } - - $items = is_null($items) ? $this->items : $items; - - if ($items && empty($indexKey)) { - $indexKey = is_array($items[0]) ? 'id' : $items[0]->getPk(); - } - - if (isset($indexKey) && is_string($indexKey)) { - return array_column($items, null, $indexKey); - } - - return $items; - } - - /** - * 比较数组,返回差集 - * - * @access public - * @param mixed $items 数据 - * @param string $indexKey 指定比较的键名 - * @return static - */ - public function diff($items, $indexKey = null) - { - if ($this->isEmpty() || is_scalar($this->items[0])) { - return new static(array_diff($this->items, $this->convertToArray($items))); - } - - $diff = []; - $dictionary = $this->dictionary($items, $indexKey); - - if (is_string($indexKey)) { - foreach ($this->items as $item) { - if (!isset($dictionary[$item[$indexKey]])) { - $diff[] = $item; - } - } - } - - return new static($diff); - } - - /** - * 比较数组,返回交集 - * - * @access public - * @param mixed $items 数据 - * @param string $indexKey 指定比较的键名 - * @return static - */ - public function intersect($items, $indexKey = null) - { - if ($this->isEmpty() || is_scalar($this->items[0])) { - return new static(array_diff($this->items, $this->convertToArray($items))); - } - - $intersect = []; - $dictionary = $this->dictionary($items, $indexKey); - - if (is_string($indexKey)) { - foreach ($this->items as $item) { - if (isset($dictionary[$item[$indexKey]])) { - $intersect[] = $item; - } - } - } - - return new static($intersect); - } - - /** - * 返回数组中所有的键名 - * - * @access public - * @return array - */ - public function keys() - { - $current = current($this->items); - - if (is_scalar($current)) { - $array = $this->items; - } elseif (is_array($current)) { - $array = $current; - } else { - $array = $current->toArray(); - } - - return array_keys($array); - } - - /** - * 删除数组的最后一个元素(出栈) - * - * @access public - * @return mixed - */ - public function pop() - { - return array_pop($this->items); - } - - /** - * 通过使用用户自定义函数,以字符串返回数组 - * - * @access public - * @param callable $callback - * @param mixed $initial - * @return mixed - */ - public function reduce(callable $callback, $initial = null) - { - return array_reduce($this->items, $callback, $initial); - } - - /** - * 以相反的顺序返回数组。 - * - * @access public - * @return static - */ - public function reverse() - { - return new static(array_reverse($this->items)); - } - - /** - * 删除数组中首个元素,并返回被删除元素的值 - * - * @access public - * @return mixed - */ - public function shift() - { - return array_shift($this->items); - } - - /** - * 在数组结尾插入一个元素 - * @access public - * @param mixed $value - * @param mixed $key - * @return void - */ - public function push($value, $key = null) - { - if (is_null($key)) { - $this->items[] = $value; - } else { - $this->items[$key] = $value; - } - } - - /** - * 把一个数组分割为新的数组块. - * - * @access public - * @param int $size - * @param bool $preserveKeys - * @return static - */ - public function chunk($size, $preserveKeys = false) - { - $chunks = []; - - foreach (array_chunk($this->items, $size, $preserveKeys) as $chunk) { - $chunks[] = new static($chunk); - } - - return new static($chunks); - } - - /** - * 在数组开头插入一个元素 - * @access public - * @param mixed $value - * @param mixed $key - * @return void - */ - public function unshift($value, $key = null) - { - if (is_null($key)) { - array_unshift($this->items, $value); - } else { - $this->items = [$key => $value] + $this->items; - } - } - - /** - * 给每个元素执行个回调 - * - * @access public - * @param callable $callback - * @return $this - */ - public function each(callable $callback) - { - foreach ($this->items as $key => $item) { - $result = $callback($item, $key); - - if (false === $result) { - break; - } elseif (!is_object($item)) { - $this->items[$key] = $result; - } - } - - return $this; - } - - /** - * 用回调函数处理数组中的元素 - * @access public - * @param callable|null $callback - * @return static - */ - public function map(callable $callback) - { - return new static(array_map($callback, $this->items)); - } - - /** - * 用回调函数过滤数组中的元素 - * @access public - * @param callable|null $callback - * @return static - */ - public function filter(callable $callback = null) - { - if ($callback) { - return new static(array_filter($this->items, $callback)); - } - - return new static(array_filter($this->items)); - } - - /** - * 根据字段条件过滤数组中的元素 - * @access public - * @param string $field 字段名 - * @param mixed $operator 操作符 - * @param mixed $value 数据 - * @return static - */ - public function where($field, $operator, $value = null) - { - if (is_null($value)) { - $value = $operator; - $operator = '='; - } - - return $this->filter(function ($data) use ($field, $operator, $value) { - if (strpos($field, '.')) { - list($field, $relation) = explode('.', $field); - - $result = isset($data[$field][$relation]) ? $data[$field][$relation] : null; - } else { - $result = isset($data[$field]) ? $data[$field] : null; - } - - switch (strtolower($operator)) { - case '===': - return $result === $value; - case '!==': - return $result !== $value; - case '!=': - case '<>': - return $result != $value; - case '>': - return $result > $value; - case '>=': - return $result >= $value; - case '<': - return $result < $value; - case '<=': - return $result <= $value; - case 'like': - return is_string($result) && false !== strpos($result, $value); - case 'not like': - return is_string($result) && false === strpos($result, $value); - case 'in': - return is_scalar($result) && in_array($result, $value, true); - case 'not in': - return is_scalar($result) && !in_array($result, $value, true); - case 'between': - list($min, $max) = is_string($value) ? explode(',', $value) : $value; - return is_scalar($result) && $result >= $min && $result <= $max; - case 'not between': - list($min, $max) = is_string($value) ? explode(',', $value) : $value; - return is_scalar($result) && $result > $max || $result < $min; - case '==': - case '=': - default: - return $result == $value; - } - }); - } - - /** - * 返回数据中指定的一列 - * @access public - * @param mixed $columnKey 键名 - * @param mixed $indexKey 作为索引值的列 - * @return array - */ - public function column($columnKey, $indexKey = null) - { - return array_column($this->toArray(), $columnKey, $indexKey); - } - - /** - * 对数组排序 - * - * @access public - * @param callable|null $callback - * @return static - */ - public function sort(callable $callback = null) - { - $items = $this->items; - - $callback = $callback ?: function ($a, $b) { - return $a == $b ? 0 : (($a < $b) ? -1 : 1); - - }; - - uasort($items, $callback); - - return new static($items); - } - - /** - * 指定字段排序 - * @access public - * @param string $field 排序字段 - * @param string $order 排序 - * @param bool $intSort 是否为数字排序 - * @return $this - */ - public function order($field, $order = null, $intSort = true) - { - return $this->sort(function ($a, $b) use ($field, $order, $intSort) { - $fieldA = isset($a[$field]) ? $a[$field] : null; - $fieldB = isset($b[$field]) ? $b[$field] : null; - - if ($intSort) { - return 'desc' == strtolower($order) ? $fieldB >= $fieldA : $fieldA >= $fieldB; - } else { - return 'desc' == strtolower($order) ? strcmp($fieldB, $fieldA) : strcmp($fieldA, $fieldB); - } - }); - } - - /** - * 将数组打乱 - * - * @access public - * @return static - */ - public function shuffle() - { - $items = $this->items; - - shuffle($items); - - return new static($items); - } - - /** - * 截取数组 - * - * @access public - * @param int $offset - * @param int $length - * @param bool $preserveKeys - * @return static - */ - public function slice($offset, $length = null, $preserveKeys = false) - { - return new static(array_slice($this->items, $offset, $length, $preserveKeys)); - } - - // ArrayAccess - public function offsetExists($offset) - { - return array_key_exists($offset, $this->items); - } - - public function offsetGet($offset) - { - return $this->items[$offset]; - } - - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->items[] = $value; - } else { - $this->items[$offset] = $value; - } - } - - public function offsetUnset($offset) - { - unset($this->items[$offset]); - } - - //Countable - public function count() - { - return count($this->items); - } - - //IteratorAggregate - public function getIterator() - { - return new ArrayIterator($this->items); - } - - //JsonSerializable - public function jsonSerialize() - { - return $this->toArray(); - } - - /** - * 转换当前数据集为JSON字符串 - * @access public - * @param integer $options json参数 - * @return string - */ - public function toJson($options = JSON_UNESCAPED_UNICODE) - { - return json_encode($this->toArray(), $options); - } - - public function __toString() - { - return $this->toJson(); - } - - /** - * 转换成数组 - * - * @access public - * @param mixed $items - * @return array - */ - protected function convertToArray($items) - { - if ($items instanceof self) { - return $items->all(); - } - - return (array) $items; - } -} diff --git a/thinkphp/library/think/Config.php b/thinkphp/library/think/Config.php deleted file mode 100644 index bec6222a..00000000 --- a/thinkphp/library/think/Config.php +++ /dev/null @@ -1,398 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use Yaconf; - -class Config implements \ArrayAccess -{ - /** - * 配置参数 - * @var array - */ - protected $config = []; - - /** - * 配置前缀 - * @var string - */ - protected $prefix = 'app'; - - /** - * 配置文件目录 - * @var string - */ - protected $path; - - /** - * 配置文件后缀 - * @var string - */ - protected $ext; - - /** - * 是否支持Yaconf - * @var bool - */ - protected $yaconf; - - /** - * 构造方法 - * @access public - */ - public function __construct($path = '', $ext = '.php') - { - $this->path = $path; - $this->ext = $ext; - $this->yaconf = class_exists('Yaconf'); - } - - public static function __make(App $app) - { - $path = $app->getConfigPath(); - $ext = $app->getConfigExt(); - return new static($path, $ext); - } - - /** - * 设置开启Yaconf - * @access public - * @param bool|string $yaconf 是否使用Yaconf - * @return void - */ - public function setYaconf($yaconf) - { - if ($this->yaconf) { - $this->yaconf = $yaconf; - } - } - - /** - * 设置配置参数默认前缀 - * @access public - * @param string $prefix 前缀 - * @return void - */ - public function setDefaultPrefix($prefix) - { - $this->prefix = $prefix; - } - - /** - * 解析配置文件或内容 - * @access public - * @param string $config 配置文件路径或内容 - * @param string $type 配置解析类型 - * @param string $name 配置名(如设置即表示二级配置) - * @return mixed - */ - public function parse($config, $type = '', $name = '') - { - if (empty($type)) { - $type = pathinfo($config, PATHINFO_EXTENSION); - } - - $object = Loader::factory($type, '\\think\\config\\driver\\', $config); - - return $this->set($object->parse(), $name); - } - - /** - * 加载配置文件(多种格式) - * @access public - * @param string $file 配置文件名 - * @param string $name 一级配置名 - * @return mixed - */ - public function load($file, $name = '') - { - if (is_file($file)) { - $filename = $file; - } elseif (is_file($this->path . $file . $this->ext)) { - $filename = $this->path . $file . $this->ext; - } - - if (isset($filename)) { - return $this->loadFile($filename, $name); - } elseif ($this->yaconf && Yaconf::has($file)) { - return $this->set(Yaconf::get($file), $name); - } - - return $this->config; - } - - /** - * 获取实际的yaconf配置参数 - * @access protected - * @param string $name 配置参数名 - * @return string - */ - protected function getYaconfName($name) - { - if ($this->yaconf && is_string($this->yaconf)) { - return $this->yaconf . '.' . $name; - } - - return $name; - } - - /** - * 获取yaconf配置 - * @access public - * @param string $name 配置参数名 - * @param mixed $default 默认值 - * @return mixed - */ - public function yaconf($name, $default = null) - { - if ($this->yaconf) { - $yaconfName = $this->getYaconfName($name); - - if (Yaconf::has($yaconfName)) { - return Yaconf::get($yaconfName); - } - } - - return $default; - } - - protected function loadFile($file, $name) - { - $name = strtolower($name); - $type = pathinfo($file, PATHINFO_EXTENSION); - - if ('php' == $type) { - return $this->set(include $file, $name); - } elseif ('yaml' == $type && function_exists('yaml_parse_file')) { - return $this->set(yaml_parse_file($file), $name); - } - - return $this->parse($file, $type, $name); - } - - /** - * 检测配置是否存在 - * @access public - * @param string $name 配置参数名(支持多级配置 .号分割) - * @return bool - */ - public function has($name) - { - if (false === strpos($name, '.')) { - $name = $this->prefix . '.' . $name; - } - - return !is_null($this->get($name)); - } - - /** - * 获取一级配置 - * @access public - * @param string $name 一级配置名 - * @return array - */ - public function pull($name) - { - $name = strtolower($name); - - if ($this->yaconf) { - $yaconfName = $this->getYaconfName($name); - - if (Yaconf::has($yaconfName)) { - $config = Yaconf::get($yaconfName); - return isset($this->config[$name]) ? array_merge($this->config[$name], $config) : $config; - } - } - - return isset($this->config[$name]) ? $this->config[$name] : []; - } - - /** - * 获取配置参数 为空则获取所有配置 - * @access public - * @param string $name 配置参数名(支持多级配置 .号分割) - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name = null, $default = null) - { - if ($name && false === strpos($name, '.')) { - $name = $this->prefix . '.' . $name; - } - - // 无参数时获取所有 - if (empty($name)) { - return $this->config; - } - - if ('.' == substr($name, -1)) { - return $this->pull(substr($name, 0, -1)); - } - - if ($this->yaconf) { - $yaconfName = $this->getYaconfName($name); - - if (Yaconf::has($yaconfName)) { - return Yaconf::get($yaconfName); - } - } - - $name = explode('.', $name); - $name[0] = strtolower($name[0]); - $config = $this->config; - - // 按.拆分成多维数组进行判断 - foreach ($name as $val) { - if (isset($config[$val])) { - $config = $config[$val]; - } else { - return $default; - } - } - - return $config; - } - - /** - * 设置配置参数 name为数组则为批量设置 - * @access public - * @param string|array $name 配置参数名(支持三级配置 .号分割) - * @param mixed $value 配置值 - * @return mixed - */ - public function set($name, $value = null) - { - if (is_string($name)) { - if (false === strpos($name, '.')) { - $name = $this->prefix . '.' . $name; - } - - $name = explode('.', $name, 3); - - if (count($name) == 2) { - $this->config[strtolower($name[0])][$name[1]] = $value; - } else { - $this->config[strtolower($name[0])][$name[1]][$name[2]] = $value; - } - - return $value; - } elseif (is_array($name)) { - // 批量设置 - if (!empty($value)) { - if (isset($this->config[$value])) { - $result = array_merge($this->config[$value], $name); - } else { - $result = $name; - } - - $this->config[$value] = $result; - } else { - $result = $this->config = array_merge($this->config, $name); - } - } else { - // 为空直接返回 已有配置 - $result = $this->config; - } - - return $result; - } - - /** - * 移除配置 - * @access public - * @param string $name 配置参数名(支持三级配置 .号分割) - * @return void - */ - public function remove($name) - { - if (false === strpos($name, '.')) { - $name = $this->prefix . '.' . $name; - } - - $name = explode('.', $name, 3); - - if (count($name) == 2) { - unset($this->config[strtolower($name[0])][$name[1]]); - } else { - unset($this->config[strtolower($name[0])][$name[1]][$name[2]]); - } - } - - /** - * 重置配置参数 - * @access public - * @param string $prefix 配置前缀名 - * @return void - */ - public function reset($prefix = '') - { - if ('' === $prefix) { - $this->config = []; - } else { - $this->config[$prefix] = []; - } - } - - /** - * 设置配置 - * @access public - * @param string $name 参数名 - * @param mixed $value 值 - */ - public function __set($name, $value) - { - return $this->set($name, $value); - } - - /** - * 获取配置参数 - * @access public - * @param string $name 参数名 - * @return mixed - */ - public function __get($name) - { - return $this->get($name); - } - - /** - * 检测是否存在参数 - * @access public - * @param string $name 参数名 - * @return bool - */ - public function __isset($name) - { - return $this->has($name); - } - - // ArrayAccess - public function offsetSet($name, $value) - { - $this->set($name, $value); - } - - public function offsetExists($name) - { - return $this->has($name); - } - - public function offsetUnset($name) - { - $this->remove($name); - } - - public function offsetGet($name) - { - return $this->get($name); - } -} diff --git a/thinkphp/library/think/Console.php b/thinkphp/library/think/Console.php deleted file mode 100644 index 22f3e2c5..00000000 --- a/thinkphp/library/think/Console.php +++ /dev/null @@ -1,829 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\console\Command; -use think\console\command\Help as HelpCommand; -use think\console\Input; -use think\console\input\Argument as InputArgument; -use think\console\input\Definition as InputDefinition; -use think\console\input\Option as InputOption; -use think\console\Output; -use think\console\output\driver\Buffer; - -class Console -{ - - private $name; - private $version; - - /** @var Command[] */ - private $commands = []; - - private $wantHelps = false; - - private $catchExceptions = true; - private $autoExit = true; - private $definition; - private $defaultCommand; - - private static $defaultCommands = [ - 'help' => "think\\console\\command\\Help", - 'list' => "think\\console\\command\\Lists", - 'build' => "think\\console\\command\\Build", - 'clear' => "think\\console\\command\\Clear", - 'make:command' => "think\\console\\command\\make\\Command", - 'make:controller' => "think\\console\\command\\make\\Controller", - 'make:model' => "think\\console\\command\\make\\Model", - 'make:middleware' => "think\\console\\command\\make\\Middleware", - 'make:validate' => "think\\console\\command\\make\\Validate", - 'optimize:autoload' => "think\\console\\command\\optimize\\Autoload", - 'optimize:config' => "think\\console\\command\\optimize\\Config", - 'optimize:schema' => "think\\console\\command\\optimize\\Schema", - 'optimize:route' => "think\\console\\command\\optimize\\Route", - 'run' => "think\\console\\command\\RunServer", - 'version' => "think\\console\\command\\Version", - 'route:list' => "think\\console\\command\\RouteList", - ]; - - /** - * Console constructor. - * @access public - * @param string $name 名称 - * @param string $version 版本 - * @param null|string $user 执行用户 - */ - public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN', $user = null) - { - $this->name = $name; - $this->version = $version; - - if ($user) { - $this->setUser($user); - } - - $this->defaultCommand = 'list'; - $this->definition = $this->getDefaultInputDefinition(); - } - - /** - * 设置执行用户 - * @param $user - */ - public function setUser($user) - { - if (DIRECTORY_SEPARATOR == '\\') { - return; - } - - $user = posix_getpwnam($user); - if ($user) { - posix_setuid($user['uid']); - posix_setgid($user['gid']); - } - } - - /** - * 初始化 Console - * @access public - * @param bool $run 是否运行 Console - * @return int|Console - */ - public static function init($run = true) - { - static $console; - - if (!$console) { - $config = Container::get('config')->pull('console'); - $console = new self($config['name'], $config['version'], $config['user']); - - $commands = $console->getDefinedCommands($config); - - // 添加指令集 - $console->addCommands($commands); - } - - if ($run) { - // 运行 - return $console->run(); - } else { - return $console; - } - } - - /** - * @access public - * @param array $config - * @return array - */ - public function getDefinedCommands(array $config = []) - { - $commands = self::$defaultCommands; - - if (!empty($config['auto_path']) && is_dir($config['auto_path'])) { - // 自动加载指令类 - $files = scandir($config['auto_path']); - - if (count($files) > 2) { - $beforeClass = get_declared_classes(); - - foreach ($files as $file) { - if (pathinfo($file, PATHINFO_EXTENSION) == 'php') { - include $config['auto_path'] . $file; - } - } - - $afterClass = get_declared_classes(); - $commands = array_merge($commands, array_diff($afterClass, $beforeClass)); - } - } - - $file = Container::get('env')->get('app_path') . 'command.php'; - - if (is_file($file)) { - $appCommands = include $file; - - if (is_array($appCommands)) { - $commands = array_merge($commands, $appCommands); - } - } - - return $commands; - } - - /** - * @access public - * @param string $command - * @param array $parameters - * @param string $driver - * @return Output|Buffer - */ - public static function call($command, array $parameters = [], $driver = 'buffer') - { - $console = self::init(false); - - array_unshift($parameters, $command); - - $input = new Input($parameters); - $output = new Output($driver); - - $console->setCatchExceptions(false); - $console->find($command)->run($input, $output); - - return $output; - } - - /** - * 执行当前的指令 - * @access public - * @return int - * @throws \Exception - * @api - */ - public function run() - { - $input = new Input(); - $output = new Output(); - - $this->configureIO($input, $output); - - try { - $exitCode = $this->doRun($input, $output); - } catch (\Exception $e) { - if (!$this->catchExceptions) { - throw $e; - } - - $output->renderException($e); - - $exitCode = $e->getCode(); - if (is_numeric($exitCode)) { - $exitCode = (int) $exitCode; - if (0 === $exitCode) { - $exitCode = 1; - } - } else { - $exitCode = 1; - } - } - - if ($this->autoExit) { - if ($exitCode > 255) { - $exitCode = 255; - } - - exit($exitCode); - } - - return $exitCode; - } - - /** - * 执行指令 - * @access public - * @param Input $input - * @param Output $output - * @return int - */ - public function doRun(Input $input, Output $output) - { - if (true === $input->hasParameterOption(['--version', '-V'])) { - $output->writeln($this->getLongVersion()); - - return 0; - } - - $name = $this->getCommandName($input); - - if (true === $input->hasParameterOption(['--help', '-h'])) { - if (!$name) { - $name = 'help'; - $input = new Input(['help']); - } else { - $this->wantHelps = true; - } - } - - if (!$name) { - $name = $this->defaultCommand; - $input = new Input([$this->defaultCommand]); - } - - $command = $this->find($name); - - $exitCode = $this->doRunCommand($command, $input, $output); - - return $exitCode; - } - - /** - * 设置输入参数定义 - * @access public - * @param InputDefinition $definition - */ - public function setDefinition(InputDefinition $definition) - { - $this->definition = $definition; - } - - /** - * 获取输入参数定义 - * @access public - * @return InputDefinition The InputDefinition instance - */ - public function getDefinition() - { - return $this->definition; - } - - /** - * Gets the help message. - * @access public - * @return string A help message. - */ - public function getHelp() - { - return $this->getLongVersion(); - } - - /** - * 是否捕获异常 - * @access public - * @param bool $boolean - * @api - */ - public function setCatchExceptions($boolean) - { - $this->catchExceptions = (bool) $boolean; - } - - /** - * 是否自动退出 - * @access public - * @param bool $boolean - * @api - */ - public function setAutoExit($boolean) - { - $this->autoExit = (bool) $boolean; - } - - /** - * 获取名称 - * @access public - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 设置名称 - * @access public - * @param string $name - */ - public function setName($name) - { - $this->name = $name; - } - - /** - * 获取版本 - * @access public - * @return string - * @api - */ - public function getVersion() - { - return $this->version; - } - - /** - * 设置版本 - * @access public - * @param string $version - */ - public function setVersion($version) - { - $this->version = $version; - } - - /** - * 获取完整的版本号 - * @access public - * @return string - */ - public function getLongVersion() - { - if ('UNKNOWN' !== $this->getName() && 'UNKNOWN' !== $this->getVersion()) { - return sprintf('%s version %s', $this->getName(), $this->getVersion()); - } - - return 'Console Tool'; - } - - /** - * 注册一个指令 (便于动态创建指令) - * @access public - * @param string $name 指令名 - * @return Command - */ - public function register($name) - { - return $this->add(new Command($name)); - } - - /** - * 添加指令集 - * @access public - * @param array $commands - */ - public function addCommands(array $commands) - { - foreach ($commands as $key => $command) { - if (is_subclass_of($command, "\\think\\console\\Command")) { - // 注册指令 - $this->add($command, is_numeric($key) ? '' : $key); - } - } - } - - /** - * 注册一个指令(对象) - * @access public - * @param mixed $command 指令对象或者指令类名 - * @param string $name 指令名 留空则自动获取 - * @return mixed - */ - public function add($command, $name) - { - if ($name) { - $this->commands[$name] = $command; - return; - } - - if (is_string($command)) { - $command = new $command(); - } - - $command->setConsole($this); - - if (!$command->isEnabled()) { - $command->setConsole(null); - return; - } - - if (null === $command->getDefinition()) { - throw new \LogicException(sprintf('Command class "%s" is not correctly initialized. You probably forgot to call the parent constructor.', get_class($command))); - } - - $this->commands[$command->getName()] = $command; - - foreach ($command->getAliases() as $alias) { - $this->commands[$alias] = $command; - } - - return $command; - } - - /** - * 获取指令 - * @access public - * @param string $name 指令名称 - * @return Command - * @throws \InvalidArgumentException - */ - public function get($name) - { - if (!isset($this->commands[$name])) { - throw new \InvalidArgumentException(sprintf('The command "%s" does not exist.', $name)); - } - - $command = $this->commands[$name]; - - if (is_string($command)) { - $command = new $command(); - } - - $command->setConsole($this); - - if ($this->wantHelps) { - $this->wantHelps = false; - - /** @var HelpCommand $helpCommand */ - $helpCommand = $this->get('help'); - $helpCommand->setCommand($command); - - return $helpCommand; - } - - return $command; - } - - /** - * 某个指令是否存在 - * @access public - * @param string $name 指令名称 - * @return bool - */ - public function has($name) - { - return isset($this->commands[$name]); - } - - /** - * 获取所有的命名空间 - * @access public - * @return array - */ - public function getNamespaces() - { - $namespaces = []; - foreach ($this->commands as $name => $command) { - if (is_string($command)) { - $namespaces = array_merge($namespaces, $this->extractAllNamespaces($name)); - } else { - $namespaces = array_merge($namespaces, $this->extractAllNamespaces($command->getName())); - - foreach ($command->getAliases() as $alias) { - $namespaces = array_merge($namespaces, $this->extractAllNamespaces($alias)); - } - } - - } - - return array_values(array_unique(array_filter($namespaces))); - } - - /** - * 查找注册命名空间中的名称或缩写。 - * @access public - * @param string $namespace - * @return string - * @throws \InvalidArgumentException - */ - public function findNamespace($namespace) - { - $allNamespaces = $this->getNamespaces(); - $expr = preg_replace_callback('{([^:]+|)}', function ($matches) { - return preg_quote($matches[1]) . '[^:]*'; - }, $namespace); - $namespaces = preg_grep('{^' . $expr . '}', $allNamespaces); - - if (empty($namespaces)) { - $message = sprintf('There are no commands defined in the "%s" namespace.', $namespace); - - if ($alternatives = $this->findAlternatives($namespace, $allNamespaces)) { - if (1 == count($alternatives)) { - $message .= "\n\nDid you mean this?\n "; - } else { - $message .= "\n\nDid you mean one of these?\n "; - } - - $message .= implode("\n ", $alternatives); - } - - throw new \InvalidArgumentException($message); - } - - $exact = in_array($namespace, $namespaces, true); - if (count($namespaces) > 1 && !$exact) { - throw new \InvalidArgumentException(sprintf('The namespace "%s" is ambiguous (%s).', $namespace, $this->getAbbreviationSuggestions(array_values($namespaces)))); - } - - return $exact ? $namespace : reset($namespaces); - } - - /** - * 查找指令 - * @access public - * @param string $name 名称或者别名 - * @return Command - * @throws \InvalidArgumentException - */ - public function find($name) - { - $allCommands = array_keys($this->commands); - - $expr = preg_replace_callback('{([^:]+|)}', function ($matches) { - return preg_quote($matches[1]) . '[^:]*'; - }, $name); - - $commands = preg_grep('{^' . $expr . '}', $allCommands); - - if (empty($commands) || count(preg_grep('{^' . $expr . '$}', $commands)) < 1) { - if (false !== $pos = strrpos($name, ':')) { - $this->findNamespace(substr($name, 0, $pos)); - } - - $message = sprintf('Command "%s" is not defined.', $name); - - if ($alternatives = $this->findAlternatives($name, $allCommands)) { - if (1 == count($alternatives)) { - $message .= "\n\nDid you mean this?\n "; - } else { - $message .= "\n\nDid you mean one of these?\n "; - } - $message .= implode("\n ", $alternatives); - } - - throw new \InvalidArgumentException($message); - } - - $exact = in_array($name, $commands, true); - if (count($commands) > 1 && !$exact) { - $suggestions = $this->getAbbreviationSuggestions(array_values($commands)); - - throw new \InvalidArgumentException(sprintf('Command "%s" is ambiguous (%s).', $name, $suggestions)); - } - - return $this->get($exact ? $name : reset($commands)); - } - - /** - * 获取所有的指令 - * @access public - * @param string $namespace 命名空间 - * @return Command[] - * @api - */ - public function all($namespace = null) - { - if (null === $namespace) { - return $this->commands; - } - - $commands = []; - foreach ($this->commands as $name => $command) { - if ($this->extractNamespace($name, substr_count($namespace, ':') + 1) === $namespace) { - $commands[$name] = $command; - } - } - - return $commands; - } - - /** - * 获取可能的指令名 - * @access public - * @param array $names - * @return array - */ - public static function getAbbreviations($names) - { - $abbrevs = []; - foreach ($names as $name) { - for ($len = strlen($name); $len > 0; --$len) { - $abbrev = substr($name, 0, $len); - $abbrevs[$abbrev][] = $name; - } - } - - return $abbrevs; - } - - /** - * 配置基于用户的参数和选项的输入和输出实例。 - * @access protected - * @param Input $input 输入实例 - * @param Output $output 输出实例 - */ - protected function configureIO(Input $input, Output $output) - { - if (true === $input->hasParameterOption(['--ansi'])) { - $output->setDecorated(true); - } elseif (true === $input->hasParameterOption(['--no-ansi'])) { - $output->setDecorated(false); - } - - if (true === $input->hasParameterOption(['--no-interaction', '-n'])) { - $input->setInteractive(false); - } - - if (true === $input->hasParameterOption(['--quiet', '-q'])) { - $output->setVerbosity(Output::VERBOSITY_QUIET); - } else { - if ($input->hasParameterOption('-vvv') || $input->hasParameterOption('--verbose=3') || $input->getParameterOption('--verbose') === 3) { - $output->setVerbosity(Output::VERBOSITY_DEBUG); - } elseif ($input->hasParameterOption('-vv') || $input->hasParameterOption('--verbose=2') || $input->getParameterOption('--verbose') === 2) { - $output->setVerbosity(Output::VERBOSITY_VERY_VERBOSE); - } elseif ($input->hasParameterOption('-v') || $input->hasParameterOption('--verbose=1') || $input->hasParameterOption('--verbose') || $input->getParameterOption('--verbose')) { - $output->setVerbosity(Output::VERBOSITY_VERBOSE); - } - } - } - - /** - * 执行指令 - * @access protected - * @param Command $command 指令实例 - * @param Input $input 输入实例 - * @param Output $output 输出实例 - * @return int - * @throws \Exception - */ - protected function doRunCommand(Command $command, Input $input, Output $output) - { - return $command->run($input, $output); - } - - /** - * 获取指令的基础名称 - * @access protected - * @param Input $input - * @return string - */ - protected function getCommandName(Input $input) - { - return $input->getFirstArgument(); - } - - /** - * 获取默认输入定义 - * @access protected - * @return InputDefinition - */ - protected function getDefaultInputDefinition() - { - return new InputDefinition([ - new InputArgument('command', InputArgument::REQUIRED, 'The command to execute'), - new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display this help message'), - new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this console version'), - new InputOption('--quiet', '-q', InputOption::VALUE_NONE, 'Do not output any message'), - new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), - new InputOption('--ansi', '', InputOption::VALUE_NONE, 'Force ANSI output'), - new InputOption('--no-ansi', '', InputOption::VALUE_NONE, 'Disable ANSI output'), - new InputOption('--no-interaction', '-n', InputOption::VALUE_NONE, 'Do not ask any interactive question'), - ]); - } - - public static function addDefaultCommands(array $classnames) - { - self::$defaultCommands = array_merge(self::$defaultCommands, $classnames); - } - - /** - * 获取可能的建议 - * @access private - * @param array $abbrevs - * @return string - */ - private function getAbbreviationSuggestions($abbrevs) - { - return sprintf('%s, %s%s', $abbrevs[0], $abbrevs[1], count($abbrevs) > 2 ? sprintf(' and %d more', count($abbrevs) - 2) : ''); - } - - /** - * 返回命名空间部分 - * @access public - * @param string $name 指令 - * @param string $limit 部分的命名空间的最大数量 - * @return string - */ - public function extractNamespace($name, $limit = null) - { - $parts = explode(':', $name); - array_pop($parts); - - return implode(':', null === $limit ? $parts : array_slice($parts, 0, $limit)); - } - - /** - * 查找可替代的建议 - * @access private - * @param string $name - * @param array|\Traversable $collection - * @return array - */ - private function findAlternatives($name, $collection) - { - $threshold = 1e3; - $alternatives = []; - - $collectionParts = []; - foreach ($collection as $item) { - $collectionParts[$item] = explode(':', $item); - } - - foreach (explode(':', $name) as $i => $subname) { - foreach ($collectionParts as $collectionName => $parts) { - $exists = isset($alternatives[$collectionName]); - if (!isset($parts[$i]) && $exists) { - $alternatives[$collectionName] += $threshold; - continue; - } elseif (!isset($parts[$i])) { - continue; - } - - $lev = levenshtein($subname, $parts[$i]); - if ($lev <= strlen($subname) / 3 || '' !== $subname && false !== strpos($parts[$i], $subname)) { - $alternatives[$collectionName] = $exists ? $alternatives[$collectionName] + $lev : $lev; - } elseif ($exists) { - $alternatives[$collectionName] += $threshold; - } - } - } - - foreach ($collection as $item) { - $lev = levenshtein($name, $item); - if ($lev <= strlen($name) / 3 || false !== strpos($item, $name)) { - $alternatives[$item] = isset($alternatives[$item]) ? $alternatives[$item] - $lev : $lev; - } - } - - $alternatives = array_filter($alternatives, function ($lev) use ($threshold) { - return $lev < 2 * $threshold; - }); - asort($alternatives); - - return array_keys($alternatives); - } - - /** - * 设置默认的指令 - * @access public - * @param string $commandName The Command name - */ - public function setDefaultCommand($commandName) - { - $this->defaultCommand = $commandName; - } - - /** - * 返回所有的命名空间 - * @access private - * @param string $name - * @return array - */ - private function extractAllNamespaces($name) - { - $parts = explode(':', $name, -1); - $namespaces = []; - - foreach ($parts as $part) { - if (count($namespaces)) { - $namespaces[] = end($namespaces) . ':' . $part; - } else { - $namespaces[] = $part; - } - } - - return $namespaces; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['commands'], $data['definition']); - - return $data; - } -} diff --git a/thinkphp/library/think/Container.php b/thinkphp/library/think/Container.php deleted file mode 100644 index 91b32aa6..00000000 --- a/thinkphp/library/think/Container.php +++ /dev/null @@ -1,618 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use ArrayAccess; -use ArrayIterator; -use Closure; -use Countable; -use InvalidArgumentException; -use IteratorAggregate; -use ReflectionClass; -use ReflectionException; -use ReflectionFunction; -use ReflectionMethod; -use think\exception\ClassNotFoundException; - -/** - * @package think - * @property Build $build - * @property Cache $cache - * @property Config $config - * @property Cookie $cookie - * @property Debug $debug - * @property Env $env - * @property Hook $hook - * @property Lang $lang - * @property Middleware $middleware - * @property Request $request - * @property Response $response - * @property Route $route - * @property Session $session - * @property Template $template - * @property Url $url - * @property Validate $validate - * @property View $view - * @property route\RuleName $rule_name - * @property Log $log - */ -class Container implements ArrayAccess, IteratorAggregate, Countable -{ - /** - * 容器对象实例 - * @var Container - */ - protected static $instance; - - /** - * 容器中的对象实例 - * @var array - */ - protected $instances = []; - - /** - * 容器绑定标识 - * @var array - */ - protected $bind = [ - 'app' => App::class, - 'build' => Build::class, - 'cache' => Cache::class, - 'config' => Config::class, - 'cookie' => Cookie::class, - 'debug' => Debug::class, - 'env' => Env::class, - 'hook' => Hook::class, - 'lang' => Lang::class, - 'log' => Log::class, - 'middleware' => Middleware::class, - 'request' => Request::class, - 'response' => Response::class, - 'route' => Route::class, - 'session' => Session::class, - 'template' => Template::class, - 'url' => Url::class, - 'validate' => Validate::class, - 'view' => View::class, - 'rule_name' => route\RuleName::class, - // 接口依赖注入 - 'think\LoggerInterface' => Log::class, - ]; - - /** - * 容器标识别名 - * @var array - */ - protected $name = []; - - /** - * 获取当前容器的实例(单例) - * @access public - * @return static - */ - public static function getInstance() - { - if (is_null(static::$instance)) { - static::$instance = new static; - } - - return static::$instance; - } - - /** - * 设置当前容器的实例 - * @access public - * @param object $instance - * @return void - */ - public static function setInstance($instance) - { - static::$instance = $instance; - } - - /** - * 获取容器中的对象实例 - * @access public - * @param string $abstract 类名或者标识 - * @param array|true $vars 变量 - * @param bool $newInstance 是否每次创建新的实例 - * @return object - */ - public static function get($abstract, $vars = [], $newInstance = false) - { - return static::getInstance()->make($abstract, $vars, $newInstance); - } - - /** - * 绑定一个类、闭包、实例、接口实现到容器 - * @access public - * @param string $abstract 类标识、接口 - * @param mixed $concrete 要绑定的类、闭包或者实例 - * @return Container - */ - public static function set($abstract, $concrete = null) - { - return static::getInstance()->bindTo($abstract, $concrete); - } - - /** - * 移除容器中的对象实例 - * @access public - * @param string $abstract 类标识、接口 - * @return void - */ - public static function remove($abstract) - { - return static::getInstance()->delete($abstract); - } - - /** - * 清除容器中的对象实例 - * @access public - * @return void - */ - public static function clear() - { - return static::getInstance()->flush(); - } - - /** - * 绑定一个类、闭包、实例、接口实现到容器 - * @access public - * @param string|array $abstract 类标识、接口 - * @param mixed $concrete 要绑定的类、闭包或者实例 - * @return $this - */ - public function bindTo($abstract, $concrete = null) - { - if (is_array($abstract)) { - $this->bind = array_merge($this->bind, $abstract); - } elseif ($concrete instanceof Closure) { - $this->bind[$abstract] = $concrete; - } elseif (is_object($concrete)) { - if (isset($this->bind[$abstract])) { - $abstract = $this->bind[$abstract]; - } - $this->instances[$abstract] = $concrete; - } else { - $this->bind[$abstract] = $concrete; - } - - return $this; - } - - /** - * 绑定一个类实例当容器 - * @access public - * @param string $abstract 类名或者标识 - * @param object|\Closure $instance 类的实例 - * @return $this - */ - public function instance($abstract, $instance) - { - if ($instance instanceof \Closure) { - $this->bind[$abstract] = $instance; - } else { - if (isset($this->bind[$abstract])) { - $abstract = $this->bind[$abstract]; - } - - $this->instances[$abstract] = $instance; - } - - return $this; - } - - /** - * 判断容器中是否存在类及标识 - * @access public - * @param string $abstract 类名或者标识 - * @return bool - */ - public function bound($abstract) - { - return isset($this->bind[$abstract]) || isset($this->instances[$abstract]); - } - - /** - * 判断容器中是否存在对象实例 - * @access public - * @param string $abstract 类名或者标识 - * @return bool - */ - public function exists($abstract) - { - if (isset($this->bind[$abstract])) { - $abstract = $this->bind[$abstract]; - } - - return isset($this->instances[$abstract]); - } - - /** - * 判断容器中是否存在类及标识 - * @access public - * @param string $name 类名或者标识 - * @return bool - */ - public function has($name) - { - return $this->bound($name); - } - - /** - * 创建类的实例 - * @access public - * @param string $abstract 类名或者标识 - * @param array|true $vars 变量 - * @param bool $newInstance 是否每次创建新的实例 - * @return object - */ - public function make($abstract, $vars = [], $newInstance = false) - { - if (true === $vars) { - // 总是创建新的实例化对象 - $newInstance = true; - $vars = []; - } - - $abstract = isset($this->name[$abstract]) ? $this->name[$abstract] : $abstract; - - if (isset($this->instances[$abstract]) && !$newInstance) { - return $this->instances[$abstract]; - } - - if (isset($this->bind[$abstract])) { - $concrete = $this->bind[$abstract]; - - if ($concrete instanceof Closure) { - $object = $this->invokeFunction($concrete, $vars); - } else { - $this->name[$abstract] = $concrete; - return $this->make($concrete, $vars, $newInstance); - } - } else { - $object = $this->invokeClass($abstract, $vars); - } - - if (!$newInstance) { - $this->instances[$abstract] = $object; - } - - return $object; - } - - /** - * 删除容器中的对象实例 - * @access public - * @param string|array $abstract 类名或者标识 - * @return void - */ - public function delete($abstract) - { - foreach ((array) $abstract as $name) { - $name = isset($this->name[$name]) ? $this->name[$name] : $name; - - if (isset($this->instances[$name])) { - unset($this->instances[$name]); - } - } - } - - /** - * 获取容器中的对象实例 - * @access public - * @return array - */ - public function all() - { - return $this->instances; - } - - /** - * 清除容器中的对象实例 - * @access public - * @return void - */ - public function flush() - { - $this->instances = []; - $this->bind = []; - $this->name = []; - } - - /** - * 执行函数或者闭包方法 支持参数调用 - * @access public - * @param mixed $function 函数或者闭包 - * @param array $vars 参数 - * @return mixed - */ - public function invokeFunction($function, $vars = []) - { - try { - $reflect = new ReflectionFunction($function); - - $args = $this->bindParams($reflect, $vars); - - return call_user_func_array($function, $args); - } catch (ReflectionException $e) { - throw new Exception('function not exists: ' . $function . '()'); - } - } - - /** - * 调用反射执行类的方法 支持参数绑定 - * @access public - * @param mixed $method 方法 - * @param array $vars 参数 - * @return mixed - */ - public function invokeMethod($method, $vars = []) - { - try { - if (is_array($method)) { - $class = is_object($method[0]) ? $method[0] : $this->invokeClass($method[0]); - $reflect = new ReflectionMethod($class, $method[1]); - } else { - // 静态方法 - $reflect = new ReflectionMethod($method); - } - - $args = $this->bindParams($reflect, $vars); - - return $reflect->invokeArgs(isset($class) ? $class : null, $args); - } catch (ReflectionException $e) { - if (is_array($method) && is_object($method[0])) { - $method[0] = get_class($method[0]); - } - - throw new Exception('method not exists: ' . (is_array($method) ? $method[0] . '::' . $method[1] : $method) . '()'); - } - } - - /** - * 调用反射执行类的方法 支持参数绑定 - * @access public - * @param object $instance 对象实例 - * @param mixed $reflect 反射类 - * @param array $vars 参数 - * @return mixed - */ - public function invokeReflectMethod($instance, $reflect, $vars = []) - { - $args = $this->bindParams($reflect, $vars); - - return $reflect->invokeArgs($instance, $args); - } - - /** - * 调用反射执行callable 支持参数绑定 - * @access public - * @param mixed $callable - * @param array $vars 参数 - * @return mixed - */ - public function invoke($callable, $vars = []) - { - if ($callable instanceof Closure) { - return $this->invokeFunction($callable, $vars); - } - - return $this->invokeMethod($callable, $vars); - } - - /** - * 调用反射执行类的实例化 支持依赖注入 - * @access public - * @param string $class 类名 - * @param array $vars 参数 - * @return mixed - */ - public function invokeClass($class, $vars = []) - { - try { - $reflect = new ReflectionClass($class); - - if ($reflect->hasMethod('__make')) { - $method = new ReflectionMethod($class, '__make'); - - if ($method->isPublic() && $method->isStatic()) { - $args = $this->bindParams($method, $vars); - return $method->invokeArgs(null, $args); - } - } - - $constructor = $reflect->getConstructor(); - - $args = $constructor ? $this->bindParams($constructor, $vars) : []; - - return $reflect->newInstanceArgs($args); - - } catch (ReflectionException $e) { - throw new ClassNotFoundException('class not exists: ' . $class, $class); - } - } - - /** - * 绑定参数 - * @access protected - * @param \ReflectionMethod|\ReflectionFunction $reflect 反射类 - * @param array $vars 参数 - * @return array - */ - protected function bindParams($reflect, $vars = []) - { - if ($reflect->getNumberOfParameters() == 0) { - return []; - } - - // 判断数组类型 数字数组时按顺序绑定参数 - reset($vars); - $type = key($vars) === 0 ? 1 : 0; - $params = $reflect->getParameters(); - - if (PHP_VERSION > 8.0) { - $args = $this->parseParamsForPHP8($params, $vars, $type); - } else { - $args = $this->parseParams($params, $vars, $type); - } - - return $args; - } - - /** - * 解析参数 - * @access protected - * @param array $params 参数列表 - * @param array $vars 参数数据 - * @param int $type 参数类别 - * @return array - */ - protected function parseParams($params, $vars, $type) - { - foreach ($params as $param) { - $name = $param->getName(); - $lowerName = Loader::parseName($name); - $class = $param->getClass(); - - if ($class) { - $args[] = $this->getObjectParam($class->getName(), $vars); - } elseif (1 == $type && !empty($vars)) { - $args[] = array_shift($vars); - } elseif (0 == $type && isset($vars[$name])) { - $args[] = $vars[$name]; - } elseif (0 == $type && isset($vars[$lowerName])) { - $args[] = $vars[$lowerName]; - } elseif ($param->isDefaultValueAvailable()) { - $args[] = $param->getDefaultValue(); - } else { - throw new InvalidArgumentException('method param miss:' . $name); - } - } - return $args; - } - - /** - * 解析参数 - * @access protected - * @param array $params 参数列表 - * @param array $vars 参数数据 - * @param int $type 参数类别 - * @return array - */ - protected function parseParamsForPHP8($params, $vars, $type) - { - foreach ($params as $param) { - $name = $param->getName(); - $lowerName = Loader::parseName($name); - $reflectionType = $param->getType(); - - if ($reflectionType && $reflectionType->isBuiltin() === false) { - $args[] = $this->getObjectParam($reflectionType->getName(), $vars); - } elseif (1 == $type && !empty($vars)) { - $args[] = array_shift($vars); - } elseif (0 == $type && array_key_exists($name, $vars)) { - $args[] = $vars[$name]; - } elseif (0 == $type && array_key_exists($lowerName, $vars)) { - $args[] = $vars[$lowerName]; - } elseif ($param->isDefaultValueAvailable()) { - $args[] = $param->getDefaultValue(); - } else { - throw new InvalidArgumentException('method param miss:' . $name); - } - } - return $args; - } - - /** - * 获取对象类型的参数值 - * @access protected - * @param string $className 类名 - * @param array $vars 参数 - * @return mixed - */ - protected function getObjectParam($className, &$vars) - { - $array = $vars; - $value = array_shift($array); - - if ($value instanceof $className) { - $result = $value; - array_shift($vars); - } else { - $result = $this->make($className); - } - - return $result; - } - - public function __set($name, $value) - { - $this->bindTo($name, $value); - } - - public function __get($name) - { - return $this->make($name); - } - - public function __isset($name) - { - return $this->bound($name); - } - - public function __unset($name) - { - $this->delete($name); - } - - public function offsetExists($key) - { - return $this->__isset($key); - } - - public function offsetGet($key) - { - return $this->__get($key); - } - - public function offsetSet($key, $value) - { - $this->__set($key, $value); - } - - public function offsetUnset($key) - { - $this->__unset($key); - } - - //Countable - public function count() - { - return count($this->instances); - } - - //IteratorAggregate - public function getIterator() - { - return new ArrayIterator($this->instances); - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['instances'], $data['instance']); - - return $data; - } -} diff --git a/thinkphp/library/think/Controller.php b/thinkphp/library/think/Controller.php deleted file mode 100644 index 966eaaa8..00000000 --- a/thinkphp/library/think/Controller.php +++ /dev/null @@ -1,287 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\ValidateException; -use traits\controller\Jump; - -class Controller -{ - use Jump; - - /** - * 视图类实例 - * @var \think\View - */ - protected $view; - - /** - * Request实例 - * @var \think\Request - */ - protected $request; - - /** - * 验证失败是否抛出异常 - * @var bool - */ - protected $failException = false; - - /** - * 是否批量验证 - * @var bool - */ - protected $batchValidate = false; - - /** - * 前置操作方法列表(即将废弃) - * @var array $beforeActionList - */ - protected $beforeActionList = []; - - /** - * 控制器中间件 - * @var array - */ - protected $middleware = []; - - /** - * 构造方法 - * @access public - */ - public function __construct(App $app = null) - { - $this->app = $app ?: Container::get('app'); - $this->request = $this->app['request']; - $this->view = $this->app['view']; - - // 控制器初始化 - $this->initialize(); - - $this->registerMiddleware(); - - // 前置操作方法 即将废弃 - foreach ((array) $this->beforeActionList as $method => $options) { - is_numeric($method) ? - $this->beforeAction($options) : - $this->beforeAction($method, $options); - } - } - - // 初始化 - protected function initialize() - {} - - // 注册控制器中间件 - public function registerMiddleware() - { - foreach ($this->middleware as $key => $val) { - if (!is_int($key)) { - $only = $except = null; - - if (isset($val['only'])) { - $only = array_map(function ($item) { - return strtolower($item); - }, $val['only']); - } elseif (isset($val['except'])) { - $except = array_map(function ($item) { - return strtolower($item); - }, $val['except']); - } - - if (isset($only) && !in_array($this->request->action(), $only)) { - continue; - } elseif (isset($except) && in_array($this->request->action(), $except)) { - continue; - } else { - $val = $key; - } - } - - $this->app['middleware']->controller($val); - } - } - - /** - * 前置操作 - * @access protected - * @param string $method 前置操作方法名 - * @param array $options 调用参数 ['only'=>[...]] 或者['except'=>[...]] - */ - protected function beforeAction($method, $options = []) - { - if (isset($options['only'])) { - if (is_string($options['only'])) { - $options['only'] = explode(',', $options['only']); - } - - $only = array_map(function ($val) { - return strtolower($val); - }, $options['only']); - - if (!in_array($this->request->action(), $only)) { - return; - } - } elseif (isset($options['except'])) { - if (is_string($options['except'])) { - $options['except'] = explode(',', $options['except']); - } - - $except = array_map(function ($val) { - return strtolower($val); - }, $options['except']); - - if (in_array($this->request->action(), $except)) { - return; - } - } - - call_user_func([$this, $method]); - } - - /** - * 加载模板输出 - * @access protected - * @param string $template 模板文件名 - * @param array $vars 模板输出变量 - * @param array $config 模板参数 - * @return mixed - */ - protected function fetch($template = '', $vars = [], $config = []) - { - return Response::create($template, 'view')->assign($vars)->config($config); - } - - /** - * 渲染内容输出 - * @access protected - * @param string $content 模板内容 - * @param array $vars 模板输出变量 - * @param array $config 模板参数 - * @return mixed - */ - protected function display($content = '', $vars = [], $config = []) - { - return Response::create($content, 'view')->assign($vars)->config($config)->isContent(true); - } - - /** - * 模板变量赋值 - * @access protected - * @param mixed $name 要显示的模板变量 - * @param mixed $value 变量的值 - * @return $this - */ - protected function assign($name, $value = '') - { - $this->view->assign($name, $value); - - return $this; - } - - /** - * 视图过滤 - * @access protected - * @param Callable $filter 过滤方法或闭包 - * @return $this - */ - protected function filter($filter) - { - $this->view->filter($filter); - - return $this; - } - - /** - * 初始化模板引擎 - * @access protected - * @param array|string $engine 引擎参数 - * @return $this - */ - protected function engine($engine) - { - $this->view->engine($engine); - - return $this; - } - - /** - * 设置验证失败后是否抛出异常 - * @access protected - * @param bool $fail 是否抛出异常 - * @return $this - */ - protected function validateFailException($fail = true) - { - $this->failException = $fail; - - return $this; - } - - /** - * 验证数据 - * @access protected - * @param array $data 数据 - * @param string|array $validate 验证器名或者验证规则数组 - * @param array $message 提示信息 - * @param bool $batch 是否批量验证 - * @param mixed $callback 回调方法(闭包) - * @return array|string|true - * @throws ValidateException - */ - protected function validate($data, $validate, $message = [], $batch = false, $callback = null) - { - if (is_array($validate)) { - $v = $this->app->validate(); - $v->rule($validate); - } else { - if (strpos($validate, '.')) { - // 支持场景 - list($validate, $scene) = explode('.', $validate); - } - $v = $this->app->validate($validate); - if (!empty($scene)) { - $v->scene($scene); - } - } - - // 是否批量验证 - if ($batch || $this->batchValidate) { - $v->batch(true); - } - - if (is_array($message)) { - $v->message($message); - } - - if ($callback && is_callable($callback)) { - call_user_func_array($callback, [$v, &$data]); - } - - if (!$v->check($data)) { - if ($this->failException) { - throw new ValidateException($v->getError()); - } - return $v->getError(); - } - - return true; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app'], $data['request']); - - return $data; - } -} diff --git a/thinkphp/library/think/Cookie.php b/thinkphp/library/think/Cookie.php deleted file mode 100644 index 6a9fb1ee..00000000 --- a/thinkphp/library/think/Cookie.php +++ /dev/null @@ -1,268 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Cookie -{ - /** - * 配置参数 - * @var array - */ - protected $config = [ - // cookie 名称前缀 - 'prefix' => '', - // cookie 保存时间 - 'expire' => 0, - // cookie 保存路径 - 'path' => '/', - // cookie 有效域名 - 'domain' => '', - // cookie 启用安全传输 - 'secure' => false, - // httponly设置 - 'httponly' => false, - // 是否使用 setcookie - 'setcookie' => true, - ]; - - /** - * 构造方法 - * @access public - */ - public function __construct(array $config = []) - { - $this->init($config); - } - - /** - * Cookie初始化 - * @access public - * @param array $config - * @return void - */ - public function init(array $config = []) - { - $this->config = array_merge($this->config, array_change_key_case($config)); - - if (!empty($this->config['httponly']) && PHP_SESSION_ACTIVE != session_status()) { - ini_set('session.cookie_httponly', 1); - } - } - - public static function __make(Config $config) - { - return new static($config->pull('cookie')); - } - - /** - * 设置或者获取cookie作用域(前缀) - * @access public - * @param string $prefix - * @return string|void - */ - public function prefix($prefix = '') - { - if (empty($prefix)) { - return $this->config['prefix']; - } - - $this->config['prefix'] = $prefix; - } - - /** - * Cookie 设置、获取、删除 - * - * @access public - * @param string $name cookie名称 - * @param mixed $value cookie值 - * @param mixed $option 可选参数 可能会是 null|integer|string - * @return void - */ - public function set($name, $value = '', $option = null) - { - // 参数设置(会覆盖黙认设置) - if (!is_null($option)) { - if (is_numeric($option)) { - $option = ['expire' => $option]; - } elseif (is_string($option)) { - parse_str($option, $option); - } - - $config = array_merge($this->config, array_change_key_case($option)); - } else { - $config = $this->config; - } - - $name = $config['prefix'] . $name; - - // 设置cookie - if (is_array($value)) { - array_walk_recursive($value, [$this, 'jsonFormatProtect'], 'encode'); - $value = 'think:' . json_encode($value); - } - - $expire = !empty($config['expire']) ? $_SERVER['REQUEST_TIME'] + intval($config['expire']) : 0; - - if ($config['setcookie']) { - $this->setCookie($name, $value, $expire, $config); - } - - $_COOKIE[$name] = $value; - } - - /** - * Cookie 设置保存 - * - * @access public - * @param string $name cookie名称 - * @param mixed $value cookie值 - * @param array $option 可选参数 - * @return void - */ - protected function setCookie($name, $value, $expire, $option = []) - { - setcookie($name, $value, $expire, $option['path'], $option['domain'], $option['secure'], $option['httponly']); - } - - /** - * 永久保存Cookie数据 - * @access public - * @param string $name cookie名称 - * @param mixed $value cookie值 - * @param mixed $option 可选参数 可能会是 null|integer|string - * @return void - */ - public function forever($name, $value = '', $option = null) - { - if (is_null($option) || is_numeric($option)) { - $option = []; - } - - $option['expire'] = 315360000; - - $this->set($name, $value, $option); - } - - /** - * 判断Cookie数据 - * @access public - * @param string $name cookie名称 - * @param string|null $prefix cookie前缀 - * @return bool - */ - public function has($name, $prefix = null) - { - $prefix = !is_null($prefix) ? $prefix : $this->config['prefix']; - $name = $prefix . $name; - - return isset($_COOKIE[$name]); - } - - /** - * Cookie获取 - * @access public - * @param string $name cookie名称 留空获取全部 - * @param string|null $prefix cookie前缀 - * @return mixed - */ - public function get($name = '', $prefix = null) - { - $prefix = !is_null($prefix) ? $prefix : $this->config['prefix']; - $key = $prefix . $name; - - if ('' == $name) { - if ($prefix) { - $value = []; - foreach ($_COOKIE as $k => $val) { - if (0 === strpos($k, $prefix)) { - $value[$k] = $val; - } - } - } else { - $value = $_COOKIE; - } - } elseif (isset($_COOKIE[$key])) { - $value = $_COOKIE[$key]; - - if (0 === strpos($value, 'think:')) { - $value = substr($value, 6); - $value = json_decode($value, true); - array_walk_recursive($value, [$this, 'jsonFormatProtect'], 'decode'); - } - } else { - $value = null; - } - - return $value; - } - - /** - * Cookie删除 - * @access public - * @param string $name cookie名称 - * @param string|null $prefix cookie前缀 - * @return void - */ - public function delete($name, $prefix = null) - { - $config = $this->config; - $prefix = !is_null($prefix) ? $prefix : $config['prefix']; - $name = $prefix . $name; - - if ($config['setcookie']) { - $this->setcookie($name, '', $_SERVER['REQUEST_TIME'] - 3600, $config); - } - - // 删除指定cookie - unset($_COOKIE[$name]); - } - - /** - * Cookie清空 - * @access public - * @param string|null $prefix cookie前缀 - * @return void - */ - public function clear($prefix = null) - { - // 清除指定前缀的所有cookie - if (empty($_COOKIE)) { - return; - } - - // 要删除的cookie前缀,不指定则删除config设置的指定前缀 - $config = $this->config; - $prefix = !is_null($prefix) ? $prefix : $config['prefix']; - - if ($prefix) { - // 如果前缀为空字符串将不作处理直接返回 - foreach ($_COOKIE as $key => $val) { - if (0 === strpos($key, $prefix)) { - if ($config['setcookie']) { - $this->setcookie($key, '', $_SERVER['REQUEST_TIME'] - 3600, $config); - } - unset($_COOKIE[$key]); - } - } - } - - return; - } - - private function jsonFormatProtect(&$val, $key, $type = 'encode') - { - if (!empty($val) && true !== $val) { - $val = 'decode' == $type ? urldecode($val) : urlencode($val); - } - } - -} diff --git a/thinkphp/library/think/Db.php b/thinkphp/library/think/Db.php deleted file mode 100644 index 9280eac0..00000000 --- a/thinkphp/library/think/Db.php +++ /dev/null @@ -1,197 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\db\Connection; - -/** - * Class Db - * @package think - * @method \think\db\Query master() static 从主服务器读取数据 - * @method \think\db\Query readMaster(bool $all = false) static 后续从主服务器读取数据 - * @method \think\db\Query table(string $table) static 指定数据表(含前缀) - * @method \think\db\Query name(string $name) static 指定数据表(不含前缀) - * @method \think\db\Expression raw(string $value) static 使用表达式设置数据 - * @method \think\db\Query where(mixed $field, string $op = null, mixed $condition = null) static 查询条件 - * @method \think\db\Query whereRaw(string $where, array $bind = []) static 表达式查询 - * @method \think\db\Query whereExp(string $field, string $condition, array $bind = []) static 字段表达式查询 - * @method \think\db\Query when(mixed $condition, mixed $query, mixed $otherwise = null) static 条件查询 - * @method \think\db\Query join(mixed $join, mixed $condition = null, string $type = 'INNER') static JOIN查询 - * @method \think\db\Query view(mixed $join, mixed $field = null, mixed $on = null, string $type = 'INNER') static 视图查询 - * @method \think\db\Query field(mixed $field, boolean $except = false) static 指定查询字段 - * @method \think\db\Query fieldRaw(string $field, array $bind = []) static 指定查询字段 - * @method \think\db\Query union(mixed $union, boolean $all = false) static UNION查询 - * @method \think\db\Query limit(mixed $offset, integer $length = null) static 查询LIMIT - * @method \think\db\Query order(mixed $field, string $order = null) static 查询ORDER - * @method \think\db\Query orderRaw(string $field, array $bind = []) static 查询ORDER - * @method \think\db\Query cache(mixed $key = null , integer $expire = null) static 设置查询缓存 - * @method \think\db\Query withAttr(string $name,callable $callback = null) static 使用获取器获取数据 - * @method mixed value(string $field) static 获取某个字段的值 - * @method array column(string $field, string $key = '') static 获取某个列的值 - * @method mixed find(mixed $data = null) static 查询单个记录 - * @method mixed select(mixed $data = null) static 查询多个记录 - * @method integer insert(array $data, boolean $replace = false, boolean $getLastInsID = false, string $sequence = null) static 插入一条记录 - * @method integer insertGetId(array $data, boolean $replace = false, string $sequence = null) static 插入一条记录并返回自增ID - * @method integer insertAll(array $dataSet) static 插入多条记录 - * @method integer update(array $data) static 更新记录 - * @method integer delete(mixed $data = null) static 删除记录 - * @method boolean chunk(integer $count, callable $callback, string $column = null) static 分块获取数据 - * @method \Generator cursor(mixed $data = null) static 使用游标查找记录 - * @method mixed query(string $sql, array $bind = [], boolean $master = false, bool $pdo = false) static SQL查询 - * @method integer execute(string $sql, array $bind = [], boolean $fetch = false, boolean $getLastInsID = false, string $sequence = null) static SQL执行 - * @method \think\Paginator paginate(integer $listRows = 15, mixed $simple = null, array $config = []) static 分页查询 - * @method mixed transaction(callable $callback) static 执行数据库事务 - * @method void startTrans() static 启动事务 - * @method void commit() static 用于非自动提交状态下面的查询提交 - * @method void rollback() static 事务回滚 - * @method boolean batchQuery(array $sqlArray) static 批处理执行SQL语句 - * @method string getLastInsID(string $sequence = null) static 获取最近插入的ID - */ -class Db -{ - /** - * 当前数据库连接对象 - * @var Connection - */ - protected static $connection; - - /** - * 数据库配置 - * @var array - */ - protected static $config = []; - - /** - * 查询次数 - * @var integer - */ - public static $queryTimes = 0; - - /** - * 执行次数 - * @var integer - */ - public static $executeTimes = 0; - - /** - * 配置 - * @access public - * @param mixed $config - * @return void - */ - public static function init($config = []) - { - self::$config = $config; - - if (empty($config['query'])) { - self::$config['query'] = '\\think\\db\\Query'; - } - } - - /** - * 获取数据库配置 - * @access public - * @param string $config 配置名称 - * @return mixed - */ - public static function getConfig($name = '') - { - if ('' === $name) { - return self::$config; - } - - return isset(self::$config[$name]) ? self::$config[$name] : null; - } - - /** - * 切换数据库连接 - * @access public - * @param mixed $config 连接配置 - * @param bool|string $name 连接标识 true 强制重新连接 - * @param string $query 查询对象类名 - * @return mixed 返回查询对象实例 - * @throws Exception - */ - public static function connect($config = [], $name = false, $query = '') - { - // 解析配置参数 - $options = self::parseConfig($config ?: self::$config); - - $query = $query ?: $options['query']; - - // 创建数据库连接对象实例 - self::$connection = Connection::instance($options, $name); - - return new $query(self::$connection); - } - - /** - * 数据库连接参数解析 - * @access private - * @param mixed $config - * @return array - */ - private static function parseConfig($config) - { - if (is_string($config) && false === strpos($config, '/')) { - // 支持读取配置参数 - $config = isset(self::$config[$config]) ? self::$config[$config] : self::$config; - } - - $result = is_string($config) ? self::parseDsnConfig($config) : $config; - - if (empty($result['query'])) { - $result['query'] = self::$config['query']; - } - - return $result; - } - - /** - * DSN解析 - * 格式: mysql://username:passwd@localhost:3306/DbName?param1=val1¶m2=val2#utf8 - * @access private - * @param string $dsnStr - * @return array - */ - private static function parseDsnConfig($dsnStr) - { - $info = parse_url($dsnStr); - - if (!$info) { - return []; - } - - $dsn = [ - 'type' => $info['scheme'], - 'username' => isset($info['user']) ? $info['user'] : '', - 'password' => isset($info['pass']) ? $info['pass'] : '', - 'hostname' => isset($info['host']) ? $info['host'] : '', - 'hostport' => isset($info['port']) ? $info['port'] : '', - 'database' => !empty($info['path']) ? ltrim($info['path'], '/') : '', - 'charset' => isset($info['fragment']) ? $info['fragment'] : 'utf8', - ]; - - if (isset($info['query'])) { - parse_str($info['query'], $dsn['params']); - } else { - $dsn['params'] = []; - } - - return $dsn; - } - - public static function __callStatic($method, $args) - { - return call_user_func_array([static::connect(), $method], $args); - } -} diff --git a/thinkphp/library/think/Debug.php b/thinkphp/library/think/Debug.php deleted file mode 100644 index 776e1787..00000000 --- a/thinkphp/library/think/Debug.php +++ /dev/null @@ -1,278 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\model\Collection as ModelCollection; -use think\response\Redirect; - -class Debug -{ - /** - * 配置参数 - * @var array - */ - protected $config = []; - - /** - * 区间时间信息 - * @var array - */ - protected $info = []; - - /** - * 区间内存信息 - * @var array - */ - protected $mem = []; - - /** - * 应用对象 - * @var App - */ - protected $app; - - public function __construct(App $app, array $config = []) - { - $this->app = $app; - $this->config = $config; - } - - public static function __make(App $app, Config $config) - { - return new static($app, $config->pull('trace')); - } - - public function setConfig(array $config) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 记录时间(微秒)和内存使用情况 - * @access public - * @param string $name 标记位置 - * @param mixed $value 标记值 留空则取当前 time 表示仅记录时间 否则同时记录时间和内存 - * @return void - */ - public function remark($name, $value = '') - { - // 记录时间和内存使用 - $this->info[$name] = is_float($value) ? $value : microtime(true); - - if ('time' != $value) { - $this->mem['mem'][$name] = is_float($value) ? $value : memory_get_usage(); - $this->mem['peak'][$name] = memory_get_peak_usage(); - } - } - - /** - * 统计某个区间的时间(微秒)使用情况 - * @access public - * @param string $start 开始标签 - * @param string $end 结束标签 - * @param integer|string $dec 小数位 - * @return integer - */ - public function getRangeTime($start, $end, $dec = 6) - { - if (!isset($this->info[$end])) { - $this->info[$end] = microtime(true); - } - - return number_format(($this->info[$end] - $this->info[$start]), $dec); - } - - /** - * 统计从开始到统计时的时间(微秒)使用情况 - * @access public - * @param integer|string $dec 小数位 - * @return integer - */ - public function getUseTime($dec = 6) - { - return number_format((microtime(true) - $this->app->getBeginTime()), $dec); - } - - /** - * 获取当前访问的吞吐率情况 - * @access public - * @return string - */ - public function getThroughputRate() - { - return number_format(1 / $this->getUseTime(), 2) . 'req/s'; - } - - /** - * 记录区间的内存使用情况 - * @access public - * @param string $start 开始标签 - * @param string $end 结束标签 - * @param integer|string $dec 小数位 - * @return string - */ - public function getRangeMem($start, $end, $dec = 2) - { - if (!isset($this->mem['mem'][$end])) { - $this->mem['mem'][$end] = memory_get_usage(); - } - - $size = $this->mem['mem'][$end] - $this->mem['mem'][$start]; - $a = ['B', 'KB', 'MB', 'GB', 'TB']; - $pos = 0; - - while ($size >= 1024) { - $size /= 1024; - $pos++; - } - - return round($size, $dec) . " " . $a[$pos]; - } - - /** - * 统计从开始到统计时的内存使用情况 - * @access public - * @param integer|string $dec 小数位 - * @return string - */ - public function getUseMem($dec = 2) - { - $size = memory_get_usage() - $this->app->getBeginMem(); - $a = ['B', 'KB', 'MB', 'GB', 'TB']; - $pos = 0; - - while ($size >= 1024) { - $size /= 1024; - $pos++; - } - - return round($size, $dec) . " " . $a[$pos]; - } - - /** - * 统计区间的内存峰值情况 - * @access public - * @param string $start 开始标签 - * @param string $end 结束标签 - * @param integer|string $dec 小数位 - * @return string - */ - public function getMemPeak($start, $end, $dec = 2) - { - if (!isset($this->mem['peak'][$end])) { - $this->mem['peak'][$end] = memory_get_peak_usage(); - } - - $size = $this->mem['peak'][$end] - $this->mem['peak'][$start]; - $a = ['B', 'KB', 'MB', 'GB', 'TB']; - $pos = 0; - - while ($size >= 1024) { - $size /= 1024; - $pos++; - } - - return round($size, $dec) . " " . $a[$pos]; - } - - /** - * 获取文件加载信息 - * @access public - * @param bool $detail 是否显示详细 - * @return integer|array - */ - public function getFile($detail = false) - { - if ($detail) { - $files = get_included_files(); - $info = []; - - foreach ($files as $key => $file) { - $info[] = $file . ' ( ' . number_format(filesize($file) / 1024, 2) . ' KB )'; - } - - return $info; - } - - return count(get_included_files()); - } - - /** - * 浏览器友好的变量输出 - * @access public - * @param mixed $var 变量 - * @param boolean $echo 是否输出 默认为true 如果为false 则返回输出字符串 - * @param string $label 标签 默认为空 - * @param integer $flags htmlspecialchars flags - * @return void|string - */ - public function dump($var, $echo = true, $label = null, $flags = ENT_SUBSTITUTE) - { - $label = (null === $label) ? '' : rtrim($label) . ':'; - if ($var instanceof Model || $var instanceof ModelCollection) { - $var = $var->toArray(); - } - - ob_start(); - var_dump($var); - - $output = ob_get_clean(); - $output = preg_replace('/\]\=\>\n(\s+)/m', '] => ', $output); - - if (PHP_SAPI == 'cli') { - $output = PHP_EOL . $label . $output . PHP_EOL; - } else { - if (!extension_loaded('xdebug')) { - $output = htmlspecialchars($output, $flags); - } - $output = '
          ' . $label . $output . '
          '; - } - if ($echo) { - echo($output); - return; - } - return $output; - } - - public function inject(Response $response, &$content) - { - $config = $this->config; - $type = isset($config['type']) ? $config['type'] : 'Html'; - - unset($config['type']); - - $trace = Loader::factory($type, '\\think\\debug\\', $config); - - if ($response instanceof Redirect) { - //TODO 记录 - } else { - $output = $trace->output($response, $this->app['log']->getLog()); - if (is_string($output)) { - // trace调试信息注入 - $pos = strripos($content, ''); - if (false !== $pos) { - $content = substr($content, 0, $pos) . $output . substr($content, $pos); - } else { - $content = $content . $output; - } - } - } - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app']); - - return $data; - } -} diff --git a/thinkphp/library/think/Env.php b/thinkphp/library/think/Env.php deleted file mode 100644 index eaeee943..00000000 --- a/thinkphp/library/think/Env.php +++ /dev/null @@ -1,113 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Env -{ - /** - * 环境变量数据 - * @var array - */ - protected $data = []; - - public function __construct() - { - $this->data = $_ENV; - } - - /** - * 读取环境变量定义文件 - * @access public - * @param string $file 环境变量定义文件 - * @return void - */ - public function load($file) - { - $env = parse_ini_file($file, true); - $this->set($env); - } - - /** - * 获取环境变量值 - * @access public - * @param string $name 环境变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name = null, $default = null, $php_prefix = true) - { - if (is_null($name)) { - return $this->data; - } - - $name = strtoupper(str_replace('.', '_', $name)); - - if (isset($this->data[$name])) { - return $this->data[$name]; - } - - return $this->getEnv($name, $default, $php_prefix); - } - - protected function getEnv($name, $default = null, $php_prefix = true) - { - if ($php_prefix) { - $name = 'PHP_' . $name; - } - - $result = getenv($name); - - if (false === $result) { - return $default; - } - - if ('false' === $result) { - $result = false; - } elseif ('true' === $result) { - $result = true; - } - - if (!isset($this->data[$name])) { - $this->data[$name] = $result; - } - - return $result; - } - - /** - * 设置环境变量值 - * @access public - * @param string|array $env 环境变量 - * @param mixed $value 值 - * @return void - */ - public function set($env, $value = null) - { - if (is_array($env)) { - $env = array_change_key_case($env, CASE_UPPER); - - foreach ($env as $key => $val) { - if (is_array($val)) { - foreach ($val as $k => $v) { - $this->data[$key . '_' . strtoupper($k)] = $v; - } - } else { - $this->data[$key] = $val; - } - } - } else { - $name = strtoupper(str_replace('.', '_', $env)); - - $this->data[$name] = $value; - } - } -} diff --git a/thinkphp/library/think/Error.php b/thinkphp/library/think/Error.php deleted file mode 100644 index ea3328ee..00000000 --- a/thinkphp/library/think/Error.php +++ /dev/null @@ -1,147 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\console\Output as ConsoleOutput; -use think\exception\ErrorException; -use think\exception\Handle; -use think\exception\ThrowableError; - -class Error -{ - /** - * 配置参数 - * @var array - */ - protected static $exceptionHandler; - - /** - * 注册异常处理 - * @access public - * @return void - */ - public static function register() - { - error_reporting(E_ALL); - set_error_handler([__CLASS__, 'appError']); - set_exception_handler([__CLASS__, 'appException']); - register_shutdown_function([__CLASS__, 'appShutdown']); - } - - /** - * Exception Handler - * @access public - * @param \Exception|\Throwable $e - */ - public static function appException($e) - { - if (!$e instanceof \Exception) { - $e = new ThrowableError($e); - } - - self::getExceptionHandler()->report($e); - - if (PHP_SAPI == 'cli') { - self::getExceptionHandler()->renderForConsole(new ConsoleOutput, $e); - } else { - self::getExceptionHandler()->render($e)->send(); - } - } - - /** - * Error Handler - * @access public - * @param integer $errno 错误编号 - * @param integer $errstr 详细错误信息 - * @param string $errfile 出错的文件 - * @param integer $errline 出错行号 - * @throws ErrorException - */ - public static function appError($errno, $errstr, $errfile = '', $errline = 0) - { - $exception = new ErrorException($errno, $errstr, $errfile, $errline); - if (error_reporting() & $errno) { - // 将错误信息托管至 think\exception\ErrorException - throw $exception; - } - - self::getExceptionHandler()->report($exception); - } - - /** - * Shutdown Handler - * @access public - */ - public static function appShutdown() - { - if (!is_null($error = error_get_last()) && self::isFatal($error['type'])) { - // 将错误信息托管至think\ErrorException - $exception = new ErrorException($error['type'], $error['message'], $error['file'], $error['line']); - - self::appException($exception); - } - - // 写入日志 - Container::get('log')->save(); - } - - /** - * 确定错误类型是否致命 - * - * @access protected - * @param int $type - * @return bool - */ - protected static function isFatal($type) - { - return in_array($type, [E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_PARSE]); - } - - /** - * 设置异常处理类 - * - * @access public - * @param mixed $handle - * @return void - */ - public static function setExceptionHandler($handle) - { - self::$exceptionHandler = $handle; - } - - /** - * Get an instance of the exception handler. - * - * @access public - * @return Handle - */ - public static function getExceptionHandler() - { - static $handle; - - if (!$handle) { - // 异常处理handle - $class = self::$exceptionHandler; - - if ($class && is_string($class) && class_exists($class) && is_subclass_of($class, "\\think\\exception\\Handle")) { - $handle = new $class; - } else { - $handle = new Handle; - if ($class instanceof \Closure) { - $handle->setRender($class); - } - } - } - - return $handle; - } -} diff --git a/thinkphp/library/think/Exception.php b/thinkphp/library/think/Exception.php deleted file mode 100644 index 414a090a..00000000 --- a/thinkphp/library/think/Exception.php +++ /dev/null @@ -1,56 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Exception extends \Exception -{ - - /** - * 保存异常页面显示的额外Debug数据 - * @var array - */ - protected $data = []; - - /** - * 设置异常额外的Debug数据 - * 数据将会显示为下面的格式 - * - * Exception Data - * -------------------------------------------------- - * Label 1 - * key1 value1 - * key2 value2 - * Label 2 - * key1 value1 - * key2 value2 - * - * @access protected - * @param string $label 数据分类,用于异常页面显示 - * @param array $data 需要显示的数据,必须为关联数组 - */ - final protected function setData($label, array $data) - { - $this->data[$label] = $data; - } - - /** - * 获取异常额外Debug数据 - * 主要用于输出到异常页面便于调试 - * @access public - * @return array 由setData设置的Debug数据 - */ - final public function getData() - { - return $this->data; - } - -} diff --git a/thinkphp/library/think/Facade.php b/thinkphp/library/think/Facade.php deleted file mode 100644 index ac5ae28b..00000000 --- a/thinkphp/library/think/Facade.php +++ /dev/null @@ -1,125 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Facade -{ - /** - * 绑定对象 - * @var array - */ - protected static $bind = []; - - /** - * 始终创建新的对象实例 - * @var bool - */ - protected static $alwaysNewInstance; - - /** - * 绑定类的静态代理 - * @static - * @access public - * @param string|array $name 类标识 - * @param string $class 类名 - * @return object - */ - public static function bind($name, $class = null) - { - if (__CLASS__ != static::class) { - return self::__callStatic('bind', func_get_args()); - } - - if (is_array($name)) { - self::$bind = array_merge(self::$bind, $name); - } else { - self::$bind[$name] = $class; - } - } - - /** - * 创建Facade实例 - * @static - * @access protected - * @param string $class 类名或标识 - * @param array $args 变量 - * @param bool $newInstance 是否每次创建新的实例 - * @return object - */ - protected static function createFacade($class = '', $args = [], $newInstance = false) - { - $class = $class ?: static::class; - - $facadeClass = static::getFacadeClass(); - - if ($facadeClass) { - $class = $facadeClass; - } elseif (isset(self::$bind[$class])) { - $class = self::$bind[$class]; - } - - if (static::$alwaysNewInstance) { - $newInstance = true; - } - - return Container::getInstance()->make($class, $args, $newInstance); - } - - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - {} - - /** - * 带参数实例化当前Facade类 - * @access public - * @return mixed - */ - public static function instance(...$args) - { - if (__CLASS__ != static::class) { - return self::createFacade('', $args); - } - } - - /** - * 调用类的实例 - * @access public - * @param string $class 类名或者标识 - * @param array|true $args 变量 - * @param bool $newInstance 是否每次创建新的实例 - * @return mixed - */ - public static function make($class, $args = [], $newInstance = false) - { - if (__CLASS__ != static::class) { - return self::__callStatic('make', func_get_args()); - } - - if (true === $args) { - // 总是创建新的实例化对象 - $newInstance = true; - $args = []; - } - - return self::createFacade($class, $args, $newInstance); - } - - // 调用实际类的方法 - public static function __callStatic($method, $params) - { - return call_user_func_array([static::createFacade(), $method], $params); - } -} diff --git a/thinkphp/library/think/File.php b/thinkphp/library/think/File.php deleted file mode 100644 index b24b7770..00000000 --- a/thinkphp/library/think/File.php +++ /dev/null @@ -1,496 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use SplFileObject; - -class File extends SplFileObject -{ - /** - * 错误信息 - * @var string - */ - private $error = ''; - - /** - * 当前完整文件名 - * @var string - */ - protected $filename; - - /** - * 上传文件名 - * @var string - */ - protected $saveName; - - /** - * 上传文件命名规则 - * @var string - */ - protected $rule = 'date'; - - /** - * 上传文件验证规则 - * @var array - */ - protected $validate = []; - - /** - * 是否单元测试 - * @var bool - */ - protected $isTest; - - /** - * 上传文件信息 - * @var array - */ - protected $info = []; - - /** - * 文件hash规则 - * @var array - */ - protected $hash = []; - - public function __construct($filename, $mode = 'r') - { - parent::__construct($filename, $mode); - - $this->filename = $this->getRealPath() ?: $this->getPathname(); - } - - /** - * 是否测试 - * @access public - * @param bool $test 是否测试 - * @return $this - */ - public function isTest($test = false) - { - $this->isTest = $test; - - return $this; - } - - /** - * 设置上传信息 - * @access public - * @param array $info 上传文件信息 - * @return $this - */ - public function setUploadInfo($info) - { - $this->info = $info; - - return $this; - } - - /** - * 获取上传文件的信息 - * @access public - * @param string $name - * @return array|string - */ - public function getInfo($name = '') - { - return isset($this->info[$name]) ? $this->info[$name] : $this->info; - } - - /** - * 获取上传文件的文件名 - * @access public - * @return string - */ - public function getSaveName() - { - return $this->saveName; - } - - /** - * 设置上传文件的保存文件名 - * @access public - * @param string $saveName - * @return $this - */ - public function setSaveName($saveName) - { - $this->saveName = $saveName; - - return $this; - } - - /** - * 获取文件的哈希散列值 - * @access public - * @param string $type - * @return string - */ - public function hash($type = 'sha1') - { - if (!isset($this->hash[$type])) { - $this->hash[$type] = hash_file($type, $this->filename); - } - - return $this->hash[$type]; - } - - /** - * 检查目录是否可写 - * @access protected - * @param string $path 目录 - * @return boolean - */ - protected function checkPath($path) - { - if (is_dir($path)) { - return true; - } - - if (mkdir($path, 0755, true)) { - return true; - } - - $this->error = ['directory {:path} creation failed', ['path' => $path]]; - return false; - } - - /** - * 获取文件类型信息 - * @access public - * @return string - */ - public function getMime() - { - $finfo = finfo_open(FILEINFO_MIME_TYPE); - - return finfo_file($finfo, $this->filename); - } - - /** - * 设置文件的命名规则 - * @access public - * @param string $rule 文件命名规则 - * @return $this - */ - public function rule($rule) - { - $this->rule = $rule; - - return $this; - } - - /** - * 设置上传文件的验证规则 - * @access public - * @param array $rule 验证规则 - * @return $this - */ - public function validate($rule = []) - { - $this->validate = $rule; - - return $this; - } - - /** - * 检测是否合法的上传文件 - * @access public - * @return bool - */ - public function isValid() - { - if ($this->isTest) { - return is_file($this->filename); - } - - return is_uploaded_file($this->filename); - } - - /** - * 检测上传文件 - * @access public - * @param array $rule 验证规则 - * @return bool - */ - public function check($rule = []) - { - $rule = $rule ?: $this->validate; - - if ((isset($rule['size']) && !$this->checkSize($rule['size'])) - || (isset($rule['type']) && !$this->checkMime($rule['type'])) - || (isset($rule['ext']) && !$this->checkExt($rule['ext'])) - || !$this->checkImg()) { - return false; - } - - return true; - } - - /** - * 检测上传文件后缀 - * @access public - * @param array|string $ext 允许后缀 - * @return bool - */ - public function checkExt($ext) - { - if (is_string($ext)) { - $ext = explode(',', $ext); - } - - $extension = strtolower(pathinfo($this->getInfo('name'), PATHINFO_EXTENSION)); - - if (!in_array($extension, $ext)) { - $this->error = 'extensions to upload is not allowed'; - return false; - } - - return true; - } - - /** - * 检测图像文件 - * @access public - * @return bool - */ - public function checkImg() - { - $extension = strtolower(pathinfo($this->getInfo('name'), PATHINFO_EXTENSION)); - - /* 对图像文件进行严格检测 */ - if (in_array($extension, ['gif', 'jpg', 'jpeg', 'bmp', 'png', 'swf']) && !in_array($this->getImageType($this->filename), [1, 2, 3, 4, 6, 13])) { - $this->error = 'illegal image files'; - return false; - } - - return true; - } - - // 判断图像类型 - protected function getImageType($image) - { - if (function_exists('exif_imagetype')) { - return exif_imagetype($image); - } - - try { - $info = getimagesize($image); - return $info ? $info[2] : false; - } catch (\Exception $e) { - return false; - } - } - - /** - * 检测上传文件大小 - * @access public - * @param integer $size 最大大小 - * @return bool - */ - public function checkSize($size) - { - if ($this->getSize() > (int) $size) { - $this->error = 'filesize not match'; - return false; - } - - return true; - } - - /** - * 检测上传文件类型 - * @access public - * @param array|string $mime 允许类型 - * @return bool - */ - public function checkMime($mime) - { - if (is_string($mime)) { - $mime = explode(',', $mime); - } - - if (!in_array(strtolower($this->getMime()), $mime)) { - $this->error = 'mimetype to upload is not allowed'; - return false; - } - - return true; - } - - /** - * 移动文件 - * @access public - * @param string $path 保存路径 - * @param string|bool $savename 保存的文件名 默认自动生成 - * @param boolean $replace 同名文件是否覆盖 - * @param bool $autoAppendExt 自动补充扩展名 - * @return false|File false-失败 否则返回File实例 - */ - public function move($path, $savename = true, $replace = true, $autoAppendExt = true) - { - // 文件上传失败,捕获错误代码 - if (!empty($this->info['error'])) { - $this->error($this->info['error']); - return false; - } - - // 检测合法性 - if (!$this->isValid()) { - $this->error = 'upload illegal files'; - return false; - } - - // 验证上传 - if (!$this->check()) { - return false; - } - - $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; - // 文件保存命名规则 - $saveName = $this->buildSaveName($savename, $autoAppendExt); - $filename = $path . $saveName; - - // 检测目录 - if (false === $this->checkPath(dirname($filename))) { - return false; - } - - /* 不覆盖同名文件 */ - if (!$replace && is_file($filename)) { - $this->error = ['has the same filename: {:filename}', ['filename' => $filename]]; - return false; - } - - /* 移动文件 */ - if ($this->isTest) { - rename($this->filename, $filename); - } elseif (!move_uploaded_file($this->filename, $filename)) { - $this->error = 'upload write error'; - return false; - } - - // 返回 File对象实例 - $file = new self($filename); - $file->setSaveName($saveName); - $file->setUploadInfo($this->info); - - return $file; - } - - /** - * 获取保存文件名 - * @access protected - * @param string|bool $savename 保存的文件名 默认自动生成 - * @param bool $autoAppendExt 自动补充扩展名 - * @return string - */ - protected function buildSaveName($savename, $autoAppendExt = true) - { - if (true === $savename) { - // 自动生成文件名 - $savename = $this->autoBuildName(); - } elseif ('' === $savename || false === $savename) { - // 保留原文件名 - $savename = $this->getInfo('name'); - } - - if ($autoAppendExt && false === strpos($savename, '.')) { - $savename .= '.' . pathinfo($this->getInfo('name'), PATHINFO_EXTENSION); - } - - return $savename; - } - - /** - * 自动生成文件名 - * @access protected - * @return string - */ - protected function autoBuildName() - { - if ($this->rule instanceof \Closure) { - $savename = call_user_func_array($this->rule, [$this]); - } else { - switch ($this->rule) { - case 'date': - $savename = date('Ymd') . DIRECTORY_SEPARATOR . md5(microtime(true)); - break; - default: - if (in_array($this->rule, hash_algos())) { - $hash = $this->hash($this->rule); - $savename = substr($hash, 0, 2) . DIRECTORY_SEPARATOR . substr($hash, 2); - } elseif (is_callable($this->rule)) { - $savename = call_user_func($this->rule); - } else { - $savename = date('Ymd') . DIRECTORY_SEPARATOR . md5(microtime(true)); - } - } - } - - return $savename; - } - - /** - * 获取错误代码信息 - * @access private - * @param int $errorNo 错误号 - */ - private function error($errorNo) - { - switch ($errorNo) { - case 1: - case 2: - $this->error = 'upload File size exceeds the maximum value'; - break; - case 3: - $this->error = 'only the portion of file is uploaded'; - break; - case 4: - $this->error = 'no file to uploaded'; - break; - case 6: - $this->error = 'upload temp dir not found'; - break; - case 7: - $this->error = 'file write error'; - break; - default: - $this->error = 'unknown upload error'; - } - } - - /** - * 获取错误信息(支持多语言) - * @access public - * @return string - */ - public function getError() - { - $lang = Container::get('lang'); - - if (is_array($this->error)) { - list($msg, $vars) = $this->error; - } else { - $msg = $this->error; - $vars = []; - } - - return $lang->has($msg) ? $lang->get($msg, $vars) : $msg; - } - - public function __call($method, $args) - { - return $this->hash($method); - } -} diff --git a/thinkphp/library/think/Hook.php b/thinkphp/library/think/Hook.php deleted file mode 100644 index 1d011410..00000000 --- a/thinkphp/library/think/Hook.php +++ /dev/null @@ -1,220 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Hook -{ - /** - * 钩子行为定义 - * @var array - */ - private $tags = []; - - /** - * 绑定行为列表 - * @var array - */ - protected $bind = []; - - /** - * 入口方法名称 - * @var string - */ - private static $portal = 'run'; - - /** - * 应用对象 - * @var App - */ - protected $app; - - public function __construct(App $app) - { - $this->app = $app; - } - - /** - * 指定入口方法名称 - * @access public - * @param string $name 方法名 - * @return $this - */ - public function portal($name) - { - self::$portal = $name; - return $this; - } - - /** - * 指定行为标识 便于调用 - * @access public - * @param string|array $name 行为标识 - * @param mixed $behavior 行为 - * @return $this - */ - public function alias($name, $behavior = null) - { - if (is_array($name)) { - $this->bind = array_merge($this->bind, $name); - } else { - $this->bind[$name] = $behavior; - } - - return $this; - } - - /** - * 动态添加行为扩展到某个标签 - * @access public - * @param string $tag 标签名称 - * @param mixed $behavior 行为名称 - * @param bool $first 是否放到开头执行 - * @return void - */ - public function add($tag, $behavior, $first = false) - { - isset($this->tags[$tag]) || $this->tags[$tag] = []; - - if (is_array($behavior) && !is_callable($behavior)) { - if (!array_key_exists('_overlay', $behavior)) { - $this->tags[$tag] = array_merge($this->tags[$tag], $behavior); - } else { - unset($behavior['_overlay']); - $this->tags[$tag] = $behavior; - } - } elseif ($first) { - array_unshift($this->tags[$tag], $behavior); - } else { - $this->tags[$tag][] = $behavior; - } - } - - /** - * 批量导入插件 - * @access public - * @param array $tags 插件信息 - * @param bool $recursive 是否递归合并 - * @return void - */ - public function import(array $tags, $recursive = true) - { - if ($recursive) { - foreach ($tags as $tag => $behavior) { - $this->add($tag, $behavior); - } - } else { - $this->tags = $tags + $this->tags; - } - } - - /** - * 获取插件信息 - * @access public - * @param string $tag 插件位置 留空获取全部 - * @return array - */ - public function get($tag = '') - { - if (empty($tag)) { - //获取全部的插件信息 - return $this->tags; - } - - return array_key_exists($tag, $this->tags) ? $this->tags[$tag] : []; - } - - /** - * 监听标签的行为 - * @access public - * @param string $tag 标签名称 - * @param mixed $params 传入参数 - * @param bool $once 只获取一个有效返回值 - * @return mixed - */ - public function listen($tag, $params = null, $once = false) - { - $results = []; - $tags = $this->get($tag); - - foreach ($tags as $key => $name) { - $results[$key] = $this->execTag($name, $tag, $params); - - if (false === $results[$key] || (!is_null($results[$key]) && $once)) { - break; - } - } - - return $once ? end($results) : $results; - } - - /** - * 执行行为 - * @access public - * @param mixed $class 行为 - * @param mixed $params 参数 - * @return mixed - */ - public function exec($class, $params = null) - { - if ($class instanceof \Closure || is_array($class)) { - $method = $class; - } else { - if (isset($this->bind[$class])) { - $class = $this->bind[$class]; - } - $method = [$class, self::$portal]; - } - - return $this->app->invoke($method, [$params]); - } - - /** - * 执行某个标签的行为 - * @access protected - * @param mixed $class 要执行的行为 - * @param string $tag 方法名(标签名) - * @param mixed $params 参数 - * @return mixed - */ - protected function execTag($class, $tag = '', $params = null) - { - $method = Loader::parseName($tag, 1, false); - - if ($class instanceof \Closure) { - $call = $class; - $class = 'Closure'; - } elseif (is_array($class) || strpos($class, '::')) { - $call = $class; - } else { - $obj = Container::get($class); - - if (!is_callable([$obj, $method])) { - $method = self::$portal; - } - - $call = [$class, $method]; - $class = $class . '->' . $method; - } - - $result = $this->app->invoke($call, [$params]); - - return $result; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app']); - - return $data; - } -} diff --git a/thinkphp/library/think/Lang.php b/thinkphp/library/think/Lang.php deleted file mode 100644 index be7979f8..00000000 --- a/thinkphp/library/think/Lang.php +++ /dev/null @@ -1,284 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Lang -{ - /** - * 多语言信息 - * @var array - */ - private $lang = []; - - /** - * 当前语言 - * @var string - */ - private $range = 'zh-cn'; - - /** - * 多语言自动侦测变量名 - * @var string - */ - protected $langDetectVar = 'lang'; - - /** - * 多语言cookie变量 - * @var string - */ - protected $langCookieVar = 'think_var'; - - /** - * 允许的多语言列表 - * @var array - */ - protected $allowLangList = []; - - /** - * Accept-Language转义为对应语言包名称 系统默认配置 - * @var string - */ - protected $acceptLanguage = [ - 'zh-hans-cn' => 'zh-cn', - ]; - - /** - * 应用对象 - * @var App - */ - protected $app; - - public function __construct(App $app) - { - $this->app = $app; - } - - // 设定当前的语言 - public function range($range = '') - { - if ('' == $range) { - return $this->range; - } else { - $this->range = $range; - } - } - - /** - * 设置语言定义(不区分大小写) - * @access public - * @param string|array $name 语言变量 - * @param string $value 语言值 - * @param string $range 语言作用域 - * @return mixed - */ - public function set($name, $value = null, $range = '') - { - $range = $range ?: $this->range; - // 批量定义 - if (!isset($this->lang[$range])) { - $this->lang[$range] = []; - } - - if (is_array($name)) { - return $this->lang[$range] = array_change_key_case($name) + $this->lang[$range]; - } - - return $this->lang[$range][strtolower($name)] = $value; - } - - /** - * 加载语言定义(不区分大小写) - * @access public - * @param string|array $file 语言文件 - * @param string $range 语言作用域 - * @return array - */ - public function load($file, $range = '') - { - $range = $range ?: $this->range; - if (!isset($this->lang[$range])) { - $this->lang[$range] = []; - } - - // 批量定义 - if (is_string($file)) { - $file = [$file]; - } - - $lang = []; - - foreach ($file as $_file) { - if (is_file($_file)) { - // 记录加载信息 - $this->app->log('[ LANG ] ' . $_file); - $_lang = include $_file; - if (is_array($_lang)) { - $lang = array_change_key_case($_lang) + $lang; - } - } - } - - if (!empty($lang)) { - $this->lang[$range] = $lang + $this->lang[$range]; - } - - return $this->lang[$range]; - } - - /** - * 获取语言定义(不区分大小写) - * @access public - * @param string|null $name 语言变量 - * @param string $range 语言作用域 - * @return bool - */ - public function has($name, $range = '') - { - $range = $range ?: $this->range; - - return isset($this->lang[$range][strtolower($name)]); - } - - /** - * 获取语言定义(不区分大小写) - * @access public - * @param string|null $name 语言变量 - * @param array $vars 变量替换 - * @param string $range 语言作用域 - * @return mixed - */ - public function get($name = null, $vars = [], $range = '') - { - $range = $range ?: $this->range; - - // 空参数返回所有定义 - if (is_null($name)) { - return $this->lang[$range]; - } - - $key = strtolower($name); - $value = isset($this->lang[$range][$key]) ? $this->lang[$range][$key] : $name; - - // 变量解析 - if (!empty($vars) && is_array($vars)) { - /** - * Notes: - * 为了检测的方便,数字索引的判断仅仅是参数数组的第一个元素的key为数字0 - * 数字索引采用的是系统的 sprintf 函数替换,用法请参考 sprintf 函数 - */ - if (key($vars) === 0) { - // 数字索引解析 - array_unshift($vars, $value); - $value = call_user_func_array('sprintf', $vars); - } else { - // 关联索引解析 - $replace = array_keys($vars); - foreach ($replace as &$v) { - $v = "{:{$v}}"; - } - $value = str_replace($replace, $vars, $value); - } - } - - return $value; - } - - /** - * 自动侦测设置获取语言选择 - * @access public - * @return string - */ - public function detect() - { - // 自动侦测设置获取语言选择 - $langSet = ''; - - if (isset($_GET[$this->langDetectVar])) { - // url中设置了语言变量 - $langSet = strtolower($_GET[$this->langDetectVar]); - } elseif (isset($_COOKIE[$this->langCookieVar])) { - // Cookie中设置了语言变量 - $langSet = strtolower($_COOKIE[$this->langCookieVar]); - } elseif (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { - // 自动侦测浏览器语言 - preg_match('/^([a-z\d\-]+)/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $matches); - $langSet = strtolower($matches[1]); - if (isset($this->acceptLanguage[$langSet])) { - $langSet = $this->acceptLanguage[$langSet]; - } - } - - if (empty($this->allowLangList) || in_array($langSet, $this->allowLangList)) { - // 合法的语言 - $this->range = $langSet ?: $this->range; - } - - return $this->range; - } - - /** - * 设置当前语言到Cookie - * @access public - * @param string $lang 语言 - * @return void - */ - public function saveToCookie($lang = null) - { - $range = $lang ?: $this->range; - - $_COOKIE[$this->langCookieVar] = $range; - } - - /** - * 设置语言自动侦测的变量 - * @access public - * @param string $var 变量名称 - * @return void - */ - public function setLangDetectVar($var) - { - $this->langDetectVar = $var; - } - - /** - * 设置语言的cookie保存变量 - * @access public - * @param string $var 变量名称 - * @return void - */ - public function setLangCookieVar($var) - { - $this->langCookieVar = $var; - } - - /** - * 设置允许的语言列表 - * @access public - * @param array $list 语言列表 - * @return void - */ - public function setAllowLangList(array $list) - { - $this->allowLangList = $list; - } - - /** - * 设置转义的语言列表 - * @access public - * @param array $list 语言列表 - * @return void - */ - public function setAcceptLanguage(array $list) - { - $this->acceptLanguage = array_merge($this->acceptLanguage, $list); - } -} diff --git a/thinkphp/library/think/Loader.php b/thinkphp/library/think/Loader.php deleted file mode 100644 index d807db64..00000000 --- a/thinkphp/library/think/Loader.php +++ /dev/null @@ -1,417 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\ClassNotFoundException; - -class Loader -{ - /** - * 类名映射信息 - * @var array - */ - protected static $classMap = []; - - /** - * 类库别名 - * @var array - */ - protected static $classAlias = []; - - /** - * PSR-4 - * @var array - */ - private static $prefixLengthsPsr4 = []; - private static $prefixDirsPsr4 = []; - private static $fallbackDirsPsr4 = []; - - /** - * PSR-0 - * @var array - */ - private static $prefixesPsr0 = []; - private static $fallbackDirsPsr0 = []; - - /** - * 需要加载的文件 - * @var array - */ - private static $files = []; - - /** - * Composer安装路径 - * @var string - */ - private static $composerPath; - - // 获取应用根目录 - public static function getRootPath() - { - if ('cli' == PHP_SAPI) { - $scriptName = realpath($_SERVER['argv'][0]); - } else { - $scriptName = $_SERVER['SCRIPT_FILENAME']; - } - - $path = realpath(dirname($scriptName)); - - if (!is_file($path . DIRECTORY_SEPARATOR . 'think')) { - $path = dirname($path); - } - - return $path . DIRECTORY_SEPARATOR; - } - - // 注册自动加载机制 - public static function register($autoload = '') - { - // 注册系统自动加载 - spl_autoload_register($autoload ?: 'think\\Loader::autoload', true, true); - - $rootPath = self::getRootPath(); - - self::$composerPath = $rootPath . 'vendor' . DIRECTORY_SEPARATOR . 'composer' . DIRECTORY_SEPARATOR; - - // Composer自动加载支持 - if (is_dir(self::$composerPath)) { - if (is_file(self::$composerPath . 'autoload_static.php')) { - require self::$composerPath . 'autoload_static.php'; - - $declaredClass = get_declared_classes(); - $composerClass = array_pop($declaredClass); - - foreach (['prefixLengthsPsr4', 'prefixDirsPsr4', 'fallbackDirsPsr4', 'prefixesPsr0', 'fallbackDirsPsr0', 'classMap', 'files'] as $attr) { - if (property_exists($composerClass, $attr)) { - self::${$attr} = $composerClass::${$attr}; - } - } - } else { - self::registerComposerLoader(self::$composerPath); - } - } - - // 注册命名空间定义 - self::addNamespace([ - 'think' => __DIR__, - 'traits' => dirname(__DIR__) . DIRECTORY_SEPARATOR . 'traits', - ]); - - // 加载类库映射文件 - if (is_file($rootPath . 'runtime' . DIRECTORY_SEPARATOR . 'classmap.php')) { - self::addClassMap(__include_file($rootPath . 'runtime' . DIRECTORY_SEPARATOR . 'classmap.php')); - } - - // 自动加载extend目录 - self::addAutoLoadDir($rootPath . 'extend'); - } - - // 自动加载 - public static function autoload($class) - { - if (isset(self::$classAlias[$class])) { - return class_alias(self::$classAlias[$class], $class); - } - - if ($file = self::findFile($class)) { - - // Win环境严格区分大小写 - if (strpos(PHP_OS, 'WIN') !== false && pathinfo($file, PATHINFO_FILENAME) != pathinfo(realpath($file), PATHINFO_FILENAME)) { - return false; - } - - __include_file($file); - return true; - } - } - - /** - * 查找文件 - * @access private - * @param string $class - * @return string|false - */ - private static function findFile($class) - { - if (!empty(self::$classMap[$class])) { - // 类库映射 - return self::$classMap[$class]; - } - - // 查找 PSR-4 - $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . '.php'; - - $first = $class[0]; - if (isset(self::$prefixLengthsPsr4[$first])) { - foreach (self::$prefixLengthsPsr4[$first] as $prefix => $length) { - if (0 === strpos($class, $prefix)) { - foreach (self::$prefixDirsPsr4[$prefix] as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { - return $file; - } - } - } - } - } - - // 查找 PSR-4 fallback dirs - foreach (self::$fallbackDirsPsr4 as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { - return $file; - } - } - - // 查找 PSR-0 - 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) . '.php'; - } - - if (isset(self::$prefixesPsr0[$first])) { - foreach (self::$prefixesPsr0[$first] as $prefix => $dirs) { - if (0 === strpos($class, $prefix)) { - foreach ($dirs as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { - return $file; - } - } - } - } - } - - // 查找 PSR-0 fallback dirs - foreach (self::$fallbackDirsPsr0 as $dir) { - if (is_file($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { - return $file; - } - } - - return self::$classMap[$class] = false; - } - - // 注册classmap - public static function addClassMap($class, $map = '') - { - if (is_array($class)) { - self::$classMap = array_merge(self::$classMap, $class); - } else { - self::$classMap[$class] = $map; - } - } - - // 注册命名空间 - public static function addNamespace($namespace, $path = '') - { - if (is_array($namespace)) { - foreach ($namespace as $prefix => $paths) { - self::addPsr4($prefix . '\\', rtrim($paths, DIRECTORY_SEPARATOR), true); - } - } else { - self::addPsr4($namespace . '\\', rtrim($path, DIRECTORY_SEPARATOR), true); - } - } - - // 添加Ps0空间 - private static function addPsr0($prefix, $paths, $prepend = false) - { - if (!$prefix) { - if ($prepend) { - self::$fallbackDirsPsr0 = array_merge( - (array) $paths, - self::$fallbackDirsPsr0 - ); - } else { - self::$fallbackDirsPsr0 = array_merge( - self::$fallbackDirsPsr0, - (array) $paths - ); - } - - return; - } - - $first = $prefix[0]; - if (!isset(self::$prefixesPsr0[$first][$prefix])) { - self::$prefixesPsr0[$first][$prefix] = (array) $paths; - - return; - } - - if ($prepend) { - self::$prefixesPsr0[$first][$prefix] = array_merge( - (array) $paths, - self::$prefixesPsr0[$first][$prefix] - ); - } else { - self::$prefixesPsr0[$first][$prefix] = array_merge( - self::$prefixesPsr0[$first][$prefix], - (array) $paths - ); - } - } - - // 添加Psr4空间 - private static function addPsr4($prefix, $paths, $prepend = false) - { - if (!$prefix) { - // Register directories for the root namespace. - if ($prepend) { - self::$fallbackDirsPsr4 = array_merge( - (array) $paths, - self::$fallbackDirsPsr4 - ); - } else { - self::$fallbackDirsPsr4 = array_merge( - self::$fallbackDirsPsr4, - (array) $paths - ); - } - } elseif (!isset(self::$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."); - } - - self::$prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - self::$prefixDirsPsr4[$prefix] = (array) $paths; - } elseif ($prepend) { - // Prepend directories for an already registered namespace. - self::$prefixDirsPsr4[$prefix] = array_merge( - (array) $paths, - self::$prefixDirsPsr4[$prefix] - ); - } else { - // Append directories for an already registered namespace. - self::$prefixDirsPsr4[$prefix] = array_merge( - self::$prefixDirsPsr4[$prefix], - (array) $paths - ); - } - } - - // 注册自动加载类库目录 - public static function addAutoLoadDir($path) - { - self::$fallbackDirsPsr4[] = $path; - } - - // 注册类别名 - public static function addClassAlias($alias, $class = null) - { - if (is_array($alias)) { - self::$classAlias = array_merge(self::$classAlias, $alias); - } else { - self::$classAlias[$alias] = $class; - } - } - - // 注册composer自动加载 - public static function registerComposerLoader($composerPath) - { - if (is_file($composerPath . 'autoload_namespaces.php')) { - $map = require $composerPath . 'autoload_namespaces.php'; - foreach ($map as $namespace => $path) { - self::addPsr0($namespace, $path); - } - } - - if (is_file($composerPath . 'autoload_psr4.php')) { - $map = require $composerPath . 'autoload_psr4.php'; - foreach ($map as $namespace => $path) { - self::addPsr4($namespace, $path); - } - } - - if (is_file($composerPath . 'autoload_classmap.php')) { - $classMap = require $composerPath . 'autoload_classmap.php'; - if ($classMap) { - self::addClassMap($classMap); - } - } - - if (is_file($composerPath . 'autoload_files.php')) { - self::$files = require $composerPath . 'autoload_files.php'; - } - } - - // 加载composer autofile文件 - public static function loadComposerAutoloadFiles() - { - foreach (self::$files as $fileIdentifier => $file) { - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { - __require_file($file); - - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; - } - } - } - - /** - * 字符串命名风格转换 - * type 0 将Java风格转换为C的风格 1 将C风格转换为Java的风格 - * @access public - * @param string $name 字符串 - * @param integer $type 转换类型 - * @param bool $ucfirst 首字母是否大写(驼峰规则) - * @return string - */ - public static function parseName($name, $type = 0, $ucfirst = true) - { - if ($type) { - $name = preg_replace_callback('/_([a-zA-Z])/', function ($match) { - return strtoupper($match[1]); - }, $name); - return $ucfirst ? ucfirst($name) : lcfirst($name); - } - - return strtolower(trim(preg_replace("/[A-Z]/", "_\\0", $name), "_")); - } - - /** - * 创建工厂对象实例 - * @access public - * @param string $name 工厂类名 - * @param string $namespace 默认命名空间 - * @return mixed - */ - public static function factory($name, $namespace = '', ...$args) - { - $class = false !== strpos($name, '\\') ? $name : $namespace . ucwords($name); - - if (class_exists($class)) { - return Container::getInstance()->invokeClass($class, $args); - } else { - throw new ClassNotFoundException('class not exists:' . $class, $class); - } - } -} - -/** - * 作用范围隔离 - * - * @param $file - * @return mixed - */ -function __include_file($file) -{ - return include $file; -} - -function __require_file($file) -{ - return require $file; -} diff --git a/thinkphp/library/think/Log.php b/thinkphp/library/think/Log.php deleted file mode 100644 index 8902e976..00000000 --- a/thinkphp/library/think/Log.php +++ /dev/null @@ -1,389 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Log implements LoggerInterface -{ - const EMERGENCY = 'emergency'; - const ALERT = 'alert'; - const CRITICAL = 'critical'; - const ERROR = 'error'; - const WARNING = 'warning'; - const NOTICE = 'notice'; - const INFO = 'info'; - const DEBUG = 'debug'; - const SQL = 'sql'; - - /** - * 日志信息 - * @var array - */ - protected $log = []; - - /** - * 配置参数 - * @var array - */ - protected $config = []; - - /** - * 日志写入驱动 - * @var object - */ - protected $driver; - - /** - * 日志授权key - * @var string - */ - protected $key; - - /** - * 是否允许日志写入 - * @var bool - */ - protected $allowWrite = true; - - /** - * 应用对象 - * @var App - */ - protected $app; - - public function __construct(App $app) - { - $this->app = $app; - } - - public static function __make(App $app, Config $config) - { - return (new static($app))->init($config->pull('log')); - } - - /** - * 日志初始化 - * @access public - * @param array $config - * @return $this - */ - public function init($config = []) - { - $type = isset($config['type']) ? $config['type'] : 'File'; - - $this->config = $config; - - unset($config['type']); - - if (!empty($config['close'])) { - $this->allowWrite = false; - } - - $this->driver = Loader::factory($type, '\\think\\log\\driver\\', $config); - - return $this; - } - - /** - * 获取日志信息 - * @access public - * @param string $type 信息类型 - * @return array - */ - public function getLog($type = '') - { - return $type ? $this->log[$type] : $this->log; - } - - /** - * 记录日志信息 - * @access public - * @param mixed $msg 日志信息 - * @param string $type 日志级别 - * @param array $context 替换内容 - * @return $this - */ - public function record($msg, $type = 'info', array $context = []) - { - if (!$this->allowWrite) { - return; - } - - if (is_string($msg) && !empty($context)) { - $replace = []; - foreach ($context as $key => $val) { - $replace['{' . $key . '}'] = $val; - } - - $msg = strtr($msg, $replace); - } - - if (PHP_SAPI == 'cli') { - if (empty($this->config['level']) || in_array($type, $this->config['level'])) { - // 命令行日志实时写入 - $this->write($msg, $type, true); - } - } else { - $this->log[$type][] = $msg; - } - - return $this; - } - - /** - * 清空日志信息 - * @access public - * @return $this - */ - public function clear() - { - $this->log = []; - - return $this; - } - - /** - * 当前日志记录的授权key - * @access public - * @param string $key 授权key - * @return $this - */ - public function key($key) - { - $this->key = $key; - - return $this; - } - - /** - * 检查日志写入权限 - * @access public - * @param array $config 当前日志配置参数 - * @return bool - */ - public function check($config) - { - if ($this->key && !empty($config['allow_key']) && !in_array($this->key, $config['allow_key'])) { - return false; - } - - return true; - } - - /** - * 关闭本次请求日志写入 - * @access public - * @return $this - */ - public function close() - { - $this->allowWrite = false; - $this->log = []; - - return $this; - } - - /** - * 保存调试信息 - * @access public - * @return bool - */ - public function save() - { - if (empty($this->log) || !$this->allowWrite) { - return true; - } - - if (!$this->check($this->config)) { - // 检测日志写入权限 - return false; - } - - $log = []; - - foreach ($this->log as $level => $info) { - if (!$this->app->isDebug() && 'debug' == $level) { - continue; - } - - if (empty($this->config['level']) || in_array($level, $this->config['level'])) { - $log[$level] = $info; - - $this->app['hook']->listen('log_level', [$level, $info]); - } - } - - $result = $this->driver->save($log, true); - - if ($result) { - $this->log = []; - } - - return $result; - } - - /** - * 实时写入日志信息 并支持行为 - * @access public - * @param mixed $msg 调试信息 - * @param string $type 日志级别 - * @param bool $force 是否强制写入 - * @return bool - */ - public function write($msg, $type = 'info', $force = false) - { - // 封装日志信息 - if (empty($this->config['level'])) { - $force = true; - } - - if (true === $force || in_array($type, $this->config['level'])) { - $log[$type][] = $msg; - } else { - return false; - } - - // 监听log_write - $this->app['hook']->listen('log_write', $log); - - // 写入日志 - return $this->driver->save($log, false); - } - - /** - * 记录日志信息 - * @access public - * @param string $level 日志级别 - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function log($level, $message, array $context = []) - { - $this->record($message, $level, $context); - } - - /** - * 记录emergency信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function emergency($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录警报信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function alert($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录紧急情况 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function critical($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录错误信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function error($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录warning信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function warning($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录notice信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function notice($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录一般信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function info($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录调试信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function debug($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - /** - * 记录sql信息 - * @access public - * @param mixed $message 日志信息 - * @param array $context 替换内容 - * @return void - */ - public function sql($message, array $context = []) - { - $this->log(__FUNCTION__, $message, $context); - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app']); - - return $data; - } -} diff --git a/thinkphp/library/think/Middleware.php b/thinkphp/library/think/Middleware.php deleted file mode 100644 index d3f43606..00000000 --- a/thinkphp/library/think/Middleware.php +++ /dev/null @@ -1,205 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use InvalidArgumentException; -use LogicException; -use think\exception\HttpResponseException; - -class Middleware -{ - protected $queue = []; - protected $app; - protected $config = [ - 'default_namespace' => 'app\\http\\middleware\\', - ]; - - public function __construct(App $app, array $config = []) - { - $this->app = $app; - $this->config = array_merge($this->config, $config); - } - - public static function __make(App $app, Config $config) - { - return new static($app, $config->pull('middleware')); - } - - public function setConfig(array $config) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 导入中间件 - * @access public - * @param array $middlewares - * @param string $type 中间件类型 - */ - public function import(array $middlewares = [], $type = 'route') - { - foreach ($middlewares as $middleware) { - $this->add($middleware, $type); - } - } - - /** - * 注册中间件 - * @access public - * @param mixed $middleware - * @param string $type 中间件类型 - */ - public function add($middleware, $type = 'route') - { - if (is_null($middleware)) { - return; - } - - $middleware = $this->buildMiddleware($middleware, $type); - - if ($middleware) { - $this->queue[$type][] = $middleware; - } - } - - /** - * 注册控制器中间件 - * @access public - * @param mixed $middleware - */ - public function controller($middleware) - { - return $this->add($middleware, 'controller'); - } - - /** - * 移除中间件 - * @access public - * @param mixed $middleware - * @param string $type 中间件类型 - */ - public function unshift($middleware, $type = 'route') - { - if (is_null($middleware)) { - return; - } - - $middleware = $this->buildMiddleware($middleware, $type); - - if ($middleware) { - array_unshift($this->queue[$type], $middleware); - } - } - - /** - * 获取注册的中间件 - * @access public - * @param string $type 中间件类型 - */ - public function all($type = 'route') - { - return $this->queue[$type] ?: []; - } - - /** - * 清除中间件 - * @access public - */ - public function clear() - { - $this->queue = []; - } - - /** - * 中间件调度 - * @access public - * @param Request $request - * @param string $type 中间件类型 - */ - public function dispatch(Request $request, $type = 'route') - { - return call_user_func($this->resolve($type), $request); - } - - /** - * 解析中间件 - * @access protected - * @param mixed $middleware - * @param string $type 中间件类型 - */ - protected function buildMiddleware($middleware, $type = 'route') - { - if (is_array($middleware)) { - list($middleware, $param) = $middleware; - } - - if ($middleware instanceof \Closure) { - return [$middleware, isset($param) ? $param : null]; - } - - if (!is_string($middleware)) { - throw new InvalidArgumentException('The middleware is invalid'); - } - - if (false === strpos($middleware, '\\')) { - if (isset($this->config[$middleware])) { - $middleware = $this->config[$middleware]; - } else { - $middleware = $this->config['default_namespace'] . $middleware; - } - } - - if (is_array($middleware)) { - return $this->import($middleware, $type); - } - - if (strpos($middleware, ':')) { - list($middleware, $param) = explode(':', $middleware, 2); - } - - return [[$this->app->make($middleware), 'handle'], isset($param) ? $param : null]; - } - - protected function resolve($type = 'route') - { - return function (Request $request) use ($type) { - - $middleware = array_shift($this->queue[$type]); - - if (null === $middleware) { - throw new InvalidArgumentException('The queue was exhausted, with no response returned'); - } - - list($call, $param) = $middleware; - - try { - $response = call_user_func_array($call, [$request, $this->resolve($type), $param]); - } catch (HttpResponseException $exception) { - $response = $exception->getResponse(); - } - - if (!$response instanceof Response) { - throw new LogicException('The middleware must return Response instance'); - } - - return $response; - }; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app']); - - return $data; - } -} diff --git a/thinkphp/library/think/Model.php b/thinkphp/library/think/Model.php deleted file mode 100644 index 4544ab21..00000000 --- a/thinkphp/library/think/Model.php +++ /dev/null @@ -1,1125 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use InvalidArgumentException; -use think\db\Query; - -/** - * Class Model - * @package think - * @mixin Query - * @method $this scope(string|array $scope) static 查询范围 - * @method $this where(mixed $field, string $op = null, mixed $condition = null) static 查询条件 - * @method $this whereRaw(string $where, array $bind = [], string $logic = 'AND') static 表达式查询 - * @method $this whereExp(string $field, string $condition, array $bind = [], string $logic = 'AND') static 字段表达式查询 - * @method $this when(mixed $condition, mixed $query, mixed $otherwise = null) static 条件查询 - * @method $this join(mixed $join, mixed $condition = null, string $type = 'INNER', array $bind = []) static JOIN查询 - * @method $this view(mixed $join, mixed $field = null, mixed $on = null, string $type = 'INNER') static 视图查询 - * @method $this with(mixed $with, callable $callback = null) static 关联预载入 - * @method $this count(string $field = '*') static Count统计查询 - * @method $this min(string $field, bool $force = true) static Min统计查询 - * @method $this max(string $field, bool $force = true) static Max统计查询 - * @method $this sum(string $field) static SUM统计查询 - * @method $this avg(string $field) static Avg统计查询 - * @method $this field(mixed $field, boolean $except = false, string $tableName = '', string $prefix = '', string $alias = '') static 指定查询字段 - * @method $this fieldRaw(string $field) static 指定查询字段 - * @method $this union(mixed $union, boolean $all = false) static UNION查询 - * @method $this limit(mixed $offset, integer $length = null) static 查询LIMIT - * @method $this order(mixed $field, string $order = null) static 查询ORDER - * @method $this orderRaw(string $field, array $bind = []) static 查询ORDER - * @method $this cache(mixed $key = null , integer|\DateTime $expire = null, string $tag = null) static 设置查询缓存 - * @method mixed value(string $field, mixed $default = null) static 获取某个字段的值 - * @method array column(string $field, string $key = '') static 获取某个列的值 - * @method $this find(mixed $data = null) static 查询单个记录 - * @method $this findOrFail(mixed $data = null) 查询单个记录 - * @method Collection|$this[] select(mixed $data = null) static 查询多个记录 - * @method $this get(mixed $data = null,mixed $with = [],bool $cache = false, bool $failException = false) static 查询单个记录 支持关联预载入 - * @method $this getOrFail(mixed $data = null,mixed $with = [],bool $cache = false) static 查询单个记录 不存在则抛出异常 - * @method $this findOrEmpty(mixed $data = null) static 查询单个记录 不存在则返回空模型 - * @method Collection|$this[] all(mixed $data = null,mixed $with = [],bool $cache = false) static 查询多个记录 支持关联预载入 - * @method $this withAttr(array $name,\Closure $closure = null) static 动态定义获取器 - * @method $this withJoin(string|array $with, string $joinType = '') static - * @method $this withCount(string|array $relation, bool $subQuery = true) static 关联统计 - * @method $this withSum(string|array $relation, string $field, bool $subQuery = true) static 关联SUM统计 - * @method $this withMax(string|array $relation, string $field, bool $subQuery = true) static 关联MAX统计 - * @method $this withMin(string|array $relation, string $field, bool $subQuery = true) static 关联Min统计 - * @method $this withAvg(string|array $relation, string $field, bool $subQuery = true) static 关联Avg统计 - * @method Paginator|$this paginate() static 分页 - */ -abstract class Model implements \JsonSerializable, \ArrayAccess -{ - use model\concern\Attribute; - use model\concern\RelationShip; - use model\concern\ModelEvent; - use model\concern\TimeStamp; - use model\concern\Conversion; - - /** - * 是否存在数据 - * @var bool - */ - private $exists = false; - - /** - * 是否Replace - * @var bool - */ - private $replace = false; - - /** - * 是否强制更新所有数据 - * @var bool - */ - private $force = false; - - /** - * 更新条件 - * @var array - */ - private $updateWhere; - - /** - * 数据库配置信息 - * @var array|string - */ - protected $connection = []; - - /** - * 数据库查询对象类名 - * @var string - */ - protected $query; - - /** - * 模型名称 - * @var string - */ - protected $name; - - /** - * 数据表名称 - * @var string - */ - protected $table; - - /** - * 写入自动完成定义 - * @var array - */ - protected $auto = []; - - /** - * 新增自动完成定义 - * @var array - */ - protected $insert = []; - - /** - * 更新自动完成定义 - * @var array - */ - protected $update = []; - - /** - * 初始化过的模型. - * @var array - */ - protected static $initialized = []; - - /** - * 是否从主库读取(主从分布式有效) - * @var array - */ - protected static $readMaster; - - /** - * 查询对象实例 - * @var Query - */ - protected $queryInstance; - - /** - * 错误信息 - * @var mixed - */ - protected $error; - - /** - * 软删除字段默认值 - * @var mixed - */ - protected $defaultSoftDelete; - - /** - * 全局查询范围 - * @var array - */ - protected $globalScope = []; - - /** - * 架构函数 - * @access public - * @param array|object $data 数据 - */ - public function __construct($data = []) - { - if (is_object($data)) { - $this->data = get_object_vars($data); - } else { - $this->data = $data; - } - - if ($this->disuse) { - // 废弃字段 - foreach ((array) $this->disuse as $key) { - if (array_key_exists($key, $this->data)) { - unset($this->data[$key]); - } - } - } - - // 记录原始数据 - $this->origin = $this->data; - - $config = Db::getConfig(); - - if (empty($this->name)) { - // 当前模型名 - $name = str_replace('\\', '/', static::class); - $this->name = basename($name); - if (Container::get('config')->get('class_suffix')) { - $suffix = basename(dirname($name)); - $this->name = substr($this->name, 0, -strlen($suffix)); - } - } - - if (is_null($this->autoWriteTimestamp)) { - // 自动写入时间戳 - $this->autoWriteTimestamp = $config['auto_timestamp']; - } - - if (is_null($this->dateFormat)) { - // 设置时间戳格式 - $this->dateFormat = $config['datetime_format']; - } - - if (is_null($this->resultSetType)) { - $this->resultSetType = $config['resultset_type']; - } - - if (!empty($this->connection) && is_array($this->connection)) { - // 设置模型的数据库连接 - $this->connection = array_merge($config, $this->connection); - } - - if ($this->observerClass) { - // 注册模型观察者 - static::observe($this->observerClass); - } - - // 执行初始化操作 - $this->initialize(); - } - - /** - * 获取当前模型名称 - * @access public - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 是否从主库读取数据(主从分布有效) - * @access public - * @param bool $all 是否所有模型有效 - * @return $this - */ - public function readMaster($all = false) - { - $model = $all ? '*' : static::class; - - static::$readMaster[$model] = true; - - return $this; - } - - /** - * 创建新的模型实例 - * @access public - * @param array|object $data 数据 - * @param bool $isUpdate 是否为更新 - * @param mixed $where 更新条件 - * @return Model - */ - public function newInstance($data = [], $isUpdate = false, $where = null) - { - return (new static($data))->isUpdate($isUpdate, $where); - } - - /** - * 创建模型的查询对象 - * @access protected - * @return Query - */ - protected function buildQuery() - { - // 设置当前模型 确保查询返回模型对象 - $query = Db::connect($this->connection, false, $this->query); - $query->model($this) - ->name($this->name) - ->json($this->json, $this->jsonAssoc) - ->setJsonFieldType($this->jsonType); - - if (isset(static::$readMaster['*']) || isset(static::$readMaster[static::class])) { - $query->master(true); - } - - // 设置当前数据表和模型名 - if (!empty($this->table)) { - $query->table($this->table); - } - - if (!empty($this->pk)) { - $query->pk($this->pk); - } - - return $query; - } - - /** - * 获取当前模型的数据库查询对象 - * @access public - * @param Query $query 查询对象实例 - * @return $this - */ - public function setQuery($query) - { - $this->queryInstance = $query; - return $this; - } - - /** - * 获取当前模型的数据库查询对象 - * @access public - * @param bool|array $useBaseQuery 是否调用全局查询范围(或者指定查询范围名称) - * @return Query - */ - public function db($useBaseQuery = true) - { - if ($this->queryInstance) { - return $this->queryInstance; - } - - $query = $this->buildQuery(); - - // 软删除 - if (property_exists($this, 'withTrashed') && !$this->withTrashed) { - $this->withNoTrashed($query); - } - - // 全局作用域 - if (true === $useBaseQuery && method_exists($this, 'base')) { - call_user_func_array([$this, 'base'], [ & $query]); - } - - $globalScope = is_array($useBaseQuery) && $useBaseQuery ? $useBaseQuery : $this->globalScope; - - if ($globalScope && false !== $useBaseQuery) { - $query->scope($globalScope); - } - - // 返回当前模型的数据库查询对象 - return $query; - } - - /** - * 初始化模型 - * @access protected - * @return void - */ - protected function initialize() - { - if (!isset(static::$initialized[static::class])) { - static::$initialized[static::class] = true; - static::init(); - } - } - - /** - * 初始化处理 - * @access protected - * @return void - */ - protected static function init() - {} - - /** - * 数据自动完成 - * @access protected - * @param array $auto 要自动更新的字段列表 - * @return void - */ - protected function autoCompleteData($auto = []) - { - foreach ($auto as $field => $value) { - if (is_integer($field)) { - $field = $value; - $value = null; - } - - if (!isset($this->data[$field])) { - $default = null; - } else { - $default = $this->data[$field]; - } - - $this->setAttr($field, !is_null($value) ? $value : $default); - } - } - - /** - * 更新是否强制写入数据 而不做比较 - * @access public - * @param bool $force - * @return $this - */ - public function force($force = true) - { - $this->force = $force; - return $this; - } - - /** - * 判断force - * @access public - * @return bool - */ - public function isForce() - { - return $this->force; - } - - /** - * 新增数据是否使用Replace - * @access public - * @param bool $replace - * @return $this - */ - public function replace($replace = true) - { - $this->replace = $replace; - return $this; - } - - /** - * 设置数据是否存在 - * @access public - * @param bool $exists - * @return $this - */ - public function exists($exists) - { - $this->exists = $exists; - return $this; - } - - /** - * 判断数据是否存在数据库 - * @access public - * @return bool - */ - public function isExists() - { - return $this->exists; - } - - /** - * 判断模型是否为空 - * @access public - * @return bool - */ - public function isEmpty() - { - return empty($this->data); - } - - /** - * 保存当前数据对象 - * @access public - * @param array $data 数据 - * @param array $where 更新条件 - * @param string $sequence 自增序列名 - * @return bool - */ - public function save($data = [], $where = [], $sequence = null) - { - if (is_string($data)) { - $sequence = $data; - $data = []; - } - - if (!$this->checkBeforeSave($data, $where)) { - return false; - } - - $result = $this->exists ? $this->updateData($where) : $this->insertData($sequence); - - if (false === $result) { - return false; - } - - // 写入回调 - $this->trigger('after_write'); - - // 重新记录原始数据 - $this->origin = $this->data; - $this->set = []; - - return true; - } - - /** - * 写入之前检查数据 - * @access protected - * @param array $data 数据 - * @param array $where 保存条件 - * @return bool - */ - protected function checkBeforeSave($data, $where) - { - if (!empty($data)) { - // 数据对象赋值 - foreach ($data as $key => $value) { - $this->setAttr($key, $value, $data); - } - - if (!empty($where)) { - $this->exists = true; - $this->updateWhere = $where; - } - } - - // 数据自动完成 - $this->autoCompleteData($this->auto); - - // 事件回调 - if (false === $this->trigger('before_write')) { - return false; - } - - return true; - } - - /** - * 检查数据是否允许写入 - * @access protected - * @param array $append 自动完成的字段列表 - * @return array - */ - protected function checkAllowFields(array $append = []) - { - // 检测字段 - if (empty($this->field) || true === $this->field) { - $query = $this->db(false); - $table = $this->table ?: $query->getTable(); - - $this->field = $query->getConnection()->getTableFields($table); - - $field = $this->field; - } else { - $field = array_merge($this->field, $append); - - if ($this->autoWriteTimestamp) { - array_push($field, $this->createTime, $this->updateTime); - } - } - - if ($this->disuse) { - // 废弃字段 - $field = array_diff($field, (array) $this->disuse); - } - - return $field; - } - - /** - * 更新写入数据 - * @access protected - * @param mixed $where 更新条件 - * @return bool - */ - protected function updateData($where) - { - // 自动更新 - $this->autoCompleteData($this->update); - - // 事件回调 - if (false === $this->trigger('before_update')) { - return false; - } - - // 获取有更新的数据 - $data = $this->getChangedData(); - - if (empty($data)) { - // 关联更新 - if (!empty($this->relationWrite)) { - $this->autoRelationUpdate(); - } - - return true; - } elseif ($this->autoWriteTimestamp && $this->updateTime && !isset($data[$this->updateTime])) { - // 自动写入更新时间 - $data[$this->updateTime] = $this->autoWriteTimestamp($this->updateTime); - - $this->data[$this->updateTime] = $data[$this->updateTime]; - } - - if (empty($where) && !empty($this->updateWhere)) { - $where = $this->updateWhere; - } - - // 检查允许字段 - $allowFields = $this->checkAllowFields(array_merge($this->auto, $this->update)); - - // 保留主键数据 - foreach ($this->data as $key => $val) { - if ($this->isPk($key)) { - $data[$key] = $val; - } - } - - $pk = $this->getPk(); - $array = []; - - foreach ((array) $pk as $key) { - if (isset($data[$key])) { - $array[] = [$key, '=', $data[$key]]; - unset($data[$key]); - } - } - - if (!empty($array)) { - $where = $array; - } - - foreach ((array) $this->relationWrite as $name => $val) { - if (is_array($val)) { - foreach ($val as $key) { - if (isset($data[$key])) { - unset($data[$key]); - } - } - } - } - - // 模型更新 - $db = $this->db(false); - $db->startTrans(); - - try { - $db->where($where) - ->strict(false) - ->field($allowFields) - ->update($data); - - // 关联更新 - if (!empty($this->relationWrite)) { - $this->autoRelationUpdate(); - } - - $db->commit(); - - // 更新回调 - $this->trigger('after_update'); - - return true; - } catch (\Exception $e) { - $db->rollback(); - throw $e; - } - } - - /** - * 新增写入数据 - * @access protected - * @param string $sequence 自增序列名 - * @return bool - */ - protected function insertData($sequence) - { - // 自动写入 - $this->autoCompleteData($this->insert); - - // 时间戳自动写入 - $this->checkTimeStampWrite(); - - if (false === $this->trigger('before_insert')) { - return false; - } - - // 检查允许字段 - $allowFields = $this->checkAllowFields(array_merge($this->auto, $this->insert)); - - $db = $this->db(false); - $db->startTrans(); - - try { - $result = $db->strict(false) - ->field($allowFields) - ->insert($this->data, $this->replace, false, $sequence); - - // 获取自动增长主键 - if ($result && $insertId = $db->getLastInsID($sequence)) { - $pk = $this->getPk(); - - foreach ((array) $pk as $key) { - if (!isset($this->data[$key]) || '' == $this->data[$key]) { - $this->data[$key] = $insertId; - } - } - } - - // 关联写入 - if (!empty($this->relationWrite)) { - $this->autoRelationInsert(); - } - - $db->commit(); - - // 标记为更新 - $this->exists = true; - - // 新增回调 - $this->trigger('after_insert'); - - return true; - } catch (\Exception $e) { - $db->rollback(); - throw $e; - } - } - - /** - * 字段值(延迟)增长 - * @access public - * @param string $field 字段名 - * @param integer $step 增长值 - * @param integer $lazyTime 延时时间(s) - * @return bool - * @throws Exception - */ - public function setInc($field, $step = 1, $lazyTime = 0) - { - // 读取更新条件 - $where = $this->getWhere(); - - // 事件回调 - if (false === $this->trigger('before_update')) { - return false; - } - - $result = $this->db(false) - ->where($where) - ->setInc($field, $step, $lazyTime); - - if (true !== $result) { - $this->data[$field] += $step; - } - - // 更新回调 - $this->trigger('after_update'); - - return true; - } - - /** - * 字段值(延迟)减少 - * @access public - * @param string $field 字段名 - * @param integer $step 减少值 - * @param integer $lazyTime 延时时间(s) - * @return bool - * @throws Exception - */ - public function setDec($field, $step = 1, $lazyTime = 0) - { - // 读取更新条件 - $where = $this->getWhere(); - - // 事件回调 - if (false === $this->trigger('before_update')) { - return false; - } - - $result = $this->db(false) - ->where($where) - ->setDec($field, $step, $lazyTime); - - if (true !== $result) { - $this->data[$field] -= $step; - } - - // 更新回调 - $this->trigger('after_update'); - - return true; - } - - /** - * 获取当前的更新条件 - * @access protected - * @return mixed - */ - protected function getWhere() - { - // 删除条件 - $pk = $this->getPk(); - - $where = []; - if (is_string($pk) && isset($this->data[$pk])) { - $where[] = [$pk, '=', $this->data[$pk]]; - } elseif (is_array($pk)) { - foreach ($pk as $field) { - if (isset($this->data[$field])) { - $where[] = [$field, '=', $this->data[$field]]; - } - } - } - - if (empty($where)) { - $where = empty($this->updateWhere) ? null : $this->updateWhere; - } - - return $where; - } - - /** - * 保存多个数据到当前数据对象 - * @access public - * @param array $dataSet 数据 - * @param boolean $replace 是否自动识别更新和写入 - * @return Collection - * @throws \Exception - */ - public function saveAll($dataSet, $replace = true) - { - $db = $this->db(false); - $db->startTrans(); - - try { - $pk = $this->getPk(); - - if (is_string($pk) && $replace) { - $auto = true; - } - - $result = []; - - foreach ($dataSet as $key => $data) { - if ($this->exists || (!empty($auto) && isset($data[$pk]))) { - $result[$key] = self::update($data, [], $this->field); - } else { - $result[$key] = self::create($data, $this->field, $this->replace); - } - } - - $db->commit(); - - return $this->toCollection($result); - } catch (\Exception $e) { - $db->rollback(); - throw $e; - } - } - - /** - * 是否为更新数据 - * @access public - * @param mixed $update - * @param mixed $where - * @return $this - */ - public function isUpdate($update = true, $where = null) - { - if (is_bool($update)) { - $this->exists = $update; - - if (!empty($where)) { - $this->updateWhere = $where; - } - } else { - $this->exists = true; - $this->updateWhere = $update; - } - - return $this; - } - - /** - * 删除当前的记录 - * @access public - * @return bool - */ - public function delete() - { - if (!$this->exists || false === $this->trigger('before_delete')) { - return false; - } - - // 读取更新条件 - $where = $this->getWhere(); - - $db = $this->db(false); - $db->startTrans(); - - try { - // 删除当前模型数据 - $db->where($where)->delete(); - - // 关联删除 - if (!empty($this->relationWrite)) { - $this->autoRelationDelete(); - } - - $db->commit(); - - $this->trigger('after_delete'); - - $this->exists = false; - - return true; - } catch (\Exception $e) { - $db->rollback(); - throw $e; - } - } - - /** - * 设置自动完成的字段( 规则通过修改器定义) - * @access public - * @param array $fields 需要自动完成的字段 - * @return $this - */ - public function auto($fields) - { - $this->auto = $fields; - - return $this; - } - - /** - * 写入数据 - * @access public - * @param array $data 数据数组 - * @param array|true $field 允许字段 - * @param bool $replace 使用Replace - * @return static - */ - public static function create($data = [], $field = null, $replace = false) - { - $model = new static(); - - if (!empty($field)) { - $model->allowField($field); - } - - $model->isUpdate(false)->replace($replace)->save($data, []); - - return $model; - } - - /** - * 更新数据 - * @access public - * @param array $data 数据数组 - * @param array $where 更新条件 - * @param array|true $field 允许字段 - * @return static - */ - public static function update($data = [], $where = [], $field = null) - { - $model = new static(); - - if (!empty($field)) { - $model->allowField($field); - } - - $model->isUpdate(true)->save($data, $where); - - return $model; - } - - /** - * 删除记录 - * @access public - * @param mixed $data 主键列表 支持闭包查询条件 - * @return bool - */ - public static function destroy($data) - { - if (empty($data) && 0 !== $data) { - return false; - } - - $model = new static(); - - $query = $model->db(); - - if (is_array($data) && key($data) !== 0) { - $query->where($data); - $data = null; - } elseif ($data instanceof \Closure) { - $data($query); - $data = null; - } - - $resultSet = $query->select($data); - - if ($resultSet) { - foreach ($resultSet as $data) { - $data->delete(); - } - } - - return true; - } - - /** - * 获取错误信息 - * @access public - * @return mixed - */ - public function getError() - { - return $this->error; - } - - /** - * 解序列化后处理 - */ - public function __wakeup() - { - $this->initialize(); - } - - public function __debugInfo() - { - return [ - 'data' => $this->data, - 'relation' => $this->relation, - ]; - } - - /** - * 修改器 设置数据对象的值 - * @access public - * @param string $name 名称 - * @param mixed $value 值 - * @return void - */ - public function __set($name, $value) - { - $this->setAttr($name, $value); - } - - /** - * 获取器 获取数据对象的值 - * @access public - * @param string $name 名称 - * @return mixed - */ - public function __get($name) - { - return $this->getAttr($name); - } - - /** - * 检测数据对象的值 - * @access public - * @param string $name 名称 - * @return boolean - */ - public function __isset($name) - { - try { - return !is_null($this->getAttr($name)); - } catch (InvalidArgumentException $e) { - return false; - } - } - - /** - * 销毁数据对象的值 - * @access public - * @param string $name 名称 - * @return void - */ - public function __unset($name) - { - unset($this->data[$name], $this->relation[$name]); - } - - // ArrayAccess - public function offsetSet($name, $value) - { - $this->setAttr($name, $value); - } - - public function offsetExists($name) - { - return $this->__isset($name); - } - - public function offsetUnset($name) - { - $this->__unset($name); - } - - public function offsetGet($name) - { - return $this->getAttr($name); - } - - /** - * 设置是否使用全局查询范围 - * @access public - * @param bool|array $use 是否启用全局查询范围(或者用数组指定查询范围名称) - * @return Query - */ - public static function useGlobalScope($use) - { - $model = new static(); - - return $model->db($use); - } - - public function __call($method, $args) - { - if ('withattr' == strtolower($method)) { - return call_user_func_array([$this, 'withAttribute'], $args); - } - - return call_user_func_array([$this->db(), $method], $args); - } - - public static function __callStatic($method, $args) - { - $model = new static(); - - return call_user_func_array([$model->db(), $method], $args); - } -} diff --git a/thinkphp/library/think/Paginator.php b/thinkphp/library/think/Paginator.php deleted file mode 100644 index bbe63e2e..00000000 --- a/thinkphp/library/think/Paginator.php +++ /dev/null @@ -1,445 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use ArrayAccess; -use ArrayIterator; -use Countable; -use IteratorAggregate; -use JsonSerializable; -use Traversable; - -abstract class Paginator implements ArrayAccess, Countable, IteratorAggregate, JsonSerializable -{ - /** - * 是否简洁模式 - * @var bool - */ - protected $simple = false; - - /** - * 数据集 - * @var Collection - */ - protected $items; - - /** - * 当前页 - * @var integer - */ - protected $currentPage; - - /** - * 最后一页 - * @var integer - */ - protected $lastPage; - - /** - * 数据总数 - * @var integer|null - */ - protected $total; - - /** - * 每页数量 - * @var integer - */ - protected $listRows; - - /** - * 是否有下一页 - * @var bool - */ - protected $hasMore; - - /** - * 分页配置 - * @var array - */ - protected $options = [ - 'var_page' => 'page', - 'path' => '/', - 'query' => [], - 'fragment' => '', - ]; - - public function __construct($items, $listRows, $currentPage = null, $total = null, $simple = false, $options = []) - { - $this->options = array_merge($this->options, $options); - - $this->options['path'] = '/' != $this->options['path'] ? rtrim($this->options['path'], '/') : $this->options['path']; - - $this->simple = $simple; - $this->listRows = $listRows; - - if (!$items instanceof Collection) { - $items = Collection::make($items); - } - - if ($simple) { - $this->currentPage = $this->setCurrentPage($currentPage); - $this->hasMore = count($items) > ($this->listRows); - $items = $items->slice(0, $this->listRows); - } else { - $this->total = $total; - $this->lastPage = (int) ceil($total / $listRows); - $this->currentPage = $this->setCurrentPage($currentPage); - $this->hasMore = $this->currentPage < $this->lastPage; - } - $this->items = $items; - } - - /** - * @access public - * @param $items - * @param $listRows - * @param null $currentPage - * @param null $total - * @param bool $simple - * @param array $options - * @return Paginator - */ - public static function make($items, $listRows, $currentPage = null, $total = null, $simple = false, $options = []) - { - return new static($items, $listRows, $currentPage, $total, $simple, $options); - } - - protected function setCurrentPage($currentPage) - { - if (!$this->simple && $currentPage > $this->lastPage) { - return $this->lastPage > 0 ? $this->lastPage : 1; - } - - return $currentPage; - } - - /** - * 获取页码对应的链接 - * - * @access protected - * @param $page - * @return string - */ - protected function url($page) - { - if ($page <= 0) { - $page = 1; - } - - if (strpos($this->options['path'], '[PAGE]') === false) { - $parameters = [$this->options['var_page'] => $page]; - $path = $this->options['path']; - } else { - $parameters = []; - $path = str_replace('[PAGE]', $page, $this->options['path']); - } - - if (count($this->options['query']) > 0) { - $parameters = array_merge($this->options['query'], $parameters); - } - - $url = $path; - if (!empty($parameters)) { - $url .= '?' . http_build_query($parameters, null, '&'); - } - - return $url . $this->buildFragment(); - } - - /** - * 自动获取当前页码 - * @access public - * @param string $varPage - * @param int $default - * @return int - */ - public static function getCurrentPage($varPage = 'page', $default = 1) - { - $page = Container::get('request')->param($varPage); - - if (filter_var($page, FILTER_VALIDATE_INT) !== false && (int) $page >= 1) { - return $page; - } - - return $default; - } - - /** - * 自动获取当前的path - * @access public - * @return string - */ - public static function getCurrentPath() - { - return Container::get('request')->baseUrl(); - } - - public function total() - { - if ($this->simple) { - throw new \DomainException('not support total'); - } - - return $this->total; - } - - public function listRows() - { - return $this->listRows; - } - - public function currentPage() - { - return $this->currentPage; - } - - public function lastPage() - { - if ($this->simple) { - throw new \DomainException('not support last'); - } - - return $this->lastPage; - } - - /** - * 数据是否足够分页 - * @access public - * @return boolean - */ - public function hasPages() - { - return !(1 == $this->currentPage && !$this->hasMore); - } - - /** - * 创建一组分页链接 - * - * @access public - * @param int $start - * @param int $end - * @return array - */ - public function getUrlRange($start, $end) - { - $urls = []; - - for ($page = $start; $page <= $end; $page++) { - $urls[$page] = $this->url($page); - } - - return $urls; - } - - /** - * 设置URL锚点 - * - * @access public - * @param string|null $fragment - * @return $this - */ - public function fragment($fragment) - { - $this->options['fragment'] = $fragment; - - return $this; - } - - /** - * 添加URL参数 - * - * @access public - * @param array|string $key - * @param string|null $value - * @return $this - */ - public function appends($key, $value = null) - { - if (!is_array($key)) { - $queries = [$key => $value]; - } else { - $queries = $key; - } - - foreach ($queries as $k => $v) { - if ($k !== $this->options['var_page']) { - $this->options['query'][$k] = $v; - } - } - - return $this; - } - - /** - * 构造锚点字符串 - * - * @access public - * @return string - */ - protected function buildFragment() - { - return $this->options['fragment'] ? '#' . $this->options['fragment'] : ''; - } - - /** - * 渲染分页html - * @access public - * @return mixed - */ - abstract public function render(); - - public function items() - { - return $this->items->all(); - } - - public function getCollection() - { - return $this->items; - } - - public function isEmpty() - { - return $this->items->isEmpty(); - } - - /** - * 给每个元素执行个回调 - * - * @access public - * @param callable $callback - * @return $this - */ - public function each(callable $callback) - { - foreach ($this->items as $key => $item) { - $result = $callback($item, $key); - - if (false === $result) { - break; - } elseif (!is_object($item)) { - $this->items[$key] = $result; - } - } - - return $this; - } - - /** - * Retrieve an external iterator - * @access public - * @return Traversable An instance of an object implementing Iterator or - * Traversable - */ - public function getIterator() - { - return new ArrayIterator($this->items->all()); - } - - /** - * Whether a offset exists - * @access public - * @param mixed $offset - * @return bool - */ - public function offsetExists($offset) - { - return $this->items->offsetExists($offset); - } - - /** - * Offset to retrieve - * @access public - * @param mixed $offset - * @return mixed - */ - public function offsetGet($offset) - { - return $this->items->offsetGet($offset); - } - - /** - * Offset to set - * @access public - * @param mixed $offset - * @param mixed $value - */ - public function offsetSet($offset, $value) - { - $this->items->offsetSet($offset, $value); - } - - /** - * Offset to unset - * @access public - * @param mixed $offset - * @return void - * @since 5.0.0 - */ - public function offsetUnset($offset) - { - $this->items->offsetUnset($offset); - } - - /** - * Count elements of an object - */ - public function count() - { - return $this->items->count(); - } - - public function __toString() - { - return (string) $this->render(); - } - - public function toArray() - { - try { - $total = $this->total(); - } catch (\DomainException $e) { - $total = null; - } - - return [ - 'total' => $total, - 'per_page' => $this->listRows(), - 'current_page' => $this->currentPage(), - 'last_page' => $this->lastPage, - 'data' => $this->items->toArray(), - ]; - } - - /** - * Specify data which should be serialized to JSON - */ - public function jsonSerialize() - { - return $this->toArray(); - } - - public function __call($name, $arguments) - { - $collection = $this->getCollection(); - - $result = call_user_func_array([$collection, $name], $arguments); - - if ($result === $collection) { - return $this; - } - - return $result; - } - -} diff --git a/thinkphp/library/think/Process.php b/thinkphp/library/think/Process.php deleted file mode 100644 index 3b574db4..00000000 --- a/thinkphp/library/think/Process.php +++ /dev/null @@ -1,1268 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\process\exception\Failed as ProcessFailedException; -use think\process\exception\Timeout as ProcessTimeoutException; -use think\process\pipes\Pipes; -use think\process\pipes\Unix as UnixPipes; -use think\process\pipes\Windows as WindowsPipes; -use think\process\Utils; - -class Process -{ - - const ERR = 'err'; - const OUT = 'out'; - - const STATUS_READY = 'ready'; - const STATUS_STARTED = 'started'; - const STATUS_TERMINATED = 'terminated'; - - const STDIN = 0; - const STDOUT = 1; - const STDERR = 2; - - const TIMEOUT_PRECISION = 0.2; - - private $callback; - private $commandline; - private $cwd; - private $env; - private $input; - private $starttime; - private $lastOutputTime; - private $timeout; - private $idleTimeout; - private $options; - private $exitcode; - private $fallbackExitcode; - private $processInformation; - private $outputDisabled = false; - private $stdout; - private $stderr; - private $enhanceWindowsCompatibility = true; - private $enhanceSigchildCompatibility; - private $process; - private $status = self::STATUS_READY; - private $incrementalOutputOffset = 0; - private $incrementalErrorOutputOffset = 0; - private $tty; - private $pty; - - private $useFileHandles = false; - - /** @var Pipes */ - private $processPipes; - - private $latestSignal; - - private static $sigchild; - - /** - * @var array - */ - public static $exitCodes = [ - 0 => 'OK', - 1 => 'General error', - 2 => 'Misuse of shell builtins', - 126 => 'Invoked command cannot execute', - 127 => 'Command not found', - 128 => 'Invalid exit argument', - // signals - 129 => 'Hangup', - 130 => 'Interrupt', - 131 => 'Quit and dump core', - 132 => 'Illegal instruction', - 133 => 'Trace/breakpoint trap', - 134 => 'Process aborted', - 135 => 'Bus error: "access to undefined portion of memory object"', - 136 => 'Floating point exception: "erroneous arithmetic operation"', - 137 => 'Kill (terminate immediately)', - 138 => 'User-defined 1', - 139 => 'Segmentation violation', - 140 => 'User-defined 2', - 141 => 'Write to pipe with no one reading', - 142 => 'Signal raised by alarm', - 143 => 'Termination (request to terminate)', - // 144 - not defined - 145 => 'Child process terminated, stopped (or continued*)', - 146 => 'Continue if stopped', - 147 => 'Stop executing temporarily', - 148 => 'Terminal stop signal', - 149 => 'Background process attempting to read from tty ("in")', - 150 => 'Background process attempting to write to tty ("out")', - 151 => 'Urgent data available on socket', - 152 => 'CPU time limit exceeded', - 153 => 'File size limit exceeded', - 154 => 'Signal raised by timer counting virtual time: "virtual timer expired"', - 155 => 'Profiling timer expired', - // 156 - not defined - 157 => 'Pollable event', - // 158 - not defined - 159 => 'Bad syscall', - ]; - - /** - * 构造方法 - * @access public - * @param string $commandline 指令 - * @param string|null $cwd 工作目录 - * @param array|null $env 环境变量 - * @param string|null $input 输入 - * @param int|float|null $timeout 超时时间 - * @param array $options proc_open的选项 - * @throws \RuntimeException - * @api - */ - public function __construct($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = []) - { - if (!function_exists('proc_open')) { - throw new \RuntimeException('The Process class relies on proc_open, which is not available on your PHP installation.'); - } - - $this->commandline = $commandline; - $this->cwd = $cwd; - - if (null === $this->cwd && (defined('ZEND_THREAD_SAFE') || '\\' === DIRECTORY_SEPARATOR)) { - $this->cwd = getcwd(); - } - if (null !== $env) { - $this->setEnv($env); - } - - $this->input = $input; - $this->setTimeout($timeout); - $this->useFileHandles = '\\' === DIRECTORY_SEPARATOR; - $this->pty = false; - $this->enhanceWindowsCompatibility = true; - $this->enhanceSigchildCompatibility = '\\' !== DIRECTORY_SEPARATOR && $this->isSigchildEnabled(); - $this->options = array_replace([ - 'suppress_errors' => true, - 'binary_pipes' => true, - ], $options); - } - - public function __destruct() - { - $this->stop(); - } - - public function __clone() - { - $this->resetProcessData(); - } - - /** - * 运行指令 - * @access public - * @param callback|null $callback - * @return int - */ - public function run($callback = null) - { - $this->start($callback); - - return $this->wait(); - } - - /** - * 运行指令 - * @access public - * @param callable|null $callback - * @return self - * @throws \RuntimeException - * @throws ProcessFailedException - */ - public function mustRun($callback = null) - { - if ($this->isSigchildEnabled() && !$this->enhanceSigchildCompatibility) { - throw new \RuntimeException('This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.'); - } - - if (0 !== $this->run($callback)) { - throw new ProcessFailedException($this); - } - - return $this; - } - - /** - * 启动进程并写到 STDIN 输入后返回。 - * @access public - * @param callable|null $callback - * @throws \RuntimeException - * @throws \RuntimeException - * @throws \LogicException - */ - public function start($callback = null) - { - if ($this->isRunning()) { - throw new \RuntimeException('Process is already running'); - } - if ($this->outputDisabled && null !== $callback) { - throw new \LogicException('Output has been disabled, enable it to allow the use of a callback.'); - } - - $this->resetProcessData(); - $this->starttime = $this->lastOutputTime = microtime(true); - $this->callback = $this->buildCallback($callback); - $descriptors = $this->getDescriptors(); - - $commandline = $this->commandline; - - if ('\\' === DIRECTORY_SEPARATOR && $this->enhanceWindowsCompatibility) { - $commandline = 'cmd /V:ON /E:ON /C "(' . $commandline . ')'; - foreach ($this->processPipes->getFiles() as $offset => $filename) { - $commandline .= ' ' . $offset . '>' . Utils::escapeArgument($filename); - } - $commandline .= '"'; - - if (!isset($this->options['bypass_shell'])) { - $this->options['bypass_shell'] = true; - } - } - - $this->process = proc_open($commandline, $descriptors, $this->processPipes->pipes, $this->cwd, $this->env, $this->options); - - if (!is_resource($this->process)) { - throw new \RuntimeException('Unable to launch a new process.'); - } - $this->status = self::STATUS_STARTED; - - if ($this->tty) { - return; - } - - $this->updateStatus(false); - $this->checkTimeout(); - } - - /** - * 重启进程 - * @access public - * @param callable|null $callback - * @return Process - * @throws \RuntimeException - * @throws \RuntimeException - */ - public function restart($callback = null) - { - if ($this->isRunning()) { - throw new \RuntimeException('Process is already running'); - } - - $process = clone $this; - $process->start($callback); - - return $process; - } - - /** - * 等待要终止的进程 - * @access public - * @param callable|null $callback - * @return int - */ - public function wait($callback = null) - { - $this->requireProcessIsStarted(__FUNCTION__); - - $this->updateStatus(false); - if (null !== $callback) { - $this->callback = $this->buildCallback($callback); - } - - do { - $this->checkTimeout(); - $running = '\\' === DIRECTORY_SEPARATOR ? $this->isRunning() : $this->processPipes->areOpen(); - $close = '\\' !== DIRECTORY_SEPARATOR || !$running; - $this->readPipes(true, $close); - } while ($running); - - while ($this->isRunning()) { - usleep(1000); - } - - if ($this->processInformation['signaled'] && $this->processInformation['termsig'] !== $this->latestSignal) { - throw new \RuntimeException(sprintf('The process has been signaled with signal "%s".', $this->processInformation['termsig'])); - } - - return $this->exitcode; - } - - /** - * 获取PID - * @access public - * @return int|null - * @throws \RuntimeException - */ - public function getPid() - { - if ($this->isSigchildEnabled()) { - throw new \RuntimeException('This PHP has been compiled with --enable-sigchild. The process identifier can not be retrieved.'); - } - - $this->updateStatus(false); - - return $this->isRunning() ? $this->processInformation['pid'] : null; - } - - /** - * 将一个 POSIX 信号发送到进程中 - * @access public - * @param int $signal - * @return Process - */ - public function signal($signal) - { - $this->doSignal($signal, true); - - return $this; - } - - /** - * 禁用从底层过程获取输出和错误输出。 - * @access public - * @return Process - */ - public function disableOutput() - { - if ($this->isRunning()) { - throw new \RuntimeException('Disabling output while the process is running is not possible.'); - } - if (null !== $this->idleTimeout) { - throw new \LogicException('Output can not be disabled while an idle timeout is set.'); - } - - $this->outputDisabled = true; - - return $this; - } - - /** - * 开启从底层过程获取输出和错误输出。 - * @access public - * @return Process - * @throws \RuntimeException - */ - public function enableOutput() - { - if ($this->isRunning()) { - throw new \RuntimeException('Enabling output while the process is running is not possible.'); - } - - $this->outputDisabled = false; - - return $this; - } - - /** - * 输出是否禁用 - * @access public - * @return bool - */ - public function isOutputDisabled() - { - return $this->outputDisabled; - } - - /** - * 获取当前的输出管道 - * @access public - * @return string - * @throws \LogicException - * @api - */ - public function getOutput() - { - if ($this->outputDisabled) { - throw new \LogicException('Output has been disabled.'); - } - - $this->requireProcessIsStarted(__FUNCTION__); - - $this->readPipes(false, '\\' === DIRECTORY_SEPARATOR ? !$this->processInformation['running'] : true); - - return $this->stdout; - } - - /** - * 以增量方式返回的输出结果。 - * @access public - * @return string - */ - public function getIncrementalOutput() - { - $this->requireProcessIsStarted(__FUNCTION__); - - $data = $this->getOutput(); - - $latest = substr($data, $this->incrementalOutputOffset); - - if (false === $latest) { - return ''; - } - - $this->incrementalOutputOffset = strlen($data); - - return $latest; - } - - /** - * 清空输出 - * @access public - * @return Process - */ - public function clearOutput() - { - $this->stdout = ''; - $this->incrementalOutputOffset = 0; - - return $this; - } - - /** - * 返回当前的错误输出的过程 (STDERR)。 - * @access public - * @return string - */ - public function getErrorOutput() - { - if ($this->outputDisabled) { - throw new \LogicException('Output has been disabled.'); - } - - $this->requireProcessIsStarted(__FUNCTION__); - - $this->readPipes(false, '\\' === DIRECTORY_SEPARATOR ? !$this->processInformation['running'] : true); - - return $this->stderr; - } - - /** - * 以增量方式返回 errorOutput - * @access public - * @return string - */ - public function getIncrementalErrorOutput() - { - $this->requireProcessIsStarted(__FUNCTION__); - - $data = $this->getErrorOutput(); - - $latest = substr($data, $this->incrementalErrorOutputOffset); - - if (false === $latest) { - return ''; - } - - $this->incrementalErrorOutputOffset = strlen($data); - - return $latest; - } - - /** - * 清空 errorOutput - * @access public - * @return Process - */ - public function clearErrorOutput() - { - $this->stderr = ''; - $this->incrementalErrorOutputOffset = 0; - - return $this; - } - - /** - * 获取退出码 - * @access public - * @return null|int - */ - public function getExitCode() - { - if ($this->isSigchildEnabled() && !$this->enhanceSigchildCompatibility) { - throw new \RuntimeException('This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.'); - } - - $this->updateStatus(false); - - return $this->exitcode; - } - - /** - * 获取退出文本 - * @access public - * @return null|string - */ - public function getExitCodeText() - { - if (null === $exitcode = $this->getExitCode()) { - return; - } - - return isset(self::$exitCodes[$exitcode]) ? self::$exitCodes[$exitcode] : 'Unknown error'; - } - - /** - * 检查是否成功 - * @access public - * @return bool - */ - public function isSuccessful() - { - return 0 === $this->getExitCode(); - } - - /** - * 是否未捕获的信号已被终止子进程 - * @access public - * @return bool - */ - public function hasBeenSignaled() - { - $this->requireProcessIsTerminated(__FUNCTION__); - - if ($this->isSigchildEnabled()) { - throw new \RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.'); - } - - $this->updateStatus(false); - - return $this->processInformation['signaled']; - } - - /** - * 返回导致子进程终止其执行的数。 - * @access public - * @return int - */ - public function getTermSignal() - { - $this->requireProcessIsTerminated(__FUNCTION__); - - if ($this->isSigchildEnabled()) { - throw new \RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.'); - } - - $this->updateStatus(false); - - return $this->processInformation['termsig']; - } - - /** - * 检查子进程信号是否已停止 - * @access public - * @return bool - */ - public function hasBeenStopped() - { - $this->requireProcessIsTerminated(__FUNCTION__); - - $this->updateStatus(false); - - return $this->processInformation['stopped']; - } - - /** - * 返回导致子进程停止其执行的数。 - * @access public - * @return int - */ - public function getStopSignal() - { - $this->requireProcessIsTerminated(__FUNCTION__); - - $this->updateStatus(false); - - return $this->processInformation['stopsig']; - } - - /** - * 检查是否正在运行 - * @access public - * @return bool - */ - public function isRunning() - { - if (self::STATUS_STARTED !== $this->status) { - return false; - } - - $this->updateStatus(false); - - return $this->processInformation['running']; - } - - /** - * 检查是否已开始 - * @access public - * @return bool - */ - public function isStarted() - { - return self::STATUS_READY != $this->status; - } - - /** - * 检查是否已终止 - * @access public - * @return bool - */ - public function isTerminated() - { - $this->updateStatus(false); - - return self::STATUS_TERMINATED == $this->status; - } - - /** - * 获取当前的状态 - * @access public - * @return string - */ - public function getStatus() - { - $this->updateStatus(false); - - return $this->status; - } - - /** - * 终止进程 - * @access public - */ - public function stop() - { - if ($this->isRunning()) { - if ('\\' === DIRECTORY_SEPARATOR && !$this->isSigchildEnabled()) { - exec(sprintf('taskkill /F /T /PID %d 2>&1', $this->getPid()), $output, $exitCode); - if ($exitCode > 0) { - throw new \RuntimeException('Unable to kill the process'); - } - } else { - $pids = preg_split('/\s+/', `ps -o pid --no-heading --ppid {$this->getPid()}`); - foreach ($pids as $pid) { - if (is_numeric($pid)) { - posix_kill($pid, 9); - } - } - } - } - - $this->updateStatus(false); - if ($this->processInformation['running']) { - $this->close(); - } - - return $this->exitcode; - } - - /** - * 添加一行输出 - * @access public - * @param string $line - */ - public function addOutput($line) -{ - $this->lastOutputTime = microtime(true); - $this->stdout .= $line; - } - - /** - * 添加一行错误输出 - * @access public - * @param string $line - */ - public function addErrorOutput($line) -{ - $this->lastOutputTime = microtime(true); - $this->stderr .= $line; - } - - /** - * 获取被执行的指令 - * @access public - * @return string - */ - public function getCommandLine() -{ - return $this->commandline; - } - - /** - * 设置指令 - * @access public - * @param string $commandline - * @return self - */ - public function setCommandLine($commandline) -{ - $this->commandline = $commandline; - - return $this; - } - - /** - * 获取超时时间 - * @access public - * @return float|null - */ - public function getTimeout() -{ - return $this->timeout; - } - - /** - * 获取idle超时时间 - * @access public - * @return float|null - */ - public function getIdleTimeout() -{ - return $this->idleTimeout; - } - - /** - * 设置超时时间 - * @access public - * @param int|float|null $timeout - * @return self - */ - public function setTimeout($timeout) -{ - $this->timeout = $this->validateTimeout($timeout); - - return $this; - } - - /** - * 设置idle超时时间 - * @access public - * @param int|float|null $timeout - * @return self - */ - public function setIdleTimeout($timeout) -{ - if (null !== $timeout && $this->outputDisabled) { - throw new \LogicException('Idle timeout can not be set while the output is disabled.'); - } - - $this->idleTimeout = $this->validateTimeout($timeout); - - return $this; - } - - /** - * 设置TTY - * @access public - * @param bool $tty - * @return self - */ - public function setTty($tty) -{ - if ('\\' === DIRECTORY_SEPARATOR && $tty) { - throw new \RuntimeException('TTY mode is not supported on Windows platform.'); - } - if ($tty && (!file_exists('/dev/tty') || !is_readable('/dev/tty'))) { - throw new \RuntimeException('TTY mode requires /dev/tty to be readable.'); - } - - $this->tty = (bool) $tty; - - return $this; - } - - /** - * 检查是否是tty模式 - * @access public - * @return bool - */ - public function isTty() -{ - return $this->tty; - } - - /** - * 设置pty模式 - * @access public - * @param bool $bool - * @return self - */ - public function setPty($bool) -{ - $this->pty = (bool) $bool; - - return $this; - } - - /** - * 是否是pty模式 - * @access public - * @return bool - */ - public function isPty() -{ - return $this->pty; - } - - /** - * 获取工作目录 - * @access public - * @return string|null - */ - public function getWorkingDirectory() -{ - if (null === $this->cwd) { - return getcwd() ?: null; - } - - return $this->cwd; - } - - /** - * 设置工作目录 - * @access public - * @param string $cwd - * @return self - */ - public function setWorkingDirectory($cwd) -{ - $this->cwd = $cwd; - - return $this; - } - - /** - * 获取环境变量 - * @access public - * @return array - */ - public function getEnv() -{ - return $this->env; - } - - /** - * 设置环境变量 - * @access public - * @param array $env - * @return self - */ - public function setEnv(array $env) -{ - $env = array_filter($env, function ($value) { - return !is_array($value); - }); - - $this->env = []; - foreach ($env as $key => $value) { - $this->env[(binary) $key] = (binary) $value; - } - - return $this; - } - - /** - * 获取输入 - * @access public - * @return null|string - */ - public function getInput() -{ - return $this->input; - } - - /** - * 设置输入 - * @access public - * @param mixed $input - * @return self - */ - public function setInput($input) -{ - if ($this->isRunning()) { - throw new \LogicException('Input can not be set while the process is running.'); - } - - $this->input = Utils::validateInput(sprintf('%s::%s', __CLASS__, __FUNCTION__), $input); - - return $this; - } - - /** - * 获取proc_open的选项 - * @access public - * @return array - */ - public function getOptions() -{ - return $this->options; - } - - /** - * 设置proc_open的选项 - * @access public - * @param array $options - * @return self - */ - public function setOptions(array $options) -{ - $this->options = $options; - - return $this; - } - - /** - * 是否兼容windows - * @access public - * @return bool - */ - public function getEnhanceWindowsCompatibility() -{ - return $this->enhanceWindowsCompatibility; - } - - /** - * 设置是否兼容windows - * @access public - * @param bool $enhance - * @return self - */ - public function setEnhanceWindowsCompatibility($enhance) -{ - $this->enhanceWindowsCompatibility = (bool) $enhance; - - return $this; - } - - /** - * 返回是否 sigchild 兼容模式激活 - * @access public - * @return bool - */ - public function getEnhanceSigchildCompatibility() -{ - return $this->enhanceSigchildCompatibility; - } - - /** - * 激活 sigchild 兼容性模式。 - * @access public - * @param bool $enhance - * @return self - */ - public function setEnhanceSigchildCompatibility($enhance) -{ - $this->enhanceSigchildCompatibility = (bool) $enhance; - - return $this; - } - - /** - * 是否超时 - */ - public function checkTimeout() -{ - if (self::STATUS_STARTED !== $this->status) { - return; - } - - if (null !== $this->timeout && $this->timeout < microtime(true) - $this->starttime) { - $this->stop(); - - throw new ProcessTimeoutException($this, ProcessTimeoutException::TYPE_GENERAL); - } - - if (null !== $this->idleTimeout && $this->idleTimeout < microtime(true) - $this->lastOutputTime) { - $this->stop(); - - throw new ProcessTimeoutException($this, ProcessTimeoutException::TYPE_IDLE); - } - } - - /** - * 是否支持pty - * @access public - * @return bool - */ - public static function isPtySupported() -{ - static $result; - - if (null !== $result) { - return $result; - } - - if ('\\' === DIRECTORY_SEPARATOR) { - return $result = false; - } - - $proc = @proc_open('echo 1', [['pty'], ['pty'], ['pty']], $pipes); - if (is_resource($proc)) { - proc_close($proc); - - return $result = true; - } - - return $result = false; - } - - /** - * 创建所需的 proc_open 的描述符 - * @access private - * @return array - */ - private function getDescriptors() -{ - if ('\\' === DIRECTORY_SEPARATOR) { - $this->processPipes = WindowsPipes::create($this, $this->input); - } else { - $this->processPipes = UnixPipes::create($this, $this->input); - } - $descriptors = $this->processPipes->getDescriptors($this->outputDisabled); - - if (!$this->useFileHandles && $this->enhanceSigchildCompatibility && $this->isSigchildEnabled()) { - - $descriptors = array_merge($descriptors, [['pipe', 'w']]); - - $this->commandline = '(' . $this->commandline . ') 3>/dev/null; code=$?; echo $code >&3; exit $code'; - } - - return $descriptors; - } - - /** - * 建立 wait () 使用的回调。 - * @access protected - * @param callable|null $callback - * @return callable - */ - protected function buildCallback($callback) -{ - $out = self::OUT; - $callback = function ($type, $data) use ($callback, $out) { - if ($out == $type) { - $this->addOutput($data); - } else { - $this->addErrorOutput($data); - } - - if (null !== $callback) { - call_user_func($callback, $type, $data); - } - }; - - return $callback; - } - - /** - * 更新状态 - * @access protected - * @param bool $blocking - */ - protected function updateStatus($blocking) -{ - if (self::STATUS_STARTED !== $this->status) { - return; - } - - $this->processInformation = proc_get_status($this->process); - $this->captureExitCode(); - - $this->readPipes($blocking, '\\' === DIRECTORY_SEPARATOR ? !$this->processInformation['running'] : true); - - if (!$this->processInformation['running']) { - $this->close(); - } - } - - /** - * 是否开启 '--enable-sigchild' - * @access protected - * @return bool - */ - protected function isSigchildEnabled() -{ - if (null !== self::$sigchild) { - return self::$sigchild; - } - - if (!function_exists('phpinfo')) { - return self::$sigchild = false; - } - - ob_start(); - phpinfo(INFO_GENERAL); - - return self::$sigchild = false !== strpos(ob_get_clean(), '--enable-sigchild'); - } - - /** - * 验证是否超时 - * @access private - * @param int|float|null $timeout - * @return float|null - */ - private function validateTimeout($timeout) -{ - $timeout = (float) $timeout; - - if (0.0 === $timeout) { - $timeout = null; - } elseif ($timeout < 0) { - throw new \InvalidArgumentException('The timeout value must be a valid positive integer or float number.'); - } - - return $timeout; - } - - /** - * 读取pipes - * @access private - * @param bool $blocking - * @param bool $close - */ - private function readPipes($blocking, $close) -{ - $result = $this->processPipes->readAndWrite($blocking, $close); - - $callback = $this->callback; - foreach ($result as $type => $data) { - if (3 == $type) { - $this->fallbackExitcode = (int) $data; - } else { - $callback(self::STDOUT === $type ? self::OUT : self::ERR, $data); - } - } - } - - /** - * 捕获退出码 - */ - private function captureExitCode() -{ - if (isset($this->processInformation['exitcode']) && -1 != $this->processInformation['exitcode']) { - $this->exitcode = $this->processInformation['exitcode']; - } - } - - /** - * 关闭资源 - * @access private - * @return int 退出码 - */ - private function close() -{ - $this->processPipes->close(); - if (is_resource($this->process)) { - $exitcode = proc_close($this->process); - } else { - $exitcode = -1; - } - - $this->exitcode = -1 !== $exitcode ? $exitcode : (null !== $this->exitcode ? $this->exitcode : -1); - $this->status = self::STATUS_TERMINATED; - - if (-1 === $this->exitcode && null !== $this->fallbackExitcode) { - $this->exitcode = $this->fallbackExitcode; - } elseif (-1 === $this->exitcode && $this->processInformation['signaled'] - && 0 < $this->processInformation['termsig'] - ) { - $this->exitcode = 128 + $this->processInformation['termsig']; - } - - return $this->exitcode; - } - - /** - * 重置数据 - */ - private function resetProcessData() -{ - $this->starttime = null; - $this->callback = null; - $this->exitcode = null; - $this->fallbackExitcode = null; - $this->processInformation = null; - $this->stdout = null; - $this->stderr = null; - $this->process = null; - $this->latestSignal = null; - $this->status = self::STATUS_READY; - $this->incrementalOutputOffset = 0; - $this->incrementalErrorOutputOffset = 0; - } - - /** - * 将一个 POSIX 信号发送到进程中。 - * @access private - * @param int $signal - * @param bool $throwException - * @return bool - */ - private function doSignal($signal, $throwException) -{ - if (!$this->isRunning()) { - if ($throwException) { - throw new \LogicException('Can not send signal on a non running process.'); - } - - return false; - } - - if ($this->isSigchildEnabled()) { - if ($throwException) { - throw new \RuntimeException('This PHP has been compiled with --enable-sigchild. The process can not be signaled.'); - } - - return false; - } - - if (true !== @proc_terminate($this->process, $signal)) { - if ($throwException) { - throw new \RuntimeException(sprintf('Error while sending signal `%s`.', $signal)); - } - - return false; - } - - $this->latestSignal = $signal; - - return true; - } - - /** - * 确保进程已经开启 - * @access private - * @param string $functionName - */ - private function requireProcessIsStarted($functionName) -{ - if (!$this->isStarted()) { - throw new \LogicException(sprintf('Process must be started before calling %s.', $functionName)); - } - } - - /** - * 确保进程已经终止 - * @access private - * @param string $functionName - */ - private function requireProcessIsTerminated($functionName) -{ - if (!$this->isTerminated()) { - throw new \LogicException(sprintf('Process must be terminated before calling %s.', $functionName)); - } - } -} diff --git a/thinkphp/library/think/Request.php b/thinkphp/library/think/Request.php deleted file mode 100644 index 6b6dd4b4..00000000 --- a/thinkphp/library/think/Request.php +++ /dev/null @@ -1,2267 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\facade\Cookie; -use think\facade\Session; - -class Request -{ - /** - * 配置参数 - * @var array - */ - protected $config = [ - // 表单请求类型伪装变量 - 'var_method' => '_method', - // 表单ajax伪装变量 - 'var_ajax' => '_ajax', - // 表单pjax伪装变量 - 'var_pjax' => '_pjax', - // PATHINFO变量名 用于兼容模式 - 'var_pathinfo' => 's', - // 兼容PATH_INFO获取 - 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'], - // 默认全局过滤方法 用逗号分隔多个 - 'default_filter' => '', - // 域名根,如thinkphp.cn - 'url_domain_root' => '', - // HTTPS代理标识 - 'https_agent_name' => '', - // IP代理获取标识 - 'http_agent_ip' => 'HTTP_X_REAL_IP', - // URL伪静态后缀 - 'url_html_suffix' => 'html', - ]; - - /** - * 请求类型 - * @var string - */ - protected $method; - - /** - * 主机名(含端口) - * @var string - */ - protected $host; - - /** - * 域名(含协议及端口) - * @var string - */ - protected $domain; - - /** - * 子域名 - * @var string - */ - protected $subDomain; - - /** - * 泛域名 - * @var string - */ - protected $panDomain; - - /** - * 当前URL地址 - * @var string - */ - protected $url; - - /** - * 基础URL - * @var string - */ - protected $baseUrl; - - /** - * 当前执行的文件 - * @var string - */ - protected $baseFile; - - /** - * 访问的ROOT地址 - * @var string - */ - protected $root; - - /** - * pathinfo - * @var string - */ - protected $pathinfo; - - /** - * pathinfo(不含后缀) - * @var string - */ - protected $path; - - /** - * 当前路由信息 - * @var array - */ - protected $routeInfo = []; - - /** - * 当前调度信息 - * @var \think\route\Dispatch - */ - protected $dispatch; - - /** - * 当前模块名 - * @var string - */ - protected $module; - - /** - * 当前控制器名 - * @var string - */ - protected $controller; - - /** - * 当前操作名 - * @var string - */ - protected $action; - - /** - * 当前语言集 - * @var string - */ - protected $langset; - - /** - * 当前请求参数 - * @var array - */ - protected $param = []; - - /** - * 当前GET参数 - * @var array - */ - protected $get = []; - - /** - * 当前POST参数 - * @var array - */ - protected $post = []; - - /** - * 当前REQUEST参数 - * @var array - */ - protected $request = []; - - /** - * 当前ROUTE参数 - * @var array - */ - protected $route = []; - - /** - * 当前PUT参数 - * @var array - */ - protected $put; - - /** - * 当前SESSION参数 - * @var array - */ - protected $session = []; - - /** - * 当前FILE参数 - * @var array - */ - protected $file = []; - - /** - * 当前COOKIE参数 - * @var array - */ - protected $cookie = []; - - /** - * 当前SERVER参数 - * @var array - */ - protected $server = []; - - /** - * 当前ENV参数 - * @var array - */ - protected $env = []; - - /** - * 当前HEADER参数 - * @var array - */ - protected $header = []; - - /** - * 资源类型定义 - * @var array - */ - protected $mimeType = [ - 'xml' => 'application/xml,text/xml,application/x-xml', - 'json' => 'application/json,text/x-json,application/jsonrequest,text/json', - 'js' => 'text/javascript,application/javascript,application/x-javascript', - 'css' => 'text/css', - 'rss' => 'application/rss+xml', - 'yaml' => 'application/x-yaml,text/yaml', - 'atom' => 'application/atom+xml', - 'pdf' => 'application/pdf', - 'text' => 'text/plain', - 'image' => 'image/png,image/jpg,image/jpeg,image/pjpeg,image/gif,image/webp,image/*', - 'csv' => 'text/csv', - 'html' => 'text/html,application/xhtml+xml,*/*', - ]; - - /** - * 当前请求内容 - * @var string - */ - protected $content; - - /** - * 全局过滤规则 - * @var array - */ - protected $filter; - - /** - * 扩展方法 - * @var array - */ - protected $hook = []; - - /** - * php://input内容 - * @var string - */ - protected $input; - - /** - * 请求缓存 - * @var array - */ - protected $cache; - - /** - * 缓存是否检查 - * @var bool - */ - protected $isCheckCache; - - /** - * 请求安全Key - * @var string - */ - protected $secureKey; - - /** - * 是否合并Param - * @var bool - */ - protected $mergeParam = false; - - /** - * 架构函数 - * @access public - * @param array $options 参数 - */ - public function __construct(array $options = []) - { - $this->init($options); - - // 保存 php://input - $this->input = file_get_contents('php://input'); - } - - public function init(array $options = []) - { - $this->config = array_merge($this->config, $options); - - if (is_null($this->filter) && !empty($this->config['default_filter'])) { - $this->filter = $this->config['default_filter']; - } - } - - public function config($name = null) - { - if (is_null($name)) { - return $this->config; - } - return isset($this->config[$name]) ? $this->config[$name] : null; - } - - public static function __make(App $app, Config $config) - { - $request = new static($config->pull('app')); - - $request->server = $_SERVER; - $request->env = $app['env']->get(); - - return $request; - } - - public function __call($method, $args) - { - if (array_key_exists($method, $this->hook)) { - array_unshift($args, $this); - return call_user_func_array($this->hook[$method], $args); - } - - throw new Exception('method not exists:' . static::class . '->' . $method); - } - - /** - * Hook 方法注入 - * @access public - * @param string|array $method 方法名 - * @param mixed $callback callable - * @return void - */ - public function hook($method, $callback = null) - { - if (is_array($method)) { - $this->hook = array_merge($this->hook, $method); - } else { - $this->hook[$method] = $callback; - } - } - - /** - * 创建一个URL请求 - * @access public - * @param string $uri URL地址 - * @param string $method 请求类型 - * @param array $params 请求参数 - * @param array $cookie - * @param array $files - * @param array $server - * @param string $content - * @return \think\Request - */ - public function create($uri, $method = 'GET', $params = [], $cookie = [], $files = [], $server = [], $content = null) - { - $server['PATH_INFO'] = ''; - $server['REQUEST_METHOD'] = strtoupper($method); - $info = parse_url($uri); - - if (isset($info['host'])) { - $server['SERVER_NAME'] = $info['host']; - $server['HTTP_HOST'] = $info['host']; - } - - if (isset($info['scheme'])) { - if ('https' === $info['scheme']) { - $server['HTTPS'] = 'on'; - $server['SERVER_PORT'] = 443; - } else { - unset($server['HTTPS']); - $server['SERVER_PORT'] = 80; - } - } - - if (isset($info['port'])) { - $server['SERVER_PORT'] = $info['port']; - $server['HTTP_HOST'] = $server['HTTP_HOST'] . ':' . $info['port']; - } - - if (isset($info['user'])) { - $server['PHP_AUTH_USER'] = $info['user']; - } - - if (isset($info['pass'])) { - $server['PHP_AUTH_PW'] = $info['pass']; - } - - if (!isset($info['path'])) { - $info['path'] = '/'; - } - - $options = []; - $queryString = ''; - - $options[strtolower($method)] = $params; - - if (isset($info['query'])) { - parse_str(html_entity_decode($info['query']), $query); - if (!empty($params)) { - $params = array_replace($query, $params); - $queryString = http_build_query($params, '', '&'); - } else { - $params = $query; - $queryString = $info['query']; - } - } elseif (!empty($params)) { - $queryString = http_build_query($params, '', '&'); - } - - if ($queryString) { - parse_str($queryString, $get); - $options['get'] = isset($options['get']) ? array_merge($get, $options['get']) : $get; - } - - $server['REQUEST_URI'] = $info['path'] . ('' !== $queryString ? '?' . $queryString : ''); - $server['QUERY_STRING'] = $queryString; - $options['cookie'] = $cookie; - $options['param'] = $params; - $options['file'] = $files; - $options['server'] = $server; - $options['url'] = $server['REQUEST_URI']; - $options['baseUrl'] = $info['path']; - $options['pathinfo'] = '/' == $info['path'] ? '/' : ltrim($info['path'], '/'); - $options['method'] = $server['REQUEST_METHOD']; - $options['domain'] = isset($info['scheme']) ? $info['scheme'] . '://' . $server['HTTP_HOST'] : ''; - $options['content'] = $content; - - $request = new static(); - foreach ($options as $name => $item) { - if (property_exists($request, $name)) { - $request->$name = $item; - } - } - - return $request; - } - - /** - * 获取当前包含协议、端口的域名 - * @access public - * @param bool $port 是否需要去除端口号 - * @return string - */ - public function domain($port = false) - { - return $this->scheme() . '://' . $this->host($port); - } - - /** - * 获取当前根域名 - * @access public - * @return string - */ - public function rootDomain() - { - $root = $this->config['url_domain_root']; - - if (!$root) { - $item = explode('.', $this->host(true)); - $count = count($item); - $root = $count > 1 ? $item[$count - 2] . '.' . $item[$count - 1] : $item[0]; - } - - return $root; - } - - /** - * 获取当前子域名 - * @access public - * @return string - */ - public function subDomain() - { - if (is_null($this->subDomain)) { - // 获取当前主域名 - $rootDomain = $this->config['url_domain_root']; - - if ($rootDomain) { - // 配置域名根 例如 thinkphp.cn 163.com.cn 如果是国家级域名 com.cn net.cn 之类的域名需要配置 - $domain = explode('.', rtrim(stristr($this->host(true), $rootDomain, true), '.')); - } else { - $domain = explode('.', $this->host(true), -2); - } - - $this->subDomain = implode('.', $domain); - } - - return $this->subDomain; - } - - /** - * 设置当前泛域名的值 - * @access public - * @param string $domain 域名 - * @return $this - */ - public function setPanDomain($domain) - { - $this->panDomain = $domain; - return $this; - } - - /** - * 获取当前泛域名的值 - * @access public - * @return string - */ - public function panDomain() - { - return $this->panDomain; - } - - /** - * 设置当前完整URL 包括QUERY_STRING - * @access public - * @param string $url URL - * @return $this - */ - public function setUrl($url) - { - $this->url = $url; - return $this; - } - - /** - * 获取当前完整URL 包括QUERY_STRING - * @access public - * @param bool $complete 是否包含域名 - * @return string - */ - public function url($complete = false) - { - if (!$this->url) { - if ($this->isCli()) { - $this->url = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : ''; - } elseif ($this->server('HTTP_X_REWRITE_URL')) { - $this->url = $this->server('HTTP_X_REWRITE_URL'); - } elseif ($this->server('REQUEST_URI')) { - $this->url = $this->server('REQUEST_URI'); - } elseif ($this->server('ORIG_PATH_INFO')) { - $this->url = $this->server('ORIG_PATH_INFO') . (!empty($this->server('QUERY_STRING')) ? '?' . $this->server('QUERY_STRING') : ''); - } else { - $this->url = ''; - } - } - - return $complete ? $this->domain() . $this->url : $this->url; - } - - /** - * 设置当前完整URL 不包括QUERY_STRING - * @access public - * @param string $url URL - * @return $this - */ - public function setBaseUrl($url) - { - $this->baseUrl = $url; - return $this; - } - - /** - * 获取当前URL 不含QUERY_STRING - * @access public - * @param bool $domain 是否包含域名 - * @return string|$this - */ - public function baseUrl($domain = false) - { - if (!$this->baseUrl) { - $str = $this->url(); - $this->baseUrl = strpos($str, '?') ? strstr($str, '?', true) : $str; - } - - return $domain ? $this->domain() . $this->baseUrl : $this->baseUrl; - } - - /** - * 设置或获取当前执行的文件 SCRIPT_NAME - * @access public - * @param bool $domain 是否包含域名 - * @return string|$this - */ - public function baseFile($domain = false) - { - if (!$this->baseFile) { - $url = ''; - if (!$this->isCli()) { - $script_name = basename($this->server('SCRIPT_FILENAME')); - if (basename($this->server('SCRIPT_NAME')) === $script_name) { - $url = $this->server('SCRIPT_NAME'); - } elseif (basename($this->server('PHP_SELF')) === $script_name) { - $url = $this->server('PHP_SELF'); - } elseif (basename($this->server('ORIG_SCRIPT_NAME')) === $script_name) { - $url = $this->server('ORIG_SCRIPT_NAME'); - } elseif (($pos = strpos($this->server('PHP_SELF'), '/' . $script_name)) !== false) { - $url = substr($this->server('SCRIPT_NAME'), 0, $pos) . '/' . $script_name; - } elseif ($this->server('DOCUMENT_ROOT') && strpos($this->server('SCRIPT_FILENAME'), $this->server('DOCUMENT_ROOT')) === 0) { - $url = str_replace('\\', '/', str_replace($this->server('DOCUMENT_ROOT'), '', $this->server('SCRIPT_FILENAME'))); - } - } - $this->baseFile = $url; - } - - return $domain ? $this->domain() . $this->baseFile : $this->baseFile; - } - - /** - * 设置URL访问根地址 - * @access public - * @param string $url URL地址 - * @return string|$this - */ - public function setRoot($url = null) - { - $this->root = $url; - return $this; - } - - /** - * 获取URL访问根地址 - * @access public - * @param bool $domain 是否包含域名 - * @return string|$this - */ - public function root($domain = false) - { - if (!$this->root) { - $file = $this->baseFile(); - if ($file && 0 !== strpos($this->url(), $file)) { - $file = str_replace('\\', '/', dirname($file)); - } - $this->root = rtrim($file, '/'); - } - - return $domain ? $this->domain() . $this->root : $this->root; - } - - /** - * 获取URL访问根目录 - * @access public - * @return string - */ - public function rootUrl() - { - $base = $this->root(); - $root = strpos($base, '.') ? ltrim(dirname($base), DIRECTORY_SEPARATOR) : $base; - - if ('' != $root) { - $root = '/' . ltrim($root, '/'); - } - - return $root; - } - - public function setPathinfo($pathinfo) - { - $this->pathinfo = $pathinfo; - return $this; - } - - /** - * 获取当前请求URL的pathinfo信息(含URL后缀) - * @access public - * @return string - */ - public function pathinfo() - { - if (is_null($this->pathinfo)) { - if (isset($_GET[$this->config['var_pathinfo']])) { - // 判断URL里面是否有兼容模式参数 - $pathinfo = $_GET[$this->config['var_pathinfo']]; - unset($_GET[$this->config['var_pathinfo']]); - unset($this->get[$this->config['var_pathinfo']]); - } elseif ($this->isCli()) { - // CLI模式下 index.php module/controller/action/params/... - $pathinfo = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : ''; - } elseif ('cli-server' == PHP_SAPI) { - $pathinfo = strpos($this->server('REQUEST_URI'), '?') ? strstr($this->server('REQUEST_URI'), '?', true) : $this->server('REQUEST_URI'); - } elseif ($this->server('PATH_INFO')) { - $pathinfo = $this->server('PATH_INFO'); - } - - // 分析PATHINFO信息 - if (!isset($pathinfo)) { - foreach ($this->config['pathinfo_fetch'] as $type) { - if ($this->server($type)) { - $pathinfo = (0 === strpos($this->server($type), $this->server('SCRIPT_NAME'))) ? - substr($this->server($type), strlen($this->server('SCRIPT_NAME'))) : $this->server($type); - break; - } - } - } - - if (!empty($pathinfo)) { - unset($this->get[$pathinfo], $this->request[$pathinfo]); - } - - $this->pathinfo = empty($pathinfo) || '/' == $pathinfo ? '' : ltrim($pathinfo, '/'); - } - - return $this->pathinfo; - } - - /** - * 获取当前请求URL的pathinfo信息(不含URL后缀) - * @access public - * @return string - */ - public function path() - { - if (is_null($this->path)) { - $suffix = $this->config['url_html_suffix']; - $pathinfo = $this->pathinfo(); - - if (false === $suffix) { - // 禁止伪静态访问 - $this->path = $pathinfo; - } elseif ($suffix) { - // 去除正常的URL后缀 - $this->path = preg_replace('/\.(' . ltrim($suffix, '.') . ')$/i', '', $pathinfo); - } else { - // 允许任何后缀访问 - $this->path = preg_replace('/\.' . $this->ext() . '$/i', '', $pathinfo); - } - } - - return $this->path; - } - - /** - * 当前URL的访问后缀 - * @access public - * @return string - */ - public function ext() - { - return pathinfo($this->pathinfo(), PATHINFO_EXTENSION); - } - - /** - * 获取当前请求的时间 - * @access public - * @param bool $float 是否使用浮点类型 - * @return integer|float - */ - public function time($float = false) - { - return $float ? $this->server('REQUEST_TIME_FLOAT') : $this->server('REQUEST_TIME'); - } - - /** - * 当前请求的资源类型 - * @access public - * @return false|string - */ - public function type() - { - $accept = $this->server('HTTP_ACCEPT'); - - if (empty($accept)) { - return false; - } - - foreach ($this->mimeType as $key => $val) { - $array = explode(',', $val); - foreach ($array as $k => $v) { - if (stristr($accept, $v)) { - return $key; - } - } - } - - return false; - } - - /** - * 设置资源类型 - * @access public - * @param string|array $type 资源类型名 - * @param string $val 资源类型 - * @return void - */ - public function mimeType($type, $val = '') - { - if (is_array($type)) { - $this->mimeType = array_merge($this->mimeType, $type); - } else { - $this->mimeType[$type] = $val; - } - } - - /** - * 当前的请求类型 - * @access public - * @param bool $origin 是否获取原始请求类型 - * @return string - */ - public function method($origin = false) - { - if ($origin) { - // 获取原始请求类型 - return $this->server('REQUEST_METHOD') ?: 'GET'; - } elseif (!$this->method) { - if (isset($_POST[$this->config['var_method']])) { - $method = strtolower($_POST[$this->config['var_method']]); - if (in_array($method, ['get', 'post', 'put', 'patch', 'delete'])) { - $this->method = strtoupper($method); - $this->{$method} = $_POST; - } else { - $this->method = 'POST'; - } - unset($_POST[$this->config['var_method']]); - } elseif ($this->server('HTTP_X_HTTP_METHOD_OVERRIDE')) { - $this->method = strtoupper($this->server('HTTP_X_HTTP_METHOD_OVERRIDE')); - } else { - $this->method = $this->server('REQUEST_METHOD') ?: 'GET'; - } - } - - return $this->method; - } - - /** - * 是否为GET请求 - * @access public - * @return bool - */ - public function isGet() - { - return $this->method() == 'GET'; - } - - /** - * 是否为POST请求 - * @access public - * @return bool - */ - public function isPost() - { - return $this->method() == 'POST'; - } - - /** - * 是否为PUT请求 - * @access public - * @return bool - */ - public function isPut() - { - return $this->method() == 'PUT'; - } - - /** - * 是否为DELTE请求 - * @access public - * @return bool - */ - public function isDelete() - { - return $this->method() == 'DELETE'; - } - - /** - * 是否为HEAD请求 - * @access public - * @return bool - */ - public function isHead() - { - return $this->method() == 'HEAD'; - } - - /** - * 是否为PATCH请求 - * @access public - * @return bool - */ - public function isPatch() - { - return $this->method() == 'PATCH'; - } - - /** - * 是否为OPTIONS请求 - * @access public - * @return bool - */ - public function isOptions() - { - return $this->method() == 'OPTIONS'; - } - - /** - * 是否为cli - * @access public - * @return bool - */ - public function isCli() - { - return PHP_SAPI == 'cli'; - } - - /** - * 是否为cgi - * @access public - * @return bool - */ - public function isCgi() - { - return strpos(PHP_SAPI, 'cgi') === 0; - } - - /** - * 获取当前请求的参数 - * @access public - * @param mixed $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function param($name = '', $default = null, $filter = '') - { - if (!$this->mergeParam) { - $method = $this->method(true); - - // 自动获取请求变量 - switch ($method) { - case 'POST': - $vars = $this->post(false); - break; - case 'PUT': - case 'DELETE': - case 'PATCH': - $vars = $this->put(false); - break; - default: - $vars = []; - } - - // 当前请求参数和URL地址中的参数合并 - $this->param = array_merge($this->param, $this->get(false), $vars, $this->route(false)); - - $this->mergeParam = true; - } - - if (true === $name) { - // 获取包含文件上传信息的数组 - $file = $this->file(); - $data = is_array($file) ? array_merge($this->param, $file) : $this->param; - - return $this->input($data, '', $default, $filter); - } - - return $this->input($this->param, $name, $default, $filter); - } - - /** - * 设置路由变量 - * @access public - * @param array $route 路由变量 - * @return $this - */ - public function setRouteVars(array $route) - { - $this->route = array_merge($this->route, $route); - return $this; - } - - /** - * 获取路由参数 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function route($name = '', $default = null, $filter = '') - { - return $this->input($this->route, $name, $default, $filter); - } - - /** - * 获取GET参数 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function get($name = '', $default = null, $filter = '') - { - if (empty($this->get)) { - $this->get = $_GET; - } - - return $this->input($this->get, $name, $default, $filter); - } - - /** - * 获取POST参数 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function post($name = '', $default = null, $filter = '') - { - if (empty($this->post)) { - $this->post = !empty($_POST) ? $_POST : $this->getInputData($this->input); - } - - return $this->input($this->post, $name, $default, $filter); - } - - /** - * 获取PUT参数 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function put($name = '', $default = null, $filter = '') - { - if (is_null($this->put)) { - $this->put = $this->getInputData($this->input); - } - - return $this->input($this->put, $name, $default, $filter); - } - - protected function getInputData($content) - { - if (false !== strpos($this->contentType(), 'json')) { - return (array) json_decode($content, true); - } elseif (strpos($content, '=')) { - parse_str($content, $data); - return $data; - } - - return []; - } - - /** - * 获取DELETE参数 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function delete($name = '', $default = null, $filter = '') - { - return $this->put($name, $default, $filter); - } - - /** - * 获取PATCH参数 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function patch($name = '', $default = null, $filter = '') - { - return $this->put($name, $default, $filter); - } - - /** - * 获取request变量 - * @access public - * @param string|false $name 变量名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function request($name = '', $default = null, $filter = '') - { - if (empty($this->request)) { - $this->request = $_REQUEST; - } - - return $this->input($this->request, $name, $default, $filter); - } - - /** - * 获取session数据 - * @access public - * @param string $name 数据名称 - * @param string $default 默认值 - * @return mixed - */ - public function session($name = '', $default = null) - { - if (empty($this->session)) { - $this->session = Session::get(); - } - - if ('' === $name) { - return $this->session; - } - - $data = $this->getData($this->session, $name); - - return is_null($data) ? $default : $data; - } - - /** - * 获取cookie参数 - * @access public - * @param string $name 变量名 - * @param string $default 默认值 - * @param string|array $filter 过滤方法 - * @return mixed - */ - public function cookie($name = '', $default = null, $filter = '') - { - if (empty($this->cookie)) { - $this->cookie = Cookie::get(); - } - - if (!empty($name)) { - $data = Cookie::has($name) ? Cookie::get($name) : $default; - } else { - $data = $this->cookie; - } - - // 解析过滤器 - $filter = $this->getFilter($filter, $default); - - if (is_array($data)) { - array_walk_recursive($data, [$this, 'filterValue'], $filter); - reset($data); - } else { - $this->filterValue($data, $name, $filter); - } - - return $data; - } - - /** - * 获取server参数 - * @access public - * @param string $name 数据名称 - * @param string $default 默认值 - * @return mixed - */ - public function server($name = '', $default = null) - { - if (empty($name)) { - return $this->server; - } else { - $name = strtoupper($name); - } - - return isset($this->server[$name]) ? $this->server[$name] : $default; - } - - /** - * 获取上传的文件信息 - * @access public - * @param string $name 名称 - * @return null|array|\think\File - */ - public function file($name = '') - { - if (empty($this->file)) { - $this->file = isset($_FILES) ? $_FILES : []; - } - - $files = $this->file; - if (!empty($files)) { - if (strpos($name, '.')) { - list($name, $sub) = explode('.', $name); - } - - // 处理上传文件 - $array = $this->dealUploadFile($files, $name); - - if ('' === $name) { - // 获取全部文件 - return $array; - } elseif (isset($sub) && isset($array[$name][$sub])) { - return $array[$name][$sub]; - } elseif (isset($array[$name])) { - return $array[$name]; - } - } - - return; - } - - protected function dealUploadFile($files, $name) - { - $array = []; - foreach ($files as $key => $file) { - if ($file instanceof File) { - $array[$key] = $file; - } elseif (is_array($file['name'])) { - $item = []; - $keys = array_keys($file); - $count = count($file['name']); - - for ($i = 0; $i < $count; $i++) { - if ($file['error'][$i] > 0) { - if ($name == $key) { - $this->throwUploadFileError($file['error'][$i]); - } else { - continue; - } - } - - $temp['key'] = $key; - - foreach ($keys as $_key) { - $temp[$_key] = $file[$_key][$i]; - } - - $item[] = (new File($temp['tmp_name']))->setUploadInfo($temp); - } - - $array[$key] = $item; - } else { - if ($file['error'] > 0) { - if ($key == $name) { - $this->throwUploadFileError($file['error']); - } else { - continue; - } - } - - $array[$key] = (new File($file['tmp_name']))->setUploadInfo($file); - } - } - - return $array; - } - - protected function throwUploadFileError($error) - { - static $fileUploadErrors = [ - 1 => 'upload File size exceeds the maximum value', - 2 => 'upload File size exceeds the maximum value', - 3 => 'only the portion of file is uploaded', - 4 => 'no file to uploaded', - 6 => 'upload temp dir not found', - 7 => 'file write error', - ]; - - $msg = $fileUploadErrors[$error]; - - throw new Exception($msg); - } - - /** - * 获取环境变量 - * @access public - * @param string $name 数据名称 - * @param string $default 默认值 - * @return mixed - */ - public function env($name = '', $default = null) - { - if (empty($name)) { - return $this->env; - } else { - $name = strtoupper($name); - } - - return isset($this->env[$name]) ? $this->env[$name] : $default; - } - - /** - * 获取当前的Header - * @access public - * @param string $name header名称 - * @param string $default 默认值 - * @return string|array - */ - public function header($name = '', $default = null) - { - if (empty($this->header)) { - $header = []; - if (function_exists('apache_request_headers') && $result = apache_request_headers()) { - $header = $result; - } else { - $server = $this->server; - foreach ($server as $key => $val) { - if (0 === strpos($key, 'HTTP_')) { - $key = str_replace('_', '-', strtolower(substr($key, 5))); - $header[$key] = $val; - } - } - if (isset($server['CONTENT_TYPE'])) { - $header['content-type'] = $server['CONTENT_TYPE']; - } - if (isset($server['CONTENT_LENGTH'])) { - $header['content-length'] = $server['CONTENT_LENGTH']; - } - } - $this->header = array_change_key_case($header); - } - - if ('' === $name) { - return $this->header; - } - - $name = str_replace('_', '-', strtolower($name)); - - return isset($this->header[$name]) ? $this->header[$name] : $default; - } - - /** - * 递归重置数组指针 - * @access public - * @param array $data 数据源 - * @return void - */ - public function arrayReset(array &$data) - { - foreach ($data as &$value) { - if (is_array($value)) { - $this->arrayReset($value); - } - } - reset($data); - } - - /** - * 获取变量 支持过滤和默认值 - * @access public - * @param array $data 数据源 - * @param string|false $name 字段名 - * @param mixed $default 默认值 - * @param string|array $filter 过滤函数 - * @return mixed - */ - public function input($data = [], $name = '', $default = null, $filter = '') - { - if (false === $name) { - // 获取原始数据 - return $data; - } - - $name = (string) $name; - if ('' != $name) { - // 解析name - if (strpos($name, '/')) { - list($name, $type) = explode('/', $name); - } - - $data = $this->getData($data, $name); - - if (is_null($data)) { - return $default; - } - - if (is_object($data)) { - return $data; - } - } - - // 解析过滤器 - $filter = $this->getFilter($filter, $default); - - if (is_array($data)) { - array_walk_recursive($data, [$this, 'filterValue'], $filter); - if (version_compare(PHP_VERSION, '7.1.0', '<')) { - // 恢复PHP版本低于 7.1 时 array_walk_recursive 中消耗的内部指针 - $this->arrayReset($data); - } - } else { - $this->filterValue($data, $name, $filter); - } - - if (isset($type) && $data !== $default) { - // 强制类型转换 - $this->typeCast($data, $type); - } - - return $data; - } - - /** - * 获取数据 - * @access public - * @param array $data 数据源 - * @param string|false $name 字段名 - * @return mixed - */ - protected function getData(array $data, $name) - { - foreach (explode('.', $name) as $val) { - if (isset($data[$val])) { - $data = $data[$val]; - } else { - return; - } - } - - return $data; - } - - /** - * 设置或获取当前的过滤规则 - * @access public - * @param mixed $filter 过滤规则 - * @return mixed - */ - public function filter($filter = null) - { - if (is_null($filter)) { - return $this->filter; - } - - $this->filter = $filter; - } - - protected function getFilter($filter, $default) - { - if (is_null($filter)) { - $filter = []; - } else { - $filter = $filter ?: $this->filter; - if (is_string($filter) && false === strpos($filter, '/')) { - $filter = explode(',', $filter); - } else { - $filter = (array) $filter; - } - } - - $filter[] = $default; - - return $filter; - } - - /** - * 递归过滤给定的值 - * @access public - * @param mixed $value 键值 - * @param mixed $key 键名 - * @param array $filters 过滤方法+默认值 - * @return mixed - */ - private function filterValue(&$value, $key, $filters) - { - $default = array_pop($filters); - - foreach ($filters as $filter) { - if (is_callable($filter)) { - // 调用函数或者方法过滤 - $value = call_user_func($filter, $value); - } elseif (is_scalar($value)) { - if (false !== strpos($filter, '/')) { - // 正则过滤 - if (!preg_match($filter, $value)) { - // 匹配不成功返回默认值 - $value = $default; - break; - } - } elseif (!empty($filter)) { - // filter函数不存在时, 则使用filter_var进行过滤 - // filter为非整形值时, 调用filter_id取得过滤id - $value = filter_var($value, is_int($filter) ? $filter : filter_id($filter)); - if (false === $value) { - $value = $default; - break; - } - } - } - } - - return $value; - } - - /** - * 强制类型转换 - * @access public - * @param string $data - * @param string $type - * @return mixed - */ - private function typeCast(&$data, $type) - { - switch (strtolower($type)) { - // 数组 - case 'a': - $data = (array) $data; - break; - // 数字 - case 'd': - $data = (int) $data; - break; - // 浮点 - case 'f': - $data = (float) $data; - break; - // 布尔 - case 'b': - $data = (boolean) $data; - break; - // 字符串 - case 's': - if (is_scalar($data)) { - $data = (string) $data; - } else { - throw new \InvalidArgumentException('variable type error:' . gettype($data)); - } - break; - } - } - - /** - * 是否存在某个请求参数 - * @access public - * @param string $name 变量名 - * @param string $type 变量类型 - * @param bool $checkEmpty 是否检测空值 - * @return mixed - */ - public function has($name, $type = 'param', $checkEmpty = false) - { - if (!in_array($type, ['param', 'get', 'post', 'request', 'put', 'patch', 'file', 'session', 'cookie', 'env', 'header', 'route'])) { - return false; - } - - if (empty($this->$type)) { - $param = $this->$type(); - } else { - $param = $this->$type; - } - - // 按.拆分成多维数组进行判断 - foreach (explode('.', $name) as $val) { - if (isset($param[$val])) { - $param = $param[$val]; - } else { - return false; - } - } - - return ($checkEmpty && '' === $param) ? false : true; - } - - /** - * 获取指定的参数 - * @access public - * @param string|array $name 变量名 - * @param string $type 变量类型 - * @return mixed - */ - public function only($name, $type = 'param') - { - $param = $this->$type(); - - if (is_string($name)) { - $name = explode(',', $name); - } - - $item = []; - foreach ($name as $key => $val) { - - if (is_int($key)) { - $default = null; - $key = $val; - } else { - $default = $val; - } - - if (isset($param[$key])) { - $item[$key] = $param[$key]; - } elseif (isset($default)) { - $item[$key] = $default; - } - } - - return $item; - } - - /** - * 排除指定参数获取 - * @access public - * @param string|array $name 变量名 - * @param string $type 变量类型 - * @return mixed - */ - public function except($name, $type = 'param') - { - $param = $this->$type(); - if (is_string($name)) { - $name = explode(',', $name); - } - - foreach ($name as $key) { - if (isset($param[$key])) { - unset($param[$key]); - } - } - - return $param; - } - - /** - * 当前是否ssl - * @access public - * @return bool - */ - public function isSsl() - { - if ($this->server('HTTPS') && ('1' == $this->server('HTTPS') || 'on' == strtolower($this->server('HTTPS')))) { - return true; - } elseif ('https' == $this->server('REQUEST_SCHEME')) { - return true; - } elseif ('443' == $this->server('SERVER_PORT')) { - return true; - } elseif ('https' == $this->server('HTTP_X_FORWARDED_PROTO')) { - return true; - } elseif ($this->config['https_agent_name'] && $this->server($this->config['https_agent_name'])) { - return true; - } - - return false; - } - - /** - * 当前是否JSON请求 - * @access public - * @return bool - */ - public function isJson() - { - return false !== strpos($this->type(), 'json'); - } - - /** - * 当前是否Ajax请求 - * @access public - * @param bool $ajax true 获取原始ajax请求 - * @return bool - */ - public function isAjax($ajax = false) - { - $value = $this->server('HTTP_X_REQUESTED_WITH'); - $result = 'xmlhttprequest' == strtolower($value) ? true : false; - - if (true === $ajax) { - return $result; - } - - $result = $this->param($this->config['var_ajax']) ? true : $result; - $this->mergeParam = false; - return $result; - } - - /** - * 当前是否Pjax请求 - * @access public - * @param bool $pjax true 获取原始pjax请求 - * @return bool - */ - public function isPjax($pjax = false) - { - $result = !is_null($this->server('HTTP_X_PJAX')) ? true : false; - - if (true === $pjax) { - return $result; - } - - $result = $this->param($this->config['var_pjax']) ? true : $result; - $this->mergeParam = false; - return $result; - } - - /** - * 获取客户端IP地址 - * @access public - * @param integer $type 返回类型 0 返回IP地址 1 返回IPV4地址数字 - * @param boolean $adv 是否进行高级模式获取(有可能被伪装) - * @return mixed - */ - public function ip($type = 0, $adv = true) - { - $type = $type ? 1 : 0; - static $ip = null; - - if (null !== $ip) { - return $ip[$type]; - } - - $httpAgentIp = $this->config['http_agent_ip']; - - if ($httpAgentIp && $this->server($httpAgentIp)) { - $ip = $this->server($httpAgentIp); - } elseif ($adv) { - if ($this->server('HTTP_X_FORWARDED_FOR')) { - $arr = explode(',', $this->server('HTTP_X_FORWARDED_FOR')); - $pos = array_search('unknown', $arr); - if (false !== $pos) { - unset($arr[$pos]); - } - $ip = trim(current($arr)); - } elseif ($this->server('HTTP_CLIENT_IP')) { - $ip = $this->server('HTTP_CLIENT_IP'); - } elseif ($this->server('REMOTE_ADDR')) { - $ip = $this->server('REMOTE_ADDR'); - } - } elseif ($this->server('REMOTE_ADDR')) { - $ip = $this->server('REMOTE_ADDR'); - } - - // IP地址类型 - $ip_mode = (strpos($ip, ':') === false) ? 'ipv4' : 'ipv6'; - - // IP地址合法验证 - if (filter_var($ip, FILTER_VALIDATE_IP) !== $ip) { - $ip = ('ipv4' === $ip_mode) ? '0.0.0.0' : '::'; - } - - // 如果是ipv4地址,则直接使用ip2long返回int类型ip;如果是ipv6地址,暂时不支持,直接返回0 - $long_ip = ('ipv4' === $ip_mode) ? sprintf("%u", ip2long($ip)) : 0; - - $ip = [$ip, $long_ip]; - - return $ip[$type]; - } - - /** - * 检测是否使用手机访问 - * @access public - * @return bool - */ - public function isMobile() - { - if ($this->server('HTTP_VIA') && stristr($this->server('HTTP_VIA'), "wap")) { - return true; - } elseif ($this->server('HTTP_ACCEPT') && strpos(strtoupper($this->server('HTTP_ACCEPT')), "VND.WAP.WML")) { - return true; - } elseif ($this->server('HTTP_X_WAP_PROFILE') || $this->server('HTTP_PROFILE')) { - return true; - } elseif ($this->server('HTTP_USER_AGENT') && preg_match('/(blackberry|configuration\/cldc|hp |hp-|htc |htc_|htc-|iemobile|kindle|midp|mmp|motorola|mobile|nokia|opera mini|opera |Googlebot-Mobile|YahooSeeker\/M1A1-R2D2|android|iphone|ipod|mobi|palm|palmos|pocket|portalmmm|ppc;|smartphone|sonyericsson|sqh|spv|symbian|treo|up.browser|up.link|vodafone|windows ce|xda |xda_)/i', $this->server('HTTP_USER_AGENT'))) { - return true; - } - - return false; - } - - /** - * 当前URL地址中的scheme参数 - * @access public - * @return string - */ - public function scheme() - { - return $this->isSsl() ? 'https' : 'http'; - } - - /** - * 当前请求URL地址中的query参数 - * @access public - * @return string - */ - public function query() - { - return $this->server('QUERY_STRING'); - } - - /** - * 设置当前请求的host(包含端口) - * @access public - * @param string $host 主机名(含端口) - * @return $this - */ - public function setHost($host) - { - $this->host = $host; - - return $this; - } - - /** - * 当前请求的host - * @access public - * @param bool $strict true 仅仅获取HOST - * @return string - */ - public function host($strict = false) - { - if (!$this->host) { - $this->host = $this->server('HTTP_X_REAL_HOST') ?: $this->server('HTTP_X_FORWARDED_HOST') ?: $this->server('HTTP_HOST'); - } - - return true === $strict && strpos($this->host, ':') ? strstr($this->host, ':', true) : $this->host; - } - - /** - * 当前请求URL地址中的port参数 - * @access public - * @return integer - */ - public function port() - { - return $this->server('SERVER_PORT'); - } - - /** - * 当前请求 SERVER_PROTOCOL - * @access public - * @return string - */ - public function protocol() - { - return $this->server('SERVER_PROTOCOL'); - } - - /** - * 当前请求 REMOTE_PORT - * @access public - * @return integer - */ - public function remotePort() - { - return $this->server('REMOTE_PORT'); - } - - /** - * 当前请求 HTTP_CONTENT_TYPE - * @access public - * @return string - */ - public function contentType() - { - $contentType = $this->server('CONTENT_TYPE'); - - if ($contentType) { - if (strpos($contentType, ';')) { - list($type) = explode(';', $contentType); - } else { - $type = $contentType; - } - return trim($type); - } - - return ''; - } - - /** - * 获取当前请求的路由信息 - * @access public - * @param array $route 路由名称 - * @return array - */ - public function routeInfo(array $route = []) - { - if (!empty($route)) { - $this->routeInfo = $route; - } - - return $this->routeInfo; - } - - /** - * 设置或者获取当前请求的调度信息 - * @access public - * @param \think\route\Dispatch $dispatch 调度信息 - * @return \think\route\Dispatch - */ - public function dispatch($dispatch = null) - { - if (!is_null($dispatch)) { - $this->dispatch = $dispatch; - } - - return $this->dispatch; - } - - /** - * 获取当前请求的安全Key - * @access public - * @return string - */ - public function secureKey() - { - if (is_null($this->secureKey)) { - $this->secureKey = uniqid('', true); - } - - return $this->secureKey; - } - - /** - * 设置当前的模块名 - * @access public - * @param string $module 模块名 - * @return $this - */ - public function setModule($module) - { - $this->module = $module; - return $this; - } - - /** - * 设置当前的控制器名 - * @access public - * @param string $controller 控制器名 - * @return $this - */ - public function setController($controller) - { - $this->controller = $controller; - return $this; - } - - /** - * 设置当前的操作名 - * @access public - * @param string $action 操作名 - * @return $this - */ - public function setAction($action) - { - $this->action = $action; - return $this; - } - - /** - * 获取当前的模块名 - * @access public - * @return string - */ - public function module() - { - return $this->module ?: ''; - } - - /** - * 获取当前的控制器名 - * @access public - * @param bool $convert 转换为小写 - * @return string - */ - public function controller($convert = false) - { - $name = $this->controller ?: ''; - return $convert ? strtolower($name) : $name; - } - - /** - * 获取当前的操作名 - * @access public - * @param bool $convert 转换为驼峰 - * @return string - */ - public function action($convert = false) - { - $name = $this->action ?: ''; - return $convert ? $name : strtolower($name); - } - - /** - * 设置当前的语言 - * @access public - * @param string $lang 语言名 - * @return $this - */ - public function setLangset($lang) - { - $this->langset = $lang; - return $this; - } - - /** - * 获取当前的语言 - * @access public - * @return string - */ - public function langset() - { - return $this->langset ?: ''; - } - - /** - * 设置或者获取当前请求的content - * @access public - * @return string - */ - public function getContent() - { - if (is_null($this->content)) { - $this->content = $this->input; - } - - return $this->content; - } - - /** - * 获取当前请求的php://input - * @access public - * @return string - */ - public function getInput() - { - return $this->input; - } - - /** - * 生成请求令牌 - * @access public - * @param string $name 令牌名称 - * @param mixed $type 令牌生成方法 - * @return string - */ - public function token($name = '__token__', $type = null) - { - $type = is_callable($type) ? $type : 'md5'; - $token = call_user_func($type, $this->server('REQUEST_TIME_FLOAT')); - - if ($this->isAjax()) { - header($name . ': ' . $token); - } - - facade\Session::set($name, $token); - - return $token; - } - - /** - * 设置当前地址的请求缓存 - * @access public - * @param string $key 缓存标识,支持变量规则 ,例如 item/:name/:id - * @param mixed $expire 缓存有效期 - * @param array $except 缓存排除 - * @param string $tag 缓存标签 - * @return mixed - */ - public function cache($key, $expire = null, $except = [], $tag = null) - { - if (!is_array($except)) { - $tag = $except; - $except = []; - } - - if (false === $key || !$this->isGet() || $this->isCheckCache || false === $expire) { - // 关闭当前缓存 - return; - } - - // 标记请求缓存检查 - $this->isCheckCache = true; - - foreach ($except as $rule) { - if (0 === stripos($this->url(), $rule)) { - return; - } - } - - if ($key instanceof \Closure) { - $key = call_user_func_array($key, [$this]); - } elseif (true === $key) { - // 自动缓存功能 - $key = '__URL__'; - } elseif (strpos($key, '|')) { - list($key, $fun) = explode('|', $key); - } - - // 特殊规则替换 - if (false !== strpos($key, '__')) { - $key = str_replace(['__MODULE__', '__CONTROLLER__', '__ACTION__', '__URL__'], [$this->module, $this->controller, $this->action, md5($this->url(true))], $key); - } - - if (false !== strpos($key, ':')) { - $param = $this->param(); - foreach ($param as $item => $val) { - if (is_string($val) && false !== strpos($key, ':' . $item)) { - $key = str_replace(':' . $item, $val, $key); - } - } - } elseif (strpos($key, ']')) { - if ('[' . $this->ext() . ']' == $key) { - // 缓存某个后缀的请求 - $key = md5($this->url()); - } else { - return; - } - } - - if (isset($fun)) { - $key = $fun($key); - } - - $this->cache = [$key, $expire, $tag]; - return $this->cache; - } - - /** - * 读取请求缓存设置 - * @access public - * @return array - */ - public function getCache() - { - return $this->cache; - } - - /** - * 设置GET数据 - * @access public - * @param array $get 数据 - * @return $this - */ - public function withGet(array $get) - { - $this->get = $get; - return $this; - } - - /** - * 设置POST数据 - * @access public - * @param array $post 数据 - * @return $this - */ - public function withPost(array $post) - { - $this->post = $post; - return $this; - } - - /** - * 设置php://input数据 - * @access public - * @param string $input RAW数据 - * @return $this - */ - public function withInput($input) - { - $this->input = $input; - return $this; - } - - /** - * 设置文件上传数据 - * @access public - * @param array $files 上传信息 - * @return $this - */ - public function withFiles(array $files) - { - $this->file = $files; - return $this; - } - - /** - * 设置COOKIE数据 - * @access public - * @param array $cookie 数据 - * @return $this - */ - public function withCookie(array $cookie) - { - $this->cookie = $cookie; - return $this; - } - - /** - * 设置SERVER数据 - * @access public - * @param array $server 数据 - * @return $this - */ - public function withServer(array $server) - { - $this->server = array_change_key_case($server, CASE_UPPER); - return $this; - } - - /** - * 设置HEADER数据 - * @access public - * @param array $header 数据 - * @return $this - */ - public function withHeader(array $header) - { - $this->header = array_change_key_case($header); - return $this; - } - - /** - * 设置ENV数据 - * @access public - * @param array $env 数据 - * @return $this - */ - public function withEnv(array $env) - { - $this->env = $env; - return $this; - } - - /** - * 设置ROUTE变量 - * @access public - * @param array $route 数据 - * @return $this - */ - public function withRoute(array $route) - { - $this->route = $route; - return $this; - } - - /** - * 设置请求数据 - * @access public - * @param string $name 参数名 - * @param mixed $value 值 - */ - public function __set($name, $value) - { - return $this->param[$name] = $value; - } - - /** - * 获取请求数据的值 - * @access public - * @param string $name 参数名 - * @return mixed - */ - public function __get($name) - { - return $this->param($name); - } - - /** - * 检测请求数据的值 - * @access public - * @param string $name 名称 - * @return boolean - */ - public function __isset($name) - { - return isset($this->param[$name]); - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['dispatch'], $data['config']); - - return $data; - } -} diff --git a/thinkphp/library/think/Response.php b/thinkphp/library/think/Response.php deleted file mode 100644 index 5fa5402a..00000000 --- a/thinkphp/library/think/Response.php +++ /dev/null @@ -1,429 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\response\Redirect as RedirectResponse; - -class Response -{ - /** - * 原始数据 - * @var mixed - */ - protected $data; - - /** - * 应用对象实例 - * @var App - */ - protected $app; - - /** - * 当前contentType - * @var string - */ - protected $contentType = 'text/html'; - - /** - * 字符集 - * @var string - */ - protected $charset = 'utf-8'; - - /** - * 状态码 - * @var integer - */ - protected $code = 200; - - /** - * 是否允许请求缓存 - * @var bool - */ - protected $allowCache = true; - - /** - * 输出参数 - * @var array - */ - protected $options = []; - - /** - * header参数 - * @var array - */ - protected $header = []; - - /** - * 输出内容 - * @var string - */ - protected $content = null; - - /** - * 架构函数 - * @access public - * @param mixed $data 输出数据 - * @param int $code - * @param array $header - * @param array $options 输出参数 - */ - public function __construct($data = '', $code = 200, array $header = [], $options = []) - { - $this->data($data); - - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - $this->contentType($this->contentType, $this->charset); - - $this->code = $code; - $this->app = Container::get('app'); - $this->header = array_merge($this->header, $header); - } - - /** - * 创建Response对象 - * @access public - * @param mixed $data 输出数据 - * @param string $type 输出类型 - * @param int $code - * @param array $header - * @param array $options 输出参数 - * @return Response - */ - public static function create($data = '', $type = '', $code = 200, array $header = [], $options = []) - { - $class = false !== strpos($type, '\\') ? $type : '\\think\\response\\' . ucfirst(strtolower($type)); - - if (class_exists($class)) { - return new $class($data, $code, $header, $options); - } - - return new static($data, $code, $header, $options); - } - - /** - * 发送数据到客户端 - * @access public - * @return void - * @throws \InvalidArgumentException - */ - public function send() - { - // 监听response_send - $this->app['hook']->listen('response_send', $this); - - // 处理输出数据 - $data = $this->getContent(); - - // Trace调试注入 - if ('cli' != PHP_SAPI && $this->app['env']->get('app_trace', $this->app->config('app.app_trace'))) { - $this->app['debug']->inject($this, $data); - } - - if (200 == $this->code && $this->allowCache) { - $cache = $this->app['request']->getCache(); - if ($cache) { - $this->header['Cache-Control'] = 'max-age=' . $cache[1] . ',must-revalidate'; - $this->header['Last-Modified'] = gmdate('D, d M Y H:i:s') . ' GMT'; - $this->header['Expires'] = gmdate('D, d M Y H:i:s', $_SERVER['REQUEST_TIME'] + $cache[1]) . ' GMT'; - - $this->app['cache']->tag($cache[2])->set($cache[0], [$data, $this->header], $cache[1]); - } - } - - if (!headers_sent() && !empty($this->header)) { - // 发送状态码 - http_response_code($this->code); - // 发送头部信息 - foreach ($this->header as $name => $val) { - header($name . (!is_null($val) ? ':' . $val : '')); - } - } - - $this->sendData($data); - - if (function_exists('fastcgi_finish_request')) { - // 提高页面响应 - fastcgi_finish_request(); - } - - // 监听response_end - $this->app['hook']->listen('response_end', $this); - - // 清空当次请求有效的数据 - if (!($this instanceof RedirectResponse)) { - $this->app['session']->flush(); - } - } - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - */ - protected function output($data) - { - return $data; - } - - /** - * 输出数据 - * @access protected - * @param string $data 要处理的数据 - * @return void - */ - protected function sendData($data) - { - echo $data; - } - - /** - * 输出的参数 - * @access public - * @param mixed $options 输出参数 - * @return $this - */ - public function options($options = []) - { - $this->options = array_merge($this->options, $options); - - return $this; - } - - /** - * 输出数据设置 - * @access public - * @param mixed $data 输出数据 - * @return $this - */ - public function data($data) - { - $this->data = $data; - - return $this; - } - - /** - * 是否允许请求缓存 - * @access public - * @param bool $cache 允许请求缓存 - * @return $this - */ - public function allowCache($cache) - { - $this->allowCache = $cache; - - return $this; - } - - /** - * 设置响应头 - * @access public - * @param string|array $name 参数名 - * @param string $value 参数值 - * @return $this - */ - public function header($name, $value = null) - { - if (is_array($name)) { - $this->header = array_merge($this->header, $name); - } else { - $this->header[$name] = $value; - } - - return $this; - } - - /** - * 设置页面输出内容 - * @access public - * @param mixed $content - * @return $this - */ - public function content($content) - { - if (null !== $content && !is_string($content) && !is_numeric($content) && !is_callable([ - $content, - '__toString', - ]) - ) { - throw new \InvalidArgumentException(sprintf('variable type error: %s', gettype($content))); - } - - $this->content = (string) $content; - - return $this; - } - - /** - * 发送HTTP状态 - * @access public - * @param integer $code 状态码 - * @return $this - */ - public function code($code) - { - $this->code = $code; - - return $this; - } - - /** - * LastModified - * @access public - * @param string $time - * @return $this - */ - public function lastModified($time) - { - $this->header['Last-Modified'] = $time; - - return $this; - } - - /** - * Expires - * @access public - * @param string $time - * @return $this - */ - public function expires($time) - { - $this->header['Expires'] = $time; - - return $this; - } - - /** - * ETag - * @access public - * @param string $eTag - * @return $this - */ - public function eTag($eTag) - { - $this->header['ETag'] = $eTag; - - return $this; - } - - /** - * 页面缓存控制 - * @access public - * @param string $cache 缓存设置 - * @return $this - */ - public function cacheControl($cache) - { - $this->header['Cache-control'] = $cache; - - return $this; - } - - /** - * 设置页面不做任何缓存 - * @access public - * @return $this - */ - public function noCache() - { - $this->header['Cache-Control'] = 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'; - $this->header['Pragma'] = 'no-cache'; - - return $this; - } - - /** - * 页面输出类型 - * @access public - * @param string $contentType 输出类型 - * @param string $charset 输出编码 - * @return $this - */ - public function contentType($contentType, $charset = 'utf-8') - { - $this->header['Content-Type'] = $contentType . '; charset=' . $charset; - - return $this; - } - - /** - * 获取头部信息 - * @access public - * @param string $name 头部名称 - * @return mixed - */ - public function getHeader($name = '') - { - if (!empty($name)) { - return isset($this->header[$name]) ? $this->header[$name] : null; - } - - return $this->header; - } - - /** - * 获取原始数据 - * @access public - * @return mixed - */ - public function getData() - { - return $this->data; - } - - /** - * 获取输出数据 - * @access public - * @return mixed - */ - public function getContent() - { - if (null == $this->content) { - $content = $this->output($this->data); - - if (null !== $content && !is_string($content) && !is_numeric($content) && !is_callable([ - $content, - '__toString', - ]) - ) { - throw new \InvalidArgumentException(sprintf('variable type error: %s', gettype($content))); - } - - $this->content = (string) $content; - } - - return $this->content; - } - - /** - * 获取状态码 - * @access public - * @return integer - */ - public function getCode() - { - return $this->code; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app']); - - return $data; - } -} diff --git a/thinkphp/library/think/Route.php b/thinkphp/library/think/Route.php deleted file mode 100644 index 97f6dc7d..00000000 --- a/thinkphp/library/think/Route.php +++ /dev/null @@ -1,992 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\RouteNotFoundException; -use think\route\AliasRule; -use think\route\Dispatch; -use think\route\dispatch\Url as UrlDispatch; -use think\route\Domain; -use think\route\Resource; -use think\route\Rule; -use think\route\RuleGroup; -use think\route\RuleItem; - -class Route -{ - /** - * REST定义 - * @var array - */ - protected $rest = [ - 'index' => ['get', '', 'index'], - 'create' => ['get', '/create', 'create'], - 'edit' => ['get', '//edit', 'edit'], - 'read' => ['get', '/', 'read'], - 'save' => ['post', '', 'save'], - 'update' => ['put', '/', 'update'], - 'delete' => ['delete', '/', 'delete'], - ]; - - /** - * 请求方法前缀定义 - * @var array - */ - protected $methodPrefix = [ - 'get' => 'get', - 'post' => 'post', - 'put' => 'put', - 'delete' => 'delete', - 'patch' => 'patch', - ]; - - /** - * 应用对象 - * @var App - */ - protected $app; - - /** - * 请求对象 - * @var Request - */ - protected $request; - - /** - * 当前HOST - * @var string - */ - protected $host; - - /** - * 当前域名 - * @var string - */ - protected $domain; - - /** - * 当前分组对象 - * @var RuleGroup - */ - protected $group; - - /** - * 配置参数 - * @var array - */ - protected $config = []; - - /** - * 路由绑定 - * @var array - */ - protected $bind = []; - - /** - * 域名对象 - * @var array - */ - protected $domains = []; - - /** - * 跨域路由规则 - * @var RuleGroup - */ - protected $cross; - - /** - * 路由别名 - * @var array - */ - protected $alias = []; - - /** - * 路由是否延迟解析 - * @var bool - */ - protected $lazy = true; - - /** - * 路由是否测试模式 - * @var bool - */ - protected $isTest; - - /** - * (分组)路由规则是否合并解析 - * @var bool - */ - protected $mergeRuleRegex = true; - - /** - * 路由解析自动搜索多级控制器 - * @var bool - */ - protected $autoSearchController = true; - - public function __construct(App $app, array $config = []) - { - $this->app = $app; - $this->request = $app['request']; - $this->config = $config; - - $this->host = $this->request->host(true) ?: $config['app_host']; - - $this->setDefaultDomain(); - } - - public function config($name = null) - { - if (is_null($name)) { - return $this->config; - } - - return isset($this->config[$name]) ? $this->config[$name] : null; - } - - /** - * 配置 - * @access public - * @param array $config - * @return void - */ - public function setConfig(array $config = []) - { - $this->config = array_merge($this->config, array_change_key_case($config)); - } - - public static function __make(App $app, Config $config) - { - $config = $config->pull('app'); - $route = new static($app, $config); - - $route->lazy($config['url_lazy_route']) - ->autoSearchController($config['controller_auto_search']) - ->mergeRuleRegex($config['route_rule_merge']); - - return $route; - } - - /** - * 设置路由的请求对象实例 - * @access public - * @param Request $request 请求对象实例 - * @return void - */ - public function setRequest($request) - { - $this->request = $request; - } - - /** - * 设置路由域名及分组(包括资源路由)是否延迟解析 - * @access public - * @param bool $lazy 路由是否延迟解析 - * @return $this - */ - public function lazy($lazy = true) - { - $this->lazy = $lazy; - return $this; - } - - /** - * 设置路由为测试模式 - * @access public - * @param bool $test 路由是否测试模式 - * @return void - */ - public function setTestMode($test) - { - $this->isTest = $test; - } - - /** - * 检查路由是否为测试模式 - * @access public - * @return bool - */ - public function isTest() - { - return $this->isTest; - } - - /** - * 设置路由域名及分组(包括资源路由)是否合并解析 - * @access public - * @param bool $merge 路由是否合并解析 - * @return $this - */ - public function mergeRuleRegex($merge = true) - { - $this->mergeRuleRegex = $merge; - $this->group->mergeRuleRegex($merge); - - return $this; - } - - /** - * 设置路由自动解析是否搜索多级控制器 - * @access public - * @param bool $auto 是否自动搜索多级控制器 - * @return $this - */ - public function autoSearchController($auto = true) - { - $this->autoSearchController = $auto; - return $this; - } - - /** - * 初始化默认域名 - * @access protected - * @return void - */ - protected function setDefaultDomain() - { - // 默认域名 - $this->domain = $this->host; - - // 注册默认域名 - $domain = new Domain($this, $this->host); - - $this->domains[$this->host] = $domain; - - // 默认分组 - $this->group = $domain; - } - - /** - * 设置当前域名 - * @access public - * @param RuleGroup $group 域名 - * @return void - */ - public function setGroup(RuleGroup $group) - { - $this->group = $group; - } - - /** - * 获取当前分组 - * @access public - * @return RuleGroup - */ - public function getGroup() - { - return $this->group; - } - - /** - * 注册变量规则 - * @access public - * @param string|array $name 变量名 - * @param string $rule 变量规则 - * @return $this - */ - public function pattern($name, $rule = '') - { - $this->group->pattern($name, $rule); - - return $this; - } - - /** - * 注册路由参数 - * @access public - * @param string|array $name 参数名 - * @param mixed $value 值 - * @return $this - */ - public function option($name, $value = '') - { - $this->group->option($name, $value); - - return $this; - } - - /** - * 注册域名路由 - * @access public - * @param string|array $name 子域名 - * @param mixed $rule 路由规则 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return Domain - */ - public function domain($name, $rule = '', $option = [], $pattern = []) - { - // 支持多个域名使用相同路由规则 - $domainName = is_array($name) ? array_shift($name) : $name; - - if ('*' != $domainName && false === strpos($domainName, '.')) { - $domainName .= '.' . $this->request->rootDomain(); - } - - if (!isset($this->domains[$domainName])) { - $domain = (new Domain($this, $domainName, $rule, $option, $pattern)) - ->lazy($this->lazy) - ->mergeRuleRegex($this->mergeRuleRegex); - - $this->domains[$domainName] = $domain; - } else { - $domain = $this->domains[$domainName]; - $domain->parseGroupRule($rule); - } - - if (is_array($name) && !empty($name)) { - $root = $this->request->rootDomain(); - foreach ($name as $item) { - if (false === strpos($item, '.')) { - $item .= '.' . $root; - } - - $this->domains[$item] = $domainName; - } - } - - // 返回域名对象 - return $domain; - } - - /** - * 获取域名 - * @access public - * @return array - */ - public function getDomains() - { - return $this->domains; - } - - /** - * 设置路由绑定 - * @access public - * @param string $bind 绑定信息 - * @param string $domain 域名 - * @return $this - */ - public function bind($bind, $domain = null) - { - $domain = is_null($domain) ? $this->domain : $domain; - - $this->bind[$domain] = $bind; - - return $this; - } - - /** - * 读取路由绑定 - * @access public - * @param string $domain 域名 - * @return string|null - */ - public function getBind($domain = null) - { - if (is_null($domain)) { - $domain = $this->domain; - } elseif (true === $domain) { - return $this->bind; - } elseif (false === strpos($domain, '.')) { - $domain .= '.' . $this->request->rootDomain(); - } - - $subDomain = $this->request->subDomain(); - - if (strpos($subDomain, '.')) { - $name = '*' . strstr($subDomain, '.'); - } - - if (isset($this->bind[$domain])) { - $result = $this->bind[$domain]; - } elseif (isset($name) && isset($this->bind[$name])) { - $result = $this->bind[$name]; - } elseif (!empty($subDomain) && isset($this->bind['*'])) { - $result = $this->bind['*']; - } else { - $result = null; - } - - return $result; - } - - /** - * 读取路由标识 - * @access public - * @param string $name 路由标识 - * @param string $domain 域名 - * @return mixed - */ - public function getName($name = null, $domain = null, $method = '*') - { - return $this->app['rule_name']->get($name, $domain, $method); - } - - /** - * 读取路由 - * @access public - * @param string $rule 路由规则 - * @param string $domain 域名 - * @return array - */ - public function getRule($rule, $domain = null) - { - if (is_null($domain)) { - $domain = $this->domain; - } - - return $this->app['rule_name']->getRule($rule, $domain); - } - - /** - * 读取路由 - * @access public - * @param string $domain 域名 - * @return array - */ - public function getRuleList($domain = null) - { - return $this->app['rule_name']->getRuleList($domain); - } - - /** - * 批量导入路由标识 - * @access public - * @param array $name 路由标识 - * @return $this - */ - public function setName($name) - { - $this->app['rule_name']->import($name); - return $this; - } - - /** - * 导入配置文件的路由规则 - * @access public - * @param array $rules 路由规则 - * @param string $type 请求类型 - * @return void - */ - public function import(array $rules, $type = '*') - { - // 检查域名部署 - if (isset($rules['__domain__'])) { - foreach ($rules['__domain__'] as $key => $rule) { - $this->domain($key, $rule); - } - unset($rules['__domain__']); - } - - // 检查变量规则 - if (isset($rules['__pattern__'])) { - $this->pattern($rules['__pattern__']); - unset($rules['__pattern__']); - } - - // 检查路由别名 - if (isset($rules['__alias__'])) { - foreach ($rules['__alias__'] as $key => $val) { - $this->alias($key, $val); - } - unset($rules['__alias__']); - } - - // 检查资源路由 - if (isset($rules['__rest__'])) { - foreach ($rules['__rest__'] as $key => $rule) { - $this->resource($key, $rule); - } - unset($rules['__rest__']); - } - - // 检查路由规则(包含分组) - foreach ($rules as $key => $val) { - if (is_numeric($key)) { - $key = array_shift($val); - } - - if (empty($val)) { - continue; - } - - if (is_string($key) && 0 === strpos($key, '[')) { - $key = substr($key, 1, -1); - $this->group($key, $val); - } elseif (is_array($val)) { - $this->rule($key, $val[0], $type, $val[1], isset($val[2]) ? $val[2] : []); - } else { - $this->rule($key, $val, $type); - } - } - } - - /** - * 注册路由规则 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function rule($rule, $route, $method = '*', array $option = [], array $pattern = []) - { - return $this->group->addRule($rule, $route, $method, $option, $pattern); - } - - /** - * 设置跨域有效路由规则 - * @access public - * @param Rule $rule 路由规则 - * @param string $method 请求类型 - * @return $this - */ - public function setCrossDomainRule($rule, $method = '*') - { - if (!isset($this->cross)) { - $this->cross = (new RuleGroup($this))->mergeRuleRegex($this->mergeRuleRegex); - } - - $this->cross->addRuleItem($rule, $method); - - return $this; - } - - /** - * 批量注册路由规则 - * @access public - * @param array $rules 路由规则 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return void - */ - public function rules($rules, $method = '*', array $option = [], array $pattern = []) - { - $this->group->addRules($rules, $method, $option, $pattern); - } - - /** - * 注册路由分组 - * @access public - * @param string|array $name 分组名称或者参数 - * @param array|\Closure $route 分组路由 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleGroup - */ - public function group($name, $route, array $option = [], array $pattern = []) - { - if (is_array($name)) { - $option = $name; - $name = isset($option['name']) ? $option['name'] : ''; - } - - return (new RuleGroup($this, $this->group, $name, $route, $option, $pattern)) - ->lazy($this->lazy) - ->mergeRuleRegex($this->mergeRuleRegex); - } - - /** - * 注册路由 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function any($rule, $route = '', array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, '*', $option, $pattern); - } - - /** - * 注册GET路由 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function get($rule, $route = '', array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, 'GET', $option, $pattern); - } - - /** - * 注册POST路由 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function post($rule, $route = '', array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, 'POST', $option, $pattern); - } - - /** - * 注册PUT路由 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function put($rule, $route = '', array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, 'PUT', $option, $pattern); - } - - /** - * 注册DELETE路由 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function delete($rule, $route = '', array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, 'DELETE', $option, $pattern); - } - - /** - * 注册PATCH路由 - * @access public - * @param string $rule 路由规则 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function patch($rule, $route = '', array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, 'PATCH', $option, $pattern); - } - - /** - * 注册资源路由 - * @access public - * @param string $rule 路由规则 - * @param string $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return Resource - */ - public function resource($rule, $route = '', array $option = [], array $pattern = []) - { - return (new Resource($this, $this->group, $rule, $route, $option, $pattern, $this->rest)) - ->lazy($this->lazy); - } - - /** - * 注册控制器路由 操作方法对应不同的请求前缀 - * @access public - * @param string $rule 路由规则 - * @param string $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleGroup - */ - public function controller($rule, $route = '', array $option = [], array $pattern = []) - { - $group = new RuleGroup($this, $this->group, $rule, null, $option, $pattern); - - foreach ($this->methodPrefix as $type => $val) { - $group->addRule('', $val . '', $type); - } - - return $group->prefix($route . '/'); - } - - /** - * 注册视图路由 - * @access public - * @param string|array $rule 路由规则 - * @param string $template 路由模板地址 - * @param array $vars 模板变量 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function view($rule, $template = '', array $vars = [], array $option = [], array $pattern = []) - { - return $this->rule($rule, $template, 'GET', $option, $pattern)->view($vars); - } - - /** - * 注册重定向路由 - * @access public - * @param string|array $rule 路由规则 - * @param string $route 路由地址 - * @param array $status 状态码 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return RuleItem - */ - public function redirect($rule, $route = '', $status = 301, array $option = [], array $pattern = []) - { - return $this->rule($rule, $route, '*', $option, $pattern)->redirect()->status($status); - } - - /** - * 注册别名路由 - * @access public - * @param string $rule 路由别名 - * @param string $route 路由地址 - * @param array $option 路由参数 - * @return AliasRule - */ - public function alias($rule, $route, array $option = []) - { - $aliasRule = new AliasRule($this, $this->group, $rule, $route, $option); - - $this->alias[$rule] = $aliasRule; - - return $aliasRule; - } - - /** - * 获取别名路由定义 - * @access public - * @param string $name 路由别名 - * @return string|array|null - */ - public function getAlias($name = null) - { - if (is_null($name)) { - return $this->alias; - } - - return isset($this->alias[$name]) ? $this->alias[$name] : null; - } - - /** - * 设置不同请求类型下面的方法前缀 - * @access public - * @param string|array $method 请求类型 - * @param string $prefix 类型前缀 - * @return $this - */ - public function setMethodPrefix($method, $prefix = '') - { - if (is_array($method)) { - $this->methodPrefix = array_merge($this->methodPrefix, array_change_key_case($method)); - } else { - $this->methodPrefix[strtolower($method)] = $prefix; - } - - return $this; - } - - /** - * 获取请求类型的方法前缀 - * @access public - * @param string $method 请求类型 - * @param string $prefix 类型前缀 - * @return string|null - */ - public function getMethodPrefix($method) - { - $method = strtolower($method); - - return isset($this->methodPrefix[$method]) ? $this->methodPrefix[$method] : null; - } - - /** - * rest方法定义和修改 - * @access public - * @param string $name 方法名称 - * @param array|bool $resource 资源 - * @return $this - */ - public function rest($name, $resource = []) - { - if (is_array($name)) { - $this->rest = $resource ? $name : array_merge($this->rest, $name); - } else { - $this->rest[$name] = $resource; - } - - return $this; - } - - /** - * 获取rest方法定义的参数 - * @access public - * @param string $name 方法名称 - * @return array|null - */ - public function getRest($name = null) - { - if (is_null($name)) { - return $this->rest; - } - - return isset($this->rest[$name]) ? $this->rest[$name] : null; - } - - /** - * 注册未匹配路由规则后的处理 - * @access public - * @param string $route 路由地址 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @return RuleItem - */ - public function miss($route, $method = '*', array $option = []) - { - return $this->group->addMissRule($route, $method, $option); - } - - /** - * 注册一个自动解析的URL路由 - * @access public - * @param string $route 路由地址 - * @return RuleItem - */ - public function auto($route) - { - return $this->group->addAutoRule($route); - } - - /** - * 检测URL路由 - * @access public - * @param string $url URL地址 - * @param bool $must 是否强制路由 - * @return Dispatch - * @throws RouteNotFoundException - */ - public function check($url, $must = false) - { - // 自动检测域名路由 - $domain = $this->checkDomain(); - $url = str_replace($this->config['pathinfo_depr'], '|', $url); - - $completeMatch = $this->config['route_complete_match']; - - $result = $domain->check($this->request, $url, $completeMatch); - - if (false === $result && !empty($this->cross)) { - // 检测跨域路由 - $result = $this->cross->check($this->request, $url, $completeMatch); - } - - if (false !== $result) { - // 路由匹配 - return $result; - } elseif ($must) { - // 强制路由不匹配则抛出异常 - throw new RouteNotFoundException(); - } - - // 默认路由解析 - return new UrlDispatch($this->request, $this->group, $url, [ - 'auto_search' => $this->autoSearchController, - ]); - } - - /** - * 检测域名的路由规则 - * @access protected - * @return Domain - */ - protected function checkDomain() - { - // 获取当前子域名 - $subDomain = $this->request->subDomain(); - - $item = false; - - if ($subDomain && count($this->domains) > 1) { - $domain = explode('.', $subDomain); - $domain2 = array_pop($domain); - - if ($domain) { - // 存在三级域名 - $domain3 = array_pop($domain); - } - - if ($subDomain && isset($this->domains[$subDomain])) { - // 子域名配置 - $item = $this->domains[$subDomain]; - } elseif (isset($this->domains['*.' . $domain2]) && !empty($domain3)) { - // 泛三级域名 - $item = $this->domains['*.' . $domain2]; - $panDomain = $domain3; - } elseif (isset($this->domains['*']) && !empty($domain2)) { - // 泛二级域名 - if ('www' != $domain2) { - $item = $this->domains['*']; - $panDomain = $domain2; - } - } - - if (isset($panDomain)) { - // 保存当前泛域名 - $this->request->setPanDomain($panDomain); - } - } - - if (false === $item) { - // 检测当前完整域名 - $item = $this->domains[$this->host]; - } - - if (is_string($item)) { - $item = $this->domains[$item]; - } - - return $item; - } - - /** - * 清空路由规则 - * @access public - * @return void - */ - public function clear() - { - $this->app['rule_name']->clear(); - $this->group->clear(); - } - - /** - * 设置全局的路由分组参数 - * @access public - * @param string $method 方法名 - * @param array $args 调用参数 - * @return RuleGroup - */ - public function __call($method, $args) - { - return call_user_func_array([$this->group, $method], $args); - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app'], $data['request']); - - return $data; - } -} diff --git a/thinkphp/library/think/Session.php b/thinkphp/library/think/Session.php deleted file mode 100644 index 63ee7a03..00000000 --- a/thinkphp/library/think/Session.php +++ /dev/null @@ -1,579 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\ClassNotFoundException; - -class Session -{ - /** - * 配置参数 - * @var array - */ - protected $config = []; - - /** - * 前缀 - * @var string - */ - protected $prefix = ''; - - /** - * 是否初始化 - * @var bool - */ - protected $init = null; - - /** - * 锁驱动 - * @var object - */ - protected $lockDriver = null; - - /** - * 锁key - * @var string - */ - protected $sessKey = 'PHPSESSID'; - - /** - * 锁超时时间 - * @var integer - */ - protected $lockTimeout = 3; - - /** - * 是否启用锁机制 - * @var bool - */ - protected $lock = false; - - public function __construct(array $config = []) - { - $this->config = $config; - } - - /** - * 设置或者获取session作用域(前缀) - * @access public - * @param string $prefix - * @return string|void - */ - public function prefix($prefix = '') - { - empty($this->init) && $this->boot(); - - if (empty($prefix) && null !== $prefix) { - return $this->prefix; - } else { - $this->prefix = $prefix; - } - } - - public static function __make(Config $config) - { - return new static($config->pull('session')); - } - - /** - * 配置 - * @access public - * @param array $config - * @return void - */ - public function setConfig(array $config = []) - { - $this->config = array_merge($this->config, array_change_key_case($config)); - - if (isset($config['prefix'])) { - $this->prefix = $config['prefix']; - } - - if (isset($config['use_lock'])) { - $this->lock = $config['use_lock']; - } - } - - /** - * 设置已经初始化 - * @access public - * @return void - */ - public function inited() - { - $this->init = true; - } - - /** - * session初始化 - * @access public - * @param array $config - * @return void - * @throws \think\Exception - */ - public function init(array $config = []) - { - $config = $config ?: $this->config; - - $isDoStart = false; - if (isset($config['use_trans_sid'])) { - ini_set('session.use_trans_sid', $config['use_trans_sid'] ? 1 : 0); - } - - // 启动session - if (!empty($config['auto_start']) && PHP_SESSION_ACTIVE != session_status()) { - ini_set('session.auto_start', 0); - $isDoStart = true; - } - - if (isset($config['prefix'])) { - $this->prefix = $config['prefix']; - } - - if (isset($config['use_lock'])) { - $this->lock = $config['use_lock']; - } - - if (isset($config['var_session_id']) && isset($_REQUEST[$config['var_session_id']])) { - session_id($_REQUEST[$config['var_session_id']]); - } elseif (isset($config['id']) && !empty($config['id'])) { - session_id($config['id']); - } - - if (isset($config['name'])) { - session_name($config['name']); - } - - if (isset($config['path'])) { - session_save_path($config['path']); - } - - if (isset($config['domain'])) { - ini_set('session.cookie_domain', $config['domain']); - } - - if (isset($config['expire'])) { - ini_set('session.gc_maxlifetime', $config['expire']); - ini_set('session.cookie_lifetime', $config['expire']); - } - - if (isset($config['secure'])) { - ini_set('session.cookie_secure', $config['secure']); - } - - if (isset($config['httponly'])) { - ini_set('session.cookie_httponly', $config['httponly']); - } - - if (isset($config['use_cookies'])) { - ini_set('session.use_cookies', $config['use_cookies'] ? 1 : 0); - } - - if (isset($config['cache_limiter'])) { - session_cache_limiter($config['cache_limiter']); - } - - if (isset($config['cache_expire'])) { - session_cache_expire($config['cache_expire']); - } - - if (!empty($config['type'])) { - // 读取session驱动 - $class = false !== strpos($config['type'], '\\') ? $config['type'] : '\\think\\session\\driver\\' . ucwords($config['type']); - - // 检查驱动类 - if (!class_exists($class) || !session_set_save_handler(new $class($config))) { - throw new ClassNotFoundException('error session handler:' . $class, $class); - } - } - - if ($isDoStart) { - $this->start(); - } else { - $this->init = false; - } - - return $this; - } - - /** - * session自动启动或者初始化 - * @access public - * @return void - */ - public function boot() - { - if (is_null($this->init)) { - $this->init(); - } - - if (false === $this->init) { - if (PHP_SESSION_ACTIVE != session_status()) { - $this->start(); - } - $this->init = true; - } - } - - /** - * session设置 - * @access public - * @param string $name session名称 - * @param mixed $value session值 - * @param string|null $prefix 作用域(前缀) - * @return void - */ - public function set($name, $value, $prefix = null) - { - $this->lock(); - - empty($this->init) && $this->boot(); - - $prefix = !is_null($prefix) ? $prefix : $this->prefix; - - if (strpos($name, '.')) { - // 二维数组赋值 - list($name1, $name2) = explode('.', $name); - if ($prefix) { - $_SESSION[$prefix][$name1][$name2] = $value; - } else { - $_SESSION[$name1][$name2] = $value; - } - } elseif ($prefix) { - $_SESSION[$prefix][$name] = $value; - } else { - $_SESSION[$name] = $value; - } - - $this->unlock(); - } - - /** - * session获取 - * @access public - * @param string $name session名称 - * @param string|null $prefix 作用域(前缀) - * @return mixed - */ - public function get($name = '', $prefix = null) - { - $this->lock(); - - empty($this->init) && $this->boot(); - - $prefix = !is_null($prefix) ? $prefix : $this->prefix; - - $value = $prefix ? (!empty($_SESSION[$prefix]) ? $_SESSION[$prefix] : []) : $_SESSION; - - if ('' != $name) { - $name = explode('.', $name); - - foreach ($name as $val) { - if (isset($value[$val])) { - $value = $value[$val]; - } else { - $value = null; - break; - } - } - } - - $this->unlock(); - - return $value; - } - - /** - * session 读写锁驱动实例化 - */ - protected function initDriver() - { - $config = $this->config; - - if (!empty($config['type']) && isset($config['use_lock']) && $config['use_lock']) { - // 读取session驱动 - $class = false !== strpos($config['type'], '\\') ? $config['type'] : '\\think\\session\\driver\\' . ucwords($config['type']); - - // 检查驱动类及类中是否存在 lock 和 unlock 函数 - if (class_exists($class) && method_exists($class, 'lock') && method_exists($class, 'unlock')) { - $this->lockDriver = new $class($config); - } - } - - // 通过cookie获得session_id - if (isset($config['name']) && $config['name']) { - $this->sessKey = $config['name']; - } - - if (isset($config['lock_timeout']) && $config['lock_timeout'] > 0) { - $this->lockTimeout = $config['lock_timeout']; - } - } - - /** - * session 读写加锁 - * @access protected - * @return void - */ - protected function lock() - { - if (empty($this->lock)) { - return; - } - - $this->initDriver(); - - if (null !== $this->lockDriver && method_exists($this->lockDriver, 'lock')) { - $t = time(); - // 使用 session_id 作为互斥条件,即只对同一 session_id 的会话互斥。第一次请求没有 session_id - $sessID = isset($_COOKIE[$this->sessKey]) ? $_COOKIE[$this->sessKey] : ''; - - do { - if (time() - $t > $this->lockTimeout) { - $this->unlock(); - } - } while (!$this->lockDriver->lock($sessID, $this->lockTimeout)); - } - } - - /** - * session 读写解锁 - * @access protected - * @return void - */ - protected function unlock() - { - if (empty($this->lock)) { - return; - } - - $this->pause(); - - if ($this->lockDriver && method_exists($this->lockDriver, 'unlock')) { - $sessID = isset($_COOKIE[$this->sessKey]) ? $_COOKIE[$this->sessKey] : ''; - $this->lockDriver->unlock($sessID); - } - } - - /** - * session获取并删除 - * @access public - * @param string $name session名称 - * @param string|null $prefix 作用域(前缀) - * @return mixed - */ - public function pull($name, $prefix = null) - { - $result = $this->get($name, $prefix); - - if ($result) { - $this->delete($name, $prefix); - return $result; - } else { - return; - } - } - - /** - * session设置 下一次请求有效 - * @access public - * @param string $name session名称 - * @param mixed $value session值 - * @param string|null $prefix 作用域(前缀) - * @return void - */ - public function flash($name, $value) - { - $this->set($name, $value); - - if (!$this->has('__flash__.__time__')) { - $this->set('__flash__.__time__', $_SERVER['REQUEST_TIME_FLOAT']); - } - - $this->push('__flash__', $name); - } - - /** - * 清空当前请求的session数据 - * @access public - * @return void - */ - public function flush() - { - if (!$this->init) { - return; - } - - $item = $this->get('__flash__'); - - if (!empty($item)) { - $time = $item['__time__']; - - if ($_SERVER['REQUEST_TIME_FLOAT'] > $time) { - unset($item['__time__']); - $this->delete($item); - $this->set('__flash__', []); - } - } - } - - /** - * 删除session数据 - * @access public - * @param string|array $name session名称 - * @param string|null $prefix 作用域(前缀) - * @return void - */ - public function delete($name, $prefix = null) - { - empty($this->init) && $this->boot(); - - $prefix = !is_null($prefix) ? $prefix : $this->prefix; - - if (is_array($name)) { - foreach ($name as $key) { - $this->delete($key, $prefix); - } - } elseif (strpos($name, '.')) { - list($name1, $name2) = explode('.', $name); - if ($prefix) { - unset($_SESSION[$prefix][$name1][$name2]); - } else { - unset($_SESSION[$name1][$name2]); - } - } else { - if ($prefix) { - unset($_SESSION[$prefix][$name]); - } else { - unset($_SESSION[$name]); - } - } - } - - /** - * 清空session数据 - * @access public - * @param string|null $prefix 作用域(前缀) - * @return void - */ - public function clear($prefix = null) - { - empty($this->init) && $this->boot(); - $prefix = !is_null($prefix) ? $prefix : $this->prefix; - - if ($prefix) { - unset($_SESSION[$prefix]); - } else { - $_SESSION = []; - } - } - - /** - * 判断session数据 - * @access public - * @param string $name session名称 - * @param string|null $prefix - * @return bool - */ - public function has($name, $prefix = null) - { - empty($this->init) && $this->boot(); - - $prefix = !is_null($prefix) ? $prefix : $this->prefix; - $value = $prefix ? (!empty($_SESSION[$prefix]) ? $_SESSION[$prefix] : []) : $_SESSION; - - $name = explode('.', $name); - - foreach ($name as $val) { - if (!isset($value[$val])) { - return false; - } else { - $value = $value[$val]; - } - } - - return true; - } - - /** - * 添加数据到一个session数组 - * @access public - * @param string $key - * @param mixed $value - * @return void - */ - public function push($key, $value) - { - $array = $this->get($key); - - if (is_null($array)) { - $array = []; - } - - $array[] = $value; - - $this->set($key, $array); - } - - /** - * 启动session - * @access public - * @return void - */ - public function start() - { - session_start(); - - $this->init = true; - } - - /** - * 销毁session - * @access public - * @return void - */ - public function destroy() - { - if (!empty($_SESSION)) { - $_SESSION = []; - } - - session_unset(); - session_destroy(); - - $this->init = null; - $this->lockDriver = null; - } - - /** - * 重新生成session_id - * @access public - * @param bool $delete 是否删除关联会话文件 - * @return void - */ - public function regenerate($delete = false) - { - session_regenerate_id($delete); - } - - /** - * 暂停session - * @access public - * @return void - */ - public function pause() - { - // 暂停session - session_write_close(); - $this->init = false; - } -} diff --git a/thinkphp/library/think/Template.php b/thinkphp/library/think/Template.php deleted file mode 100644 index 2855cbcb..00000000 --- a/thinkphp/library/think/Template.php +++ /dev/null @@ -1,1318 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\TemplateNotFoundException; - -/** - * ThinkPHP分离出来的模板引擎 - * 支持XML标签和普通标签的模板解析 - * 编译型模板引擎 支持动态缓存 - */ -class Template -{ - protected $app; - /** - * 模板变量 - * @var array - */ - protected $data = []; - - /** - * 模板配置参数 - * @var array - */ - protected $config = [ - 'view_path' => '', // 模板路径 - 'view_base' => '', - 'view_suffix' => 'html', // 默认模板文件后缀 - 'view_depr' => DIRECTORY_SEPARATOR, - 'cache_suffix' => 'php', // 默认模板缓存后缀 - 'tpl_deny_func_list' => 'echo,exit', // 模板引擎禁用函数 - 'tpl_deny_php' => false, // 默认模板引擎是否禁用PHP原生代码 - 'tpl_begin' => '{', // 模板引擎普通标签开始标记 - 'tpl_end' => '}', // 模板引擎普通标签结束标记 - 'strip_space' => false, // 是否去除模板文件里面的html空格与换行 - 'tpl_cache' => true, // 是否开启模板编译缓存,设为false则每次都会重新编译 - 'compile_type' => 'file', // 模板编译类型 - 'cache_prefix' => '', // 模板缓存前缀标识,可以动态改变 - 'cache_time' => 0, // 模板缓存有效期 0 为永久,(以数字为值,单位:秒) - 'layout_on' => false, // 布局模板开关 - 'layout_name' => 'layout', // 布局模板入口文件 - 'layout_item' => '{__CONTENT__}', // 布局模板的内容替换标识 - 'taglib_begin' => '{', // 标签库标签开始标记 - 'taglib_end' => '}', // 标签库标签结束标记 - 'taglib_load' => true, // 是否使用内置标签库之外的其它标签库,默认自动检测 - 'taglib_build_in' => 'cx', // 内置标签库名称(标签使用不必指定标签库名称),以逗号分隔 注意解析顺序 - 'taglib_pre_load' => '', // 需要额外加载的标签库(须指定标签库名称),多个以逗号分隔 - 'display_cache' => false, // 模板渲染缓存 - 'cache_id' => '', // 模板缓存ID - 'tpl_replace_string' => [], - 'tpl_var_identify' => 'array', // .语法变量识别,array|object|'', 为空时自动识别 - 'default_filter' => 'htmlentities', // 默认过滤方法 用于普通标签输出 - ]; - - /** - * 保留内容信息 - * @var array - */ - private $literal = []; - - /** - * 模板包含信息 - * @var array - */ - private $includeFile = []; - - /** - * 模板存储对象 - * @var object - */ - protected $storage; - - /** - * 架构函数 - * @access public - * @param array $config - */ - public function __construct(App $app, array $config = []) - { - $this->app = $app; - $this->config['cache_path'] = $app->getRuntimePath() . 'temp/'; - $this->config = array_merge($this->config, $config); - - $this->config['taglib_begin_origin'] = $this->config['taglib_begin']; - $this->config['taglib_end_origin'] = $this->config['taglib_end']; - - $this->config['taglib_begin'] = preg_quote($this->config['taglib_begin'], '/'); - $this->config['taglib_end'] = preg_quote($this->config['taglib_end'], '/'); - $this->config['tpl_begin'] = preg_quote($this->config['tpl_begin'], '/'); - $this->config['tpl_end'] = preg_quote($this->config['tpl_end'], '/'); - - // 初始化模板编译存储器 - $type = $this->config['compile_type'] ? $this->config['compile_type'] : 'File'; - - $this->storage = Loader::factory($type, '\\think\\template\\driver\\', null); - } - - public static function __make(Config $config) - { - return new static($config->pull('template')); - } - - /** - * 模板变量赋值 - * @access public - * @param mixed $name - * @param mixed $value - * @return void - */ - public function assign($name, $value = '') - { - if (is_array($name)) { - $this->data = array_merge($this->data, $name); - } else { - $this->data[$name] = $value; - } - } - - /** - * 模板引擎参数赋值 - * @access public - * @param mixed $name - * @param mixed $value - */ - public function __set($name, $value) - { - $this->config[$name] = $value; - } - - /** - * 模板引擎配置项 - * @access public - * @param array|string $config - * @return void|array - */ - public function config($config) - { - if (is_array($config)) { - $this->config = array_merge($this->config, $config); - } elseif (isset($this->config[$config])) { - return $this->config[$config]; - } - } - - /** - * 模板变量获取 - * @access public - * @param string $name 变量名 - * @return mixed - */ - public function get($name = '') - { - if ('' == $name) { - return $this->data; - } - - $data = $this->data; - - foreach (explode('.', $name) as $key => $val) { - if (isset($data[$val])) { - $data = $data[$val]; - } else { - $data = null; - break; - } - } - - return $data; - } - - /** - * 渲染模板文件 - * @access public - * @param string $template 模板文件 - * @param array $vars 模板变量 - * @param array $config 模板参数 - * @return void - */ - public function fetch($template, $vars = [], $config = []) - { - if ($vars) { - $this->data = $vars; - } - - if ($config) { - $this->config($config); - } - - $cache = $this->app['cache']; - - if (!empty($this->config['cache_id']) && $this->config['display_cache']) { - // 读取渲染缓存 - $cacheContent = $cache->get($this->config['cache_id']); - - if (false !== $cacheContent) { - echo $cacheContent; - return; - } - } - - $template = $this->parseTemplateFile($template); - - if ($template) { - $cacheFile = $this->config['cache_path'] . $this->config['cache_prefix'] . md5($this->config['layout_on'] . $this->config['layout_name'] . $template) . '.' . ltrim($this->config['cache_suffix'], '.'); - - if (!$this->checkCache($cacheFile)) { - // 缓存无效 重新模板编译 - $content = file_get_contents($template); - $this->compiler($content, $cacheFile); - } - - // 页面缓存 - ob_start(); - ob_implicit_flush(0); - - // 读取编译存储 - $this->storage->read($cacheFile, $this->data); - - // 获取并清空缓存 - $content = ob_get_clean(); - - if (!empty($this->config['cache_id']) && $this->config['display_cache']) { - // 缓存页面输出 - $cache->set($this->config['cache_id'], $content, $this->config['cache_time']); - } - - echo $content; - } - } - - /** - * 渲染模板内容 - * @access public - * @param string $content 模板内容 - * @param array $vars 模板变量 - * @param array $config 模板参数 - * @return void - */ - public function display($content, $vars = [], $config = []) - { - if ($vars) { - $this->data = $vars; - } - - if ($config) { - $this->config($config); - } - - $cacheFile = $this->config['cache_path'] . $this->config['cache_prefix'] . md5($content) . '.' . ltrim($this->config['cache_suffix'], '.'); - - if (!$this->checkCache($cacheFile)) { - // 缓存无效 模板编译 - $this->compiler($content, $cacheFile); - } - - // 读取编译存储 - $this->storage->read($cacheFile, $this->data); - } - - /** - * 设置布局 - * @access public - * @param mixed $name 布局模板名称 false 则关闭布局 - * @param string $replace 布局模板内容替换标识 - * @return object - */ - public function layout($name, $replace = '') - { - if (false === $name) { - // 关闭布局 - $this->config['layout_on'] = false; - } else { - // 开启布局 - $this->config['layout_on'] = true; - - // 名称必须为字符串 - if (is_string($name)) { - $this->config['layout_name'] = $name; - } - - if (!empty($replace)) { - $this->config['layout_item'] = $replace; - } - } - - return $this; - } - - /** - * 检查编译缓存是否有效 - * 如果无效则需要重新编译 - * @access private - * @param string $cacheFile 缓存文件名 - * @return boolean - */ - private function checkCache($cacheFile) - { - if (!$this->config['tpl_cache'] || !is_file($cacheFile) || !$handle = @fopen($cacheFile, "r")) { - return false; - } - - // 读取第一行 - preg_match('/\/\*(.+?)\*\//', fgets($handle), $matches); - - if (!isset($matches[1])) { - return false; - } - - $includeFile = unserialize($matches[1]); - - if (!is_array($includeFile)) { - return false; - } - - // 检查模板文件是否有更新 - foreach ($includeFile as $path => $time) { - if (is_file($path) && filemtime($path) > $time) { - // 模板文件如果有更新则缓存需要更新 - return false; - } - } - - // 检查编译存储是否有效 - return $this->storage->check($cacheFile, $this->config['cache_time']); - } - - /** - * 检查编译缓存是否存在 - * @access public - * @param string $cacheId 缓存的id - * @return boolean - */ - public function isCache($cacheId) - { - if ($cacheId && $this->config['display_cache']) { - // 缓存页面输出 - return $this->app['cache']->has($cacheId); - } - - return false; - } - - /** - * 编译模板文件内容 - * @access private - * @param string $content 模板内容 - * @param string $cacheFile 缓存文件名 - * @return void - */ - private function compiler(&$content, $cacheFile) - { - // 判断是否启用布局 - if ($this->config['layout_on']) { - if (false !== strpos($content, '{__NOLAYOUT__}')) { - // 可以单独定义不使用布局 - $content = str_replace('{__NOLAYOUT__}', '', $content); - } else { - // 读取布局模板 - $layoutFile = $this->parseTemplateFile($this->config['layout_name']); - - if ($layoutFile) { - // 替换布局的主体内容 - $content = str_replace($this->config['layout_item'], $content, file_get_contents($layoutFile)); - } - } - } else { - $content = str_replace('{__NOLAYOUT__}', '', $content); - } - - // 模板解析 - $this->parse($content); - - if ($this->config['strip_space']) { - /* 去除html空格与换行 */ - $find = ['~>\s+<~', '~>(\s+\n|\r)~']; - $replace = ['><', '>']; - $content = preg_replace($find, $replace, $content); - } - - // 优化生成的php代码 - $content = preg_replace('/\?>\s*<\?php\s(?!echo\b|\bend)/s', '', $content); - - // 模板过滤输出 - $replace = $this->config['tpl_replace_string']; - $content = str_replace(array_keys($replace), array_values($replace), $content); - - // 添加安全代码及模板引用记录 - $content = 'includeFile) . '*/ ?>' . "\n" . $content; - // 编译存储 - $this->storage->write($cacheFile, $content); - - $this->includeFile = []; - } - - /** - * 模板解析入口 - * 支持普通标签和TagLib解析 支持自定义标签库 - * @access public - * @param string $content 要解析的模板内容 - * @return void - */ - public function parse(&$content) - { - // 内容为空不解析 - if (empty($content)) { - return; - } - - // 替换literal标签内容 - $this->parseLiteral($content); - - // 解析继承 - $this->parseExtend($content); - - // 解析布局 - $this->parseLayout($content); - - // 检查include语法 - $this->parseInclude($content); - - // 替换包含文件中literal标签内容 - $this->parseLiteral($content); - - // 检查PHP语法 - $this->parsePhp($content); - - // 获取需要引入的标签库列表 - // 标签库只需要定义一次,允许引入多个一次 - // 一般放在文件的最前面 - // 格式: - // 当TAGLIB_LOAD配置为true时才会进行检测 - if ($this->config['taglib_load']) { - $tagLibs = $this->getIncludeTagLib($content); - - if (!empty($tagLibs)) { - // 对导入的TagLib进行解析 - foreach ($tagLibs as $tagLibName) { - $this->parseTagLib($tagLibName, $content); - } - } - } - - // 预先加载的标签库 无需在每个模板中使用taglib标签加载 但必须使用标签库XML前缀 - if ($this->config['taglib_pre_load']) { - $tagLibs = explode(',', $this->config['taglib_pre_load']); - - foreach ($tagLibs as $tag) { - $this->parseTagLib($tag, $content); - } - } - - // 内置标签库 无需使用taglib标签导入就可以使用 并且不需使用标签库XML前缀 - $tagLibs = explode(',', $this->config['taglib_build_in']); - - foreach ($tagLibs as $tag) { - $this->parseTagLib($tag, $content, true); - } - - // 解析普通模板标签 {$tagName} - $this->parseTag($content); - - // 还原被替换的Literal标签 - $this->parseLiteral($content, true); - } - - /** - * 检查PHP语法 - * @access private - * @param string $content 要解析的模板内容 - * @return void - * @throws \think\Exception - */ - private function parsePhp(&$content) - { - // 短标签的情况要将' . "\n", $content); - - // PHP语法检查 - if ($this->config['tpl_deny_php'] && false !== strpos($content, 'getRegex('layout'), $content, $matches)) { - // 替换Layout标签 - $content = str_replace($matches[0], '', $content); - // 解析Layout标签 - $array = $this->parseAttr($matches[0]); - - if (!$this->config['layout_on'] || $this->config['layout_name'] != $array['name']) { - // 读取布局模板 - $layoutFile = $this->parseTemplateFile($array['name']); - - if ($layoutFile) { - $replace = isset($array['replace']) ? $array['replace'] : $this->config['layout_item']; - // 替换布局的主体内容 - $content = str_replace($replace, $content, file_get_contents($layoutFile)); - } - } - } else { - $content = str_replace('{__NOLAYOUT__}', '', $content); - } - } - - /** - * 解析模板中的include标签 - * @access private - * @param string $content 要解析的模板内容 - * @return void - */ - private function parseInclude(&$content) - { - $regex = $this->getRegex('include'); - $func = function ($template) use (&$func, &$regex, &$content) { - if (preg_match_all($regex, $template, $matches, PREG_SET_ORDER)) { - foreach ($matches as $match) { - $array = $this->parseAttr($match[0]); - $file = $array['file']; - unset($array['file']); - - // 分析模板文件名并读取内容 - $parseStr = $this->parseTemplateName($file); - - foreach ($array as $k => $v) { - // 以$开头字符串转换成模板变量 - if (0 === strpos($v, '$')) { - $v = $this->get(substr($v, 1)); - } - - $parseStr = str_replace('[' . $k . ']', $v, $parseStr); - } - - $content = str_replace($match[0], $parseStr, $content); - // 再次对包含文件进行模板分析 - $func($parseStr); - } - unset($matches); - } - }; - - // 替换模板中的include标签 - $func($content); - } - - /** - * 解析模板中的extend标签 - * @access private - * @param string $content 要解析的模板内容 - * @return void - */ - private function parseExtend(&$content) - { - $regex = $this->getRegex('extend'); - $array = $blocks = $baseBlocks = []; - $extend = ''; - - $func = function ($template) use (&$func, &$regex, &$array, &$extend, &$blocks, &$baseBlocks) { - if (preg_match($regex, $template, $matches)) { - if (!isset($array[$matches['name']])) { - $array[$matches['name']] = 1; - // 读取继承模板 - $extend = $this->parseTemplateName($matches['name']); - - // 递归检查继承 - $func($extend); - - // 取得block标签内容 - $blocks = array_merge($blocks, $this->parseBlock($template)); - - return; - } - } else { - // 取得顶层模板block标签内容 - $baseBlocks = $this->parseBlock($template, true); - - if (empty($extend)) { - // 无extend标签但有block标签的情况 - $extend = $template; - } - } - }; - - $func($content); - - if (!empty($extend)) { - if ($baseBlocks) { - $children = []; - foreach ($baseBlocks as $name => $val) { - $replace = $val['content']; - - if (!empty($children[$name])) { - // 如果包含有子block标签 - foreach ($children[$name] as $key) { - $replace = str_replace($baseBlocks[$key]['begin'] . $baseBlocks[$key]['content'] . $baseBlocks[$key]['end'], $blocks[$key]['content'], $replace); - } - } - - if (isset($blocks[$name])) { - // 带有{__block__}表示与所继承模板的相应标签合并,而不是覆盖 - $replace = str_replace(['{__BLOCK__}', '{__block__}'], $replace, $blocks[$name]['content']); - - if (!empty($val['parent'])) { - // 如果不是最顶层的block标签 - $parent = $val['parent']; - - if (isset($blocks[$parent])) { - $blocks[$parent]['content'] = str_replace($blocks[$name]['begin'] . $blocks[$name]['content'] . $blocks[$name]['end'], $replace, $blocks[$parent]['content']); - } - - $blocks[$name]['content'] = $replace; - $children[$parent][] = $name; - - continue; - } - } elseif (!empty($val['parent'])) { - // 如果子标签没有被继承则用原值 - $children[$val['parent']][] = $name; - $blocks[$name] = $val; - } - - if (!$val['parent']) { - // 替换模板中的顶级block标签 - $extend = str_replace($val['begin'] . $val['content'] . $val['end'], $replace, $extend); - } - } - } - - $content = $extend; - unset($blocks, $baseBlocks); - } - } - - /** - * 替换页面中的literal标签 - * @access private - * @param string $content 模板内容 - * @param boolean $restore 是否为还原 - * @return void - */ - private function parseLiteral(&$content, $restore = false) - { - $regex = $this->getRegex($restore ? 'restoreliteral' : 'literal'); - - if (preg_match_all($regex, $content, $matches, PREG_SET_ORDER)) { - if (!$restore) { - $count = count($this->literal); - - // 替换literal标签 - foreach ($matches as $match) { - $this->literal[] = substr($match[0], strlen($match[1]), -strlen($match[2])); - $content = str_replace($match[0], "", $content); - $count++; - } - } else { - // 还原literal标签 - foreach ($matches as $match) { - $content = str_replace($match[0], $this->literal[$match[1]], $content); - } - - // 清空literal记录 - $this->literal = []; - } - - unset($matches); - } - } - - /** - * 获取模板中的block标签 - * @access private - * @param string $content 模板内容 - * @param boolean $sort 是否排序 - * @return array - */ - private function parseBlock(&$content, $sort = false) - { - $regex = $this->getRegex('block'); - $result = []; - - if (preg_match_all($regex, $content, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { - $right = $keys = []; - - foreach ($matches as $match) { - if (empty($match['name'][0])) { - if (count($right) > 0) { - $tag = array_pop($right); - $start = $tag['offset'] + strlen($tag['tag']); - $length = $match[0][1] - $start; - - $result[$tag['name']] = [ - 'begin' => $tag['tag'], - 'content' => substr($content, $start, $length), - 'end' => $match[0][0], - 'parent' => count($right) ? end($right)['name'] : '', - ]; - - $keys[$tag['name']] = $match[0][1]; - } - } else { - // 标签头压入栈 - $right[] = [ - 'name' => $match[2][0], - 'offset' => $match[0][1], - 'tag' => $match[0][0], - ]; - } - } - - unset($right, $matches); - - if ($sort) { - // 按block标签结束符在模板中的位置排序 - array_multisort($keys, $result); - } - } - - return $result; - } - - /** - * 搜索模板页面中包含的TagLib库 - * 并返回列表 - * @access private - * @param string $content 模板内容 - * @return array|null - */ - private function getIncludeTagLib(&$content) - { - // 搜索是否有TagLib标签 - if (preg_match($this->getRegex('taglib'), $content, $matches)) { - // 替换TagLib标签 - $content = str_replace($matches[0], '', $content); - - return explode(',', $matches['name']); - } - } - - /** - * TagLib库解析 - * @access public - * @param string $tagLib 要解析的标签库 - * @param string $content 要解析的模板内容 - * @param boolean $hide 是否隐藏标签库前缀 - * @return void - */ - public function parseTagLib($tagLib, &$content, $hide = false) - { - if (false !== strpos($tagLib, '\\')) { - // 支持指定标签库的命名空间 - $className = $tagLib; - $tagLib = substr($tagLib, strrpos($tagLib, '\\') + 1); - } else { - $className = '\\think\\template\\taglib\\' . ucwords($tagLib); - } - - $tLib = new $className($this); - - $tLib->parseTag($content, $hide ? '' : $tagLib); - } - - /** - * 分析标签属性 - * @access public - * @param string $str 属性字符串 - * @param string $name 不为空时返回指定的属性名 - * @return array - */ - public function parseAttr($str, $name = null) - { - $regex = '/\s+(?>(?P[\w-]+)\s*)=(?>\s*)([\"\'])(?P(?:(?!\\2).)*)\\2/is'; - $array = []; - - if (preg_match_all($regex, $str, $matches, PREG_SET_ORDER)) { - foreach ($matches as $match) { - $array[$match['name']] = $match['value']; - } - unset($matches); - } - - if (!empty($name) && isset($array[$name])) { - return $array[$name]; - } - - return $array; - } - - /** - * 模板标签解析 - * 格式: {TagName:args [|content] } - * @access private - * @param string $content 要解析的模板内容 - * @return void - */ - private function parseTag(&$content) - { - $regex = $this->getRegex('tag'); - - if (preg_match_all($regex, $content, $matches, PREG_SET_ORDER)) { - foreach ($matches as $match) { - $str = stripslashes($match[1]); - $flag = substr($str, 0, 1); - - switch ($flag) { - case '$': - // 解析模板变量 格式 {$varName} - // 是否带有?号 - if (false !== $pos = strpos($str, '?')) { - $array = preg_split('/([!=]={1,2}|(?<]={0,1})/', substr($str, 0, $pos), 2, PREG_SPLIT_DELIM_CAPTURE); - $name = $array[0]; - - $this->parseVar($name); - //$this->parseVarFunction($name); - - $str = trim(substr($str, $pos + 1)); - $this->parseVar($str); - $first = substr($str, 0, 1); - - if (strpos($name, ')')) { - // $name为对象或是自动识别,或者含有函数 - if (isset($array[1])) { - $this->parseVar($array[2]); - $name .= $array[1] . $array[2]; - } - - switch ($first) { - case '?': - $this->parseVarFunction($name); - $str = ''; - break; - case '=': - $str = ''; - break; - default: - $str = ''; - } - } else { - if (isset($array[1])) { - $express = true; - $this->parseVar($array[2]); - $express = $name . $array[1] . $array[2]; - } else { - $express = false; - } - - if (in_array($first, ['?', '=', ':'])) { - $str = trim(substr($str, 1)); - if ('$' == substr($str, 0, 1)) { - $str = $this->parseVarFunction($str); - } - } - - // $name为数组 - switch ($first) { - case '?': - // {$varname??'xxx'} $varname有定义则输出$varname,否则输出xxx - $str = 'parseVarFunction($name) . ' : ' . $str . '; ?>'; - break; - case '=': - // {$varname?='xxx'} $varname为真时才输出xxx - $str = ''; - break; - case ':': - // {$varname?:'xxx'} $varname为真时输出$varname,否则输出xxx - $str = 'parseVarFunction($name) . ' : ' . $str . '; ?>'; - break; - default: - if (strpos($str, ':')) { - // {$varname ? 'a' : 'b'} $varname为真时输出a,否则输出b - $array = explode(':', $str, 2); - - $array[0] = '$' == substr(trim($array[0]), 0, 1) ? $this->parseVarFunction($array[0]) : $array[0]; - $array[1] = '$' == substr(trim($array[1]), 0, 1) ? $this->parseVarFunction($array[1]) : $array[1]; - - $str = implode(' : ', $array); - } - $str = ''; - } - } - } else { - $this->parseVar($str); - $this->parseVarFunction($str); - $str = ''; - } - break; - case ':': - // 输出某个函数的结果 - $str = substr($str, 1); - $this->parseVar($str); - $str = ''; - break; - case '~': - // 执行某个函数 - $str = substr($str, 1); - $this->parseVar($str); - $str = ''; - break; - case '-': - case '+': - // 输出计算 - $this->parseVar($str); - $str = ''; - break; - case '/': - // 注释标签 - $flag2 = substr($str, 1, 1); - if ('/' == $flag2 || ('*' == $flag2 && substr(rtrim($str), -2) == '*/')) { - $str = ''; - } - break; - default: - // 未识别的标签直接返回 - $str = $this->config['tpl_begin'] . $str . $this->config['tpl_end']; - break; - } - - $content = str_replace($match[0], $str, $content); - } - - unset($matches); - } - } - - /** - * 模板变量解析,支持使用函数 - * 格式: {$varname|function1|function2=arg1,arg2} - * @access public - * @param string $varStr 变量数据 - * @return void - */ - public function parseVar(&$varStr) - { - $varStr = trim($varStr); - - if (preg_match_all('/\$[a-zA-Z_](?>\w*)(?:[:\.][0-9a-zA-Z_](?>\w*))+/', $varStr, $matches, PREG_OFFSET_CAPTURE)) { - static $_varParseList = []; - - while ($matches[0]) { - $match = array_pop($matches[0]); - - //如果已经解析过该变量字串,则直接返回变量值 - if (isset($_varParseList[$match[0]])) { - $parseStr = $_varParseList[$match[0]]; - } else { - if (strpos($match[0], '.')) { - $vars = explode('.', $match[0]); - $first = array_shift($vars); - - if ('$Think' == $first) { - // 所有以Think.打头的以特殊变量对待 无需模板赋值就可以输出 - $parseStr = $this->parseThinkVar($vars); - } elseif ('$Request' == $first) { - // 获取Request请求对象参数 - $method = array_shift($vars); - if (!empty($vars)) { - $params = implode('.', $vars); - if ('true' != $params) { - $params = '\'' . $params . '\''; - } - } else { - $params = ''; - } - - $parseStr = 'app(\'request\')->' . $method . '(' . $params . ')'; - } else { - switch ($this->config['tpl_var_identify']) { - case 'array': // 识别为数组 - $parseStr = $first . '[\'' . implode('\'][\'', $vars) . '\']'; - break; - case 'obj': // 识别为对象 - $parseStr = $first . '->' . implode('->', $vars); - break; - default: // 自动判断数组或对象 - $parseStr = '(is_array(' . $first . ')?' . $first . '[\'' . implode('\'][\'', $vars) . '\']:' . $first . '->' . implode('->', $vars) . ')'; - } - } - } else { - $parseStr = str_replace(':', '->', $match[0]); - } - - $_varParseList[$match[0]] = $parseStr; - } - - $varStr = substr_replace($varStr, $parseStr, $match[1], strlen($match[0])); - } - unset($matches); - } - } - - /** - * 对模板中使用了函数的变量进行解析 - * 格式 {$varname|function1|function2=arg1,arg2} - * @access public - * @param string $varStr 变量字符串 - * @param bool $autoescape 自动转义 - * @return void - */ - public function parseVarFunction(&$varStr, $autoescape = true) - { - if (!$autoescape && false === strpos($varStr, '|')) { - return $varStr; - } elseif ($autoescape && !preg_match('/\|(\s)?raw(\||\s)?/i', $varStr)) { - $varStr .= '|' . $this->config['default_filter']; - } - - static $_varFunctionList = []; - - $_key = md5($varStr); - - //如果已经解析过该变量字串,则直接返回变量值 - if (isset($_varFunctionList[$_key])) { - $varStr = $_varFunctionList[$_key]; - } else { - $varArray = explode('|', $varStr); - - // 取得变量名称 - $name = trim(array_shift($varArray)); - - // 对变量使用函数 - $length = count($varArray); - - // 取得模板禁止使用函数列表 - $template_deny_funs = explode(',', $this->config['tpl_deny_func_list']); - - for ($i = 0; $i < $length; $i++) { - $args = explode('=', $varArray[$i], 2); - - // 模板函数过滤 - $fun = trim($args[0]); - if (in_array($fun, $template_deny_funs)) { - continue; - } - - switch (strtolower($fun)) { - case 'raw': - break; - case 'date': - $name = 'date(' . $args[1] . ',!is_numeric(' . $name . ')? strtotime(' . $name . ') : ' . $name . ')'; - break; - case 'first': - $name = 'current(' . $name . ')'; - break; - case 'last': - $name = 'end(' . $name . ')'; - break; - case 'upper': - $name = 'strtoupper(' . $name . ')'; - break; - case 'lower': - $name = 'strtolower(' . $name . ')'; - break; - case 'format': - $name = 'sprintf(' . $args[1] . ',' . $name . ')'; - break; - case 'default': // 特殊模板函数 - if (false === strpos($name, '(')) { - $name = '(isset(' . $name . ') && (' . $name . ' !== \'\')?' . $name . ':' . $args[1] . ')'; - } else { - $name = '(' . $name . ' ?: ' . $args[1] . ')'; - } - break; - default: // 通用模板函数 - if (isset($args[1])) { - if (strstr($args[1], '###')) { - $args[1] = str_replace('###', $name, $args[1]); - $name = "$fun($args[1])"; - } else { - $name = "$fun($name,$args[1])"; - } - } else { - if (!empty($args[0])) { - $name = "$fun($name)"; - } - } - } - } - - $_varFunctionList[$_key] = $name; - $varStr = $name; - } - return $varStr; - } - - /** - * 特殊模板变量解析 - * 格式 以 $Think. 打头的变量属于特殊模板变量 - * @access public - * @param array $vars 变量数组 - * @return string - */ - public function parseThinkVar($vars) - { - $type = strtoupper(trim(array_shift($vars))); - $param = implode('.', $vars); - - if ($vars) { - switch ($type) { - case 'SERVER': - $parseStr = 'app(\'request\')->server(\'' . $param . '\')'; - break; - case 'GET': - $parseStr = 'app(\'request\')->get(\'' . $param . '\')'; - break; - case 'POST': - $parseStr = 'app(\'request\')->post(\'' . $param . '\')'; - break; - case 'COOKIE': - $parseStr = 'app(\'cookie\')->get(\'' . $param . '\')'; - break; - case 'SESSION': - $parseStr = 'app(\'session\')->get(\'' . $param . '\')'; - break; - case 'ENV': - $parseStr = 'app(\'request\')->env(\'' . $param . '\')'; - break; - case 'REQUEST': - $parseStr = 'app(\'request\')->request(\'' . $param . '\')'; - break; - case 'CONST': - $parseStr = strtoupper($param); - break; - case 'LANG': - $parseStr = 'app(\'lang\')->get(\'' . $param . '\')'; - break; - case 'CONFIG': - $parseStr = 'app(\'config\')->get(\'' . $param . '\')'; - break; - default: - $parseStr = '\'\''; - break; - } - } else { - switch ($type) { - case 'NOW': - $parseStr = "date('Y-m-d g:i a',time())"; - break; - case 'VERSION': - $parseStr = 'app()->version()'; - break; - case 'LDELIM': - $parseStr = '\'' . ltrim($this->config['tpl_begin'], '\\') . '\''; - break; - case 'RDELIM': - $parseStr = '\'' . ltrim($this->config['tpl_end'], '\\') . '\''; - break; - default: - if (defined($type)) { - $parseStr = $type; - } else { - $parseStr = ''; - } - } - } - - return $parseStr; - } - - /** - * 分析加载的模板文件并读取内容 支持多个模板文件读取 - * @access private - * @param string $templateName 模板文件名 - * @return string - */ - private function parseTemplateName($templateName) - { - $array = explode(',', $templateName); - $parseStr = ''; - - foreach ($array as $templateName) { - if (empty($templateName)) { - continue; - } - - if (0 === strpos($templateName, '$')) { - //支持加载变量文件名 - $templateName = $this->get(substr($templateName, 1)); - } - - $template = $this->parseTemplateFile($templateName); - - if ($template) { - // 获取模板文件内容 - $parseStr .= file_get_contents($template); - } - } - - return $parseStr; - } - - /** - * 解析模板文件名 - * @access private - * @param string $template 文件名 - * @return string|false - */ - private function parseTemplateFile($template) - { - if ('' == pathinfo($template, PATHINFO_EXTENSION)) { - if (strpos($template, '@')) { - list($module, $template) = explode('@', $template); - } - - if (0 !== strpos($template, '/')) { - $template = str_replace(['/', ':'], $this->config['view_depr'], $template); - } else { - $template = str_replace(['/', ':'], $this->config['view_depr'], substr($template, 1)); - } - - if ($this->config['view_base']) { - $module = isset($module) ? $module : $this->app['request']->module(); - $path = $this->config['view_base'] . ($module ? $module . DIRECTORY_SEPARATOR : ''); - } else { - $path = isset($module) ? $this->app->getAppPath() . $module . DIRECTORY_SEPARATOR . basename($this->config['view_path']) . DIRECTORY_SEPARATOR : $this->config['view_path']; - } - - $template = $path . $template . '.' . ltrim($this->config['view_suffix'], '.'); - } - - if (is_file($template)) { - // 记录模板文件的更新时间 - $this->includeFile[$template] = filemtime($template); - - return $template; - } - - throw new TemplateNotFoundException('template not exists:' . $template, $template); - } - - /** - * 按标签生成正则 - * @access private - * @param string $tagName 标签名 - * @return string - */ - private function getRegex($tagName) - { - $regex = ''; - if ('tag' == $tagName) { - $begin = $this->config['tpl_begin']; - $end = $this->config['tpl_end']; - - if (strlen(ltrim($begin, '\\')) == 1 && strlen(ltrim($end, '\\')) == 1) { - $regex = $begin . '((?:[\$]{1,2}[a-wA-w_]|[\:\~][\$a-wA-w_]|[+]{2}[\$][a-wA-w_]|[-]{2}[\$][a-wA-w_]|\/[\*\/])(?>[^' . $end . ']*))' . $end; - } else { - $regex = $begin . '((?:[\$]{1,2}[a-wA-w_]|[\:\~][\$a-wA-w_]|[+]{2}[\$][a-wA-w_]|[-]{2}[\$][a-wA-w_]|\/[\*\/])(?>(?:(?!' . $end . ').)*))' . $end; - } - } else { - $begin = $this->config['taglib_begin']; - $end = $this->config['taglib_end']; - $single = strlen(ltrim($begin, '\\')) == 1 && strlen(ltrim($end, '\\')) == 1 ? true : false; - - switch ($tagName) { - case 'block': - if ($single) { - $regex = $begin . '(?:' . $tagName . '\b\s+(?>(?:(?!name=).)*)\bname=([\'\"])(?P[\$\w\-\/\.]+)\\1(?>[^' . $end . ']*)|\/' . $tagName . ')' . $end; - } else { - $regex = $begin . '(?:' . $tagName . '\b\s+(?>(?:(?!name=).)*)\bname=([\'\"])(?P[\$\w\-\/\.]+)\\1(?>(?:(?!' . $end . ').)*)|\/' . $tagName . ')' . $end; - } - break; - case 'literal': - if ($single) { - $regex = '(' . $begin . $tagName . '\b(?>[^' . $end . ']*)' . $end . ')'; - $regex .= '(?:(?>[^' . $begin . ']*)(?>(?!' . $begin . '(?>' . $tagName . '\b[^' . $end . ']*|\/' . $tagName . ')' . $end . ')' . $begin . '[^' . $begin . ']*)*)'; - $regex .= '(' . $begin . '\/' . $tagName . $end . ')'; - } else { - $regex = '(' . $begin . $tagName . '\b(?>(?:(?!' . $end . ').)*)' . $end . ')'; - $regex .= '(?:(?>(?:(?!' . $begin . ').)*)(?>(?!' . $begin . '(?>' . $tagName . '\b(?>(?:(?!' . $end . ').)*)|\/' . $tagName . ')' . $end . ')' . $begin . '(?>(?:(?!' . $begin . ').)*))*)'; - $regex .= '(' . $begin . '\/' . $tagName . $end . ')'; - } - break; - case 'restoreliteral': - $regex = ''; - break; - case 'include': - $name = 'file'; - case 'taglib': - case 'layout': - case 'extend': - if (empty($name)) { - $name = 'name'; - } - if ($single) { - $regex = $begin . $tagName . '\b\s+(?>(?:(?!' . $name . '=).)*)\b' . $name . '=([\'\"])(?P[\$\w\-\/\.\:@,\\\\]+)\\1(?>[^' . $end . ']*)' . $end; - } else { - $regex = $begin . $tagName . '\b\s+(?>(?:(?!' . $name . '=).)*)\b' . $name . '=([\'\"])(?P[\$\w\-\/\.\:@,\\\\]+)\\1(?>(?:(?!' . $end . ').)*)' . $end; - } - break; - } - } - - return '/' . $regex . '/is'; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app'], $data['storage']); - - return $data; - } -} diff --git a/thinkphp/library/think/Url.php b/thinkphp/library/think/Url.php deleted file mode 100644 index acd510aa..00000000 --- a/thinkphp/library/think/Url.php +++ /dev/null @@ -1,412 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class Url -{ - /** - * 配置参数 - * @var array - */ - protected $config = []; - - /** - * ROOT地址 - * @var string - */ - protected $root; - - /** - * 绑定检查 - * @var bool - */ - protected $bindCheck; - - /** - * 应用对象 - * @var App - */ - protected $app; - - public function __construct(App $app, array $config = []) - { - $this->app = $app; - $this->config = $config; - - if (is_file($app->getRuntimePath() . 'route.php')) { - // 读取路由映射文件 - $app['route']->setName(include $app->getRuntimePath() . 'route.php'); - } - } - - /** - * 初始化 - * @access public - * @param array $config - * @return void - */ - public function init(array $config = []) - { - $this->config = array_merge($this->config, array_change_key_case($config)); - } - - public static function __make(App $app, Config $config) - { - return new static($app, $config->pull('app')); - } - - /** - * URL生成 支持路由反射 - * @access public - * @param string $url 路由地址 - * @param string|array $vars 参数(支持数组和字符串)a=val&b=val2... ['a'=>'val1', 'b'=>'val2'] - * @param string|bool $suffix 伪静态后缀,默认为true表示获取配置值 - * @param boolean|string $domain 是否显示域名 或者直接传入域名 - * @return string - */ - public function build($url = '', $vars = '', $suffix = true, $domain = false) - { - // 解析URL - if (0 === strpos($url, '[') && $pos = strpos($url, ']')) { - // [name] 表示使用路由命名标识生成URL - $name = substr($url, 1, $pos - 1); - $url = 'name' . substr($url, $pos + 1); - } - - if (false === strpos($url, '://') && 0 !== strpos($url, '/')) { - $info = parse_url($url); - $url = !empty($info['path']) ? $info['path'] : ''; - - if (isset($info['fragment'])) { - // 解析锚点 - $anchor = $info['fragment']; - - if (false !== strpos($anchor, '?')) { - // 解析参数 - list($anchor, $info['query']) = explode('?', $anchor, 2); - } - - if (false !== strpos($anchor, '@')) { - // 解析域名 - list($anchor, $domain) = explode('@', $anchor, 2); - } - } elseif (strpos($url, '@') && false === strpos($url, '\\')) { - // 解析域名 - list($url, $domain) = explode('@', $url, 2); - } - } - - // 解析参数 - if (is_string($vars)) { - // aaa=1&bbb=2 转换成数组 - parse_str($vars, $vars); - } - - if ($url) { - $checkName = isset($name) ? $name : $url . (isset($info['query']) ? '?' . $info['query'] : ''); - $checkDomain = $domain && is_string($domain) ? $domain : null; - - $rule = $this->app['route']->getName($checkName, $checkDomain); - - if (is_null($rule) && isset($info['query'])) { - $rule = $this->app['route']->getName($url); - // 解析地址里面参数 合并到vars - parse_str($info['query'], $params); - $vars = array_merge($params, $vars); - unset($info['query']); - } - } - - if (!empty($rule) && $match = $this->getRuleUrl($rule, $vars, $domain)) { - // 匹配路由命名标识 - $url = $match[0]; - - if ($domain) { - $domain = $match[1]; - } - - if (!is_null($match[2])) { - $suffix = $match[2]; - } - } elseif (!empty($rule) && isset($name)) { - throw new \InvalidArgumentException('route name not exists:' . $name); - } else { - // 检查别名路由 - $alias = $this->app['route']->getAlias(); - $matchAlias = false; - - if ($alias) { - // 别名路由解析 - foreach ($alias as $key => $item) { - $val = $item->getRoute(); - - if (0 === strpos($url, $val)) { - $url = $key . substr($url, strlen($val)); - $matchAlias = true; - break; - } - } - } - - if (!$matchAlias) { - // 路由标识不存在 直接解析 - $url = $this->parseUrl($url); - } - - // 检测URL绑定 - if (!$this->bindCheck) { - $bind = $this->app['route']->getBind($domain && is_string($domain) ? $domain : null); - - if ($bind && 0 === strpos($url, $bind)) { - $url = substr($url, strlen($bind) + 1); - } else { - $binds = $this->app['route']->getBind(true); - - foreach ($binds as $key => $val) { - if (is_string($val) && 0 === strpos($url, $val) && substr_count($val, '/') > 1) { - $url = substr($url, strlen($val) + 1); - $domain = $key; - break; - } - } - } - } - - if (isset($info['query'])) { - // 解析地址里面参数 合并到vars - parse_str($info['query'], $params); - $vars = array_merge($params, $vars); - } - } - - // 还原URL分隔符 - $depr = $this->config['pathinfo_depr']; - $url = str_replace('/', $depr, $url); - - // URL后缀 - if ('/' == substr($url, -1) || '' == $url) { - $suffix = ''; - } else { - $suffix = $this->parseSuffix($suffix); - } - - // 锚点 - $anchor = !empty($anchor) ? '#' . $anchor : ''; - - // 参数组装 - if (!empty($vars)) { - // 添加参数 - if ($this->config['url_common_param']) { - $vars = http_build_query($vars); - $url .= $suffix . '?' . $vars . $anchor; - } else { - $paramType = $this->config['url_param_type']; - - foreach ($vars as $var => $val) { - if ('' !== trim($val)) { - if ($paramType) { - $url .= $depr . urlencode($val); - } else { - $url .= $depr . $var . $depr . urlencode($val); - } - } - } - - $url .= $suffix . $anchor; - } - } else { - $url .= $suffix . $anchor; - } - - // 检测域名 - $domain = $this->parseDomain($url, $domain); - - // URL组装 - $url = $domain . rtrim($this->root ?: $this->app['request']->root(), '/') . '/' . ltrim($url, '/'); - - $this->bindCheck = false; - - return $url; - } - - // 直接解析URL地址 - protected function parseUrl($url) - { - $request = $this->app['request']; - - if (0 === strpos($url, '/')) { - // 直接作为路由地址解析 - $url = substr($url, 1); - } elseif (false !== strpos($url, '\\')) { - // 解析到类 - $url = ltrim(str_replace('\\', '/', $url), '/'); - } elseif (0 === strpos($url, '@')) { - // 解析到控制器 - $url = substr($url, 1); - } else { - // 解析到 模块/控制器/操作 - $module = $request->module(); - $module = $module ? $module . '/' : ''; - $controller = $request->controller(); - - if ('' == $url) { - $action = $request->action(); - } else { - $path = explode('/', $url); - $action = array_pop($path); - $controller = empty($path) ? $controller : array_pop($path); - $module = empty($path) ? $module : array_pop($path) . '/'; - } - - if ($this->config['url_convert']) { - $action = strtolower($action); - $controller = Loader::parseName($controller); - } - - $url = $module . $controller . '/' . $action; - } - - return $url; - } - - // 检测域名 - protected function parseDomain(&$url, $domain) - { - if (!$domain) { - return ''; - } - - $rootDomain = $this->app['request']->rootDomain(); - if (true === $domain) { - // 自动判断域名 - $domain = $this->config['app_host'] ?: $this->app['request']->host(); - - $domains = $this->app['route']->getDomains(); - - if ($domains) { - $route_domain = array_keys($domains); - foreach ($route_domain as $domain_prefix) { - if (0 === strpos($domain_prefix, '*.') && strpos($domain, ltrim($domain_prefix, '*.')) !== false) { - foreach ($domains as $key => $rule) { - $rule = is_array($rule) ? $rule[0] : $rule; - if (is_string($rule) && false === strpos($key, '*') && 0 === strpos($url, $rule)) { - $url = ltrim($url, $rule); - $domain = $key; - - // 生成对应子域名 - if (!empty($rootDomain)) { - $domain .= $rootDomain; - } - break; - } elseif (false !== strpos($key, '*')) { - if (!empty($rootDomain)) { - $domain .= $rootDomain; - } - - break; - } - } - } - } - } - } elseif (0 !== strpos($domain, $rootDomain) && false === strpos($domain, '.')) { - $domain .= '.' . $rootDomain; - } - - if (false !== strpos($domain, '://')) { - $scheme = ''; - } else { - $scheme = $this->app['request']->isSsl() || $this->config['is_https'] ? 'https://' : 'http://'; - - } - - return $scheme . $domain; - } - - // 解析URL后缀 - protected function parseSuffix($suffix) - { - if ($suffix) { - $suffix = true === $suffix ? $this->config['url_html_suffix'] : $suffix; - - if ($pos = strpos($suffix, '|')) { - $suffix = substr($suffix, 0, $pos); - } - } - - return (empty($suffix) || 0 === strpos($suffix, '.')) ? $suffix : '.' . $suffix; - } - - // 匹配路由地址 - public function getRuleUrl($rule, &$vars = [], $allowDomain = '') - { - $port = $this->app['request']->port(); - foreach ($rule as $item) { - list($url, $pattern, $domain, $suffix, $method) = $item; - - if (is_string($allowDomain) && $domain != $allowDomain) { - continue; - } - - if ($port && !in_array($port, [80, 443])) { - $domain .= ':' . $port; - } - - if (empty($pattern)) { - return [rtrim($url, '?/-'), $domain, $suffix]; - } - - $type = $this->config['url_common_param']; - $keys = []; - - foreach ($pattern as $key => $val) { - if (isset($vars[$key])) { - $url = str_replace(['[:' . $key . ']', '<' . $key . '?>', ':' . $key, '<' . $key . '>'], $type ? $vars[$key] : urlencode($vars[$key]), $url); - $keys[] = $key; - $url = str_replace(['/?', '-?'], ['/', '-'], $url); - $result = [rtrim($url, '?/-'), $domain, $suffix]; - } elseif (2 == $val) { - $url = str_replace(['/[:' . $key . ']', '[:' . $key . ']', '<' . $key . '?>'], '', $url); - $url = str_replace(['/?', '-?'], ['/', '-'], $url); - $result = [rtrim($url, '?/-'), $domain, $suffix]; - } else { - $result = null; - $keys = []; - break; - } - } - - $vars = array_diff_key($vars, array_flip($keys)); - - if (isset($result)) { - return $result; - } - } - - return false; - } - - // 指定当前生成URL地址的root - public function root($root) - { - $this->root = $root; - $this->app['request']->setRoot($root); - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app']); - - return $data; - } -} diff --git a/thinkphp/library/think/Validate.php b/thinkphp/library/think/Validate.php deleted file mode 100644 index 5fde7f31..00000000 --- a/thinkphp/library/think/Validate.php +++ /dev/null @@ -1,1556 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\exception\ClassNotFoundException; -use think\validate\ValidateRule; - -class Validate -{ - - /** - * 自定义验证类型 - * @var array - */ - protected static $type = []; - - /** - * 验证类型别名 - * @var array - */ - protected $alias = [ - '>' => 'gt', '>=' => 'egt', '<' => 'lt', '<=' => 'elt', '=' => 'eq', 'same' => 'eq', - ]; - - /** - * 当前验证规则 - * @var array - */ - protected $rule = []; - - /** - * 验证提示信息 - * @var array - */ - protected $message = []; - - /** - * 验证字段描述 - * @var array - */ - protected $field = []; - - /** - * 默认规则提示 - * @var array - */ - protected static $typeMsg = [ - 'require' => ':attribute require', - 'must' => ':attribute must', - 'number' => ':attribute must be numeric', - 'integer' => ':attribute must be integer', - 'float' => ':attribute must be float', - 'boolean' => ':attribute must be bool', - 'email' => ':attribute not a valid email address', - 'mobile' => ':attribute not a valid mobile', - 'array' => ':attribute must be a array', - 'accepted' => ':attribute must be yes,on or 1', - 'date' => ':attribute not a valid datetime', - 'file' => ':attribute not a valid file', - 'image' => ':attribute not a valid image', - 'alpha' => ':attribute must be alpha', - 'alphaNum' => ':attribute must be alpha-numeric', - 'alphaDash' => ':attribute must be alpha-numeric, dash, underscore', - 'activeUrl' => ':attribute not a valid domain or ip', - 'chs' => ':attribute must be chinese', - 'chsAlpha' => ':attribute must be chinese or alpha', - 'chsAlphaNum' => ':attribute must be chinese,alpha-numeric', - 'chsDash' => ':attribute must be chinese,alpha-numeric,underscore, dash', - 'url' => ':attribute not a valid url', - 'ip' => ':attribute not a valid ip', - 'dateFormat' => ':attribute must be dateFormat of :rule', - 'in' => ':attribute must be in :rule', - 'notIn' => ':attribute be notin :rule', - 'between' => ':attribute must between :1 - :2', - 'notBetween' => ':attribute not between :1 - :2', - 'length' => 'size of :attribute must be :rule', - 'max' => 'max size of :attribute must be :rule', - 'min' => 'min size of :attribute must be :rule', - 'after' => ':attribute cannot be less than :rule', - 'before' => ':attribute cannot exceed :rule', - 'afterWith' => ':attribute cannot be less than :rule', - 'beforeWith' => ':attribute cannot exceed :rule', - 'expire' => ':attribute not within :rule', - 'allowIp' => 'access IP is not allowed', - 'denyIp' => 'access IP denied', - 'confirm' => ':attribute out of accord with :2', - 'different' => ':attribute cannot be same with :2', - 'egt' => ':attribute must greater than or equal :rule', - 'gt' => ':attribute must greater than :rule', - 'elt' => ':attribute must less than or equal :rule', - 'lt' => ':attribute must less than :rule', - 'eq' => ':attribute must equal :rule', - 'unique' => ':attribute has exists', - 'regex' => ':attribute not conform to the rules', - 'method' => 'invalid Request method', - 'token' => 'invalid token', - 'fileSize' => 'filesize not match', - 'fileExt' => 'extensions to upload is not allowed', - 'fileMime' => 'mimetype to upload is not allowed', - ]; - - /** - * 当前验证场景 - * @var array - */ - protected $currentScene = null; - - /** - * Filter_var 规则 - * @var array - */ - protected $filter = [ - 'email' => FILTER_VALIDATE_EMAIL, - 'ip' => [FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_IPV6], - 'integer' => FILTER_VALIDATE_INT, - 'url' => FILTER_VALIDATE_URL, - 'macAddr' => FILTER_VALIDATE_MAC, - 'float' => FILTER_VALIDATE_FLOAT, - ]; - - /** - * 内置正则验证规则 - * @var array - */ - protected $defaultRegex = [ - 'alphaDash' => '/^[A-Za-z0-9\-\_]+$/', - 'chs' => '/^[\x{4e00}-\x{9fa5}]+$/u', - 'chsAlpha' => '/^[\x{4e00}-\x{9fa5}a-zA-Z]+$/u', - 'chsAlphaNum' => '/^[\x{4e00}-\x{9fa5}a-zA-Z0-9]+$/u', - 'chsDash' => '/^[\x{4e00}-\x{9fa5}a-zA-Z0-9\_\-]+$/u', - 'mobile' => '/^1[3-9][0-9]\d{8}$/', - 'idCard' => '/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/', - 'zip' => '/\d{6}/', - ]; - - /** - * 验证场景定义 - * @var array - */ - protected $scene = []; - - /** - * 验证失败错误信息 - * @var array - */ - protected $error = []; - - /** - * 是否批量验证 - * @var bool - */ - protected $batch = false; - - /** - * 场景需要验证的规则 - * @var array - */ - protected $only = []; - - /** - * 场景需要移除的验证规则 - * @var array - */ - protected $remove = []; - - /** - * 场景需要追加的验证规则 - * @var array - */ - protected $append = []; - - /** - * 验证正则定义 - * @var array - */ - protected $regex = []; - - /** - * 架构函数 - * @access public - * @param array $rules 验证规则 - * @param array $message 验证提示信息 - * @param array $field 验证字段描述信息 - */ - public function __construct(array $rules = [], array $message = [], array $field = []) - { - $this->rule = $rules + $this->rule; - $this->message = array_merge($this->message, $message); - $this->field = array_merge($this->field, $field); - } - - /** - * 创建一个验证器类 - * @access public - * @param array $rules 验证规则 - * @param array $message 验证提示信息 - * @param array $field 验证字段描述信息 - * @return Validate - */ - public static function make(array $rules = [], array $message = [], array $field = []) - { - return new self($rules, $message, $field); - } - - /** - * 添加字段验证规则 - * @access protected - * @param string|array $name 字段名称或者规则数组 - * @param mixed $rule 验证规则或者字段描述信息 - * @return $this - */ - public function rule($name, $rule = '') - { - if (is_array($name)) { - $this->rule = $name + $this->rule; - if (is_array($rule)) { - $this->field = array_merge($this->field, $rule); - } - } else { - $this->rule[$name] = $rule; - } - - return $this; - } - - /** - * 注册扩展验证(类型)规则 - * @access public - * @param string $type 验证规则类型 - * @param mixed $callback callback方法(或闭包) - * @return void - */ - public static function extend($type, $callback = null) - { - if (is_array($type)) { - self::$type = array_merge(self::$type, $type); - } else { - self::$type[$type] = $callback; - } - } - - /** - * 设置验证规则的默认提示信息 - * @access public - * @param string|array $type 验证规则类型名称或者数组 - * @param string $msg 验证提示信息 - * @return void - */ - public static function setTypeMsg($type, $msg = null) - { - if (is_array($type)) { - self::$typeMsg = array_merge(self::$typeMsg, $type); - } else { - self::$typeMsg[$type] = $msg; - } - } - - /** - * 设置提示信息 - * @access public - * @param string|array $name 字段名称 - * @param string $message 提示信息 - * @return Validate - */ - public function message($name, $message = '') - { - if (is_array($name)) { - $this->message = array_merge($this->message, $name); - } else { - $this->message[$name] = $message; - } - - return $this; - } - - /** - * 设置验证场景 - * @access public - * @param string $name 场景名 - * @return $this - */ - public function scene($name) - { - // 设置当前场景 - $this->currentScene = $name; - - return $this; - } - - /** - * 判断是否存在某个验证场景 - * @access public - * @param string $name 场景名 - * @return bool - */ - public function hasScene($name) - { - return isset($this->scene[$name]) || method_exists($this, 'scene' . $name); - } - - /** - * 设置批量验证 - * @access public - * @param bool $batch 是否批量验证 - * @return $this - */ - public function batch($batch = true) - { - $this->batch = $batch; - - return $this; - } - - /** - * 指定需要验证的字段列表 - * @access public - * @param array $fields 字段名 - * @return $this - */ - public function only($fields) - { - $this->only = $fields; - - return $this; - } - - /** - * 移除某个字段的验证规则 - * @access public - * @param string|array $field 字段名 - * @param mixed $rule 验证规则 null 移除所有规则 - * @return $this - */ - public function remove($field, $rule = null) - { - if (is_array($field)) { - foreach ($field as $key => $rule) { - if (is_int($key)) { - $this->remove($rule); - } else { - $this->remove($key, $rule); - } - } - } else { - if (is_string($rule)) { - $rule = explode('|', $rule); - } - - $this->remove[$field] = $rule; - } - - return $this; - } - - /** - * 追加某个字段的验证规则 - * @access public - * @param string|array $field 字段名 - * @param mixed $rule 验证规则 - * @return $this - */ - public function append($field, $rule = null) - { - if (is_array($field)) { - foreach ($field as $key => $rule) { - $this->append($key, $rule); - } - } else { - if (is_string($rule)) { - $rule = explode('|', $rule); - } - - $this->append[$field] = $rule; - } - - return $this; - } - - /** - * 数据自动验证 - * @access public - * @param array $data 数据 - * @param mixed $rules 验证规则 - * @param string $scene 验证场景 - * @return bool - */ - public function check($data, $rules = [], $scene = '') - { - $this->error = []; - - if (empty($rules)) { - // 读取验证规则 - $rules = $this->rule; - } - - // 获取场景定义 - $this->getScene($scene); - - foreach ($this->append as $key => $rule) { - if (!isset($rules[$key])) { - $rules[$key] = $rule; - unset($this->append[$key]); - } - } - - foreach ($rules as $key => $rule) { - // field => 'rule1|rule2...' field => ['rule1','rule2',...] - if (strpos($key, '|')) { - // 字段|描述 用于指定属性名称 - list($key, $title) = explode('|', $key); - } else { - $title = isset($this->field[$key]) ? $this->field[$key] : $key; - } - - // 场景检测 - if (!empty($this->only) && !in_array($key, $this->only)) { - continue; - } - - // 获取数据 支持多维数组 - $value = $this->getDataValue($data, $key); - - // 字段验证 - if ($rule instanceof \Closure) { - $result = call_user_func_array($rule, [$value, $data, $title, $this]); - } elseif ($rule instanceof ValidateRule) { - // 验证因子 - $result = $this->checkItem($key, $value, $rule->getRule(), $data, $rule->getTitle() ?: $title, $rule->getMsg()); - } else { - $result = $this->checkItem($key, $value, $rule, $data, $title); - } - - if (true !== $result) { - // 没有返回true 则表示验证失败 - if (!empty($this->batch)) { - // 批量验证 - if (is_array($result)) { - $this->error = array_merge($this->error, $result); - } else { - $this->error[$key] = $result; - } - } else { - $this->error = $result; - return false; - } - } - } - - return !empty($this->error) ? false : true; - } - - /** - * 根据验证规则验证数据 - * @access public - * @param mixed $value 字段值 - * @param mixed $rules 验证规则 - * @return bool - */ - public function checkRule($value, $rules) - { - if ($rules instanceof \Closure) { - return call_user_func_array($rules, [$value]); - } elseif ($rules instanceof ValidateRule) { - $rules = $rules->getRule(); - } elseif (is_string($rules)) { - $rules = explode('|', $rules); - } - - foreach ($rules as $key => $rule) { - if ($rule instanceof \Closure) { - $result = call_user_func_array($rule, [$value]); - } else { - // 判断验证类型 - list($type, $rule) = $this->getValidateType($key, $rule); - - $callback = isset(self::$type[$type]) ? self::$type[$type] : [$this, $type]; - - $result = call_user_func_array($callback, [$value, $rule]); - } - - if (true !== $result) { - return $result; - } - } - - return true; - } - - /** - * 验证单个字段规则 - * @access protected - * @param string $field 字段名 - * @param mixed $value 字段值 - * @param mixed $rules 验证规则 - * @param array $data 数据 - * @param string $title 字段描述 - * @param array $msg 提示信息 - * @return mixed - */ - protected function checkItem($field, $value, $rules, $data, $title = '', $msg = []) - { - if (isset($this->remove[$field]) && true === $this->remove[$field] && empty($this->append[$field])) { - // 字段已经移除 无需验证 - return true; - } - - // 支持多规则验证 require|in:a,b,c|... 或者 ['require','in'=>'a,b,c',...] - if (is_string($rules)) { - $rules = explode('|', $rules); - } - - if (isset($this->append[$field])) { - // 追加额外的验证规则 - $rules = array_unique(array_merge($rules, $this->append[$field]), SORT_REGULAR); - unset($this->append[$field]); - } - - $i = 0; - $result = true; - - foreach ($rules as $key => $rule) { - if ($rule instanceof \Closure) { - $result = call_user_func_array($rule, [$value, $data]); - $info = is_numeric($key) ? '' : $key; - } else { - // 判断验证类型 - list($type, $rule, $info) = $this->getValidateType($key, $rule); - - if (isset($this->append[$field]) && in_array($info, $this->append[$field])) { - - } elseif (array_key_exists($field, $this->remove) && (null === $this->remove[$field] || in_array($info, $this->remove[$field]))) { - // 规则已经移除 - $i++; - continue; - } - - // 验证类型 - if (isset(self::$type[$type])) { - $result = call_user_func_array(self::$type[$type], [$value, $rule, $data, $field, $title]); - } elseif ('must' == $info || 0 === strpos($info, 'require') || (!is_null($value) && '' !== $value)) { - // 验证数据 - $result = call_user_func_array([$this, $type], [$value, $rule, $data, $field, $title]); - } else { - $result = true; - } - } - - if (false === $result) { - // 验证失败 返回错误信息 - if (!empty($msg[$i])) { - $message = $msg[$i]; - if (is_string($message) && strpos($message, '{%') === 0) { - $message = facade\Lang::get(substr($message, 2, -1)); - } - } else { - $message = $this->getRuleMsg($field, $title, $info, $rule); - } - - return $message; - } elseif (true !== $result) { - // 返回自定义错误信息 - if (is_string($result) && false !== strpos($result, ':')) { - $result = str_replace(':attribute', $title, $result); - - if (strpos($result, ':rule') && is_scalar($rule)) { - $result = str_replace(':rule', (string) $rule, $result); - } - } - - return $result; - } - $i++; - } - - return $result; - } - - /** - * 获取当前验证类型及规则 - * @access public - * @param mixed $key - * @param mixed $rule - * @return array - */ - protected function getValidateType($key, $rule) - { - // 判断验证类型 - if (!is_numeric($key)) { - return [$key, $rule, $key]; - } - - if (strpos($rule, ':')) { - list($type, $rule) = explode(':', $rule, 2); - if (isset($this->alias[$type])) { - // 判断别名 - $type = $this->alias[$type]; - } - $info = $type; - } elseif (method_exists($this, $rule)) { - $type = $rule; - $info = $rule; - $rule = ''; - } else { - $type = 'is'; - $info = $rule; - } - - return [$type, $rule, $info]; - } - - /** - * 验证是否和某个字段的值一致 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @param string $field 字段名 - * @return bool - */ - public function confirm($value, $rule, $data = [], $field = '') - { - if ('' == $rule) { - if (strpos($field, '_confirm')) { - $rule = strstr($field, '_confirm', true); - } else { - $rule = $field . '_confirm'; - } - } - - return $this->getDataValue($data, $rule) === $value; - } - - /** - * 验证是否和某个字段的值是否不同 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function different($value, $rule, $data = []) - { - return $this->getDataValue($data, $rule) != $value; - } - - /** - * 验证是否大于等于某个值 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function egt($value, $rule, $data = []) - { - return $value >= $this->getDataValue($data, $rule); - } - - /** - * 验证是否大于某个值 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function gt($value, $rule, $data) - { - return $value > $this->getDataValue($data, $rule); - } - - /** - * 验证是否小于等于某个值 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function elt($value, $rule, $data = []) - { - return $value <= $this->getDataValue($data, $rule); - } - - /** - * 验证是否小于某个值 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function lt($value, $rule, $data = []) - { - return $value < $this->getDataValue($data, $rule); - } - - /** - * 验证是否等于某个值 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function eq($value, $rule) - { - return $value == $rule; - } - - /** - * 必须验证 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function must($value, $rule = null) - { - return !empty($value) || '0' == $value; - } - - /** - * 验证字段值是否为有效格式 - * @access public - * @param mixed $value 字段值 - * @param string $rule 验证规则 - * @param array $data 验证数据 - * @return bool - */ - public function is($value, $rule, $data = []) - { - switch (Loader::parseName($rule, 1, false)) { - case 'require': - // 必须 - $result = !empty($value) || '0' == $value; - break; - case 'accepted': - // 接受 - $result = in_array($value, ['1', 'on', 'yes']); - break; - case 'date': - // 是否是一个有效日期 - $result = false !== strtotime($value); - break; - case 'activeUrl': - // 是否为有效的网址 - $result = checkdnsrr($value); - break; - case 'boolean': - case 'bool': - // 是否为布尔值 - $result = in_array($value, [true, false, 0, 1, '0', '1'], true); - break; - case 'number': - $result = ctype_digit((string) $value); - break; - case 'alphaNum': - $result = ctype_alnum($value); - break; - case 'array': - // 是否为数组 - $result = is_array($value); - break; - case 'file': - $result = $value instanceof File; - break; - case 'image': - $result = $value instanceof File && in_array($this->getImageType($value->getRealPath()), [1, 2, 3, 6]); - break; - case 'token': - $result = $this->token($value, '__token__', $data); - break; - default: - if (isset(self::$type[$rule])) { - // 注册的验证规则 - $result = call_user_func_array(self::$type[$rule], [$value]); - } elseif (function_exists('ctype_' . $rule)) { - // ctype验证规则 - $ctypeFun = 'ctype_' . $rule; - $result = $ctypeFun($value); - } elseif (isset($this->filter[$rule])) { - // Filter_var验证规则 - $result = $this->filter($value, $this->filter[$rule]); - } else { - // 正则验证 - $result = $this->regex($value, $rule); - } - } - - return $result; - } - - // 判断图像类型 - protected function getImageType($image) - { - if (function_exists('exif_imagetype')) { - return exif_imagetype($image); - } - - try { - $info = getimagesize($image); - return $info ? $info[2] : false; - } catch (\Exception $e) { - return false; - } - } - - /** - * 验证是否为合格的域名或者IP 支持A,MX,NS,SOA,PTR,CNAME,AAAA,A6, SRV,NAPTR,TXT 或者 ANY类型 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function activeUrl($value, $rule = 'MX') - { - if (!in_array($rule, ['A', 'MX', 'NS', 'SOA', 'PTR', 'CNAME', 'AAAA', 'A6', 'SRV', 'NAPTR', 'TXT', 'ANY'])) { - $rule = 'MX'; - } - - return checkdnsrr($value, $rule); - } - - /** - * 验证是否有效IP - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 ipv4 ipv6 - * @return bool - */ - public function ip($value, $rule = 'ipv4') - { - if (!in_array($rule, ['ipv4', 'ipv6'])) { - $rule = 'ipv4'; - } - - return $this->filter($value, [FILTER_VALIDATE_IP, 'ipv6' == $rule ? FILTER_FLAG_IPV6 : FILTER_FLAG_IPV4]); - } - - /** - * 验证上传文件后缀 - * @access public - * @param mixed $file 上传文件 - * @param mixed $rule 验证规则 - * @return bool - */ - public function fileExt($file, $rule) - { - if (is_array($file)) { - foreach ($file as $item) { - if (!($item instanceof File) || !$item->checkExt($rule)) { - return false; - } - } - return true; - } elseif ($file instanceof File) { - return $file->checkExt($rule); - } - - return false; - } - - /** - * 验证上传文件类型 - * @access public - * @param mixed $file 上传文件 - * @param mixed $rule 验证规则 - * @return bool - */ - public function fileMime($file, $rule) - { - if (is_array($file)) { - foreach ($file as $item) { - if (!($item instanceof File) || !$item->checkMime($rule)) { - return false; - } - } - return true; - } elseif ($file instanceof File) { - return $file->checkMime($rule); - } - - return false; - } - - /** - * 验证上传文件大小 - * @access public - * @param mixed $file 上传文件 - * @param mixed $rule 验证规则 - * @return bool - */ - public function fileSize($file, $rule) - { - if (is_array($file)) { - foreach ($file as $item) { - if (!($item instanceof File) || !$item->checkSize($rule)) { - return false; - } - } - return true; - } elseif ($file instanceof File) { - return $file->checkSize($rule); - } - - return false; - } - - /** - * 验证图片的宽高及类型 - * @access public - * @param mixed $file 上传文件 - * @param mixed $rule 验证规则 - * @return bool - */ - public function image($file, $rule) - { - if (!($file instanceof File)) { - return false; - } - - if ($rule) { - $rule = explode(',', $rule); - - list($width, $height, $type) = getimagesize($file->getRealPath()); - - if (isset($rule[2])) { - $imageType = strtolower($rule[2]); - - if ('jpg' == $imageType) { - $imageType = 'jpeg'; - } - - if (image_type_to_extension($type, false) != $imageType) { - return false; - } - } - - list($w, $h) = $rule; - - return $w == $width && $h == $height; - } - - return in_array($this->getImageType($file->getRealPath()), [1, 2, 3, 6]); - } - - /** - * 验证请求类型 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function method($value, $rule) - { - $method = Container::get('request')->method(); - return strtoupper($rule) == $method; - } - - /** - * 验证时间和日期是否符合指定格式 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function dateFormat($value, $rule) - { - $info = date_parse_from_format($rule, $value); - return 0 == $info['warning_count'] && 0 == $info['error_count']; - } - - /** - * 验证是否唯一 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 格式:数据表,字段名,排除ID,主键名 - * @param array $data 数据 - * @param string $field 验证字段名 - * @return bool - */ - public function unique($value, $rule, $data, $field) - { - if (is_string($rule)) { - $rule = explode(',', $rule); - } - - if (false !== strpos($rule[0], '\\')) { - // 指定模型类 - $db = new $rule[0]; - } else { - try { - $db = Container::get('app')->model($rule[0]); - } catch (ClassNotFoundException $e) { - $db = Db::name($rule[0]); - } - } - - $key = isset($rule[1]) ? $rule[1] : $field; - - if (strpos($key, '^')) { - // 支持多个字段验证 - $fields = explode('^', $key); - foreach ($fields as $key) { - if (isset($data[$key])) { - $map[] = [$key, '=', $data[$key]]; - } - } - } elseif (strpos($key, '=')) { - parse_str($key, $map); - } elseif (isset($data[$field])) { - $map[] = [$key, '=', $data[$field]]; - } else { - $map = []; - } - - $pk = !empty($rule[3]) ? $rule[3] : $db->getPk(); - - if (is_string($pk)) { - if (isset($rule[2])) { - $map[] = [$pk, '<>', $rule[2]]; - } elseif (isset($data[$pk])) { - $map[] = [$pk, '<>', $data[$pk]]; - } - } - - if ($db->where($map)->field($pk)->find()) { - return false; - } - - return true; - } - - /** - * 使用行为类验证 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return mixed - */ - public function behavior($value, $rule, $data) - { - return Container::get('hook')->exec($rule, $data); - } - - /** - * 使用filter_var方式验证 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function filter($value, $rule) - { - if (is_string($rule) && strpos($rule, ',')) { - list($rule, $param) = explode(',', $rule); - } elseif (is_array($rule)) { - $param = isset($rule[1]) ? $rule[1] : null; - $rule = $rule[0]; - } else { - $param = null; - } - - return false !== filter_var($value, is_int($rule) ? $rule : filter_id($rule), $param); - } - - /** - * 验证某个字段等于某个值的时候必须 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function requireIf($value, $rule, $data) - { - list($field, $val) = explode(',', $rule); - - if ($this->getDataValue($data, $field) == $val) { - return !empty($value) || '0' == $value; - } - - return true; - } - - /** - * 通过回调方法验证某个字段是否必须 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function requireCallback($value, $rule, $data) - { - $result = call_user_func_array([$this, $rule], [$value, $data]); - - if ($result) { - return !empty($value) || '0' == $value; - } - - return true; - } - - /** - * 验证某个字段有值的情况下必须 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function requireWith($value, $rule, $data) - { - $val = $this->getDataValue($data, $rule); - - if (!empty($val)) { - return !empty($value) || '0' == $value; - } - - return true; - } - - /** - * 验证是否在范围内 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function in($value, $rule) - { - return in_array($value, is_array($rule) ? $rule : explode(',', $rule)); - } - - /** - * 验证是否不在某个范围 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function notIn($value, $rule) - { - return !in_array($value, is_array($rule) ? $rule : explode(',', $rule)); - } - - /** - * between验证数据 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function between($value, $rule) - { - if (is_string($rule)) { - $rule = explode(',', $rule); - } - list($min, $max) = $rule; - - return $value >= $min && $value <= $max; - } - - /** - * 使用notbetween验证数据 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function notBetween($value, $rule) - { - if (is_string($rule)) { - $rule = explode(',', $rule); - } - list($min, $max) = $rule; - - return $value < $min || $value > $max; - } - - /** - * 验证数据长度 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function length($value, $rule) - { - if (is_array($value)) { - $length = count($value); - } elseif ($value instanceof File) { - $length = $value->getSize(); - } else { - $length = mb_strlen((string) $value); - } - - if (strpos($rule, ',')) { - // 长度区间 - list($min, $max) = explode(',', $rule); - return $length >= $min && $length <= $max; - } - - // 指定长度 - return $length == $rule; - } - - /** - * 验证数据最大长度 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function max($value, $rule) - { - if (is_array($value)) { - $length = count($value); - } elseif ($value instanceof File) { - $length = $value->getSize(); - } else { - $length = mb_strlen((string) $value); - } - - return $length <= $rule; - } - - /** - * 验证数据最小长度 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function min($value, $rule) - { - if (is_array($value)) { - $length = count($value); - } elseif ($value instanceof File) { - $length = $value->getSize(); - } else { - $length = mb_strlen((string) $value); - } - - return $length >= $rule; - } - - /** - * 验证日期 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function after($value, $rule, $data) - { - return strtotime($value) >= strtotime($rule); - } - - /** - * 验证日期 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function before($value, $rule, $data) - { - return strtotime($value) <= strtotime($rule); - } - - /** - * 验证日期字段 - * @access protected - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - protected function afterWith($value, $rule, $data) - { - $rule = $this->getDataValue($data, $rule); - return !is_null($rule) && strtotime($value) >= strtotime($rule); - } - - /** - * 验证日期字段 - * @access protected - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - protected function beforeWith($value, $rule, $data) - { - $rule = $this->getDataValue($data, $rule); - return !is_null($rule) && strtotime($value) <= strtotime($rule); - } - - /** - * 验证有效期 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @return bool - */ - public function expire($value, $rule) - { - if (is_string($rule)) { - $rule = explode(',', $rule); - } - - list($start, $end) = $rule; - - if (!is_numeric($start)) { - $start = strtotime($start); - } - - if (!is_numeric($end)) { - $end = strtotime($end); - } - - return $_SERVER['REQUEST_TIME'] >= $start && $_SERVER['REQUEST_TIME'] <= $end; - } - - /** - * 验证IP许可 - * @access public - * @param string $value 字段值 - * @param mixed $rule 验证规则 - * @return mixed - */ - public function allowIp($value, $rule) - { - return in_array($value, is_array($rule) ? $rule : explode(',', $rule)); - } - - /** - * 验证IP禁用 - * @access public - * @param string $value 字段值 - * @param mixed $rule 验证规则 - * @return mixed - */ - public function denyIp($value, $rule) - { - return !in_array($value, is_array($rule) ? $rule : explode(',', $rule)); - } - - /** - * 使用正则验证数据 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 正则规则或者预定义正则名 - * @return bool - */ - public function regex($value, $rule) - { - if (isset($this->regex[$rule])) { - $rule = $this->regex[$rule]; - } elseif (isset($this->defaultRegex[$rule])) { - $rule = $this->defaultRegex[$rule]; - } - - if (0 !== strpos($rule, '/') && !preg_match('/\/[imsU]{0,4}$/', $rule)) { - // 不是正则表达式则两端补上/ - $rule = '/^' . $rule . '$/'; - } - - return is_scalar($value) && 1 === preg_match($rule, (string) $value); - } - - /** - * 验证表单令牌 - * @access public - * @param mixed $value 字段值 - * @param mixed $rule 验证规则 - * @param array $data 数据 - * @return bool - */ - public function token($value, $rule, $data) - { - $rule = !empty($rule) ? $rule : '__token__'; - $session = Container::get('session'); - - if (!isset($data[$rule]) || !$session->has($rule)) { - // 令牌数据无效 - return false; - } - - // 令牌验证 - if (isset($data[$rule]) && $session->get($rule) === $data[$rule]) { - // 防止重复提交 - $session->delete($rule); // 验证完成销毁session - return true; - } - - // 开启TOKEN重置 - $session->delete($rule); - - return false; - } - - // 获取错误信息 - public function getError() - { - return $this->error; - } - - /** - * 获取数据值 - * @access protected - * @param array $data 数据 - * @param string $key 数据标识 支持多维 - * @return mixed - */ - protected function getDataValue($data, $key) - { - if (is_numeric($key)) { - $value = $key; - } elseif (strpos($key, '.')) { - // 支持多维数组验证 - foreach (explode('.', $key) as $key) { - if (!isset($data[$key])) { - $value = null; - break; - } - $value = $data = $data[$key]; - } - } else { - $value = isset($data[$key]) ? $data[$key] : null; - } - - return $value; - } - - /** - * 获取验证规则的错误提示信息 - * @access protected - * @param string $attribute 字段英文名 - * @param string $title 字段描述名 - * @param string $type 验证规则名称 - * @param mixed $rule 验证规则数据 - * @return string - */ - protected function getRuleMsg($attribute, $title, $type, $rule) - { - $lang = Container::get('lang'); - - if (isset($this->message[$attribute . '.' . $type])) { - $msg = $this->message[$attribute . '.' . $type]; - } elseif (isset($this->message[$attribute][$type])) { - $msg = $this->message[$attribute][$type]; - } elseif (isset($this->message[$attribute])) { - $msg = $this->message[$attribute]; - } elseif (isset(self::$typeMsg[$type])) { - $msg = self::$typeMsg[$type]; - } elseif (0 === strpos($type, 'require')) { - $msg = self::$typeMsg['require']; - } else { - $msg = $title . $lang->get('not conform to the rules'); - } - - if (!is_string($msg)) { - return $msg; - } - - if (0 === strpos($msg, '{%')) { - $msg = $lang->get(substr($msg, 2, -1)); - } elseif ($lang->has($msg)) { - $msg = $lang->get($msg); - } - - if (is_scalar($rule) && false !== strpos($msg, ':')) { - // 变量替换 - if (is_string($rule) && strpos($rule, ',')) { - $array = array_pad(explode(',', $rule), 3, ''); - } else { - $array = array_pad([], 3, ''); - } - $msg = str_replace( - [':attribute', ':1', ':2', ':3'], - [$title, $array[0], $array[1], $array[2]], - $msg); - if (strpos($msg, ':rule')) { - $msg = str_replace(':rule', (string) $rule, $msg); - } - } - - return $msg; - } - - /** - * 获取数据验证的场景 - * @access protected - * @param string $scene 验证场景 - * @return void - */ - protected function getScene($scene = '') - { - if (empty($scene)) { - // 读取指定场景 - $scene = $this->currentScene; - } - - $this->only = $this->append = $this->remove = []; - - if (empty($scene)) { - return; - } - - if (method_exists($this, 'scene' . $scene)) { - call_user_func([$this, 'scene' . $scene]); - } elseif (isset($this->scene[$scene])) { - // 如果设置了验证适用场景 - $scene = $this->scene[$scene]; - - if (is_string($scene)) { - $scene = explode(',', $scene); - } - - $this->only = $scene; - } - } - - /** - * 动态方法 直接调用is方法进行验证 - * @access public - * @param string $method 方法名 - * @param array $args 调用参数 - * @return bool - */ - public function __call($method, $args) - { - if ('is' == strtolower(substr($method, 0, 2))) { - $method = substr($method, 2); - } - - array_push($args, lcfirst($method)); - - return call_user_func_array([$this, 'is'], $args); - } -} diff --git a/thinkphp/library/think/View.php b/thinkphp/library/think/View.php deleted file mode 100644 index 284dd41a..00000000 --- a/thinkphp/library/think/View.php +++ /dev/null @@ -1,253 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -class View -{ - /** - * 模板引擎实例 - * @var object - */ - public $engine; - - /** - * 模板变量 - * @var array - */ - protected $data = []; - - /** - * 内容过滤 - * @var mixed - */ - protected $filter; - - /** - * 全局模板变量 - * @var array - */ - protected static $var = []; - - /** - * 初始化 - * @access public - * @param mixed $engine 模板引擎参数 - * @return $this - */ - public function init($engine = []) - { - // 初始化模板引擎 - $this->engine($engine); - - return $this; - } - - public static function __make(Config $config) - { - return (new static())->init($config->pull('template')); - } - - /** - * 模板变量静态赋值 - * @access public - * @param mixed $name 变量名 - * @param mixed $value 变量值 - * @return $this - */ - public function share($name, $value = '') - { - if (is_array($name)) { - self::$var = array_merge(self::$var, $name); - } else { - self::$var[$name] = $value; - } - - return $this; - } - - /** - * 清理模板变量 - * @access public - * @return void - */ - public function clear() - { - self::$var = []; - $this->data = []; - } - - /** - * 模板变量赋值 - * @access public - * @param mixed $name 变量名 - * @param mixed $value 变量值 - * @return $this - */ - public function assign($name, $value = '') - { - if (is_array($name)) { - $this->data = array_merge($this->data, $name); - } else { - $this->data[$name] = $value; - } - - return $this; - } - - /** - * 设置当前模板解析的引擎 - * @access public - * @param array|string $options 引擎参数 - * @return $this - */ - public function engine($options = []) - { - if (is_string($options)) { - $type = $options; - $options = []; - } else { - $type = !empty($options['type']) ? $options['type'] : 'Think'; - } - - if (isset($options['type'])) { - unset($options['type']); - } - - $this->engine = Loader::factory($type, '\\think\\view\\driver\\', $options); - - return $this; - } - - /** - * 配置模板引擎 - * @access public - * @param string|array $name 参数名 - * @param mixed $value 参数值 - * @return $this - */ - public function config($name, $value = null) - { - $this->engine->config($name, $value); - - return $this; - } - - /** - * 检查模板是否存在 - * @access public - * @param string|array $name 参数名 - * @return bool - */ - public function exists($name) - { - return $this->engine->exists($name); - } - - /** - * 视图过滤 - * @access public - * @param Callable $filter 过滤方法或闭包 - * @return $this - */ - public function filter($filter) - { - if ($filter) { - $this->filter = $filter; - } - - return $this; - } - - /** - * 解析和获取模板内容 用于输出 - * @access public - * @param string $template 模板文件名或者内容 - * @param array $vars 模板输出变量 - * @param array $config 模板参数 - * @param bool $renderContent 是否渲染内容 - * @return string - * @throws \Exception - */ - public function fetch($template = '', $vars = [], $config = [], $renderContent = false) - { - // 模板变量 - $vars = array_merge(self::$var, $this->data, $vars); - - // 页面缓存 - ob_start(); - ob_implicit_flush(0); - - // 渲染输出 - try { - $method = $renderContent ? 'display' : 'fetch'; - $this->engine->$method($template, $vars, $config); - } catch (\Exception $e) { - ob_end_clean(); - throw $e; - } - - // 获取并清空缓存 - $content = ob_get_clean(); - - if ($this->filter) { - $content = call_user_func_array($this->filter, [$content]); - } - - return $content; - } - - /** - * 渲染内容输出 - * @access public - * @param string $content 内容 - * @param array $vars 模板输出变量 - * @param array $config 模板参数 - * @return mixed - */ - public function display($content, $vars = [], $config = []) - { - return $this->fetch($content, $vars, $config, true); - } - - /** - * 模板变量赋值 - * @access public - * @param string $name 变量名 - * @param mixed $value 变量值 - */ - public function __set($name, $value) - { - $this->data[$name] = $value; - } - - /** - * 取得模板显示变量的值 - * @access protected - * @param string $name 模板变量 - * @return mixed - */ - public function __get($name) - { - return $this->data[$name]; - } - - /** - * 检测模板变量是否设置 - * @access public - * @param string $name 模板变量名 - * @return bool - */ - public function __isset($name) - { - return isset($this->data[$name]); - } -} diff --git a/thinkphp/library/think/cache/Driver.php b/thinkphp/library/think/cache/Driver.php deleted file mode 100644 index 64216810..00000000 --- a/thinkphp/library/think/cache/Driver.php +++ /dev/null @@ -1,366 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache; - -use think\Container; - -/** - * 缓存基础类 - */ -abstract class Driver -{ - /** - * 驱动句柄 - * @var object - */ - protected $handler = null; - - /** - * 缓存读取次数 - * @var integer - */ - protected $readTimes = 0; - - /** - * 缓存写入次数 - * @var integer - */ - protected $writeTimes = 0; - - /** - * 缓存参数 - * @var array - */ - protected $options = []; - - /** - * 缓存标签 - * @var string - */ - protected $tag; - - /** - * 序列化方法 - * @var array - */ - protected static $serialize = ['serialize', 'unserialize', 'think_serialize:', 16]; - - /** - * 判断缓存是否存在 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - abstract public function has($name); - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - abstract public function get($name, $default = false); - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param int $expire 有效时间 0为永久 - * @return boolean - */ - abstract public function set($name, $value, $expire = null); - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - abstract public function inc($name, $step = 1); - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - abstract public function dec($name, $step = 1); - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - abstract public function rm($name); - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return boolean - */ - abstract public function clear($tag = null); - - /** - * 获取有效期 - * @access protected - * @param integer|\DateTime $expire 有效期 - * @return integer - */ - protected function getExpireTime($expire) - { - if ($expire instanceof \DateTime) { - $expire = $expire->getTimestamp() - time(); - } - - return $expire; - } - - /** - * 获取实际的缓存标识 - * @access protected - * @param string $name 缓存名 - * @return string - */ - protected function getCacheKey($name) - { - return $this->options['prefix'] . $name; - } - - /** - * 读取缓存并删除 - * @access public - * @param string $name 缓存变量名 - * @return mixed - */ - public function pull($name) - { - $result = $this->get($name, false); - - if ($result) { - $this->rm($name); - return $result; - } else { - return; - } - } - - /** - * 如果不存在则写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param int $expire 有效时间 0为永久 - * @return mixed - */ - public function remember($name, $value, $expire = null) - { - if (!$this->has($name)) { - $time = time(); - while ($time + 5 > time() && $this->has($name . '_lock')) { - // 存在锁定则等待 - usleep(200000); - } - - try { - // 锁定 - $this->set($name . '_lock', true); - - if ($value instanceof \Closure) { - // 获取缓存数据 - $value = Container::getInstance()->invokeFunction($value); - } - - // 缓存数据 - $this->set($name, $value, $expire); - - // 解锁 - $this->rm($name . '_lock'); - } catch (\Exception $e) { - $this->rm($name . '_lock'); - throw $e; - } catch (\throwable $e) { - $this->rm($name . '_lock'); - throw $e; - } - } else { - $value = $this->get($name); - } - - return $value; - } - - /** - * 缓存标签 - * @access public - * @param string $name 标签名 - * @param string|array $keys 缓存标识 - * @param bool $overlay 是否覆盖 - * @return $this - */ - public function tag($name, $keys = null, $overlay = false) - { - if (is_null($name)) { - - } elseif (is_null($keys)) { - $this->tag = $name; - } else { - $key = $this->getTagkey($name); - - if (is_string($keys)) { - $keys = explode(',', $keys); - } - - $keys = array_map([$this, 'getCacheKey'], $keys); - - if ($overlay) { - $value = $keys; - } else { - $value = array_unique(array_merge($this->getTagItem($name), $keys)); - } - - $this->set($key, implode(',', $value), 0); - } - - return $this; - } - - /** - * 更新标签 - * @access protected - * @param string $name 缓存标识 - * @return void - */ - protected function setTagItem($name) - { - if ($this->tag) { - $key = $this->getTagkey($this->tag); - $this->tag = null; - - if ($this->has($key)) { - $value = explode(',', $this->get($key)); - $value[] = $name; - - if (count($value) > 1000) { - array_shift($value); - } - - $value = implode(',', array_unique($value)); - } else { - $value = $name; - } - - $this->set($key, $value, 0); - } - } - - /** - * 获取标签包含的缓存标识 - * @access protected - * @param string $tag 缓存标签 - * @return array - */ - protected function getTagItem($tag) - { - $key = $this->getTagkey($tag); - $value = $this->get($key); - - if ($value) { - return array_filter(explode(',', $value)); - } else { - return []; - } - } - - protected function getTagKey($tag) - { - return 'tag_' . md5($tag); - } - - /** - * 序列化数据 - * @access protected - * @param mixed $data - * @return string - */ - protected function serialize($data) - { - if (is_scalar($data) || !$this->options['serialize']) { - return $data; - } - - $serialize = self::$serialize[0]; - - return self::$serialize[2] . $serialize($data); - } - - /** - * 反序列化数据 - * @access protected - * @param string $data - * @return mixed - */ - protected function unserialize($data) - { - if ($this->options['serialize'] && 0 === strpos($data, self::$serialize[2])) { - $unserialize = self::$serialize[1]; - - return $unserialize(substr($data, self::$serialize[3])); - } else { - return $data; - } - } - - /** - * 注册序列化机制 - * @access public - * @param callable $serialize 序列化方法 - * @param callable $unserialize 反序列化方法 - * @param string $prefix 序列化前缀标识 - * @return $this - */ - public static function registerSerialize($serialize, $unserialize, $prefix = 'think_serialize:') - { - self::$serialize = [$serialize, $unserialize, $prefix, strlen($prefix)]; - } - - /** - * 返回句柄对象,可执行其它高级方法 - * - * @access public - * @return object - */ - public function handler() - { - return $this->handler; - } - - public function getReadTimes() - { - return $this->readTimes; - } - - public function getWriteTimes() - { - return $this->writeTimes; - } - - public function __call($method, $args) - { - return call_user_func_array([$this->handler, $method], $args); - } -} diff --git a/thinkphp/library/think/cache/driver/File.php b/thinkphp/library/think/cache/driver/File.php deleted file mode 100644 index 60be08db..00000000 --- a/thinkphp/library/think/cache/driver/File.php +++ /dev/null @@ -1,307 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; -use think\Container; - -/** - * 文件类型缓存类 - * @author liu21st - */ -class File extends Driver -{ - protected $options = [ - 'expire' => 0, - 'cache_subdir' => true, - 'prefix' => '', - 'path' => '', - 'hash_type' => 'md5', - 'data_compress' => false, - 'serialize' => true, - ]; - - protected $expire; - - /** - * 架构函数 - * @param array $options - */ - public function __construct($options = []) - { - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - if (empty($this->options['path'])) { - $this->options['path'] = Container::get('app')->getRuntimePath() . 'cache' . DIRECTORY_SEPARATOR; - } elseif (substr($this->options['path'], -1) != DIRECTORY_SEPARATOR) { - $this->options['path'] .= DIRECTORY_SEPARATOR; - } - - $this->init(); - } - - /** - * 初始化检查 - * @access private - * @return boolean - */ - private function init() - { - // 创建项目缓存目录 - try { - if (!is_dir($this->options['path']) && mkdir($this->options['path'], 0755, true)) { - return true; - } - } catch (\Exception $e) { - } - - return false; - } - - /** - * 取得变量的存储文件名 - * @access protected - * @param string $name 缓存变量名 - * @param bool $auto 是否自动创建目录 - * @return string - */ - protected function getCacheKey($name, $auto = false) - { - $name = hash($this->options['hash_type'], $name); - - if ($this->options['cache_subdir']) { - // 使用子目录 - $name = substr($name, 0, 2) . DIRECTORY_SEPARATOR . substr($name, 2); - } - - if ($this->options['prefix']) { - $name = $this->options['prefix'] . DIRECTORY_SEPARATOR . $name; - } - - $filename = $this->options['path'] . $name . '.php'; - $dir = dirname($filename); - - if ($auto && !is_dir($dir)) { - try { - mkdir($dir, 0755, true); - } catch (\Exception $e) { - } - } - - return $filename; - } - - /** - * 判断缓存是否存在 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - return false !== $this->get($name) ? true : false; - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $filename = $this->getCacheKey($name); - - if (!is_file($filename)) { - return $default; - } - - $content = file_get_contents($filename); - $this->expire = null; - - if (false !== $content) { - $expire = (int) substr($content, 8, 12); - if (0 != $expire && time() > filemtime($filename) + $expire) { - //缓存过期删除缓存文件 - $this->unlink($filename); - return $default; - } - - $this->expire = $expire; - $content = substr($content, 32); - - if ($this->options['data_compress'] && function_exists('gzcompress')) { - //启用数据压缩 - $content = gzuncompress($content); - } - return $this->unserialize($content); - } else { - return $default; - } - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param int|\DateTime $expire 有效时间 0为永久 - * @return boolean - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - $expire = $this->getExpireTime($expire); - $filename = $this->getCacheKey($name, true); - - if ($this->tag && !is_file($filename)) { - $first = true; - } - - $data = $this->serialize($value); - - if ($this->options['data_compress'] && function_exists('gzcompress')) { - //数据压缩 - $data = gzcompress($data, 3); - } - - $data = "\n" . $data; - $result = file_put_contents($filename, $data); - - if ($result) { - isset($first) && $this->setTagItem($filename); - clearstatcache(); - return true; - } else { - return false; - } - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - if ($this->has($name)) { - $value = $this->get($name) + $step; - $expire = $this->expire; - } else { - $value = $step; - $expire = 0; - } - - return $this->set($name, $value, $expire) ? $value : false; - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - if ($this->has($name)) { - $value = $this->get($name) - $step; - $expire = $this->expire; - } else { - $value = -$step; - $expire = 0; - } - - return $this->set($name, $value, $expire) ? $value : false; - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - public function rm($name) - { - $this->writeTimes++; - - try { - return $this->unlink($this->getCacheKey($name)); - } catch (\Exception $e) { - } - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return boolean - */ - public function clear($tag = null) - { - if ($tag) { - // 指定标签清除 - $keys = $this->getTagItem($tag); - foreach ($keys as $key) { - $this->unlink($key); - } - $this->rm($this->getTagKey($tag)); - return true; - } - - $this->writeTimes++; - - $files = (array) glob($this->options['path'] . ($this->options['prefix'] ? $this->options['prefix'] . DIRECTORY_SEPARATOR : '') . '*'); - - foreach ($files as $path) { - if (is_dir($path)) { - $matches = glob($path . DIRECTORY_SEPARATOR . '*.php'); - if (is_array($matches)) { - array_map(function ($v) { - $this->unlink($v); - }, $matches); - } - rmdir($path); - } else { - $this->unlink($path); - } - } - - return true; - } - - /** - * 判断文件是否存在后,删除 - * @access private - * @param string $path - * @return bool - * @author byron sampson - * @return boolean - */ - private function unlink($path) - { - return is_file($path) && unlink($path); - } - -} diff --git a/thinkphp/library/think/cache/driver/Lite.php b/thinkphp/library/think/cache/driver/Lite.php deleted file mode 100644 index 0cfe3907..00000000 --- a/thinkphp/library/think/cache/driver/Lite.php +++ /dev/null @@ -1,209 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -/** - * 文件类型缓存类 - * @author liu21st - */ -class Lite extends Driver -{ - protected $options = [ - 'prefix' => '', - 'path' => '', - 'expire' => 0, // 等于 10*365*24*3600(10年) - ]; - - /** - * 架构函数 - * @access public - * - * @param array $options - */ - public function __construct($options = []) - { - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - if (substr($this->options['path'], -1) != DIRECTORY_SEPARATOR) { - $this->options['path'] .= DIRECTORY_SEPARATOR; - } - - } - - /** - * 取得变量的存储文件名 - * @access protected - * @param string $name 缓存变量名 - * @return string - */ - protected function getCacheKey($name) - { - return $this->options['path'] . $this->options['prefix'] . md5($name) . '.php'; - } - - /** - * 判断缓存是否存在 - * @access public - * @param string $name 缓存变量名 - * @return mixed - */ - public function has($name) - { - return $this->get($name) ? true : false; - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $filename = $this->getCacheKey($name); - - if (is_file($filename)) { - // 判断是否过期 - $mtime = filemtime($filename); - - if ($mtime < time()) { - // 清除已经过期的文件 - unlink($filename); - return $default; - } - - return include $filename; - } else { - return $default; - } - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param int|\DateTime $expire 有效时间 0为永久 - * @return bool - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - if ($expire instanceof \DateTime) { - $expire = $expire->getTimestamp(); - } else { - $expire = 0 === $expire ? 10 * 365 * 24 * 3600 : $expire; - $expire = time() + $expire; - } - - $filename = $this->getCacheKey($name); - - if ($this->tag && !is_file($filename)) { - $first = true; - } - - $ret = file_put_contents($filename, ("setTagItem($filename); - touch($filename, $expire); - } - - return $ret; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - if ($this->has($name)) { - $value = $this->get($name) + $step; - } else { - $value = $step; - } - - return $this->set($name, $value, 0) ? $value : false; - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - if ($this->has($name)) { - $value = $this->get($name) - $step; - } else { - $value = -$step; - } - - return $this->set($name, $value, 0) ? $value : false; - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - public function rm($name) - { - $this->writeTimes++; - - return unlink($this->getCacheKey($name)); - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return bool - */ - public function clear($tag = null) - { - if ($tag) { - // 指定标签清除 - $keys = $this->getTagItem($tag); - foreach ($keys as $key) { - unlink($key); - } - - $this->rm($this->getTagKey($tag)); - return true; - } - - $this->writeTimes++; - - array_map("unlink", glob($this->options['path'] . ($this->options['prefix'] ? $this->options['prefix'] . DIRECTORY_SEPARATOR : '') . '*.php')); - } -} diff --git a/thinkphp/library/think/cache/driver/Memcache.php b/thinkphp/library/think/cache/driver/Memcache.php deleted file mode 100644 index 1c535597..00000000 --- a/thinkphp/library/think/cache/driver/Memcache.php +++ /dev/null @@ -1,206 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -class Memcache extends Driver -{ - protected $options = [ - 'host' => '127.0.0.1', - 'port' => 11211, - 'expire' => 0, - 'timeout' => 0, // 超时时间(单位:毫秒) - 'persistent' => true, - 'prefix' => '', - 'serialize' => true, - ]; - - /** - * 架构函数 - * @access public - * @param array $options 缓存参数 - * @throws \BadFunctionCallException - */ - public function __construct($options = []) - { - if (!extension_loaded('memcache')) { - throw new \BadFunctionCallException('not support: memcache'); - } - - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - $this->handler = new \Memcache; - - // 支持集群 - $hosts = explode(',', $this->options['host']); - $ports = explode(',', $this->options['port']); - - if (empty($ports[0])) { - $ports[0] = 11211; - } - - // 建立连接 - foreach ((array) $hosts as $i => $host) { - $port = isset($ports[$i]) ? $ports[$i] : $ports[0]; - $this->options['timeout'] > 0 ? - $this->handler->addServer($host, $port, $this->options['persistent'], 1, $this->options['timeout']) : - $this->handler->addServer($host, $port, $this->options['persistent'], 1); - } - } - - /** - * 判断缓存 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - $key = $this->getCacheKey($name); - - return false !== $this->handler->get($key); - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $result = $this->handler->get($this->getCacheKey($name)); - - return false !== $result ? $this->unserialize($result) : $default; - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param int|DateTime $expire 有效时间(秒) - * @return bool - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - if ($this->tag && !$this->has($name)) { - $first = true; - } - - $key = $this->getCacheKey($name); - $expire = $this->getExpireTime($expire); - $value = $this->serialize($value); - - if ($this->handler->set($key, $value, 0, $expire)) { - isset($first) && $this->setTagItem($key); - return true; - } - - return false; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - if ($this->handler->get($key)) { - return $this->handler->increment($key, $step); - } - - return $this->handler->set($key, $step); - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - $value = $this->handler->get($key) - $step; - $res = $this->handler->set($key, $value); - - return !$res ? false : $value; - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @param bool|false $ttl - * @return bool - */ - public function rm($name, $ttl = false) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return false === $ttl ? - $this->handler->delete($key) : - $this->handler->delete($key, $ttl); - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return bool - */ - public function clear($tag = null) - { - if ($tag) { - // 指定标签清除 - $keys = $this->getTagItem($tag); - - foreach ($keys as $key) { - $this->handler->delete($key); - } - - $tagName = $this->getTagKey($tag); - $this->rm($tagName); - return true; - } - - $this->writeTimes++; - - return $this->handler->flush(); - } - -} diff --git a/thinkphp/library/think/cache/driver/Memcached.php b/thinkphp/library/think/cache/driver/Memcached.php deleted file mode 100644 index 4533e78a..00000000 --- a/thinkphp/library/think/cache/driver/Memcached.php +++ /dev/null @@ -1,279 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -class Memcached extends Driver -{ - protected $options = [ - 'host' => '127.0.0.1', - 'port' => 11211, - 'expire' => 0, - 'timeout' => 0, // 超时时间(单位:毫秒) - 'prefix' => '', - 'username' => '', //账号 - 'password' => '', //密码 - 'option' => [], - 'serialize' => true, - ]; - - /** - * 架构函数 - * @access public - * @param array $options 缓存参数 - */ - public function __construct($options = []) - { - if (!extension_loaded('memcached')) { - throw new \BadFunctionCallException('not support: memcached'); - } - - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - $this->handler = new \Memcached; - - if (!empty($this->options['option'])) { - $this->handler->setOptions($this->options['option']); - } - - // 设置连接超时时间(单位:毫秒) - if ($this->options['timeout'] > 0) { - $this->handler->setOption(\Memcached::OPT_CONNECT_TIMEOUT, $this->options['timeout']); - } - - // 支持集群 - $hosts = explode(',', $this->options['host']); - $ports = explode(',', $this->options['port']); - if (empty($ports[0])) { - $ports[0] = 11211; - } - - // 建立连接 - $servers = []; - foreach ((array) $hosts as $i => $host) { - $servers[] = [$host, (isset($ports[$i]) ? $ports[$i] : $ports[0]), 1]; - } - - $this->handler->addServers($servers); - $this->handler->setOption(\Memcached::OPT_COMPRESSION, false); - if ('' != $this->options['username']) { - $this->handler->setOption(\Memcached::OPT_BINARY_PROTOCOL, true); - $this->handler->setSaslAuthData($this->options['username'], $this->options['password']); - } - } - - /** - * 判断缓存 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - $key = $this->getCacheKey($name); - - return $this->handler->get($key) ? true : false; - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $result = $this->handler->get($this->getCacheKey($name)); - - return false !== $result ? $this->unserialize($result) : $default; - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param integer|\DateTime $expire 有效时间(秒) - * @return bool - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - if ($this->tag && !$this->has($name)) { - $first = true; - } - - $key = $this->getCacheKey($name); - $expire = $this->getExpireTime($expire); - $value = $this->serialize($value); - - if ($this->handler->set($key, $value, $expire)) { - isset($first) && $this->setTagItem($key); - return true; - } - - return false; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - if ($this->handler->get($key)) { - return $this->handler->increment($key, $step); - } - - return $this->handler->set($key, $step); - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - $value = $this->handler->get($key) - $step; - $res = $this->handler->set($key, $value); - - return !$res ? false : $value; - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @param bool|false $ttl - * @return bool - */ - public function rm($name, $ttl = false) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return false === $ttl ? - $this->handler->delete($key) : - $this->handler->delete($key, $ttl); - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return bool - */ - public function clear($tag = null) - { - if ($tag) { - // 指定标签清除 - $keys = $this->getTagItem($tag); - - $this->handler->deleteMulti($keys); - $this->rm($this->getTagKey($tag)); - - return true; - } - - $this->writeTimes++; - - return $this->handler->flush(); - } - - /** - * 缓存标签 - * @access public - * @param string $name 标签名 - * @param string|array $keys 缓存标识 - * @param bool $overlay 是否覆盖 - * @return $this - */ - public function tag($name, $keys = null, $overlay = false) - { - if (is_null($keys)) { - $this->tag = $name; - } else { - $tagName = $this->getTagKey($name); - if ($overlay) { - $this->handler->delete($tagName); - } - - if (!$this->has($tagName)) { - $this->handler->set($tagName, ''); - } - - foreach ($keys as $key) { - $this->handler->append($tagName, ',' . $key); - } - } - - return $this; - } - - /** - * 更新标签 - * @access protected - * @param string $name 缓存标识 - * @return void - */ - protected function setTagItem($name) - { - if ($this->tag) { - $tagName = $this->getTagKey($this->tag); - - if ($this->has($tagName)) { - $this->handler->append($tagName, ',' . $name); - } else { - $this->handler->set($tagName, $name); - } - - $this->tag = null; - } - } - - /** - * 获取标签包含的缓存标识 - * @access public - * @param string $tag 缓存标签 - * @return array - */ - public function getTagItem($tag) - { - $tagName = $this->getTagKey($tag); - return explode(',', trim($this->handler->get($tagName), ',')); - } -} diff --git a/thinkphp/library/think/cache/driver/Redis.php b/thinkphp/library/think/cache/driver/Redis.php deleted file mode 100644 index 4eff2cf5..00000000 --- a/thinkphp/library/think/cache/driver/Redis.php +++ /dev/null @@ -1,272 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -/** - * Redis缓存驱动,适合单机部署、有前端代理实现高可用的场景,性能最好 - * 有需要在业务层实现读写分离、或者使用RedisCluster的需求,请使用Redisd驱动 - * - * 要求安装phpredis扩展:https://github.com/nicolasff/phpredis - * @author 尘缘 <130775@qq.com> - */ -class Redis extends Driver -{ - protected $options = [ - 'host' => '127.0.0.1', - 'port' => 6379, - 'password' => '', - 'select' => 0, - 'timeout' => 0, - 'expire' => 0, - 'persistent' => false, - 'prefix' => '', - 'serialize' => true, - ]; - - /** - * 架构函数 - * @access public - * @param array $options 缓存参数 - */ - public function __construct($options = []) - { - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - if (extension_loaded('redis')) { - $this->handler = new \Redis; - - if ($this->options['persistent']) { - $this->handler->pconnect($this->options['host'], $this->options['port'], $this->options['timeout'], 'persistent_id_' . $this->options['select']); - } else { - $this->handler->connect($this->options['host'], $this->options['port'], $this->options['timeout']); - } - - if ('' != $this->options['password']) { - $this->handler->auth($this->options['password']); - } - - if (0 != $this->options['select']) { - $this->handler->select($this->options['select']); - } - } elseif (class_exists('\Predis\Client')) { - $params = []; - foreach ($this->options as $key => $val) { - if (in_array($key, ['aggregate', 'cluster', 'connections', 'exceptions', 'prefix', 'profile', 'replication', 'parameters'])) { - $params[$key] = $val; - unset($this->options[$key]); - } - } - - if ('' == $this->options['password']) { - unset($this->options['password']); - } - - $this->handler = new \Predis\Client($this->options, $params); - - $this->options['prefix'] = ''; - } else { - throw new \BadFunctionCallException('not support: redis'); - } - } - - /** - * 判断缓存 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - return $this->handler->exists($this->getCacheKey($name)) ? true : false; - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $value = $this->handler->get($this->getCacheKey($name)); - - if (is_null($value) || false === $value) { - return $default; - } - - return $this->unserialize($value); - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param integer|\DateTime $expire 有效时间(秒) - * @return boolean - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - if ($this->tag && !$this->has($name)) { - $first = true; - } - - $key = $this->getCacheKey($name); - $expire = $this->getExpireTime($expire); - - $value = $this->serialize($value); - - if ($expire) { - $result = $this->handler->setex($key, $expire, $value); - } else { - $result = $this->handler->set($key, $value); - } - - isset($first) && $this->setTagItem($key); - - return $result; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return $this->handler->incrby($key, $step); - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return $this->handler->decrby($key, $step); - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - public function rm($name) - { - $this->writeTimes++; - - return $this->handler->del($this->getCacheKey($name)); - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return boolean - */ - public function clear($tag = null) - { - if ($tag) { - // 指定标签清除 - $keys = $this->getTagItem($tag); - - $this->handler->del($keys); - - $tagName = $this->getTagKey($tag); - $this->handler->del($tagName); - return true; - } - - $this->writeTimes++; - - return $this->handler->flushDB(); - } - - /** - * 缓存标签 - * @access public - * @param string $name 标签名 - * @param string|array $keys 缓存标识 - * @param bool $overlay 是否覆盖 - * @return $this - */ - public function tag($name, $keys = null, $overlay = false) - { - if (is_null($keys)) { - $this->tag = $name; - } else { - $tagName = $this->getTagKey($name); - if ($overlay) { - $this->handler->del($tagName); - } - - foreach ($keys as $key) { - $this->handler->sAdd($tagName, $key); - } - } - - return $this; - } - - /** - * 更新标签 - * @access protected - * @param string $name 缓存标识 - * @return void - */ - protected function setTagItem($name) - { - if ($this->tag) { - $tagName = $this->getTagKey($this->tag); - $this->handler->sAdd($tagName, $name); - } - } - - /** - * 获取标签包含的缓存标识 - * @access protected - * @param string $tag 缓存标签 - * @return array - */ - protected function getTagItem($tag) - { - $tagName = $this->getTagKey($tag); - return $this->handler->sMembers($tagName); - } -} diff --git a/thinkphp/library/think/cache/driver/Sqlite.php b/thinkphp/library/think/cache/driver/Sqlite.php deleted file mode 100644 index f57361e3..00000000 --- a/thinkphp/library/think/cache/driver/Sqlite.php +++ /dev/null @@ -1,233 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -/** - * Sqlite缓存驱动 - * @author liu21st - */ -class Sqlite extends Driver -{ - protected $options = [ - 'db' => ':memory:', - 'table' => 'sharedmemory', - 'prefix' => '', - 'expire' => 0, - 'persistent' => false, - 'serialize' => true, - ]; - - /** - * 架构函数 - * @access public - * @param array $options 缓存参数 - * @throws \BadFunctionCallException - */ - public function __construct($options = []) - { - if (!extension_loaded('sqlite')) { - throw new \BadFunctionCallException('not support: sqlite'); - } - - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - - $func = $this->options['persistent'] ? 'sqlite_popen' : 'sqlite_open'; - - $this->handler = $func($this->options['db']); - } - - /** - * 获取实际的缓存标识 - * @access public - * @param string $name 缓存名 - * @return string - */ - protected function getCacheKey($name) - { - return $this->options['prefix'] . sqlite_escape_string($name); - } - - /** - * 判断缓存 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - $name = $this->getCacheKey($name); - - $sql = 'SELECT value FROM ' . $this->options['table'] . ' WHERE var=\'' . $name . '\' AND (expire=0 OR expire >' . time() . ') LIMIT 1'; - $result = sqlite_query($this->handler, $sql); - - return sqlite_num_rows($result); - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $name = $this->getCacheKey($name); - - $sql = 'SELECT value FROM ' . $this->options['table'] . ' WHERE var=\'' . $name . '\' AND (expire=0 OR expire >' . time() . ') LIMIT 1'; - - $result = sqlite_query($this->handler, $sql); - - if (sqlite_num_rows($result)) { - $content = sqlite_fetch_single($result); - if (function_exists('gzcompress')) { - //启用数据压缩 - $content = gzuncompress($content); - } - - return $this->unserialize($content); - } - - return $default; - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param integer|\DateTime $expire 有效时间(秒) - * @return boolean - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - $name = $this->getCacheKey($name); - - $value = sqlite_escape_string($this->serialize($value)); - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - if ($expire instanceof \DateTime) { - $expire = $expire->getTimestamp(); - } else { - $expire = (0 == $expire) ? 0 : (time() + $expire); //缓存有效期为0表示永久缓存 - } - - if (function_exists('gzcompress')) { - //数据压缩 - $value = gzcompress($value, 3); - } - - if ($this->tag) { - $tag = $this->tag; - $this->tag = null; - } else { - $tag = ''; - } - - $sql = 'REPLACE INTO ' . $this->options['table'] . ' (var, value, expire, tag) VALUES (\'' . $name . '\', \'' . $value . '\', \'' . $expire . '\', \'' . $tag . '\')'; - - if (sqlite_query($this->handler, $sql)) { - return true; - } - - return false; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - if ($this->has($name)) { - $value = $this->get($name) + $step; - } else { - $value = $step; - } - - return $this->set($name, $value, 0) ? $value : false; - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - if ($this->has($name)) { - $value = $this->get($name) - $step; - } else { - $value = -$step; - } - - return $this->set($name, $value, 0) ? $value : false; - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - public function rm($name) - { - $this->writeTimes++; - - $name = $this->getCacheKey($name); - - $sql = 'DELETE FROM ' . $this->options['table'] . ' WHERE var=\'' . $name . '\''; - sqlite_query($this->handler, $sql); - - return true; - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return boolean - */ - public function clear($tag = null) - { - if ($tag) { - $name = sqlite_escape_string($this->getTagKey($tag)); - $sql = 'DELETE FROM ' . $this->options['table'] . ' WHERE tag=\'' . $name . '\''; - sqlite_query($this->handler, $sql); - return true; - } - - $this->writeTimes++; - - $sql = 'DELETE FROM ' . $this->options['table']; - - sqlite_query($this->handler, $sql); - - return true; - } -} diff --git a/thinkphp/library/think/cache/driver/Wincache.php b/thinkphp/library/think/cache/driver/Wincache.php deleted file mode 100644 index ef157841..00000000 --- a/thinkphp/library/think/cache/driver/Wincache.php +++ /dev/null @@ -1,175 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -/** - * Wincache缓存驱动 - * @author liu21st - */ -class Wincache extends Driver -{ - protected $options = [ - 'prefix' => '', - 'expire' => 0, - 'serialize' => true, - ]; - - /** - * 架构函数 - * @access public - * @param array $options 缓存参数 - * @throws \BadFunctionCallException - */ - public function __construct($options = []) - { - if (!function_exists('wincache_ucache_info')) { - throw new \BadFunctionCallException('not support: WinCache'); - } - - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - } - - /** - * 判断缓存 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - $this->readTimes++; - - $key = $this->getCacheKey($name); - - return wincache_ucache_exists($key); - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $key = $this->getCacheKey($name); - - return wincache_ucache_exists($key) ? $this->unserialize(wincache_ucache_get($key)) : $default; - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param integer|\DateTime $expire 有效时间(秒) - * @return boolean - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - $key = $this->getCacheKey($name); - $expire = $this->getExpireTime($expire); - $value = $this->serialize($value); - - if ($this->tag && !$this->has($name)) { - $first = true; - } - - if (wincache_ucache_set($key, $value, $expire)) { - isset($first) && $this->setTagItem($key); - return true; - } - - return false; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return wincache_ucache_inc($key, $step); - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return wincache_ucache_dec($key, $step); - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - public function rm($name) - { - $this->writeTimes++; - - return wincache_ucache_delete($this->getCacheKey($name)); - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return boolean - */ - public function clear($tag = null) - { - if ($tag) { - $keys = $this->getTagItem($tag); - - wincache_ucache_delete($keys); - - $tagName = $this->getTagkey($tag); - $this->rm($tagName); - return true; - } - - $this->writeTimes++; - return wincache_ucache_clear(); - } - -} diff --git a/thinkphp/library/think/cache/driver/Xcache.php b/thinkphp/library/think/cache/driver/Xcache.php deleted file mode 100644 index 4e698597..00000000 --- a/thinkphp/library/think/cache/driver/Xcache.php +++ /dev/null @@ -1,179 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\cache\driver; - -use think\cache\Driver; - -/** - * Xcache缓存驱动 - * @author liu21st - */ -class Xcache extends Driver -{ - protected $options = [ - 'prefix' => '', - 'expire' => 0, - 'serialize' => true, - ]; - - /** - * 架构函数 - * @access public - * @param array $options 缓存参数 - * @throws \BadFunctionCallException - */ - public function __construct($options = []) - { - if (!function_exists('xcache_info')) { - throw new \BadFunctionCallException('not support: Xcache'); - } - - if (!empty($options)) { - $this->options = array_merge($this->options, $options); - } - } - - /** - * 判断缓存 - * @access public - * @param string $name 缓存变量名 - * @return bool - */ - public function has($name) - { - $key = $this->getCacheKey($name); - - return xcache_isset($key); - } - - /** - * 读取缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $default 默认值 - * @return mixed - */ - public function get($name, $default = false) - { - $this->readTimes++; - - $key = $this->getCacheKey($name); - - return xcache_isset($key) ? $this->unserialize(xcache_get($key)) : $default; - } - - /** - * 写入缓存 - * @access public - * @param string $name 缓存变量名 - * @param mixed $value 存储数据 - * @param integer|\DateTime $expire 有效时间(秒) - * @return boolean - */ - public function set($name, $value, $expire = null) - { - $this->writeTimes++; - - if (is_null($expire)) { - $expire = $this->options['expire']; - } - - if ($this->tag && !$this->has($name)) { - $first = true; - } - - $key = $this->getCacheKey($name); - $expire = $this->getExpireTime($expire); - $value = $this->serialize($value); - - if (xcache_set($key, $value, $expire)) { - isset($first) && $this->setTagItem($key); - return true; - } - - return false; - } - - /** - * 自增缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function inc($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return xcache_inc($key, $step); - } - - /** - * 自减缓存(针对数值缓存) - * @access public - * @param string $name 缓存变量名 - * @param int $step 步长 - * @return false|int - */ - public function dec($name, $step = 1) - { - $this->writeTimes++; - - $key = $this->getCacheKey($name); - - return xcache_dec($key, $step); - } - - /** - * 删除缓存 - * @access public - * @param string $name 缓存变量名 - * @return boolean - */ - public function rm($name) - { - $this->writeTimes++; - - return xcache_unset($this->getCacheKey($name)); - } - - /** - * 清除缓存 - * @access public - * @param string $tag 标签名 - * @return boolean - */ - public function clear($tag = null) - { - if ($tag) { - // 指定标签清除 - $keys = $this->getTagItem($tag); - - foreach ($keys as $key) { - xcache_unset($key); - } - - $this->rm($this->getTagKey($tag)); - return true; - } - - $this->writeTimes++; - - if (function_exists('xcache_unset_by_prefix')) { - return xcache_unset_by_prefix($this->options['prefix']); - } else { - return false; - } - } -} diff --git a/thinkphp/library/think/config/driver/Ini.php b/thinkphp/library/think/config/driver/Ini.php deleted file mode 100644 index b2a647d1..00000000 --- a/thinkphp/library/think/config/driver/Ini.php +++ /dev/null @@ -1,31 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\config\driver; - -class Ini -{ - protected $config; - - public function __construct($config) - { - $this->config = $config; - } - - public function parse() - { - if (is_file($this->config)) { - return parse_ini_file($this->config, true); - } else { - return parse_ini_string($this->config, true); - } - } -} diff --git a/thinkphp/library/think/config/driver/Json.php b/thinkphp/library/think/config/driver/Json.php deleted file mode 100644 index 0d77c8ed..00000000 --- a/thinkphp/library/think/config/driver/Json.php +++ /dev/null @@ -1,31 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\config\driver; - -class Json -{ - protected $config; - - public function __construct($config) - { - if (is_file($config)) { - $config = file_get_contents($config); - } - - $this->config = $config; - } - - public function parse() - { - return json_decode($this->config, true); - } -} diff --git a/thinkphp/library/think/config/driver/Xml.php b/thinkphp/library/think/config/driver/Xml.php deleted file mode 100644 index 9d696338..00000000 --- a/thinkphp/library/think/config/driver/Xml.php +++ /dev/null @@ -1,40 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\config\driver; - -class Xml -{ - protected $config; - - public function __construct($config) - { - $this->config = $config; - } - - public function parse() - { - if (is_file($this->config)) { - $content = simplexml_load_file($this->config); - } else { - $content = simplexml_load_string($this->config); - } - - $result = (array) $content; - foreach ($result as $key => $val) { - if (is_object($val)) { - $result[$key] = (array) $val; - } - } - - return $result; - } -} diff --git a/thinkphp/library/think/console/Command.php b/thinkphp/library/think/console/Command.php deleted file mode 100644 index a208e7b5..00000000 --- a/thinkphp/library/think/console/Command.php +++ /dev/null @@ -1,482 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console; - -use think\Console; -use think\console\input\Argument; -use think\console\input\Definition; -use think\console\input\Option; - -class Command -{ - - /** @var Console */ - private $console; - private $name; - private $aliases = []; - private $definition; - private $help; - private $description; - private $ignoreValidationErrors = false; - private $consoleDefinitionMerged = false; - private $consoleDefinitionMergedWithArgs = false; - private $code; - private $synopsis = []; - private $usages = []; - - /** @var Input */ - protected $input; - - /** @var Output */ - protected $output; - - /** - * 构造方法 - * @param string|null $name 命令名称,如果没有设置则比如在 configure() 里设置 - * @throws \LogicException - * @api - */ - public function __construct($name = null) - { - $this->definition = new Definition(); - - if (null !== $name) { - $this->setName($name); - } - - $this->configure(); - - if (!$this->name) { - throw new \LogicException(sprintf('The command defined in "%s" cannot have an empty name.', get_class($this))); - } - } - - /** - * 忽略验证错误 - */ - public function ignoreValidationErrors() - { - $this->ignoreValidationErrors = true; - } - - /** - * 设置控制台 - * @param Console $console - */ - public function setConsole(Console $console = null) - { - $this->console = $console; - } - - /** - * 获取控制台 - * @return Console - * @api - */ - public function getConsole() - { - return $this->console; - } - - /** - * 是否有效 - * @return bool - */ - public function isEnabled() - { - return true; - } - - /** - * 配置指令 - */ - protected function configure() - { - } - - /** - * 执行指令 - * @param Input $input - * @param Output $output - * @return null|int - * @throws \LogicException - * @see setCode() - */ - protected function execute(Input $input, Output $output) - { - throw new \LogicException('You must override the execute() method in the concrete command class.'); - } - - /** - * 用户验证 - * @param Input $input - * @param Output $output - */ - protected function interact(Input $input, Output $output) - { - } - - /** - * 初始化 - * @param Input $input An InputInterface instance - * @param Output $output An OutputInterface instance - */ - protected function initialize(Input $input, Output $output) - { - } - - /** - * 执行 - * @param Input $input - * @param Output $output - * @return int - * @throws \Exception - * @see setCode() - * @see execute() - */ - public function run(Input $input, Output $output) - { - $this->input = $input; - $this->output = $output; - - $this->getSynopsis(true); - $this->getSynopsis(false); - - $this->mergeConsoleDefinition(); - - try { - $input->bind($this->definition); - } catch (\Exception $e) { - if (!$this->ignoreValidationErrors) { - throw $e; - } - } - - $this->initialize($input, $output); - - if ($input->isInteractive()) { - $this->interact($input, $output); - } - - $input->validate(); - - if ($this->code) { - $statusCode = call_user_func($this->code, $input, $output); - } else { - $statusCode = $this->execute($input, $output); - } - - return is_numeric($statusCode) ? (int) $statusCode : 0; - } - - /** - * 设置执行代码 - * @param callable $code callable(InputInterface $input, OutputInterface $output) - * @return Command - * @throws \InvalidArgumentException - * @see execute() - */ - public function setCode(callable $code) - { - if (!is_callable($code)) { - throw new \InvalidArgumentException('Invalid callable provided to Command::setCode.'); - } - - if (PHP_VERSION_ID >= 50400 && $code instanceof \Closure) { - $r = new \ReflectionFunction($code); - if (null === $r->getClosureThis()) { - $code = \Closure::bind($code, $this); - } - } - - $this->code = $code; - - return $this; - } - - /** - * 合并参数定义 - * @param bool $mergeArgs - */ - public function mergeConsoleDefinition($mergeArgs = true) - { - if (null === $this->console - || (true === $this->consoleDefinitionMerged - && ($this->consoleDefinitionMergedWithArgs || !$mergeArgs)) - ) { - return; - } - - if ($mergeArgs) { - $currentArguments = $this->definition->getArguments(); - $this->definition->setArguments($this->console->getDefinition()->getArguments()); - $this->definition->addArguments($currentArguments); - } - - $this->definition->addOptions($this->console->getDefinition()->getOptions()); - - $this->consoleDefinitionMerged = true; - if ($mergeArgs) { - $this->consoleDefinitionMergedWithArgs = true; - } - } - - /** - * 设置参数定义 - * @param array|Definition $definition - * @return Command - * @api - */ - public function setDefinition($definition) - { - if ($definition instanceof Definition) { - $this->definition = $definition; - } else { - $this->definition->setDefinition($definition); - } - - $this->consoleDefinitionMerged = false; - - return $this; - } - - /** - * 获取参数定义 - * @return Definition - * @api - */ - public function getDefinition() - { - return $this->definition; - } - - /** - * 获取当前指令的参数定义 - * @return Definition - */ - public function getNativeDefinition() - { - return $this->getDefinition(); - } - - /** - * 添加参数 - * @param string $name 名称 - * @param int $mode 类型 - * @param string $description 描述 - * @param mixed $default 默认值 - * @return Command - */ - public function addArgument($name, $mode = null, $description = '', $default = null) - { - $this->definition->addArgument(new Argument($name, $mode, $description, $default)); - - return $this; - } - - /** - * 添加选项 - * @param string $name 选项名称 - * @param string $shortcut 别名 - * @param int $mode 类型 - * @param string $description 描述 - * @param mixed $default 默认值 - * @return Command - */ - public function addOption($name, $shortcut = null, $mode = null, $description = '', $default = null) - { - $this->definition->addOption(new Option($name, $shortcut, $mode, $description, $default)); - - return $this; - } - - /** - * 设置指令名称 - * @param string $name - * @return Command - * @throws \InvalidArgumentException - */ - public function setName($name) - { - $this->validateName($name); - - $this->name = $name; - - return $this; - } - - /** - * 获取指令名称 - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 设置描述 - * @param string $description - * @return Command - */ - public function setDescription($description) - { - $this->description = $description; - - return $this; - } - - /** - * 获取描述 - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * 设置帮助信息 - * @param string $help - * @return Command - */ - public function setHelp($help) - { - $this->help = $help; - - return $this; - } - - /** - * 获取帮助信息 - * @return string - */ - public function getHelp() - { - return $this->help; - } - - /** - * 描述信息 - * @return string - */ - public function getProcessedHelp() - { - $name = $this->name; - - $placeholders = [ - '%command.name%', - '%command.full_name%', - ]; - $replacements = [ - $name, - $_SERVER['PHP_SELF'] . ' ' . $name, - ]; - - return str_replace($placeholders, $replacements, $this->getHelp()); - } - - /** - * 设置别名 - * @param string[] $aliases - * @return Command - * @throws \InvalidArgumentException - */ - public function setAliases($aliases) - { - if (!is_array($aliases) && !$aliases instanceof \Traversable) { - throw new \InvalidArgumentException('$aliases must be an array or an instance of \Traversable'); - } - - foreach ($aliases as $alias) { - $this->validateName($alias); - } - - $this->aliases = $aliases; - - return $this; - } - - /** - * 获取别名 - * @return array - */ - public function getAliases() - { - return $this->aliases; - } - - /** - * 获取简介 - * @param bool $short 是否简单的 - * @return string - */ - public function getSynopsis($short = false) - { - $key = $short ? 'short' : 'long'; - - if (!isset($this->synopsis[$key])) { - $this->synopsis[$key] = trim(sprintf('%s %s', $this->name, $this->definition->getSynopsis($short))); - } - - return $this->synopsis[$key]; - } - - /** - * 添加用法介绍 - * @param string $usage - * @return $this - */ - public function addUsage($usage) - { - if (0 !== strpos($usage, $this->name)) { - $usage = sprintf('%s %s', $this->name, $usage); - } - - $this->usages[] = $usage; - - return $this; - } - - /** - * 获取用法介绍 - * @return array - */ - public function getUsages() - { - return $this->usages; - } - - /** - * 验证指令名称 - * @param string $name - * @throws \InvalidArgumentException - */ - private function validateName($name) - { - if (!preg_match('/^[^\:]++(\:[^\:]++)*$/', $name)) { - throw new \InvalidArgumentException(sprintf('Command name "%s" is invalid.', $name)); - } - } - - /** - * 输出表格 - * @param Table $table - * @return string - */ - protected function table(Table $table) - { - $content = $table->render(); - $this->output->writeln($content); - return $content; - } -} diff --git a/thinkphp/library/think/console/Input.php b/thinkphp/library/think/console/Input.php deleted file mode 100644 index 2482dfdc..00000000 --- a/thinkphp/library/think/console/Input.php +++ /dev/null @@ -1,464 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console; - -use think\console\input\Argument; -use think\console\input\Definition; -use think\console\input\Option; - -class Input -{ - - /** - * @var Definition - */ - protected $definition; - - /** - * @var Option[] - */ - protected $options = []; - - /** - * @var Argument[] - */ - protected $arguments = []; - - protected $interactive = true; - - private $tokens; - private $parsed; - - public function __construct($argv = null) - { - if (null === $argv) { - $argv = $_SERVER['argv']; - // 去除命令名 - array_shift($argv); - } - - $this->tokens = $argv; - - $this->definition = new Definition(); - } - - protected function setTokens(array $tokens) - { - $this->tokens = $tokens; - } - - /** - * 绑定实例 - * @param Definition $definition A InputDefinition instance - */ - public function bind(Definition $definition) - { - $this->arguments = []; - $this->options = []; - $this->definition = $definition; - - $this->parse(); - } - - /** - * 解析参数 - */ - protected function parse() - { - $parseOptions = true; - $this->parsed = $this->tokens; - while (null !== $token = array_shift($this->parsed)) { - if ($parseOptions && '' == $token) { - $this->parseArgument($token); - } elseif ($parseOptions && '--' == $token) { - $parseOptions = false; - } elseif ($parseOptions && 0 === strpos($token, '--')) { - $this->parseLongOption($token); - } elseif ($parseOptions && '-' === $token[0] && '-' !== $token) { - $this->parseShortOption($token); - } else { - $this->parseArgument($token); - } - } - } - - /** - * 解析短选项 - * @param string $token 当前的指令. - */ - private function parseShortOption($token) - { - $name = substr($token, 1); - - if (strlen($name) > 1) { - if ($this->definition->hasShortcut($name[0]) - && $this->definition->getOptionForShortcut($name[0])->acceptValue() - ) { - $this->addShortOption($name[0], substr($name, 1)); - } else { - $this->parseShortOptionSet($name); - } - } else { - $this->addShortOption($name, null); - } - } - - /** - * 解析短选项 - * @param string $name 当前指令 - * @throws \RuntimeException - */ - private function parseShortOptionSet($name) - { - $len = strlen($name); - for ($i = 0; $i < $len; ++$i) { - if (!$this->definition->hasShortcut($name[$i])) { - throw new \RuntimeException(sprintf('The "-%s" option does not exist.', $name[$i])); - } - - $option = $this->definition->getOptionForShortcut($name[$i]); - if ($option->acceptValue()) { - $this->addLongOption($option->getName(), $i === $len - 1 ? null : substr($name, $i + 1)); - - break; - } else { - $this->addLongOption($option->getName(), null); - } - } - } - - /** - * 解析完整选项 - * @param string $token 当前指令 - */ - private function parseLongOption($token) - { - $name = substr($token, 2); - - if (false !== $pos = strpos($name, '=')) { - $this->addLongOption(substr($name, 0, $pos), substr($name, $pos + 1)); - } else { - $this->addLongOption($name, null); - } - } - - /** - * 解析参数 - * @param string $token 当前指令 - * @throws \RuntimeException - */ - private function parseArgument($token) - { - $c = count($this->arguments); - - if ($this->definition->hasArgument($c)) { - $arg = $this->definition->getArgument($c); - - $this->arguments[$arg->getName()] = $arg->isArray() ? [$token] : $token; - - } elseif ($this->definition->hasArgument($c - 1) && $this->definition->getArgument($c - 1)->isArray()) { - $arg = $this->definition->getArgument($c - 1); - - $this->arguments[$arg->getName()][] = $token; - } else { - throw new \RuntimeException('Too many arguments.'); - } - } - - /** - * 添加一个短选项的值 - * @param string $shortcut 短名称 - * @param mixed $value 值 - * @throws \RuntimeException - */ - private function addShortOption($shortcut, $value) - { - if (!$this->definition->hasShortcut($shortcut)) { - throw new \RuntimeException(sprintf('The "-%s" option does not exist.', $shortcut)); - } - - $this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value); - } - - /** - * 添加一个完整选项的值 - * @param string $name 选项名 - * @param mixed $value 值 - * @throws \RuntimeException - */ - private function addLongOption($name, $value) - { - if (!$this->definition->hasOption($name)) { - throw new \RuntimeException(sprintf('The "--%s" option does not exist.', $name)); - } - - $option = $this->definition->getOption($name); - - if (false === $value) { - $value = null; - } - - if (null !== $value && !$option->acceptValue()) { - throw new \RuntimeException(sprintf('The "--%s" option does not accept a value.', $name, $value)); - } - - if (null === $value && $option->acceptValue() && count($this->parsed)) { - $next = array_shift($this->parsed); - if (isset($next[0]) && '-' !== $next[0]) { - $value = $next; - } elseif (empty($next)) { - $value = ''; - } else { - array_unshift($this->parsed, $next); - } - } - - if (null === $value) { - if ($option->isValueRequired()) { - throw new \RuntimeException(sprintf('The "--%s" option requires a value.', $name)); - } - - if (!$option->isArray()) { - $value = $option->isValueOptional() ? $option->getDefault() : true; - } - } - - if ($option->isArray()) { - $this->options[$name][] = $value; - } else { - $this->options[$name] = $value; - } - } - - /** - * 获取第一个参数 - * @return string|null - */ - public function getFirstArgument() - { - foreach ($this->tokens as $token) { - if ($token && '-' === $token[0]) { - continue; - } - - return $token; - } - return; - } - - /** - * 检查原始参数是否包含某个值 - * @param string|array $values 需要检查的值 - * @return bool - */ - public function hasParameterOption($values) - { - $values = (array) $values; - - foreach ($this->tokens as $token) { - foreach ($values as $value) { - if ($token === $value || 0 === strpos($token, $value . '=')) { - return true; - } - } - } - - return false; - } - - /** - * 获取原始选项的值 - * @param string|array $values 需要检查的值 - * @param mixed $default 默认值 - * @return mixed The option value - */ - public function getParameterOption($values, $default = false) - { - $values = (array) $values; - $tokens = $this->tokens; - - while (0 < count($tokens)) { - $token = array_shift($tokens); - - foreach ($values as $value) { - if ($token === $value || 0 === strpos($token, $value . '=')) { - if (false !== $pos = strpos($token, '=')) { - return substr($token, $pos + 1); - } - - return array_shift($tokens); - } - } - } - - return $default; - } - - /** - * 验证输入 - * @throws \RuntimeException - */ - public function validate() - { - if (count($this->arguments) < $this->definition->getArgumentRequiredCount()) { - throw new \RuntimeException('Not enough arguments.'); - } - } - - /** - * 检查输入是否是交互的 - * @return bool - */ - public function isInteractive() - { - return $this->interactive; - } - - /** - * 设置输入的交互 - * @param bool - */ - public function setInteractive($interactive) - { - $this->interactive = (bool) $interactive; - } - - /** - * 获取所有的参数 - * @return Argument[] - */ - public function getArguments() - { - return array_merge($this->definition->getArgumentDefaults(), $this->arguments); - } - - /** - * 根据名称获取参数 - * @param string $name 参数名 - * @return mixed - * @throws \InvalidArgumentException - */ - public function getArgument($name) - { - if (!$this->definition->hasArgument($name)) { - throw new \InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name)); - } - - return isset($this->arguments[$name]) ? $this->arguments[$name] : $this->definition->getArgument($name) - ->getDefault(); - } - - /** - * 设置参数的值 - * @param string $name 参数名 - * @param string $value 值 - * @throws \InvalidArgumentException - */ - public function setArgument($name, $value) - { - if (!$this->definition->hasArgument($name)) { - throw new \InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name)); - } - - $this->arguments[$name] = $value; - } - - /** - * 检查是否存在某个参数 - * @param string|int $name 参数名或位置 - * @return bool - */ - public function hasArgument($name) - { - return $this->definition->hasArgument($name); - } - - /** - * 获取所有的选项 - * @return Option[] - */ - public function getOptions() - { - return array_merge($this->definition->getOptionDefaults(), $this->options); - } - - /** - * 获取选项值 - * @param string $name 选项名称 - * @return mixed - * @throws \InvalidArgumentException - */ - public function getOption($name) - { - if (!$this->definition->hasOption($name)) { - throw new \InvalidArgumentException(sprintf('The "%s" option does not exist.', $name)); - } - - return isset($this->options[$name]) ? $this->options[$name] : $this->definition->getOption($name)->getDefault(); - } - - /** - * 设置选项值 - * @param string $name 选项名 - * @param string|bool $value 值 - * @throws \InvalidArgumentException - */ - public function setOption($name, $value) - { - if (!$this->definition->hasOption($name)) { - throw new \InvalidArgumentException(sprintf('The "%s" option does not exist.', $name)); - } - - $this->options[$name] = $value; - } - - /** - * 是否有某个选项 - * @param string $name 选项名 - * @return bool - */ - public function hasOption($name) - { - return $this->definition->hasOption($name) && isset($this->options[$name]); - } - - /** - * 转义指令 - * @param string $token - * @return string - */ - public function escapeToken($token) - { - return preg_match('{^[\w-]+$}', $token) ? $token : escapeshellarg($token); - } - - /** - * 返回传递给命令的参数的字符串 - * @return string - */ - public function __toString() - { - $tokens = array_map(function ($token) { - if (preg_match('{^(-[^=]+=)(.+)}', $token, $match)) { - return $match[1] . $this->escapeToken($match[2]); - } - - if ($token && '-' !== $token[0]) { - return $this->escapeToken($token); - } - - return $token; - }, $this->tokens); - - return implode(' ', $tokens); - } -} diff --git a/thinkphp/library/think/console/LICENSE b/thinkphp/library/think/console/LICENSE deleted file mode 100644 index 0abe056e..00000000 --- a/thinkphp/library/think/console/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2004-2016 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. \ No newline at end of file diff --git a/thinkphp/library/think/console/Output.php b/thinkphp/library/think/console/Output.php deleted file mode 100644 index 65dc9fb8..00000000 --- a/thinkphp/library/think/console/Output.php +++ /dev/null @@ -1,222 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console; - -use Exception; -use think\console\output\Ask; -use think\console\output\Descriptor; -use think\console\output\driver\Buffer; -use think\console\output\driver\Console; -use think\console\output\driver\Nothing; -use think\console\output\Question; -use think\console\output\question\Choice; -use think\console\output\question\Confirmation; - -/** - * Class Output - * @package think\console - * - * @see \think\console\output\driver\Console::setDecorated - * @method void setDecorated($decorated) - * - * @see \think\console\output\driver\Buffer::fetch - * @method string fetch() - * - * @method void info($message) - * @method void error($message) - * @method void comment($message) - * @method void warning($message) - * @method void highlight($message) - * @method void question($message) - */ -class Output -{ - const VERBOSITY_QUIET = 0; - const VERBOSITY_NORMAL = 1; - const VERBOSITY_VERBOSE = 2; - const VERBOSITY_VERY_VERBOSE = 3; - const VERBOSITY_DEBUG = 4; - - const OUTPUT_NORMAL = 0; - const OUTPUT_RAW = 1; - const OUTPUT_PLAIN = 2; - - private $verbosity = self::VERBOSITY_NORMAL; - - /** @var Buffer|Console|Nothing */ - private $handle = null; - - protected $styles = [ - 'info', - 'error', - 'comment', - 'question', - 'highlight', - 'warning' - ]; - - public function __construct($driver = 'console') - { - $class = '\\think\\console\\output\\driver\\' . ucwords($driver); - - $this->handle = new $class($this); - } - - public function ask(Input $input, $question, $default = null, $validator = null) - { - $question = new Question($question, $default); - $question->setValidator($validator); - - return $this->askQuestion($input, $question); - } - - public function askHidden(Input $input, $question, $validator = null) - { - $question = new Question($question); - - $question->setHidden(true); - $question->setValidator($validator); - - return $this->askQuestion($input, $question); - } - - public function confirm(Input $input, $question, $default = true) - { - return $this->askQuestion($input, new Confirmation($question, $default)); - } - - /** - * {@inheritdoc} - */ - public function choice(Input $input, $question, array $choices, $default = null) - { - if (null !== $default) { - $values = array_flip($choices); - $default = $values[$default]; - } - - return $this->askQuestion($input, new Choice($question, $choices, $default)); - } - - protected function askQuestion(Input $input, Question $question) - { - $ask = new Ask($input, $this, $question); - $answer = $ask->run(); - - if ($input->isInteractive()) { - $this->newLine(); - } - - return $answer; - } - - protected function block($style, $message) - { - $this->writeln("<{$style}>{$message}"); - } - - /** - * 输出空行 - * @param int $count - */ - public function newLine($count = 1) - { - $this->write(str_repeat(PHP_EOL, $count)); - } - - /** - * 输出信息并换行 - * @param string $messages - * @param int $type - */ - public function writeln($messages, $type = self::OUTPUT_NORMAL) - { - $this->write($messages, true, $type); - } - - /** - * 输出信息 - * @param string $messages - * @param bool $newline - * @param int $type - */ - public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL) - { - $this->handle->write($messages, $newline, $type); - } - - public function renderException(\Exception $e) - { - $this->handle->renderException($e); - } - - /** - * {@inheritdoc} - */ - public function setVerbosity($level) - { - $this->verbosity = (int) $level; - } - - /** - * {@inheritdoc} - */ - public function getVerbosity() - { - return $this->verbosity; - } - - public function isQuiet() - { - return self::VERBOSITY_QUIET === $this->verbosity; - } - - public function isVerbose() - { - return self::VERBOSITY_VERBOSE <= $this->verbosity; - } - - public function isVeryVerbose() - { - return self::VERBOSITY_VERY_VERBOSE <= $this->verbosity; - } - - public function isDebug() - { - return self::VERBOSITY_DEBUG <= $this->verbosity; - } - - public function describe($object, array $options = []) - { - $descriptor = new Descriptor(); - $options = array_merge([ - 'raw_text' => false, - ], $options); - - $descriptor->describe($this, $object, $options); - } - - public function __call($method, $args) - { - if (in_array($method, $this->styles)) { - array_unshift($args, $method); - return call_user_func_array([$this, 'block'], $args); - } - - if ($this->handle && method_exists($this->handle, $method)) { - return call_user_func_array([$this->handle, $method], $args); - } else { - throw new Exception('method not exists:' . __CLASS__ . '->' . $method); - } - } - -} diff --git a/thinkphp/library/think/console/Table.php b/thinkphp/library/think/console/Table.php deleted file mode 100644 index 9e28e266..00000000 --- a/thinkphp/library/think/console/Table.php +++ /dev/null @@ -1,281 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console; - -class Table -{ - const ALIGN_LEFT = 1; - const ALIGN_RIGHT = 0; - const ALIGN_CENTER = 2; - - /** - * 头信息数据 - * @var array - */ - protected $header = []; - - /** - * 头部对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER - * @var int - */ - protected $headerAlign = 1; - - /** - * 表格数据(二维数组) - * @var array - */ - protected $rows = []; - - /** - * 单元格对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER - * @var int - */ - protected $cellAlign = 1; - - /** - * 单元格宽度信息 - * @var array - */ - protected $colWidth = []; - - /** - * 表格输出样式 - * @var string - */ - protected $style = 'default'; - - /** - * 表格样式定义 - * @var array - */ - protected $format = [ - 'compact' => [], - 'default' => [ - 'top' => ['+', '-', '+', '+'], - 'cell' => ['|', ' ', '|', '|'], - 'middle' => ['+', '-', '+', '+'], - 'bottom' => ['+', '-', '+', '+'], - 'cross-top' => ['+', '-', '-', '+'], - 'cross-bottom' => ['+', '-', '-', '+'], - ], - 'markdown' => [ - 'top' => [' ', ' ', ' ', ' '], - 'cell' => ['|', ' ', '|', '|'], - 'middle' => ['|', '-', '|', '|'], - 'bottom' => [' ', ' ', ' ', ' '], - 'cross-top' => ['|', ' ', ' ', '|'], - 'cross-bottom' => ['|', ' ', ' ', '|'], - ], - 'borderless' => [ - 'top' => ['=', '=', ' ', '='], - 'cell' => [' ', ' ', ' ', ' '], - 'middle' => ['=', '=', ' ', '='], - 'bottom' => ['=', '=', ' ', '='], - 'cross-top' => ['=', '=', ' ', '='], - 'cross-bottom' => ['=', '=', ' ', '='], - ], - 'box' => [ - 'top' => ['┌', '─', '┬', '┐'], - 'cell' => ['│', ' ', '│', '│'], - 'middle' => ['├', '─', '┼', '┤'], - 'bottom' => ['└', '─', '┴', '┘'], - 'cross-top' => ['├', '─', '┴', '┤'], - 'cross-bottom' => ['├', '─', '┬', '┤'], - ], - 'box-double' => [ - 'top' => ['╔', '═', '╤', '╗'], - 'cell' => ['║', ' ', '│', '║'], - 'middle' => ['╠', '─', '╪', '╣'], - 'bottom' => ['╚', '═', '╧', '╝'], - 'cross-top' => ['╠', '═', '╧', '╣'], - 'cross-bottom' => ['╠', '═', '╤', '╣'], - ], - ]; - - /** - * 设置表格头信息 以及对齐方式 - * @access public - * @param array $header 要输出的Header信息 - * @param int $align 对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER - * @return void - */ - public function setHeader(array $header, $align = self::ALIGN_LEFT) - { - $this->header = $header; - $this->headerAlign = $align; - - $this->checkColWidth($header); - } - - /** - * 设置输出表格数据 及对齐方式 - * @access public - * @param array $rows 要输出的表格数据(二维数组) - * @param int $align 对齐方式 默认1 ALGIN_LEFT 0 ALIGN_RIGHT 2 ALIGN_CENTER - * @return void - */ - public function setRows(array $rows, $align = self::ALIGN_LEFT) - { - $this->rows = $rows; - $this->cellAlign = $align; - - foreach ($rows as $row) { - $this->checkColWidth($row); - } - } - - /** - * 检查列数据的显示宽度 - * @access public - * @param mixed $row 行数据 - * @return void - */ - protected function checkColWidth($row) - { - if (is_array($row)) { - foreach ($row as $key => $cell) { - if (!isset($this->colWidth[$key]) || strlen($cell) > $this->colWidth[$key]) { - $this->colWidth[$key] = strlen($cell); - } - } - } - } - - /** - * 增加一行表格数据 - * @access public - * @param mixed $row 行数据 - * @param bool $first 是否在开头插入 - * @return void - */ - public function addRow($row, $first = false) - { - if ($first) { - array_unshift($this->rows, $row); - } else { - $this->rows[] = $row; - } - - $this->checkColWidth($row); - } - - /** - * 设置输出表格的样式 - * @access public - * @param string $style 样式名 - * @return void - */ - public function setStyle($style) - { - $this->style = isset($this->format[$style]) ? $style : 'default'; - } - - /** - * 输出分隔行 - * @access public - * @param string $pos 位置 - * @return string - */ - protected function renderSeparator($pos) - { - $style = $this->getStyle($pos); - $array = []; - - foreach ($this->colWidth as $width) { - $array[] = str_repeat($style[1], $width + 2); - } - - return $style[0] . implode($style[2], $array) . $style[3] . PHP_EOL; - } - - /** - * 输出表格头部 - * @access public - * @return string - */ - protected function renderHeader() - { - $style = $this->getStyle('cell'); - $content = $this->renderSeparator('top'); - - foreach ($this->header as $key => $header) { - $array[] = ' ' . str_pad($header, $this->colWidth[$key], $style[1], $this->headerAlign); - } - - if (!empty($array)) { - $content .= $style[0] . implode(' ' . $style[2], $array) . ' ' . $style[3] . PHP_EOL; - - if ($this->rows) { - $content .= $this->renderSeparator('middle'); - } - } - - return $content; - } - - protected function getStyle($style) - { - if ($this->format[$this->style]) { - $style = $this->format[$this->style][$style]; - } else { - $style = [' ', ' ', ' ', ' ']; - } - - return $style; - } - - /** - * 输出表格 - * @access public - * @param array $dataList 表格数据 - * @return string - */ - public function render($dataList = []) - { - if ($dataList) { - $this->setRows($dataList); - } - - // 输出头部 - $content = $this->renderHeader(); - $style = $this->getStyle('cell'); - - if ($this->rows) { - foreach ($this->rows as $row) { - if (is_string($row) && '-' === $row) { - $content .= $this->renderSeparator('middle'); - } elseif (is_scalar($row)) { - $content .= $this->renderSeparator('cross-top'); - $array = str_pad($row, 3 * (count($this->colWidth) - 1) + array_reduce($this->colWidth, function ($a, $b) { - return $a + $b; - })); - - $content .= $style[0] . ' ' . $array . ' ' . $style[3] . PHP_EOL; - $content .= $this->renderSeparator('cross-bottom'); - } else { - $array = []; - - foreach ($row as $key => $val) { - $array[] = ' ' . str_pad($val, $this->colWidth[$key], ' ', $this->cellAlign); - } - - $content .= $style[0] . implode(' ' . $style[2], $array) . ' ' . $style[3] . PHP_EOL; - - } - } - } - - $content .= $this->renderSeparator('bottom'); - - return $content; - } -} diff --git a/thinkphp/library/think/console/bin/README.md b/thinkphp/library/think/console/bin/README.md deleted file mode 100644 index 9acc52fb..00000000 --- a/thinkphp/library/think/console/bin/README.md +++ /dev/null @@ -1 +0,0 @@ -console 工具使用 hiddeninput.exe 在 windows 上隐藏密码输入,该二进制文件由第三方提供,相关源码和其他细节可以在 [Hidden Input](https://github.com/Seldaek/hidden-input) 找到。 diff --git a/thinkphp/library/think/console/bin/hiddeninput.exe b/thinkphp/library/think/console/bin/hiddeninput.exe deleted file mode 100644 index c8cf65e8..00000000 Binary files a/thinkphp/library/think/console/bin/hiddeninput.exe and /dev/null differ diff --git a/thinkphp/library/think/console/command/Build.php b/thinkphp/library/think/console/command/Build.php deleted file mode 100644 index 88a5bf82..00000000 --- a/thinkphp/library/think/console/command/Build.php +++ /dev/null @@ -1,59 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Option; -use think\console\Output; -use think\facade\App; -use think\facade\Build as AppBuild; - -class Build extends Command -{ - /** - * {@inheritdoc} - */ - protected function configure() - { - $this->setName('build') - ->setDefinition([ - new Option('config', null, Option::VALUE_OPTIONAL, "build.php path"), - new Option('module', null, Option::VALUE_OPTIONAL, "module name"), - ]) - ->setDescription('Build Application Dirs'); - } - - protected function execute(Input $input, Output $output) - { - if ($input->hasOption('module')) { - AppBuild::module($input->getOption('module')); - $output->writeln("Successed"); - return; - } - - if ($input->hasOption('config')) { - $build = include $input->getOption('config'); - } else { - $build = include App::getAppPath() . 'build.php'; - } - - if (empty($build)) { - $output->writeln("Build Config Is Empty"); - return; - } - - AppBuild::run($build); - $output->writeln("Successed"); - - } -} diff --git a/thinkphp/library/think/console/command/Clear.php b/thinkphp/library/think/console/command/Clear.php deleted file mode 100644 index 14425759..00000000 --- a/thinkphp/library/think/console/command/Clear.php +++ /dev/null @@ -1,70 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Option; -use think\console\Output; -use think\facade\App; -use think\facade\Cache; - -class Clear extends Command -{ - protected function configure() - { - // 指令配置 - $this - ->setName('clear') - ->addOption('path', 'd', Option::VALUE_OPTIONAL, 'path to clear', null) - ->addOption('cache', 'c', Option::VALUE_NONE, 'clear cache file') - ->addOption('route', 'u', Option::VALUE_NONE, 'clear route cache') - ->addOption('log', 'l', Option::VALUE_NONE, 'clear log file') - ->addOption('dir', 'r', Option::VALUE_NONE, 'clear empty dir') - ->setDescription('Clear runtime file'); - } - - protected function execute(Input $input, Output $output) - { - if ($input->getOption('route')) { - Cache::clear('route_cache'); - } else { - if ($input->getOption('cache')) { - $path = App::getRuntimePath() . 'cache'; - } elseif ($input->getOption('log')) { - $path = App::getRuntimePath() . 'log'; - } else { - $path = $input->getOption('path') ?: App::getRuntimePath(); - } - - $rmdir = $input->getOption('dir') ? true : false; - $this->clear(rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR, $rmdir); - } - - $output->writeln("Clear Successed"); - } - - protected function clear($path, $rmdir) - { - $files = is_dir($path) ? scandir($path) : []; - - foreach ($files as $file) { - if ('.' != $file && '..' != $file && is_dir($path . $file)) { - array_map('unlink', glob($path . $file . DIRECTORY_SEPARATOR . '*.*')); - if ($rmdir) { - rmdir($path . $file); - } - } elseif ('.gitignore' != $file && is_file($path . $file)) { - unlink($path . $file); - } - } - } -} diff --git a/thinkphp/library/think/console/command/Help.php b/thinkphp/library/think/console/command/Help.php deleted file mode 100644 index f1b63b42..00000000 --- a/thinkphp/library/think/console/command/Help.php +++ /dev/null @@ -1,68 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Argument as InputArgument; -use think\console\input\Option as InputOption; -use think\console\Output; - -class Help extends Command -{ - private $command; - - /** - * {@inheritdoc} - */ - protected function configure() - { - $this->ignoreValidationErrors(); - - $this->setName('help')->setDefinition([ - new InputArgument('command_name', InputArgument::OPTIONAL, 'The command name', 'help'), - new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command help'), - ])->setDescription('Displays help for a command')->setHelp(<<%command.name% command displays help for a given command: - - php %command.full_name% list - -To display the list of available commands, please use the list command. -EOF - ); - } - - /** - * Sets the command. - * @param Command $command The command to set - */ - public function setCommand(Command $command) - { - $this->command = $command; - } - - /** - * {@inheritdoc} - */ - protected function execute(Input $input, Output $output) - { - if (null === $this->command) { - $this->command = $this->getConsole()->find($input->getArgument('command_name')); - } - - $output->describe($this->command, [ - 'raw_text' => $input->getOption('raw'), - ]); - - $this->command = null; - } -} diff --git a/thinkphp/library/think/console/command/Lists.php b/thinkphp/library/think/console/command/Lists.php deleted file mode 100644 index 6eb856c2..00000000 --- a/thinkphp/library/think/console/command/Lists.php +++ /dev/null @@ -1,73 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Argument as InputArgument; -use think\console\input\Definition as InputDefinition; -use think\console\input\Option as InputOption; -use think\console\Output; - -class Lists extends Command -{ - /** - * {@inheritdoc} - */ - protected function configure() - { - $this->setName('list')->setDefinition($this->createDefinition())->setDescription('Lists commands')->setHelp(<<%command.name% command lists all commands: - - php %command.full_name% - -You can also display the commands for a specific namespace: - - php %command.full_name% test - -It's also possible to get raw list of commands (useful for embedding command runner): - - php %command.full_name% --raw -EOF - ); - } - - /** - * {@inheritdoc} - */ - public function getNativeDefinition() - { - return $this->createDefinition(); - } - - /** - * {@inheritdoc} - */ - protected function execute(Input $input, Output $output) - { - $output->describe($this->getConsole(), [ - 'raw_text' => $input->getOption('raw'), - 'namespace' => $input->getArgument('namespace'), - ]); - } - - /** - * {@inheritdoc} - */ - private function createDefinition() - { - return new InputDefinition([ - new InputArgument('namespace', InputArgument::OPTIONAL, 'The namespace name'), - new InputOption('raw', null, InputOption::VALUE_NONE, 'To output raw command list'), - ]); - } -} diff --git a/thinkphp/library/think/console/command/Make.php b/thinkphp/library/think/console/command/Make.php deleted file mode 100644 index 2f20954a..00000000 --- a/thinkphp/library/think/console/command/Make.php +++ /dev/null @@ -1,110 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Argument; -use think\console\Output; -use think\facade\App; -use think\facade\Config; -use think\facade\Env; - -abstract class Make extends Command -{ - protected $type; - - abstract protected function getStub(); - - protected function configure() - { - $this->addArgument('name', Argument::REQUIRED, "The name of the class"); - } - - protected function execute(Input $input, Output $output) - { - - $name = trim($input->getArgument('name')); - - $classname = $this->getClassName($name); - - $pathname = $this->getPathName($classname); - - if (is_file($pathname)) { - $output->writeln('' . $this->type . ' already exists!'); - return false; - } - - if (!is_dir(dirname($pathname))) { - mkdir(dirname($pathname), 0755, true); - } - - file_put_contents($pathname, $this->buildClass($classname)); - - $output->writeln('' . $this->type . ' created successfully.'); - - } - - protected function buildClass($name) - { - $stub = file_get_contents($this->getStub()); - - $namespace = trim(implode('\\', array_slice(explode('\\', $name), 0, -1)), '\\'); - - $class = str_replace($namespace . '\\', '', $name); - - return str_replace(['{%className%}', '{%actionSuffix%}', '{%namespace%}', '{%app_namespace%}'], [ - $class, - Config::get('action_suffix'), - $namespace, - App::getNamespace(), - ], $stub); - } - - protected function getPathName($name) - { - $name = str_replace(App::getNamespace() . '\\', '', $name); - - return Env::get('app_path') . ltrim(str_replace('\\', '/', $name), '/') . '.php'; - } - - protected function getClassName($name) - { - $appNamespace = App::getNamespace(); - - if (strpos($name, $appNamespace . '\\') !== false) { - return $name; - } - - if (Config::get('app_multi_module')) { - if (strpos($name, '/')) { - list($module, $name) = explode('/', $name, 2); - } else { - $module = 'common'; - } - } else { - $module = null; - } - - if (strpos($name, '/') !== false) { - $name = str_replace('/', '\\', $name); - } - - return $this->getNamespace($appNamespace, $module) . '\\' . $name; - } - - protected function getNamespace($appNamespace, $module) - { - return $module ? ($appNamespace . '\\' . $module) : $appNamespace; - } - -} diff --git a/thinkphp/library/think/console/command/RouteList.php b/thinkphp/library/think/console/command/RouteList.php deleted file mode 100644 index 0405c31b..00000000 --- a/thinkphp/library/think/console/command/RouteList.php +++ /dev/null @@ -1,130 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Argument; -use think\console\input\Option; -use think\console\Output; -use think\console\Table; -use think\Container; - -class RouteList extends Command -{ - protected $sortBy = [ - 'rule' => 0, - 'route' => 1, - 'method' => 2, - 'name' => 3, - 'domain' => 4, - ]; - - protected function configure() - { - $this->setName('route:list') - ->addArgument('style', Argument::OPTIONAL, "the style of the table.", 'default') - ->addOption('sort', 's', Option::VALUE_OPTIONAL, 'order by rule name.', 0) - ->addOption('more', 'm', Option::VALUE_NONE, 'show route options.') - ->setDescription('show route list.'); - } - - protected function execute(Input $input, Output $output) - { - $filename = Container::get('app')->getRuntimePath() . 'route_list.php'; - - if (is_file($filename)) { - unlink($filename); - } - - $content = $this->getRouteList(); - file_put_contents($filename, 'Route List' . PHP_EOL . $content); - } - - protected function getRouteList() - { - Container::get('route')->setTestMode(true); - // 路由检测 - $path = Container::get('app')->getRoutePath(); - - $files = is_dir($path) ? scandir($path) : []; - - foreach ($files as $file) { - if (strpos($file, '.php')) { - $filename = $path . DIRECTORY_SEPARATOR . $file; - // 导入路由配置 - $rules = include $filename; - - if (is_array($rules)) { - Container::get('route')->import($rules); - } - } - } - - if (Container::get('config')->get('route_annotation')) { - $suffix = Container::get('config')->get('controller_suffix') || Container::get('config')->get('class_suffix'); - - include Container::get('build')->buildRoute($suffix); - } - - $table = new Table(); - - if ($this->input->hasOption('more')) { - $header = ['Rule', 'Route', 'Method', 'Name', 'Domain', 'Option', 'Pattern']; - } else { - $header = ['Rule', 'Route', 'Method', 'Name', 'Domain']; - } - - $table->setHeader($header); - - $routeList = Container::get('route')->getRuleList(); - $rows = []; - - foreach ($routeList as $domain => $items) { - foreach ($items as $item) { - $item['route'] = $item['route'] instanceof \Closure ? '' : $item['route']; - - if ($this->input->hasOption('more')) { - $item = [$item['rule'], $item['route'], $item['method'], $item['name'], $domain, json_encode($item['option']), json_encode($item['pattern'])]; - } else { - $item = [$item['rule'], $item['route'], $item['method'], $item['name'], $domain]; - } - - $rows[] = $item; - } - } - - if ($this->input->getOption('sort')) { - $sort = $this->input->getOption('sort'); - - if (isset($this->sortBy[$sort])) { - $sort = $this->sortBy[$sort]; - } - - uasort($rows, function ($a, $b) use ($sort) { - $itemA = isset($a[$sort]) ? $a[$sort] : null; - $itemB = isset($b[$sort]) ? $b[$sort] : null; - - return strcasecmp($itemA, $itemB); - }); - } - - $table->setRows($rows); - - if ($this->input->getArgument('style')) { - $style = $this->input->getArgument('style'); - $table->setStyle($style); - } - - return $this->table($table); - } - -} diff --git a/thinkphp/library/think/console/command/RunServer.php b/thinkphp/library/think/console/command/RunServer.php deleted file mode 100644 index 2e028dc6..00000000 --- a/thinkphp/library/think/console/command/RunServer.php +++ /dev/null @@ -1,53 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\input\Option; -use think\console\Output; -use think\facade\App; - -class RunServer extends Command -{ - public function configure() - { - $this->setName('run') - ->addOption('host', 'H', Option::VALUE_OPTIONAL, - 'The host to server the application on', '127.0.0.1') - ->addOption('port', 'p', Option::VALUE_OPTIONAL, - 'The port to server the application on', 8000) - ->addOption('root', 'r', Option::VALUE_OPTIONAL, - 'The document root of the application', App::getRootPath() . 'public') - ->setDescription('PHP Built-in Server for ThinkPHP'); - } - - public function execute(Input $input, Output $output) - { - $host = $input->getOption('host'); - $port = $input->getOption('port'); - $root = $input->getOption('root'); - - $command = sprintf( - 'php -S %s:%d -t %s %s', - $host, - $port, - escapeshellarg($root), - escapeshellarg($root . DIRECTORY_SEPARATOR . 'router.php') - ); - - $output->writeln(sprintf('ThinkPHP Development server is started On ', $host, $port)); - $output->writeln(sprintf('You can exit with `CTRL-C`')); - $output->writeln(sprintf('Document root is: %s', $root)); - passthru($command); - } - -} diff --git a/thinkphp/library/think/console/command/Version.php b/thinkphp/library/think/console/command/Version.php deleted file mode 100644 index ee7eca9c..00000000 --- a/thinkphp/library/think/console/command/Version.php +++ /dev/null @@ -1,31 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command; - -use think\console\Command; -use think\console\Input; -use think\console\Output; -use think\facade\App; - -class Version extends Command -{ - protected function configure() - { - // 指令配置 - $this->setName('version') - ->setDescription('show thinkphp framework version'); - } - - protected function execute(Input $input, Output $output) - { - $output->writeln('v' . App::version()); - } -} diff --git a/thinkphp/library/think/console/command/make/Command.php b/thinkphp/library/think/console/command/make/Command.php deleted file mode 100644 index b539eb23..00000000 --- a/thinkphp/library/think/console/command/make/Command.php +++ /dev/null @@ -1,56 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command\make; - -use think\console\command\Make; -use think\console\input\Argument; -use think\facade\App; - -class Command extends Make -{ - protected $type = "Command"; - - protected function configure() - { - parent::configure(); - $this->setName('make:command') - ->addArgument('commandName', Argument::OPTIONAL, "The name of the command") - ->setDescription('Create a new command class'); - } - - protected function buildClass($name) - { - $commandName = $this->input->getArgument('commandName') ?: strtolower(basename($name)); - $namespace = trim(implode('\\', array_slice(explode('\\', $name), 0, -1)), '\\'); - - $class = str_replace($namespace . '\\', '', $name); - $stub = file_get_contents($this->getStub()); - - return str_replace(['{%commandName%}', '{%className%}', '{%namespace%}', '{%app_namespace%}'], [ - $commandName, - $class, - $namespace, - App::getNamespace(), - ], $stub); - } - - protected function getStub() - { - return __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'command.stub'; - } - - protected function getNamespace($appNamespace, $module) - { - return $appNamespace . '\\command'; - } - -} diff --git a/thinkphp/library/think/console/command/make/Controller.php b/thinkphp/library/think/console/command/make/Controller.php deleted file mode 100644 index 2a6ab770..00000000 --- a/thinkphp/library/think/console/command/make/Controller.php +++ /dev/null @@ -1,56 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command\make; - -use think\console\command\Make; -use think\console\input\Option; -use think\facade\Config; - -class Controller extends Make -{ - protected $type = "Controller"; - - protected function configure() - { - parent::configure(); - $this->setName('make:controller') - ->addOption('api', null, Option::VALUE_NONE, 'Generate an api controller class.') - ->addOption('plain', null, Option::VALUE_NONE, 'Generate an empty controller class.') - ->setDescription('Create a new resource controller class'); - } - - protected function getStub() - { - $stubPath = __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR; - - if ($this->input->getOption('api')) { - return $stubPath . 'controller.api.stub'; - } - - if ($this->input->getOption('plain')) { - return $stubPath . 'controller.plain.stub'; - } - - return $stubPath . 'controller.stub'; - } - - protected function getClassName($name) - { - return parent::getClassName($name) . (Config::get('controller_suffix') ? ucfirst(Config::get('url_controller_layer')) : ''); - } - - protected function getNamespace($appNamespace, $module) - { - return parent::getNamespace($appNamespace, $module) . '\controller'; - } - -} diff --git a/thinkphp/library/think/console/command/make/Middleware.php b/thinkphp/library/think/console/command/make/Middleware.php deleted file mode 100644 index bfe821b0..00000000 --- a/thinkphp/library/think/console/command/make/Middleware.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command\make; - -use think\console\command\Make; - -class Middleware extends Make -{ - protected $type = "Middleware"; - - protected function configure() - { - parent::configure(); - $this->setName('make:middleware') - ->setDescription('Create a new middleware class'); - } - - protected function getStub() - { - return __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'middleware.stub'; - } - - protected function getNamespace($appNamespace, $module) - { - return parent::getNamespace($appNamespace, 'http') . '\middleware'; - } -} diff --git a/thinkphp/library/think/console/command/make/Model.php b/thinkphp/library/think/console/command/make/Model.php deleted file mode 100644 index 03e6b3fc..00000000 --- a/thinkphp/library/think/console/command/make/Model.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command\make; - -use think\console\command\Make; - -class Model extends Make -{ - protected $type = "Model"; - - protected function configure() - { - parent::configure(); - $this->setName('make:model') - ->setDescription('Create a new model class'); - } - - protected function getStub() - { - return __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'model.stub'; - } - - protected function getNamespace($appNamespace, $module) - { - return parent::getNamespace($appNamespace, $module) . '\model'; - } -} diff --git a/thinkphp/library/think/console/command/make/Validate.php b/thinkphp/library/think/console/command/make/Validate.php deleted file mode 100644 index 89830ad1..00000000 --- a/thinkphp/library/think/console/command/make/Validate.php +++ /dev/null @@ -1,39 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\command\make; - -use think\console\command\Make; - -class Validate extends Make -{ - protected $type = "Validate"; - - protected function configure() - { - parent::configure(); - $this->setName('make:validate') - ->setDescription('Create a validate class'); - } - - protected function getStub() - { - $stubPath = __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR; - - return $stubPath . 'validate.stub'; - } - - protected function getNamespace($appNamespace, $module) - { - return parent::getNamespace($appNamespace, $module) . '\validate'; - } - -} diff --git a/thinkphp/library/think/console/command/make/stubs/command.stub b/thinkphp/library/think/console/command/make/stubs/command.stub deleted file mode 100644 index d2c7c1e7..00000000 --- a/thinkphp/library/think/console/command/make/stubs/command.stub +++ /dev/null @@ -1,24 +0,0 @@ -setName('{%commandName%}'); - // 设置参数 - - } - - protected function execute(Input $input, Output $output) - { - // 指令输出 - $output->writeln('{%commandName%}'); - } -} diff --git a/thinkphp/library/think/console/command/make/stubs/controller.api.stub b/thinkphp/library/think/console/command/make/stubs/controller.api.stub deleted file mode 100644 index 54ec0594..00000000 --- a/thinkphp/library/think/console/command/make/stubs/controller.api.stub +++ /dev/null @@ -1,64 +0,0 @@ - ['规则1','规则2'...] - * - * @var array - */ - protected $rule = []; - - /** - * 定义错误信息 - * 格式:'字段名.规则名' => '错误信息' - * - * @var array - */ - protected $message = []; -} diff --git a/thinkphp/library/think/console/command/optimize/Autoload.php b/thinkphp/library/think/console/command/optimize/Autoload.php deleted file mode 100644 index b51fd259..00000000 --- a/thinkphp/library/think/console/command/optimize/Autoload.php +++ /dev/null @@ -1,279 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command\optimize; - -use think\console\Command; -use think\console\Input; -use think\console\Output; -use think\Container; - -class Autoload extends Command -{ - protected function configure() - { - $this->setName('optimize:autoload') - ->setDescription('Optimizes PSR0 and PSR4 packages to be loaded with classmaps too, good for production.'); - } - - protected function execute(Input $input, Output $output) - { - - $classmapFile = <<getNamespace() . '\\' => realpath(rtrim($app->getAppPath())), - 'think\\' => $app->getThinkPath() . 'library/think', - 'traits\\' => $app->getThinkPath() . 'library/traits', - '' => realpath(rtrim($app->getRootPath() . 'extend')), - ]; - - krsort($namespacesToScan); - $classMap = []; - foreach ($namespacesToScan as $namespace => $dir) { - - if (!is_dir($dir)) { - continue; - } - - $namespaceFilter = '' === $namespace ? null : $namespace; - $classMap = $this->addClassMapCode($dir, $namespaceFilter, $classMap); - } - - ksort($classMap); - foreach ($classMap as $class => $code) { - $classmapFile .= ' ' . var_export($class, true) . ' => ' . $code; - } - $classmapFile .= "];\n"; - $runtimePath = $app->getRuntimePath(); - if (!is_dir($runtimePath)) { - @mkdir($runtimePath, 0755, true); - } - - file_put_contents($runtimePath . 'classmap.php', $classmapFile); - - $output->writeln('Succeed!'); - } - - protected function addClassMapCode($dir, $namespace, $classMap) - { - foreach ($this->createMap($dir, $namespace) as $class => $path) { - - $pathCode = $this->getPathCode($path) . ",\n"; - - if (!isset($classMap[$class])) { - $classMap[$class] = $pathCode; - } elseif ($classMap[$class] !== $pathCode && !preg_match('{/(test|fixture|example|stub)s?/}i', strtr($classMap[$class] . ' ' . $path, '\\', '/'))) { - $this->output->writeln( - 'Warning: Ambiguous class resolution, "' . $class . '"' . - ' was found in both "' . str_replace(["',\n"], [ - '', - ], $classMap[$class]) . '" and "' . $path . '", the first will be used.' - ); - } - } - return $classMap; - } - - protected function getPathCode($path) - { - $baseDir = ''; - $app = Container::get('app'); - $appPath = $this->normalizePath(realpath($app->getAppPath())); - $libPath = $this->normalizePath(realpath($app->getThinkPath() . 'library')); - $extendPath = $this->normalizePath(realpath($app->getRootPath() . 'extend')); - $path = $this->normalizePath($path); - - if (strpos($path, $libPath . '/') === 0) { - $path = substr($path, strlen($app->getThinkPath() . 'library')); - $baseDir = "'" . $libPath . "/'"; - } elseif (strpos($path, $appPath . '/') === 0) { - $path = substr($path, strlen($appPath) + 1); - $baseDir = "'" . $appPath . "/'"; - } elseif (strpos($path, $extendPath . '/') === 0) { - $path = substr($path, strlen($extendPath) + 1); - $baseDir = "'" . $extendPath . "/'"; - } - - if (false !== $path) { - $baseDir .= " . "; - } - - return $baseDir . ((false !== $path) ? var_export($path, true) : ""); - } - - protected function normalizePath($path) - { - $parts = []; - $path = strtr($path, '\\', '/'); - $prefix = ''; - $absolute = false; - - if (preg_match('{^([0-9a-z]+:(?://(?:[a-z]:)?)?)}i', $path, $match)) { - $prefix = $match[1]; - $path = substr($path, strlen($prefix)); - } - - if (substr($path, 0, 1) === '/') { - $absolute = true; - $path = substr($path, 1); - } - - $up = false; - foreach (explode('/', $path) as $chunk) { - if ('..' === $chunk && ($absolute || $up)) { - array_pop($parts); - $up = !(empty($parts) || '..' === end($parts)); - } elseif ('.' !== $chunk && '' !== $chunk) { - $parts[] = $chunk; - $up = '..' !== $chunk; - } - } - - return $prefix . ($absolute ? '/' : '') . implode('/', $parts); - } - - protected function createMap($path, $namespace = null) - { - if (is_string($path)) { - if (is_file($path)) { - $path = [new \SplFileInfo($path)]; - } elseif (is_dir($path)) { - - $objects = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path), \RecursiveIteratorIterator::SELF_FIRST); - - $path = []; - - /** @var \SplFileInfo $object */ - foreach ($objects as $object) { - if ($object->isFile() && $object->getExtension() == 'php') { - $path[] = $object; - } - } - } else { - throw new \RuntimeException( - 'Could not scan for classes inside "' . $path . - '" which does not appear to be a file nor a folder' - ); - } - } - - $map = []; - - /** @var \SplFileInfo $file */ - foreach ($path as $file) { - $filePath = $file->getRealPath(); - - if (pathinfo($filePath, PATHINFO_EXTENSION) != 'php') { - continue; - } - - $classes = $this->findClasses($filePath); - - foreach ($classes as $class) { - if (null !== $namespace && 0 !== strpos($class, $namespace)) { - continue; - } - - if (!isset($map[$class])) { - $map[$class] = $filePath; - } elseif ($map[$class] !== $filePath && !preg_match('{/(test|fixture|example|stub)s?/}i', strtr($map[$class] . ' ' . $filePath, '\\', '/'))) { - $this->output->writeln( - 'Warning: Ambiguous class resolution, "' . $class . '"' . - ' was found in both "' . $map[$class] . '" and "' . $filePath . '", the first will be used.' - ); - } - } - } - - return $map; - } - - protected function findClasses($path) - { - $extraTypes = '|trait'; - - $contents = @php_strip_whitespace($path); - if (!$contents) { - if (!file_exists($path)) { - $message = 'File at "%s" does not exist, check your classmap definitions'; - } elseif (!is_readable($path)) { - $message = 'File at "%s" is not readable, check its permissions'; - } elseif ('' === trim(file_get_contents($path))) { - return []; - } else { - $message = 'File at "%s" could not be parsed as PHP, it may be binary or corrupted'; - } - $error = error_get_last(); - if (isset($error['message'])) { - $message .= PHP_EOL . 'The following message may be helpful:' . PHP_EOL . $error['message']; - } - throw new \RuntimeException(sprintf($message, $path)); - } - - if (!preg_match('{\b(?:class|interface' . $extraTypes . ')\s}i', $contents)) { - return []; - } - - // strip heredocs/nowdocs - $contents = preg_replace('{<<<\s*(\'?)(\w+)\\1(?:\r\n|\n|\r)(?:.*?)(?:\r\n|\n|\r)\\2(?=\r\n|\n|\r|;)}s', 'null', $contents); - // strip strings - $contents = preg_replace('{"[^"\\\\]*+(\\\\.[^"\\\\]*+)*+"|\'[^\'\\\\]*+(\\\\.[^\'\\\\]*+)*+\'}s', 'null', $contents); - // strip leading non-php code if needed - if (substr($contents, 0, 2) !== '.+<\?}s', '?>'); - if (false !== $pos && false === strpos(substr($contents, $pos), '])(?Pclass|interface' . $extraTypes . ') \s++ (?P[a-zA-Z_\x7f-\xff:][a-zA-Z0-9_\x7f-\xff:\-]*+) - | \b(?])(?Pnamespace) (?P\s++[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+(?:\s*+\\\\\s*+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+)*+)? \s*+ [\{;] - ) - }ix', $contents, $matches); - - $classes = []; - $namespace = ''; - - for ($i = 0, $len = count($matches['type']); $i < $len; $i++) { - if (!empty($matches['ns'][$i])) { - $namespace = str_replace([' ', "\t", "\r", "\n"], '', $matches['nsname'][$i]) . '\\'; - } else { - $name = $matches['name'][$i]; - if (':' === $name[0]) { - $name = 'xhp' . substr(str_replace(['-', ':'], ['_', '__'], $name), 1); - } elseif ('enum' === $matches['type'][$i]) { - $name = rtrim($name, ':'); - } - $classes[] = ltrim($namespace . $name, '\\'); - } - } - - return $classes; - } - -} diff --git a/thinkphp/library/think/console/command/optimize/Config.php b/thinkphp/library/think/console/command/optimize/Config.php deleted file mode 100644 index da955568..00000000 --- a/thinkphp/library/think/console/command/optimize/Config.php +++ /dev/null @@ -1,107 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command\optimize; - -use think\console\Command; -use think\console\Input; -use think\console\input\Argument; -use think\console\Output; -use think\Container; -use think\facade\App; - -class Config extends Command -{ - protected function configure() - { - $this->setName('optimize:config') - ->addArgument('module', Argument::OPTIONAL, 'Build module config cache .') - ->setDescription('Build config and common file cache.'); - } - - protected function execute(Input $input, Output $output) - { - if ($input->getArgument('module')) { - $module = $input->getArgument('module') . DIRECTORY_SEPARATOR; - } else { - $module = ''; - } - - $content = 'buildCacheContent($module); - $runtimePath = App::getRuntimePath(); - if (!is_dir($runtimePath . $module)) { - @mkdir($runtimePath . $module, 0755, true); - } - - file_put_contents($runtimePath . $module . 'init.php', $content); - - $output->writeln('Succeed!'); - } - - protected function buildCacheContent($module) - { - $content = '// This cache file is automatically generated at:' . date('Y-m-d H:i:s') . PHP_EOL; - $path = realpath(App::getAppPath() . $module) . DIRECTORY_SEPARATOR; - if ($module) { - $configPath = is_dir($path . 'config') ? $path . 'config' : App::getConfigPath() . $module; - } else { - $configPath = App::getConfigPath(); - } - $ext = App::getConfigExt(); - $config = Container::get('config'); - - $files = is_dir($configPath) ? scandir($configPath) : []; - - foreach ($files as $file) { - if ('.' . pathinfo($file, PATHINFO_EXTENSION) === $ext) { - $filename = $configPath . DIRECTORY_SEPARATOR . $file; - $config->load($filename, pathinfo($file, PATHINFO_FILENAME)); - } - } - - // 加载行为扩展文件 - if (is_file($path . 'tags.php')) { - $tags = include $path . 'tags.php'; - if (is_array($tags)) { - $content .= PHP_EOL . '\think\facade\Hook::import(' . (var_export($tags, true)) . ');' . PHP_EOL; - } - } - - // 加载公共文件 - if (is_file($path . 'common.php')) { - $common = substr(php_strip_whitespace($path . 'common.php'), 6); - if ($common) { - $content .= PHP_EOL . $common . PHP_EOL; - } - } - - if ('' == $module) { - $content .= PHP_EOL . substr(php_strip_whitespace(App::getThinkPath() . 'helper.php'), 6) . PHP_EOL; - - if (is_file($path . 'middleware.php')) { - $middleware = include $path . 'middleware.php'; - if (is_array($middleware)) { - $content .= PHP_EOL . '\think\Container::get("middleware")->import(' . var_export($middleware, true) . ');' . PHP_EOL; - } - } - } - - if (is_file($path . 'provider.php')) { - $provider = include $path . 'provider.php'; - if (is_array($provider)) { - $content .= PHP_EOL . '\think\Container::getInstance()->bindTo(' . var_export($provider, true) . ');' . PHP_EOL; - } - } - - $content .= PHP_EOL . '\think\facade\Config::set(' . var_export($config->get(), true) . ');' . PHP_EOL; - - return $content; - } -} diff --git a/thinkphp/library/think/console/command/optimize/Route.php b/thinkphp/library/think/console/command/optimize/Route.php deleted file mode 100644 index f6dc6328..00000000 --- a/thinkphp/library/think/console/command/optimize/Route.php +++ /dev/null @@ -1,66 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command\optimize; - -use think\console\Command; -use think\console\Input; -use think\console\Output; -use think\Container; - -class Route extends Command -{ - protected function configure() - { - $this->setName('optimize:route') - ->setDescription('Build route cache.'); - } - - protected function execute(Input $input, Output $output) - { - $filename = Container::get('app')->getRuntimePath() . 'route.php'; - if (is_file($filename)) { - unlink($filename); - } - file_put_contents($filename, $this->buildRouteCache()); - $output->writeln('Succeed!'); - } - - protected function buildRouteCache() - { - Container::get('route')->setName([]); - Container::get('route')->setTestMode(true); - // 路由检测 - $path = Container::get('app')->getRoutePath(); - - $files = is_dir($path) ? scandir($path) : []; - - foreach ($files as $file) { - if (strpos($file, '.php')) { - $filename = $path . DIRECTORY_SEPARATOR . $file; - // 导入路由配置 - $rules = include $filename; - if (is_array($rules)) { - Container::get('route')->import($rules); - } - } - } - - if (Container::get('config')->get('route_annotation')) { - $suffix = Container::get('config')->get('controller_suffix') || Container::get('config')->get('class_suffix'); - include Container::get('build')->buildRoute($suffix); - } - - $content = 'getName(), true) . ';'; - return $content; - } - -} diff --git a/thinkphp/library/think/console/command/optimize/Schema.php b/thinkphp/library/think/console/command/optimize/Schema.php deleted file mode 100644 index 16ac83d5..00000000 --- a/thinkphp/library/think/console/command/optimize/Schema.php +++ /dev/null @@ -1,118 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\command\optimize; - -use think\console\Command; -use think\console\Input; -use think\console\input\Option; -use think\console\Output; -use think\Db; -use think\facade\App; - -class Schema extends Command -{ - protected function configure() - { - $this->setName('optimize:schema') - ->addOption('db', null, Option::VALUE_REQUIRED, 'db name .') - ->addOption('table', null, Option::VALUE_REQUIRED, 'table name .') - ->addOption('module', null, Option::VALUE_REQUIRED, 'module name .') - ->setDescription('Build database schema cache.'); - } - - protected function execute(Input $input, Output $output) - { - if (!is_dir(App::getRuntimePath() . 'schema')) { - @mkdir(App::getRuntimePath() . 'schema', 0755, true); - } - - if ($input->hasOption('module')) { - $module = $input->getOption('module'); - // 读取模型 - $path = App::getAppPath() . $module . DIRECTORY_SEPARATOR . 'model'; - $list = is_dir($path) ? scandir($path) : []; - $namespace = App::getNamespace(); - - foreach ($list as $file) { - if (0 === strpos($file, '.')) { - continue; - } - $class = '\\' . $namespace . '\\' . $module . '\\model\\' . pathinfo($file, PATHINFO_FILENAME); - $this->buildModelSchema($class); - } - - $output->writeln('Succeed!'); - return; - } elseif ($input->hasOption('table')) { - $table = $input->getOption('table'); - if (false === strpos($table, '.')) { - $dbName = Db::getConfig('database'); - } - - $tables[] = $table; - } elseif ($input->hasOption('db')) { - $dbName = $input->getOption('db'); - $tables = Db::getConnection()->getTables($dbName); - } elseif (!\think\facade\Config::get('app_multi_module')) { - $namespace = App::getNamespace(); - $path = App::getAppPath() . 'model'; - $list = is_dir($path) ? scandir($path) : []; - - foreach ($list as $file) { - if (0 === strpos($file, '.')) { - continue; - } - $class = '\\' . $namespace . '\\model\\' . pathinfo($file, PATHINFO_FILENAME); - $this->buildModelSchema($class); - } - - $output->writeln('Succeed!'); - return; - } else { - $tables = Db::getConnection()->getTables(); - } - - $db = isset($dbName) ? $dbName . '.' : ''; - $this->buildDataBaseSchema($tables, $db); - - $output->writeln('Succeed!'); - } - - protected function buildModelSchema($class) - { - $reflect = new \ReflectionClass($class); - if (!$reflect->isAbstract() && $reflect->isSubclassOf('\think\Model')) { - $table = $class::getTable(); - $dbName = $class::getConfig('database'); - $content = 'getFields($table); - $content .= var_export($info, true) . ';'; - - file_put_contents(App::getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR . $dbName . '.' . $table . '.php', $content); - } - } - - protected function buildDataBaseSchema($tables, $db) - { - if ('' == $db) { - $dbName = Db::getConfig('database') . '.'; - } else { - $dbName = $db; - } - - foreach ($tables as $table) { - $content = 'getFields($db . $table); - $content .= var_export($info, true) . ';'; - file_put_contents(App::getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR . $dbName . $table . '.php', $content); - } - } -} diff --git a/thinkphp/library/think/console/input/Argument.php b/thinkphp/library/think/console/input/Argument.php deleted file mode 100644 index 16223bbe..00000000 --- a/thinkphp/library/think/console/input/Argument.php +++ /dev/null @@ -1,115 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\input; - -class Argument -{ - - const REQUIRED = 1; - const OPTIONAL = 2; - const IS_ARRAY = 4; - - private $name; - private $mode; - private $default; - private $description; - - /** - * 构造方法 - * @param string $name 参数名 - * @param int $mode 参数类型: self::REQUIRED 或者 self::OPTIONAL - * @param string $description 描述 - * @param mixed $default 默认值 (仅 self::OPTIONAL 类型有效) - * @throws \InvalidArgumentException - */ - public function __construct($name, $mode = null, $description = '', $default = null) - { - if (null === $mode) { - $mode = self::OPTIONAL; - } elseif (!is_int($mode) || $mode > 7 || $mode < 1) { - throw new \InvalidArgumentException(sprintf('Argument mode "%s" is not valid.', $mode)); - } - - $this->name = $name; - $this->mode = $mode; - $this->description = $description; - - $this->setDefault($default); - } - - /** - * 获取参数名 - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 是否必须 - * @return bool - */ - public function isRequired() - { - return self::REQUIRED === (self::REQUIRED & $this->mode); - } - - /** - * 该参数是否接受数组 - * @return bool - */ - public function isArray() - { - return self::IS_ARRAY === (self::IS_ARRAY & $this->mode); - } - - /** - * 设置默认值 - * @param mixed $default 默认值 - * @throws \LogicException - */ - public function setDefault($default = null) - { - if (self::REQUIRED === $this->mode && null !== $default) { - throw new \LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.'); - } - - if ($this->isArray()) { - if (null === $default) { - $default = []; - } elseif (!is_array($default)) { - throw new \LogicException('A default value for an array argument must be an array.'); - } - } - - $this->default = $default; - } - - /** - * 获取默认值 - * @return mixed - */ - public function getDefault() - { - return $this->default; - } - - /** - * 获取描述 - * @return string - */ - public function getDescription() - { - return $this->description; - } -} diff --git a/thinkphp/library/think/console/input/Definition.php b/thinkphp/library/think/console/input/Definition.php deleted file mode 100644 index c71977ec..00000000 --- a/thinkphp/library/think/console/input/Definition.php +++ /dev/null @@ -1,375 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\input; - -class Definition -{ - - /** - * @var Argument[] - */ - private $arguments; - - private $requiredCount; - private $hasAnArrayArgument = false; - private $hasOptional; - - /** - * @var Option[] - */ - private $options; - private $shortcuts; - - /** - * 构造方法 - * @param array $definition - * @api - */ - public function __construct(array $definition = []) - { - $this->setDefinition($definition); - } - - /** - * 设置指令的定义 - * @param array $definition 定义的数组 - */ - public function setDefinition(array $definition) - { - $arguments = []; - $options = []; - foreach ($definition as $item) { - if ($item instanceof Option) { - $options[] = $item; - } else { - $arguments[] = $item; - } - } - - $this->setArguments($arguments); - $this->setOptions($options); - } - - /** - * 设置参数 - * @param Argument[] $arguments 参数数组 - */ - public function setArguments($arguments = []) - { - $this->arguments = []; - $this->requiredCount = 0; - $this->hasOptional = false; - $this->hasAnArrayArgument = false; - $this->addArguments($arguments); - } - - /** - * 添加参数 - * @param Argument[] $arguments 参数数组 - * @api - */ - public function addArguments($arguments = []) - { - if (null !== $arguments) { - foreach ($arguments as $argument) { - $this->addArgument($argument); - } - } - } - - /** - * 添加一个参数 - * @param Argument $argument 参数 - * @throws \LogicException - */ - public function addArgument(Argument $argument) - { - if (isset($this->arguments[$argument->getName()])) { - throw new \LogicException(sprintf('An argument with name "%s" already exists.', $argument->getName())); - } - - if ($this->hasAnArrayArgument) { - throw new \LogicException('Cannot add an argument after an array argument.'); - } - - if ($argument->isRequired() && $this->hasOptional) { - throw new \LogicException('Cannot add a required argument after an optional one.'); - } - - if ($argument->isArray()) { - $this->hasAnArrayArgument = true; - } - - if ($argument->isRequired()) { - ++$this->requiredCount; - } else { - $this->hasOptional = true; - } - - $this->arguments[$argument->getName()] = $argument; - } - - /** - * 根据名称或者位置获取参数 - * @param string|int $name 参数名或者位置 - * @return Argument 参数 - * @throws \InvalidArgumentException - */ - public function getArgument($name) - { - if (!$this->hasArgument($name)) { - throw new \InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name)); - } - - $arguments = is_int($name) ? array_values($this->arguments) : $this->arguments; - - return $arguments[$name]; - } - - /** - * 根据名称或位置检查是否具有某个参数 - * @param string|int $name 参数名或者位置 - * @return bool - * @api - */ - public function hasArgument($name) - { - $arguments = is_int($name) ? array_values($this->arguments) : $this->arguments; - - return isset($arguments[$name]); - } - - /** - * 获取所有的参数 - * @return Argument[] 参数数组 - */ - public function getArguments() - { - return $this->arguments; - } - - /** - * 获取参数数量 - * @return int - */ - public function getArgumentCount() - { - return $this->hasAnArrayArgument ? PHP_INT_MAX : count($this->arguments); - } - - /** - * 获取必填的参数的数量 - * @return int - */ - public function getArgumentRequiredCount() - { - return $this->requiredCount; - } - - /** - * 获取参数默认值 - * @return array - */ - public function getArgumentDefaults() - { - $values = []; - foreach ($this->arguments as $argument) { - $values[$argument->getName()] = $argument->getDefault(); - } - - return $values; - } - - /** - * 设置选项 - * @param Option[] $options 选项数组 - */ - public function setOptions($options = []) - { - $this->options = []; - $this->shortcuts = []; - $this->addOptions($options); - } - - /** - * 添加选项 - * @param Option[] $options 选项数组 - * @api - */ - public function addOptions($options = []) - { - foreach ($options as $option) { - $this->addOption($option); - } - } - - /** - * 添加一个选项 - * @param Option $option 选项 - * @throws \LogicException - * @api - */ - public function addOption(Option $option) - { - if (isset($this->options[$option->getName()]) && !$option->equals($this->options[$option->getName()])) { - throw new \LogicException(sprintf('An option named "%s" already exists.', $option->getName())); - } - - if ($option->getShortcut()) { - foreach (explode('|', $option->getShortcut()) as $shortcut) { - if (isset($this->shortcuts[$shortcut]) - && !$option->equals($this->options[$this->shortcuts[$shortcut]]) - ) { - throw new \LogicException(sprintf('An option with shortcut "%s" already exists.', $shortcut)); - } - } - } - - $this->options[$option->getName()] = $option; - if ($option->getShortcut()) { - foreach (explode('|', $option->getShortcut()) as $shortcut) { - $this->shortcuts[$shortcut] = $option->getName(); - } - } - } - - /** - * 根据名称获取选项 - * @param string $name 选项名 - * @return Option - * @throws \InvalidArgumentException - * @api - */ - public function getOption($name) - { - if (!$this->hasOption($name)) { - throw new \InvalidArgumentException(sprintf('The "--%s" option does not exist.', $name)); - } - - return $this->options[$name]; - } - - /** - * 根据名称检查是否有这个选项 - * @param string $name 选项名 - * @return bool - * @api - */ - public function hasOption($name) - { - return isset($this->options[$name]); - } - - /** - * 获取所有选项 - * @return Option[] - * @api - */ - public function getOptions() - { - return $this->options; - } - - /** - * 根据名称检查某个选项是否有短名称 - * @param string $name 短名称 - * @return bool - */ - public function hasShortcut($name) - { - return isset($this->shortcuts[$name]); - } - - /** - * 根据短名称获取选项 - * @param string $shortcut 短名称 - * @return Option - */ - public function getOptionForShortcut($shortcut) - { - return $this->getOption($this->shortcutToName($shortcut)); - } - - /** - * 获取所有选项的默认值 - * @return array - */ - public function getOptionDefaults() - { - $values = []; - foreach ($this->options as $option) { - $values[$option->getName()] = $option->getDefault(); - } - - return $values; - } - - /** - * 根据短名称获取选项名 - * @param string $shortcut 短名称 - * @return string - * @throws \InvalidArgumentException - */ - private function shortcutToName($shortcut) - { - if (!isset($this->shortcuts[$shortcut])) { - throw new \InvalidArgumentException(sprintf('The "-%s" option does not exist.', $shortcut)); - } - - return $this->shortcuts[$shortcut]; - } - - /** - * 获取该指令的介绍 - * @param bool $short 是否简洁介绍 - * @return string - */ - public function getSynopsis($short = false) - { - $elements = []; - - if ($short && $this->getOptions()) { - $elements[] = '[options]'; - } elseif (!$short) { - foreach ($this->getOptions() as $option) { - $value = ''; - if ($option->acceptValue()) { - $value = sprintf(' %s%s%s', $option->isValueOptional() ? '[' : '', strtoupper($option->getName()), $option->isValueOptional() ? ']' : ''); - } - - $shortcut = $option->getShortcut() ? sprintf('-%s|', $option->getShortcut()) : ''; - $elements[] = sprintf('[%s--%s%s]', $shortcut, $option->getName(), $value); - } - } - - if (count($elements) && $this->getArguments()) { - $elements[] = '[--]'; - } - - foreach ($this->getArguments() as $argument) { - $element = '<' . $argument->getName() . '>'; - if (!$argument->isRequired()) { - $element = '[' . $element . ']'; - } elseif ($argument->isArray()) { - $element .= ' (' . $element . ')'; - } - - if ($argument->isArray()) { - $element .= '...'; - } - - $elements[] = $element; - } - - return implode(' ', $elements); - } -} diff --git a/thinkphp/library/think/console/input/Option.php b/thinkphp/library/think/console/input/Option.php deleted file mode 100644 index e5707c9a..00000000 --- a/thinkphp/library/think/console/input/Option.php +++ /dev/null @@ -1,190 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\input; - -class Option -{ - - const VALUE_NONE = 1; - const VALUE_REQUIRED = 2; - const VALUE_OPTIONAL = 4; - const VALUE_IS_ARRAY = 8; - - private $name; - private $shortcut; - private $mode; - private $default; - private $description; - - /** - * 构造方法 - * @param string $name 选项名 - * @param string|array $shortcut 短名称,多个用|隔开或者使用数组 - * @param int $mode 选项类型(可选类型为 self::VALUE_*) - * @param string $description 描述 - * @param mixed $default 默认值 (类型为 self::VALUE_REQUIRED 或者 self::VALUE_NONE 的时候必须为null) - * @throws \InvalidArgumentException - */ - public function __construct($name, $shortcut = null, $mode = null, $description = '', $default = null) - { - if (0 === strpos($name, '--')) { - $name = substr($name, 2); - } - - if (empty($name)) { - throw new \InvalidArgumentException('An option name cannot be empty.'); - } - - if (empty($shortcut)) { - $shortcut = null; - } - - if (null !== $shortcut) { - if (is_array($shortcut)) { - $shortcut = implode('|', $shortcut); - } - $shortcuts = preg_split('{(\|)-?}', ltrim($shortcut, '-')); - $shortcuts = array_filter($shortcuts); - $shortcut = implode('|', $shortcuts); - - if (empty($shortcut)) { - throw new \InvalidArgumentException('An option shortcut cannot be empty.'); - } - } - - if (null === $mode) { - $mode = self::VALUE_NONE; - } elseif (!is_int($mode) || $mode > 15 || $mode < 1) { - throw new \InvalidArgumentException(sprintf('Option mode "%s" is not valid.', $mode)); - } - - $this->name = $name; - $this->shortcut = $shortcut; - $this->mode = $mode; - $this->description = $description; - - if ($this->isArray() && !$this->acceptValue()) { - throw new \InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.'); - } - - $this->setDefault($default); - } - - /** - * 获取短名称 - * @return string - */ - public function getShortcut() - { - return $this->shortcut; - } - - /** - * 获取选项名 - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 是否可以设置值 - * @return bool 类型不是 self::VALUE_NONE 的时候返回true,其他均返回false - */ - public function acceptValue() - { - return $this->isValueRequired() || $this->isValueOptional(); - } - - /** - * 是否必须 - * @return bool 类型是 self::VALUE_REQUIRED 的时候返回true,其他均返回false - */ - public function isValueRequired() - { - return self::VALUE_REQUIRED === (self::VALUE_REQUIRED & $this->mode); - } - - /** - * 是否可选 - * @return bool 类型是 self::VALUE_OPTIONAL 的时候返回true,其他均返回false - */ - public function isValueOptional() - { - return self::VALUE_OPTIONAL === (self::VALUE_OPTIONAL & $this->mode); - } - - /** - * 选项值是否接受数组 - * @return bool 类型是 self::VALUE_IS_ARRAY 的时候返回true,其他均返回false - */ - public function isArray() - { - return self::VALUE_IS_ARRAY === (self::VALUE_IS_ARRAY & $this->mode); - } - - /** - * 设置默认值 - * @param mixed $default 默认值 - * @throws \LogicException - */ - public function setDefault($default = null) - { - if (self::VALUE_NONE === (self::VALUE_NONE & $this->mode) && null !== $default) { - throw new \LogicException('Cannot set a default value when using InputOption::VALUE_NONE mode.'); - } - - if ($this->isArray()) { - if (null === $default) { - $default = []; - } elseif (!is_array($default)) { - throw new \LogicException('A default value for an array option must be an array.'); - } - } - - $this->default = $this->acceptValue() ? $default : false; - } - - /** - * 获取默认值 - * @return mixed - */ - public function getDefault() - { - return $this->default; - } - - /** - * 获取描述文字 - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * 检查所给选项是否是当前这个 - * @param Option $option - * @return bool - */ - public function equals(Option $option) - { - return $option->getName() === $this->getName() - && $option->getShortcut() === $this->getShortcut() - && $option->getDefault() === $this->getDefault() - && $option->isArray() === $this->isArray() - && $option->isValueRequired() === $this->isValueRequired() - && $option->isValueOptional() === $this->isValueOptional(); - } -} diff --git a/thinkphp/library/think/console/output/Ask.php b/thinkphp/library/think/console/output/Ask.php deleted file mode 100644 index 3933eb29..00000000 --- a/thinkphp/library/think/console/output/Ask.php +++ /dev/null @@ -1,340 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output; - -use think\console\Input; -use think\console\Output; -use think\console\output\question\Choice; -use think\console\output\question\Confirmation; - -class Ask -{ - private static $stty; - - private static $shell; - - /** @var Input */ - protected $input; - - /** @var Output */ - protected $output; - - /** @var Question */ - protected $question; - - public function __construct(Input $input, Output $output, Question $question) - { - $this->input = $input; - $this->output = $output; - $this->question = $question; - } - - public function run() - { - if (!$this->input->isInteractive()) { - return $this->question->getDefault(); - } - - if (!$this->question->getValidator()) { - return $this->doAsk(); - } - - $that = $this; - - $interviewer = function () use ($that) { - return $that->doAsk(); - }; - - return $this->validateAttempts($interviewer); - } - - protected function doAsk() - { - $this->writePrompt(); - - $inputStream = STDIN; - $autocomplete = $this->question->getAutocompleterValues(); - - if (null === $autocomplete || !$this->hasSttyAvailable()) { - $ret = false; - if ($this->question->isHidden()) { - try { - $ret = trim($this->getHiddenResponse($inputStream)); - } catch (\RuntimeException $e) { - if (!$this->question->isHiddenFallback()) { - throw $e; - } - } - } - - if (false === $ret) { - $ret = fgets($inputStream, 4096); - if (false === $ret) { - throw new \RuntimeException('Aborted'); - } - $ret = trim($ret); - } - } else { - $ret = trim($this->autocomplete($inputStream)); - } - - $ret = strlen($ret) > 0 ? $ret : $this->question->getDefault(); - - if ($normalizer = $this->question->getNormalizer()) { - return $normalizer($ret); - } - - return $ret; - } - - private function autocomplete($inputStream) - { - $autocomplete = $this->question->getAutocompleterValues(); - $ret = ''; - - $i = 0; - $ofs = -1; - $matches = $autocomplete; - $numMatches = count($matches); - - $sttyMode = shell_exec('stty -g'); - - shell_exec('stty -icanon -echo'); - - while (!feof($inputStream)) { - $c = fread($inputStream, 1); - - if ("\177" === $c) { - if (0 === $numMatches && 0 !== $i) { - --$i; - $this->output->write("\033[1D"); - } - - if ($i === 0) { - $ofs = -1; - $matches = $autocomplete; - $numMatches = count($matches); - } else { - $numMatches = 0; - } - - $ret = substr($ret, 0, $i); - } elseif ("\033" === $c) { - $c .= fread($inputStream, 2); - - if (isset($c[2]) && ('A' === $c[2] || 'B' === $c[2])) { - if ('A' === $c[2] && -1 === $ofs) { - $ofs = 0; - } - - if (0 === $numMatches) { - continue; - } - - $ofs += ('A' === $c[2]) ? -1 : 1; - $ofs = ($numMatches + $ofs) % $numMatches; - } - } elseif (ord($c) < 32) { - if ("\t" === $c || "\n" === $c) { - if ($numMatches > 0 && -1 !== $ofs) { - $ret = $matches[$ofs]; - $this->output->write(substr($ret, $i)); - $i = strlen($ret); - } - - if ("\n" === $c) { - $this->output->write($c); - break; - } - - $numMatches = 0; - } - - continue; - } else { - $this->output->write($c); - $ret .= $c; - ++$i; - - $numMatches = 0; - $ofs = 0; - - foreach ($autocomplete as $value) { - if (0 === strpos($value, $ret) && $i !== strlen($value)) { - $matches[$numMatches++] = $value; - } - } - } - - $this->output->write("\033[K"); - - if ($numMatches > 0 && -1 !== $ofs) { - $this->output->write("\0337"); - $this->output->highlight(substr($matches[$ofs], $i)); - $this->output->write("\0338"); - } - } - - shell_exec(sprintf('stty %s', $sttyMode)); - - return $ret; - } - - protected function getHiddenResponse($inputStream) - { - if ('\\' === DIRECTORY_SEPARATOR) { - $exe = __DIR__ . '/../bin/hiddeninput.exe'; - - $value = rtrim(shell_exec($exe)); - $this->output->writeln(''); - - if (isset($tmpExe)) { - unlink($tmpExe); - } - - return $value; - } - - if ($this->hasSttyAvailable()) { - $sttyMode = shell_exec('stty -g'); - - shell_exec('stty -echo'); - $value = fgets($inputStream, 4096); - shell_exec(sprintf('stty %s', $sttyMode)); - - if (false === $value) { - throw new \RuntimeException('Aborted'); - } - - $value = trim($value); - $this->output->writeln(''); - - return $value; - } - - if (false !== $shell = $this->getShell()) { - $readCmd = $shell === 'csh' ? 'set mypassword = $<' : 'read -r mypassword'; - $command = sprintf("/usr/bin/env %s -c 'stty -echo; %s; stty echo; echo \$mypassword'", $shell, $readCmd); - $value = rtrim(shell_exec($command)); - $this->output->writeln(''); - - return $value; - } - - throw new \RuntimeException('Unable to hide the response.'); - } - - protected function validateAttempts($interviewer) - { - /** @var \Exception $error */ - $error = null; - $attempts = $this->question->getMaxAttempts(); - while (null === $attempts || $attempts--) { - if (null !== $error) { - $this->output->error($error->getMessage()); - } - - try { - return call_user_func($this->question->getValidator(), $interviewer()); - } catch (\Exception $error) { - } - } - - throw $error; - } - - /** - * 显示问题的提示信息 - */ - protected function writePrompt() - { - $text = $this->question->getQuestion(); - $default = $this->question->getDefault(); - - switch (true) { - case null === $default: - $text = sprintf(' %s:', $text); - - break; - - case $this->question instanceof Confirmation: - $text = sprintf(' %s (yes/no) [%s]:', $text, $default ? 'yes' : 'no'); - - break; - - case $this->question instanceof Choice && $this->question->isMultiselect(): - $choices = $this->question->getChoices(); - $default = explode(',', $default); - - foreach ($default as $key => $value) { - $default[$key] = $choices[trim($value)]; - } - - $text = sprintf(' %s [%s]:', $text, implode(', ', $default)); - - break; - - case $this->question instanceof Choice: - $choices = $this->question->getChoices(); - $text = sprintf(' %s [%s]:', $text, $choices[$default]); - - break; - - default: - $text = sprintf(' %s [%s]:', $text, $default); - } - - $this->output->writeln($text); - - if ($this->question instanceof Choice) { - $width = max(array_map('strlen', array_keys($this->question->getChoices()))); - - foreach ($this->question->getChoices() as $key => $value) { - $this->output->writeln(sprintf(" [%-${width}s] %s", $key, $value)); - } - } - - $this->output->write(' > '); - } - - private function getShell() - { - if (null !== self::$shell) { - return self::$shell; - } - - self::$shell = false; - - if (file_exists('/usr/bin/env')) { - $test = "/usr/bin/env %s -c 'echo OK' 2> /dev/null"; - foreach (['bash', 'zsh', 'ksh', 'csh'] as $sh) { - if ('OK' === rtrim(shell_exec(sprintf($test, $sh)))) { - self::$shell = $sh; - break; - } - } - } - - return self::$shell; - } - - private function hasSttyAvailable() - { - if (null !== self::$stty) { - return self::$stty; - } - - exec('stty 2>&1', $output, $exitcode); - - return self::$stty = $exitcode === 0; - } -} diff --git a/thinkphp/library/think/console/output/Descriptor.php b/thinkphp/library/think/console/output/Descriptor.php deleted file mode 100644 index 6d98d53c..00000000 --- a/thinkphp/library/think/console/output/Descriptor.php +++ /dev/null @@ -1,319 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output; - -use think\Console; -use think\console\Command; -use think\console\input\Argument as InputArgument; -use think\console\input\Definition as InputDefinition; -use think\console\input\Option as InputOption; -use think\console\Output; -use think\console\output\descriptor\Console as ConsoleDescription; - -class Descriptor -{ - - /** - * @var Output - */ - protected $output; - - /** - * {@inheritdoc} - */ - public function describe(Output $output, $object, array $options = []) - { - $this->output = $output; - - switch (true) { - case $object instanceof InputArgument: - $this->describeInputArgument($object, $options); - break; - case $object instanceof InputOption: - $this->describeInputOption($object, $options); - break; - case $object instanceof InputDefinition: - $this->describeInputDefinition($object, $options); - break; - case $object instanceof Command: - $this->describeCommand($object, $options); - break; - case $object instanceof Console: - $this->describeConsole($object, $options); - break; - default: - throw new \InvalidArgumentException(sprintf('Object of type "%s" is not describable.', get_class($object))); - } - } - - /** - * 输出内容 - * @param string $content - * @param bool $decorated - */ - protected function write($content, $decorated = false) - { - $this->output->write($content, false, $decorated ? Output::OUTPUT_NORMAL : Output::OUTPUT_RAW); - } - - /** - * 描述参数 - * @param InputArgument $argument - * @param array $options - * @return string|mixed - */ - protected function describeInputArgument(InputArgument $argument, array $options = []) - { - if (null !== $argument->getDefault() - && (!is_array($argument->getDefault()) - || count($argument->getDefault())) - ) { - $default = sprintf(' [default: %s]', $this->formatDefaultValue($argument->getDefault())); - } else { - $default = ''; - } - - $totalWidth = isset($options['total_width']) ? $options['total_width'] : strlen($argument->getName()); - $spacingWidth = $totalWidth - strlen($argument->getName()) + 2; - - $this->writeText(sprintf(" %s%s%s%s", $argument->getName(), str_repeat(' ', $spacingWidth), // + 17 = 2 spaces + + + 2 spaces - preg_replace('/\s*\R\s*/', PHP_EOL . str_repeat(' ', $totalWidth + 17), $argument->getDescription()), $default), $options); - } - - /** - * 描述选项 - * @param InputOption $option - * @param array $options - * @return string|mixed - */ - protected function describeInputOption(InputOption $option, array $options = []) - { - if ($option->acceptValue() && null !== $option->getDefault() - && (!is_array($option->getDefault()) - || count($option->getDefault())) - ) { - $default = sprintf(' [default: %s]', $this->formatDefaultValue($option->getDefault())); - } else { - $default = ''; - } - - $value = ''; - if ($option->acceptValue()) { - $value = '=' . strtoupper($option->getName()); - - if ($option->isValueOptional()) { - $value = '[' . $value . ']'; - } - } - - $totalWidth = isset($options['total_width']) ? $options['total_width'] : $this->calculateTotalWidthForOptions([$option]); - $synopsis = sprintf('%s%s', $option->getShortcut() ? sprintf('-%s, ', $option->getShortcut()) : ' ', sprintf('--%s%s', $option->getName(), $value)); - - $spacingWidth = $totalWidth - strlen($synopsis) + 2; - - $this->writeText(sprintf(" %s%s%s%s%s", $synopsis, str_repeat(' ', $spacingWidth), // + 17 = 2 spaces + + + 2 spaces - preg_replace('/\s*\R\s*/', "\n" . str_repeat(' ', $totalWidth + 17), $option->getDescription()), $default, $option->isArray() ? ' (multiple values allowed)' : ''), $options); - } - - /** - * 描述输入 - * @param InputDefinition $definition - * @param array $options - * @return string|mixed - */ - protected function describeInputDefinition(InputDefinition $definition, array $options = []) - { - $totalWidth = $this->calculateTotalWidthForOptions($definition->getOptions()); - foreach ($definition->getArguments() as $argument) { - $totalWidth = max($totalWidth, strlen($argument->getName())); - } - - if ($definition->getArguments()) { - $this->writeText('Arguments:', $options); - $this->writeText("\n"); - foreach ($definition->getArguments() as $argument) { - $this->describeInputArgument($argument, array_merge($options, ['total_width' => $totalWidth])); - $this->writeText("\n"); - } - } - - if ($definition->getArguments() && $definition->getOptions()) { - $this->writeText("\n"); - } - - if ($definition->getOptions()) { - $laterOptions = []; - - $this->writeText('Options:', $options); - foreach ($definition->getOptions() as $option) { - if (strlen($option->getShortcut()) > 1) { - $laterOptions[] = $option; - continue; - } - $this->writeText("\n"); - $this->describeInputOption($option, array_merge($options, ['total_width' => $totalWidth])); - } - foreach ($laterOptions as $option) { - $this->writeText("\n"); - $this->describeInputOption($option, array_merge($options, ['total_width' => $totalWidth])); - } - } - } - - /** - * 描述指令 - * @param Command $command - * @param array $options - * @return string|mixed - */ - protected function describeCommand(Command $command, array $options = []) - { - $command->getSynopsis(true); - $command->getSynopsis(false); - $command->mergeConsoleDefinition(false); - - $this->writeText('Usage:', $options); - foreach (array_merge([$command->getSynopsis(true)], $command->getAliases(), $command->getUsages()) as $usage) { - $this->writeText("\n"); - $this->writeText(' ' . $usage, $options); - } - $this->writeText("\n"); - - $definition = $command->getNativeDefinition(); - if ($definition->getOptions() || $definition->getArguments()) { - $this->writeText("\n"); - $this->describeInputDefinition($definition, $options); - $this->writeText("\n"); - } - - if ($help = $command->getProcessedHelp()) { - $this->writeText("\n"); - $this->writeText('Help:', $options); - $this->writeText("\n"); - $this->writeText(' ' . str_replace("\n", "\n ", $help), $options); - $this->writeText("\n"); - } - } - - /** - * 描述控制台 - * @param Console $console - * @param array $options - * @return string|mixed - */ - protected function describeConsole(Console $console, array $options = []) - { - $describedNamespace = isset($options['namespace']) ? $options['namespace'] : null; - $description = new ConsoleDescription($console, $describedNamespace); - - if (isset($options['raw_text']) && $options['raw_text']) { - $width = $this->getColumnWidth($description->getCommands()); - - foreach ($description->getCommands() as $command) { - $this->writeText(sprintf("%-${width}s %s", $command->getName(), $command->getDescription()), $options); - $this->writeText("\n"); - } - } else { - if ('' != $help = $console->getHelp()) { - $this->writeText("$help\n\n", $options); - } - - $this->writeText("Usage:\n", $options); - $this->writeText(" command [options] [arguments]\n\n", $options); - - $this->describeInputDefinition(new InputDefinition($console->getDefinition()->getOptions()), $options); - - $this->writeText("\n"); - $this->writeText("\n"); - - $width = $this->getColumnWidth($description->getCommands()); - - if ($describedNamespace) { - $this->writeText(sprintf('Available commands for the "%s" namespace:', $describedNamespace), $options); - } else { - $this->writeText('Available commands:', $options); - } - - // add commands by namespace - foreach ($description->getNamespaces() as $namespace) { - if (!$describedNamespace && ConsoleDescription::GLOBAL_NAMESPACE !== $namespace['id']) { - $this->writeText("\n"); - $this->writeText(' ' . $namespace['id'] . '', $options); - } - - foreach ($namespace['commands'] as $name) { - $this->writeText("\n"); - $spacingWidth = $width - strlen($name); - $this->writeText(sprintf(" %s%s%s", $name, str_repeat(' ', $spacingWidth), $description->getCommand($name) - ->getDescription()), $options); - } - } - - $this->writeText("\n"); - } - } - - /** - * {@inheritdoc} - */ - private function writeText($content, array $options = []) - { - $this->write(isset($options['raw_text']) - && $options['raw_text'] ? strip_tags($content) : $content, isset($options['raw_output']) ? !$options['raw_output'] : true); - } - - /** - * 格式化 - * @param mixed $default - * @return string - */ - private function formatDefaultValue($default) - { - return json_encode($default, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); - } - - /** - * @param Command[] $commands - * @return int - */ - private function getColumnWidth(array $commands) - { - $width = 0; - foreach ($commands as $command) { - $width = strlen($command->getName()) > $width ? strlen($command->getName()) : $width; - } - - return $width + 2; - } - - /** - * @param InputOption[] $options - * @return int - */ - private function calculateTotalWidthForOptions($options) - { - $totalWidth = 0; - foreach ($options as $option) { - $nameLength = 4 + strlen($option->getName()) + 2; // - + shortcut + , + whitespace + name + -- - - if ($option->acceptValue()) { - $valueLength = 1 + strlen($option->getName()); // = + value - $valueLength += $option->isValueOptional() ? 2 : 0; // [ + ] - - $nameLength += $valueLength; - } - $totalWidth = max($totalWidth, $nameLength); - } - - return $totalWidth; - } -} diff --git a/thinkphp/library/think/console/output/Formatter.php b/thinkphp/library/think/console/output/Formatter.php deleted file mode 100644 index f8bee552..00000000 --- a/thinkphp/library/think/console/output/Formatter.php +++ /dev/null @@ -1,198 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\console\output; - -use think\console\output\formatter\Stack as StyleStack; -use think\console\output\formatter\Style; - -class Formatter -{ - - private $decorated = false; - private $styles = []; - private $styleStack; - - /** - * 转义 - * @param string $text - * @return string - */ - public static function escape($text) - { - return preg_replace('/([^\\\\]?)setStyle('error', new Style('white', 'red')); - $this->setStyle('info', new Style('green')); - $this->setStyle('comment', new Style('yellow')); - $this->setStyle('question', new Style('black', 'cyan')); - $this->setStyle('highlight', new Style('red')); - $this->setStyle('warning', new Style('black', 'yellow')); - - $this->styleStack = new StyleStack(); - } - - /** - * 设置外观标识 - * @param bool $decorated 是否美化文字 - */ - public function setDecorated($decorated) - { - $this->decorated = (bool) $decorated; - } - - /** - * 获取外观标识 - * @return bool - */ - public function isDecorated() - { - return $this->decorated; - } - - /** - * 添加一个新样式 - * @param string $name 样式名 - * @param Style $style 样式实例 - */ - public function setStyle($name, Style $style) - { - $this->styles[strtolower($name)] = $style; - } - - /** - * 是否有这个样式 - * @param string $name - * @return bool - */ - public function hasStyle($name) - { - return isset($this->styles[strtolower($name)]); - } - - /** - * 获取样式 - * @param string $name - * @return Style - * @throws \InvalidArgumentException - */ - public function getStyle($name) - { - if (!$this->hasStyle($name)) { - throw new \InvalidArgumentException(sprintf('Undefined style: %s', $name)); - } - - return $this->styles[strtolower($name)]; - } - - /** - * 使用所给的样式格式化文字 - * @param string $message 文字 - * @return string - */ - public function format($message) - { - $offset = 0; - $output = ''; - $tagRegex = '[a-z][a-z0-9_=;-]*'; - preg_match_all("#<(($tagRegex) | /($tagRegex)?)>#isx", $message, $matches, PREG_OFFSET_CAPTURE); - foreach ($matches[0] as $i => $match) { - $pos = $match[1]; - $text = $match[0]; - - if (0 != $pos && '\\' == $message[$pos - 1]) { - continue; - } - - $output .= $this->applyCurrentStyle(substr($message, $offset, $pos - $offset)); - $offset = $pos + strlen($text); - - if ($open = '/' != $text[1]) { - $tag = $matches[1][$i][0]; - } else { - $tag = isset($matches[3][$i][0]) ? $matches[3][$i][0] : ''; - } - - if (!$open && !$tag) { - // - $this->styleStack->pop(); - } elseif (false === $style = $this->createStyleFromString(strtolower($tag))) { - $output .= $this->applyCurrentStyle($text); - } elseif ($open) { - $this->styleStack->push($style); - } else { - $this->styleStack->pop($style); - } - } - - $output .= $this->applyCurrentStyle(substr($message, $offset)); - - return str_replace('\\<', '<', $output); - } - - /** - * @return StyleStack - */ - public function getStyleStack() - { - return $this->styleStack; - } - - /** - * 根据字符串创建新的样式实例 - * @param string $string - * @return Style|bool - */ - private function createStyleFromString($string) - { - if (isset($this->styles[$string])) { - return $this->styles[$string]; - } - - if (!preg_match_all('/([^=]+)=([^;]+)(;|$)/', strtolower($string), $matches, PREG_SET_ORDER)) { - return false; - } - - $style = new Style(); - foreach ($matches as $match) { - array_shift($match); - - if ('fg' == $match[0]) { - $style->setForeground($match[1]); - } elseif ('bg' == $match[0]) { - $style->setBackground($match[1]); - } else { - try { - $style->setOption($match[1]); - } catch (\InvalidArgumentException $e) { - return false; - } - } - } - - return $style; - } - - /** - * 从堆栈应用样式到文字 - * @param string $text 文字 - * @return string - */ - private function applyCurrentStyle($text) - { - return $this->isDecorated() && strlen($text) > 0 ? $this->styleStack->getCurrent()->apply($text) : $text; - } -} diff --git a/thinkphp/library/think/console/output/Question.php b/thinkphp/library/think/console/output/Question.php deleted file mode 100644 index 03975f27..00000000 --- a/thinkphp/library/think/console/output/Question.php +++ /dev/null @@ -1,211 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output; - -class Question -{ - - private $question; - private $attempts; - private $hidden = false; - private $hiddenFallback = true; - private $autocompleterValues; - private $validator; - private $default; - private $normalizer; - - /** - * 构造方法 - * @param string $question 问题 - * @param mixed $default 默认答案 - */ - public function __construct($question, $default = null) - { - $this->question = $question; - $this->default = $default; - } - - /** - * 获取问题 - * @return string - */ - public function getQuestion() - { - return $this->question; - } - - /** - * 获取默认答案 - * @return mixed - */ - public function getDefault() - { - return $this->default; - } - - /** - * 是否隐藏答案 - * @return bool - */ - public function isHidden() - { - return $this->hidden; - } - - /** - * 隐藏答案 - * @param bool $hidden - * @return Question - */ - public function setHidden($hidden) - { - if ($this->autocompleterValues) { - throw new \LogicException('A hidden question cannot use the autocompleter.'); - } - - $this->hidden = (bool) $hidden; - - return $this; - } - - /** - * 不能被隐藏是否撤销 - * @return bool - */ - public function isHiddenFallback() - { - return $this->hiddenFallback; - } - - /** - * 设置不能被隐藏的时候的操作 - * @param bool $fallback - * @return Question - */ - public function setHiddenFallback($fallback) - { - $this->hiddenFallback = (bool) $fallback; - - return $this; - } - - /** - * 获取自动完成 - * @return null|array|\Traversable - */ - public function getAutocompleterValues() - { - return $this->autocompleterValues; - } - - /** - * 设置自动完成的值 - * @param null|array|\Traversable $values - * @return Question - * @throws \InvalidArgumentException - * @throws \LogicException - */ - public function setAutocompleterValues($values) - { - if (is_array($values) && $this->isAssoc($values)) { - $values = array_merge(array_keys($values), array_values($values)); - } - - if (null !== $values && !is_array($values)) { - if (!$values instanceof \Traversable || $values instanceof \Countable) { - throw new \InvalidArgumentException('Autocompleter values can be either an array, `null` or an object implementing both `Countable` and `Traversable` interfaces.'); - } - } - - if ($this->hidden) { - throw new \LogicException('A hidden question cannot use the autocompleter.'); - } - - $this->autocompleterValues = $values; - - return $this; - } - - /** - * 设置答案的验证器 - * @param null|callable $validator - * @return Question The current instance - */ - public function setValidator($validator) - { - $this->validator = $validator; - - return $this; - } - - /** - * 获取验证器 - * @return null|callable - */ - public function getValidator() - { - return $this->validator; - } - - /** - * 设置最大重试次数 - * @param null|int $attempts - * @return Question - * @throws \InvalidArgumentException - */ - public function setMaxAttempts($attempts) - { - if (null !== $attempts && $attempts < 1) { - throw new \InvalidArgumentException('Maximum number of attempts must be a positive value.'); - } - - $this->attempts = $attempts; - - return $this; - } - - /** - * 获取最大重试次数 - * @return null|int - */ - public function getMaxAttempts() - { - return $this->attempts; - } - - /** - * 设置响应的回调 - * @param string|\Closure $normalizer - * @return Question - */ - public function setNormalizer($normalizer) - { - $this->normalizer = $normalizer; - - return $this; - } - - /** - * 获取响应回调 - * The normalizer can ba a callable (a string), a closure or a class implementing __invoke. - * @return string|\Closure - */ - public function getNormalizer() - { - return $this->normalizer; - } - - protected function isAssoc($array) - { - return (bool) count(array_filter(array_keys($array), 'is_string')); - } -} diff --git a/thinkphp/library/think/console/output/descriptor/Console.php b/thinkphp/library/think/console/output/descriptor/Console.php deleted file mode 100644 index 8739c536..00000000 --- a/thinkphp/library/think/console/output/descriptor/Console.php +++ /dev/null @@ -1,153 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\descriptor; - -use think\Console as ThinkConsole; -use think\console\Command; - -class Console -{ - - const GLOBAL_NAMESPACE = '_global'; - - /** - * @var ThinkConsole - */ - private $console; - - /** - * @var null|string - */ - private $namespace; - - /** - * @var array - */ - private $namespaces; - - /** - * @var Command[] - */ - private $commands; - - /** - * @var Command[] - */ - private $aliases; - - /** - * 构造方法 - * @param ThinkConsole $console - * @param string|null $namespace - */ - public function __construct(ThinkConsole $console, $namespace = null) - { - $this->console = $console; - $this->namespace = $namespace; - } - - /** - * @return array - */ - public function getNamespaces() - { - if (null === $this->namespaces) { - $this->inspectConsole(); - } - - return $this->namespaces; - } - - /** - * @return Command[] - */ - public function getCommands() - { - if (null === $this->commands) { - $this->inspectConsole(); - } - - return $this->commands; - } - - /** - * @param string $name - * @return Command - * @throws \InvalidArgumentException - */ - public function getCommand($name) - { - if (!isset($this->commands[$name]) && !isset($this->aliases[$name])) { - throw new \InvalidArgumentException(sprintf('Command %s does not exist.', $name)); - } - - return isset($this->commands[$name]) ? $this->commands[$name] : $this->aliases[$name]; - } - - private function inspectConsole() - { - $this->commands = []; - $this->namespaces = []; - - $all = $this->console->all($this->namespace ? $this->console->findNamespace($this->namespace) : null); - foreach ($this->sortCommands($all) as $namespace => $commands) { - $names = []; - - /** @var Command $command */ - foreach ($commands as $name => $command) { - if (is_string($command)) { - $command = new $command(); - } - - if (!$command->getName()) { - continue; - } - - if ($command->getName() === $name) { - $this->commands[$name] = $command; - } else { - $this->aliases[$name] = $command; - } - - $names[] = $name; - } - - $this->namespaces[$namespace] = ['id' => $namespace, 'commands' => $names]; - } - } - - /** - * @param array $commands - * @return array - */ - private function sortCommands(array $commands) - { - $namespacedCommands = []; - foreach ($commands as $name => $command) { - $key = $this->console->extractNamespace($name, 1); - if (!$key) { - $key = self::GLOBAL_NAMESPACE; - } - - $namespacedCommands[$key][$name] = $command; - } - ksort($namespacedCommands); - - foreach ($namespacedCommands as &$commandsSet) { - ksort($commandsSet); - } - // unset reference to keep scope clear - unset($commandsSet); - - return $namespacedCommands; - } -} diff --git a/thinkphp/library/think/console/output/driver/Buffer.php b/thinkphp/library/think/console/output/driver/Buffer.php deleted file mode 100644 index c77a2ec4..00000000 --- a/thinkphp/library/think/console/output/driver/Buffer.php +++ /dev/null @@ -1,52 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\driver; - -use think\console\Output; - -class Buffer -{ - /** - * @var string - */ - private $buffer = ''; - - public function __construct(Output $output) - { - // do nothing - } - - public function fetch() - { - $content = $this->buffer; - $this->buffer = ''; - return $content; - } - - public function write($messages, $newline = false, $options = Output::OUTPUT_NORMAL) - { - $messages = (array) $messages; - - foreach ($messages as $message) { - $this->buffer .= $message; - } - if ($newline) { - $this->buffer .= "\n"; - } - } - - public function renderException(\Exception $e) - { - // do nothing - } - -} diff --git a/thinkphp/library/think/console/output/driver/Console.php b/thinkphp/library/think/console/output/driver/Console.php deleted file mode 100644 index e041b525..00000000 --- a/thinkphp/library/think/console/output/driver/Console.php +++ /dev/null @@ -1,368 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\driver; - -use think\console\Output; -use think\console\output\Formatter; - -class Console -{ - - /** @var Resource */ - private $stdout; - - /** @var Formatter */ - private $formatter; - - private $terminalDimensions; - - /** @var Output */ - private $output; - - public function __construct(Output $output) - { - $this->output = $output; - $this->formatter = new Formatter(); - $this->stdout = $this->openOutputStream(); - $decorated = $this->hasColorSupport($this->stdout); - $this->formatter->setDecorated($decorated); - } - - public function setDecorated($decorated) - { - $this->formatter->setDecorated($decorated); - } - - public function write($messages, $newline = false, $type = Output::OUTPUT_NORMAL, $stream = null) - { - if (Output::VERBOSITY_QUIET === $this->output->getVerbosity()) { - return; - } - - $messages = (array) $messages; - - foreach ($messages as $message) { - switch ($type) { - case Output::OUTPUT_NORMAL: - $message = $this->formatter->format($message); - break; - case Output::OUTPUT_RAW: - break; - case Output::OUTPUT_PLAIN: - $message = strip_tags($this->formatter->format($message)); - break; - default: - throw new \InvalidArgumentException(sprintf('Unknown output type given (%s)', $type)); - } - - $this->doWrite($message, $newline, $stream); - } - } - - public function renderException(\Exception $e) - { - $stderr = $this->openErrorStream(); - $decorated = $this->hasColorSupport($stderr); - $this->formatter->setDecorated($decorated); - - do { - $title = sprintf(' [%s] ', get_class($e)); - - $len = $this->stringWidth($title); - - $width = $this->getTerminalWidth() ? $this->getTerminalWidth() - 1 : PHP_INT_MAX; - - if (defined('HHVM_VERSION') && $width > 1 << 31) { - $width = 1 << 31; - } - $lines = []; - foreach (preg_split('/\r?\n/', $e->getMessage()) as $line) { - foreach ($this->splitStringByWidth($line, $width - 4) as $line) { - - $lineLength = $this->stringWidth(preg_replace('/\[[^m]*m/', '', $line)) + 4; - $lines[] = [$line, $lineLength]; - - $len = max($lineLength, $len); - } - } - - $messages = ['', '']; - $messages[] = $emptyLine = sprintf('%s', str_repeat(' ', $len)); - $messages[] = sprintf('%s%s', $title, str_repeat(' ', max(0, $len - $this->stringWidth($title)))); - foreach ($lines as $line) { - $messages[] = sprintf(' %s %s', $line[0], str_repeat(' ', $len - $line[1])); - } - $messages[] = $emptyLine; - $messages[] = ''; - $messages[] = ''; - - $this->write($messages, true, Output::OUTPUT_NORMAL, $stderr); - - if (Output::VERBOSITY_VERBOSE <= $this->output->getVerbosity()) { - $this->write('Exception trace:', true, Output::OUTPUT_NORMAL, $stderr); - - // exception related properties - $trace = $e->getTrace(); - array_unshift($trace, [ - 'function' => '', - 'file' => $e->getFile() !== null ? $e->getFile() : 'n/a', - 'line' => $e->getLine() !== null ? $e->getLine() : 'n/a', - 'args' => [], - ]); - - for ($i = 0, $count = count($trace); $i < $count; ++$i) { - $class = isset($trace[$i]['class']) ? $trace[$i]['class'] : ''; - $type = isset($trace[$i]['type']) ? $trace[$i]['type'] : ''; - $function = $trace[$i]['function']; - $file = isset($trace[$i]['file']) ? $trace[$i]['file'] : 'n/a'; - $line = isset($trace[$i]['line']) ? $trace[$i]['line'] : 'n/a'; - - $this->write(sprintf(' %s%s%s() at %s:%s', $class, $type, $function, $file, $line), true, Output::OUTPUT_NORMAL, $stderr); - } - - $this->write('', true, Output::OUTPUT_NORMAL, $stderr); - $this->write('', true, Output::OUTPUT_NORMAL, $stderr); - } - } while ($e = $e->getPrevious()); - - } - - /** - * 获取终端宽度 - * @return int|null - */ - protected function getTerminalWidth() - { - $dimensions = $this->getTerminalDimensions(); - - return $dimensions[0]; - } - - /** - * 获取终端高度 - * @return int|null - */ - protected function getTerminalHeight() - { - $dimensions = $this->getTerminalDimensions(); - - return $dimensions[1]; - } - - /** - * 获取当前终端的尺寸 - * @return array - */ - public function getTerminalDimensions() - { - if ($this->terminalDimensions) { - return $this->terminalDimensions; - } - - if ('\\' === DIRECTORY_SEPARATOR) { - if (preg_match('/^(\d+)x\d+ \(\d+x(\d+)\)$/', trim(getenv('ANSICON')), $matches)) { - return [(int) $matches[1], (int) $matches[2]]; - } - if (preg_match('/^(\d+)x(\d+)$/', $this->getMode(), $matches)) { - return [(int) $matches[1], (int) $matches[2]]; - } - } - - if ($sttyString = $this->getSttyColumns()) { - if (preg_match('/rows.(\d+);.columns.(\d+);/i', $sttyString, $matches)) { - return [(int) $matches[2], (int) $matches[1]]; - } - if (preg_match('/;.(\d+).rows;.(\d+).columns/i', $sttyString, $matches)) { - return [(int) $matches[2], (int) $matches[1]]; - } - } - - return [null, null]; - } - - /** - * 获取stty列数 - * @return string - */ - private function getSttyColumns() - { - if (!function_exists('proc_open')) { - return; - } - - $descriptorspec = [1 => ['pipe', 'w'], 2 => ['pipe', 'w']]; - $process = proc_open('stty -a | grep columns', $descriptorspec, $pipes, null, null, ['suppress_errors' => true]); - if (is_resource($process)) { - $info = stream_get_contents($pipes[1]); - fclose($pipes[1]); - fclose($pipes[2]); - proc_close($process); - - return $info; - } - return; - } - - /** - * 获取终端模式 - * @return string x 或 null - */ - private function getMode() - { - if (!function_exists('proc_open')) { - return; - } - - $descriptorspec = [1 => ['pipe', 'w'], 2 => ['pipe', 'w']]; - $process = proc_open('mode CON', $descriptorspec, $pipes, null, null, ['suppress_errors' => true]); - if (is_resource($process)) { - $info = stream_get_contents($pipes[1]); - fclose($pipes[1]); - fclose($pipes[2]); - proc_close($process); - - if (preg_match('/--------+\r?\n.+?(\d+)\r?\n.+?(\d+)\r?\n/', $info, $matches)) { - return $matches[2] . 'x' . $matches[1]; - } - } - return; - } - - private function stringWidth($string) - { - if (!function_exists('mb_strwidth')) { - return strlen($string); - } - - if (false === $encoding = mb_detect_encoding($string)) { - return strlen($string); - } - - return mb_strwidth($string, $encoding); - } - - private function splitStringByWidth($string, $width) - { - if (!function_exists('mb_strwidth')) { - return str_split($string, $width); - } - - if (false === $encoding = mb_detect_encoding($string)) { - return str_split($string, $width); - } - - $utf8String = mb_convert_encoding($string, 'utf8', $encoding); - $lines = []; - $line = ''; - foreach (preg_split('//u', $utf8String) as $char) { - if (mb_strwidth($line . $char, 'utf8') <= $width) { - $line .= $char; - continue; - } - $lines[] = str_pad($line, $width); - $line = $char; - } - if (strlen($line)) { - $lines[] = count($lines) ? str_pad($line, $width) : $line; - } - - mb_convert_variables($encoding, 'utf8', $lines); - - return $lines; - } - - private function isRunningOS400() - { - $checks = [ - function_exists('php_uname') ? php_uname('s') : '', - getenv('OSTYPE'), - PHP_OS, - ]; - return false !== stripos(implode(';', $checks), 'OS400'); - } - - /** - * 当前环境是否支持写入控制台输出到stdout. - * - * @return bool - */ - protected function hasStdoutSupport() - { - return false === $this->isRunningOS400(); - } - - /** - * 当前环境是否支持写入控制台输出到stderr. - * - * @return bool - */ - protected function hasStderrSupport() - { - return false === $this->isRunningOS400(); - } - - /** - * @return resource - */ - private function openOutputStream() - { - if (!$this->hasStdoutSupport()) { - return fopen('php://output', 'w'); - } - return @fopen('php://stdout', 'w') ?: fopen('php://output', 'w'); - } - - /** - * @return resource - */ - private function openErrorStream() - { - return fopen($this->hasStderrSupport() ? 'php://stderr' : 'php://output', 'w'); - } - - /** - * 将消息写入到输出。 - * @param string $message 消息 - * @param bool $newline 是否另起一行 - * @param null $stream - */ - protected function doWrite($message, $newline, $stream = null) - { - if (null === $stream) { - $stream = $this->stdout; - } - if (false === @fwrite($stream, $message . ($newline ? PHP_EOL : ''))) { - throw new \RuntimeException('Unable to write output.'); - } - - fflush($stream); - } - - /** - * 是否支持着色 - * @param $stream - * @return bool - */ - protected function hasColorSupport($stream) - { - if (DIRECTORY_SEPARATOR === '\\') { - return - '10.0.10586' === PHP_WINDOWS_VERSION_MAJOR . '.' . PHP_WINDOWS_VERSION_MINOR . '.' . PHP_WINDOWS_VERSION_BUILD - || false !== getenv('ANSICON') - || 'ON' === getenv('ConEmuANSI') - || 'xterm' === getenv('TERM'); - } - - return function_exists('posix_isatty') && @posix_isatty($stream); - } - -} diff --git a/thinkphp/library/think/console/output/driver/Nothing.php b/thinkphp/library/think/console/output/driver/Nothing.php deleted file mode 100644 index 9a55f777..00000000 --- a/thinkphp/library/think/console/output/driver/Nothing.php +++ /dev/null @@ -1,33 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\driver; - -use think\console\Output; - -class Nothing -{ - - public function __construct(Output $output) - { - // do nothing - } - - public function write($messages, $newline = false, $options = Output::OUTPUT_NORMAL) - { - // do nothing - } - - public function renderException(\Exception $e) - { - // do nothing - } -} diff --git a/thinkphp/library/think/console/output/formatter/Stack.php b/thinkphp/library/think/console/output/formatter/Stack.php deleted file mode 100644 index 4864a3f2..00000000 --- a/thinkphp/library/think/console/output/formatter/Stack.php +++ /dev/null @@ -1,116 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\formatter; - -class Stack -{ - - /** - * @var Style[] - */ - private $styles; - - /** - * @var Style - */ - private $emptyStyle; - - /** - * 构造方法 - * @param Style|null $emptyStyle - */ - public function __construct(Style $emptyStyle = null) - { - $this->emptyStyle = $emptyStyle ?: new Style(); - $this->reset(); - } - - /** - * 重置堆栈 - */ - public function reset() - { - $this->styles = []; - } - - /** - * 推一个样式进入堆栈 - * @param Style $style - */ - public function push(Style $style) - { - $this->styles[] = $style; - } - - /** - * 从堆栈中弹出一个样式 - * @param Style|null $style - * @return Style - * @throws \InvalidArgumentException - */ - public function pop(Style $style = null) - { - if (empty($this->styles)) { - return $this->emptyStyle; - } - - if (null === $style) { - return array_pop($this->styles); - } - - /** - * @var int $index - * @var Style $stackedStyle - */ - foreach (array_reverse($this->styles, true) as $index => $stackedStyle) { - if ($style->apply('') === $stackedStyle->apply('')) { - $this->styles = array_slice($this->styles, 0, $index); - - return $stackedStyle; - } - } - - throw new \InvalidArgumentException('Incorrectly nested style tag found.'); - } - - /** - * 计算堆栈的当前样式。 - * @return Style - */ - public function getCurrent() - { - if (empty($this->styles)) { - return $this->emptyStyle; - } - - return $this->styles[count($this->styles) - 1]; - } - - /** - * @param Style $emptyStyle - * @return Stack - */ - public function setEmptyStyle(Style $emptyStyle) - { - $this->emptyStyle = $emptyStyle; - - return $this; - } - - /** - * @return Style - */ - public function getEmptyStyle() - { - return $this->emptyStyle; - } -} diff --git a/thinkphp/library/think/console/output/formatter/Style.php b/thinkphp/library/think/console/output/formatter/Style.php deleted file mode 100644 index d9b09998..00000000 --- a/thinkphp/library/think/console/output/formatter/Style.php +++ /dev/null @@ -1,189 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\formatter; - -class Style -{ - - private static $availableForegroundColors = [ - 'black' => ['set' => 30, 'unset' => 39], - 'red' => ['set' => 31, 'unset' => 39], - 'green' => ['set' => 32, 'unset' => 39], - 'yellow' => ['set' => 33, 'unset' => 39], - 'blue' => ['set' => 34, 'unset' => 39], - 'magenta' => ['set' => 35, 'unset' => 39], - 'cyan' => ['set' => 36, 'unset' => 39], - 'white' => ['set' => 37, 'unset' => 39], - ]; - private static $availableBackgroundColors = [ - 'black' => ['set' => 40, 'unset' => 49], - 'red' => ['set' => 41, 'unset' => 49], - 'green' => ['set' => 42, 'unset' => 49], - 'yellow' => ['set' => 43, 'unset' => 49], - 'blue' => ['set' => 44, 'unset' => 49], - 'magenta' => ['set' => 45, 'unset' => 49], - 'cyan' => ['set' => 46, 'unset' => 49], - 'white' => ['set' => 47, 'unset' => 49], - ]; - private static $availableOptions = [ - 'bold' => ['set' => 1, 'unset' => 22], - 'underscore' => ['set' => 4, 'unset' => 24], - 'blink' => ['set' => 5, 'unset' => 25], - 'reverse' => ['set' => 7, 'unset' => 27], - 'conceal' => ['set' => 8, 'unset' => 28], - ]; - - private $foreground; - private $background; - private $options = []; - - /** - * 初始化输出的样式 - * @param string|null $foreground 字体颜色 - * @param string|null $background 背景色 - * @param array $options 格式 - * @api - */ - public function __construct($foreground = null, $background = null, array $options = []) - { - if (null !== $foreground) { - $this->setForeground($foreground); - } - if (null !== $background) { - $this->setBackground($background); - } - if (count($options)) { - $this->setOptions($options); - } - } - - /** - * 设置字体颜色 - * @param string|null $color 颜色名 - * @throws \InvalidArgumentException - * @api - */ - public function setForeground($color = null) - { - if (null === $color) { - $this->foreground = null; - - return; - } - - if (!isset(static::$availableForegroundColors[$color])) { - throw new \InvalidArgumentException(sprintf('Invalid foreground color specified: "%s". Expected one of (%s)', $color, implode(', ', array_keys(static::$availableForegroundColors)))); - } - - $this->foreground = static::$availableForegroundColors[$color]; - } - - /** - * 设置背景色 - * @param string|null $color 颜色名 - * @throws \InvalidArgumentException - * @api - */ - public function setBackground($color = null) - { - if (null === $color) { - $this->background = null; - - return; - } - - if (!isset(static::$availableBackgroundColors[$color])) { - throw new \InvalidArgumentException(sprintf('Invalid background color specified: "%s". Expected one of (%s)', $color, implode(', ', array_keys(static::$availableBackgroundColors)))); - } - - $this->background = static::$availableBackgroundColors[$color]; - } - - /** - * 设置字体格式 - * @param string $option 格式名 - * @throws \InvalidArgumentException When the option name isn't defined - * @api - */ - public function setOption($option) - { - if (!isset(static::$availableOptions[$option])) { - throw new \InvalidArgumentException(sprintf('Invalid option specified: "%s". Expected one of (%s)', $option, implode(', ', array_keys(static::$availableOptions)))); - } - - if (!in_array(static::$availableOptions[$option], $this->options)) { - $this->options[] = static::$availableOptions[$option]; - } - } - - /** - * 重置字体格式 - * @param string $option 格式名 - * @throws \InvalidArgumentException - */ - public function unsetOption($option) - { - if (!isset(static::$availableOptions[$option])) { - throw new \InvalidArgumentException(sprintf('Invalid option specified: "%s". Expected one of (%s)', $option, implode(', ', array_keys(static::$availableOptions)))); - } - - $pos = array_search(static::$availableOptions[$option], $this->options); - if (false !== $pos) { - unset($this->options[$pos]); - } - } - - /** - * 批量设置字体格式 - * @param array $options - */ - public function setOptions(array $options) - { - $this->options = []; - - foreach ($options as $option) { - $this->setOption($option); - } - } - - /** - * 应用样式到文字 - * @param string $text 文字 - * @return string - */ - public function apply($text) - { - $setCodes = []; - $unsetCodes = []; - - if (null !== $this->foreground) { - $setCodes[] = $this->foreground['set']; - $unsetCodes[] = $this->foreground['unset']; - } - if (null !== $this->background) { - $setCodes[] = $this->background['set']; - $unsetCodes[] = $this->background['unset']; - } - if (count($this->options)) { - foreach ($this->options as $option) { - $setCodes[] = $option['set']; - $unsetCodes[] = $option['unset']; - } - } - - if (0 === count($setCodes)) { - return $text; - } - - return sprintf("\033[%sm%s\033[%sm", implode(';', $setCodes), $text, implode(';', $unsetCodes)); - } -} diff --git a/thinkphp/library/think/console/output/question/Choice.php b/thinkphp/library/think/console/output/question/Choice.php deleted file mode 100644 index cdc3b4e4..00000000 --- a/thinkphp/library/think/console/output/question/Choice.php +++ /dev/null @@ -1,163 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\question; - -use think\console\output\Question; - -class Choice extends Question -{ - - private $choices; - private $multiselect = false; - private $prompt = ' > '; - private $errorMessage = 'Value "%s" is invalid'; - - /** - * 构造方法 - * @param string $question 问题 - * @param array $choices 选项 - * @param mixed $default 默认答案 - */ - public function __construct($question, array $choices, $default = null) - { - parent::__construct($question, $default); - - $this->choices = $choices; - $this->setValidator($this->getDefaultValidator()); - $this->setAutocompleterValues($choices); - } - - /** - * 可选项 - * @return array - */ - public function getChoices() - { - return $this->choices; - } - - /** - * 设置可否多选 - * @param bool $multiselect - * @return self - */ - public function setMultiselect($multiselect) - { - $this->multiselect = $multiselect; - $this->setValidator($this->getDefaultValidator()); - - return $this; - } - - public function isMultiselect() - { - return $this->multiselect; - } - - /** - * 获取提示 - * @return string - */ - public function getPrompt() - { - return $this->prompt; - } - - /** - * 设置提示 - * @param string $prompt - * @return self - */ - public function setPrompt($prompt) - { - $this->prompt = $prompt; - - return $this; - } - - /** - * 设置错误提示信息 - * @param string $errorMessage - * @return self - */ - public function setErrorMessage($errorMessage) - { - $this->errorMessage = $errorMessage; - $this->setValidator($this->getDefaultValidator()); - - return $this; - } - - /** - * 获取默认的验证方法 - * @return callable - */ - private function getDefaultValidator() - { - $choices = $this->choices; - $errorMessage = $this->errorMessage; - $multiselect = $this->multiselect; - $isAssoc = $this->isAssoc($choices); - - return function ($selected) use ($choices, $errorMessage, $multiselect, $isAssoc) { - // Collapse all spaces. - $selectedChoices = str_replace(' ', '', $selected); - - if ($multiselect) { - // Check for a separated comma values - if (!preg_match('/^[a-zA-Z0-9_-]+(?:,[a-zA-Z0-9_-]+)*$/', $selectedChoices, $matches)) { - throw new \InvalidArgumentException(sprintf($errorMessage, $selected)); - } - $selectedChoices = explode(',', $selectedChoices); - } else { - $selectedChoices = [$selected]; - } - - $multiselectChoices = []; - foreach ($selectedChoices as $value) { - $results = []; - foreach ($choices as $key => $choice) { - if ($choice === $value) { - $results[] = $key; - } - } - - if (count($results) > 1) { - throw new \InvalidArgumentException(sprintf('The provided answer is ambiguous. Value should be one of %s.', implode(' or ', $results))); - } - - $result = array_search($value, $choices); - - if (!$isAssoc) { - if (!empty($result)) { - $result = $choices[$result]; - } elseif (isset($choices[$value])) { - $result = $choices[$value]; - } - } elseif (empty($result) && array_key_exists($value, $choices)) { - $result = $value; - } - - if (false === $result) { - throw new \InvalidArgumentException(sprintf($errorMessage, $value)); - } - array_push($multiselectChoices, $result); - } - - if ($multiselect) { - return $multiselectChoices; - } - - return current($multiselectChoices); - }; - } -} diff --git a/thinkphp/library/think/console/output/question/Confirmation.php b/thinkphp/library/think/console/output/question/Confirmation.php deleted file mode 100644 index 6598f9b3..00000000 --- a/thinkphp/library/think/console/output/question/Confirmation.php +++ /dev/null @@ -1,57 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\console\output\question; - -use think\console\output\Question; - -class Confirmation extends Question -{ - - private $trueAnswerRegex; - - /** - * 构造方法 - * @param string $question 问题 - * @param bool $default 默认答案 - * @param string $trueAnswerRegex 验证正则 - */ - public function __construct($question, $default = true, $trueAnswerRegex = '/^y/i') - { - parent::__construct($question, (bool) $default); - - $this->trueAnswerRegex = $trueAnswerRegex; - $this->setNormalizer($this->getDefaultNormalizer()); - } - - /** - * 获取默认的答案回调 - * @return callable - */ - private function getDefaultNormalizer() - { - $default = $this->getDefault(); - $regex = $this->trueAnswerRegex; - - return function ($answer) use ($default, $regex) { - if (is_bool($answer)) { - return $answer; - } - - $answerIsTrue = (bool) preg_match($regex, $answer); - if (false === $default) { - return $answer && $answerIsTrue; - } - - return !$answer || $answerIsTrue; - }; - } -} diff --git a/thinkphp/library/think/db/Builder.php b/thinkphp/library/think/db/Builder.php deleted file mode 100644 index 60b470e8..00000000 --- a/thinkphp/library/think/db/Builder.php +++ /dev/null @@ -1,1173 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db; - -use PDO; -use think\Exception; - -abstract class Builder -{ - // connection对象实例 - protected $connection; - - // 查询表达式映射 - protected $exp = ['EQ' => '=', 'NEQ' => '<>', 'GT' => '>', 'EGT' => '>=', 'LT' => '<', 'ELT' => '<=', 'NOTLIKE' => 'NOT LIKE', 'NOTIN' => 'NOT IN', 'NOTBETWEEN' => 'NOT BETWEEN', 'NOTEXISTS' => 'NOT EXISTS', 'NOTNULL' => 'NOT NULL', 'NOTBETWEEN TIME' => 'NOT BETWEEN TIME']; - - // 查询表达式解析 - protected $parser = [ - 'parseCompare' => ['=', '<>', '>', '>=', '<', '<='], - 'parseLike' => ['LIKE', 'NOT LIKE'], - 'parseBetween' => ['NOT BETWEEN', 'BETWEEN'], - 'parseIn' => ['NOT IN', 'IN'], - 'parseExp' => ['EXP'], - 'parseNull' => ['NOT NULL', 'NULL'], - 'parseBetweenTime' => ['BETWEEN TIME', 'NOT BETWEEN TIME'], - 'parseTime' => ['< TIME', '> TIME', '<= TIME', '>= TIME'], - 'parseExists' => ['NOT EXISTS', 'EXISTS'], - 'parseColumn' => ['COLUMN'], - ]; - - // SQL表达式 - protected $selectSql = 'SELECT%DISTINCT% %FIELD% FROM %TABLE%%FORCE%%JOIN%%WHERE%%GROUP%%HAVING%%UNION%%ORDER%%LIMIT% %LOCK%%COMMENT%'; - - protected $insertSql = '%INSERT% INTO %TABLE% (%FIELD%) VALUES (%DATA%) %COMMENT%'; - - protected $insertAllSql = '%INSERT% INTO %TABLE% (%FIELD%) %DATA% %COMMENT%'; - - protected $updateSql = 'UPDATE %TABLE% SET %SET%%JOIN%%WHERE%%ORDER%%LIMIT% %LOCK%%COMMENT%'; - - protected $deleteSql = 'DELETE FROM %TABLE%%USING%%JOIN%%WHERE%%ORDER%%LIMIT% %LOCK%%COMMENT%'; - - /** - * 架构函数 - * @access public - * @param Connection $connection 数据库连接对象实例 - */ - public function __construct(Connection $connection) - { - $this->connection = $connection; - } - - /** - * 获取当前的连接对象实例 - * @access public - * @return Connection - */ - public function getConnection() - { - return $this->connection; - } - - /** - * 注册查询表达式解析 - * @access public - * @param string $name 解析方法 - * @param array $parser 匹配表达式数据 - * @return $this - */ - public function bindParser($name, $parser) - { - $this->parser[$name] = $parser; - return $this; - } - - /** - * 数据分析 - * @access protected - * @param Query $query 查询对象 - * @param array $data 数据 - * @param array $fields 字段信息 - * @param array $bind 参数绑定 - * @return array - */ - protected function parseData(Query $query, $data = [], $fields = [], $bind = []) - { - if (empty($data)) { - return []; - } - - $options = $query->getOptions(); - - // 获取绑定信息 - if (empty($bind)) { - $bind = $this->connection->getFieldsBind($options['table']); - } - - if (empty($fields)) { - if ('*' == $options['field']) { - $fields = array_keys($bind); - } else { - $fields = $options['field']; - } - } - - $result = []; - - foreach ($data as $key => $val) { - if ('*' != $options['field'] && !in_array($key, $fields, true)) { - continue; - } - - $item = $this->parseKey($query, $key, true); - - if ($val instanceof Expression) { - $result[$item] = $val->getValue(); - continue; - } elseif (!is_scalar($val) && (in_array($key, (array) $query->getOptions('json')) || 'json' == $this->connection->getFieldsType($options['table'], $key))) { - $val = json_encode($val, JSON_UNESCAPED_UNICODE); - } elseif (is_object($val) && method_exists($val, '__toString')) { - // 对象数据写入 - $val = $val->__toString(); - } - - if (false !== strpos($key, '->')) { - list($key, $name) = explode('->', $key); - $item = $this->parseKey($query, $key); - $result[$item] = 'json_set(' . $item . ', \'$.' . $name . '\', ' . $this->parseDataBind($query, $key, $val, $bind) . ')'; - } elseif ('*' == $options['field'] && false === strpos($key, '.') && !in_array($key, $fields, true)) { - if ($options['strict']) { - throw new Exception('fields not exists:[' . $key . ']'); - } - } elseif (is_null($val)) { - $result[$item] = 'NULL'; - } elseif (is_array($val) && !empty($val)) { - switch (strtoupper($val[0])) { - case 'INC': - $result[$item] = $item . ' + ' . floatval($val[1]); - break; - case 'DEC': - $result[$item] = $item . ' - ' . floatval($val[1]); - break; - case 'EXP': - throw new Exception('not support data:[' . $val[0] . ']'); - } - } elseif (is_scalar($val)) { - // 过滤非标量数据 - $result[$item] = $this->parseDataBind($query, $key, $val, $bind); - } - } - - return $result; - } - - /** - * 数据绑定处理 - * @access protected - * @param Query $query 查询对象 - * @param string $key 字段名 - * @param mixed $data 数据 - * @param array $bind 绑定数据 - * @return string - */ - protected function parseDataBind(Query $query, $key, $data, $bind = []) - { - if ($data instanceof Expression) { - return $data->getValue(); - } - - $name = $query->bind($data, isset($bind[$key]) ? $bind[$key] : PDO::PARAM_STR); - - return ':' . $name; - } - - /** - * 字段名分析 - * @access public - * @param Query $query 查询对象 - * @param mixed $key 字段名 - * @param bool $strict 严格检测 - * @return string - */ - public function parseKey(Query $query, $key, $strict = false) - { - return $key instanceof Expression ? $key->getValue() : $key; - } - - /** - * field分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $fields 字段名 - * @return string - */ - protected function parseField(Query $query, $fields) - { - if ('*' == $fields || empty($fields)) { - $fieldsStr = '*'; - } elseif (is_array($fields)) { - // 支持 'field1'=>'field2' 这样的字段别名定义 - $array = []; - - foreach ($fields as $key => $field) { - if (!is_numeric($key)) { - $array[] = $this->parseKey($query, $key) . ' AS ' . $this->parseKey($query, $field, true); - } else { - $array[] = $this->parseKey($query, $field); - } - } - - $fieldsStr = implode(',', $array); - } - - return $fieldsStr; - } - - /** - * table分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $tables 表名 - * @return string - */ - protected function parseTable(Query $query, $tables) - { - $item = []; - $options = $query->getOptions(); - - foreach ((array) $tables as $key => $table) { - if (!is_numeric($key)) { - $key = $this->connection->parseSqlTable($key); - $item[] = $this->parseKey($query, $key) . ' ' . $this->parseKey($query, $table); - } else { - $table = $this->connection->parseSqlTable($table); - - if (isset($options['alias'][$table])) { - $item[] = $this->parseKey($query, $table) . ' ' . $this->parseKey($query, $options['alias'][$table]); - } else { - $item[] = $this->parseKey($query, $table); - } - } - } - - return implode(',', $item); - } - - /** - * where分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $where 查询条件 - * @return string - */ - protected function parseWhere(Query $query, $where) - { - $options = $query->getOptions(); - $whereStr = $this->buildWhere($query, $where); - - if (!empty($options['soft_delete'])) { - // 附加软删除条件 - list($field, $condition) = $options['soft_delete']; - - $binds = $this->connection->getFieldsBind($options['table']); - $whereStr = $whereStr ? '( ' . $whereStr . ' ) AND ' : ''; - $whereStr = $whereStr . $this->parseWhereItem($query, $field, $condition, '', $binds); - } - - return empty($whereStr) ? '' : ' WHERE ' . $whereStr; - } - - /** - * 生成查询条件SQL - * @access public - * @param Query $query 查询对象 - * @param mixed $where 查询条件 - * @return string - */ - public function buildWhere(Query $query, $where) - { - if (empty($where)) { - $where = []; - } - - $whereStr = ''; - $binds = $this->connection->getFieldsBind($query->getOptions('table')); - - foreach ($where as $logic => $val) { - $str = []; - - foreach ($val as $value) { - if ($value instanceof Expression) { - $str[] = ' ' . $logic . ' ( ' . $value->getValue() . ' )'; - continue; - } - - if (is_array($value)) { - if (key($value) !== 0) { - throw new Exception('where express error:' . var_export($value, true)); - } - $field = array_shift($value); - } elseif (!($value instanceof \Closure)) { - throw new Exception('where express error:' . var_export($value, true)); - } - - if ($value instanceof \Closure) { - // 使用闭包查询 - $newQuery = $query->newQuery()->setConnection($this->connection); - $value($newQuery); - $whereClause = $this->buildWhere($newQuery, $newQuery->getOptions('where')); - - if (!empty($whereClause)) { - $query->bind($newQuery->getBind(false)); - $str[] = ' ' . $logic . ' ( ' . $whereClause . ' )'; - } - } elseif (is_array($field)) { - array_unshift($value, $field); - $str2 = []; - foreach ($value as $item) { - $str2[] = $this->parseWhereItem($query, array_shift($item), $item, $logic, $binds); - } - - $str[] = ' ' . $logic . ' ( ' . implode(' AND ', $str2) . ' )'; - } elseif (strpos($field, '|')) { - // 不同字段使用相同查询条件(OR) - $array = explode('|', $field); - $item = []; - - foreach ($array as $k) { - $item[] = $this->parseWhereItem($query, $k, $value, '', $binds); - } - - $str[] = ' ' . $logic . ' ( ' . implode(' OR ', $item) . ' )'; - } elseif (strpos($field, '&')) { - // 不同字段使用相同查询条件(AND) - $array = explode('&', $field); - $item = []; - - foreach ($array as $k) { - $item[] = $this->parseWhereItem($query, $k, $value, '', $binds); - } - - $str[] = ' ' . $logic . ' ( ' . implode(' AND ', $item) . ' )'; - } else { - // 对字段使用表达式查询 - $field = is_string($field) ? $field : ''; - $str[] = ' ' . $logic . ' ' . $this->parseWhereItem($query, $field, $value, $logic, $binds); - } - } - - $whereStr .= empty($whereStr) ? substr(implode(' ', $str), strlen($logic) + 1) : implode(' ', $str); - } - - return $whereStr; - } - - // where子单元分析 - protected function parseWhereItem(Query $query, $field, $val, $rule = '', $binds = []) - { - // 字段分析 - $key = $field ? $this->parseKey($query, $field, true) : ''; - - // 查询规则和条件 - if (!is_array($val)) { - $val = is_null($val) ? ['NULL', ''] : ['=', $val]; - } - - list($exp, $value) = $val; - - // 对一个字段使用多个查询条件 - if (is_array($exp)) { - $item = array_pop($val); - - // 传入 or 或者 and - if (is_string($item) && in_array($item, ['AND', 'and', 'OR', 'or'])) { - $rule = $item; - } else { - array_push($val, $item); - } - - foreach ($val as $k => $item) { - $str[] = $this->parseWhereItem($query, $field, $item, $rule, $binds); - } - - return '( ' . implode(' ' . $rule . ' ', $str) . ' )'; - } - - // 检测操作符 - $exp = strtoupper($exp); - if (isset($this->exp[$exp])) { - $exp = $this->exp[$exp]; - } - - if ($value instanceof Expression) { - - } elseif (is_object($value) && method_exists($value, '__toString')) { - // 对象数据写入 - $value = $value->__toString(); - } - - if (strpos($field, '->')) { - $jsonType = $query->getJsonFieldType($field); - $bindType = $this->connection->getFieldBindType($jsonType); - } else { - $bindType = isset($binds[$field]) && 'LIKE' != $exp ? $binds[$field] : PDO::PARAM_STR; - } - - if (is_scalar($value) && !in_array($exp, ['EXP', 'NOT NULL', 'NULL', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN']) && strpos($exp, 'TIME') === false) { - if (0 === strpos($value, ':') && $query->isBind(substr($value, 1))) { - } else { - $name = $query->bind($value, $bindType); - $value = ':' . $name; - } - } - - // 解析查询表达式 - foreach ($this->parser as $fun => $parse) { - if (in_array($exp, $parse)) { - $whereStr = $this->$fun($query, $key, $exp, $value, $field, $bindType, isset($val[2]) ? $val[2] : 'AND'); - break; - } - } - - if (!isset($whereStr)) { - throw new Exception('where express error:' . $exp); - } - - return $whereStr; - } - - /** - * 模糊查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @param string $logic - * @return string - */ - protected function parseLike(Query $query, $key, $exp, $value, $field, $bindType, $logic) - { - // 模糊匹配 - if (is_array($value)) { - foreach ($value as $item) { - $name = $query->bind($item, PDO::PARAM_STR); - $array[] = $key . ' ' . $exp . ' :' . $name; - } - - $whereStr = '(' . implode(' ' . strtoupper($logic) . ' ', $array) . ')'; - } else { - $whereStr = $key . ' ' . $exp . ' ' . $value; - } - - return $whereStr; - } - - /** - * 表达式查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param array $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseColumn(Query $query, $key, $exp, array $value, $field, $bindType) - { - // 字段比较查询 - list($op, $field2) = $value; - - if (!in_array($op, ['=', '<>', '>', '>=', '<', '<='])) { - throw new Exception('where express error:' . var_export($value, true)); - } - - return '( ' . $key . ' ' . $op . ' ' . $this->parseKey($query, $field2, true) . ' )'; - } - - /** - * 表达式查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param Expression $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseExp(Query $query, $key, $exp, Expression $value, $field, $bindType) - { - // 表达式查询 - return '( ' . $key . ' ' . $value->getValue() . ' )'; - } - - /** - * Null查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseNull(Query $query, $key, $exp, $value, $field, $bindType) - { - // NULL 查询 - return $key . ' IS ' . $exp; - } - - /** - * 范围查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseBetween(Query $query, $key, $exp, $value, $field, $bindType) - { - // BETWEEN 查询 - $data = is_array($value) ? $value : explode(',', $value); - - $min = $query->bind($data[0], $bindType); - $max = $query->bind($data[1], $bindType); - - return $key . ' ' . $exp . ' :' . $min . ' AND :' . $max . ' '; - } - - /** - * Exists查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseExists(Query $query, $key, $exp, $value, $field, $bindType) - { - // EXISTS 查询 - if ($value instanceof \Closure) { - $value = $this->parseClosure($query, $value, false); - } elseif ($value instanceof Expression) { - $value = $value->getValue(); - } else { - throw new Exception('where express error:' . $value); - } - - return $exp . ' (' . $value . ')'; - } - - /** - * 时间比较查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseTime(Query $query, $key, $exp, $value, $field, $bindType) - { - return $key . ' ' . substr($exp, 0, 2) . ' ' . $this->parseDateTime($query, $value, $field, $bindType); - } - - /** - * 大小比较查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseCompare(Query $query, $key, $exp, $value, $field, $bindType) - { - if (is_array($value)) { - throw new Exception('where express error:' . $exp . var_export($value, true)); - } - - // 比较运算 - if ($value instanceof \Closure) { - $value = $this->parseClosure($query, $value); - } - - if ('=' == $exp && is_null($value)) { - return $key . ' IS NULL'; - } - - return $key . ' ' . $exp . ' ' . $value; - } - - /** - * 时间范围查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseBetweenTime(Query $query, $key, $exp, $value, $field, $bindType) - { - if (is_string($value)) { - $value = explode(',', $value); - } - - return $key . ' ' . substr($exp, 0, -4) - . $this->parseDateTime($query, $value[0], $field, $bindType) - . ' AND ' - . $this->parseDateTime($query, $value[1], $field, $bindType); - - } - - /** - * IN查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @param integer $bindType - * @return string - */ - protected function parseIn(Query $query, $key, $exp, $value, $field, $bindType) - { - // IN 查询 - if ($value instanceof \Closure) { - $value = $this->parseClosure($query, $value, false); - } elseif ($value instanceof Expression) { - $value = $value->getValue(); - } else { - $value = array_unique(is_array($value) ? $value : explode(',', $value)); - $array = []; - - foreach ($value as $k => $v) { - $name = $query->bind($v, $bindType); - $array[] = ':' . $name; - } - - if (count($array) == 1) { - return $key . ('IN' == $exp ? ' = ' : ' <> ') . $array[0]; - } else { - $zone = implode(',', $array); - $value = empty($zone) ? "''" : $zone; - } - } - - return $key . ' ' . $exp . ' (' . $value . ')'; - } - - /** - * 闭包子查询 - * @access protected - * @param Query $query 查询对象 - * @param \Closure $call - * @param bool $show - * @return string - */ - protected function parseClosure(Query $query, $call, $show = true) - { - $newQuery = $query->newQuery()->removeOption(); - $call($newQuery); - - return $newQuery->buildSql($show); - } - - /** - * 日期时间条件解析 - * @access protected - * @param Query $query 查询对象 - * @param string $value - * @param string $key - * @param integer $bindType - * @return string - */ - protected function parseDateTime(Query $query, $value, $key, $bindType = null) - { - $options = $query->getOptions(); - - // 获取时间字段类型 - if (strpos($key, '.')) { - list($table, $key) = explode('.', $key); - - if (isset($options['alias']) && $pos = array_search($table, $options['alias'])) { - $table = $pos; - } - } else { - $table = $options['table']; - } - - $type = $this->connection->getTableInfo($table, 'type'); - - if (isset($type[$key])) { - $info = $type[$key]; - } - - if (isset($info)) { - if (is_string($value)) { - $value = strtotime($value) ?: $value; - } - - if (preg_match('/(datetime|timestamp)/is', $info)) { - // 日期及时间戳类型 - $value = date('Y-m-d H:i:s', $value); - } elseif (preg_match('/(date)/is', $info)) { - // 日期及时间戳类型 - $value = date('Y-m-d', $value); - } - } - - $name = $query->bind($value, $bindType); - - return ':' . $name; - } - - /** - * limit分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $limit - * @return string - */ - protected function parseLimit(Query $query, $limit) - { - return (!empty($limit) && false === strpos($limit, '(')) ? ' LIMIT ' . $limit . ' ' : ''; - } - - /** - * join分析 - * @access protected - * @param Query $query 查询对象 - * @param array $join - * @return string - */ - protected function parseJoin(Query $query, $join) - { - $joinStr = ''; - - if (!empty($join)) { - foreach ($join as $item) { - list($table, $type, $on) = $item; - - $condition = []; - - foreach ((array) $on as $val) { - if ($val instanceof Expression) { - $condition[] = $val->getValue(); - } elseif (strpos($val, '=')) { - list($val1, $val2) = explode('=', $val, 2); - - $condition[] = $this->parseKey($query, $val1) . '=' . $this->parseKey($query, $val2); - } else { - $condition[] = $val; - } - } - - $table = $this->parseTable($query, $table); - - $joinStr .= ' ' . $type . ' JOIN ' . $table . ' ON ' . implode(' AND ', $condition); - } - } - - return $joinStr; - } - - /** - * order分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $order - * @return string - */ - protected function parseOrder(Query $query, $order) - { - foreach ($order as $key => $val) { - if ($val instanceof Expression) { - $array[] = $val->getValue(); - } elseif (is_array($val) && preg_match('/^[\w\.]+$/', $key)) { - $array[] = $this->parseOrderField($query, $key, $val); - } elseif ('[rand]' == $val) { - $array[] = $this->parseRand($query); - } elseif (is_string($val)) { - if (is_numeric($key)) { - list($key, $sort) = explode(' ', strpos($val, ' ') ? $val : $val . ' '); - } else { - $sort = $val; - } - - if (preg_match('/^[\w\.]+$/', $key)) { - $sort = strtoupper($sort); - $sort = in_array($sort, ['ASC', 'DESC'], true) ? ' ' . $sort : ''; - $array[] = $this->parseKey($query, $key, true) . $sort; - } else { - throw new Exception('order express error:' . $key); - } - } - } - - return empty($array) ? '' : ' ORDER BY ' . implode(',', $array); - } - - /** - * orderField分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $key - * @param array $val - * @return string - */ - protected function parseOrderField($query, $key, $val) - { - if (isset($val['sort'])) { - $sort = $val['sort']; - unset($val['sort']); - } else { - $sort = ''; - } - - $sort = strtoupper($sort); - $sort = in_array($sort, ['ASC', 'DESC'], true) ? ' ' . $sort : ''; - - $options = $query->getOptions(); - $bind = $this->connection->getFieldsBind($options['table']); - - foreach ($val as $k => $item) { - $val[$k] = $this->parseDataBind($query, $key, $item, $bind); - } - - return 'field(' . $this->parseKey($query, $key, true) . ',' . implode(',', $val) . ')' . $sort; - } - - /** - * group分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $group - * @return string - */ - protected function parseGroup(Query $query, $group) - { - if (empty($group)) { - return ''; - } - - if (is_string($group)) { - $group = explode(',', $group); - } - - foreach ($group as $key) { - $val[] = $this->parseKey($query, $key); - } - - return ' GROUP BY ' . implode(',', $val); - } - - /** - * having分析 - * @access protected - * @param Query $query 查询对象 - * @param string $having - * @return string - */ - protected function parseHaving(Query $query, $having) - { - return !empty($having) ? ' HAVING ' . $having : ''; - } - - /** - * comment分析 - * @access protected - * @param Query $query 查询对象 - * @param string $comment - * @return string - */ - protected function parseComment(Query $query, $comment) - { - if (false !== strpos($comment, '*/')) { - $comment = strstr($comment, '*/', true); - } - - return !empty($comment) ? ' /* ' . $comment . ' */' : ''; - } - - /** - * distinct分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $distinct - * @return string - */ - protected function parseDistinct(Query $query, $distinct) - { - return !empty($distinct) ? ' DISTINCT ' : ''; - } - - /** - * union分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $union - * @return string - */ - protected function parseUnion(Query $query, $union) - { - if (empty($union)) { - return ''; - } - - $type = $union['type']; - unset($union['type']); - - foreach ($union as $u) { - if ($u instanceof \Closure) { - $sql[] = $type . ' ' . $this->parseClosure($query, $u); - } elseif (is_string($u)) { - $sql[] = $type . ' ( ' . $this->connection->parseSqlTable($u) . ' )'; - } - } - - return ' ' . implode(' ', $sql); - } - - /** - * index分析,可在操作链中指定需要强制使用的索引 - * @access protected - * @param Query $query 查询对象 - * @param mixed $index - * @return string - */ - protected function parseForce(Query $query, $index) - { - if (empty($index)) { - return ''; - } - - return sprintf(" FORCE INDEX ( %s ) ", is_array($index) ? implode(',', $index) : $index); - } - - /** - * 设置锁机制 - * @access protected - * @param Query $query 查询对象 - * @param bool|string $lock - * @return string - */ - protected function parseLock(Query $query, $lock = false) - { - if (is_bool($lock)) { - return $lock ? ' FOR UPDATE ' : ''; - } elseif (is_string($lock) && !empty($lock)) { - return ' ' . trim($lock) . ' '; - } - } - - /** - * 生成查询SQL - * @access public - * @param Query $query 查询对象 - * @return string - */ - public function select(Query $query) - { - $options = $query->getOptions(); - - return str_replace( - ['%TABLE%', '%DISTINCT%', '%FIELD%', '%JOIN%', '%WHERE%', '%GROUP%', '%HAVING%', '%ORDER%', '%LIMIT%', '%UNION%', '%LOCK%', '%COMMENT%', '%FORCE%'], - [ - $this->parseTable($query, $options['table']), - $this->parseDistinct($query, $options['distinct']), - $this->parseField($query, $options['field']), - $this->parseJoin($query, $options['join']), - $this->parseWhere($query, $options['where']), - $this->parseGroup($query, $options['group']), - $this->parseHaving($query, $options['having']), - $this->parseOrder($query, $options['order']), - $this->parseLimit($query, $options['limit']), - $this->parseUnion($query, $options['union']), - $this->parseLock($query, $options['lock']), - $this->parseComment($query, $options['comment']), - $this->parseForce($query, $options['force']), - ], - $this->selectSql); - } - - /** - * 生成Insert SQL - * @access public - * @param Query $query 查询对象 - * @param bool $replace 是否replace - * @return string - */ - public function insert(Query $query, $replace = false) - { - $options = $query->getOptions(); - - // 分析并处理数据 - $data = $this->parseData($query, $options['data']); - if (empty($data)) { - return ''; - } - - $fields = array_keys($data); - $values = array_values($data); - - return str_replace( - ['%INSERT%', '%TABLE%', '%FIELD%', '%DATA%', '%COMMENT%'], - [ - $replace ? 'REPLACE' : 'INSERT', - $this->parseTable($query, $options['table']), - implode(' , ', $fields), - implode(' , ', $values), - $this->parseComment($query, $options['comment']), - ], - $this->insertSql); - } - - /** - * 生成insertall SQL - * @access public - * @param Query $query 查询对象 - * @param array $dataSet 数据集 - * @param bool $replace 是否replace - * @return string - */ - public function insertAll(Query $query, $dataSet, $replace = false) - { - $options = $query->getOptions(); - - // 获取合法的字段 - if ('*' == $options['field']) { - $allowFields = $this->connection->getTableFields($options['table']); - } else { - $allowFields = $options['field']; - } - - // 获取绑定信息 - $bind = $this->connection->getFieldsBind($options['table']); - - foreach ($dataSet as $data) { - $data = $this->parseData($query, $data, $allowFields, $bind); - - $values[] = 'SELECT ' . implode(',', array_values($data)); - - if (!isset($insertFields)) { - $insertFields = array_keys($data); - } - } - - $fields = []; - - foreach ($insertFields as $field) { - $fields[] = $this->parseKey($query, $field); - } - - return str_replace( - ['%INSERT%', '%TABLE%', '%FIELD%', '%DATA%', '%COMMENT%'], - [ - $replace ? 'REPLACE' : 'INSERT', - $this->parseTable($query, $options['table']), - implode(' , ', $fields), - implode(' UNION ALL ', $values), - $this->parseComment($query, $options['comment']), - ], - $this->insertAllSql); - } - - /** - * 生成slect insert SQL - * @access public - * @param Query $query 查询对象 - * @param array $fields 数据 - * @param string $table 数据表 - * @return string - */ - public function selectInsert(Query $query, $fields, $table) - { - if (is_string($fields)) { - $fields = explode(',', $fields); - } - - foreach ($fields as &$field) { - $field = $this->parseKey($query, $field, true); - } - - return 'INSERT INTO ' . $this->parseTable($query, $table) . ' (' . implode(',', $fields) . ') ' . $this->select($query); - } - - /** - * 生成update SQL - * @access public - * @param Query $query 查询对象 - * @return string - */ - public function update(Query $query) - { - $options = $query->getOptions(); - - $data = $this->parseData($query, $options['data']); - - if (empty($data)) { - return ''; - } - - foreach ($data as $key => $val) { - $set[] = $key . ' = ' . $val; - } - - return str_replace( - ['%TABLE%', '%SET%', '%JOIN%', '%WHERE%', '%ORDER%', '%LIMIT%', '%LOCK%', '%COMMENT%'], - [ - $this->parseTable($query, $options['table']), - implode(' , ', $set), - $this->parseJoin($query, $options['join']), - $this->parseWhere($query, $options['where']), - $this->parseOrder($query, $options['order']), - $this->parseLimit($query, $options['limit']), - $this->parseLock($query, $options['lock']), - $this->parseComment($query, $options['comment']), - ], - $this->updateSql); - } - - /** - * 生成delete SQL - * @access public - * @param Query $query 查询对象 - * @return string - */ - public function delete(Query $query) - { - $options = $query->getOptions(); - - return str_replace( - ['%TABLE%', '%USING%', '%JOIN%', '%WHERE%', '%ORDER%', '%LIMIT%', '%LOCK%', '%COMMENT%'], - [ - $this->parseTable($query, $options['table']), - !empty($options['using']) ? ' USING ' . $this->parseTable($query, $options['using']) . ' ' : '', - $this->parseJoin($query, $options['join']), - $this->parseWhere($query, $options['where']), - $this->parseOrder($query, $options['order']), - $this->parseLimit($query, $options['limit']), - $this->parseLock($query, $options['lock']), - $this->parseComment($query, $options['comment']), - ], - $this->deleteSql); - } -} diff --git a/thinkphp/library/think/db/Connection.php b/thinkphp/library/think/db/Connection.php deleted file mode 100644 index 18b4885a..00000000 --- a/thinkphp/library/think/db/Connection.php +++ /dev/null @@ -1,2152 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db; - -use InvalidArgumentException; -use PDO; -use PDOStatement; -use think\Container; -use think\Db; -use think\db\exception\BindParamException; -use think\Debug; -use think\Exception; -use think\exception\PDOException; -use think\Loader; - -abstract class Connection -{ - const PARAM_FLOAT = 21; - protected static $instance = []; - /** @var PDOStatement PDO操作实例 */ - protected $PDOStatement; - - /** @var string 当前SQL指令 */ - protected $queryStr = ''; - // 返回或者影响记录数 - protected $numRows = 0; - // 事务指令数 - protected $transTimes = 0; - // 错误信息 - protected $error = ''; - - /** @var PDO[] 数据库连接ID 支持多个连接 */ - protected $links = []; - - /** @var PDO 当前连接ID */ - protected $linkID; - protected $linkRead; - protected $linkWrite; - - // 查询结果类型 - protected $fetchType = PDO::FETCH_ASSOC; - // 字段属性大小写 - protected $attrCase = PDO::CASE_LOWER; - // 监听回调 - protected static $event = []; - - // 数据表信息 - protected static $info = []; - - // 使用Builder类 - protected $builderClassName; - // Builder对象 - protected $builder; - // 数据库连接参数配置 - protected $config = [ - // 数据库类型 - 'type' => '', - // 服务器地址 - 'hostname' => '', - // 数据库名 - 'database' => '', - // 用户名 - 'username' => '', - // 密码 - 'password' => '', - // 端口 - 'hostport' => '', - // 连接dsn - 'dsn' => '', - // 数据库连接参数 - 'params' => [], - // 数据库编码默认采用utf8 - 'charset' => 'utf8', - // 数据库表前缀 - 'prefix' => '', - // 数据库调试模式 - 'debug' => false, - // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) - 'deploy' => 0, - // 数据库读写是否分离 主从式有效 - 'rw_separate' => false, - // 读写分离后 主服务器数量 - 'master_num' => 1, - // 指定从服务器序号 - 'slave_no' => '', - // 模型写入后自动读取主服务器 - 'read_master' => false, - // 是否严格检查字段是否存在 - 'fields_strict' => true, - // 数据集返回类型 - 'resultset_type' => '', - // 自动写入时间戳字段 - 'auto_timestamp' => false, - // 时间字段取出后的默认时间格式 - 'datetime_format' => 'Y-m-d H:i:s', - // 是否需要进行SQL性能分析 - 'sql_explain' => false, - // Builder类 - 'builder' => '', - // Query类 - 'query' => '\\think\\db\\Query', - // 是否需要断线重连 - 'break_reconnect' => false, - // 断线标识字符串 - 'break_match_str' => [], - ]; - - // PDO连接参数 - protected $params = [ - PDO::ATTR_CASE => PDO::CASE_NATURAL, - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, - PDO::ATTR_ORACLE_NULLS => PDO::NULL_NATURAL, - PDO::ATTR_STRINGIFY_FETCHES => false, - PDO::ATTR_EMULATE_PREPARES => false, - ]; - - // 服务器断线标识字符 - protected $breakMatchStr = [ - 'server has gone away', - 'no connection to the server', - 'Lost connection', - 'is dead or not enabled', - 'Error while sending', - 'decryption failed or bad record mac', - 'server closed the connection unexpectedly', - 'SSL connection has been closed unexpectedly', - 'Error writing data to the connection', - 'Resource deadlock avoided', - 'failed with errno', - ]; - - // 绑定参数 - protected $bind = []; - - /** - * 架构函数 读取数据库配置信息 - * @access public - * @param array $config 数据库配置数组 - */ - public function __construct(array $config = []) - { - if (!empty($config)) { - $this->config = array_merge($this->config, $config); - } - - // 创建Builder对象 - $class = $this->getBuilderClass(); - - $this->builder = new $class($this); - - // 执行初始化操作 - $this->initialize(); - } - - /** - * 初始化 - * @access protected - * @return void - */ - protected function initialize() - {} - - /** - * 取得数据库连接类实例 - * @access public - * @param mixed $config 连接配置 - * @param bool|string $name 连接标识 true 强制重新连接 - * @return Connection - * @throws Exception - */ - public static function instance($config = [], $name = false) - { - if (false === $name) { - $name = md5(serialize($config)); - } - - if (true === $name || !isset(self::$instance[$name])) { - if (empty($config['type'])) { - throw new InvalidArgumentException('Undefined db type'); - } - - // 记录初始化信息 - Container::get('app')->log('[ DB ] INIT ' . $config['type']); - - if (true === $name) { - $name = md5(serialize($config)); - } - - self::$instance[$name] = Loader::factory($config['type'], '\\think\\db\\connector\\', $config); - } - - return self::$instance[$name]; - } - - /** - * 获取当前连接器类对应的Builder类 - * @access public - * @return string - */ - public function getBuilderClass() - { - if (!empty($this->builderClassName)) { - return $this->builderClassName; - } - - return $this->getConfig('builder') ?: '\\think\\db\\builder\\' . ucfirst($this->getConfig('type')); - } - - /** - * 设置当前的数据库Builder对象 - * @access protected - * @param Builder $builder - * @return void - */ - protected function setBuilder(Builder $builder) - { - $this->builder = $builder; - - return $this; - } - - /** - * 获取当前的builder实例对象 - * @access public - * @return Builder - */ - public function getBuilder() - { - return $this->builder; - } - - /** - * 解析pdo连接的dsn信息 - * @access protected - * @param array $config 连接信息 - * @return string - */ - abstract protected function parseDsn($config); - - /** - * 取得数据表的字段信息 - * @access public - * @param string $tableName - * @return array - */ - abstract public function getFields($tableName); - - /** - * 取得数据库的表信息 - * @access public - * @param string $dbName - * @return array - */ - abstract public function getTables($dbName); - - /** - * SQL性能分析 - * @access protected - * @param string $sql - * @return array - */ - abstract protected function getExplain($sql); - - /** - * 对返数据表字段信息进行大小写转换出来 - * @access public - * @param array $info 字段信息 - * @return array - */ - public function fieldCase($info) - { - // 字段大小写转换 - switch ($this->attrCase) { - case PDO::CASE_LOWER: - $info = array_change_key_case($info); - break; - case PDO::CASE_UPPER: - $info = array_change_key_case($info, CASE_UPPER); - break; - case PDO::CASE_NATURAL: - default: - // 不做转换 - } - - return $info; - } - - /** - * 获取字段绑定类型 - * @access public - * @param string $type 字段类型 - * @return integer - */ - public function getFieldBindType($type) - { - if (0 === strpos($type, 'set') || 0 === strpos($type, 'enum')) { - $bind = PDO::PARAM_STR; - } elseif (preg_match('/(double|float|decimal|real|numeric)/is', $type)) { - $bind = self::PARAM_FLOAT; - } elseif (preg_match('/(int|serial|bit)/is', $type)) { - $bind = PDO::PARAM_INT; - } elseif (preg_match('/bool/is', $type)) { - $bind = PDO::PARAM_BOOL; - } else { - $bind = PDO::PARAM_STR; - } - - return $bind; - } - - /** - * 将SQL语句中的__TABLE_NAME__字符串替换成带前缀的表名(小写) - * @access public - * @param string $sql sql语句 - * @return string - */ - public function parseSqlTable($sql) - { - if (false !== strpos($sql, '__')) { - $sql = preg_replace_callback("/__([A-Z0-9_-]+)__/sU", function ($match) { - return $this->getConfig('prefix') . strtolower($match[1]); - }, $sql); - } - - return $sql; - } - - /** - * 获取数据表信息 - * @access public - * @param mixed $tableName 数据表名 留空自动获取 - * @param string $fetch 获取信息类型 包括 fields type bind pk - * @return mixed - */ - public function getTableInfo($tableName, $fetch = '') - { - if (is_array($tableName)) { - $tableName = key($tableName) ?: current($tableName); - } - - if (strpos($tableName, ',')) { - // 多表不获取字段信息 - return false; - } else { - $tableName = $this->parseSqlTable($tableName); - } - - // 修正子查询作为表名的问题 - if (strpos($tableName, ')')) { - return []; - } - - list($tableName) = explode(' ', $tableName); - - if (false === strpos($tableName, '.')) { - $schema = $this->getConfig('database') . '.' . $tableName; - } else { - $schema = $tableName; - } - - if (!isset(self::$info[$schema])) { - // 读取缓存 - $cacheFile = Container::get('app')->getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR . $schema . '.php'; - - if (!$this->config['debug'] && is_file($cacheFile)) { - $info = include $cacheFile; - } else { - $info = $this->getFields($tableName); - } - - $fields = array_keys($info); - $bind = $type = []; - - foreach ($info as $key => $val) { - // 记录字段类型 - $type[$key] = $val['type']; - $bind[$key] = $this->getFieldBindType($val['type']); - - if (!empty($val['primary'])) { - $pk[] = $key; - } - } - - if (isset($pk)) { - // 设置主键 - $pk = count($pk) > 1 ? $pk : $pk[0]; - } else { - $pk = null; - } - - self::$info[$schema] = ['fields' => $fields, 'type' => $type, 'bind' => $bind, 'pk' => $pk]; - } - - return $fetch ? self::$info[$schema][$fetch] : self::$info[$schema]; - } - - /** - * 获取数据表的主键 - * @access public - * @param string $tableName 数据表名 - * @return string|array - */ - public function getPk($tableName) - { - return $this->getTableInfo($tableName, 'pk'); - } - - /** - * 获取数据表字段信息 - * @access public - * @param string $tableName 数据表名 - * @return array - */ - public function getTableFields($tableName) - { - return $this->getTableInfo($tableName, 'fields'); - } - - /** - * 获取数据表字段类型 - * @access public - * @param string $tableName 数据表名 - * @param string $field 字段名 - * @return array|string - */ - public function getFieldsType($tableName, $field = null) - { - $result = $this->getTableInfo($tableName, 'type'); - - if ($field && isset($result[$field])) { - return $result[$field]; - } - - return $result; - } - - /** - * 获取数据表绑定信息 - * @access public - * @param string $tableName 数据表名 - * @return array - */ - public function getFieldsBind($tableName) - { - return $this->getTableInfo($tableName, 'bind'); - } - - /** - * 获取数据库的配置参数 - * @access public - * @param string $config 配置名称 - * @return mixed - */ - public function getConfig($config = '') - { - return $config ? $this->config[$config] : $this->config; - } - - /** - * 设置数据库的配置参数 - * @access public - * @param string|array $config 配置名称 - * @param mixed $value 配置值 - * @return void - */ - public function setConfig($config, $value = '') - { - if (is_array($config)) { - $this->config = array_merge($this->config, $config); - } else { - $this->config[$config] = $value; - } - } - - /** - * 连接数据库方法 - * @access public - * @param array $config 连接参数 - * @param integer $linkNum 连接序号 - * @param array|bool $autoConnection 是否自动连接主数据库(用于分布式) - * @return PDO - * @throws Exception - */ - public function connect(array $config = [], $linkNum = 0, $autoConnection = false) - { - if (isset($this->links[$linkNum])) { - return $this->links[$linkNum]; - } - - if (!$config) { - $config = $this->config; - } else { - $config = array_merge($this->config, $config); - } - - // 连接参数 - if (isset($config['params']) && is_array($config['params'])) { - $params = $config['params'] + $this->params; - } else { - $params = $this->params; - } - - // 记录当前字段属性大小写设置 - $this->attrCase = $params[PDO::ATTR_CASE]; - - if (!empty($config['break_match_str'])) { - $this->breakMatchStr = array_merge($this->breakMatchStr, (array) $config['break_match_str']); - } - - try { - if (empty($config['dsn'])) { - $config['dsn'] = $this->parseDsn($config); - } - - if ($config['debug']) { - $startTime = microtime(true); - } - - $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params); - - if ($config['debug']) { - // 记录数据库连接信息 - $this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']); - } - - return $this->links[$linkNum]; - } catch (\PDOException $e) { - if ($autoConnection) { - $this->log($e->getMessage(), 'error'); - return $this->connect($autoConnection, $linkNum); - } else { - throw $e; - } - } - } - - /** - * 释放查询结果 - * @access public - */ - public function free() - { - $this->PDOStatement = null; - } - - /** - * 获取PDO对象 - * @access public - * @return \PDO|false - */ - public function getPdo() - { - if (!$this->linkID) { - return false; - } - - return $this->linkID; - } - - /** - * 执行查询 使用生成器返回数据 - * @access public - * @param string $sql sql指令 - * @param array $bind 参数绑定 - * @param bool $master 是否在主服务器读操作 - * @param Model $model 模型对象实例 - * @param array $condition 查询条件 - * @param mixed $relation 关联查询 - * @return \Generator - */ - public function getCursor($sql, $bind = [], $master = false, $model = null, $condition = null, $relation = null) - { - $this->initConnect($master); - - // 记录SQL语句 - $this->queryStr = $sql; - - $this->bind = $bind; - - Db::$queryTimes++; - - // 调试开始 - $this->debug(true); - - // 预处理 - $this->PDOStatement = $this->linkID->prepare($sql); - - // 是否为存储过程调用 - $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']); - - // 参数绑定 - if ($procedure) { - $this->bindParam($bind); - } else { - $this->bindValue($bind); - } - - // 执行查询 - $this->PDOStatement->execute(); - - // 调试结束 - $this->debug(false, '', $master); - - // 返回结果集 - while ($result = $this->PDOStatement->fetch($this->fetchType)) { - if ($model) { - $instance = $model->newInstance($result, $condition); - - if ($relation) { - $instance->relationQuery($relation); - } - - yield $instance; - } else { - yield $result; - } - } - } - - /** - * 执行查询 返回数据集 - * @access public - * @param string $sql sql指令 - * @param array $bind 参数绑定 - * @param bool $master 是否在主服务器读操作 - * @param bool $pdo 是否返回PDO对象 - * @return array - * @throws BindParamException - * @throws \PDOException - * @throws \Exception - * @throws \Throwable - */ - public function query($sql, $bind = [], $master = false, $pdo = false) - { - $this->initConnect($master); - - if (!$this->linkID) { - return false; - } - - // 记录SQL语句 - $this->queryStr = $sql; - - $this->bind = $bind; - - Db::$queryTimes++; - - try { - // 调试开始 - $this->debug(true); - - // 预处理 - $this->PDOStatement = $this->linkID->prepare($sql); - - // 是否为存储过程调用 - $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']); - - // 参数绑定 - if ($procedure) { - $this->bindParam($bind); - } else { - $this->bindValue($bind); - } - - // 执行查询 - $this->PDOStatement->execute(); - - // 调试结束 - $this->debug(false, '', $master); - - // 返回结果集 - return $this->getResult($pdo, $procedure); - } catch (\PDOException $e) { - if ($this->isBreak($e)) { - return $this->close()->query($sql, $bind, $master, $pdo); - } - - throw new PDOException($e, $this->config, $this->getLastsql()); - } catch (\Throwable $e) { - if ($this->isBreak($e)) { - return $this->close()->query($sql, $bind, $master, $pdo); - } - - throw $e; - } catch (\Exception $e) { - if ($this->isBreak($e)) { - return $this->close()->query($sql, $bind, $master, $pdo); - } - - throw $e; - } - } - - /** - * 执行语句 - * @access public - * @param string $sql sql指令 - * @param array $bind 参数绑定 - * @param Query $query 查询对象 - * @return int - * @throws BindParamException - * @throws \PDOException - * @throws \Exception - * @throws \Throwable - */ - public function execute($sql, $bind = [], Query $query = null) - { - $this->initConnect(true); - - if (!$this->linkID) { - return false; - } - - // 记录SQL语句 - $this->queryStr = $sql; - - $this->bind = $bind; - - Db::$executeTimes++; - try { - // 调试开始 - $this->debug(true); - - // 预处理 - $this->PDOStatement = $this->linkID->prepare($sql); - - // 是否为存储过程调用 - $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']); - - // 参数绑定 - if ($procedure) { - $this->bindParam($bind); - } else { - $this->bindValue($bind); - } - - // 执行语句 - $this->PDOStatement->execute(); - - // 调试结束 - $this->debug(false, '', true); - - if ($query && !empty($this->config['deploy']) && !empty($this->config['read_master'])) { - $query->readMaster(); - } - - $this->numRows = $this->PDOStatement->rowCount(); - - return $this->numRows; - } catch (\PDOException $e) { - if ($this->isBreak($e)) { - return $this->close()->execute($sql, $bind, $query); - } - - throw new PDOException($e, $this->config, $this->getLastsql()); - } catch (\Throwable $e) { - if ($this->isBreak($e)) { - return $this->close()->execute($sql, $bind, $query); - } - - throw $e; - } catch (\Exception $e) { - if ($this->isBreak($e)) { - return $this->close()->execute($sql, $bind, $query); - } - - throw $e; - } - } - - /** - * 查找单条记录 - * @access public - * @param Query $query 查询对象 - * @return array|null|\PDOStatement|string - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function find(Query $query) - { - // 分析查询表达式 - $options = $query->getOptions(); - $pk = $query->getPk($options); - - $data = $options['data']; - $query->setOption('limit', 1); - - if (empty($options['fetch_sql']) && !empty($options['cache'])) { - // 判断查询缓存 - $cache = $options['cache']; - - if (is_string($cache['key'])) { - $key = $cache['key']; - } else { - $key = $this->getCacheKey($query, $data); - } - - $result = Container::get('cache')->get($key); - - if (false !== $result) { - return $result; - } - } - - if (is_string($pk) && !is_array($data)) { - if (isset($key) && strpos($key, '|')) { - list($a, $val) = explode('|', $key); - $item[$pk] = $val; - } else { - $item[$pk] = $data; - } - $data = $item; - } - - $query->setOption('data', $data); - - // 生成查询SQL - $sql = $this->builder->select($query); - - $query->removeOption('limit'); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 事件回调 - $result = $query->trigger('before_find'); - - if (!$result) { - // 执行查询 - $resultSet = $this->query($sql, $bind, $options['master'], $options['fetch_pdo']); - - if ($resultSet instanceof \PDOStatement) { - // 返回PDOStatement对象 - return $resultSet; - } - - $result = isset($resultSet[0]) ? $resultSet[0] : null; - } - - if (isset($cache) && $result) { - // 缓存数据 - $this->cacheData($key, $result, $cache); - } - - return $result; - } - - /** - * 使用游标查询记录 - * @access public - * @param Query $query 查询对象 - * @return \Generator - */ - public function cursor(Query $query) - { - // 分析查询表达式 - $options = $query->getOptions(); - - // 生成查询SQL - $sql = $this->builder->select($query); - - $bind = $query->getBind(); - - $condition = isset($options['where']['AND']) ? $options['where']['AND'] : null; - $relation = isset($options['relaltion']) ? $options['relation'] : null; - - // 执行查询操作 - return $this->getCursor($sql, $bind, $options['master'], $query->getModel(), $condition, $relation); - } - - /** - * 查找记录 - * @access public - * @param Query $query 查询对象 - * @return array|\PDOStatement|string - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function select(Query $query) - { - // 分析查询表达式 - $options = $query->getOptions(); - - if (empty($options['fetch_sql']) && !empty($options['cache'])) { - $resultSet = $this->getCacheData($query, $options['cache'], null, $key); - - if (false !== $resultSet) { - return $resultSet; - } - } - - // 生成查询SQL - $sql = $this->builder->select($query); - - $query->removeOption('limit'); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - $resultSet = $query->trigger('before_select'); - - if (!$resultSet) { - // 执行查询操作 - $resultSet = $this->query($sql, $bind, $options['master'], $options['fetch_pdo']); - - if ($resultSet instanceof \PDOStatement) { - // 返回PDOStatement对象 - return $resultSet; - } - } - - if (!empty($options['cache']) && false !== $resultSet) { - // 缓存数据集 - $this->cacheData($key, $resultSet, $options['cache']); - } - - return $resultSet; - } - - /** - * 插入记录 - * @access public - * @param Query $query 查询对象 - * @param boolean $replace 是否replace - * @param boolean $getLastInsID 返回自增主键 - * @param string $sequence 自增序列名 - * @return integer|string - */ - public function insert(Query $query, $replace = false, $getLastInsID = false, $sequence = null) - { - // 分析查询表达式 - $options = $query->getOptions(); - - // 生成SQL语句 - $sql = $this->builder->insert($query, $replace); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 执行操作 - $result = '' == $sql ? 0 : $this->execute($sql, $bind, $query); - - if ($result) { - $sequence = $sequence ?: (isset($options['sequence']) ? $options['sequence'] : null); - $lastInsId = $this->getLastInsID($sequence); - - $data = $options['data']; - - if ($lastInsId) { - $pk = $query->getPk($options); - if (is_string($pk)) { - $data[$pk] = $lastInsId; - } - } - - $query->setOption('data', $data); - - $query->trigger('after_insert'); - - if ($getLastInsID) { - return $lastInsId; - } - } - - return $result; - } - - /** - * 批量插入记录 - * @access public - * @param Query $query 查询对象 - * @param mixed $dataSet 数据集 - * @param bool $replace 是否replace - * @param integer $limit 每次写入数据限制 - * @return integer|string - * @throws \Exception - * @throws \Throwable - */ - public function insertAll(Query $query, $dataSet = [], $replace = false, $limit = null) - { - if (!is_array(reset($dataSet))) { - return false; - } - - $options = $query->getOptions(); - - if ($limit) { - // 分批写入 自动启动事务支持 - $this->startTrans(); - - try { - $array = array_chunk($dataSet, $limit, true); - $count = 0; - - foreach ($array as $item) { - $sql = $this->builder->insertAll($query, $item, $replace); - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - $fetchSql[] = $this->getRealSql($sql, $bind); - } else { - $count += $this->execute($sql, $bind, $query); - } - } - - // 提交事务 - $this->commit(); - } catch (\Exception $e) { - $this->rollback(); - throw $e; - } catch (\Throwable $e) { - $this->rollback(); - throw $e; - } - - return isset($fetchSql) ? implode(';', $fetchSql) : $count; - } - - $sql = $this->builder->insertAll($query, $dataSet, $replace); - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - return $this->getRealSql($sql, $bind); - } - - return $this->execute($sql, $bind, $query); - } - - /** - * 通过Select方式插入记录 - * @access public - * @param Query $query 查询对象 - * @param string $fields 要插入的数据表字段名 - * @param string $table 要插入的数据表名 - * @return integer|string - * @throws PDOException - */ - public function selectInsert(Query $query, $fields, $table) - { - // 分析查询表达式 - $options = $query->getOptions(); - - $table = $this->parseSqlTable($table); - - $sql = $this->builder->selectInsert($query, $fields, $table); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - return $this->getRealSql($sql, $bind); - } - - return $this->execute($sql, $bind, $query); - } - - /** - * 更新记录 - * @access public - * @param Query $query 查询对象 - * @return integer|string - * @throws Exception - * @throws PDOException - */ - public function update(Query $query) - { - $options = $query->getOptions(); - - if (isset($options['cache']) && is_string($options['cache']['key'])) { - $key = $options['cache']['key']; - } - - $pk = $query->getPk($options); - $data = $options['data']; - - if (empty($options['where'])) { - // 如果存在主键数据 则自动作为更新条件 - if (is_string($pk) && isset($data[$pk])) { - $where[$pk] = [$pk, '=', $data[$pk]]; - if (!isset($key)) { - $key = $this->getCacheKey($query, $data[$pk]); - } - unset($data[$pk]); - } elseif (is_array($pk)) { - // 增加复合主键支持 - foreach ($pk as $field) { - if (isset($data[$field])) { - $where[$field] = [$field, '=', $data[$field]]; - } else { - // 如果缺少复合主键数据则不执行 - throw new Exception('miss complex primary data'); - } - unset($data[$field]); - } - } - - if (!isset($where)) { - // 如果没有任何更新条件则不执行 - throw new Exception('miss update condition'); - } else { - $options['where']['AND'] = $where; - $query->setOption('where', ['AND' => $where]); - } - } elseif (!isset($key) && is_string($pk) && isset($options['where']['AND'])) { - foreach ($options['where']['AND'] as $val) { - if (is_array($val) && $val[0] == $pk) { - $key = $this->getCacheKey($query, $val); - } - } - } - - // 更新数据 - $query->setOption('data', $data); - - // 生成UPDATE SQL语句 - $sql = $this->builder->update($query); - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 检测缓存 - $cache = Container::get('cache'); - - if (isset($key) && $cache->get($key)) { - // 删除缓存 - $cache->rm($key); - } elseif (!empty($options['cache']['tag'])) { - $cache->clear($options['cache']['tag']); - } - - // 执行操作 - $result = '' == $sql ? 0 : $this->execute($sql, $bind, $query); - - if ($result) { - if (is_string($pk) && isset($where[$pk])) { - $data[$pk] = $where[$pk]; - } elseif (is_string($pk) && isset($key) && strpos($key, '|')) { - list($a, $val) = explode('|', $key); - $data[$pk] = $val; - } - - $query->setOption('data', $data); - $query->trigger('after_update'); - } - - return $result; - } - - /** - * 删除记录 - * @access public - * @param Query $query 查询对象 - * @return int - * @throws Exception - * @throws PDOException - */ - public function delete(Query $query) - { - // 分析查询表达式 - $options = $query->getOptions(); - $pk = $query->getPk($options); - $data = $options['data']; - - if (isset($options['cache']) && is_string($options['cache']['key'])) { - $key = $options['cache']['key']; - } elseif (!is_null($data) && true !== $data && !is_array($data)) { - $key = $this->getCacheKey($query, $data); - } elseif (is_string($pk) && isset($options['where']['AND'])) { - foreach ($options['where']['AND'] as $val) { - if (is_array($val) && $val[0] == $pk) { - $key = $this->getCacheKey($query, $val); - } - } - } - - if (true !== $data && empty($options['where'])) { - // 如果条件为空 不进行删除操作 除非设置 1=1 - throw new Exception('delete without condition'); - } - - // 生成删除SQL语句 - $sql = $this->builder->delete($query); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 检测缓存 - $cache = Container::get('cache'); - - if (isset($key) && $cache->get($key)) { - // 删除缓存 - $cache->rm($key); - } elseif (!empty($options['cache']['tag'])) { - $cache->clear($options['cache']['tag']); - } - - // 执行操作 - $result = $this->execute($sql, $bind, $query); - - if ($result) { - if (!is_array($data) && is_string($pk) && isset($key) && strpos($key, '|')) { - list($a, $val) = explode('|', $key); - $item[$pk] = $val; - $data = $item; - } - - $options['data'] = $data; - - $query->trigger('after_delete'); - } - - return $result; - } - - /** - * 得到某个字段的值 - * @access public - * @param Query $query 查询对象 - * @param string $field 字段名 - * @param mixed $default 默认值 - * @param bool $one 是否返回一个值 - * @return mixed - */ - public function value(Query $query, $field, $default = null, $one = true) - { - $options = $query->getOptions(); - - if (isset($options['field'])) { - $query->removeOption('field'); - } - - if (is_string($field)) { - $field = array_map('trim', explode(',', $field)); - } - - $query->setOption('field', $field); - - if (empty($options['fetch_sql']) && !empty($options['cache'])) { - $cache = $options['cache']; - $result = $this->getCacheData($query, $cache, null, $key); - - if (false !== $result) { - return $result; - } - } - - if ($one) { - $query->setOption('limit', 1); - } - - // 生成查询SQL - $sql = $this->builder->select($query); - - if (isset($options['field'])) { - $query->setOption('field', $options['field']); - } else { - $query->removeOption('field'); - } - - $query->removeOption('limit'); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 执行查询操作 - $pdo = $this->query($sql, $bind, $options['master'], true); - - $result = $pdo->fetchColumn(); - - if (isset($cache) && false !== $result) { - // 缓存数据 - $this->cacheData($key, $result, $cache); - } - - return false !== $result ? $result : $default; - } - - /** - * 得到某个字段的值 - * @access public - * @param Query $query 查询对象 - * @param string $aggregate 聚合方法 - * @param mixed $field 字段名 - * @return mixed - */ - public function aggregate(Query $query, $aggregate, $field) - { - if (is_string($field) && 0 === stripos($field, 'DISTINCT ')) { - list($distinct, $field) = explode(' ', $field); - } - - $field = $aggregate . '(' . (!empty($distinct) ? 'DISTINCT ' : '') . $this->builder->parseKey($query, $field, true) . ') AS tp_' . strtolower($aggregate); - - return $this->value($query, $field, 0, false); - } - - /** - * 得到某个列的数组 - * @access public - * @param Query $query 查询对象 - * @param string $field 字段名 多个字段用逗号分隔 - * @param string $key 索引 - * @return array - */ - public function column(Query $query, $field, $key = '') - { - $options = $query->getOptions(); - - if (isset($options['field'])) { - $query->removeOption('field'); - } - - if (is_null($field)) { - $field = ['*']; - } elseif (is_string($field)) { - $field = array_map('trim', explode(',', $field)); - } - - if ($key && ['*'] != $field) { - array_unshift($field, $key); - $field = array_unique($field); - } - - $query->setOption('field', $field); - - if (empty($options['fetch_sql']) && !empty($options['cache'])) { - // 判断查询缓存 - $cache = $options['cache']; - $result = $this->getCacheData($query, $cache, null, $guid); - - if (false !== $result) { - return $result; - } - } - - // 生成查询SQL - $sql = $this->builder->select($query); - - // 还原field参数 - if (isset($options['field'])) { - $query->setOption('field', $options['field']); - } else { - $query->removeOption('field'); - } - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 执行查询操作 - $pdo = $this->query($sql, $bind, $options['master'], true); - - if (1 == $pdo->columnCount()) { - $result = $pdo->fetchAll(PDO::FETCH_COLUMN); - } else { - $resultSet = $pdo->fetchAll(PDO::FETCH_ASSOC); - - if (['*'] == $field && $key) { - $result = array_column($resultSet, null, $key); - } elseif ($resultSet) { - $fields = array_keys($resultSet[0]); - $count = count($fields); - $key1 = array_shift($fields); - $key2 = $fields ? array_shift($fields) : ''; - $key = $key ?: $key1; - - if (strpos($key, '.')) { - list($alias, $key) = explode('.', $key); - } - - if (2 == $count) { - $column = $key2; - } elseif (1 == $count) { - $column = $key1; - } else { - $column = null; - } - - $result = array_column($resultSet, $column, $key); - } else { - $result = []; - } - } - - if (isset($cache) && isset($guid)) { - // 缓存数据 - $this->cacheData($guid, $result, $cache); - } - - return $result; - } - - /** - * 执行查询但只返回PDOStatement对象 - * @access public - * @return \PDOStatement|string - */ - public function pdo(Query $query) - { - // 分析查询表达式 - $options = $query->getOptions(); - - // 生成查询SQL - $sql = $this->builder->select($query); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 执行查询操作 - return $this->query($sql, $bind, $options['master'], true); - } - - /** - * 根据参数绑定组装最终的SQL语句 便于调试 - * @access public - * @param string $sql 带参数绑定的sql语句 - * @param array $bind 参数绑定列表 - * @return string - */ - public function getRealSql($sql, array $bind = []) - { - if (is_array($sql)) { - $sql = implode(';', $sql); - } - - foreach ($bind as $key => $val) { - $value = is_array($val) ? $val[0] : $val; - $type = is_array($val) ? $val[1] : PDO::PARAM_STR; - - if ((self::PARAM_FLOAT == $type || PDO::PARAM_STR == $type) && is_string($value)) { - $value = '\'' . addslashes($value) . '\''; - } elseif (PDO::PARAM_INT == $type && '' === $value) { - $value = 0; - } - - // 判断占位符 - $sql = is_numeric($key) ? - substr_replace($sql, $value, strpos($sql, '?'), 1) : - substr_replace($sql, $value, strpos($sql, ':' . $key), strlen(':' . $key)); - } - - return rtrim($sql); - } - - /** - * 参数绑定 - * 支持 ['name'=>'value','id'=>123] 对应命名占位符 - * 或者 ['value',123] 对应问号占位符 - * @access public - * @param array $bind 要绑定的参数列表 - * @return void - * @throws BindParamException - */ - protected function bindValue(array $bind = []) - { - foreach ($bind as $key => $val) { - // 占位符 - $param = is_int($key) ? $key + 1 : ':' . $key; - - if (is_array($val)) { - if (PDO::PARAM_INT == $val[1] && '' === $val[0]) { - $val[0] = 0; - } elseif (self::PARAM_FLOAT == $val[1]) { - $val[0] = is_string($val[0]) ? (float) $val[0] : $val[0]; - $val[1] = PDO::PARAM_STR; - } - - $result = $this->PDOStatement->bindValue($param, $val[0], $val[1]); - } else { - $result = $this->PDOStatement->bindValue($param, $val); - } - - if (!$result) { - throw new BindParamException( - "Error occurred when binding parameters '{$param}'", - $this->config, - $this->getLastsql(), - $bind - ); - } - } - } - - /** - * 存储过程的输入输出参数绑定 - * @access public - * @param array $bind 要绑定的参数列表 - * @return void - * @throws BindParamException - */ - protected function bindParam($bind) - { - foreach ($bind as $key => $val) { - $param = is_int($key) ? $key + 1 : ':' . $key; - - if (is_array($val)) { - array_unshift($val, $param); - $result = call_user_func_array([$this->PDOStatement, 'bindParam'], $val); - } else { - $result = $this->PDOStatement->bindValue($param, $val); - } - - if (!$result) { - $param = array_shift($val); - - throw new BindParamException( - "Error occurred when binding parameters '{$param}'", - $this->config, - $this->getLastsql(), - $bind - ); - } - } - } - - /** - * 获得数据集数组 - * @access protected - * @param bool $pdo 是否返回PDOStatement - * @param bool $procedure 是否存储过程 - * @return array - */ - protected function getResult($pdo = false, $procedure = false) - { - if ($pdo) { - // 返回PDOStatement对象处理 - return $this->PDOStatement; - } - - if ($procedure) { - // 存储过程返回结果 - return $this->procedure(); - } - - $result = $this->PDOStatement->fetchAll($this->fetchType); - - $this->numRows = count($result); - - return $result; - } - - /** - * 获得存储过程数据集 - * @access protected - * @return array - */ - protected function procedure() - { - $item = []; - - do { - $result = $this->getResult(); - if ($result) { - $item[] = $result; - } - } while ($this->PDOStatement->nextRowset()); - - $this->numRows = count($item); - - return $item; - } - - /** - * 执行数据库事务 - * @access public - * @param callable $callback 数据操作方法回调 - * @return mixed - * @throws PDOException - * @throws \Exception - * @throws \Throwable - */ - public function transaction($callback) - { - $this->startTrans(); - - try { - $result = null; - if (is_callable($callback)) { - $result = call_user_func_array($callback, [$this]); - } - - $this->commit(); - return $result; - } catch (\Exception $e) { - $this->rollback(); - throw $e; - } catch (\Throwable $e) { - $this->rollback(); - throw $e; - } - } - - /** - * 启动XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function startTransXa($xid) - {} - - /** - * 预编译XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function prepareXa($xid) - {} - - /** - * 提交XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function commitXa($xid) - {} - - /** - * 回滚XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function rollbackXa($xid) - {} - - /** - * 启动事务 - * @access public - * @return void - * @throws \PDOException - * @throws \Exception - */ - public function startTrans() - { - $this->initConnect(true); - if (!$this->linkID) { - return false; - } - - ++$this->transTimes; - - try { - if (1 == $this->transTimes) { - $this->linkID->beginTransaction(); - } elseif ($this->transTimes > 1 && $this->supportSavepoint()) { - $this->linkID->exec( - $this->parseSavepoint('trans' . $this->transTimes) - ); - } - } catch (\Exception $e) { - if ($this->isBreak($e)) { - --$this->transTimes; - return $this->close()->startTrans(); - } - throw $e; - } - } - - /** - * 用于非自动提交状态下面的查询提交 - * @access public - * @return void - * @throws PDOException - */ - public function commit() - { - $this->initConnect(true); - - if (1 == $this->transTimes) { - $this->linkID->commit(); - } - - --$this->transTimes; - } - - /** - * 事务回滚 - * @access public - * @return void - * @throws PDOException - */ - public function rollback() - { - $this->initConnect(true); - - if (1 == $this->transTimes) { - $this->linkID->rollBack(); - } elseif ($this->transTimes > 1 && $this->supportSavepoint()) { - $this->linkID->exec( - $this->parseSavepointRollBack('trans' . $this->transTimes) - ); - } - - $this->transTimes = max(0, $this->transTimes - 1); - } - - /** - * 是否支持事务嵌套 - * @return bool - */ - protected function supportSavepoint() - { - return false; - } - - /** - * 生成定义保存点的SQL - * @access protected - * @param $name - * @return string - */ - protected function parseSavepoint($name) - { - return 'SAVEPOINT ' . $name; - } - - /** - * 生成回滚到保存点的SQL - * @access protected - * @param $name - * @return string - */ - protected function parseSavepointRollBack($name) - { - return 'ROLLBACK TO SAVEPOINT ' . $name; - } - - /** - * 批处理执行SQL语句 - * 批处理的指令都认为是execute操作 - * @access public - * @param array $sqlArray SQL批处理指令 - * @param array $bind 参数绑定 - * @return boolean - */ - public function batchQuery($sqlArray = [], $bind = []) - { - if (!is_array($sqlArray)) { - return false; - } - - // 自动启动事务支持 - $this->startTrans(); - - try { - foreach ($sqlArray as $sql) { - $this->execute($sql, $bind); - } - // 提交事务 - $this->commit(); - } catch (\Exception $e) { - $this->rollback(); - throw $e; - } - - return true; - } - - /** - * 获得查询次数 - * @access public - * @param boolean $execute 是否包含所有查询 - * @return integer - */ - public function getQueryTimes($execute = false) - { - return $execute ? Db::$queryTimes + Db::$executeTimes : Db::$queryTimes; - } - - /** - * 获得执行次数 - * @access public - * @return integer - */ - public function getExecuteTimes() - { - return Db::$executeTimes; - } - - /** - * 关闭数据库(或者重新连接) - * @access public - * @return $this - */ - public function close() - { - $this->linkID = null; - $this->linkWrite = null; - $this->linkRead = null; - $this->links = []; - - // 释放查询 - $this->free(); - - return $this; - } - - /** - * 是否断线 - * @access protected - * @param \PDOException|\Exception $e 异常对象 - * @return bool - */ - protected function isBreak($e) - { - if (!$this->config['break_reconnect']) { - return false; - } - - $error = $e->getMessage(); - - foreach ($this->breakMatchStr as $msg) { - if (false !== stripos($error, $msg)) { - return true; - } - } - return false; - } - - /** - * 获取最近一次查询的sql语句 - * @access public - * @return string - */ - public function getLastSql() - { - return $this->getRealSql($this->queryStr, $this->bind); - } - - /** - * 获取最近插入的ID - * @access public - * @param string $sequence 自增序列名 - * @return string - */ - public function getLastInsID($sequence = null) - { - return $this->linkID->lastInsertId($sequence); - } - - /** - * 获取返回或者影响的记录数 - * @access public - * @return integer - */ - public function getNumRows() - { - return $this->numRows; - } - - /** - * 获取最近的错误信息 - * @access public - * @return string - */ - public function getError() - { - if ($this->PDOStatement) { - $error = $this->PDOStatement->errorInfo(); - $error = $error[1] . ':' . $error[2]; - } else { - $error = ''; - } - - if ('' != $this->queryStr) { - $error .= "\n [ SQL语句 ] : " . $this->getLastsql(); - } - - return $error; - } - - /** - * 数据库调试 记录当前SQL及分析性能 - * @access protected - * @param boolean $start 调试开始标记 true 开始 false 结束 - * @param string $sql 执行的SQL语句 留空自动获取 - * @param bool $master 主从标记 - * @return void - */ - protected function debug($start, $sql = '', $master = false) - { - if (!empty($this->config['debug'])) { - // 开启数据库调试模式 - $debug = Container::get('debug'); - - if ($start) { - $debug->remark('queryStartTime', 'time'); - } else { - // 记录操作结束时间 - $debug->remark('queryEndTime', 'time'); - $runtime = $debug->getRangeTime('queryStartTime', 'queryEndTime'); - $sql = $sql ?: $this->getLastsql(); - $result = []; - - // SQL性能分析 - if ($this->config['sql_explain'] && 0 === stripos(trim($sql), 'select')) { - $result = $this->getExplain($sql); - } - - // SQL监听 - $this->triggerSql($sql, $runtime, $result, $master); - } - } - } - - /** - * 监听SQL执行 - * @access public - * @param callable $callback 回调方法 - * @return void - */ - public function listen($callback) - { - self::$event[] = $callback; - } - - /** - * 触发SQL事件 - * @access protected - * @param string $sql SQL语句 - * @param float $runtime SQL运行时间 - * @param mixed $explain SQL分析 - * @param bool $master 主从标记 - * @return void - */ - protected function triggerSql($sql, $runtime, $explain = [], $master = false) - { - if (!empty(self::$event)) { - foreach (self::$event as $callback) { - if (is_callable($callback)) { - call_user_func_array($callback, [$sql, $runtime, $explain, $master]); - } - } - } else { - if ($this->config['deploy']) { - // 分布式记录当前操作的主从 - $master = $master ? 'master|' : 'slave|'; - } else { - $master = ''; - } - - // 未注册监听则记录到日志中 - $this->log('[ SQL ] ' . $sql . ' [ ' . $master . 'RunTime:' . $runtime . 's ]'); - - if (!empty($explain)) { - $this->log('[ EXPLAIN : ' . var_export($explain, true) . ' ]'); - } - } - } - - public function log($log, $type = 'sql') - { - $this->config['debug'] && Container::get('log')->record($log, $type); - } - - /** - * 初始化数据库连接 - * @access protected - * @param boolean $master 是否主服务器 - * @return void - */ - protected function initConnect($master = true) - { - if (!empty($this->config['deploy'])) { - // 采用分布式数据库 - if ($master || $this->transTimes) { - if (!$this->linkWrite) { - $this->linkWrite = $this->multiConnect(true); - } - - $this->linkID = $this->linkWrite; - } else { - if (!$this->linkRead) { - $this->linkRead = $this->multiConnect(false); - } - - $this->linkID = $this->linkRead; - } - } elseif (!$this->linkID) { - // 默认单数据库 - $this->linkID = $this->connect(); - } - } - - /** - * 连接分布式服务器 - * @access protected - * @param boolean $master 主服务器 - * @return PDO - */ - protected function multiConnect($master = false) - { - $_config = []; - - // 分布式数据库配置解析 - foreach (['username', 'password', 'hostname', 'hostport', 'database', 'dsn', 'charset'] as $name) { - $_config[$name] = is_string($this->config[$name]) ? explode(',', $this->config[$name]) : $this->config[$name]; - } - - // 主服务器序号 - $m = floor(mt_rand(0, $this->config['master_num'] - 1)); - - if ($this->config['rw_separate']) { - // 主从式采用读写分离 - if ($master) // 主服务器写入 - { - $r = $m; - } elseif (is_numeric($this->config['slave_no'])) { - // 指定服务器读 - $r = $this->config['slave_no']; - } else { - // 读操作连接从服务器 每次随机连接的数据库 - $r = floor(mt_rand($this->config['master_num'], count($_config['hostname']) - 1)); - } - } else { - // 读写操作不区分服务器 每次随机连接的数据库 - $r = floor(mt_rand(0, count($_config['hostname']) - 1)); - } - $dbMaster = false; - - if ($m != $r) { - $dbMaster = []; - foreach (['username', 'password', 'hostname', 'hostport', 'database', 'dsn', 'charset'] as $name) { - $dbMaster[$name] = isset($_config[$name][$m]) ? $_config[$name][$m] : $_config[$name][0]; - } - } - - $dbConfig = []; - - foreach (['username', 'password', 'hostname', 'hostport', 'database', 'dsn', 'charset'] as $name) { - $dbConfig[$name] = isset($_config[$name][$r]) ? $_config[$name][$r] : $_config[$name][0]; - } - - return $this->connect($dbConfig, $r, $r == $m ? false : $dbMaster); - } - - /** - * 析构方法 - * @access public - */ - public function __destruct() - { - // 关闭连接 - $this->close(); - } - - /** - * 缓存数据 - * @access protected - * @param string $key 缓存标识 - * @param mixed $data 缓存数据 - * @param array $config 缓存参数 - */ - protected function cacheData($key, $data, $config = []) - { - $cache = Container::get('cache'); - - if (isset($config['tag'])) { - $cache->tag($config['tag'])->set($key, $data, $config['expire']); - } else { - $cache->set($key, $data, $config['expire']); - } - } - - /** - * 获取缓存数据 - * @access protected - * @param Query $query 查询对象 - * @param mixed $cache 缓存设置 - * @param array $options 缓存 - * @return mixed - */ - protected function getCacheData(Query $query, $cache, $data, &$key = null) - { - // 判断查询缓存 - $key = is_string($cache['key']) ? $cache['key'] : $this->getCacheKey($query, $data); - - return Container::get('cache')->get($key); - } - - /** - * 生成缓存标识 - * @access protected - * @param Query $query 查询对象 - * @param mixed $value 缓存数据 - * @return string - */ - protected function getCacheKey(Query $query, $value) - { - if (is_scalar($value)) { - $data = $value; - } elseif (is_array($value) && isset($value[1], $value[2]) && in_array($value[1], ['=', 'eq'], true) && is_scalar($value[2])) { - $data = $value[2]; - } - - $prefix = 'think:' . $this->getConfig('database') . '.'; - - if (isset($data)) { - return $prefix . $query->getTable() . '|' . $data; - } - - try { - return md5($prefix . serialize($query->getOptions()) . serialize($query->getBind(false))); - } catch (\Exception $e) { - throw new Exception('closure not support cache(true)'); - } - } - -} diff --git a/thinkphp/library/think/db/Expression.php b/thinkphp/library/think/db/Expression.php deleted file mode 100644 index f1b92abd..00000000 --- a/thinkphp/library/think/db/Expression.php +++ /dev/null @@ -1,48 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db; - -class Expression -{ - /** - * 查询表达式 - * - * @var string - */ - protected $value; - - /** - * 创建一个查询表达式 - * - * @param string $value - * @return void - */ - public function __construct($value) - { - $this->value = $value; - } - - /** - * 获取表达式 - * - * @return string - */ - public function getValue() - { - return $this->value; - } - - public function __toString() - { - return (string) $this->value; - } -} diff --git a/thinkphp/library/think/db/Query.php b/thinkphp/library/think/db/Query.php deleted file mode 100644 index ba082794..00000000 --- a/thinkphp/library/think/db/Query.php +++ /dev/null @@ -1,3766 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db; - -use PDO; -use think\Collection; -use think\Container; -use think\Db; -use think\db\exception\BindParamException; -use think\db\exception\DataNotFoundException; -use think\db\exception\ModelNotFoundException; -use think\Exception; -use think\exception\DbException; -use think\exception\PDOException; -use think\Loader; -use think\Model; -use think\model\Collection as ModelCollection; -use think\model\Relation; -use think\model\relation\OneToOne; -use think\Paginator; - -class Query -{ - /** - * 当前数据库连接对象 - * @var Connection - */ - protected $connection; - - /** - * 当前模型对象 - * @var Model - */ - protected $model; - - /** - * 当前数据表名称(不含前缀) - * @var string - */ - protected $name = ''; - - /** - * 当前数据表主键 - * @var string|array - */ - protected $pk; - - /** - * 当前数据表前缀 - * @var string - */ - protected $prefix = ''; - - /** - * 当前查询参数 - * @var array - */ - protected $options = []; - - /** - * 当前参数绑定 - * @var array - */ - protected $bind = []; - - /** - * 事件回调 - * @var array - */ - private static $event = []; - - /** - * 扩展查询方法 - * @var array - */ - private static $extend = []; - - /** - * 读取主库的表 - * @var array - */ - protected static $readMaster = []; - - /** - * 日期查询表达式 - * @var array - */ - protected $timeRule = [ - 'today' => ['today', 'tomorrow -1second'], - 'yesterday' => ['yesterday', 'today -1second'], - 'week' => ['this week 00:00:00', 'next week 00:00:00 -1second'], - 'last week' => ['last week 00:00:00', 'this week 00:00:00 -1second'], - 'month' => ['first Day of this month 00:00:00', 'first Day of next month 00:00:00 -1second'], - 'last month' => ['first Day of last month 00:00:00', 'first Day of this month 00:00:00 -1second'], - 'year' => ['this year 1/1', 'next year 1/1 -1second'], - 'last year' => ['last year 1/1', 'this year 1/1 -1second'], - ]; - - /** - * 日期查询快捷定义 - * @var array - */ - protected $timeExp = ['d' => 'today', 'w' => 'week', 'm' => 'month', 'y' => 'year']; - - /** - * 架构函数 - * @access public - */ - public function __construct(Connection $connection = null) - { - if (is_null($connection)) { - $this->connection = Db::connect(); - } else { - $this->connection = $connection; - } - - $this->prefix = $this->connection->getConfig('prefix'); - } - - /** - * 创建一个新的查询对象 - * @access public - * @return Query - */ - public function newQuery() - { - $query = new static($this->connection); - - if ($this->model) { - $query->model($this->model); - } - - if (isset($this->options['table'])) { - $query->table($this->options['table']); - } else { - $query->name($this->name); - } - - if (isset($this->options['json'])) { - $query->json($this->options['json'], $this->options['json_assoc']); - } - - if (isset($this->options['field_type'])) { - $query->setJsonFieldType($this->options['field_type']); - } - - return $query; - } - - /** - * 利用__call方法实现一些特殊的Model方法 - * @access public - * @param string $method 方法名称 - * @param array $args 调用参数 - * @return mixed - * @throws DbException - * @throws Exception - */ - public function __call($method, $args) - { - if (isset(self::$extend[strtolower($method)])) { - // 调用扩展查询方法 - array_unshift($args, $this); - - return Container::getInstance() - ->invoke(self::$extend[strtolower($method)], $args); - } elseif (strtolower(substr($method, 0, 5)) == 'getby') { - // 根据某个字段获取记录 - $field = Loader::parseName(substr($method, 5)); - return $this->where($field, '=', $args[0])->find(); - } elseif (strtolower(substr($method, 0, 10)) == 'getfieldby') { - // 根据某个字段获取记录的某个值 - $name = Loader::parseName(substr($method, 10)); - return $this->where($name, '=', $args[0])->value($args[1]); - } elseif (strtolower(substr($method, 0, 7)) == 'whereor') { - $name = Loader::parseName(substr($method, 7)); - array_unshift($args, $name); - return call_user_func_array([$this, 'whereOr'], $args); - } elseif (strtolower(substr($method, 0, 5)) == 'where') { - $name = Loader::parseName(substr($method, 5)); - array_unshift($args, $name); - return call_user_func_array([$this, 'where'], $args); - } elseif ($this->model && method_exists($this->model, 'scope' . $method)) { - // 动态调用命名范围 - $method = 'scope' . $method; - array_unshift($args, $this); - - call_user_func_array([$this->model, $method], $args); - return $this; - } else { - throw new Exception('method not exist:' . ($this->model ? get_class($this->model) : static::class) . '->' . $method); - } - } - - /** - * 扩展查询方法 - * @access public - * @param string|array $method 查询方法名 - * @param callable $callback - * @return void - */ - public static function extend($method, $callback = null) - { - if (is_array($method)) { - foreach ($method as $key => $val) { - self::$extend[strtolower($key)] = $val; - } - } else { - self::$extend[strtolower($method)] = $callback; - } - } - - /** - * 设置当前的数据库Connection对象 - * @access public - * @param Connection $connection - * @return $this - */ - public function setConnection(Connection $connection) - { - $this->connection = $connection; - $this->prefix = $this->connection->getConfig('prefix'); - - return $this; - } - - /** - * 获取当前的数据库Connection对象 - * @access public - * @return Connection - */ - public function getConnection() - { - return $this->connection; - } - - /** - * 指定模型 - * @access public - * @param Model $model 模型对象实例 - * @return $this - */ - public function model(Model $model) - { - $this->model = $model; - return $this; - } - - /** - * 获取当前的模型对象 - * @access public - * @return Model|null - */ - public function getModel() - { - return $this->model ? $this->model->setQuery($this) : null; - } - - /** - * 设置从主库读取数据 - * @access public - * @param bool $all 是否所有表有效 - * @return $this - */ - public function readMaster($all = false) - { - $table = $all ? '*' : $this->getTable(); - - static::$readMaster[$table] = true; - - return $this; - } - - /** - * 指定当前数据表名(不含前缀) - * @access public - * @param string $name - * @return $this - */ - public function name($name) - { - $this->name = $name; - return $this; - } - - /** - * 获取当前的数据表名称 - * @access public - * @return string - */ - public function getName() - { - return $this->name ?: $this->model->getName(); - } - - /** - * 得到当前或者指定名称的数据表 - * @access public - * @param string $name - * @return string - */ - public function getTable($name = '') - { - if (empty($name) && isset($this->options['table'])) { - return $this->options['table']; - } - - $name = $name ?: $this->name; - - return $this->prefix . Loader::parseName($name); - } - - /** - * 执行查询 返回数据集 - * @access public - * @param string $sql sql指令 - * @param array $bind 参数绑定 - * @param boolean $master 是否在主服务器读操作 - * @param bool $pdo 是否返回PDO对象 - * @return mixed - * @throws BindParamException - * @throws PDOException - */ - public function query($sql, $bind = [], $master = false, $pdo = false) - { - return $this->connection->query($sql, $bind, $master, $pdo); - } - - /** - * 执行语句 - * @access public - * @param string $sql sql指令 - * @param array $bind 参数绑定 - * @return int - * @throws BindParamException - * @throws PDOException - */ - public function execute($sql, $bind = []) - { - return $this->connection->execute($sql, $bind, $this); - } - - /** - * 监听SQL执行 - * @access public - * @param callable $callback 回调方法 - * @return void - */ - public function listen($callback) - { - $this->connection->listen($callback); - } - - /** - * 获取最近插入的ID - * @access public - * @param string $sequence 自增序列名 - * @return string - */ - public function getLastInsID($sequence = null) - { - return $this->connection->getLastInsID($sequence); - } - - /** - * 获取返回或者影响的记录数 - * @access public - * @return integer - */ - public function getNumRows() - { - return $this->connection->getNumRows(); - } - - /** - * 获取最近一次查询的sql语句 - * @access public - * @return string - */ - public function getLastSql() - { - return $this->connection->getLastSql(); - } - - /** - * 执行数据库Xa事务 - * @access public - * @param callable $callback 数据操作方法回调 - * @param array $dbs 多个查询对象或者连接对象 - * @return mixed - * @throws PDOException - * @throws \Exception - * @throws \Throwable - */ - public function transactionXa($callback, array $dbs = []) - { - $xid = uniqid('xa'); - - if (empty($dbs)) { - $dbs[] = $this->getConnection(); - } - - foreach ($dbs as $key => $db) { - if ($db instanceof Query) { - $db = $db->getConnection(); - - $dbs[$key] = $db; - } - - $db->startTransXa($xid); - } - - try { - $result = null; - if (is_callable($callback)) { - $result = call_user_func_array($callback, [$this]); - } - - foreach ($dbs as $db) { - $db->prepareXa($xid); - } - - foreach ($dbs as $db) { - $db->commitXa($xid); - } - - return $result; - } catch (\Exception $e) { - foreach ($dbs as $db) { - $db->rollbackXa($xid); - } - throw $e; - } catch (\Throwable $e) { - foreach ($dbs as $db) { - $db->rollbackXa($xid); - } - throw $e; - } - } - - /** - * 执行数据库事务 - * @access public - * @param callable $callback 数据操作方法回调 - * @return mixed - */ - public function transaction($callback) - { - return $this->connection->transaction($callback); - } - - /** - * 启动事务 - * @access public - * @return void - */ - public function startTrans() - { - $this->connection->startTrans(); - } - - /** - * 用于非自动提交状态下面的查询提交 - * @access public - * @return void - * @throws PDOException - */ - public function commit() - { - $this->connection->commit(); - } - - /** - * 事务回滚 - * @access public - * @return void - * @throws PDOException - */ - public function rollback() - { - $this->connection->rollback(); - } - - /** - * 批处理执行SQL语句 - * 批处理的指令都认为是execute操作 - * @access public - * @param array $sql SQL批处理指令 - * @return boolean - */ - public function batchQuery($sql = []) - { - return $this->connection->batchQuery($sql); - } - - /** - * 获取数据库的配置参数 - * @access public - * @param string $name 参数名称 - * @return mixed - */ - public function getConfig($name = '') - { - return $this->connection->getConfig($name); - } - - /** - * 获取数据表字段信息 - * @access public - * @param string $tableName 数据表名 - * @return array - */ - public function getTableFields($tableName = '') - { - if ('' == $tableName) { - $tableName = isset($this->options['table']) ? $this->options['table'] : $this->getTable(); - } - - return $this->connection->getTableFields($tableName); - } - - /** - * 获取数据表字段类型 - * @access public - * @param string $tableName 数据表名 - * @param string $field 字段名 - * @return array|string - */ - public function getFieldsType($tableName = '', $field = null) - { - if ('' == $tableName) { - $tableName = isset($this->options['table']) ? $this->options['table'] : $this->getTable(); - } - - return $this->connection->getFieldsType($tableName, $field); - } - - /** - * 得到分表的的数据表名 - * @access public - * @param array $data 操作的数据 - * @param string $field 分表依据的字段 - * @param array $rule 分表规则 - * @return array - */ - public function getPartitionTableName($data, $field, $rule = []) - { - // 对数据表进行分区 - if ($field && isset($data[$field])) { - $value = $data[$field]; - $type = $rule['type']; - switch ($type) { - case 'id': - // 按照id范围分表 - $step = $rule['expr']; - $seq = floor($value / $step) + 1; - break; - case 'year': - // 按照年份分表 - if (!is_numeric($value)) { - $value = strtotime($value); - } - $seq = date('Y', $value) - $rule['expr'] + 1; - break; - case 'mod': - // 按照id的模数分表 - $seq = ($value % $rule['num']) + 1; - break; - case 'md5': - // 按照md5的序列分表 - $seq = (ord(substr(md5($value), 0, 1)) % $rule['num']) + 1; - break; - default: - if (function_exists($type)) { - // 支持指定函数哈希 - $value = $type($value); - } - - $seq = (ord(substr($value, 0, 1)) % $rule['num']) + 1; - } - - return $this->getTable() . '_' . $seq; - } - // 当设置的分表字段不在查询条件或者数据中 - // 进行联合查询,必须设定 partition['num'] - $tableName = []; - for ($i = 0; $i < $rule['num']; $i++) { - $tableName[] = 'SELECT * FROM ' . $this->getTable() . '_' . ($i + 1); - } - - return ['( ' . implode(" UNION ", $tableName) . ' )' => $this->name]; - } - - /** - * 得到某个字段的值 - * @access public - * @param string $field 字段名 - * @param mixed $default 默认值 - * @return mixed - */ - public function value($field, $default = null) - { - $this->parseOptions(); - - return $this->connection->value($this, $field, $default); - } - - /** - * 得到某个列的数组 - * @access public - * @param string $field 字段名 多个字段用逗号分隔 - * @param string $key 索引 - * @return array - */ - public function column($field, $key = '') - { - $this->parseOptions(); - - return $this->connection->column($this, $field, $key); - } - - /** - * 聚合查询 - * @access public - * @param string $aggregate 聚合方法 - * @param string|Expression $field 字段名 - * @param bool $force 强制转为数字类型 - * @return mixed - */ - public function aggregate($aggregate, $field, $force = false) - { - $this->parseOptions(); - - $result = $this->connection->aggregate($this, $aggregate, $field); - - if (!empty($this->options['fetch_sql'])) { - return $result; - } elseif ($force) { - $result = (float) $result; - } - - return $result; - } - - /** - * COUNT查询 - * @access public - * @param string|Expression $field 字段名 - * @return float|string - */ - public function count($field = '*') - { - if (!empty($this->options['group'])) { - // 支持GROUP - $options = $this->getOptions(); - $subSql = $this->options($options) - ->field('count(' . $field . ') AS think_count') - ->bind($this->bind) - ->buildSql(); - - $query = $this->newQuery()->table([$subSql => '_group_count_']); - - if (!empty($options['fetch_sql'])) { - $query->fetchSql(true); - } - - $count = $query->aggregate('COUNT', '*', true); - } else { - $count = $this->aggregate('COUNT', $field, true); - } - - return is_string($count) ? $count : (int) $count; - } - - /** - * SUM查询 - * @access public - * @param string|Expression $field 字段名 - * @return float - */ - public function sum($field) - { - return $this->aggregate('SUM', $field, true); - } - - /** - * MIN查询 - * @access public - * @param string|Expression $field 字段名 - * @param bool $force 强制转为数字类型 - * @return mixed - */ - public function min($field, $force = true) - { - return $this->aggregate('MIN', $field, $force); - } - - /** - * MAX查询 - * @access public - * @param string|Expression $field 字段名 - * @param bool $force 强制转为数字类型 - * @return mixed - */ - public function max($field, $force = true) - { - return $this->aggregate('MAX', $field, $force); - } - - /** - * AVG查询 - * @access public - * @param string|Expression $field 字段名 - * @return float - */ - public function avg($field) - { - return $this->aggregate('AVG', $field, true); - } - - /** - * 设置记录的某个字段值 - * 支持使用数据库字段和方法 - * @access public - * @param string|array $field 字段名 - * @param mixed $value 字段值 - * @return integer - */ - public function setField($field, $value = '') - { - if (is_array($field)) { - $data = $field; - } else { - $data[$field] = $value; - } - - return $this->update($data); - } - - /** - * 字段值(延迟)增长 - * @access public - * @param string $field 字段名 - * @param integer $step 增长值 - * @param integer $lazyTime 延时时间(s) - * @return integer|true - * @throws Exception - */ - public function setInc($field, $step = 1, $lazyTime = 0) - { - $condition = !empty($this->options['where']) ? $this->options['where'] : []; - - if (empty($condition)) { - // 没有条件不做任何更新 - throw new Exception('no data to update'); - } - - if ($lazyTime > 0) { - // 延迟写入 - $guid = md5($this->getTable() . '_' . $field . '_' . serialize($condition)); - $step = $this->lazyWrite('inc', $guid, $step, $lazyTime); - - if (false === $step) { - // 清空查询条件 - $this->options = []; - return true; - } - } - - return $this->setField($field, ['INC', $step]); - } - - /** - * 字段值(延迟)减少 - * @access public - * @param string $field 字段名 - * @param integer $step 减少值 - * @param integer $lazyTime 延时时间(s) - * @return integer|true - * @throws Exception - */ - public function setDec($field, $step = 1, $lazyTime = 0) - { - $condition = !empty($this->options['where']) ? $this->options['where'] : []; - - if (empty($condition)) { - // 没有条件不做任何更新 - throw new Exception('no data to update'); - } - - if ($lazyTime > 0) { - // 延迟写入 - $guid = md5($this->getTable() . '_' . $field . '_' . serialize($condition)); - $step = $this->lazyWrite('dec', $guid, $step, $lazyTime); - - if (false === $step) { - // 清空查询条件 - $this->options = []; - return true; - } - - $value = ['INC', $step]; - } else { - $value = ['DEC', $step]; - } - - return $this->setField($field, $value); - } - - /** - * 延时更新检查 返回false表示需要延时 - * 否则返回实际写入的数值 - * @access protected - * @param string $type 自增或者自减 - * @param string $guid 写入标识 - * @param integer $step 写入步进值 - * @param integer $lazyTime 延时时间(s) - * @return false|integer - */ - protected function lazyWrite($type, $guid, $step, $lazyTime) - { - $cache = Container::get('cache'); - - if (!$cache->has($guid . '_time')) { - // 计时开始 - $cache->set($guid . '_time', time(), 0); - $cache->$type($guid, $step); - } elseif (time() > $cache->get($guid . '_time') + $lazyTime) { - // 删除缓存 - $value = $cache->$type($guid, $step); - $cache->rm($guid); - $cache->rm($guid . '_time'); - return 0 === $value ? false : $value; - } else { - // 更新缓存 - $cache->$type($guid, $step); - } - - return false; - } - - /** - * 查询SQL组装 join - * @access public - * @param mixed $join 关联的表名 - * @param mixed $condition 条件 - * @param string $type JOIN类型 - * @param array $bind 参数绑定 - * @return $this - */ - public function join($join, $condition = null, $type = 'INNER', $bind = []) - { - if (empty($condition)) { - // 如果为组数,则循环调用join - foreach ($join as $key => $value) { - if (is_array($value) && 2 <= count($value)) { - $this->join($value[0], $value[1], isset($value[2]) ? $value[2] : $type); - } - } - } else { - $table = $this->getJoinTable($join); - if ($bind) { - $this->bindParams($condition, $bind); - } - $this->options['join'][] = [$table, strtoupper($type), $condition]; - } - - return $this; - } - - /** - * LEFT JOIN - * @access public - * @param mixed $join 关联的表名 - * @param mixed $condition 条件 - * @param array $bind 参数绑定 - * @return $this - */ - public function leftJoin($join, $condition = null, $bind = []) - { - return $this->join($join, $condition, 'LEFT'); - } - - /** - * RIGHT JOIN - * @access public - * @param mixed $join 关联的表名 - * @param mixed $condition 条件 - * @param array $bind 参数绑定 - * @return $this - */ - public function rightJoin($join, $condition = null, $bind = []) - { - return $this->join($join, $condition, 'RIGHT'); - } - - /** - * FULL JOIN - * @access public - * @param mixed $join 关联的表名 - * @param mixed $condition 条件 - * @param array $bind 参数绑定 - * @return $this - */ - public function fullJoin($join, $condition = null, $bind = []) - { - return $this->join($join, $condition, 'FULL'); - } - - /** - * 获取Join表名及别名 支持 - * ['prefix_table或者子查询'=>'alias'] 'table alias' - * @access protected - * @param array|string $join - * @param string $alias - * @return string - */ - protected function getJoinTable($join, &$alias = null) - { - if (is_array($join)) { - $table = $join; - $alias = array_shift($join); - } else { - $join = trim($join); - - if (false !== strpos($join, '(')) { - // 使用子查询 - $table = $join; - } else { - $prefix = $this->prefix; - if (strpos($join, ' ')) { - // 使用别名 - list($table, $alias) = explode(' ', $join); - } else { - $table = $join; - if (false === strpos($join, '.') && 0 !== strpos($join, '__')) { - $alias = $join; - } - } - - if ($prefix && false === strpos($table, '.') && 0 !== strpos($table, $prefix) && 0 !== strpos($table, '__')) { - $table = $this->getTable($table); - } - } - - if (isset($alias) && $table != $alias) { - $table = [$table => $alias]; - } - } - - return $table; - } - - /** - * 查询SQL组装 union - * @access public - * @param mixed $union - * @param boolean $all - * @return $this - */ - public function union($union, $all = false) - { - if (empty($union)) { - return $this; - } - - $this->options['union']['type'] = $all ? 'UNION ALL' : 'UNION'; - - if (is_array($union)) { - $this->options['union'] = array_merge($this->options['union'], $union); - } else { - $this->options['union'][] = $union; - } - - return $this; - } - - /** - * 查询SQL组装 union all - * @access public - * @param mixed $union - * @return $this - */ - public function unionAll($union) - { - return $this->union($union, true); - } - - /** - * 指定查询字段 支持字段排除和指定数据表 - * @access public - * @param mixed $field - * @param boolean $except 是否排除 - * @param string $tableName 数据表名 - * @param string $prefix 字段前缀 - * @param string $alias 别名前缀 - * @return $this - */ - public function field($field, $except = false, $tableName = '', $prefix = '', $alias = '') - { - if (empty($field)) { - return $this; - } elseif ($field instanceof Expression) { - $this->options['field'][] = $field; - return $this; - } - - if (is_string($field)) { - if (preg_match('/[\<\'\"\(]/', $field)) { - return $this->fieldRaw($field); - } - - $field = array_map('trim', explode(',', $field)); - } - - if (true === $field) { - // 获取全部字段 - $fields = $this->getTableFields($tableName); - $field = $fields ?: ['*']; - } elseif ($except) { - // 字段排除 - $fields = $this->getTableFields($tableName); - $field = $fields ? array_diff($fields, $field) : $field; - } - - if ($tableName) { - // 添加统一的前缀 - $prefix = $prefix ?: $tableName; - foreach ($field as $key => &$val) { - if (is_numeric($key) && $alias) { - $field[$prefix . '.' . $val] = $alias . $val; - unset($field[$key]); - } elseif (is_numeric($key)) { - $val = $prefix . '.' . $val; - } - } - } - - if (isset($this->options['field'])) { - $field = array_merge((array) $this->options['field'], $field); - } - - $this->options['field'] = array_unique($field); - - return $this; - } - - /** - * 表达式方式指定查询字段 - * @access public - * @param string $field 字段名 - * @return $this - */ - public function fieldRaw($field) - { - $this->options['field'][] = $this->raw($field); - - return $this; - } - - /** - * 设置数据 - * @access public - * @param mixed $field 字段名或者数据 - * @param mixed $value 字段值 - * @return $this - */ - public function data($field, $value = null) - { - if (is_array($field)) { - $this->options['data'] = isset($this->options['data']) ? array_merge($this->options['data'], $field) : $field; - } else { - $this->options['data'][$field] = $value; - } - - return $this; - } - - /** - * 字段值增长 - * @access public - * @param string|array $field 字段名 - * @param integer $step 增长值 - * @return $this - */ - public function inc($field, $step = 1, $op = 'INC') - { - $fields = is_string($field) ? explode(',', $field) : $field; - - foreach ($fields as $field => $val) { - if (is_numeric($field)) { - $field = $val; - } else { - $step = $val; - } - - $this->data($field, [$op, $step]); - } - - return $this; - } - - /** - * 字段值减少 - * @access public - * @param string|array $field 字段名 - * @param integer $step 增长值 - * @return $this - */ - public function dec($field, $step = 1) - { - return $this->inc($field, $step, 'DEC'); - } - - /** - * 使用表达式设置数据 - * @access public - * @param string $field 字段名 - * @param string $value 字段值 - * @return $this - */ - public function exp($field, $value) - { - $this->data($field, $this->raw($value)); - return $this; - } - - /** - * 使用表达式设置数据 - * @access public - * @param mixed $value 表达式 - * @return Expression - */ - public function raw($value) - { - return new Expression($value); - } - - /** - * 指定JOIN查询字段 - * @access public - * @param string|array $table 数据表 - * @param string|array $field 查询字段 - * @param mixed $on JOIN条件 - * @param string $type JOIN类型 - * @return $this - */ - public function view($join, $field = true, $on = null, $type = 'INNER') - { - $this->options['view'] = true; - - if (is_array($join) && key($join) === 0) { - foreach ($join as $key => $val) { - $this->view($val[0], $val[1], isset($val[2]) ? $val[2] : null, isset($val[3]) ? $val[3] : 'INNER'); - } - } else { - $fields = []; - $table = $this->getJoinTable($join, $alias); - - if (true === $field) { - $fields = $alias . '.*'; - } else { - if (is_string($field)) { - $field = explode(',', $field); - } - - foreach ($field as $key => $val) { - if (is_numeric($key)) { - $fields[] = $alias . '.' . $val; - - $this->options['map'][$val] = $alias . '.' . $val; - } else { - if (preg_match('/[,=\.\'\"\(\s]/', $key)) { - $name = $key; - } else { - $name = $alias . '.' . $key; - } - - $fields[] = $name . ' AS ' . $val; - - $this->options['map'][$val] = $name; - } - } - } - - $this->field($fields); - - if ($on) { - $this->join($table, $on, $type); - } else { - $this->table($table); - } - } - - return $this; - } - - /** - * 设置分表规则 - * @access public - * @param array $data 操作的数据 - * @param string $field 分表依据的字段 - * @param array $rule 分表规则 - * @return $this - */ - public function partition($data, $field, $rule = []) - { - $this->options['table'] = $this->getPartitionTableName($data, $field, $rule); - - return $this; - } - - /** - * 指定AND查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $op 查询表达式 - * @param mixed $condition 查询条件 - * @return $this - */ - public function where($field, $op = null, $condition = null) - { - $param = func_get_args(); - array_shift($param); - return $this->parseWhereExp('AND', $field, $op, $condition, $param); - } - - /** - * 指定OR查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $op 查询表达式 - * @param mixed $condition 查询条件 - * @return $this - */ - public function whereOr($field, $op = null, $condition = null) - { - $param = func_get_args(); - array_shift($param); - return $this->parseWhereExp('OR', $field, $op, $condition, $param); - } - - /** - * 指定XOR查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $op 查询表达式 - * @param mixed $condition 查询条件 - * @return $this - */ - public function whereXor($field, $op = null, $condition = null) - { - $param = func_get_args(); - array_shift($param); - return $this->parseWhereExp('XOR', $field, $op, $condition, $param); - } - - /** - * 指定Null查询条件 - * @access public - * @param mixed $field 查询字段 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereNull($field, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'NULL', null, [], true); - } - - /** - * 指定NotNull查询条件 - * @access public - * @param mixed $field 查询字段 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereNotNull($field, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'NOTNULL', null, [], true); - } - - /** - * 指定Exists查询条件 - * @access public - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereExists($condition, $logic = 'AND') - { - if (is_string($condition)) { - $condition = $this->raw($condition); - } - - $this->options['where'][strtoupper($logic)][] = ['', 'EXISTS', $condition]; - return $this; - } - - /** - * 指定NotExists查询条件 - * @access public - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereNotExists($condition, $logic = 'AND') - { - if (is_string($condition)) { - $condition = $this->raw($condition); - } - - $this->options['where'][strtoupper($logic)][] = ['', 'NOT EXISTS', $condition]; - return $this; - } - - /** - * 指定In查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereIn($field, $condition, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'IN', $condition, [], true); - } - - /** - * 指定NotIn查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereNotIn($field, $condition, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'NOT IN', $condition, [], true); - } - - /** - * 指定Like查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereLike($field, $condition, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'LIKE', $condition, [], true); - } - - /** - * 指定NotLike查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereNotLike($field, $condition, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'NOT LIKE', $condition, [], true); - } - - /** - * 指定Between查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereBetween($field, $condition, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'BETWEEN', $condition, [], true); - } - - /** - * 指定NotBetween查询条件 - * @access public - * @param mixed $field 查询字段 - * @param mixed $condition 查询条件 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereNotBetween($field, $condition, $logic = 'AND') - { - return $this->parseWhereExp($logic, $field, 'NOT BETWEEN', $condition, [], true); - } - - /** - * 比较两个字段 - * @access public - * @param string|array $field1 查询字段 - * @param string $operator 比较操作符 - * @param string $field2 比较字段 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereColumn($field1, $operator = null, $field2 = null, $logic = 'AND') - { - if (is_array($field1)) { - foreach ($field1 as $item) { - $this->whereColumn($item[0], $item[1], isset($item[2]) ? $item[2] : null); - } - return $this; - } - - if (is_null($field2)) { - $field2 = $operator; - $operator = '='; - } - - return $this->parseWhereExp($logic, $field1, 'COLUMN', [$operator, $field2], [], true); - } - - /** - * 设置软删除字段及条件 - * @access public - * @param false|string $field 查询字段 - * @param mixed $condition 查询条件 - * @return $this - */ - public function useSoftDelete($field, $condition = null) - { - if ($field) { - $this->options['soft_delete'] = [$field, $condition]; - } - - return $this; - } - - /** - * 指定Exp查询条件 - * @access public - * @param mixed $field 查询字段 - * @param string $where 查询条件 - * @param array $bind 参数绑定 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereExp($field, $where, $bind = [], $logic = 'AND') - { - if ($bind) { - $this->bindParams($where, $bind); - } - - $this->options['where'][$logic][] = [$field, 'EXP', $this->raw($where)]; - - return $this; - } - - /** - * 指定表达式查询条件 - * @access public - * @param string $where 查询条件 - * @param array $bind 参数绑定 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function whereRaw($where, $bind = [], $logic = 'AND') - { - if ($bind) { - $this->bindParams($where, $bind); - } - - $this->options['where'][$logic][] = $this->raw($where); - - return $this; - } - - /** - * 参数绑定 - * @access public - * @param string $sql 绑定的sql表达式 - * @param array $bind 参数绑定 - * @return void - */ - protected function bindParams(&$sql, array $bind = []) - { - foreach ($bind as $key => $value) { - if (is_array($value)) { - $name = $this->bind($value[0], $value[1], isset($value[2]) ? $value[2] : null); - } else { - $name = $this->bind($value); - } - - if (is_numeric($key)) { - $sql = substr_replace($sql, ':' . $name, strpos($sql, '?'), 1); - } else { - $sql = str_replace(':' . $key, ':' . $name, $sql); - } - } - } - - /** - * 指定表达式查询条件 OR - * @access public - * @param string $where 查询条件 - * @param array $bind 参数绑定 - * @return $this - */ - public function whereOrRaw($where, $bind = []) - { - return $this->whereRaw($where, $bind, 'OR'); - } - - /** - * 分析查询表达式 - * @access protected - * @param string $logic 查询逻辑 and or xor - * @param mixed $field 查询字段 - * @param mixed $op 查询表达式 - * @param mixed $condition 查询条件 - * @param array $param 查询参数 - * @param bool $strict 严格模式 - * @return $this - */ - protected function parseWhereExp($logic, $field, $op, $condition, array $param = [], $strict = false) - { - if ($field instanceof $this) { - $this->options['where'] = $field->getOptions('where'); - $this->bind($field->getBind(false)); - return $this; - } - - $logic = strtoupper($logic); - - if ($field instanceof Where) { - $this->options['where'][$logic] = $field->parse(); - return $this; - } - - if (is_string($field) && !empty($this->options['via']) && false === strpos($field, '.')) { - $field = $this->options['via'] . '.' . $field; - } - - if ($field instanceof Expression) { - return $this->whereRaw($field, is_array($op) ? $op : [], $logic); - } elseif ($strict) { - // 使用严格模式查询 - $where = [$field, $op, $condition, $logic]; - } elseif (is_array($field)) { - // 解析数组批量查询 - return $this->parseArrayWhereItems($field, $logic); - } elseif ($field instanceof \Closure) { - $where = $field; - } elseif (is_string($field)) { - if (preg_match('/[,=\<\'\"\(\s]/', $field)) { - return $this->whereRaw($field, $op, $logic); - } elseif (is_string($op) && strtolower($op) == 'exp') { - $bind = isset($param[2]) && is_array($param[2]) ? $param[2] : null; - return $this->whereExp($field, $condition, $bind, $logic); - } - - $where = $this->parseWhereItem($logic, $field, $op, $condition, $param); - } - - if (!empty($where)) { - $this->options['where'][$logic][] = $where; - } - - return $this; - } - - /** - * 分析查询表达式 - * @access protected - * @param string $logic 查询逻辑 and or xor - * @param mixed $field 查询字段 - * @param mixed $op 查询表达式 - * @param mixed $condition 查询条件 - * @param array $param 查询参数 - * @return mixed - */ - protected function parseWhereItem($logic, $field, $op, $condition, $param = []) - { - if (is_array($op)) { - // 同一字段多条件查询 - array_unshift($param, $field); - $where = $param; - } elseif ($field && is_null($condition)) { - if (in_array(strtoupper($op), ['NULL', 'NOTNULL', 'NOT NULL'], true)) { - // null查询 - $where = [$field, $op, '']; - } elseif (in_array($op, ['=', 'eq', 'EQ', null], true)) { - $where = [$field, 'NULL', '']; - } elseif (in_array($op, ['<>', 'neq', 'NEQ'], true)) { - $where = [$field, 'NOTNULL', '']; - } else { - // 字段相等查询 - $where = [$field, '=', $op]; - } - } elseif (in_array(strtoupper($op), ['EXISTS', 'NOT EXISTS', 'NOTEXISTS'], true)) { - $where = [$field, $op, is_string($condition) ? $this->raw($condition) : $condition]; - } else { - $where = $field ? [$field, $op, $condition, isset($param[2]) ? $param[2] : null] : null; - } - - return $where; - } - - /** - * 数组批量查询 - * @access protected - * @param array $field 批量查询 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - protected function parseArrayWhereItems($field, $logic) - { - if (key($field) !== 0) { - $where = []; - foreach ($field as $key => $val) { - if ($val instanceof Expression) { - $where[] = [$key, 'exp', $val]; - } elseif (is_null($val)) { - $where[] = [$key, 'NULL', '']; - } else { - $where[] = [$key, is_array($val) ? 'IN' : '=', $val]; - } - } - } else { - // 数组批量查询 - $where = $field; - } - - if (!empty($where)) { - $this->options['where'][$logic] = isset($this->options['where'][$logic]) ? array_merge($this->options['where'][$logic], $where) : $where; - } - - return $this; - } - - /** - * 去除某个查询条件 - * @access public - * @param string $field 查询字段 - * @param string $logic 查询逻辑 and or xor - * @return $this - */ - public function removeWhereField($field, $logic = 'AND') - { - $logic = strtoupper($logic); - - if (isset($this->options['where'][$logic])) { - foreach ($this->options['where'][$logic] as $key => $val) { - if (is_array($val) && $val[0] == $field) { - unset($this->options['where'][$logic][$key]); - } - } - } - - return $this; - } - - /** - * 去除查询参数 - * @access public - * @param string|bool $option 参数名 true 表示去除所有参数 - * @return $this - */ - public function removeOption($option = true) - { - if (true === $option) { - $this->options = []; - $this->bind = []; - } elseif (is_string($option) && isset($this->options[$option])) { - unset($this->options[$option]); - } - - return $this; - } - - /** - * 条件查询 - * @access public - * @param mixed $condition 满足条件(支持闭包) - * @param \Closure|array $query 满足条件后执行的查询表达式(闭包或数组) - * @param \Closure|array $otherwise 不满足条件后执行 - * @return $this - */ - public function when($condition, $query, $otherwise = null) - { - if ($condition instanceof \Closure) { - $condition = $condition($this); - } - - if ($condition) { - if ($query instanceof \Closure) { - $query($this, $condition); - } elseif (is_array($query)) { - $this->where($query); - } - } elseif ($otherwise) { - if ($otherwise instanceof \Closure) { - $otherwise($this, $condition); - } elseif (is_array($otherwise)) { - $this->where($otherwise); - } - } - - return $this; - } - - /** - * 指定查询数量 - * @access public - * @param mixed $offset 起始位置 - * @param mixed $length 查询数量 - * @return $this - */ - public function limit($offset, $length = null) - { - if (is_null($length) && strpos($offset, ',')) { - list($offset, $length) = explode(',', $offset); - } - - $this->options['limit'] = intval($offset) . ($length ? ',' . intval($length) : ''); - - return $this; - } - - /** - * 指定分页 - * @access public - * @param mixed $page 页数 - * @param mixed $listRows 每页数量 - * @return $this - */ - public function page($page, $listRows = null) - { - if (is_null($listRows) && strpos($page, ',')) { - list($page, $listRows) = explode(',', $page); - } - - $this->options['page'] = [intval($page), intval($listRows)]; - - return $this; - } - - /** - * 分页查询 - * @access public - * @param int|array $listRows 每页数量 数组表示配置参数 - * @param int|bool $simple 是否简洁模式或者总记录数 - * @param array $config 配置参数 - * page:当前页, - * path:url路径, - * query:url额外参数, - * fragment:url锚点, - * var_page:分页变量, - * list_rows:每页数量 - * type:分页类名 - * @return $this[]|\think\Paginator - * @throws DbException - */ - public function paginate($listRows = null, $simple = false, $config = []) - { - if (is_int($simple)) { - $total = $simple; - $simple = false; - } - - $paginate = Container::get('config')->pull('paginate'); - - if (is_array($listRows)) { - $config = array_merge($paginate, $listRows); - $listRows = $config['list_rows']; - } else { - $config = array_merge($paginate, $config); - $listRows = $listRows ?: $config['list_rows']; - } - - /** @var Paginator $class */ - $class = false !== strpos($config['type'], '\\') ? $config['type'] : '\\think\\paginator\\driver\\' . ucwords($config['type']); - $page = isset($config['page']) ? (int) $config['page'] : call_user_func([ - $class, - 'getCurrentPage', - ], $config['var_page']); - - $page = $page < 1 ? 1 : $page; - - $config['path'] = isset($config['path']) ? $config['path'] : call_user_func([$class, 'getCurrentPath']); - - if (!isset($total) && !$simple) { - $options = $this->getOptions(); - - unset($this->options['order'], $this->options['limit'], $this->options['page'], $this->options['field']); - - $bind = $this->bind; - $total = $this->count(); - $results = $this->options($options)->bind($bind)->page($page, $listRows)->select(); - } elseif ($simple) { - $results = $this->limit(($page - 1) * $listRows, $listRows + 1)->select(); - $total = null; - } else { - $results = $this->page($page, $listRows)->select(); - } - - $this->removeOption('limit'); - $this->removeOption('page'); - - return $class::make($results, $listRows, $page, $total, $simple, $config); - } - - /** - * 指定当前操作的数据表 - * @access public - * @param mixed $table 表名 - * @return $this - */ - public function table($table) - { - if (is_string($table)) { - if (strpos($table, ')')) { - // 子查询 - } elseif (strpos($table, ',')) { - $tables = explode(',', $table); - $table = []; - - foreach ($tables as $item) { - list($item, $alias) = explode(' ', trim($item)); - if ($alias) { - $this->alias([$item => $alias]); - $table[$item] = $alias; - } else { - $table[] = $item; - } - } - } elseif (strpos($table, ' ')) { - list($table, $alias) = explode(' ', $table); - - $table = [$table => $alias]; - $this->alias($table); - } - } else { - $tables = $table; - $table = []; - - foreach ($tables as $key => $val) { - if (is_numeric($key)) { - $table[] = $val; - } else { - $this->alias([$key => $val]); - $table[$key] = $val; - } - } - } - - $this->options['table'] = $table; - - return $this; - } - - /** - * USING支持 用于多表删除 - * @access public - * @param mixed $using - * @return $this - */ - public function using($using) - { - $this->options['using'] = $using; - return $this; - } - - /** - * 指定排序 order('id','desc') 或者 order(['id'=>'desc','create_time'=>'desc']) - * @access public - * @param string|array $field 排序字段 - * @param string $order 排序 - * @return $this - */ - public function order($field, $order = null) - { - if (empty($field)) { - return $this; - } elseif ($field instanceof Expression) { - $this->options['order'][] = $field; - return $this; - } - - if (is_string($field)) { - if (!empty($this->options['via'])) { - $field = $this->options['via'] . '.' . $field; - } - - if (strpos($field, ',')) { - $field = array_map('trim', explode(',', $field)); - } else { - $field = empty($order) ? $field : [$field => $order]; - } - } elseif (!empty($this->options['via'])) { - foreach ($field as $key => $val) { - if (is_numeric($key)) { - $field[$key] = $this->options['via'] . '.' . $val; - } else { - $field[$this->options['via'] . '.' . $key] = $val; - unset($field[$key]); - } - } - } - - if (!isset($this->options['order'])) { - $this->options['order'] = []; - } - - if (is_array($field)) { - $this->options['order'] = array_merge($this->options['order'], $field); - } else { - $this->options['order'][] = $field; - } - - return $this; - } - - /** - * 表达式方式指定Field排序 - * @access public - * @param string $field 排序字段 - * @param array $bind 参数绑定 - * @return $this - */ - public function orderRaw($field, $bind = []) - { - if ($bind) { - $this->bindParams($field, $bind); - } - - $this->options['order'][] = $this->raw($field); - - return $this; - } - - /** - * 指定Field排序 order('id',[1,2,3],'desc') - * @access public - * @param string|array $field 排序字段 - * @param array $values 排序值 - * @param string $order - * @return $this - */ - public function orderField($field, array $values, $order = '') - { - if (!empty($values)) { - $values['sort'] = $order; - - $this->options['order'][$field] = $values; - } - - return $this; - } - - /** - * 随机排序 - * @access public - * @return $this - */ - public function orderRand() - { - $this->options['order'][] = '[rand]'; - return $this; - } - - /** - * 查询缓存 - * @access public - * @param mixed $key 缓存key - * @param integer|\DateTime $expire 缓存有效期 - * @param string $tag 缓存标签 - * @return $this - */ - public function cache($key = true, $expire = null, $tag = null) - { - // 增加快捷调用方式 cache(10) 等同于 cache(true, 10) - if ($key instanceof \DateTime || (is_numeric($key) && is_null($expire))) { - $expire = $key; - $key = true; - } - - if (false !== $key) { - $this->options['cache'] = ['key' => $key, 'expire' => $expire, 'tag' => $tag]; - } - - return $this; - } - - /** - * 指定group查询 - * @access public - * @param string|array $group GROUP - * @return $this - */ - public function group($group) - { - $this->options['group'] = $group; - return $this; - } - - /** - * 指定having查询 - * @access public - * @param string $having having - * @return $this - */ - public function having($having) - { - $this->options['having'] = $having; - return $this; - } - - /** - * 指定查询lock - * @access public - * @param bool|string $lock 是否lock - * @return $this - */ - public function lock($lock = false) - { - $this->options['lock'] = $lock; - $this->options['master'] = true; - - return $this; - } - - /** - * 指定distinct查询 - * @access public - * @param string $distinct 是否唯一 - * @return $this - */ - public function distinct($distinct) - { - $this->options['distinct'] = $distinct; - return $this; - } - - /** - * 指定数据表别名 - * @access public - * @param array|string $alias 数据表别名 - * @return $this - */ - public function alias($alias) - { - if (is_array($alias)) { - foreach ($alias as $key => $val) { - if (false !== strpos($key, '__')) { - $table = $this->connection->parseSqlTable($key); - } else { - $table = $key; - } - $this->options['alias'][$table] = $val; - } - } else { - if (isset($this->options['table'])) { - $table = is_array($this->options['table']) ? key($this->options['table']) : $this->options['table']; - if (false !== strpos($table, '__')) { - $table = $this->connection->parseSqlTable($table); - } - } else { - $table = $this->getTable(); - } - - $this->options['alias'][$table] = $alias; - } - - return $this; - } - - /** - * 指定强制索引 - * @access public - * @param string $force 索引名称 - * @return $this - */ - public function force($force) - { - $this->options['force'] = $force; - return $this; - } - - /** - * 查询注释 - * @access public - * @param string $comment 注释 - * @return $this - */ - public function comment($comment) - { - $this->options['comment'] = $comment; - return $this; - } - - /** - * 获取执行的SQL语句 - * @access public - * @param boolean $fetch 是否返回sql - * @return $this - */ - public function fetchSql($fetch = true) - { - $this->options['fetch_sql'] = $fetch; - return $this; - } - - /** - * 不主动获取数据集 - * @access public - * @param bool $pdo 是否返回 PDOStatement 对象 - * @return $this - */ - public function fetchPdo($pdo = true) - { - $this->options['fetch_pdo'] = $pdo; - return $this; - } - - /** - * 设置是否返回数据集对象(支持设置数据集对象类名) - * @access public - * @param bool|string $collection 是否返回数据集对象 - * @return $this - */ - public function fetchCollection($collection = true) - { - $this->options['collection'] = $collection; - - return $this; - } - - /** - * 设置从主服务器读取数据 - * @access public - * @return $this - */ - public function master() - { - $this->options['master'] = true; - return $this; - } - - /** - * 设置是否严格检查字段名 - * @access public - * @param bool $strict 是否严格检查字段 - * @return $this - */ - public function strict($strict = true) - { - $this->options['strict'] = $strict; - return $this; - } - - /** - * 设置查询数据不存在是否抛出异常 - * @access public - * @param bool $fail 数据不存在是否抛出异常 - * @return $this - */ - public function failException($fail = true) - { - $this->options['fail'] = $fail; - return $this; - } - - /** - * 设置自增序列名 - * @access public - * @param string $sequence 自增序列名 - * @return $this - */ - public function sequence($sequence = null) - { - $this->options['sequence'] = $sequence; - return $this; - } - - /** - * 设置需要隐藏的输出属性 - * @access public - * @param mixed $hidden 需要隐藏的字段名 - * @return $this - */ - public function hidden($hidden) - { - if ($this->model) { - $this->options['hidden'] = $hidden; - return $this; - } - - return $this->field($hidden, true); - } - - /** - * 设置需要输出的属性 - * @access public - * @param array $visible 需要输出的属性 - * @return $this - */ - public function visible(array $visible) - { - $this->options['visible'] = $visible; - return $this; - } - - /** - * 设置需要附加的输出属性 - * @access public - * @param array $append 属性列表 - * @return $this - */ - public function append(array $append = []) - { - $this->options['append'] = $append; - return $this; - } - - /** - * 设置数据字段获取器 - * @access public - * @param string|array $name 字段名 - * @param callable $callback 闭包获取器 - * @return $this - */ - public function withAttr($name, $callback = null) - { - if (is_array($name)) { - $this->options['with_attr'] = $name; - } else { - $this->options['with_attr'][$name] = $callback; - } - - return $this; - } - - /** - * 设置JSON字段信息 - * @access public - * @param array $json JSON字段 - * @param bool $assoc 是否取出数组 - * @return $this - */ - public function json(array $json = [], $assoc = false) - { - $this->options['json'] = $json; - $this->options['json_assoc'] = $assoc; - return $this; - } - - /** - * 设置字段类型信息 - * @access public - * @param array $type 字段类型信息 - * @return $this - */ - public function setJsonFieldType(array $type) - { - $this->options['field_type'] = $type; - return $this; - } - - /** - * 获取字段类型信息 - * @access public - * @param string $field 字段名 - * @return string|null - */ - public function getJsonFieldType($field) - { - return isset($this->options['field_type'][$field]) ? $this->options['field_type'][$field] : null; - } - - /** - * 是否允许返回空数据(或空模型) - * @access public - * @param bool $allowEmpty 是否允许为空 - * @return $this - */ - public function allowEmpty($allowEmpty = true) - { - $this->options['allow_empty'] = $allowEmpty; - return $this; - } - - /** - * 添加查询范围 - * @access public - * @param array|string|\Closure $scope 查询范围定义 - * @param array $args 参数 - * @return $this - */ - public function scope($scope, ...$args) - { - // 查询范围的第一个参数始终是当前查询对象 - array_unshift($args, $this); - - if ($scope instanceof \Closure) { - call_user_func_array($scope, $args); - return $this; - } - - if (is_string($scope)) { - $scope = explode(',', $scope); - } - - if ($this->model) { - // 检查模型类的查询范围方法 - foreach ($scope as $name) { - $method = 'scope' . trim($name); - - if (method_exists($this->model, $method)) { - call_user_func_array([$this->model, $method], $args); - } - } - } - - return $this; - } - - /** - * 使用搜索器条件搜索字段 - * @access public - * @param array $fields 搜索字段 - * @param array $data 搜索数据 - * @param string $prefix 字段前缀标识 - * @return $this - */ - public function withSearch(array $fields, array $data = [], $prefix = '') - { - foreach ($fields as $key => $field) { - if ($field instanceof \Closure) { - $field($this, isset($data[$key]) ? $data[$key] : null, $data, $prefix); - } elseif ($this->model) { - // 检测搜索器 - $fieldName = is_numeric($key) ? $field : $key; - $method = 'search' . Loader::parseName($fieldName, 1) . 'Attr'; - - if (method_exists($this->model, $method)) { - $this->model->$method($this, isset($data[$field]) ? $data[$field] : null, $data, $prefix); - } - } - } - - return $this; - } - - /** - * 指定数据表主键 - * @access public - * @param string $pk 主键 - * @return $this - */ - public function pk($pk) - { - $this->pk = $pk; - return $this; - } - - /** - * 查询日期或者时间 - * @access public - * @param string $name 时间表达式 - * @param string|array $rule 时间范围 - * @return $this - */ - public function timeRule($name, $rule) - { - $this->timeRule[$name] = $rule; - return $this; - } - - /** - * 查询日期或者时间 - * @access public - * @param string $field 日期字段名 - * @param string|array $op 比较运算符或者表达式 - * @param string|array $range 比较范围 - * @param string $logic AND OR - * @return $this - */ - public function whereTime($field, $op, $range = null, $logic = 'AND') - { - if (is_null($range)) { - if (is_array($op)) { - $range = $op; - } else { - if (isset($this->timeExp[strtolower($op)])) { - $op = $this->timeExp[strtolower($op)]; - } - - if (isset($this->timeRule[strtolower($op)])) { - $range = $this->timeRule[strtolower($op)]; - } else { - $range = $op; - } - } - - $op = is_array($range) ? 'between' : '>='; - } - - return $this->parseWhereExp($logic, $field, strtolower($op) . ' time', $range, [], true); - } - - /** - * 查询当前时间在两个时间字段范围 - * @access public - * @param string $startField 开始时间字段 - * @param string $endField 结束时间字段 - * @return $this - */ - public function whereBetweenTimeField($startField, $endField) - { - return $this->whereTime($startField, '<=', time()) - ->whereTime($endField, '>=', time()); - } - - /** - * 查询当前时间不在两个时间字段范围 - * @access public - * @param string $startField 开始时间字段 - * @param string $endField 结束时间字段 - * @return $this - */ - public function whereNotBetweenTimeField($startField, $endField) - { - return $this->whereTime($startField, '>', time()) - ->whereTime($endField, '<', time(), 'OR'); - } - - /** - * 查询日期或者时间范围 - * @access public - * @param string $field 日期字段名 - * @param string $startTime 开始时间 - * @param string $endTime 结束时间 - * @param string $logic AND OR - * @return $this - */ - public function whereBetweenTime($field, $startTime, $endTime = null, $logic = 'AND') - { - if (is_null($endTime)) { - $time = is_string($startTime) ? strtotime($startTime) : $startTime; - $endTime = strtotime('+1 day', $time); - } - - return $this->parseWhereExp($logic, $field, 'between time', [$startTime, $endTime], [], true); - } - - /** - * 获取当前数据表的主键 - * @access public - * @param string|array $options 数据表名或者查询参数 - * @return string|array - */ - public function getPk($options = '') - { - if (!empty($this->pk)) { - $pk = $this->pk; - } else { - $pk = $this->connection->getPk(is_array($options) && isset($options['table']) ? $options['table'] : $this->getTable()); - } - - return $pk; - } - - /** - * 参数绑定 - * @access public - * @param mixed $value 绑定变量值 - * @param integer $type 绑定类型 - * @param string $name 绑定名称 - * @return $this|string - */ - public function bind($value, $type = PDO::PARAM_STR, $name = null) - { - if (is_array($value)) { - $this->bind = array_merge($this->bind, $value); - } else { - $name = $name ?: 'ThinkBind_' . (count($this->bind) + 1) . '_' . mt_rand() . '_'; - - $this->bind[$name] = [$value, $type]; - return $name; - } - - return $this; - } - - /** - * 检测参数是否已经绑定 - * @access public - * @param string $key 参数名 - * @return bool - */ - public function isBind($key) - { - return isset($this->bind[$key]); - } - - /** - * 查询参数赋值 - * @access public - * @param string $name 参数名 - * @param mixed $value 值 - * @return $this - */ - public function option($name, $value) - { - $this->options[$name] = $value; - return $this; - } - - /** - * 查询参数赋值 - * @access protected - * @param array $options 表达式参数 - * @return $this - */ - protected function options(array $options) - { - $this->options = $options; - return $this; - } - - /** - * 获取当前的查询参数 - * @access public - * @param string $name 参数名 - * @return mixed - */ - public function getOptions($name = '') - { - if ('' === $name) { - return $this->options; - } - return isset($this->options[$name]) ? $this->options[$name] : null; - } - - /** - * 设置当前的查询参数 - * @access public - * @param string $option 参数名 - * @param mixed $value 参数值 - * @return $this - */ - public function setOption($option, $value) - { - $this->options[$option] = $value; - return $this; - } - - /** - * 设置关联查询JOIN预查询 - * @access public - * @param string|array $with 关联方法名称 - * @return $this - */ - public function with($with) - { - if (empty($with)) { - return $this; - } - - if (is_string($with)) { - $with = explode(',', $with); - } - - $first = true; - - /** @var Model $class */ - $class = $this->model; - foreach ($with as $key => $relation) { - $closure = null; - - if ($relation instanceof \Closure) { - // 支持闭包查询过滤关联条件 - $closure = $relation; - $relation = $key; - } elseif (is_array($relation)) { - $relation = $key; - } elseif (is_string($relation) && strpos($relation, '.')) { - list($relation, $subRelation) = explode('.', $relation, 2); - } - - /** @var Relation $model */ - $relation = Loader::parseName($relation, 1, false); - $model = $class->$relation(); - - if ($model instanceof OneToOne && 0 == $model->getEagerlyType()) { - $table = $model->getTable(); - $model->removeOption() - ->table($table) - ->eagerly($this, $relation, true, '', $closure, $first); - $first = false; - } - } - - $this->via(); - - $this->options['with'] = $with; - - return $this; - } - - /** - * 关联预载入 JOIN方式(不支持嵌套) - * @access protected - * @param string|array $with 关联方法名 - * @param string $joinType JOIN方式 - * @return $this - */ - public function withJoin($with, $joinType = '') - { - if (empty($with)) { - return $this; - } - - if (is_string($with)) { - $with = explode(',', $with); - } - - $first = true; - - /** @var Model $class */ - $class = $this->model; - foreach ($with as $key => $relation) { - $closure = null; - $field = true; - - if ($relation instanceof \Closure) { - // 支持闭包查询过滤关联条件 - $closure = $relation; - $relation = $key; - } elseif (is_array($relation)) { - $field = $relation; - $relation = $key; - } elseif (is_string($relation) && strpos($relation, '.')) { - list($relation, $subRelation) = explode('.', $relation, 2); - } - - /** @var Relation $model */ - $relation = Loader::parseName($relation, 1, false); - $model = $class->$relation(); - - if ($model instanceof OneToOne) { - $model->eagerly($this, $relation, $field, $joinType, $closure, $first); - $first = false; - } else { - // 不支持其它关联 - unset($with[$key]); - } - } - - $this->via(); - - $this->options['with_join'] = $with; - - return $this; - } - - /** - * 关联统计 - * @access protected - * @param string|array $relation 关联方法名 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param bool $subQuery 是否使用子查询 - * @return $this - */ - protected function withAggregate($relation, $aggregate = 'count', $field = '*', $subQuery = true) - { - $relations = is_string($relation) ? explode(',', $relation) : $relation; - - if (!$subQuery) { - $this->options['with_count'][] = [$relations, $aggregate, $field]; - } else { - if (!isset($this->options['field'])) { - $this->field('*'); - } - - foreach ($relations as $key => $relation) { - $closure = $aggregateField = null; - - if ($relation instanceof \Closure) { - $closure = $relation; - $relation = $key; - } elseif (!is_int($key)) { - $aggregateField = $relation; - $relation = $key; - } - - $relation = Loader::parseName($relation, 1, false); - - $count = $this->model->$relation()->getRelationCountQuery($closure, $aggregate, $field, $aggregateField); - - if (empty($aggregateField)) { - $aggregateField = Loader::parseName($relation) . '_' . $aggregate; - } - - $this->field(['(' . $count . ')' => $aggregateField]); - } - } - - return $this; - } - - /** - * 关联统计 - * @access public - * @param string|array $relation 关联方法名 - * @param bool $subQuery 是否使用子查询 - * @return $this - */ - public function withCount($relation, $subQuery = true) - { - return $this->withAggregate($relation, 'count', '*', $subQuery); - } - - /** - * 关联统计Sum - * @access public - * @param string|array $relation 关联方法名 - * @param string $field 字段 - * @param bool $subQuery 是否使用子查询 - * @return $this - */ - public function withSum($relation, $field, $subQuery = true) - { - return $this->withAggregate($relation, 'sum', $field, $subQuery); - } - - /** - * 关联统计Max - * @access public - * @param string|array $relation 关联方法名 - * @param string $field 字段 - * @param bool $subQuery 是否使用子查询 - * @return $this - */ - public function withMax($relation, $field, $subQuery = true) - { - return $this->withAggregate($relation, 'max', $field, $subQuery); - } - - /** - * 关联统计Min - * @access public - * @param string|array $relation 关联方法名 - * @param string $field 字段 - * @param bool $subQuery 是否使用子查询 - * @return $this - */ - public function withMin($relation, $field, $subQuery = true) - { - return $this->withAggregate($relation, 'min', $field, $subQuery); - } - - /** - * 关联统计Avg - * @access public - * @param string|array $relation 关联方法名 - * @param string $field 字段 - * @param bool $subQuery 是否使用子查询 - * @return $this - */ - public function withAvg($relation, $field, $subQuery = true) - { - return $this->withAggregate($relation, 'avg', $field, $subQuery); - } - - /** - * 关联预加载中 获取关联指定字段值 - * example: - * Model::with(['relation' => function($query){ - * $query->withField("id,name"); - * }]) - * - * @access public - * @param string | array $field 指定获取的字段 - * @return $this - */ - public function withField($field) - { - $this->options['with_field'] = $field; - - return $this; - } - - /** - * 设置当前字段添加的表别名 - * @access public - * @param string $via - * @return $this - */ - public function via($via = '') - { - $this->options['via'] = $via; - - return $this; - } - - /** - * 设置关联查询 - * @access public - * @param string|array $relation 关联名称 - * @return $this - */ - public function relation($relation) - { - if (empty($relation)) { - return $this; - } - - if (is_string($relation)) { - $relation = explode(',', $relation); - } - - if (isset($this->options['relation'])) { - $this->options['relation'] = array_merge($this->options['relation'], $relation); - } else { - $this->options['relation'] = $relation; - } - - return $this; - } - - /** - * 插入记录 - * @access public - * @param array $data 数据 - * @param boolean $replace 是否replace - * @param boolean $getLastInsID 返回自增主键 - * @param string $sequence 自增序列名 - * @return integer|string - */ - public function insert(array $data = [], $replace = false, $getLastInsID = false, $sequence = null) - { - $this->parseOptions(); - - $this->options['data'] = array_merge($this->options['data'], $data); - - return $this->connection->insert($this, $replace, $getLastInsID, $sequence); - } - - /** - * 插入记录并获取自增ID - * @access public - * @param array $data 数据 - * @param boolean $replace 是否replace - * @param string $sequence 自增序列名 - * @return integer|string - */ - public function insertGetId(array $data, $replace = false, $sequence = null) - { - return $this->insert($data, $replace, true, $sequence); - } - - /** - * 批量插入记录 - * @access public - * @param array $dataSet 数据集 - * @param boolean $replace 是否replace - * @param integer $limit 每次写入数据限制 - * @return integer|string - */ - public function insertAll(array $dataSet = [], $replace = false, $limit = null) - { - $this->parseOptions(); - - if (empty($dataSet)) { - $dataSet = $this->options['data']; - } - - if (empty($limit) && !empty($this->options['limit'])) { - $limit = $this->options['limit']; - } - - return $this->connection->insertAll($this, $dataSet, $replace, $limit); - } - - /** - * 通过Select方式插入记录 - * @access public - * @param string $fields 要插入的数据表字段名 - * @param string $table 要插入的数据表名 - * @return integer|string - * @throws PDOException - */ - public function selectInsert($fields, $table) - { - $this->parseOptions(); - - return $this->connection->selectInsert($this, $fields, $table); - } - - /** - * 更新记录 - * @access public - * @param mixed $data 数据 - * @return integer|string - * @throws Exception - * @throws PDOException - */ - public function update(array $data = []) - { - $this->parseOptions(); - - $this->options['data'] = array_merge($this->options['data'], $data); - - return $this->connection->update($this); - } - - /** - * 删除记录 - * @access public - * @param mixed $data 表达式 true 表示强制删除 - * @return int - * @throws Exception - * @throws PDOException - */ - public function delete($data = null) - { - $this->parseOptions(); - - if (!is_null($data) && true !== $data) { - // AR模式分析主键条件 - $this->parsePkWhere($data); - } - - if (!empty($this->options['soft_delete'])) { - // 软删除 - list($field, $condition) = $this->options['soft_delete']; - if ($condition) { - unset($this->options['soft_delete']); - $this->options['data'] = [$field => $condition]; - - return $this->connection->update($this); - } - } - - $this->options['data'] = $data; - - return $this->connection->delete($this); - } - - /** - * 执行查询但只返回PDOStatement对象 - * @access public - * @return \PDOStatement|string - */ - public function getPdo() - { - $this->parseOptions(); - - return $this->connection->pdo($this); - } - - /** - * 使用游标查找记录 - * @access public - * @param array|string|Query|\Closure $data - * @return \Generator - */ - public function cursor($data = null) - { - if ($data instanceof \Closure) { - $data($this); - $data = null; - } - - $this->parseOptions(); - - if (!is_null($data)) { - // 主键条件分析 - $this->parsePkWhere($data); - } - - $this->options['data'] = $data; - - $connection = clone $this->connection; - - return $connection->cursor($this); - } - - /** - * 查找记录 - * @access public - * @param array|string|Query|\Closure $data - * @return Collection|array|\PDOStatement|string - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function select($data = null) - { - if ($data instanceof Query) { - return $data->select(); - } elseif ($data instanceof \Closure) { - $data($this); - $data = null; - } - - $this->parseOptions(); - - if (false === $data) { - // 用于子查询 不查询只返回SQL - $this->options['fetch_sql'] = true; - } elseif (!is_null($data)) { - // 主键条件分析 - $this->parsePkWhere($data); - } - - $this->options['data'] = $data; - - $resultSet = $this->connection->select($this); - - if ($this->options['fetch_sql']) { - return $resultSet; - } - - // 返回结果处理 - if (!empty($this->options['fail']) && count($resultSet) == 0) { - $this->throwNotFound($this->options); - } - - // 数据列表读取后的处理 - if (!empty($this->model)) { - // 生成模型对象 - $resultSet = $this->resultSetToModelCollection($resultSet); - } else { - $this->resultSet($resultSet); - } - - return $resultSet; - } - - /** - * 查询数据转换为模型数据集对象 - * @access protected - * @param array $resultSet 数据集 - * @return ModelCollection - */ - protected function resultSetToModelCollection(array $resultSet) - { - if (!empty($this->options['collection']) && is_string($this->options['collection'])) { - $collection = $this->options['collection']; - } - - if (empty($resultSet)) { - return $this->model->toCollection([], isset($collection) ? $collection : null); - } - - // 检查动态获取器 - if (!empty($this->options['with_attr'])) { - foreach ($this->options['with_attr'] as $name => $val) { - if (strpos($name, '.')) { - list($relation, $field) = explode('.', $name); - - $withRelationAttr[$relation][$field] = $val; - unset($this->options['with_attr'][$name]); - } - } - } - - $withRelationAttr = isset($withRelationAttr) ? $withRelationAttr : []; - - foreach ($resultSet as $key => &$result) { - // 数据转换为模型对象 - $this->resultToModel($result, $this->options, true, $withRelationAttr); - } - - if (!empty($this->options['with'])) { - // 预载入 - $result->eagerlyResultSet($resultSet, $this->options['with'], $withRelationAttr); - } - - if (!empty($this->options['with_join'])) { - // JOIN预载入 - $result->eagerlyResultSet($resultSet, $this->options['with_join'], $withRelationAttr, true); - } - - // 模型数据集转换 - return $result->toCollection($resultSet, isset($collection) ? $collection : null); - } - - /** - * 处理数据集 - * @access public - * @param array $resultSet - * @return void - */ - protected function resultSet(&$resultSet) - { - if (!empty($this->options['json'])) { - foreach ($resultSet as &$result) { - $this->jsonResult($result, $this->options['json'], true); - } - } - - if (!empty($this->options['with_attr'])) { - foreach ($resultSet as &$result) { - $this->getResultAttr($result, $this->options['with_attr']); - } - } - - if (!empty($this->options['collection']) || 'collection' == $this->connection->getConfig('resultset_type')) { - // 返回Collection对象 - $resultSet = new Collection($resultSet); - } - } - - /** - * 查找单条记录 - * @access public - * @param array|string|Query|\Closure $data - * @return array|null|\PDOStatement|string|Model - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function find($data = null) - { - if ($data instanceof Query) { - return $data->find(); - } elseif ($data instanceof \Closure) { - $data($this); - $data = null; - } - - $this->parseOptions(); - - if (!is_null($data)) { - // AR模式分析主键条件 - $this->parsePkWhere($data); - } - - $this->options['data'] = $data; - - $result = $this->connection->find($this); - - if ($this->options['fetch_sql']) { - return $result; - } - - // 数据处理 - if (empty($result)) { - return $this->resultToEmpty(); - } - - if (!empty($this->model)) { - // 返回模型对象 - $this->resultToModel($result, $this->options); - } else { - $this->result($result); - } - - return $result; - } - - /** - * 处理空数据 - * @access protected - * @return array|Model|null - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - protected function resultToEmpty() - { - if (!empty($this->options['allow_empty'])) { - return !empty($this->model) ? $this->model->newInstance([], $this->getModelUpdateCondition($this->options)) : []; - } elseif (!empty($this->options['fail'])) { - $this->throwNotFound($this->options); - } - } - - /** - * 查找单条记录 - * @access public - * @param mixed $data 主键值或者查询条件(闭包) - * @param mixed $with 关联预查询 - * @param bool $cache 是否缓存 - * @param bool $failException 是否抛出异常 - * @return static|null - * @throws exception\DbException - */ - public function get($data, $with = [], $cache = false, $failException = false) - { - if (is_null($data)) { - return; - } - - if (true === $with || is_int($with)) { - $cache = $with; - $with = []; - } - - return $this->parseQuery($data, $with, $cache) - ->failException($failException) - ->find($data); - } - - /** - * 查找单条记录 如果不存在直接抛出异常 - * @access public - * @param mixed $data 主键值或者查询条件(闭包) - * @param mixed $with 关联预查询 - * @param bool $cache 是否缓存 - * @return static|null - * @throws exception\DbException - */ - public function getOrFail($data, $with = [], $cache = false) - { - return $this->get($data, $with, $cache, true); - } - - /** - * 查找所有记录 - * @access public - * @param mixed $data 主键列表或者查询条件(闭包) - * @param array|string $with 关联预查询 - * @param bool $cache 是否缓存 - * @return static[]|false - * @throws exception\DbException - */ - public function all($data = null, $with = [], $cache = false) - { - if (true === $with || is_int($with)) { - $cache = $with; - $with = []; - } - - return $this->parseQuery($data, $with, $cache)->select($data); - } - - /** - * 分析查询表达式 - * @access public - * @param mixed $data 主键列表或者查询条件(闭包) - * @param string $with 关联预查询 - * @param bool $cache 是否缓存 - * @return Query - */ - protected function parseQuery(&$data, $with, $cache) - { - $result = $this->with($with)->cache($cache); - - if ((is_array($data) && key($data) !== 0) || $data instanceof Where) { - $result = $result->where($data); - $data = null; - } elseif ($data instanceof \Closure) { - $data($result); - $data = null; - } elseif ($data instanceof Query) { - $result = $data->with($with)->cache($cache); - $data = null; - } - - return $result; - } - - /** - * 处理数据 - * @access protected - * @param array $result 查询数据 - * @return void - */ - protected function result(&$result) - { - if (!empty($this->options['json'])) { - $this->jsonResult($result, $this->options['json'], true); - } - - if (!empty($this->options['with_attr'])) { - $this->getResultAttr($result, $this->options['with_attr']); - } - } - - /** - * 使用获取器处理数据 - * @access protected - * @param array $result 查询数据 - * @param array $withAttr 字段获取器 - * @return void - */ - protected function getResultAttr(&$result, $withAttr = []) - { - foreach ($withAttr as $name => $closure) { - $name = Loader::parseName($name); - - if (strpos($name, '.')) { - // 支持JSON字段 获取器定义 - list($key, $field) = explode('.', $name); - - if (isset($result[$key])) { - $result[$key][$field] = $closure(isset($result[$key][$field]) ? $result[$key][$field] : null, $result[$key]); - } - } else { - $result[$name] = $closure(isset($result[$name]) ? $result[$name] : null, $result); - } - } - } - - /** - * JSON字段数据转换 - * @access protected - * @param array $result 查询数据 - * @param array $json JSON字段 - * @param bool $assoc 是否转换为数组 - * @param array $withRelationAttr 关联获取器 - * @return void - */ - protected function jsonResult(&$result, $json = [], $assoc = false, $withRelationAttr = []) - { - foreach ($json as $name) { - if (isset($result[$name])) { - $result[$name] = json_decode($result[$name], $assoc); - - if (isset($withRelationAttr[$name])) { - foreach ($withRelationAttr[$name] as $key => $closure) { - $data = get_object_vars($result[$name]); - $result[$name]->$key = $closure(isset($result[$name]->$key) ? $result[$name]->$key : null, $data); - } - } - } - } - } - - /** - * 查询数据转换为模型对象 - * @access protected - * @param array $result 查询数据 - * @param array $options 查询参数 - * @param bool $resultSet 是否为数据集查询 - * @param array $withRelationAttr 关联字段获取器 - * @return void - */ - protected function resultToModel(&$result, $options = [], $resultSet = false, $withRelationAttr = []) - { - // 动态获取器 - if (!empty($options['with_attr']) && empty($withRelationAttr)) { - foreach ($options['with_attr'] as $name => $val) { - if (strpos($name, '.')) { - list($relation, $field) = explode('.', $name); - - $withRelationAttr[$relation][$field] = $val; - unset($options['with_attr'][$name]); - } - } - } - - // JSON 数据处理 - if (!empty($options['json'])) { - $this->jsonResult($result, $options['json'], $options['json_assoc'], $withRelationAttr); - } - - $result = $this->model->newInstance($result, $resultSet ? null : $this->getModelUpdateCondition($options)); - - // 动态获取器 - if (!empty($options['with_attr'])) { - $result->withAttribute($options['with_attr']); - } - - // 输出属性控制 - if (!empty($options['visible'])) { - $result->visible($options['visible'], true); - } elseif (!empty($options['hidden'])) { - $result->hidden($options['hidden'], true); - } - - if (!empty($options['append'])) { - $result->append($options['append'], true); - } - - // 关联查询 - if (!empty($options['relation'])) { - $result->relationQuery($options['relation'], $withRelationAttr); - } - - // 预载入查询 - if (!$resultSet && !empty($options['with'])) { - $result->eagerlyResult($result, $options['with'], $withRelationAttr); - } - - // JOIN预载入查询 - if (!$resultSet && !empty($options['with_join'])) { - $result->eagerlyResult($result, $options['with_join'], $withRelationAttr, true); - } - - // 关联统计 - if (!empty($options['with_count'])) { - foreach ($options['with_count'] as $val) { - $result->relationCount($result, $val[0], $val[1], $val[2]); - } - } - } - - /** - * 获取模型的更新条件 - * @access protected - * @param array $options 查询参数 - */ - protected function getModelUpdateCondition(array $options) - { - return isset($options['where']['AND']) ? $options['where']['AND'] : null; - } - - /** - * 查询失败 抛出异常 - * @access protected - * @param array $options 查询参数 - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - protected function throwNotFound($options = []) - { - if (!empty($this->model)) { - $class = get_class($this->model); - throw new ModelNotFoundException('model data Not Found:' . $class, $class, $options); - } - $table = is_array($options['table']) ? key($options['table']) : $options['table']; - throw new DataNotFoundException('table data not Found:' . $table, $table, $options); - } - - /** - * 查找多条记录 如果不存在则抛出异常 - * @access public - * @param array|string|Query|\Closure $data - * @return array|\PDOStatement|string|Model - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function selectOrFail($data = null) - { - return $this->failException(true)->select($data); - } - - /** - * 查找单条记录 如果不存在则抛出异常 - * @access public - * @param array|string|Query|\Closure $data - * @return array|\PDOStatement|string|Model - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function findOrFail($data = null) - { - return $this->failException(true)->find($data); - } - - /** - * 查找单条记录 不存在则返回空模型 - * @access public - * @param array|string|Query|\Closure $data - * @return array|\PDOStatement|string|Model - * @throws DbException - * @throws ModelNotFoundException - * @throws DataNotFoundException - */ - public function findOrEmpty($data = null) - { - return $this->allowEmpty(true)->find($data); - } - - /** - * 分批数据返回处理 - * @access public - * @param integer $count 每次处理的数据数量 - * @param callable $callback 处理回调方法 - * @param string|array $column 分批处理的字段名 - * @param string $order 字段排序 - * @return boolean - * @throws DbException - */ - public function chunk($count, $callback, $column = null, $order = 'asc') - { - $options = $this->getOptions(); - $column = $column ?: $this->getPk($options); - - if (isset($options['order'])) { - if (Container::get('app')->isDebug()) { - throw new DbException('chunk not support call order'); - } - unset($options['order']); - } - - $bind = $this->bind; - - if (is_array($column)) { - $times = 1; - $query = $this->options($options)->page($times, $count); - } else { - $query = $this->options($options)->limit($count); - - if (strpos($column, '.')) { - list($alias, $key) = explode('.', $column); - } else { - $key = $column; - } - } - - $resultSet = $query->order($column, $order)->select(); - - while (count($resultSet) > 0) { - if ($resultSet instanceof Collection) { - $resultSet = $resultSet->all(); - } - - if (false === call_user_func($callback, $resultSet)) { - return false; - } - - if (isset($times)) { - $times++; - $query = $this->options($options)->page($times, $count); - } else { - $end = end($resultSet); - $lastId = is_array($end) ? $end[$key] : $end->getData($key); - - $query = $this->options($options) - ->limit($count) - ->where($column, 'asc' == strtolower($order) ? '>' : '<', $lastId); - } - - $resultSet = $query->bind($bind)->order($column, $order)->select(); - } - - return true; - } - - /** - * 获取绑定的参数 并清空 - * @access public - * @param bool $clear - * @return array - */ - public function getBind($clear = true) - { - $bind = $this->bind; - if ($clear) { - $this->bind = []; - } - - return $bind; - } - - /** - * 创建子查询SQL - * @access public - * @param bool $sub - * @return string - * @throws DbException - */ - public function buildSql($sub = true) - { - return $sub ? '( ' . $this->select(false) . ' )' : $this->select(false); - } - - /** - * 视图查询处理 - * @access protected - * @param array $options 查询参数 - * @return void - */ - protected function parseView(&$options) - { - if (!isset($options['map'])) { - return; - } - - foreach (['AND', 'OR'] as $logic) { - if (isset($options['where'][$logic])) { - foreach ($options['where'][$logic] as $key => $val) { - if (array_key_exists($key, $options['map'])) { - array_shift($val); - array_unshift($val, $options['map'][$key]); - $options['where'][$logic][$options['map'][$key]] = $val; - unset($options['where'][$logic][$key]); - } - } - } - } - - if (isset($options['order'])) { - // 视图查询排序处理 - if (is_string($options['order'])) { - $options['order'] = explode(',', $options['order']); - } - foreach ($options['order'] as $key => $val) { - if (is_numeric($key) && is_string($val)) { - if (strpos($val, ' ')) { - list($field, $sort) = explode(' ', $val); - if (array_key_exists($field, $options['map'])) { - $options['order'][$options['map'][$field]] = $sort; - unset($options['order'][$key]); - } - } elseif (array_key_exists($val, $options['map'])) { - $options['order'][$options['map'][$val]] = 'asc'; - unset($options['order'][$key]); - } - } elseif (array_key_exists($key, $options['map'])) { - $options['order'][$options['map'][$key]] = $val; - unset($options['order'][$key]); - } - } - } - } - - /** - * 把主键值转换为查询条件 支持复合主键 - * @access public - * @param array|string $data 主键数据 - * @return void - * @throws Exception - */ - public function parsePkWhere($data) - { - $pk = $this->getPk($this->options); - // 获取当前数据表 - $table = is_array($this->options['table']) ? key($this->options['table']) : $this->options['table']; - - if (!empty($this->options['alias'][$table])) { - $alias = $this->options['alias'][$table]; - } - - if (is_string($pk)) { - $key = isset($alias) ? $alias . '.' . $pk : $pk; - // 根据主键查询 - if (is_array($data)) { - $where[$pk] = isset($data[$pk]) ? [$key, '=', $data[$pk]] : [$key, 'in', $data]; - } else { - $where[$pk] = strpos($data, ',') ? [$key, 'IN', $data] : [$key, '=', $data]; - } - } elseif (is_array($pk) && is_array($data) && !empty($data)) { - // 根据复合主键查询 - foreach ($pk as $key) { - if (isset($data[$key])) { - $attr = isset($alias) ? $alias . '.' . $key : $key; - $where[$key] = [$attr, '=', $data[$key]]; - } else { - throw new Exception('miss complex primary data'); - } - } - } - - if (!empty($where)) { - if (isset($this->options['where']['AND'])) { - $this->options['where']['AND'] = array_merge($this->options['where']['AND'], $where); - } else { - $this->options['where']['AND'] = $where; - } - } - - return; - } - - /** - * 分析表达式(可用于查询或者写入操作) - * @access protected - * @return array - */ - protected function parseOptions() - { - $options = $this->getOptions(); - - // 获取数据表 - if (empty($options['table'])) { - $options['table'] = $this->getTable(); - } - - if (!isset($options['where'])) { - $options['where'] = []; - } elseif (isset($options['view'])) { - // 视图查询条件处理 - $this->parseView($options); - } - - if (!isset($options['field'])) { - $options['field'] = '*'; - } - - foreach (['data', 'order', 'join', 'union'] as $name) { - if (!isset($options[$name])) { - $options[$name] = []; - } - } - - if (!isset($options['strict'])) { - $options['strict'] = $this->getConfig('fields_strict'); - } - - foreach (['master', 'lock', 'fetch_pdo', 'fetch_sql', 'distinct'] as $name) { - if (!isset($options[$name])) { - $options[$name] = false; - } - } - - if (isset(static::$readMaster['*']) || (is_string($options['table']) && isset(static::$readMaster[$options['table']]))) { - $options['master'] = true; - } - - foreach (['group', 'having', 'limit', 'force', 'comment'] as $name) { - if (!isset($options[$name])) { - $options[$name] = ''; - } - } - - if (isset($options['page'])) { - // 根据页数计算limit - list($page, $listRows) = $options['page']; - $page = $page > 0 ? $page : 1; - $listRows = $listRows > 0 ? $listRows : (is_numeric($options['limit']) ? $options['limit'] : 20); - $offset = $listRows * ($page - 1); - $options['limit'] = $offset . ',' . $listRows; - } - - $this->options = $options; - - return $options; - } - - /** - * 注册回调方法 - * @access public - * @param string $event 事件名 - * @param callable $callback 回调方法 - * @return void - */ - public static function event($event, $callback) - { - self::$event[$event] = $callback; - } - - /** - * 触发事件 - * @access public - * @param string $event 事件名 - * @return bool - */ - public function trigger($event) - { - $result = false; - - if (isset(self::$event[$event])) { - $result = Container::getInstance()->invoke(self::$event[$event], [$this]); - } - - return $result; - } - -} diff --git a/thinkphp/library/think/db/Where.php b/thinkphp/library/think/db/Where.php deleted file mode 100644 index 9132e546..00000000 --- a/thinkphp/library/think/db/Where.php +++ /dev/null @@ -1,178 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db; - -use ArrayAccess; - -class Where implements ArrayAccess -{ - /** - * 查询表达式 - * @var array - */ - protected $where = []; - - /** - * 是否需要增加括号 - * @var bool - */ - protected $enclose = false; - - /** - * 创建一个查询表达式 - * - * @param array $where 查询条件数组 - * @param bool $enclose 是否增加括号 - */ - public function __construct(array $where = [], $enclose = false) - { - $this->where = $where; - $this->enclose = $enclose; - } - - /** - * 设置是否添加括号 - * @access public - * @param bool $enclose - * @return $this - */ - public function enclose($enclose = true) - { - $this->enclose = $enclose; - return $this; - } - - /** - * 解析为Query对象可识别的查询条件数组 - * @access public - * @return array - */ - public function parse() - { - $where = []; - - foreach ($this->where as $key => $val) { - if ($val instanceof Expression) { - $where[] = [$key, 'exp', $val]; - } elseif (is_null($val)) { - $where[] = [$key, 'NULL', '']; - } elseif (is_array($val)) { - $where[] = $this->parseItem($key, $val); - } else { - $where[] = [$key, '=', $val]; - } - } - - return $this->enclose ? [$where] : $where; - } - - /** - * 分析查询表达式 - * @access protected - * @param string $field 查询字段 - * @param array $where 查询条件 - * @return array - */ - protected function parseItem($field, $where = []) - { - $op = $where[0]; - $condition = isset($where[1]) ? $where[1] : null; - - if (is_array($op)) { - // 同一字段多条件查询 - array_unshift($where, $field); - } elseif (is_null($condition)) { - if (in_array(strtoupper($op), ['NULL', 'NOTNULL', 'NOT NULL'], true)) { - // null查询 - $where = [$field, $op, '']; - } elseif (in_array($op, ['=', 'eq', 'EQ', null], true)) { - $where = [$field, 'NULL', '']; - } elseif (in_array($op, ['<>', 'neq', 'NEQ'], true)) { - $where = [$field, 'NOTNULL', '']; - } else { - // 字段相等查询 - $where = [$field, '=', $op]; - } - } else { - $where = [$field, $op, $condition]; - } - - return $where; - } - - /** - * 修改器 设置数据对象的值 - * @access public - * @param string $name 名称 - * @param mixed $value 值 - * @return void - */ - public function __set($name, $value) - { - $this->where[$name] = $value; - } - - /** - * 获取器 获取数据对象的值 - * @access public - * @param string $name 名称 - * @return mixed - */ - public function __get($name) - { - return isset($this->where[$name]) ? $this->where[$name] : null; - } - - /** - * 检测数据对象的值 - * @access public - * @param string $name 名称 - * @return boolean - */ - public function __isset($name) - { - return isset($this->where[$name]); - } - - /** - * 销毁数据对象的值 - * @access public - * @param string $name 名称 - * @return void - */ - public function __unset($name) - { - unset($this->where[$name]); - } - - // ArrayAccess - public function offsetSet($name, $value) - { - $this->__set($name, $value); - } - - public function offsetExists($name) - { - return $this->__isset($name); - } - - public function offsetUnset($name) - { - $this->__unset($name); - } - - public function offsetGet($name) - { - return $this->__get($name); - } - -} diff --git a/thinkphp/library/think/db/builder/Mysql.php b/thinkphp/library/think/db/builder/Mysql.php deleted file mode 100644 index f7384b31..00000000 --- a/thinkphp/library/think/db/builder/Mysql.php +++ /dev/null @@ -1,184 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\builder; - -use think\db\Builder; -use think\db\Expression; -use think\db\Query; -use think\Exception; - -/** - * mysql数据库驱动 - */ -class Mysql extends Builder -{ - // 查询表达式解析 - protected $parser = [ - 'parseCompare' => ['=', '<>', '>', '>=', '<', '<='], - 'parseLike' => ['LIKE', 'NOT LIKE'], - 'parseBetween' => ['NOT BETWEEN', 'BETWEEN'], - 'parseIn' => ['NOT IN', 'IN'], - 'parseExp' => ['EXP'], - 'parseRegexp' => ['REGEXP', 'NOT REGEXP'], - 'parseNull' => ['NOT NULL', 'NULL'], - 'parseBetweenTime' => ['BETWEEN TIME', 'NOT BETWEEN TIME'], - 'parseTime' => ['< TIME', '> TIME', '<= TIME', '>= TIME'], - 'parseExists' => ['NOT EXISTS', 'EXISTS'], - 'parseColumn' => ['COLUMN'], - ]; - - protected $insertAllSql = '%INSERT% INTO %TABLE% (%FIELD%) VALUES %DATA% %COMMENT%'; - protected $updateSql = 'UPDATE %TABLE% %JOIN% SET %SET% %WHERE% %ORDER%%LIMIT% %LOCK%%COMMENT%'; - - /** - * 生成insertall SQL - * @access public - * @param Query $query 查询对象 - * @param array $dataSet 数据集 - * @param bool $replace 是否replace - * @return string - */ - public function insertAll(Query $query, $dataSet, $replace = false) - { - $options = $query->getOptions(); - - // 获取合法的字段 - if ('*' == $options['field']) { - $allowFields = $this->connection->getTableFields($options['table']); - } else { - $allowFields = $options['field']; - } - - // 获取绑定信息 - $bind = $this->connection->getFieldsBind($options['table']); - - foreach ($dataSet as $k => $data) { - $data = $this->parseData($query, $data, $allowFields, $bind); - - $values[] = '( ' . implode(',', array_values($data)) . ' )'; - - if (!isset($insertFields)) { - $insertFields = array_keys($data); - } - } - - $fields = []; - foreach ($insertFields as $field) { - $fields[] = $this->parseKey($query, $field); - } - - return str_replace( - ['%INSERT%', '%TABLE%', '%FIELD%', '%DATA%', '%COMMENT%'], - [ - $replace ? 'REPLACE' : 'INSERT', - $this->parseTable($query, $options['table']), - implode(' , ', $fields), - implode(' , ', $values), - $this->parseComment($query, $options['comment']), - ], - $this->insertAllSql); - } - - /** - * 正则查询 - * @access protected - * @param Query $query 查询对象 - * @param string $key - * @param string $exp - * @param mixed $value - * @param string $field - * @return string - */ - protected function parseRegexp(Query $query, $key, $exp, $value, $field) - { - if ($value instanceof Expression) { - $value = $value->getValue(); - } - - return $key . ' ' . $exp . ' ' . $value; - } - - /** - * 字段和表名处理 - * @access public - * @param Query $query 查询对象 - * @param mixed $key 字段名 - * @param bool $strict 严格检测 - * @return string - */ - public function parseKey(Query $query, $key, $strict = false) - { - if (is_numeric($key)) { - return $key; - } elseif ($key instanceof Expression) { - return $key->getValue(); - } - - $key = trim($key); - - if(strpos($key, '->>') && false === strpos($key, '(')){ - // JSON字段支持 - list($field, $name) = explode('->>', $key, 2); - - return $this->parseKey($query, $field, true) . '->>\'$' . (strpos($name, '[') === 0 ? '' : '.') . str_replace('->>', '.', $name) . '\''; - } - elseif (strpos($key, '->') && false === strpos($key, '(')) { - // JSON字段支持 - list($field, $name) = explode('->', $key, 2); - - return 'json_extract(' . $this->parseKey($query, $field, true) . ', \'$' . (strpos($name, '[') === 0 ? '' : '.') . str_replace('->', '.', $name) . '\')'; - } elseif (strpos($key, '.') && !preg_match('/[,\'\"\(\)`\s]/', $key)) { - list($table, $key) = explode('.', $key, 2); - - $alias = $query->getOptions('alias'); - - if ('__TABLE__' == $table) { - $table = $query->getOptions('table'); - $table = is_array($table) ? array_shift($table) : $table; - } - - if (isset($alias[$table])) { - $table = $alias[$table]; - } - } - - if ($strict && !preg_match('/^[\w\.\*]+$/', $key)) { - throw new Exception('not support data:' . $key); - } - - if ('*' != $key && !preg_match('/[,\'\"\*\(\)`.\s]/', $key)) { - $key = '`' . $key . '`'; - } - - if (isset($table)) { - if (strpos($table, '.')) { - $table = str_replace('.', '`.`', $table); - } - - $key = '`' . $table . '`.' . $key; - } - - return $key; - } - - /** - * 随机排序 - * @access protected - * @param Query $query 查询对象 - * @return string - */ - protected function parseRand(Query $query) - { - return 'rand()'; - } - -} diff --git a/thinkphp/library/think/db/builder/Pgsql.php b/thinkphp/library/think/db/builder/Pgsql.php deleted file mode 100644 index 742c7db3..00000000 --- a/thinkphp/library/think/db/builder/Pgsql.php +++ /dev/null @@ -1,104 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\builder; - -use think\db\Builder; -use think\db\Query; - -/** - * Pgsql数据库驱动 - */ -class Pgsql extends Builder -{ - - protected $insertSql = 'INSERT INTO %TABLE% (%FIELD%) VALUES (%DATA%) %COMMENT%'; - protected $insertAllSql = 'INSERT INTO %TABLE% (%FIELD%) %DATA% %COMMENT%'; - - /** - * limit分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $limit - * @return string - */ - public function parseLimit(Query $query, $limit) - { - $limitStr = ''; - - if (!empty($limit)) { - $limit = explode(',', $limit); - if (count($limit) > 1) { - $limitStr .= ' LIMIT ' . $limit[1] . ' OFFSET ' . $limit[0] . ' '; - } else { - $limitStr .= ' LIMIT ' . $limit[0] . ' '; - } - } - - return $limitStr; - } - - /** - * 字段和表名处理 - * @access public - * @param Query $query 查询对象 - * @param mixed $key 字段名 - * @param bool $strict 严格检测 - * @return string - */ - public function parseKey(Query $query, $key, $strict = false) - { - if (is_numeric($key)) { - return $key; - } elseif ($key instanceof Expression) { - return $key->getValue(); - } - - $key = trim($key); - - if (strpos($key, '->') && false === strpos($key, '(')) { - // JSON字段支持 - list($field, $name) = explode('->', $key); - $key = $field . '->>\'' . $name . '\''; - } elseif (strpos($key, '.')) { - list($table, $key) = explode('.', $key, 2); - - $alias = $query->getOptions('alias'); - - if ('__TABLE__' == $table) { - $table = $query->getOptions('table'); - $table = is_array($table) ? array_shift($table) : $table; - } - - if (isset($alias[$table])) { - $table = $alias[$table]; - } - } - - if (isset($table)) { - $key = $table . '.' . $key; - } - - return $key; - } - - /** - * 随机排序 - * @access protected - * @param Query $query 查询对象 - * @return string - */ - protected function parseRand(Query $query) - { - return 'RANDOM()'; - } - -} diff --git a/thinkphp/library/think/db/builder/Sqlite.php b/thinkphp/library/think/db/builder/Sqlite.php deleted file mode 100644 index 2b887ca8..00000000 --- a/thinkphp/library/think/db/builder/Sqlite.php +++ /dev/null @@ -1,96 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\builder; - -use think\db\Builder; -use think\db\Query; - -/** - * Sqlite数据库驱动 - */ -class Sqlite extends Builder -{ - - /** - * limit - * @access public - * @param Query $query 查询对象 - * @param mixed $limit - * @return string - */ - public function parseLimit(Query $query, $limit) - { - $limitStr = ''; - - if (!empty($limit)) { - $limit = explode(',', $limit); - if (count($limit) > 1) { - $limitStr .= ' LIMIT ' . $limit[1] . ' OFFSET ' . $limit[0] . ' '; - } else { - $limitStr .= ' LIMIT ' . $limit[0] . ' '; - } - } - - return $limitStr; - } - - /** - * 随机排序 - * @access protected - * @param Query $query 查询对象 - * @return string - */ - protected function parseRand(Query $query) - { - return 'RANDOM()'; - } - - /** - * 字段和表名处理 - * @access public - * @param Query $query 查询对象 - * @param mixed $key 字段名 - * @param bool $strict 严格检测 - * @return string - */ - public function parseKey(Query $query, $key, $strict = false) - { - if (is_numeric($key)) { - return $key; - } elseif ($key instanceof Expression) { - return $key->getValue(); - } - - $key = trim($key); - - if (strpos($key, '.')) { - list($table, $key) = explode('.', $key, 2); - - $alias = $query->getOptions('alias'); - - if ('__TABLE__' == $table) { - $table = $query->getOptions('table'); - $table = is_array($table) ? array_shift($table) : $table; - } - - if (isset($alias[$table])) { - $table = $alias[$table]; - } - } - - if (isset($table)) { - $key = $table . '.' . $key; - } - - return $key; - } -} diff --git a/thinkphp/library/think/db/builder/Sqlsrv.php b/thinkphp/library/think/db/builder/Sqlsrv.php deleted file mode 100644 index ef27aafa..00000000 --- a/thinkphp/library/think/db/builder/Sqlsrv.php +++ /dev/null @@ -1,159 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\builder; - -use think\db\Builder; -use think\db\Expression; -use think\db\Query; -use think\Exception; - -/** - * Sqlsrv数据库驱动 - */ -class Sqlsrv extends Builder -{ - protected $selectSql = 'SELECT T1.* FROM (SELECT thinkphp.*, ROW_NUMBER() OVER (%ORDER%) AS ROW_NUMBER FROM (SELECT %DISTINCT% %FIELD% FROM %TABLE%%JOIN%%WHERE%%GROUP%%HAVING%) AS thinkphp) AS T1 %LIMIT%%COMMENT%'; - protected $selectInsertSql = 'SELECT %DISTINCT% %FIELD% FROM %TABLE%%JOIN%%WHERE%%GROUP%%HAVING%'; - protected $updateSql = 'UPDATE %TABLE% SET %SET% FROM %TABLE% %JOIN% %WHERE% %LIMIT% %LOCK%%COMMENT%'; - protected $deleteSql = 'DELETE FROM %TABLE% %USING% FROM %TABLE% %JOIN% %WHERE% %LIMIT% %LOCK%%COMMENT%'; - protected $insertSql = 'INSERT INTO %TABLE% (%FIELD%) VALUES (%DATA%) %COMMENT%'; - protected $insertAllSql = 'INSERT INTO %TABLE% (%FIELD%) %DATA% %COMMENT%'; - - /** - * order分析 - * @access protected - * @param Query $query 查询对象 - * @param mixed $order - * @return string - */ - protected function parseOrder(Query $query, $order) - { - if (empty($order)) { - return ' ORDER BY rand()'; - } - - foreach ($order as $key => $val) { - if ($val instanceof Expression) { - $array[] = $val->getValue(); - } elseif ('[rand]' == $val) { - $array[] = $this->parseRand($query); - } else { - if (is_numeric($key)) { - list($key, $sort) = explode(' ', strpos($val, ' ') ? $val : $val . ' '); - } else { - $sort = $val; - } - - if (preg_match('/^[\w\.]+$/', $key)) { - $sort = strtoupper($sort); - $sort = in_array($sort, ['ASC', 'DESC'], true) ? ' ' . $sort : ''; - $array[] = $this->parseKey($query, $key, true) . $sort; - } else { - throw new Exception('order express error:' . $key); - } - } - } - - return empty($array) ? '' : ' ORDER BY ' . implode(',', $array); - } - - /** - * 随机排序 - * @access protected - * @param Query $query 查询对象 - * @return string - */ - protected function parseRand(Query $query) - { - return 'rand()'; - } - - /** - * 字段和表名处理 - * @access public - * @param Query $query 查询对象 - * @param mixed $key 字段名 - * @param bool $strict 严格检测 - * @return string - */ - public function parseKey(Query $query, $key, $strict = false) - { - if (is_numeric($key)) { - return $key; - } elseif ($key instanceof Expression) { - return $key->getValue(); - } - - $key = trim($key); - - if (strpos($key, '.') && !preg_match('/[,\'\"\(\)\[\s]/', $key)) { - list($table, $key) = explode('.', $key, 2); - - $alias = $query->getOptions('alias'); - - if ('__TABLE__' == $table) { - $table = $query->getOptions('table'); - $table = is_array($table) ? array_shift($table) : $table; - } - - if (isset($alias[$table])) { - $table = $alias[$table]; - } - } - - if ($strict && !preg_match('/^[\w\.\*]+$/', $key)) { - throw new Exception('not support data:' . $key); - } - - if ('*' != $key && !preg_match('/[,\'\"\*\(\)\[.\s]/', $key)) { - $key = '[' . $key . ']'; - } - - if (isset($table)) { - $key = '[' . $table . '].' . $key; - } - - return $key; - } - - /** - * limit - * @access protected - * @param Query $query 查询对象 - * @param mixed $limit - * @return string - */ - protected function parseLimit(Query $query, $limit) - { - if (empty($limit)) { - return ''; - } - - $limit = explode(',', $limit); - - if (count($limit) > 1) { - $limitStr = '(T1.ROW_NUMBER BETWEEN ' . $limit[0] . ' + 1 AND ' . $limit[0] . ' + ' . $limit[1] . ')'; - } else { - $limitStr = '(T1.ROW_NUMBER BETWEEN 1 AND ' . $limit[0] . ")"; - } - - return 'WHERE ' . $limitStr; - } - - public function selectInsert(Query $query, $fields, $table) - { - $this->selectSql = $this->selectInsertSql; - - return parent::selectInsert($query, $fields, $table); - } - -} diff --git a/thinkphp/library/think/db/connector/Mysql.php b/thinkphp/library/think/db/connector/Mysql.php deleted file mode 100644 index cfd2ac72..00000000 --- a/thinkphp/library/think/db/connector/Mysql.php +++ /dev/null @@ -1,229 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\connector; - -use PDO; -use think\db\Connection; -use think\db\Query; - -/** - * mysql数据库驱动 - */ -class Mysql extends Connection -{ - - protected $builder = '\\think\\db\\builder\\Mysql'; - - /** - * 初始化 - * @access protected - * @return void - */ - protected function initialize() - { - // Point类型支持 - Query::extend('point', function ($query, $field, $value = null, $fun = 'GeomFromText', $type = 'POINT') { - if (!is_null($value)) { - $query->data($field, ['point', $value, $fun, $type]); - } else { - if (is_string($field)) { - $field = explode(',', $field); - } - $query->setOption('point', $field); - } - - return $query; - }); - } - - /** - * 解析pdo连接的dsn信息 - * @access protected - * @param array $config 连接信息 - * @return string - */ - protected function parseDsn($config) - { - if (!empty($config['socket'])) { - $dsn = 'mysql:unix_socket=' . $config['socket']; - } elseif (!empty($config['hostport'])) { - $dsn = 'mysql:host=' . $config['hostname'] . ';port=' . $config['hostport']; - } else { - $dsn = 'mysql:host=' . $config['hostname']; - } - $dsn .= ';dbname=' . $config['database']; - - if (!empty($config['charset'])) { - $dsn .= ';charset=' . $config['charset']; - } - - return $dsn; - } - - /** - * 取得数据表的字段信息 - * @access public - * @param string $tableName - * @return array - */ - public function getFields($tableName) - { - list($tableName) = explode(' ', $tableName); - - if (false === strpos($tableName, '`')) { - if (strpos($tableName, '.')) { - $tableName = str_replace('.', '`.`', $tableName); - } - $tableName = '`' . $tableName . '`'; - } - - $sql = 'SHOW COLUMNS FROM ' . $tableName; - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - if ($result) { - foreach ($result as $key => $val) { - $val = array_change_key_case($val); - $info[$val['field']] = [ - 'name' => $val['field'], - 'type' => $val['type'], - 'notnull' => 'NO' == $val['null'], - 'default' => $val['default'], - 'primary' => strtolower($val['key']) == 'pri', - 'autoinc' => strtolower($val['extra']) == 'auto_increment', - ]; - } - } - - return $this->fieldCase($info); - } - - /** - * 取得数据库的表信息 - * @access public - * @param string $dbName - * @return array - */ - public function getTables($dbName = '') - { - $sql = !empty($dbName) ? 'SHOW TABLES FROM ' . $dbName : 'SHOW TABLES '; - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - foreach ($result as $key => $val) { - $info[$key] = current($val); - } - - return $info; - } - - /** - * SQL性能分析 - * @access protected - * @param string $sql - * @return array - */ - protected function getExplain($sql) - { - $pdo = $this->linkID->prepare("EXPLAIN " . $this->queryStr); - - foreach ($this->bind as $key => $val) { - // 占位符 - $param = is_int($key) ? $key + 1 : ':' . $key; - - if (is_array($val)) { - if (PDO::PARAM_INT == $val[1] && '' === $val[0]) { - $val[0] = 0; - } elseif (self::PARAM_FLOAT == $val[1]) { - $val[0] = is_string($val[0]) ? (float) $val[0] : $val[0]; - $val[1] = PDO::PARAM_STR; - } - - $result = $pdo->bindValue($param, $val[0], $val[1]); - } else { - $result = $pdo->bindValue($param, $val); - } - } - - $pdo->execute(); - $result = $pdo->fetch(PDO::FETCH_ASSOC); - $result = array_change_key_case($result); - - if (isset($result['extra'])) { - if (strpos($result['extra'], 'filesort') || strpos($result['extra'], 'temporary')) { - $this->log('SQL:' . $this->queryStr . '[' . $result['extra'] . ']', 'warn'); - } - } - - return $result; - } - - protected function supportSavepoint() - { - return true; - } - - /** - * 启动XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function startTransXa($xid) - { - $this->initConnect(true); - if (!$this->linkID) { - return false; - } - - $this->linkID->exec("XA START '$xid'"); - } - - /** - * 预编译XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function prepareXa($xid) - { - $this->initConnect(true); - $this->linkID->exec("XA END '$xid'"); - $this->linkID->exec("XA PREPARE '$xid'"); - } - - /** - * 提交XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function commitXa($xid) - { - $this->initConnect(true); - $this->linkID->exec("XA COMMIT '$xid'"); - } - - /** - * 回滚XA事务 - * @access public - * @param string $xid XA事务id - * @return void - */ - public function rollbackXa($xid) - { - $this->initConnect(true); - $this->linkID->exec("XA ROLLBACK '$xid'"); - } -} diff --git a/thinkphp/library/think/db/connector/Pgsql.php b/thinkphp/library/think/db/connector/Pgsql.php deleted file mode 100644 index ee9fca01..00000000 --- a/thinkphp/library/think/db/connector/Pgsql.php +++ /dev/null @@ -1,116 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\connector; - -use PDO; -use think\db\Connection; - -/** - * Pgsql数据库驱动 - */ -class Pgsql extends Connection -{ - protected $builder = '\\think\\db\\builder\\Pgsql'; - - // PDO连接参数 - protected $params = [ - PDO::ATTR_CASE => PDO::CASE_NATURAL, - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, - PDO::ATTR_ORACLE_NULLS => PDO::NULL_NATURAL, - PDO::ATTR_STRINGIFY_FETCHES => false, - ]; - - /** - * 解析pdo连接的dsn信息 - * @access protected - * @param array $config 连接信息 - * @return string - */ - protected function parseDsn($config) - { - $dsn = 'pgsql:dbname=' . $config['database'] . ';host=' . $config['hostname']; - - if (!empty($config['hostport'])) { - $dsn .= ';port=' . $config['hostport']; - } - - return $dsn; - } - - /** - * 取得数据表的字段信息 - * @access public - * @param string $tableName - * @return array - */ - public function getFields($tableName) - { - list($tableName) = explode(' ', $tableName); - $sql = 'select fields_name as "field",fields_type as "type",fields_not_null as "null",fields_key_name as "key",fields_default as "default",fields_default as "extra" from table_msg(\'' . $tableName . '\');'; - - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - if ($result) { - foreach ($result as $key => $val) { - $val = array_change_key_case($val); - $info[$val['field']] = [ - 'name' => $val['field'], - 'type' => $val['type'], - 'notnull' => (bool) ('' !== $val['null']), - 'default' => $val['default'], - 'primary' => !empty($val['key']), - 'autoinc' => (0 === strpos($val['extra'], 'nextval(')), - ]; - } - } - - return $this->fieldCase($info); - } - - /** - * 取得数据库的表信息 - * @access public - * @param string $dbName - * @return array - */ - public function getTables($dbName = '') - { - $sql = "select tablename as Tables_in_test from pg_tables where schemaname ='public'"; - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - foreach ($result as $key => $val) { - $info[$key] = current($val); - } - - return $info; - } - - /** - * SQL性能分析 - * @access protected - * @param string $sql - * @return array - */ - protected function getExplain($sql) - { - return []; - } - - protected function supportSavepoint() - { - return true; - } -} diff --git a/thinkphp/library/think/db/connector/Sqlite.php b/thinkphp/library/think/db/connector/Sqlite.php deleted file mode 100644 index 5b9b3fa6..00000000 --- a/thinkphp/library/think/db/connector/Sqlite.php +++ /dev/null @@ -1,108 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\connector; - -use PDO; -use think\db\Connection; - -/** - * Sqlite数据库驱动 - */ -class Sqlite extends Connection -{ - - protected $builder = '\\think\\db\\builder\\Sqlite'; - - /** - * 解析pdo连接的dsn信息 - * @access protected - * @param array $config 连接信息 - * @return string - */ - protected function parseDsn($config) - { - $dsn = 'sqlite:' . $config['database']; - - return $dsn; - } - - /** - * 取得数据表的字段信息 - * @access public - * @param string $tableName - * @return array - */ - public function getFields($tableName) - { - list($tableName) = explode(' ', $tableName); - $sql = 'PRAGMA table_info( ' . $tableName . ' )'; - - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - if ($result) { - foreach ($result as $key => $val) { - $val = array_change_key_case($val); - $info[$val['name']] = [ - 'name' => $val['name'], - 'type' => $val['type'], - 'notnull' => 1 === $val['notnull'], - 'default' => $val['dflt_value'], - 'primary' => '1' == $val['pk'], - 'autoinc' => '1' == $val['pk'], - ]; - } - } - - return $this->fieldCase($info); - } - - /** - * 取得数据库的表信息 - * @access public - * @param string $dbName - * @return array - */ - public function getTables($dbName = '') - { - $sql = "SELECT name FROM sqlite_master WHERE type='table' " - . "UNION ALL SELECT name FROM sqlite_temp_master " - . "WHERE type='table' ORDER BY name"; - - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - foreach ($result as $key => $val) { - $info[$key] = current($val); - } - - return $info; - } - - /** - * SQL性能分析 - * @access protected - * @param string $sql - * @return array - */ - protected function getExplain($sql) - { - return []; - } - - protected function supportSavepoint() - { - return true; - } -} diff --git a/thinkphp/library/think/db/connector/Sqlsrv.php b/thinkphp/library/think/db/connector/Sqlsrv.php deleted file mode 100644 index 123affb8..00000000 --- a/thinkphp/library/think/db/connector/Sqlsrv.php +++ /dev/null @@ -1,235 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\connector; - -use PDO; -use think\db\Connection; -use think\db\Query; - -/** - * Sqlsrv数据库驱动 - */ -class Sqlsrv extends Connection -{ - // PDO连接参数 - protected $params = [ - PDO::ATTR_CASE => PDO::CASE_NATURAL, - PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, - PDO::ATTR_ORACLE_NULLS => PDO::NULL_NATURAL, - PDO::ATTR_STRINGIFY_FETCHES => false, - ]; - - protected $builder = '\\think\\db\\builder\\Sqlsrv'; - - /** - * 解析pdo连接的dsn信息 - * @access protected - * @param array $config 连接信息 - * @return string - */ - protected function parseDsn($config) - { - $dsn = 'sqlsrv:Database=' . $config['database'] . ';Server=' . $config['hostname']; - - if (!empty($config['hostport'])) { - $dsn .= ',' . $config['hostport']; - } - - return $dsn; - } - - /** - * 取得数据表的字段信息 - * @access public - * @param string $tableName - * @return array - */ - public function getFields($tableName) - { - list($tableName) = explode(' ', $tableName); - $tableNames = explode('.', $tableName); - $tableName = isset($tableNames[1]) ? $tableNames[1] : $tableNames[0]; - - $sql = "SELECT column_name, data_type, column_default, is_nullable - FROM information_schema.tables AS t - JOIN information_schema.columns AS c - ON t.table_catalog = c.table_catalog - AND t.table_schema = c.table_schema - AND t.table_name = c.table_name - WHERE t.table_name = '$tableName'"; - - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - if ($result) { - foreach ($result as $key => $val) { - $val = array_change_key_case($val); - $info[$val['column_name']] = [ - 'name' => $val['column_name'], - 'type' => $val['data_type'], - 'notnull' => (bool) ('' === $val['is_nullable']), // not null is empty, null is yes - 'default' => $val['column_default'], - 'primary' => false, - 'autoinc' => false, - ]; - } - } - - $sql = "SELECT column_name FROM information_schema.key_column_usage WHERE table_name='$tableName'"; - - // 调试开始 - $this->debug(true); - - $pdo = $this->linkID->query($sql); - - // 调试结束 - $this->debug(false, $sql); - - $result = $pdo->fetch(PDO::FETCH_ASSOC); - - if ($result) { - $info[$result['column_name']]['primary'] = true; - } - - return $this->fieldCase($info); - } - - /** - * 取得数据表的字段信息 - * @access public - * @param string $dbName - * @return array - */ - public function getTables($dbName = '') - { - $sql = "SELECT TABLE_NAME - FROM INFORMATION_SCHEMA.TABLES - WHERE TABLE_TYPE = 'BASE TABLE' - "; - - $pdo = $this->query($sql, [], false, true); - $result = $pdo->fetchAll(PDO::FETCH_ASSOC); - $info = []; - - foreach ($result as $key => $val) { - $info[$key] = current($val); - } - - return $info; - } - - /** - * 得到某个列的数组 - * @access public - * @param Query $query 查询对象 - * @param string $field 字段名 多个字段用逗号分隔 - * @param string $key 索引 - * @return array - */ - public function column(Query $query, $field, $key = '') - { - $options = $query->getOptions(); - - if (empty($options['fetch_sql']) && !empty($options['cache'])) { - // 判断查询缓存 - $cache = $options['cache']; - - $guid = is_string($cache['key']) ? $cache['key'] : $this->getCacheKey($query, $field); - - $result = Container::get('cache')->get($guid); - - if (false !== $result) { - return $result; - } - } - - if (isset($options['field'])) { - $query->removeOption('field'); - } - - if (is_null($field)) { - $field = '*'; - } elseif ($key && '*' != $field) { - $field = $key . ',' . $field; - } - - if (is_string($field)) { - $field = array_map('trim', explode(',', $field)); - } - - $query->setOption('field', $field); - - // 生成查询SQL - $sql = $this->builder->select($query); - - $bind = $query->getBind(); - - if (!empty($options['fetch_sql'])) { - // 获取实际执行的SQL语句 - return $this->getRealSql($sql, $bind); - } - - // 执行查询操作 - $pdo = $this->query($sql, $bind, $options['master'], true); - - if (1 == $pdo->columnCount()) { - $result = $pdo->fetchAll(PDO::FETCH_COLUMN); - } else { - $resultSet = $pdo->fetchAll(PDO::FETCH_ASSOC); - - if ('*' == $field && $key) { - $result = array_column($resultSet, null, $key); - } elseif ($resultSet) { - $fields = array_keys($resultSet[0]); - $count = count($fields); - $key1 = array_shift($fields); - $key2 = $fields ? array_shift($fields) : ''; - $key = $key ?: $key1; - - if (strpos($key, '.')) { - list($alias, $key) = explode('.', $key); - } - - if (3 == $count) { - $column = $key2; - } elseif ($count < 3) { - $column = $key1; - } else { - $column = null; - } - - $result = array_column($resultSet, $column, $key); - } else { - $result = []; - } - } - - if (isset($cache) && isset($guid)) { - // 缓存数据 - $this->cacheData($guid, $result, $cache); - } - - return $result; - } - - /** - * SQL性能分析 - * @access protected - * @param string $sql - * @return array - */ - protected function getExplain($sql) - { - return []; - } -} diff --git a/thinkphp/library/think/db/connector/pgsql.sql b/thinkphp/library/think/db/connector/pgsql.sql deleted file mode 100644 index 5a4442d0..00000000 --- a/thinkphp/library/think/db/connector/pgsql.sql +++ /dev/null @@ -1,153 +0,0 @@ -CREATE OR REPLACE FUNCTION pgsql_type(a_type varchar) RETURNS varchar AS -$BODY$ -DECLARE - v_type varchar; -BEGIN - IF a_type='int8' THEN - v_type:='bigint'; - ELSIF a_type='int4' THEN - v_type:='integer'; - ELSIF a_type='int2' THEN - v_type:='smallint'; - ELSIF a_type='bpchar' THEN - v_type:='char'; - ELSE - v_type:=a_type; - END IF; - RETURN v_type; -END; -$BODY$ -LANGUAGE PLPGSQL; - -CREATE TYPE "public"."tablestruct" AS ( - "fields_key_name" varchar(100), - "fields_name" VARCHAR(200), - "fields_type" VARCHAR(20), - "fields_length" BIGINT, - "fields_not_null" VARCHAR(10), - "fields_default" VARCHAR(500), - "fields_comment" VARCHAR(1000) -); - -CREATE OR REPLACE FUNCTION "public"."table_msg" (a_schema_name varchar, a_table_name varchar) RETURNS SETOF "public"."tablestruct" AS -$body$ -DECLARE - v_ret tablestruct; - v_oid oid; - v_sql varchar; - v_rec RECORD; - v_key varchar; - v_conkey smallint[]; - v_pk varchar[]; - v_len smallint; - v_pos smallint := 1; -BEGIN - SELECT - pg_class.oid INTO v_oid - FROM - pg_class - INNER JOIN pg_namespace ON (pg_class.relnamespace = pg_namespace.oid AND lower(pg_namespace.nspname) = a_schema_name) - WHERE - pg_class.relname=a_table_name; - IF NOT FOUND THEN - RETURN; - END IF; - - SELECT - pg_constraint.conkey INTO v_conkey - FROM - pg_constraint - INNER JOIN pg_class ON pg_constraint.conrelid = pg_class.oid - INNER JOIN pg_attribute ON pg_attribute.attrelid = pg_class.oid - INNER JOIN pg_type ON pg_type.oid = pg_attribute.atttypid - WHERE - pg_class.relname = a_table_name - AND pg_constraint.contype = 'p'; - - v_len := array_length(v_conkey,1) + 1; - WHILE v_pos < v_len LOOP - SELECT - pg_attribute.attname INTO v_key - FROM pg_constraint - INNER JOIN pg_class ON pg_constraint.conrelid = pg_class.oid - INNER JOIN pg_attribute ON pg_attribute.attrelid = pg_class.oid AND pg_attribute.attnum = pg_constraint.conkey [ v_conkey[v_pos] ] - INNER JOIN pg_type ON pg_type.oid = pg_attribute.atttypid - WHERE pg_class.relname = a_table_name AND pg_constraint.contype = 'p'; - v_pk := array_append(v_pk,v_key); - - v_pos := v_pos + 1; - END LOOP; - - v_sql=' - SELECT - pg_attribute.attname AS fields_name, - pg_attribute.attnum AS fields_index, - pgsql_type(pg_type.typname::varchar) AS fields_type, - pg_attribute.atttypmod-4 as fields_length, - CASE WHEN pg_attribute.attnotnull THEN ''not null'' - ELSE '''' - END AS fields_not_null, - pg_attrdef.adsrc AS fields_default, - pg_description.description AS fields_comment - FROM - pg_attribute - INNER JOIN pg_class ON pg_attribute.attrelid = pg_class.oid - INNER JOIN pg_type ON pg_attribute.atttypid = pg_type.oid - LEFT OUTER JOIN pg_attrdef ON pg_attrdef.adrelid = pg_class.oid AND pg_attrdef.adnum = pg_attribute.attnum - LEFT OUTER JOIN pg_description ON pg_description.objoid = pg_class.oid AND pg_description.objsubid = pg_attribute.attnum - WHERE - pg_attribute.attnum > 0 - AND attisdropped <> ''t'' - AND pg_class.oid = ' || v_oid || ' - ORDER BY pg_attribute.attnum' ; - - FOR v_rec IN EXECUTE v_sql LOOP - v_ret.fields_name=v_rec.fields_name; - v_ret.fields_type=v_rec.fields_type; - IF v_rec.fields_length > 0 THEN - v_ret.fields_length:=v_rec.fields_length; - ELSE - v_ret.fields_length:=NULL; - END IF; - v_ret.fields_not_null=v_rec.fields_not_null; - v_ret.fields_default=v_rec.fields_default; - v_ret.fields_comment=v_rec.fields_comment; - - v_ret.fields_key_name=''; - - v_len := array_length(v_pk,1) + 1; - v_pos := 1; - WHILE v_pos < v_len LOOP - IF v_rec.fields_name = v_pk[v_pos] THEN - v_ret.fields_key_name=v_pk[v_pos]; - EXIT; - END IF; - v_pos := v_pos + 1; - END LOOP; - - RETURN NEXT v_ret; - END LOOP; - RETURN ; -END; -$body$ -LANGUAGE 'plpgsql' VOLATILE CALLED ON NULL INPUT SECURITY INVOKER; - -COMMENT ON FUNCTION "public"."table_msg"(a_schema_name varchar, a_table_name varchar) -IS '获得表信息'; - ----重载一个函数 -CREATE OR REPLACE FUNCTION "public"."table_msg" (a_table_name varchar) RETURNS SETOF "public"."tablestruct" AS -$body$ -DECLARE - v_ret tablestruct; -BEGIN - FOR v_ret IN SELECT * FROM table_msg('public',a_table_name) LOOP - RETURN NEXT v_ret; - END LOOP; - RETURN; -END; -$body$ -LANGUAGE 'plpgsql' VOLATILE CALLED ON NULL INPUT SECURITY INVOKER; - -COMMENT ON FUNCTION "public"."table_msg"(a_table_name varchar) -IS '获得表信息'; \ No newline at end of file diff --git a/thinkphp/library/think/db/exception/BindParamException.php b/thinkphp/library/think/db/exception/BindParamException.php deleted file mode 100644 index dce0c7bf..00000000 --- a/thinkphp/library/think/db/exception/BindParamException.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\exception; - -use think\exception\DbException; - -/** - * PDO参数绑定异常 - */ -class BindParamException extends DbException -{ - - /** - * BindParamException constructor. - * @access public - * @param string $message - * @param array $config - * @param string $sql - * @param array $bind - * @param int $code - */ - public function __construct($message, $config, $sql, $bind, $code = 10502) - { - $this->setData('Bind Param', $bind); - parent::__construct($message, $config, $sql, $code); - } -} diff --git a/thinkphp/library/think/db/exception/DataNotFoundException.php b/thinkphp/library/think/db/exception/DataNotFoundException.php deleted file mode 100644 index 883e333e..00000000 --- a/thinkphp/library/think/db/exception/DataNotFoundException.php +++ /dev/null @@ -1,44 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\exception; - -use think\exception\DbException; - -class DataNotFoundException extends DbException -{ - protected $table; - - /** - * DbException constructor. - * @access public - * @param string $message - * @param string $table - * @param array $config - */ - public function __construct($message, $table = '', array $config = []) - { - $this->message = $message; - $this->table = $table; - - $this->setData('Database Config', $config); - } - - /** - * 获取数据表名 - * @access public - * @return string - */ - public function getTable() - { - return $this->table; - } -} diff --git a/thinkphp/library/think/db/exception/ModelNotFoundException.php b/thinkphp/library/think/db/exception/ModelNotFoundException.php deleted file mode 100644 index ae52baf3..00000000 --- a/thinkphp/library/think/db/exception/ModelNotFoundException.php +++ /dev/null @@ -1,45 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\db\exception; - -use think\exception\DbException; - -class ModelNotFoundException extends DbException -{ - protected $model; - - /** - * 构造方法 - * @access public - * @param string $message - * @param string $model - * @param array $config - */ - public function __construct($message, $model = '', array $config = []) - { - $this->message = $message; - $this->model = $model; - - $this->setData('Database Config', $config); - } - - /** - * 获取模型类名 - * @access public - * @return string - */ - public function getModel() - { - return $this->model; - } - -} diff --git a/thinkphp/library/think/debug/Console.php b/thinkphp/library/think/debug/Console.php deleted file mode 100644 index 5cbaa0f2..00000000 --- a/thinkphp/library/think/debug/Console.php +++ /dev/null @@ -1,156 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\debug; - -use think\Container; -use think\Db; -use think\Response; - -/** - * 浏览器调试输出 - */ -class Console -{ - protected $config = [ - 'tabs' => ['base' => '基本', 'file' => '文件', 'info' => '流程', 'notice|error' => '错误', 'sql' => 'SQL', 'debug|log' => '调试'], - ]; - - // 实例化并传入参数 - public function __construct($config = []) - { - if (is_array($config)) { - $this->config = array_merge($this->config, $config); - } - } - - /** - * 调试输出接口 - * @access public - * @param Response $response Response对象 - * @param array $log 日志信息 - * @return bool - */ - public function output(Response $response, array $log = []) - { - $request = Container::get('request'); - $contentType = $response->getHeader('Content-Type'); - $accept = $request->header('accept'); - if (strpos($accept, 'application/json') === 0 || $request->isAjax()) { - return false; - } elseif (!empty($contentType) && strpos($contentType, 'html') === false) { - return false; - } - // 获取基本信息 - $runtime = number_format(microtime(true) - Container::get('app')->getBeginTime(), 10); - $reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞'; - $mem = number_format((memory_get_usage() - Container::get('app')->getBeginMem()) / 1024, 2); - - if ($request->host()) { - $uri = $request->protocol() . ' ' . $request->method() . ' : ' . $request->url(true); - } else { - $uri = 'cmd:' . implode(' ', $_SERVER['argv']); - } - - // 页面Trace信息 - $base = [ - '请求信息' => date('Y-m-d H:i:s', $_SERVER['REQUEST_TIME']) . ' ' . $uri, - '运行时间' => number_format($runtime, 6) . 's [ 吞吐率:' . $reqs . 'req/s ] 内存消耗:' . $mem . 'kb 文件加载:' . count(get_included_files()), - '查询信息' => Db::$queryTimes . ' queries ' . Db::$executeTimes . ' writes ', - '缓存信息' => Container::get('cache')->getReadTimes() . ' reads,' . Container::get('cache')->getWriteTimes() . ' writes', - ]; - - if (session_id()) { - $base['会话信息'] = 'SESSION_ID=' . session_id(); - } - - $info = Container::get('debug')->getFile(true); - - // 页面Trace信息 - $trace = []; - foreach ($this->config['tabs'] as $name => $title) { - $name = strtolower($name); - switch ($name) { - case 'base': // 基本信息 - $trace[$title] = $base; - break; - case 'file': // 文件信息 - $trace[$title] = $info; - break; - default: // 调试信息 - if (strpos($name, '|')) { - // 多组信息 - $names = explode('|', $name); - $result = []; - foreach ($names as $name) { - $result = array_merge($result, isset($log[$name]) ? $log[$name] : []); - } - $trace[$title] = $result; - } else { - $trace[$title] = isset($log[$name]) ? $log[$name] : ''; - } - } - } - - //输出到控制台 - $lines = ''; - foreach ($trace as $type => $msg) { - $lines .= $this->console($type, $msg); - } - $js = << -{$lines} - -JS; - return $js; - } - - protected function console($type, $msg) - { - $type = strtolower($type); - $trace_tabs = array_values($this->config['tabs']); - $line[] = ($type == $trace_tabs[0] || '调试' == $type || '错误' == $type) - ? "console.group('{$type}');" - : "console.groupCollapsed('{$type}');"; - - foreach ((array) $msg as $key => $m) { - switch ($type) { - case '调试': - $var_type = gettype($m); - if (in_array($var_type, ['array', 'string'])) { - $line[] = "console.log(" . json_encode($m) . ");"; - } else { - $line[] = "console.log(" . json_encode(var_export($m, 1)) . ");"; - } - break; - case '错误': - $msg = str_replace("\n", '\n', addslashes(is_scalar($m) ? $m : json_encode($m))); - $style = 'color:#F4006B;font-size:14px;'; - $line[] = "console.error(\"%c{$msg}\", \"{$style}\");"; - break; - case 'sql': - $msg = str_replace("\n", '\n', addslashes($m)); - $style = "color:#009bb4;"; - $line[] = "console.log(\"%c{$msg}\", \"{$style}\");"; - break; - default: - $m = is_string($key) ? $key . ' ' . $m : $key + 1 . ' ' . $m; - $msg = json_encode($m); - $line[] = "console.log({$msg});"; - break; - } - } - $line[] = "console.groupEnd();"; - return implode(PHP_EOL, $line); - } - -} diff --git a/thinkphp/library/think/debug/Html.php b/thinkphp/library/think/debug/Html.php deleted file mode 100644 index a123762e..00000000 --- a/thinkphp/library/think/debug/Html.php +++ /dev/null @@ -1,106 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\debug; - -use think\Container; -use think\Db; -use think\Response; - -/** - * 页面Trace调试 - */ -class Html -{ - protected $config = [ - 'file' => '', - 'tabs' => ['base' => '基本', 'file' => '文件', 'info' => '流程', 'notice|error' => '错误', 'sql' => 'SQL', 'debug|log' => '调试'], - ]; - - // 实例化并传入参数 - public function __construct(array $config = []) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 调试输出接口 - * @access public - * @param Response $response Response对象 - * @param array $log 日志信息 - * @return bool - */ - public function output(Response $response, array $log = []) - { - $request = Container::get('request'); - $contentType = $response->getHeader('Content-Type'); - $accept = $request->header('accept'); - if (strpos($accept, 'application/json') === 0 || $request->isAjax()) { - return false; - } elseif (!empty($contentType) && strpos($contentType, 'html') === false) { - return false; - } - // 获取基本信息 - $runtime = number_format(microtime(true) - Container::get('app')->getBeginTime(), 10, '.', ''); - $reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞'; - $mem = number_format((memory_get_usage() - Container::get('app')->getBeginMem()) / 1024, 2); - - // 页面Trace信息 - if ($request->host()) { - $uri = $request->protocol() . ' ' . $request->method() . ' : ' . $request->url(true); - } else { - $uri = 'cmd:' . implode(' ', $_SERVER['argv']); - } - $base = [ - '请求信息' => date('Y-m-d H:i:s', $_SERVER['REQUEST_TIME']) . ' ' . $uri, - '运行时间' => number_format($runtime, 6) . 's [ 吞吐率:' . $reqs . 'req/s ] 内存消耗:' . $mem . 'kb 文件加载:' . count(get_included_files()), - '查询信息' => Db::$queryTimes . ' queries ' . Db::$executeTimes . ' writes ', - '缓存信息' => Container::get('cache')->getReadTimes() . ' reads,' . Container::get('cache')->getWriteTimes() . ' writes', - ]; - - if (session_id()) { - $base['会话信息'] = 'SESSION_ID=' . session_id(); - } - - $info = Container::get('debug')->getFile(true); - - // 页面Trace信息 - $trace = []; - foreach ($this->config['tabs'] as $name => $title) { - $name = strtolower($name); - switch ($name) { - case 'base': // 基本信息 - $trace[$title] = $base; - break; - case 'file': // 文件信息 - $trace[$title] = $info; - break; - default: // 调试信息 - if (strpos($name, '|')) { - // 多组信息 - $names = explode('|', $name); - $result = []; - foreach ($names as $name) { - $result = array_merge($result, isset($log[$name]) ? $log[$name] : []); - } - $trace[$title] = $result; - } else { - $trace[$title] = isset($log[$name]) ? $log[$name] : ''; - } - } - } - // 调用Trace页面模板 - ob_start(); - include $this->config['file']; - return ob_get_clean(); - } - -} diff --git a/thinkphp/library/think/exception/ClassNotFoundException.php b/thinkphp/library/think/exception/ClassNotFoundException.php deleted file mode 100644 index eb22e730..00000000 --- a/thinkphp/library/think/exception/ClassNotFoundException.php +++ /dev/null @@ -1,32 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -class ClassNotFoundException extends \RuntimeException -{ - protected $class; - public function __construct($message, $class = '') - { - $this->message = $message; - $this->class = $class; - } - - /** - * 获取类名 - * @access public - * @return string - */ - public function getClass() - { - return $this->class; - } -} diff --git a/thinkphp/library/think/exception/DbException.php b/thinkphp/library/think/exception/DbException.php deleted file mode 100644 index 6baafb51..00000000 --- a/thinkphp/library/think/exception/DbException.php +++ /dev/null @@ -1,44 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -use think\Exception; - -/** - * Database相关异常处理类 - */ -class DbException extends Exception -{ - /** - * DbException constructor. - * @access public - * @param string $message - * @param array $config - * @param string $sql - * @param int $code - */ - public function __construct($message, array $config = [], $sql = '', $code = 10500) - { - $this->message = $message; - $this->code = $code; - - $this->setData('Database Status', [ - 'Error Code' => $code, - 'Error Message' => $message, - 'Error SQL' => $sql, - ]); - - unset($config['username'], $config['password']); - $this->setData('Database Config', $config); - } - -} diff --git a/thinkphp/library/think/exception/ErrorException.php b/thinkphp/library/think/exception/ErrorException.php deleted file mode 100644 index 3143b8f7..00000000 --- a/thinkphp/library/think/exception/ErrorException.php +++ /dev/null @@ -1,56 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -use think\Exception; - -/** - * ThinkPHP错误异常 - * 主要用于封装 set_error_handler 和 register_shutdown_function 得到的错误 - * 除开从 think\Exception 继承的功能 - * 其他和PHP系统\ErrorException功能基本一样 - */ -class ErrorException extends Exception -{ - /** - * 用于保存错误级别 - * @var integer - */ - protected $severity; - - /** - * 错误异常构造函数 - * @access public - * @param integer $severity 错误级别 - * @param string $message 错误详细信息 - * @param string $file 出错文件路径 - * @param integer $line 出错行号 - */ - public function __construct($severity, $message, $file, $line) - { - $this->severity = $severity; - $this->message = $message; - $this->file = $file; - $this->line = $line; - $this->code = 0; - } - - /** - * 获取错误级别 - * @access public - * @return integer 错误级别 - */ - final public function getSeverity() - { - return $this->severity; - } -} diff --git a/thinkphp/library/think/exception/Handle.php b/thinkphp/library/think/exception/Handle.php deleted file mode 100644 index 02c85ec1..00000000 --- a/thinkphp/library/think/exception/Handle.php +++ /dev/null @@ -1,306 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -use Exception; -use think\console\Output; -use think\Container; -use think\Response; - -class Handle -{ - protected $render; - protected $ignoreReport = [ - '\\think\\exception\\HttpException', - ]; - - public function setRender($render) - { - $this->render = $render; - } - - /** - * Report or log an exception. - * - * @access public - * @param \Exception $exception - * @return void - */ - public function report(Exception $exception) - { - if (!$this->isIgnoreReport($exception)) { - // 收集异常数据 - if (Container::get('app')->isDebug()) { - $data = [ - 'file' => $exception->getFile(), - 'line' => $exception->getLine(), - 'message' => $this->getMessage($exception), - 'code' => $this->getCode($exception), - ]; - $log = "[{$data['code']}]{$data['message']}[{$data['file']}:{$data['line']}]"; - } else { - $data = [ - 'code' => $this->getCode($exception), - 'message' => $this->getMessage($exception), - ]; - $log = "[{$data['code']}]{$data['message']}"; - } - - if (Container::get('app')->config('log.record_trace')) { - $log .= "\r\n" . $exception->getTraceAsString(); - } - - Container::get('log')->record($log, 'error'); - } - } - - protected function isIgnoreReport(Exception $exception) - { - foreach ($this->ignoreReport as $class) { - if ($exception instanceof $class) { - return true; - } - } - - return false; - } - - /** - * Render an exception into an HTTP response. - * - * @access public - * @param \Exception $e - * @return Response - */ - public function render(Exception $e) - { - if ($this->render && $this->render instanceof \Closure) { - $result = call_user_func_array($this->render, [$e]); - - if ($result) { - return $result; - } - } - - if ($e instanceof HttpException) { - return $this->renderHttpException($e); - } else { - return $this->convertExceptionToResponse($e); - } - } - - /** - * @access public - * @param Output $output - * @param Exception $e - */ - public function renderForConsole(Output $output, Exception $e) - { - if (Container::get('app')->isDebug()) { - $output->setVerbosity(Output::VERBOSITY_DEBUG); - } - - $output->renderException($e); - } - - /** - * @access protected - * @param HttpException $e - * @return Response - */ - protected function renderHttpException(HttpException $e) - { - $status = $e->getStatusCode(); - $template = Container::get('app')->config('http_exception_template'); - - if (!Container::get('app')->isDebug() && !empty($template[$status])) { - return Response::create($template[$status], 'view', $status)->assign(['e' => $e]); - } else { - return $this->convertExceptionToResponse($e); - } - } - - /** - * @access protected - * @param Exception $exception - * @return Response - */ - protected function convertExceptionToResponse(Exception $exception) - { - // 收集异常数据 - if (Container::get('app')->isDebug()) { - // 调试模式,获取详细的错误信息 - $data = [ - 'name' => get_class($exception), - 'file' => $exception->getFile(), - 'line' => $exception->getLine(), - 'message' => $this->getMessage($exception), - 'trace' => $exception->getTrace(), - 'code' => $this->getCode($exception), - 'source' => $this->getSourceCode($exception), - 'datas' => $this->getExtendData($exception), - 'tables' => [ - 'GET Data' => $_GET, - 'POST Data' => $_POST, - 'Files' => $_FILES, - 'Cookies' => $_COOKIE, - 'Session' => isset($_SESSION) ? $_SESSION : [], - 'Server/Request Data' => $_SERVER, - 'Environment Variables' => $_ENV, - 'ThinkPHP Constants' => $this->getConst(), - ], - ]; - } else { - // 部署模式仅显示 Code 和 Message - $data = [ - 'code' => $this->getCode($exception), - 'message' => $this->getMessage($exception), - ]; - - if (!Container::get('app')->config('show_error_msg')) { - // 不显示详细错误信息 - $data['message'] = Container::get('app')->config('error_message'); - } - } - - //保留一层 - while (ob_get_level() > 1) { - ob_end_clean(); - } - - $data['echo'] = ob_get_clean(); - - ob_start(); - extract($data); - include Container::get('app')->config('exception_tmpl'); - - // 获取并清空缓存 - $content = ob_get_clean(); - $response = Response::create($content, 'html'); - - if ($exception instanceof HttpException) { - $statusCode = $exception->getStatusCode(); - $response->header($exception->getHeaders()); - } - - if (!isset($statusCode)) { - $statusCode = 500; - } - $response->code($statusCode); - - return $response; - } - - /** - * 获取错误编码 - * ErrorException则使用错误级别作为错误编码 - * @access protected - * @param \Exception $exception - * @return integer 错误编码 - */ - protected function getCode(Exception $exception) - { - $code = $exception->getCode(); - - if (!$code && $exception instanceof ErrorException) { - $code = $exception->getSeverity(); - } - - return $code; - } - - /** - * 获取错误信息 - * ErrorException则使用错误级别作为错误编码 - * @access protected - * @param \Exception $exception - * @return string 错误信息 - */ - protected function getMessage(Exception $exception) - { - $message = $exception->getMessage(); - - if (PHP_SAPI == 'cli') { - return $message; - } - - $lang = Container::get('lang'); - - if (strpos($message, ':')) { - $name = strstr($message, ':', true); - $message = $lang->has($name) ? $lang->get($name) . strstr($message, ':') : $message; - } elseif (strpos($message, ',')) { - $name = strstr($message, ',', true); - $message = $lang->has($name) ? $lang->get($name) . ':' . substr(strstr($message, ','), 1) : $message; - } elseif ($lang->has($message)) { - $message = $lang->get($message); - } - - return $message; - } - - /** - * 获取出错文件内容 - * 获取错误的前9行和后9行 - * @access protected - * @param \Exception $exception - * @return array 错误文件内容 - */ - protected function getSourceCode(Exception $exception) - { - // 读取前9行和后9行 - $line = $exception->getLine(); - $first = ($line - 9 > 0) ? $line - 9 : 1; - - try { - $contents = file($exception->getFile()); - $source = [ - 'first' => $first, - 'source' => array_slice($contents, $first - 1, 19), - ]; - } catch (Exception $e) { - $source = []; - } - - return $source; - } - - /** - * 获取异常扩展信息 - * 用于非调试模式html返回类型显示 - * @access protected - * @param \Exception $exception - * @return array 异常类定义的扩展数据 - */ - protected function getExtendData(Exception $exception) - { - $data = []; - - if ($exception instanceof \think\Exception) { - $data = $exception->getData(); - } - - return $data; - } - - /** - * 获取常量列表 - * @access private - * @return array 常量列表 - */ - private static function getConst() - { - $const = get_defined_constants(true); - - return isset($const['user']) ? $const['user'] : []; - } -} diff --git a/thinkphp/library/think/exception/HttpException.php b/thinkphp/library/think/exception/HttpException.php deleted file mode 100644 index 01a27fc2..00000000 --- a/thinkphp/library/think/exception/HttpException.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -class HttpException extends \RuntimeException -{ - private $statusCode; - private $headers; - - public function __construct($statusCode, $message = null, \Exception $previous = null, array $headers = [], $code = 0) - { - $this->statusCode = $statusCode; - $this->headers = $headers; - - parent::__construct($message, $code, $previous); - } - - public function getStatusCode() - { - return $this->statusCode; - } - - public function getHeaders() - { - return $this->headers; - } -} diff --git a/thinkphp/library/think/exception/HttpResponseException.php b/thinkphp/library/think/exception/HttpResponseException.php deleted file mode 100644 index 52972867..00000000 --- a/thinkphp/library/think/exception/HttpResponseException.php +++ /dev/null @@ -1,33 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -use think\Response; - -class HttpResponseException extends \RuntimeException -{ - /** - * @var Response - */ - protected $response; - - public function __construct(Response $response) - { - $this->response = $response; - } - - public function getResponse() - { - return $this->response; - } - -} diff --git a/thinkphp/library/think/exception/PDOException.php b/thinkphp/library/think/exception/PDOException.php deleted file mode 100644 index 25240b68..00000000 --- a/thinkphp/library/think/exception/PDOException.php +++ /dev/null @@ -1,40 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -/** - * PDO异常处理类 - * 重新封装了系统的\PDOException类 - */ -class PDOException extends DbException -{ - /** - * PDOException constructor. - * @access public - * @param \PDOException $exception - * @param array $config - * @param string $sql - * @param int $code - */ - public function __construct(\PDOException $exception, array $config, $sql, $code = 10501) - { - $error = $exception->errorInfo; - - $this->setData('PDO Error Info', [ - 'SQLSTATE' => $error[0], - 'Driver Error Code' => isset($error[1]) ? $error[1] : 0, - 'Driver Error Message' => isset($error[2]) ? $error[2] : '', - ]); - - parent::__construct($exception->getMessage(), $config, $sql, $code); - } -} diff --git a/thinkphp/library/think/exception/RouteNotFoundException.php b/thinkphp/library/think/exception/RouteNotFoundException.php deleted file mode 100644 index d22e3a63..00000000 --- a/thinkphp/library/think/exception/RouteNotFoundException.php +++ /dev/null @@ -1,22 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -class RouteNotFoundException extends HttpException -{ - - public function __construct() - { - parent::__construct(404, 'Route Not Found'); - } - -} diff --git a/thinkphp/library/think/exception/TemplateNotFoundException.php b/thinkphp/library/think/exception/TemplateNotFoundException.php deleted file mode 100644 index 42020693..00000000 --- a/thinkphp/library/think/exception/TemplateNotFoundException.php +++ /dev/null @@ -1,33 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -class TemplateNotFoundException extends \RuntimeException -{ - protected $template; - - public function __construct($message, $template = '') - { - $this->message = $message; - $this->template = $template; - } - - /** - * 获取模板文件 - * @access public - * @return string - */ - public function getTemplate() - { - return $this->template; - } -} diff --git a/thinkphp/library/think/exception/ThrowableError.php b/thinkphp/library/think/exception/ThrowableError.php deleted file mode 100644 index 87b6b9d7..00000000 --- a/thinkphp/library/think/exception/ThrowableError.php +++ /dev/null @@ -1,47 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -class ThrowableError extends \ErrorException -{ - public function __construct(\Throwable $e) - { - - if ($e instanceof \ParseError) { - $message = 'Parse error: ' . $e->getMessage(); - $severity = E_PARSE; - } elseif ($e instanceof \TypeError) { - $message = 'Type error: ' . $e->getMessage(); - $severity = E_RECOVERABLE_ERROR; - } else { - $message = 'Fatal error: ' . $e->getMessage(); - $severity = E_ERROR; - } - - parent::__construct( - $message, - $e->getCode(), - $severity, - $e->getFile(), - $e->getLine() - ); - - $this->setTrace($e->getTrace()); - } - - protected function setTrace($trace) - { - $traceReflector = new \ReflectionProperty('Exception', 'trace'); - $traceReflector->setAccessible(true); - $traceReflector->setValue($this, $trace); - } -} diff --git a/thinkphp/library/think/exception/ValidateException.php b/thinkphp/library/think/exception/ValidateException.php deleted file mode 100644 index 81ddfe21..00000000 --- a/thinkphp/library/think/exception/ValidateException.php +++ /dev/null @@ -1,34 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\exception; - -class ValidateException extends \RuntimeException -{ - protected $error; - - public function __construct($error, $code = 0) - { - $this->error = $error; - $this->message = is_array($error) ? implode(PHP_EOL, $error) : $error; - $this->code = $code; - } - - /** - * 获取验证错误信息 - * @access public - * @return array|string - */ - public function getError() - { - return $this->error; - } -} diff --git a/thinkphp/library/think/facade/App.php b/thinkphp/library/think/facade/App.php deleted file mode 100644 index b375aa09..00000000 --- a/thinkphp/library/think/facade/App.php +++ /dev/null @@ -1,63 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\App - * @mixin \think\App - * @method \think\App bind(string $bind) static 绑定模块或者控制器 - * @method void initialize() static 初始化应用 - * @method void init(string $module='') static 初始化模块 - * @method \think\Response run() static 执行应用 - * @method \think\App dispatch(\think\route\Dispatch $dispatch) static 设置当前请求的调度信息 - * @method void log(mixed $log, string $type = 'info') static 记录调试信息 - * @method mixed config(string $name='') static 获取配置参数 - * @method \think\route\Dispatch routeCheck() static URL路由检测(根据PATH_INFO) - * @method \think\App routeMust(bool $must = false) static 设置应用的路由检测机制 - * @method \think\Model model(string $name = '', string $layer = 'model', bool $appendSuffix = false, string $common = 'common') static 实例化模型 - * @method object controller(string $name, string $layer = 'controller', bool $appendSuffix = false, string $empty = '') static 实例化控制器 - * @method \think\Validate validate(string $name = '', string $layer = 'validate', bool $appendSuffix = false, string $common = 'common') static 实例化验证器类 - * @method \think\db\Query db(mixed $config = [], mixed $name = false) static 数据库初始化 - * @method mixed action(string $url, $vars = [], $layer = 'controller', $appendSuffix = false) static 调用模块的操作方法 - * @method string parseClass(string $module, string $layer, string $name, bool $appendSuffix = false) static 解析应用类的类名 - * @method string version() static 获取框架版本 - * @method bool isDebug() static 是否为调试模式 - * @method string getModulePath() static 获取当前模块路径 - * @method void setModulePath(string $path) static 设置当前模块路径 - * @method string getRootPath() static 获取应用根目录 - * @method string getAppPath() static 获取应用类库目录 - * @method string getRuntimePath() static 获取应用运行时目录 - * @method string getThinkPath() static 获取核心框架目录 - * @method string getRoutePath() static 获取路由目录 - * @method string getConfigPath() static 获取应用配置目录 - * @method string getConfigExt() static 获取配置后缀 - * @method string setNamespace(string $namespace) static 设置应用类库命名空间 - * @method string getNamespace() static 获取应用类库命名空间 - * @method string getSuffix() static 是否启用类库后缀 - * @method float getBeginTime() static 获取应用开启时间 - * @method integer getBeginMem() static 获取应用初始内存占用 - * @method \think\Container container() static 获取容器实例 - */ -class App extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'app'; - } -} diff --git a/thinkphp/library/think/facade/Build.php b/thinkphp/library/think/facade/Build.php deleted file mode 100644 index c051bea1..00000000 --- a/thinkphp/library/think/facade/Build.php +++ /dev/null @@ -1,33 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Build - * @mixin \think\Build - * @method void run(array $build = [], string $namespace = 'app', bool $suffix = false) static 根据传入的build资料创建目录和文件 - * @method void module(string $module = '', array $list = [], string $namespace = 'app', bool $suffix = false) static 创建模块 - */ -class Build extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'build'; - } -} diff --git a/thinkphp/library/think/facade/Cache.php b/thinkphp/library/think/facade/Cache.php deleted file mode 100644 index 9743486e..00000000 --- a/thinkphp/library/think/facade/Cache.php +++ /dev/null @@ -1,45 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Cache - * @mixin \think\Cache - * @method \think\cache\Driver connect(array $options = [], mixed $name = false) static 连接缓存 - * @method \think\cache\Driver init(array $options = []) static 初始化缓存 - * @method \think\cache\Driver store(string $name = '') static 切换缓存类型 - * @method bool has(string $name) static 判断缓存是否存在 - * @method mixed get(string $name, mixed $default = false) static 读取缓存 - * @method mixed pull(string $name) static 读取缓存并删除 - * @method mixed set(string $name, mixed $value, int $expire = null) static 设置缓存 - * @method mixed remember(string $name, mixed $value, int $expire = null) static 如果不存在则写入缓存 - * @method mixed inc(string $name, int $step = 1) static 自增缓存(针对数值缓存) - * @method mixed dec(string $name, int $step = 1) static 自减缓存(针对数值缓存) - * @method bool rm(string $name) static 删除缓存 - * @method bool clear(string $tag = null) static 清除缓存 - * @method mixed tag(string $name, mixed $keys = null, bool $overlay = false) static 缓存标签 - * @method object handler() static 返回句柄对象,可执行其它高级方法 - */ -class Cache extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'cache'; - } -} diff --git a/thinkphp/library/think/facade/Config.php b/thinkphp/library/think/facade/Config.php deleted file mode 100644 index 824d2b6a..00000000 --- a/thinkphp/library/think/facade/Config.php +++ /dev/null @@ -1,39 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Config - * @mixin \think\Config - * @method array load(string $file, string $name = '') static 加载配置文件 - * @method bool has(string $name) static 检测配置是否存在 - * @method array pull(string $name) static 获取一级配置参数 - * @method mixed get(string $name,mixed $default = null) static 获取配置参数 - * @method array set(mixed $name, mixed $value = null) static 设置配置参数 - * @method array reset(string $name ='') static 重置配置参数 - * @method void remove(string $name = '') static 移除配置 - * @method void setYaconf(mixed $yaconf) static 设置开启Yaconf 或者指定配置文件名 - */ -class Config extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'config'; - } -} diff --git a/thinkphp/library/think/facade/Cookie.php b/thinkphp/library/think/facade/Cookie.php deleted file mode 100644 index 4d7cea25..00000000 --- a/thinkphp/library/think/facade/Cookie.php +++ /dev/null @@ -1,39 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Cookie - * @mixin \think\Cookie - * @method void init(array $config = []) static 初始化 - * @method bool has(string $name,string $prefix = null) static 判断Cookie数据 - * @method mixed prefix(string $prefix = '') static 设置或者获取cookie作用域(前缀) - * @method mixed get(string $name,string $prefix = null) static Cookie获取 - * @method mixed set(string $name, mixed $value = null, mixed $option = null) static 设置Cookie - * @method void forever(string $name, mixed $value = null, mixed $option = null) static 永久保存Cookie数据 - * @method void delete(string $name, string $prefix = null) static Cookie删除 - * @method void clear($prefix = null) static Cookie清空 - */ -class Cookie extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'cookie'; - } -} diff --git a/thinkphp/library/think/facade/Debug.php b/thinkphp/library/think/facade/Debug.php deleted file mode 100644 index df20086d..00000000 --- a/thinkphp/library/think/facade/Debug.php +++ /dev/null @@ -1,40 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Debug - * @mixin \think\Debug - * @method void remark(string $name, mixed $value = '') static 记录时间(微秒)和内存使用情况 - * @method int getRangeTime(string $start, string $end, mixed $dec = 6) static 统计某个区间的时间(微秒)使用情况 - * @method int getUseTime(int $dec = 6) static 统计从开始到统计时的时间(微秒)使用情况 - * @method string getThroughputRate(string $start, string $end, mixed $dec = 6) static 获取当前访问的吞吐率情况 - * @method string getRangeMem(string $start, string $end, mixed $dec = 2) static 记录区间的内存使用情况 - * @method int getUseMem(int $dec = 2) static 统计从开始到统计时的内存使用情况 - * @method string getMemPeak(string $start, string $end, mixed $dec = 2) static 统计区间的内存峰值情况 - * @method mixed getFile(bool $detail = false) static 获取文件加载信息 - * @method mixed dump(mixed $var, bool $echo = true, string $label = null, int $flags = ENT_SUBSTITUTE) static 浏览器友好的变量输出 - */ -class Debug extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'debug'; - } -} diff --git a/thinkphp/library/think/facade/Env.php b/thinkphp/library/think/facade/Env.php deleted file mode 100644 index 5d047244..00000000 --- a/thinkphp/library/think/facade/Env.php +++ /dev/null @@ -1,34 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Env - * @mixin \think\Env - * @method void load(string $file) static 读取环境变量定义文件 - * @method mixed get(string $name = null, mixed $default = null) static 获取环境变量值 - * @method void set(mixed $env, string $value = null) static 设置环境变量值 - */ -class Env extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'env'; - } -} diff --git a/thinkphp/library/think/facade/Hook.php b/thinkphp/library/think/facade/Hook.php deleted file mode 100644 index e9e12083..00000000 --- a/thinkphp/library/think/facade/Hook.php +++ /dev/null @@ -1,37 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Hook - * @mixin \think\Hook - * @method \think\Hook alias(mixed $name, mixed $behavior = null) static 指定行为标识 - * @method void add(string $tag, mixed $behavior, bool $first = false) static 动态添加行为扩展到某个标签 - * @method void import(array $tags, bool $recursive = true) static 批量导入插件 - * @method array get(string $tag = '') static 获取插件信息 - * @method mixed listen(string $tag, mixed $params = null, bool $once = false) static 监听标签的行为 - * @method mixed exec(mixed $class, mixed $params = null) static 执行行为 - */ -class Hook extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'hook'; - } -} diff --git a/thinkphp/library/think/facade/Lang.php b/thinkphp/library/think/facade/Lang.php deleted file mode 100644 index 56c4777d..00000000 --- a/thinkphp/library/think/facade/Lang.php +++ /dev/null @@ -1,41 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Lang - * @mixin \think\Lang - * @method mixed range($range = '') static 设定当前的语言 - * @method mixed set(mixed $name, string $value = null, string $range = '') static 设置语言定义 - * @method array load(mixed $file, string $range = '') static 加载语言定义 - * @method mixed get(string $name = null, array $vars = [], string $range = '') static 获取语言定义 - * @method mixed has(string $name, string $range = '') static 获取语言定义 - * @method string detect() static 自动侦测设置获取语言选择 - * @method void saveToCookie(string $lang = null) static 设置当前语言到Cookie - * @method void setLangDetectVar(string $var) static 设置语言自动侦测的变量 - * @method void setLangCookieVar(string $var) static 设置语言的cookie保存变量 - * @method void setAllowLangList(array $list) static 设置允许的语言列表 - */ -class Lang extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'lang'; - } -} diff --git a/thinkphp/library/think/facade/Log.php b/thinkphp/library/think/facade/Log.php deleted file mode 100644 index ae627a5c..00000000 --- a/thinkphp/library/think/facade/Log.php +++ /dev/null @@ -1,50 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Log - * @mixin \think\Log - * @method \think\Log init(array $config = []) static 日志初始化 - * @method mixed getLog(string $type = '') static 获取日志信息 - * @method \think\Log record(mixed $msg, string $type = 'info', array $context = []) static 记录日志信息 - * @method \think\Log clear() static 清空日志信息 - * @method \think\Log key(string $key) static 当前日志记录的授权key - * @method \think\Log close() static 关闭本次请求日志写入 - * @method bool check(array $config) static 检查日志写入权限 - * @method bool save() static 保存调试信息 - * @method void write(mixed $msg, string $type = 'info', bool $force = false) static 实时写入日志信息 - * @method void log(string $level,mixed $message, array $context = []) static 记录日志信息 - * @method void emergency(mixed $message, array $context = []) static 记录emergency信息 - * @method void alert(mixed $message, array $context = []) static 记录alert信息 - * @method void critical(mixed $message, array $context = []) static 记录critical信息 - * @method void error(mixed $message, array $context = []) static 记录error信息 - * @method void warning(mixed $message, array $context = []) static 记录warning信息 - * @method void notice(mixed $message, array $context = []) static 记录notice信息 - * @method void info(mixed $message, array $context = []) static 记录info信息 - * @method void debug(mixed $message, array $context = []) static 记录debug信息 - * @method void sql(mixed $message, array $context = []) static 记录sql信息 - */ -class Log extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'log'; - } -} diff --git a/thinkphp/library/think/facade/Middleware.php b/thinkphp/library/think/facade/Middleware.php deleted file mode 100644 index 5e4cac74..00000000 --- a/thinkphp/library/think/facade/Middleware.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Middleware - * @mixin \think\Middleware - * @method void import(array $middlewares = []) static 批量设置中间件 - * @method void add(mixed $middleware) static 添加中间件到队列 - * @method void unshift(mixed $middleware) static 添加中间件到队列开头 - * @method array all() static 获取中间件队列 - * @method \think\Response dispatch(\think\Request $request) static 执行中间件调度 - */ -class Middleware extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'middleware'; - } -} diff --git a/thinkphp/library/think/facade/Request.php b/thinkphp/library/think/facade/Request.php deleted file mode 100644 index 0989253f..00000000 --- a/thinkphp/library/think/facade/Request.php +++ /dev/null @@ -1,97 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Request - * @mixin \think\Request - * @method void hook(mixed $method, mixed $callback = null) static Hook 方法注入 - * @method \think\Request create(string $uri, string $method = 'GET', array $params = [], array $cookie = [], array $files = [], array $server = [], string $content = null) static 创建一个URL请求 - * @method mixed domain(bool $port = false) static 获取当前包含协议、端口的域名 - * @method mixed url(bool $domain = false) static 获取当前完整URL - * @method mixed baseUrl(bool $domain = false) static 获取当前URL - * @method mixed baseFile(bool $domain = false) static 获取当前执行的文件 - * @method mixed root(bool $domain = false) static 获取URL访问根地址 - * @method string rootUrl() static 获取URL访问根目录 - * @method string pathinfo() static 获取当前请求URL的pathinfo信息(含URL后缀) - * @method string path() static 获取当前请求URL的pathinfo信息(不含URL后缀) - * @method string ext() static 当前URL的访问后缀 - * @method float time(bool $float = false) static 获取当前请求的时间 - * @method mixed type() static 当前请求的资源类型 - * @method void mimeType(mixed $type, string $val = '') static 设置资源类型 - * @method string method(bool $method = false) static 当前的请求类型 - * @method bool isGet() static 是否为GET请求 - * @method bool isPost() static 是否为POST请求 - * @method bool isPut() static 是否为PUT请求 - * @method bool isDelete() static 是否为DELTE请求 - * @method bool isHead() static 是否为HEAD请求 - * @method bool isPatch() static 是否为PATCH请求 - * @method bool isOptions() static 是否为OPTIONS请求 - * @method bool isCli() static 是否为cli - * @method bool isCgi() static 是否为cgi - * @method mixed param(string $name = '', mixed $default = null, mixed $filter = '') static 获取当前请求的参数 - * @method mixed route(string $name = '', mixed $default = null, mixed $filter = '') static 设置获取路由参数 - * @method mixed get(string $name = '', mixed $default = null, mixed $filter = '') static 设置获取GET参数 - * @method mixed post(string $name = '', mixed $default = null, mixed $filter = '') static 设置获取POST参数 - * @method mixed put(string $name = '', mixed $default = null, mixed $filter = '') static 设置获取PUT参数 - * @method mixed delete(string $name = '', mixed $default = null, mixed $filter = '') static 设置获取DELETE参数 - * @method mixed patch(string $name = '', mixed $default = null, mixed $filter = '') static 设置获取PATCH参数 - * @method mixed request(string $name = '', mixed $default = null, mixed $filter = '') static 获取request变量 - * @method mixed session(string $name = '', mixed $default = null, mixed $filter = '') static 获取session数据 - * @method mixed cookie(string $name = '', mixed $default = null, mixed $filter = '') static 获取cookie参数 - * @method mixed server(string $name = '', mixed $default = null, mixed $filter = '') static 获取server参数 - * @method mixed env(string $name = '', mixed $default = null, mixed $filter = '') static 获取环境变量 - * @method mixed file(string $name = '') static 获取上传的文件信息 - * @method mixed header(string $name = '', mixed $default = null) static 设置或者获取当前的Header - * @method mixed input(array $data,mixed $name = '', mixed $default = null, mixed $filter = '') static 获取变量 支持过滤和默认值 - * @method mixed filter(mixed $filter = null) static 设置或获取当前的过滤规则 - * @method mixed has(string $name, string $type = 'param', bool $checkEmpty = false) static 是否存在某个请求参数 - * @method mixed only(mixed $name, string $type = 'param') static 获取指定的参数 - * @method mixed except(mixed $name, string $type = 'param') static 排除指定参数获取 - * @method bool isSsl() static 当前是否ssl - * @method bool isAjax(bool $ajax = false) static 当前是否Ajax请求 - * @method bool isPjax(bool $pjax = false) static 当前是否Pjax请求 - * @method mixed ip(int $type = 0, bool $adv = true) static 获取客户端IP地址 - * @method bool isMobile() static 检测是否使用手机访问 - * @method string scheme() static 当前URL地址中的scheme参数 - * @method string query() static 当前请求URL地址中的query参数 - * @method string host(bool $stric = false) static 当前请求的host - * @method string port() static 当前请求URL地址中的port参数 - * @method string protocol() static 当前请求 SERVER_PROTOCOL - * @method string remotePort() static 当前请求 REMOTE_PORT - * @method string contentType() static 当前请求 HTTP_CONTENT_TYPE - * @method array routeInfo() static 获取当前请求的路由信息 - * @method array dispatch() static 获取当前请求的调度信息 - * @method string module() static 获取当前的模块名 - * @method string controller(bool $convert = false) static 获取当前的控制器名 - * @method string action(bool $convert = false) static 获取当前的操作名 - * @method string langset() static 获取当前的语言 - * @method string getContent() static 设置或者获取当前请求的content - * @method string getInput() static 获取当前请求的php://input - * @method string token(string $name = '__token__', mixed $type = 'md5') static 生成请求令牌 - * @method string cache(string $key, mixed $expire = null, array $except = [], string $tag = null) static 设置当前地址的请求缓存 - * @method string getCache() static 读取请求缓存设置 - */ -class Request extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'request'; - } -} diff --git a/thinkphp/library/think/facade/Response.php b/thinkphp/library/think/facade/Response.php deleted file mode 100644 index d7de142f..00000000 --- a/thinkphp/library/think/facade/Response.php +++ /dev/null @@ -1,47 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Response - * @mixin \think\Response - * @method \think\response create(mixed $data = '', string $type = '', int $code = 200, array $header = [], array $options = []) static 创建Response对象 - * @method void send() static 发送数据到客户端 - * @method \think\Response options(mixed $options = []) static 输出的参数 - * @method \think\Response data(mixed $data) static 输出数据设置 - * @method \think\Response header(mixed $name, string $value = null) static 设置响应头 - * @method \think\Response content(mixed $content) static 设置页面输出内容 - * @method \think\Response code(int $code) static 发送HTTP状态 - * @method \think\Response lastModified(string $time) static LastModified - * @method \think\Response expires(string $time) static expires - * @method \think\Response eTag(string $eTag) static eTag - * @method \think\Response cacheControl(string $cache) static 页面缓存控制 - * @method \think\Response contentType(string $contentType, string $charset = 'utf-8') static 页面输出类型 - * @method mixed getHeader(string $name) static 获取头部信息 - * @method mixed getData() static 获取原始数据 - * @method mixed getContent() static 获取输出数据 - * @method int getCode() static 获取状态码 - */ -class Response extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'response'; - } -} diff --git a/thinkphp/library/think/facade/Route.php b/thinkphp/library/think/facade/Route.php deleted file mode 100644 index 6457ba4b..00000000 --- a/thinkphp/library/think/facade/Route.php +++ /dev/null @@ -1,57 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Route - * @mixin \think\Route - * @method \think\route\Domain domain(mixed $name, mixed $rule = '', array $option = [], array $pattern = []) static 注册域名路由 - * @method \think\Route pattern(mixed $name, string $rule = '') static 注册变量规则 - * @method \think\Route option(mixed $name, mixed $value = '') static 注册路由参数 - * @method \think\Route bind(string $bind) static 设置路由绑定 - * @method mixed getBind(string $bind) static 读取路由绑定 - * @method \think\Route name(string $name) static 设置当前路由标识 - * @method mixed getName(string $name) static 读取路由标识 - * @method void setName(string $name) static 批量导入路由标识 - * @method void import(array $rules, string $type = '*') static 导入配置文件的路由规则 - * @method \think\route\RuleItem rule(string $rule, mixed $route, string $method = '*', array $option = [], array $pattern = []) static 注册路由规则 - * @method void rules(array $rules, string $method = '*', array $option = [], array $pattern = []) static 批量注册路由规则 - * @method \think\route\RuleGroup group(string|array $name, array|\Closure $route, array $method = '*', array $option = [], array $pattern = []) static 注册路由分组 - * @method \think\route\RuleItem any(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册路由 - * @method \think\route\RuleItem get(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册路由 - * @method \think\route\RuleItem post(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册路由 - * @method \think\route\RuleItem put(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册路由 - * @method \think\route\RuleItem delete(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册路由 - * @method \think\route\RuleItem patch(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册路由 - * @method \think\route\Resource resource(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册资源路由 - * @method \think\Route controller(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册控制器路由 - * @method \think\Route alias(string $rule, mixed $route, array $option = [], array $pattern = []) static 注册别名路由 - * @method \think\Route setMethodPrefix(mixed $method, string $prefix = '') static 设置不同请求类型下面的方法前缀 - * @method \think\Route rest(string $name, array $resource = []) static rest方法定义和修改 - * @method \think\Route\RuleItem miss(string $route, string $method = '*', array $option = []) static 注册未匹配路由规则后的处理 - * @method \think\Route\RuleItem auto(string $route) static 注册一个自动解析的URL路由 - * @method \think\Route\Dispatch check(string $url, string $depr = '/', bool $must = false, bool $completeMatch = false) static 检测URL路由 - */ -class Route extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'route'; - } -} diff --git a/thinkphp/library/think/facade/Session.php b/thinkphp/library/think/facade/Session.php deleted file mode 100644 index fb9206af..00000000 --- a/thinkphp/library/think/facade/Session.php +++ /dev/null @@ -1,46 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Session - * @mixin \think\Session - * @method void init(array $config = []) static session初始化 - * @method bool has(string $name,string $prefix = null) static 判断session数据 - * @method mixed prefix(string $prefix = '') static 设置或者获取session作用域(前缀) - * @method mixed get(string $name = '',string $prefix = null) static session获取 - * @method mixed pull(string $name,string $prefix = null) static session获取并删除 - * @method void push(string $key, mixed $value) static 添加数据到一个session数组 - * @method void set(string $name, mixed $value , string $prefix = null) static 设置session数据 - * @method void flash(string $name, mixed $value = null) static session设置 下一次请求有效 - * @method void flush() static 清空当前请求的session数据 - * @method void delete(string $name, string $prefix = null) static 删除session数据 - * @method void clear($prefix = null) static 清空session数据 - * @method void start() static 启动session - * @method void destroy() static 销毁session - * @method void pause() static 暂停session - * @method void regenerate(bool $delete = false) static 重新生成session_id - */ -class Session extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'session'; - } -} diff --git a/thinkphp/library/think/facade/Template.php b/thinkphp/library/think/facade/Template.php deleted file mode 100644 index f91b1182..00000000 --- a/thinkphp/library/think/facade/Template.php +++ /dev/null @@ -1,36 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Template - * @mixin \think\Template - * @method void assign(mixed $name, mixed $value = '') static 模板变量赋值 - * @method mixed get(string $name = '') static 获取模板变量 - * @method void fetch(string $template, array $vars = [], array $config = []) static 渲染模板文件 - * @method void display(string $content, array $vars = [], array $config = []) static 渲染模板内容 - * @method mixed layout(string $name, string $replace = '') static 设置模板布局 - */ -class Template extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'template'; - } -} diff --git a/thinkphp/library/think/facade/Url.php b/thinkphp/library/think/facade/Url.php deleted file mode 100644 index 639591ac..00000000 --- a/thinkphp/library/think/facade/Url.php +++ /dev/null @@ -1,33 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Url - * @mixin \think\Url - * @method string build(string $url = '', mixed $vars = '', mixed $suffix = true, mixed $domain = false) static URL生成 支持路由反射 - * @method void root(string $root) static 指定当前生成URL地址的root - */ -class Url extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'url'; - } -} diff --git a/thinkphp/library/think/facade/Validate.php b/thinkphp/library/think/facade/Validate.php deleted file mode 100644 index a6eec23e..00000000 --- a/thinkphp/library/think/facade/Validate.php +++ /dev/null @@ -1,75 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\Validate - * @mixin \think\Validate - * @method \think\Validate make(array $rules = [], array $message = [], array $field = []) static 创建一个验证器类 - * @method \think\Validate rule(mixed $name, mixed $rule = '') static 添加字段验证规则 - * @method void extend(string $type, mixed $callback = null) static 注册扩展验证(类型)规则 - * @method void setTypeMsg(mixed $type, string $msg = null) static 设置验证规则的默认提示信息 - * @method \think\Validate message(mixed $name, string $message = '') static 设置提示信息 - * @method \think\Validate scene(string $name) static 设置验证场景 - * @method bool hasScene(string $name) static 判断是否存在某个验证场景 - * @method \think\Validate batch(bool $batch = true) static 设置批量验证 - * @method \think\Validate only(array $fields) static 指定需要验证的字段列表 - * @method \think\Validate remove(mixed $field, mixed $rule = true) static 移除某个字段的验证规则 - * @method \think\Validate append(mixed $field, mixed $rule = null) static 追加某个字段的验证规则 - * @method bool confirm(mixed $value, mixed $rule, array $data = [], string $field = '') static 验证是否和某个字段的值一致 - * @method bool different(mixed $value, mixed $rule, array $data = []) static 验证是否和某个字段的值是否不同 - * @method bool egt(mixed $value, mixed $rule, array $data = []) static 验证是否大于等于某个值 - * @method bool gt(mixed $value, mixed $rule, array $data = []) static 验证是否大于某个值 - * @method bool elt(mixed $value, mixed $rule, array $data = []) static 验证是否小于等于某个值 - * @method bool lt(mixed $value, mixed $rule, array $data = []) static 验证是否小于某个值 - * @method bool eq(mixed $value, mixed $rule) static 验证是否等于某个值 - * @method bool must(mixed $value, mixed $rule) static 必须验证 - * @method bool is(mixed $value, mixed $rule, array $data = []) static 验证字段值是否为有效格式 - * @method bool ip(mixed $value, mixed $rule) static 验证是否有效IP - * @method bool requireIf(mixed $value, mixed $rule) static 验证某个字段等于某个值的时候必须 - * @method bool requireCallback(mixed $value, mixed $rule,array $data) static 通过回调方法验证某个字段是否必须 - * @method bool requireWith(mixed $value, mixed $rule, array $data) static 验证某个字段有值的情况下必须 - * @method bool filter(mixed $value, mixed $rule) static 使用filter_var方式验证 - * @method bool in(mixed $value, mixed $rule) static 验证是否在范围内 - * @method bool notIn(mixed $value, mixed $rule) static 验证是否不在范围内 - * @method bool between(mixed $value, mixed $rule) static between验证数据 - * @method bool notBetween(mixed $value, mixed $rule) static 使用notbetween验证数据 - * @method bool length(mixed $value, mixed $rule) static 验证数据长度 - * @method bool max(mixed $value, mixed $rule) static 验证数据最大长度 - * @method bool min(mixed $value, mixed $rule) static 验证数据最小长度 - * @method bool after(mixed $value, mixed $rule) static 验证日期 - * @method bool before(mixed $value, mixed $rule) static 验证日期 - * @method bool expire(mixed $value, mixed $rule) static 验证有效期 - * @method bool allowIp(mixed $value, mixed $rule) static 验证IP许可 - * @method bool denyIp(mixed $value, mixed $rule) static 验证IP禁用 - * @method bool regex(mixed $value, mixed $rule) static 使用正则验证数据 - * @method bool token(mixed $value, mixed $rule) static 验证表单令牌 - * @method bool dateFormat(mixed $value, mixed $rule) static 验证时间和日期是否符合指定格式 - * @method bool unique(mixed $value, mixed $rule, array $data = [], string $field = '') static 验证是否唯一 - * @method bool check(array $data, mixed $rules = [], string $scene = '') static 数据自动验证 - * @method mixed getError(mixed $value, mixed $rule) static 获取错误信息 - */ -class Validate extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'validate'; - } - -} diff --git a/thinkphp/library/think/facade/View.php b/thinkphp/library/think/facade/View.php deleted file mode 100644 index 08433917..00000000 --- a/thinkphp/library/think/facade/View.php +++ /dev/null @@ -1,40 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\facade; - -use think\Facade; - -/** - * @see \think\View - * @mixin \think\View - * @method \think\View init(mixed $engine = [], array $replace = []) static 初始化 - * @method \think\View share(mixed $name, mixed $value = '') static 模板变量静态赋值 - * @method \think\View assign(mixed $name, mixed $value = '') static 模板变量赋值 - * @method \think\View config(mixed $name, mixed $value = '') static 配置模板引擎 - * @method \think\View exists(mixed $name) static 检查模板是否存在 - * @method \think\View filter(Callable $filter) static 视图内容过滤 - * @method \think\View engine(mixed $engine = []) static 设置当前模板解析的引擎 - * @method string fetch(string $template = '', array $vars = [], array $config = [], bool $renderContent = false) static 解析和获取模板内容 - * @method string display(string $content = '', array $vars = [], array $config = []) static 渲染内容输出 - */ -class View extends Facade -{ - /** - * 获取当前Facade对应类名(或者已经绑定的容器对象标识) - * @access protected - * @return string - */ - protected static function getFacadeClass() - { - return 'view'; - } -} diff --git a/thinkphp/library/think/log/driver/File.php b/thinkphp/library/think/log/driver/File.php deleted file mode 100644 index 3f6522d1..00000000 --- a/thinkphp/library/think/log/driver/File.php +++ /dev/null @@ -1,287 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\log\driver; - -use think\App; - -/** - * 本地化调试输出到文件 - */ -class File -{ - protected $config = [ - 'time_format' => 'c', - 'single' => false, - 'file_size' => 2097152, - 'path' => '', - 'apart_level' => [], - 'max_files' => 0, - 'json' => false, - ]; - - protected $app; - - // 实例化并传入参数 - public function __construct(App $app, $config = []) - { - $this->app = $app; - - if (is_array($config)) { - $this->config = array_merge($this->config, $config); - } - - if (empty($this->config['path'])) { - $this->config['path'] = $this->app->getRuntimePath() . 'log' . DIRECTORY_SEPARATOR; - } elseif (substr($this->config['path'], -1) != DIRECTORY_SEPARATOR) { - $this->config['path'] .= DIRECTORY_SEPARATOR; - } - } - - /** - * 日志写入接口 - * @access public - * @param array $log 日志信息 - * @param bool $append 是否追加请求信息 - * @return bool - */ - public function save(array $log = [], $append = false) - { - $destination = $this->getMasterLogFile(); - - $path = dirname($destination); - !is_dir($path) && mkdir($path, 0755, true); - - $info = []; - - foreach ($log as $type => $val) { - - foreach ($val as $msg) { - if (!is_string($msg)) { - $msg = var_export($msg, true); - } - - $info[$type][] = $this->config['json'] ? $msg : '[ ' . $type . ' ] ' . $msg; - } - - if (!$this->config['json'] && (true === $this->config['apart_level'] || in_array($type, $this->config['apart_level']))) { - // 独立记录的日志级别 - $filename = $this->getApartLevelFile($path, $type); - - $this->write($info[$type], $filename, true, $append); - - unset($info[$type]); - } - } - - if ($info) { - return $this->write($info, $destination, false, $append); - } - - return true; - } - - /** - * 日志写入 - * @access protected - * @param array $message 日志信息 - * @param string $destination 日志文件 - * @param bool $apart 是否独立文件写入 - * @param bool $append 是否追加请求信息 - * @return bool - */ - protected function write($message, $destination, $apart = false, $append = false) - { - // 检测日志文件大小,超过配置大小则备份日志文件重新生成 - $this->checkLogSize($destination); - - // 日志信息封装 - $info['timestamp'] = date($this->config['time_format']); - - foreach ($message as $type => $msg) { - $msg = is_array($msg) ? implode(PHP_EOL, $msg) : $msg; - if (PHP_SAPI == 'cli') { - $info['msg'] = $msg; - $info['type'] = $type; - } else { - $info[$type] = $msg; - } - } - - if (PHP_SAPI == 'cli') { - $message = $this->parseCliLog($info); - } else { - // 添加调试日志 - $this->getDebugLog($info, $append, $apart); - - $message = $this->parseLog($info); - } - - return error_log($message, 3, $destination); - } - - /** - * 获取主日志文件名 - * @access public - * @return string - */ - protected function getMasterLogFile() - { - if ($this->config['max_files']) { - $files = glob($this->config['path'] . '*.log'); - - try { - if (count($files) > $this->config['max_files']) { - unlink($files[0]); - } - } catch (\Exception $e) { - } - } - - $cli = PHP_SAPI == 'cli' ? '_cli' : ''; - - if ($this->config['single']) { - $name = is_string($this->config['single']) ? $this->config['single'] : 'single'; - - $destination = $this->config['path'] . $name . $cli . '.log'; - } else { - if ($this->config['max_files']) { - $filename = date('Ymd') . $cli . '.log'; - } else { - $filename = date('Ym') . DIRECTORY_SEPARATOR . date('d') . $cli . '.log'; - } - - $destination = $this->config['path'] . $filename; - } - - return $destination; - } - - /** - * 获取独立日志文件名 - * @access public - * @param string $path 日志目录 - * @param string $type 日志类型 - * @return string - */ - protected function getApartLevelFile($path, $type) - { - $cli = PHP_SAPI == 'cli' ? '_cli' : ''; - - if ($this->config['single']) { - $name = is_string($this->config['single']) ? $this->config['single'] : 'single'; - } elseif ($this->config['max_files']) { - $name = date('Ymd'); - } else { - $name = date('d'); - } - - return $path . DIRECTORY_SEPARATOR . $name . '_' . $type . $cli . '.log'; - } - - /** - * 检查日志文件大小并自动生成备份文件 - * @access protected - * @param string $destination 日志文件 - * @return void - */ - protected function checkLogSize($destination) - { - if (is_file($destination) && floor($this->config['file_size']) <= filesize($destination)) { - try { - rename($destination, dirname($destination) . DIRECTORY_SEPARATOR . time() . '-' . basename($destination)); - } catch (\Exception $e) { - } - } - } - - /** - * CLI日志解析 - * @access protected - * @param array $info 日志信息 - * @return string - */ - protected function parseCliLog($info) - { - if ($this->config['json']) { - $message = json_encode($info, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . PHP_EOL; - } else { - $now = $info['timestamp']; - unset($info['timestamp']); - - $message = implode(PHP_EOL, $info); - - $message = "[{$now}]" . $message . PHP_EOL; - } - - return $message; - } - - /** - * 解析日志 - * @access protected - * @param array $info 日志信息 - * @return string - */ - protected function parseLog($info) - { - $requestInfo = [ - 'ip' => $this->app['request']->ip(), - 'method' => $this->app['request']->method(), - 'host' => $this->app['request']->host(), - 'uri' => $this->app['request']->url(), - ]; - - if ($this->config['json']) { - $info = $requestInfo + $info; - return json_encode($info, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) . PHP_EOL; - } - - array_unshift($info, "---------------------------------------------------------------" . PHP_EOL . "\r\n[{$info['timestamp']}] {$requestInfo['ip']} {$requestInfo['method']} {$requestInfo['host']}{$requestInfo['uri']}"); - unset($info['timestamp']); - - return implode(PHP_EOL, $info) . PHP_EOL; - } - - protected function getDebugLog(&$info, $append, $apart) - { - if ($this->app->isDebug() && $append) { - - if ($this->config['json']) { - // 获取基本信息 - $runtime = round(microtime(true) - $this->app->getBeginTime(), 10); - $reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞'; - - $memory_use = number_format((memory_get_usage() - $this->app->getBeginMem()) / 1024, 2); - - $info = [ - 'runtime' => number_format($runtime, 6) . 's', - 'reqs' => $reqs . 'req/s', - 'memory' => $memory_use . 'kb', - 'file' => count(get_included_files()), - ] + $info; - - } elseif (!$apart) { - // 增加额外的调试信息 - $runtime = round(microtime(true) - $this->app->getBeginTime(), 10); - $reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞'; - - $memory_use = number_format((memory_get_usage() - $this->app->getBeginMem()) / 1024, 2); - - $time_str = '[运行时间:' . number_format($runtime, 6) . 's] [吞吐率:' . $reqs . 'req/s]'; - $memory_str = ' [内存消耗:' . $memory_use . 'kb]'; - $file_load = ' [文件加载:' . count(get_included_files()) . ']'; - - array_unshift($info, $time_str . $memory_str . $file_load); - } - } - } -} diff --git a/thinkphp/library/think/log/driver/Socket.php b/thinkphp/library/think/log/driver/Socket.php deleted file mode 100644 index 5e4f8bfd..00000000 --- a/thinkphp/library/think/log/driver/Socket.php +++ /dev/null @@ -1,279 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\log\driver; - -use think\App; - -/** - * github: https://github.com/luofei614/SocketLog - * @author luofei614 - */ -class Socket -{ - public $port = 1116; //SocketLog 服务的http的端口号 - - protected $config = [ - // socket服务器地址 - 'host' => 'localhost', - // 是否显示加载的文件列表 - 'show_included_files' => false, - // 日志强制记录到配置的client_id - 'force_client_ids' => [], - // 限制允许读取日志的client_id - 'allow_client_ids' => [], - //输出到浏览器默认展开的日志级别 - 'expand_level' => ['debug'], - ]; - - protected $css = [ - 'sql' => 'color:#009bb4;', - 'sql_warn' => 'color:#009bb4;font-size:14px;', - 'error' => 'color:#f4006b;font-size:14px;', - 'page' => 'color:#40e2ff;background:#171717;', - 'big' => 'font-size:20px;color:red;', - ]; - - protected $allowForceClientIds = []; //配置强制推送且被授权的client_id - protected $app; - - /** - * 架构函数 - * @access public - * @param array $config 缓存参数 - */ - public function __construct(App $app, array $config = []) - { - $this->app = $app; - - if (!empty($config)) { - $this->config = array_merge($this->config, $config); - } - } - - /** - * 调试输出接口 - * @access public - * @param array $log 日志信息 - * @return bool - */ - public function save(array $log = [], $append = false) - { - if (!$this->check()) { - return false; - } - - $trace = []; - - if ($this->app->isDebug()) { - $runtime = round(microtime(true) - $this->app->getBeginTime(), 10); - $reqs = $runtime > 0 ? number_format(1 / $runtime, 2) : '∞'; - $time_str = ' [运行时间:' . number_format($runtime, 6) . 's][吞吐率:' . $reqs . 'req/s]'; - $memory_use = number_format((memory_get_usage() - $this->app->getBeginMem()) / 1024, 2); - $memory_str = ' [内存消耗:' . $memory_use . 'kb]'; - $file_load = ' [文件加载:' . count(get_included_files()) . ']'; - - if (isset($_SERVER['HTTP_HOST'])) { - $current_uri = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; - } else { - $current_uri = 'cmd:' . implode(' ', $_SERVER['argv']); - } - - // 基本信息 - $trace[] = [ - 'type' => 'group', - 'msg' => $current_uri . $time_str . $memory_str . $file_load, - 'css' => $this->css['page'], - ]; - } - - foreach ($log as $type => $val) { - $trace[] = [ - 'type' => in_array($type, $this->config['expand_level']) ? 'group' : 'groupCollapsed', - 'msg' => '[ ' . $type . ' ]', - 'css' => isset($this->css[$type]) ? $this->css[$type] : '', - ]; - - foreach ($val as $msg) { - if (!is_string($msg)) { - $msg = var_export($msg, true); - } - $trace[] = [ - 'type' => 'log', - 'msg' => $msg, - 'css' => '', - ]; - } - - $trace[] = [ - 'type' => 'groupEnd', - 'msg' => '', - 'css' => '', - ]; - } - - if ($this->config['show_included_files']) { - $trace[] = [ - 'type' => 'groupCollapsed', - 'msg' => '[ file ]', - 'css' => '', - ]; - - $trace[] = [ - 'type' => 'log', - 'msg' => implode("\n", get_included_files()), - 'css' => '', - ]; - - $trace[] = [ - 'type' => 'groupEnd', - 'msg' => '', - 'css' => '', - ]; - } - - $trace[] = [ - 'type' => 'groupEnd', - 'msg' => '', - 'css' => '', - ]; - - $tabid = $this->getClientArg('tabid'); - - if (!$client_id = $this->getClientArg('client_id')) { - $client_id = ''; - } - - if (!empty($this->allowForceClientIds)) { - //强制推送到多个client_id - foreach ($this->allowForceClientIds as $force_client_id) { - $client_id = $force_client_id; - $this->sendToClient($tabid, $client_id, $trace, $force_client_id); - } - } else { - $this->sendToClient($tabid, $client_id, $trace, ''); - } - - return true; - } - - /** - * 发送给指定客户端 - * @access protected - * @author Zjmainstay - * @param $tabid - * @param $client_id - * @param $logs - * @param $force_client_id - */ - protected function sendToClient($tabid, $client_id, $logs, $force_client_id) - { - $logs = [ - 'tabid' => $tabid, - 'client_id' => $client_id, - 'logs' => $logs, - 'force_client_id' => $force_client_id, - ]; - - $msg = @json_encode($logs); - $address = '/' . $client_id; //将client_id作为地址, server端通过地址判断将日志发布给谁 - - $this->send($this->config['host'], $msg, $address); - } - - protected function check() - { - $tabid = $this->getClientArg('tabid'); - - //是否记录日志的检查 - if (!$tabid && !$this->config['force_client_ids']) { - return false; - } - - //用户认证 - $allow_client_ids = $this->config['allow_client_ids']; - - if (!empty($allow_client_ids)) { - //通过数组交集得出授权强制推送的client_id - $this->allowForceClientIds = array_intersect($allow_client_ids, $this->config['force_client_ids']); - if (!$tabid && count($this->allowForceClientIds)) { - return true; - } - - $client_id = $this->getClientArg('client_id'); - if (!in_array($client_id, $allow_client_ids)) { - return false; - } - } else { - $this->allowForceClientIds = $this->config['force_client_ids']; - } - - return true; - } - - protected function getClientArg($name) - { - static $args = []; - - $key = 'HTTP_USER_AGENT'; - - if (isset($_SERVER['HTTP_SOCKETLOG'])) { - $key = 'HTTP_SOCKETLOG'; - } - - if (!isset($_SERVER[$key])) { - return; - } - - if (empty($args)) { - if (!preg_match('/SocketLog\((.*?)\)/', $_SERVER[$key], $match)) { - $args = ['tabid' => null]; - return; - } - parse_str($match[1], $args); - } - - if (isset($args[$name])) { - return $args[$name]; - } - - return; - } - - /** - * @access protected - * @param string $host - $host of socket server - * @param string $message - 发送的消息 - * @param string $address - 地址 - * @return bool - */ - protected function send($host, $message = '', $address = '/') - { - $url = 'http://' . $host . ':' . $this->port . $address; - $ch = curl_init(); - - curl_setopt($ch, CURLOPT_URL, $url); - curl_setopt($ch, CURLOPT_POST, true); - curl_setopt($ch, CURLOPT_POSTFIELDS, $message); - curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); - curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 1); - curl_setopt($ch, CURLOPT_TIMEOUT, 10); - - $headers = [ - "Content-Type: application/json;charset=UTF-8", - ]; - - curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); //设置header - - return curl_exec($ch); - } - -} diff --git a/thinkphp/library/think/model/Collection.php b/thinkphp/library/think/model/Collection.php deleted file mode 100644 index fc0967cf..00000000 --- a/thinkphp/library/think/model/Collection.php +++ /dev/null @@ -1,118 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model; - -use think\Collection as BaseCollection; -use think\Model; - -class Collection extends BaseCollection -{ - /** - * 延迟预载入关联查询 - * @access public - * @param mixed $relation 关联 - * @return $this - */ - public function load($relation) - { - if (!$this->isEmpty()) { - $item = current($this->items); - $item->eagerlyResultSet($this->items, $relation); - } - - return $this; - } - - /** - * 绑定(一对一)关联属性到当前模型 - * @access protected - * @param string $relation 关联名称 - * @param array $attrs 绑定属性 - * @return $this - */ - public function bindAttr($relation, array $attrs = []) - { - $this->each(function (Model $model) use ($relation, $attrs) { - $model->bindAttr($relation, $attrs); - }); - - return $this; - } - - /** - * 设置需要隐藏的输出属性 - * @access public - * @param array $hidden 属性列表 - * @param bool $override 是否覆盖 - * @return $this - */ - public function hidden($hidden = [], $override = false) - { - $this->each(function ($model) use ($hidden, $override) { - /** @var Model $model */ - $model->hidden($hidden, $override); - }); - - return $this; - } - - /** - * 设置需要输出的属性 - * @access public - * @param array $visible - * @param bool $override 是否覆盖 - * @return $this - */ - public function visible($visible = [], $override = false) - { - $this->each(function ($model) use ($visible, $override) { - /** @var Model $model */ - $model->visible($visible, $override); - }); - - return $this; - } - - /** - * 设置需要追加的输出属性 - * @access public - * @param array $append 属性列表 - * @param bool $override 是否覆盖 - * @return $this - */ - public function append($append = [], $override = false) - { - $this->each(function ($model) use ($append, $override) { - /** @var Model $model */ - $model && $model->append($append, $override); - }); - - return $this; - } - - /** - * 设置数据字段获取器 - * @access public - * @param string|array $name 字段名 - * @param callable $callback 闭包获取器 - * @return $this - */ - public function withAttr($name, $callback = null) - { - $this->each(function ($model) use ($name, $callback) { - /** @var Model $model */ - $model && $model->withAttribute($name, $callback); - }); - - return $this; - } -} diff --git a/thinkphp/library/think/model/Pivot.php b/thinkphp/library/think/model/Pivot.php deleted file mode 100644 index a3a395e3..00000000 --- a/thinkphp/library/think/model/Pivot.php +++ /dev/null @@ -1,42 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model; - -use think\Model; - -class Pivot extends Model -{ - - /** @var Model */ - public $parent; - - protected $autoWriteTimestamp = false; - - /** - * 架构函数 - * @access public - * @param array|object $data 数据 - * @param Model $parent 上级模型 - * @param string $table 中间数据表名 - */ - public function __construct($data = [], Model $parent = null, $table = '') - { - $this->parent = $parent; - - if (is_null($this->name)) { - $this->name = $table; - } - - parent::__construct($data); - } - -} diff --git a/thinkphp/library/think/model/Relation.php b/thinkphp/library/think/model/Relation.php deleted file mode 100644 index ac6dd4cf..00000000 --- a/thinkphp/library/think/model/Relation.php +++ /dev/null @@ -1,187 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model; - -use think\db\Query; -use think\Exception; -use think\Model; - -/** - * Class Relation - * @package think\model - * - * @mixin Query - */ -abstract class Relation -{ - // 父模型对象 - protected $parent; - /** @var Model 当前关联的模型类 */ - protected $model; - /** @var Query 关联模型查询对象 */ - protected $query; - // 关联表外键 - protected $foreignKey; - // 关联表主键 - protected $localKey; - // 基础查询 - protected $baseQuery; - // 是否为自关联 - protected $selfRelation; - - /** - * 获取关联的所属模型 - * @access public - * @return Model - */ - public function getParent() - { - return $this->parent; - } - - /** - * 获取当前的关联模型类的实例 - * @access public - * @return Model - */ - public function getModel() - { - return $this->query->getModel(); - } - - /** - * 获取当前的关联模型类的实例 - * @access public - * @return Query - */ - public function getQuery() - { - return $this->query; - } - - /** - * 设置当前关联为自关联 - * @access public - * @param bool $self 是否自关联 - * @return $this - */ - public function selfRelation($self = true) - { - $this->selfRelation = $self; - return $this; - } - - /** - * 当前关联是否为自关联 - * @access public - * @return bool - */ - public function isSelfRelation() - { - return $this->selfRelation; - } - - /** - * 封装关联数据集 - * @access public - * @param array $resultSet 数据集 - * @return mixed - */ - protected function resultSetBuild($resultSet) - { - return (new $this->model)->toCollection($resultSet); - } - - protected function getQueryFields($model) - { - $fields = $this->query->getOptions('field'); - return $this->getRelationQueryFields($fields, $model); - } - - protected function getRelationQueryFields($fields, $model) - { - if ($fields) { - - if (is_string($fields)) { - $fields = explode(',', $fields); - } - - foreach ($fields as &$field) { - if (false === strpos($field, '.')) { - $field = $model . '.' . $field; - } - } - } else { - $fields = $model . '.*'; - } - - return $fields; - } - - protected function getQueryWhere(&$where, $relation) - { - foreach ($where as $key => &$val) { - if (is_string($key)) { - $where[] = [false === strpos($key, '.') ? $relation . '.' . $key : $key, '=', $val]; - unset($where[$key]); - } elseif (isset($val[0]) && false === strpos($val[0], '.')) { - $val[0] = $relation . '.' . $val[0]; - } - } - } - - /** - * 更新数据 - * @access public - * @param array $data 更新数据 - * @return integer|string - */ - public function update(array $data = []) - { - return $this->query->update($data); - } - - /** - * 删除记录 - * @access public - * @param mixed $data 表达式 true 表示强制删除 - * @return int - * @throws Exception - * @throws PDOException - */ - public function delete($data = null) - { - return $this->query->delete($data); - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - {} - - public function __call($method, $args) - { - if ($this->query) { - // 执行基础查询 - $this->baseQuery(); - - $result = call_user_func_array([$this->query->getModel(), $method], $args); - - return $result === $this->query && !in_array(strtolower($method), ['fetchsql', 'fetchpdo']) ? $this : $result; - } else { - throw new Exception('method not exists:' . __CLASS__ . '->' . $method); - } - } -} diff --git a/thinkphp/library/think/model/concern/Attribute.php b/thinkphp/library/think/model/concern/Attribute.php deleted file mode 100644 index 66627b38..00000000 --- a/thinkphp/library/think/model/concern/Attribute.php +++ /dev/null @@ -1,656 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\concern; - -use InvalidArgumentException; -use think\db\Expression; -use think\Exception; -use think\Loader; -use think\model\Relation; - -trait Attribute -{ - /** - * 数据表主键 复合主键使用数组定义 - * @var string|array - */ - protected $pk = 'id'; - - /** - * 数据表字段信息 留空则自动获取 - * @var array - */ - protected $field = []; - - /** - * JSON数据表字段 - * @var array - */ - protected $json = []; - - /** - * JSON数据取出是否需要转换为数组 - * @var bool - */ - protected $jsonAssoc = false; - - /** - * JSON数据表字段类型 - * @var array - */ - protected $jsonType = []; - - /** - * 数据表废弃字段 - * @var array - */ - protected $disuse = []; - - /** - * 数据表只读字段 - * @var array - */ - protected $readonly = []; - - /** - * 数据表字段类型 - * @var array - */ - protected $type = []; - - /** - * 当前模型数据 - * @var array - */ - private $data = []; - - /** - * 修改器执行记录 - * @var array - */ - private $set = []; - - /** - * 原始数据 - * @var array - */ - private $origin = []; - - /** - * 动态获取器 - * @var array - */ - private $withAttr = []; - - /** - * 获取模型对象的主键 - * @access public - * @return string|array - */ - public function getPk() - { - return $this->pk; - } - - /** - * 判断一个字段名是否为主键字段 - * @access public - * @param string $key 名称 - * @return bool - */ - protected function isPk($key) - { - $pk = $this->getPk(); - if (is_string($pk) && $pk == $key) { - return true; - } elseif (is_array($pk) && in_array($key, $pk)) { - return true; - } - - return false; - } - - /** - * 获取模型对象的主键值 - * @access public - * @return integer - */ - public function getKey() - { - $pk = $this->getPk(); - if (is_string($pk) && array_key_exists($pk, $this->data)) { - return $this->data[$pk]; - } - - return; - } - - /** - * 设置允许写入的字段 - * @access public - * @param array|string|true $field 允许写入的字段 如果为true只允许写入数据表字段 - * @return $this - */ - public function allowField($field) - { - if (is_string($field)) { - $field = explode(',', $field); - } - - $this->field = $field; - - return $this; - } - - /** - * 设置只读字段 - * @access public - * @param array|string $field 只读字段 - * @return $this - */ - public function readonly($field) - { - if (is_string($field)) { - $field = explode(',', $field); - } - - $this->readonly = $field; - - return $this; - } - - /** - * 设置数据对象值 - * @access public - * @param mixed $data 数据或者属性名 - * @param mixed $value 值 - * @return $this - */ - public function data($data, $value = null) - { - if (is_string($data)) { - $this->data[$data] = $value; - return $this; - } - - // 清空数据 - $this->data = []; - - if (is_object($data)) { - $data = get_object_vars($data); - } - - if ($this->disuse) { - // 废弃字段 - foreach ((array) $this->disuse as $key) { - if (array_key_exists($key, $data)) { - unset($data[$key]); - } - } - } - - if (true === $value) { - // 数据对象赋值 - foreach ($data as $key => $value) { - $this->setAttr($key, $value, $data); - } - } elseif (is_array($value)) { - foreach ($value as $name) { - if (isset($data[$name])) { - $this->data[$name] = $data[$name]; - } - } - } else { - $this->data = $data; - } - - return $this; - } - - /** - * 批量设置数据对象值 - * @access public - * @param mixed $data 数据 - * @param bool $set 是否需要进行数据处理 - * @return $this - */ - public function appendData($data, $set = false) - { - if ($set) { - // 进行数据处理 - foreach ($data as $key => $value) { - $this->setAttr($key, $value, $data); - } - } else { - if (is_object($data)) { - $data = get_object_vars($data); - } - - $this->data = array_merge($this->data, $data); - } - - return $this; - } - - /** - * 获取对象原始数据 如果不存在指定字段返回null - * @access public - * @param string $name 字段名 留空获取全部 - * @return mixed - */ - public function getOrigin($name = null) - { - if (is_null($name)) { - return $this->origin; - } - return array_key_exists($name, $this->origin) ? $this->origin[$name] : null; - } - - /** - * 获取对象原始数据 如果不存在指定字段返回false - * @access public - * @param string $name 字段名 留空获取全部 - * @return mixed - * @throws InvalidArgumentException - */ - public function getData($name = null) - { - if (is_null($name)) { - return $this->data; - } elseif (array_key_exists($name, $this->data)) { - return $this->data[$name]; - } elseif (array_key_exists($name, $this->relation)) { - return $this->relation[$name]; - } - throw new InvalidArgumentException('property not exists:' . static::class . '->' . $name); - } - - /** - * 获取变化的数据 并排除只读数据 - * @access public - * @return array - */ - public function getChangedData() - { - if ($this->force) { - $data = $this->data; - } else { - $data = array_udiff_assoc($this->data, $this->origin, function ($a, $b) { - if ((empty($a) || empty($b)) && $a !== $b) { - return 1; - } - - return is_object($a) || $a != $b ? 1 : 0; - }); - } - - if (!empty($this->readonly)) { - // 只读字段不允许更新 - foreach ($this->readonly as $key => $field) { - if (isset($data[$field])) { - unset($data[$field]); - } - } - } - - return $data; - } - - /** - * 修改器 设置数据对象值 - * @access public - * @param string $name 属性名 - * @param mixed $value 属性值 - * @param array $data 数据 - * @return void - */ - public function setAttr($name, $value, $data = []) - { - if (isset($this->set[$name])) { - return; - } - - if (is_null($value) && $this->autoWriteTimestamp && in_array($name, [$this->createTime, $this->updateTime])) { - // 自动写入的时间戳字段 - $value = $this->autoWriteTimestamp($name); - } else { - // 检测修改器 - $method = 'set' . Loader::parseName($name, 1) . 'Attr'; - - if (method_exists($this, $method)) { - $origin = $this->data; - $value = $this->$method($value, array_merge($this->data, $data)); - - $this->set[$name] = true; - if (is_null($value) && $origin !== $this->data) { - return; - } - } elseif (isset($this->type[$name])) { - // 类型转换 - $value = $this->writeTransform($value, $this->type[$name]); - } - } - - // 设置数据对象属性 - $this->data[$name] = $value; - } - - /** - * 是否需要自动写入时间字段 - * @access public - * @param bool $auto - * @return $this - */ - public function isAutoWriteTimestamp($auto) - { - $this->autoWriteTimestamp = $auto; - - return $this; - } - - /** - * 自动写入时间戳 - * @access protected - * @param string $name 时间戳字段 - * @return mixed - */ - protected function autoWriteTimestamp($name) - { - if (isset($this->type[$name])) { - $type = $this->type[$name]; - - if (strpos($type, ':')) { - list($type, $param) = explode(':', $type, 2); - } - - switch ($type) { - case 'datetime': - case 'date': - $value = $this->formatDateTime('Y-m-d H:i:s.u'); - break; - case 'timestamp': - case 'integer': - default: - $value = time(); - break; - } - } elseif (is_string($this->autoWriteTimestamp) && in_array(strtolower($this->autoWriteTimestamp), [ - 'datetime', - 'date', - 'timestamp', - ])) { - $value = $this->formatDateTime('Y-m-d H:i:s.u'); - } else { - $value = time(); - } - - return $value; - } - - /** - * 数据写入 类型转换 - * @access protected - * @param mixed $value 值 - * @param string|array $type 要转换的类型 - * @return mixed - */ - protected function writeTransform($value, $type) - { - if (is_null($value)) { - return; - } - - if ($value instanceof Expression) { - return $value; - } - - if (is_array($type)) { - list($type, $param) = $type; - } elseif (strpos($type, ':')) { - list($type, $param) = explode(':', $type, 2); - } - - switch ($type) { - case 'integer': - $value = (int) $value; - break; - case 'float': - if (empty($param)) { - $value = (float) $value; - } else { - $value = (float) number_format($value, $param, '.', ''); - } - break; - case 'boolean': - $value = (bool) $value; - break; - case 'timestamp': - if (!is_numeric($value)) { - $value = strtotime($value); - } - break; - case 'datetime': - $value = is_numeric($value) ? $value : strtotime($value); - $value = $this->formatDateTime('Y-m-d H:i:s.u', $value); - break; - case 'object': - if (is_object($value)) { - $value = json_encode($value, JSON_FORCE_OBJECT); - } - break; - case 'array': - $value = (array) $value; - case 'json': - $option = !empty($param) ? (int) $param : JSON_UNESCAPED_UNICODE; - $value = json_encode($value, $option); - break; - case 'serialize': - $value = serialize($value); - break; - } - - return $value; - } - - /** - * 获取器 获取数据对象的值 - * @access public - * @param string $name 名称 - * @param array $item 数据 - * @return mixed - * @throws InvalidArgumentException - */ - public function getAttr($name, &$item = null) - { - try { - $notFound = false; - $value = $this->getData($name); - } catch (InvalidArgumentException $e) { - $notFound = true; - $value = null; - } - - // 检测属性获取器 - $fieldName = Loader::parseName($name); - $method = 'get' . Loader::parseName($name, 1) . 'Attr'; - - if (isset($this->withAttr[$fieldName])) { - if ($notFound && $relation = $this->isRelationAttr($name)) { - $modelRelation = $this->$relation(); - $value = $this->getRelationData($modelRelation); - } - - $closure = $this->withAttr[$fieldName]; - $value = $closure($value, $this->data); - } elseif (method_exists($this, $method)) { - if ($notFound && $relation = $this->isRelationAttr($name)) { - $modelRelation = $this->$relation(); - $value = $this->getRelationData($modelRelation); - } - - $value = $this->$method($value, $this->data); - } elseif (isset($this->type[$name])) { - // 类型转换 - $value = $this->readTransform($value, $this->type[$name]); - } elseif ($this->autoWriteTimestamp && in_array($name, [$this->createTime, $this->updateTime])) { - if (is_string($this->autoWriteTimestamp) && in_array(strtolower($this->autoWriteTimestamp), [ - 'datetime', - 'date', - 'timestamp', - ])) { - $value = $this->formatDateTime($this->dateFormat, $value); - } else { - $value = $this->formatDateTime($this->dateFormat, $value, true); - } - } elseif ($notFound) { - $value = $this->getRelationAttribute($name, $item); - } - - return $value; - } - - /** - * 获取关联属性值 - * @access protected - * @param string $name 属性名 - * @param array $item 数据 - * @return mixed - */ - protected function getRelationAttribute($name, &$item) - { - $relation = $this->isRelationAttr($name); - - if ($relation) { - $modelRelation = $this->$relation(); - if ($modelRelation instanceof Relation) { - $value = $this->getRelationData($modelRelation); - - if ($item && method_exists($modelRelation, 'getBindAttr') && $bindAttr = $modelRelation->getBindAttr()) { - - foreach ($bindAttr as $key => $attr) { - $key = is_numeric($key) ? $attr : $key; - - if (isset($item[$key])) { - throw new Exception('bind attr has exists:' . $key); - } else { - $item[$key] = $value ? $value->getAttr($attr) : null; - } - } - - return false; - } - - // 保存关联对象值 - $this->relation[$name] = $value; - - return $value; - } - } - - throw new InvalidArgumentException('property not exists:' . static::class . '->' . $name); - } - - /** - * 数据读取 类型转换 - * @access protected - * @param mixed $value 值 - * @param string|array $type 要转换的类型 - * @return mixed - */ - protected function readTransform($value, $type) - { - if (is_null($value)) { - return; - } - - if (is_array($type)) { - list($type, $param) = $type; - } elseif (strpos($type, ':')) { - list($type, $param) = explode(':', $type, 2); - } - - switch ($type) { - case 'integer': - $value = (int) $value; - break; - case 'float': - if (empty($param)) { - $value = (float) $value; - } else { - $value = (float) number_format($value, $param, '.', ''); - } - break; - case 'boolean': - $value = (bool) $value; - break; - case 'timestamp': - if (!is_null($value)) { - $format = !empty($param) ? $param : $this->dateFormat; - $value = $this->formatDateTime($format, $value, true); - } - break; - case 'datetime': - if (!is_null($value)) { - $format = !empty($param) ? $param : $this->dateFormat; - $value = $this->formatDateTime($format, $value); - } - break; - case 'json': - $value = json_decode($value, true); - break; - case 'array': - $value = empty($value) ? [] : json_decode($value, true); - break; - case 'object': - $value = empty($value) ? new \stdClass() : json_decode($value); - break; - case 'serialize': - try { - $value = unserialize($value); - } catch (\Exception $e) { - $value = null; - } - break; - default: - if (false !== strpos($type, '\\')) { - // 对象类型 - $value = new $type($value); - } - } - - return $value; - } - - /** - * 设置数据字段获取器 - * @access public - * @param string|array $name 字段名 - * @param callable $callback 闭包获取器 - * @return $this - */ - public function withAttribute($name, $callback = null) - { - if (is_array($name)) { - foreach ($name as $key => $val) { - $key = Loader::parseName($key); - - $this->withAttr[$key] = $val; - } - } else { - $name = Loader::parseName($name); - - $this->withAttr[$name] = $callback; - } - - return $this; - } -} diff --git a/thinkphp/library/think/model/concern/Conversion.php b/thinkphp/library/think/model/concern/Conversion.php deleted file mode 100644 index de4db931..00000000 --- a/thinkphp/library/think/model/concern/Conversion.php +++ /dev/null @@ -1,273 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\concern; - -use think\Collection; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Collection as ModelCollection; - -/** - * 模型数据转换处理 - */ -trait Conversion -{ - /** - * 数据输出显示的属性 - * @var array - */ - protected $visible = []; - - /** - * 数据输出隐藏的属性 - * @var array - */ - protected $hidden = []; - - /** - * 数据输出需要追加的属性 - * @var array - */ - protected $append = []; - - /** - * 数据集对象名 - * @var string - */ - protected $resultSetType; - - /** - * 设置需要附加的输出属性 - * @access public - * @param array $append 属性列表 - * @param bool $override 是否覆盖 - * @return $this - */ - public function append(array $append = [], $override = false) - { - $this->append = $override ? $append : array_merge($this->append, $append); - - return $this; - } - - /** - * 设置附加关联对象的属性 - * @access public - * @param string $attr 关联属性 - * @param string|array $append 追加属性名 - * @return $this - * @throws Exception - */ - public function appendRelationAttr($attr, $append) - { - if (is_string($append)) { - $append = explode(',', $append); - } - - $relation = Loader::parseName($attr, 1, false); - if (isset($this->relation[$relation])) { - $model = $this->relation[$relation]; - } else { - $model = $this->getRelationData($this->$relation()); - } - - if ($model instanceof Model) { - foreach ($append as $key => $attr) { - $key = is_numeric($key) ? $attr : $key; - if (isset($this->data[$key])) { - throw new Exception('bind attr has exists:' . $key); - } else { - $this->data[$key] = $model->getAttr($attr); - } - } - } - - return $this; - } - - /** - * 设置需要隐藏的输出属性 - * @access public - * @param array $hidden 属性列表 - * @param bool $override 是否覆盖 - * @return $this - */ - public function hidden(array $hidden = [], $override = false) - { - $this->hidden = $override ? $hidden : array_merge($this->hidden, $hidden); - - return $this; - } - - /** - * 设置需要输出的属性 - * @access public - * @param array $visible - * @param bool $override 是否覆盖 - * @return $this - */ - public function visible(array $visible = [], $override = false) - { - $this->visible = $override ? $visible : array_merge($this->visible, $visible); - - return $this; - } - - /** - * 转换当前模型对象为数组 - * @access public - * @return array - */ - public function toArray() - { - $item = []; - $hasVisible = false; - - foreach ($this->visible as $key => $val) { - if (is_string($val)) { - if (strpos($val, '.')) { - list($relation, $name) = explode('.', $val); - $this->visible[$relation][] = $name; - } else { - $this->visible[$val] = true; - $hasVisible = true; - } - unset($this->visible[$key]); - } - } - - foreach ($this->hidden as $key => $val) { - if (is_string($val)) { - if (strpos($val, '.')) { - list($relation, $name) = explode('.', $val); - $this->hidden[$relation][] = $name; - } else { - $this->hidden[$val] = true; - } - unset($this->hidden[$key]); - } - } - - // 合并关联数据 - $data = array_merge($this->data, $this->relation); - - foreach ($data as $key => $val) { - if ($val instanceof Model || $val instanceof ModelCollection) { - // 关联模型对象 - if (isset($this->visible[$key]) && is_array($this->visible[$key])) { - $val->visible($this->visible[$key]); - } elseif (isset($this->hidden[$key]) && is_array($this->hidden[$key])) { - $val->hidden($this->hidden[$key]); - } - // 关联模型对象 - if (!isset($this->hidden[$key]) || true !== $this->hidden[$key]) { - $item[$key] = $val->toArray(); - } - } elseif (isset($this->visible[$key])) { - $item[$key] = $this->getAttr($key); - } elseif (!isset($this->hidden[$key]) && !$hasVisible) { - $item[$key] = $this->getAttr($key); - } - } - - // 追加属性(必须定义获取器) - if (!empty($this->append)) { - foreach ($this->append as $key => $name) { - if (is_array($name)) { - // 追加关联对象属性 - $relation = $this->getRelation($key); - - if (!$relation) { - $relation = $this->getAttr($key); - if ($relation) { - $relation->visible($name); - } - } - - $item[$key] = $relation ? $relation->append($name)->toArray() : []; - } elseif (strpos($name, '.')) { - list($key, $attr) = explode('.', $name); - // 追加关联对象属性 - $relation = $this->getRelation($key); - - if (!$relation) { - $relation = $this->getAttr($key); - if ($relation) { - $relation->visible([$attr]); - } - } - - $item[$key] = $relation ? $relation->append([$attr])->toArray() : []; - } else { - $item[$name] = $this->getAttr($name, $item); - } - } - } - - return $item; - } - - /** - * 转换当前模型对象为JSON字符串 - * @access public - * @param integer $options json参数 - * @return string - */ - public function toJson($options = JSON_UNESCAPED_UNICODE) - { - return json_encode($this->toArray(), $options); - } - - /** - * 移除当前模型的关联属性 - * @access public - * @return $this - */ - public function removeRelation() - { - $this->relation = []; - return $this; - } - - public function __toString() - { - return $this->toJson(); - } - - // JsonSerializable - public function jsonSerialize() - { - return $this->toArray(); - } - - /** - * 转换数据集为数据集对象 - * @access public - * @param array|Collection $collection 数据集 - * @param string $resultSetType 数据集类 - * @return Collection - */ - public function toCollection($collection, $resultSetType = null) - { - $resultSetType = $resultSetType ?: $this->resultSetType; - - if ($resultSetType && false !== strpos($resultSetType, '\\')) { - $collection = new $resultSetType($collection); - } else { - $collection = new ModelCollection($collection); - } - - return $collection; - } - -} diff --git a/thinkphp/library/think/model/concern/ModelEvent.php b/thinkphp/library/think/model/concern/ModelEvent.php deleted file mode 100644 index 3a874846..00000000 --- a/thinkphp/library/think/model/concern/ModelEvent.php +++ /dev/null @@ -1,238 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\concern; - -use think\Container; -use think\Loader; - -/** - * 模型事件处理 - */ -trait ModelEvent -{ - /** - * 模型回调 - * @var array - */ - private static $event = []; - - /** - * 模型事件观察 - * @var array - */ - protected static $observe = ['before_write', 'after_write', 'before_insert', 'after_insert', 'before_update', 'after_update', 'before_delete', 'after_delete', 'before_restore', 'after_restore']; - - /** - * 绑定模型事件观察者类 - * @var array - */ - protected $observerClass; - - /** - * 是否需要事件响应 - * @var bool - */ - private $withEvent = true; - - /** - * 注册回调方法 - * @access public - * @param string $event 事件名 - * @param callable $callback 回调方法 - * @param bool $override 是否覆盖 - * @return void - */ - public static function event($event, $callback, $override = false) - { - $class = static::class; - - if ($override) { - self::$event[$class][$event] = []; - } - - self::$event[$class][$event][] = $callback; - } - - /** - * 清除回调方法 - * @access public - * @return void - */ - public static function flushEvent() - { - self::$event[static::class] = []; - } - - /** - * 注册一个模型观察者 - * - * @param object|string $class - * @return void - */ - public static function observe($class) - { - self::flushEvent(); - - foreach (static::$observe as $event) { - $eventFuncName = Loader::parseName($event, 1, false); - - if (method_exists($class, $eventFuncName)) { - static::event($event, [$class, $eventFuncName]); - } - } - } - - /** - * 当前操作的事件响应 - * @access protected - * @param bool $event 是否需要事件响应 - * @return $this - */ - public function withEvent($event) - { - $this->withEvent = $event; - return $this; - } - - /** - * 触发事件 - * @access protected - * @param string $event 事件名 - * @return bool - */ - protected function trigger($event) - { - $class = static::class; - - if ($this->withEvent && isset(self::$event[$class][$event])) { - foreach (self::$event[$class][$event] as $callback) { - $result = Container::getInstance()->invoke($callback, [$this]); - - if (false === $result) { - return false; - } - } - } - - return true; - } - - /** - * 模型before_insert事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function beforeInsert($callback, $override = false) - { - self::event('before_insert', $callback, $override); - } - - /** - * 模型after_insert事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function afterInsert($callback, $override = false) - { - self::event('after_insert', $callback, $override); - } - - /** - * 模型before_update事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function beforeUpdate($callback, $override = false) - { - self::event('before_update', $callback, $override); - } - - /** - * 模型after_update事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function afterUpdate($callback, $override = false) - { - self::event('after_update', $callback, $override); - } - - /** - * 模型before_write事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function beforeWrite($callback, $override = false) - { - self::event('before_write', $callback, $override); - } - - /** - * 模型after_write事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function afterWrite($callback, $override = false) - { - self::event('after_write', $callback, $override); - } - - /** - * 模型before_delete事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function beforeDelete($callback, $override = false) - { - self::event('before_delete', $callback, $override); - } - - /** - * 模型after_delete事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function afterDelete($callback, $override = false) - { - self::event('after_delete', $callback, $override); - } - - /** - * 模型before_restore事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function beforeRestore($callback, $override = false) - { - self::event('before_restore', $callback, $override); - } - - /** - * 模型after_restore事件快捷方法 - * @access protected - * @param callable $callback - * @param bool $override - */ - protected static function afterRestore($callback, $override = false) - { - self::event('after_restore', $callback, $override); - } -} diff --git a/thinkphp/library/think/model/concern/RelationShip.php b/thinkphp/library/think/model/concern/RelationShip.php deleted file mode 100644 index 48579b70..00000000 --- a/thinkphp/library/think/model/concern/RelationShip.php +++ /dev/null @@ -1,697 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\concern; - -use think\Collection; -use think\db\Query; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Relation; -use think\model\relation\BelongsTo; -use think\model\relation\BelongsToMany; -use think\model\relation\HasMany; -use think\model\relation\HasManyThrough; -use think\model\relation\HasOne; -use think\model\relation\MorphMany; -use think\model\relation\MorphOne; -use think\model\relation\MorphTo; - -/** - * 模型关联处理 - */ -trait RelationShip -{ - /** - * 父关联模型对象 - * @var object - */ - private $parent; - - /** - * 模型关联数据 - * @var array - */ - private $relation = []; - - /** - * 关联写入定义信息 - * @var array - */ - private $together; - - /** - * 关联自动写入信息 - * @var array - */ - protected $relationWrite; - - /** - * 设置父关联对象 - * @access public - * @param Model $model 模型对象 - * @return $this - */ - public function setParent($model) - { - $this->parent = $model; - - return $this; - } - - /** - * 获取父关联对象 - * @access public - * @return Model - */ - public function getParent() - { - return $this->parent; - } - - /** - * 获取当前模型的关联模型数据 - * @access public - * @param string $name 关联方法名 - * @return mixed - */ - public function getRelation($name = null) - { - if (is_null($name)) { - return $this->relation; - } elseif (array_key_exists($name, $this->relation)) { - return $this->relation[$name]; - } - return; - } - - /** - * 设置关联数据对象值 - * @access public - * @param string $name 属性名 - * @param mixed $value 属性值 - * @param array $data 数据 - * @return $this - */ - public function setRelation($name, $value, $data = []) - { - // 检测修改器 - $method = 'set' . Loader::parseName($name, 1) . 'Attr'; - - if (method_exists($this, $method)) { - $value = $this->$method($value, array_merge($this->data, $data)); - } - - $this->relation[$name] = $value; - - return $this; - } - - /** - * 绑定(一对一)关联属性到当前模型 - * @access protected - * @param string $relation 关联名称 - * @param array $attrs 绑定属性 - * @return $this - * @throws Exception - */ - public function bindAttr($relation, array $attrs = []) - { - $relation = $this->getRelation($relation); - - foreach ($attrs as $key => $attr) { - $key = is_numeric($key) ? $attr : $key; - $value = $this->getOrigin($key); - - if (!is_null($value)) { - throw new Exception('bind attr has exists:' . $key); - } - - $this->setAttr($key, $relation ? $relation->getAttr($attr) : null); - } - - return $this; - } - - /** - * 关联数据写入 - * @access public - * @param array|string $relation 关联 - * @return $this - */ - public function together($relation) - { - if (is_string($relation)) { - $relation = explode(',', $relation); - } - - $this->together = $relation; - - $this->checkAutoRelationWrite(); - - return $this; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $relation 关联方法名 - * @param mixed $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public static function has($relation, $operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - $relation = (new static())->$relation(); - - if (is_array($operator) || $operator instanceof \Closure) { - return $relation->hasWhere($operator); - } - - return $relation->has($operator, $count, $id, $joinType); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $relation 关联方法名 - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public static function hasWhere($relation, $where = [], $fields = '*') - { - return (new static())->$relation()->hasWhere($where, $fields); - } - - /** - * 查询当前模型的关联数据 - * @access public - * @param string|array $relations 关联名 - * @param array $withRelationAttr 关联获取器 - * @return $this - */ - public function relationQuery($relations, $withRelationAttr = []) - { - if (is_string($relations)) { - $relations = explode(',', $relations); - } - - foreach ($relations as $key => $relation) { - $subRelation = ''; - $closure = null; - - if ($relation instanceof \Closure) { - // 支持闭包查询过滤关联条件 - $closure = $relation; - $relation = $key; - } - - if (is_array($relation)) { - $subRelation = $relation; - $relation = $key; - } elseif (strpos($relation, '.')) { - list($relation, $subRelation) = explode('.', $relation, 2); - } - - $method = Loader::parseName($relation, 1, false); - $relationName = Loader::parseName($relation); - - $relationResult = $this->$method(); - - if (isset($withRelationAttr[$relationName])) { - $relationResult->getQuery()->withAttr($withRelationAttr[$relationName]); - } - - $this->relation[$relation] = $relationResult->getRelation($subRelation, $closure); - } - - return $this; - } - - /** - * 预载入关联查询 返回数据集 - * @access public - * @param array $resultSet 数据集 - * @param string $relation 关联名 - * @param array $withRelationAttr 关联获取器 - * @param bool $join 是否为JOIN方式 - * @return array - */ - public function eagerlyResultSet(&$resultSet, $relation, $withRelationAttr = [], $join = false) - { - $relations = is_string($relation) ? explode(',', $relation) : $relation; - - foreach ($relations as $key => $relation) { - $subRelation = ''; - $closure = null; - - if ($relation instanceof \Closure) { - $closure = $relation; - $relation = $key; - } - - if (is_array($relation)) { - $subRelation = $relation; - $relation = $key; - } elseif (strpos($relation, '.')) { - list($relation, $subRelation) = explode('.', $relation, 2); - } - - $relation = Loader::parseName($relation, 1, false); - $relationName = Loader::parseName($relation); - - $relationResult = $this->$relation(); - - if (isset($withRelationAttr[$relationName])) { - $relationResult->getQuery()->withAttr($withRelationAttr[$relationName]); - } - - $relationResult->eagerlyResultSet($resultSet, $relation, $subRelation, $closure, $join); - } - } - - /** - * 预载入关联查询 返回模型对象 - * @access public - * @param Model $result 数据对象 - * @param string $relation 关联名 - * @param array $withRelationAttr 关联获取器 - * @param bool $join 是否为JOIN方式 - * @return Model - */ - public function eagerlyResult(&$result, $relation, $withRelationAttr = [], $join = false) - { - $relations = is_string($relation) ? explode(',', $relation) : $relation; - - foreach ($relations as $key => $relation) { - $subRelation = ''; - $closure = null; - - if ($relation instanceof \Closure) { - $closure = $relation; - $relation = $key; - } - - if (is_array($relation)) { - $subRelation = $relation; - $relation = $key; - } elseif (strpos($relation, '.')) { - list($relation, $subRelation) = explode('.', $relation, 2); - } - - $relation = Loader::parseName($relation, 1, false); - $relationName = Loader::parseName($relation); - - $relationResult = $this->$relation(); - - if (isset($withRelationAttr[$relationName])) { - $relationResult->getQuery()->withAttr($withRelationAttr[$relationName]); - } - - $relationResult->eagerlyResult($result, $relation, $subRelation, $closure, $join); - } - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param array $relations 关联名 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @return void - */ - public function relationCount(&$result, $relations, $aggregate = 'sum', $field = '*') - { - foreach ($relations as $key => $relation) { - $closure = $name = null; - - if ($relation instanceof \Closure) { - $closure = $relation; - $relation = $key; - } elseif (is_string($key)) { - $name = $relation; - $relation = $key; - } - - $relation = Loader::parseName($relation, 1, false); - - $count = $this->$relation()->relationCount($result, $closure, $aggregate, $field, $name); - - if (empty($name)) { - $name = Loader::parseName($relation) . '_' . $aggregate; - } - - $result->setAttr($name, $count); - } - } - - /** - * HAS ONE 关联定义 - * @access public - * @param string $model 模型名 - * @param string $foreignKey 关联外键 - * @param string $localKey 当前主键 - * @return HasOne - */ - public function hasOne($model, $foreignKey = '', $localKey = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - $localKey = $localKey ?: $this->getPk(); - $foreignKey = $foreignKey ?: $this->getForeignKey($this->name); - - return new HasOne($this, $model, $foreignKey, $localKey); - } - - /** - * BELONGS TO 关联定义 - * @access public - * @param string $model 模型名 - * @param string $foreignKey 关联外键 - * @param string $localKey 关联主键 - * @return BelongsTo - */ - public function belongsTo($model, $foreignKey = '', $localKey = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - $foreignKey = $foreignKey ?: $this->getForeignKey((new $model)->getName()); - $localKey = $localKey ?: (new $model)->getPk(); - $trace = debug_backtrace(false, 2); - $relation = Loader::parseName($trace[1]['function']); - - return new BelongsTo($this, $model, $foreignKey, $localKey, $relation); - } - - /** - * HAS MANY 关联定义 - * @access public - * @param string $model 模型名 - * @param string $foreignKey 关联外键 - * @param string $localKey 当前主键 - * @return HasMany - */ - public function hasMany($model, $foreignKey = '', $localKey = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - $localKey = $localKey ?: $this->getPk(); - $foreignKey = $foreignKey ?: $this->getForeignKey($this->name); - - return new HasMany($this, $model, $foreignKey, $localKey); - } - - /** - * HAS MANY 远程关联定义 - * @access public - * @param string $model 模型名 - * @param string $through 中间模型名 - * @param string $foreignKey 关联外键 - * @param string $throughKey 关联外键 - * @param string $localKey 当前主键 - * @return HasManyThrough - */ - public function hasManyThrough($model, $through, $foreignKey = '', $throughKey = '', $localKey = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - $through = $this->parseModel($through); - $localKey = $localKey ?: $this->getPk(); - $foreignKey = $foreignKey ?: $this->getForeignKey($this->name); - $throughKey = $throughKey ?: $this->getForeignKey((new $through)->getName()); - - return new HasManyThrough($this, $model, $through, $foreignKey, $throughKey, $localKey); - } - - /** - * BELONGS TO MANY 关联定义 - * @access public - * @param string $model 模型名 - * @param string $table 中间表名 - * @param string $foreignKey 关联外键 - * @param string $localKey 当前模型关联键 - * @return BelongsToMany - */ - public function belongsToMany($model, $table = '', $foreignKey = '', $localKey = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - $name = Loader::parseName(basename(str_replace('\\', '/', $model))); - $table = $table ?: Loader::parseName($this->name) . '_' . $name; - $foreignKey = $foreignKey ?: $name . '_id'; - $localKey = $localKey ?: $this->getForeignKey($this->name); - - return new BelongsToMany($this, $model, $table, $foreignKey, $localKey); - } - - /** - * MORPH One 关联定义 - * @access public - * @param string $model 模型名 - * @param string|array $morph 多态字段信息 - * @param string $type 多态类型 - * @return MorphOne - */ - public function morphOne($model, $morph = null, $type = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - - if (is_null($morph)) { - $trace = debug_backtrace(false, 2); - $morph = Loader::parseName($trace[1]['function']); - } - - if (is_array($morph)) { - list($morphType, $foreignKey) = $morph; - } else { - $morphType = $morph . '_type'; - $foreignKey = $morph . '_id'; - } - - $type = $type ?: get_class($this); - - return new MorphOne($this, $model, $foreignKey, $morphType, $type); - } - - /** - * MORPH MANY 关联定义 - * @access public - * @param string $model 模型名 - * @param string|array $morph 多态字段信息 - * @param string $type 多态类型 - * @return MorphMany - */ - public function morphMany($model, $morph = null, $type = '') - { - // 记录当前关联信息 - $model = $this->parseModel($model); - - if (is_null($morph)) { - $trace = debug_backtrace(false, 2); - $morph = Loader::parseName($trace[1]['function']); - } - - $type = $type ?: get_class($this); - - if (is_array($morph)) { - list($morphType, $foreignKey) = $morph; - } else { - $morphType = $morph . '_type'; - $foreignKey = $morph . '_id'; - } - - return new MorphMany($this, $model, $foreignKey, $morphType, $type); - } - - /** - * MORPH TO 关联定义 - * @access public - * @param string|array $morph 多态字段信息 - * @param array $alias 多态别名定义 - * @return MorphTo - */ - public function morphTo($morph = null, $alias = []) - { - $trace = debug_backtrace(false, 2); - $relation = Loader::parseName($trace[1]['function']); - - if (is_null($morph)) { - $morph = $relation; - } - - // 记录当前关联信息 - if (is_array($morph)) { - list($morphType, $foreignKey) = $morph; - } else { - $morphType = $morph . '_type'; - $foreignKey = $morph . '_id'; - } - - return new MorphTo($this, $morphType, $foreignKey, $alias, $relation); - } - - /** - * 解析模型的完整命名空间 - * @access protected - * @param string $model 模型名(或者完整类名) - * @return string - */ - protected function parseModel($model) - { - if (false === strpos($model, '\\')) { - $path = explode('\\', static::class); - array_pop($path); - array_push($path, Loader::parseName($model, 1)); - $model = implode('\\', $path); - } - - return $model; - } - - /** - * 获取模型的默认外键名 - * @access protected - * @param string $name 模型名 - * @return string - */ - protected function getForeignKey($name) - { - if (strpos($name, '\\')) { - $name = basename(str_replace('\\', '/', $name)); - } - - return Loader::parseName($name) . '_id'; - } - - /** - * 检查属性是否为关联属性 如果是则返回关联方法名 - * @access protected - * @param string $attr 关联属性名 - * @return string|false - */ - protected function isRelationAttr($attr) - { - $relation = Loader::parseName($attr, 1, false); - - if (method_exists($this, $relation) && !method_exists('think\Model', $relation)) { - return $relation; - } - - return false; - } - - /** - * 智能获取关联模型数据 - * @access protected - * @param Relation $modelRelation 模型关联对象 - * @return mixed - */ - protected function getRelationData(Relation $modelRelation) - { - if ($this->parent && !$modelRelation->isSelfRelation() && get_class($this->parent) == get_class($modelRelation->getModel())) { - $value = $this->parent; - } else { - // 获取关联数据 - $value = $modelRelation->getRelation(); - } - - return $value; - } - - /** - * 关联数据自动写入检查 - * @access protected - * @return void - */ - protected function checkAutoRelationWrite() - { - foreach ($this->together as $key => $name) { - if (is_array($name)) { - if (key($name) === 0) { - $this->relationWrite[$key] = []; - // 绑定关联属性 - foreach ((array) $name as $val) { - if (isset($this->data[$val])) { - $this->relationWrite[$key][$val] = $this->data[$val]; - } - } - } else { - // 直接传入关联数据 - $this->relationWrite[$key] = $name; - } - } elseif (isset($this->relation[$name])) { - $this->relationWrite[$name] = $this->relation[$name]; - } elseif (isset($this->data[$name])) { - $this->relationWrite[$name] = $this->data[$name]; - unset($this->data[$name]); - } - } - } - - /** - * 自动关联数据更新(针对一对一关联) - * @access protected - * @return void - */ - protected function autoRelationUpdate() - { - foreach ($this->relationWrite as $name => $val) { - if ($val instanceof Model) { - $val->isUpdate()->save(); - } else { - $model = $this->getRelation($name); - if ($model instanceof Model) { - $model->isUpdate()->save($val); - } - } - } - } - - /** - * 自动关联数据写入(针对一对一关联) - * @access protected - * @return void - */ - protected function autoRelationInsert() - { - foreach ($this->relationWrite as $name => $val) { - $method = Loader::parseName($name, 1, false); - $this->$method()->save($val); - } - } - - /** - * 自动关联数据删除(支持一对一及一对多关联) - * @access protected - * @return void - */ - protected function autoRelationDelete() - { - foreach ($this->relationWrite as $key => $name) { - $name = is_numeric($key) ? $name : $key; - $result = $this->getRelation($name); - - if ($result instanceof Model) { - $result->delete(); - } elseif ($result instanceof Collection) { - foreach ($result as $model) { - $model->delete(); - } - } - } - } -} diff --git a/thinkphp/library/think/model/concern/SoftDelete.php b/thinkphp/library/think/model/concern/SoftDelete.php deleted file mode 100644 index ec866ac0..00000000 --- a/thinkphp/library/think/model/concern/SoftDelete.php +++ /dev/null @@ -1,246 +0,0 @@ -getDeleteTimeField(); - - if ($field && !empty($this->getOrigin($field))) { - return true; - } - - return false; - } - - /** - * 查询软删除数据 - * @access public - * @return Query - */ - public static function withTrashed() - { - $model = new static(); - - return $model->withTrashedData(true)->db(false); - } - - /** - * 是否包含软删除数据 - * @access protected - * @param bool $withTrashed 是否包含软删除数据 - * @return $this - */ - protected function withTrashedData($withTrashed) - { - $this->withTrashed = $withTrashed; - return $this; - } - - /** - * 只查询软删除数据 - * @access public - * @return Query - */ - public static function onlyTrashed() - { - $model = new static(); - $field = $model->getDeleteTimeField(true); - - if ($field) { - return $model - ->db(false) - ->useSoftDelete($field, $model->getWithTrashedExp()); - } - - return $model->db(false); - } - - /** - * 获取软删除数据的查询条件 - * @access protected - * @return array - */ - protected function getWithTrashedExp() - { - return is_null($this->defaultSoftDelete) ? - ['notnull', ''] : ['<>', $this->defaultSoftDelete]; - } - - /** - * 删除当前的记录 - * @access public - * @return bool - */ - public function delete($force = false) - { - if (!$this->isExists() || false === $this->trigger('before_delete', $this)) { - return false; - } - - $force = $force ?: $this->isForce(); - $name = $this->getDeleteTimeField(); - - if ($name && !$force) { - // 软删除 - $this->data($name, $this->autoWriteTimestamp($name)); - - $result = $this->isUpdate()->withEvent(false)->save(); - - $this->withEvent(true); - } else { - // 读取更新条件 - $where = $this->getWhere(); - - // 删除当前模型数据 - $result = $this->db(false) - ->where($where) - ->removeOption('soft_delete') - ->delete(); - } - - // 关联删除 - if (!empty($this->relationWrite)) { - $this->autoRelationDelete(); - } - - $this->trigger('after_delete', $this); - - $this->exists(false); - - return true; - } - - /** - * 删除记录 - * @access public - * @param mixed $data 主键列表 支持闭包查询条件 - * @param bool $force 是否强制删除 - * @return bool - */ - public static function destroy($data, $force = false) - { - // 传入空不执行删除,但是0可以删除 - if (empty($data) && 0 !== $data) { - return false; - } - // 包含软删除数据 - $query = (new static())->db(false); - - if (is_array($data) && key($data) !== 0) { - $query->where($data); - $data = null; - } elseif ($data instanceof \Closure) { - call_user_func_array($data, [ & $query]); - $data = null; - } elseif (is_null($data)) { - return false; - } - - $resultSet = $query->select($data); - - if ($resultSet) { - foreach ($resultSet as $data) { - $data->force($force)->delete(); - } - } - - return true; - } - - /** - * 恢复被软删除的记录 - * @access public - * @param array $where 更新条件 - * @return bool - */ - public function restore($where = []) - { - $name = $this->getDeleteTimeField(); - - if ($name) { - if (false === $this->trigger('before_restore')) { - return false; - } - - if (empty($where)) { - $pk = $this->getPk(); - - $where[] = [$pk, '=', $this->getData($pk)]; - } - - // 恢复删除 - $this->db(false) - ->where($where) - ->useSoftDelete($name, $this->getWithTrashedExp()) - ->update([$name => $this->defaultSoftDelete]); - - $this->trigger('after_restore'); - - return true; - } - - return false; - } - - /** - * 获取软删除字段 - * @access protected - * @param bool $read 是否查询操作 写操作的时候会自动去掉表别名 - * @return string|false - */ - protected function getDeleteTimeField($read = false) - { - $field = property_exists($this, 'deleteTime') && isset($this->deleteTime) ? $this->deleteTime : 'delete_time'; - - if (false === $field) { - return false; - } - - if (false === strpos($field, '.')) { - $field = '__TABLE__.' . $field; - } - - if (!$read && strpos($field, '.')) { - $array = explode('.', $field); - $field = array_pop($array); - } - - return $field; - } - - /** - * 查询的时候默认排除软删除数据 - * @access protected - * @param Query $query - * @return void - */ - protected function withNoTrashed($query) - { - $field = $this->getDeleteTimeField(true); - - if ($field) { - $condition = is_null($this->defaultSoftDelete) ? ['null', ''] : ['=', $this->defaultSoftDelete]; - $query->useSoftDelete($field, $condition); - } - } -} diff --git a/thinkphp/library/think/model/concern/TimeStamp.php b/thinkphp/library/think/model/concern/TimeStamp.php deleted file mode 100644 index 99a31fa7..00000000 --- a/thinkphp/library/think/model/concern/TimeStamp.php +++ /dev/null @@ -1,92 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\concern; - -use DateTime; - -/** - * 自动时间戳 - */ -trait TimeStamp -{ - /** - * 是否需要自动写入时间戳 如果设置为字符串 则表示时间字段的类型 - * @var bool|string - */ - protected $autoWriteTimestamp; - - /** - * 创建时间字段 false表示关闭 - * @var false|string - */ - protected $createTime = 'create_time'; - - /** - * 更新时间字段 false表示关闭 - * @var false|string - */ - protected $updateTime = 'update_time'; - - /** - * 时间字段显示格式 - * @var string - */ - protected $dateFormat; - - /** - * 时间日期字段格式化处理 - * @access protected - * @param mixed $format 日期格式 - * @param mixed $time 时间日期表达式 - * @param bool $timestamp 是否进行时间戳转换 - * @return mixed - */ - protected function formatDateTime($format, $time = 'now', $timestamp = false) - { - if (empty($time)) { - return; - } - - if (false === $format) { - return $time; - } elseif (false !== strpos($format, '\\')) { - return new $format($time); - } - - if ($timestamp) { - $dateTime = new DateTime(); - $dateTime->setTimestamp($time); - } else { - $dateTime = new DateTime($time); - } - - return $dateTime->format($format); - } - - /** - * 检查时间字段写入 - * @access protected - * @return void - */ - protected function checkTimeStampWrite() - { - // 自动写入创建时间和更新时间 - if ($this->autoWriteTimestamp) { - if ($this->createTime && !isset($this->data[$this->createTime])) { - $this->data[$this->createTime] = $this->autoWriteTimestamp($this->createTime); - } - if ($this->updateTime && !isset($this->data[$this->updateTime])) { - $this->data[$this->updateTime] = $this->autoWriteTimestamp($this->updateTime); - } - } - } -} diff --git a/thinkphp/library/think/model/relation/BelongsTo.php b/thinkphp/library/think/model/relation/BelongsTo.php deleted file mode 100644 index 056c7d76..00000000 --- a/thinkphp/library/think/model/relation/BelongsTo.php +++ /dev/null @@ -1,323 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\Loader; -use think\Model; - -class BelongsTo extends OneToOne -{ - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $foreignKey 关联外键 - * @param string $localKey 关联主键 - * @param string $relation 关联名 - */ - public function __construct(Model $parent, $model, $foreignKey, $localKey, $relation = null) - { - $this->parent = $parent; - $this->model = $model; - $this->foreignKey = $foreignKey; - $this->localKey = $localKey; - $this->joinType = 'INNER'; - $this->query = (new $model)->db(); - $this->relation = $relation; - - if (get_class($parent) == $model) { - $this->selfRelation = true; - } - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return Model - */ - public function getRelation($subRelation = '', $closure = null) - { - if ($closure instanceof Closure) { - $closure($this->query); - } - - $foreignKey = $this->foreignKey; - - $relationModel = $this->query - ->removeWhereField($this->localKey) - ->where($this->localKey, $this->parent->$foreignKey) - ->relation($subRelation) - ->find(); - - if ($relationModel) { - $relationModel->setParent(clone $this->parent); - } - - return $relationModel; - } - - /** - * 创建关联统计子查询 - * @access public - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $aggregateAlias 聚合字段别名 - * @return string - */ - public function getRelationCountQuery($closure, $aggregate = 'count', $field = '*', &$aggregateAlias = '') - { - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $aggregateAlias = $return; - } - } - - return $this->query - ->whereExp($this->localKey, '=' . $this->parent->getTable() . '.' . $this->foreignKey) - ->fetchSql() - ->$aggregate($field); - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = '') - { - $foreignKey = $this->foreignKey; - - if (!isset($result->$foreignKey)) { - return 0; - } - - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $name = $return; - } - } - - return $this->query - ->where($this->localKey, '=', $result->$foreignKey) - ->$aggregate($field); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - $table = $this->query->getTable(); - $model = basename(str_replace('\\', '/', get_class($this->parent))); - $relation = basename(str_replace('\\', '/', $this->model)); - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->whereExists(function ($query) use ($table, $model, $relation, $localKey, $foreignKey) { - $query->table([$table => $relation]) - ->field($relation . '.' . $localKey) - ->whereExp($model . '.' . $foreignKey, '=' . $relation . '.' . $localKey) - ->when($softDelete, function ($query) use ($softDelete, $relation) { - $query->where($relation . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }); - }); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - $table = $this->query->getTable(); - $model = basename(str_replace('\\', '/', get_class($this->parent))); - $relation = basename(str_replace('\\', '/', $this->model)); - - if (is_array($where)) { - $this->getQueryWhere($where, $relation); - } - - $fields = $this->getRelationQueryFields($fields, $model); - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->field($fields) - ->join([$table => $relation], $model . '.' . $this->foreignKey . '=' . $relation . '.' . $this->localKey, $this->joinType) - ->when($softDelete, function ($query) use ($softDelete, $relation) { - $query->where($relation . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }) - ->where($where); - } - - /** - * 预载入关联查询(数据集) - * @access protected - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - protected function eagerlySet(&$resultSet, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - - $range = []; - foreach ($resultSet as $result) { - // 获取关联外键列表 - if (isset($result->$foreignKey)) { - $range[] = $result->$foreignKey; - } - } - - if (!empty($range)) { - $this->query->removeWhereField($localKey); - - $data = $this->eagerlyWhere([ - [$localKey, 'in', $range], - ], $localKey, $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - // 关联模型 - if (!isset($data[$result->$foreignKey])) { - $relationModel = null; - } else { - $relationModel = $data[$result->$foreignKey]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - if (!empty($this->bindAttr)) { - // 绑定关联属性 - $this->bindAttr($relationModel, $result); - } else { - // 设置关联属性 - $result->setRelation($attr, $relationModel); - } - } - } - } - - /** - * 预载入关联查询(数据) - * @access protected - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - protected function eagerlyOne(&$result, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - - $this->query->removeWhereField($localKey); - - $data = $this->eagerlyWhere([ - [$localKey, '=', $result->$foreignKey], - ], $localKey, $relation, $subRelation, $closure); - - // 关联模型 - if (!isset($data[$result->$foreignKey])) { - $relationModel = null; - } else { - $relationModel = $data[$result->$foreignKey]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - if (!empty($this->bindAttr)) { - // 绑定关联属性 - $this->bindAttr($relationModel, $result); - } else { - // 设置关联属性 - $result->setRelation(Loader::parseName($relation), $relationModel); - } - } - - /** - * 添加关联数据 - * @access public - * @param Model $model 关联模型对象 - * @return Model - */ - public function associate($model) - { - $this->parent->setAttr($this->foreignKey, $model->getKey()); - $this->parent->save(); - - return $this->parent->setRelation($this->relation, $model); - } - - /** - * 注销关联数据 - * @access public - * @return Model - */ - public function dissociate() - { - $this->parent->setAttr($this->foreignKey, null); - $this->parent->save(); - - return $this->parent->setRelation($this->relation, null); - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery)) { - if (isset($this->parent->{$this->foreignKey})) { - // 关联查询带入关联条件 - $this->query->where($this->localKey, '=', $this->parent->{$this->foreignKey}); - } - - $this->baseQuery = true; - } - } -} diff --git a/thinkphp/library/think/model/relation/BelongsToMany.php b/thinkphp/library/think/model/relation/BelongsToMany.php deleted file mode 100644 index 6105e233..00000000 --- a/thinkphp/library/think/model/relation/BelongsToMany.php +++ /dev/null @@ -1,712 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\Collection; -use think\db\Query; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Pivot; -use think\model\Relation; -use think\Paginator; - -class BelongsToMany extends Relation -{ - // 中间表表名 - protected $middle; - // 中间表模型名称 - protected $pivotName; - // 中间表数据名称 - protected $pivotDataName = 'pivot'; - // 中间表模型对象 - protected $pivot; - - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $table 中间表名 - * @param string $foreignKey 关联模型外键 - * @param string $localKey 当前模型关联键 - */ - public function __construct(Model $parent, $model, $table, $foreignKey, $localKey) - { - $this->parent = $parent; - $this->model = $model; - $this->foreignKey = $foreignKey; - $this->localKey = $localKey; - - if (false !== strpos($table, '\\')) { - $this->pivotName = $table; - $this->middle = basename(str_replace('\\', '/', $table)); - } else { - $this->middle = $table; - } - - $this->query = (new $model)->db(); - $this->pivot = $this->newPivot(); - } - - /** - * 设置中间表模型 - * @access public - * @param $pivot - * @return $this - */ - public function pivot($pivot) - { - $this->pivotName = $pivot; - return $this; - } - - /** - * 设置中间表数据名称 - * @access public - * @param string $name - * @return $this - */ - public function pivotDataName($name) - { - $this->pivotDataName = $name; - return $this; - } - - /** - * 获取中间表更新条件 - * @param $data - * @return array - */ - protected function getUpdateWhere($data) - { - return [ - $this->localKey => $data[$this->localKey], - $this->foreignKey => $data[$this->foreignKey], - ]; - } - - /** - * 实例化中间表模型 - * @access public - * @param array $data - * @param bool $isUpdate - * @return Pivot - * @throws Exception - */ - protected function newPivot($data = [], $isUpdate = false) - { - $class = $this->pivotName ?: '\\think\\model\\Pivot'; - $pivot = new $class($data, $this->parent, $this->middle); - - if ($pivot instanceof Pivot) { - return $isUpdate ? $pivot->isUpdate(true, $this->getUpdateWhere($data)) : $pivot; - } - - throw new Exception('pivot model must extends: \think\model\Pivot'); - } - - /** - * 合成中间表模型 - * @access protected - * @param array|Collection|Paginator $models - */ - protected function hydratePivot($models) - { - foreach ($models as $model) { - $pivot = []; - - foreach ($model->getData() as $key => $val) { - if (strpos($key, '__')) { - list($name, $attr) = explode('__', $key, 2); - - if ('pivot' == $name) { - $pivot[$attr] = $val; - unset($model->$key); - } - } - } - - $model->setRelation($this->pivotDataName, $this->newPivot($pivot, true)); - } - } - - /** - * 创建关联查询Query对象 - * @access protected - * @return Query - */ - protected function buildQuery() - { - $foreignKey = $this->foreignKey; - $localKey = $this->localKey; - - // 关联查询 - $pk = $this->parent->getPk(); - - $condition[] = ['pivot.' . $localKey, '=', $this->parent->$pk]; - - return $this->belongsToManyQuery($foreignKey, $localKey, $condition); - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return Collection - */ - public function getRelation($subRelation = '', $closure = null) - { - if ($closure instanceof Closure) { - $closure($this->query); - } - - $result = $this->buildQuery()->relation($subRelation)->select(); - $this->hydratePivot($result); - - return $result; - } - - /** - * 重载select方法 - * @access public - * @param mixed $data - * @return Collection - */ - public function select($data = null) - { - $result = $this->buildQuery()->select($data); - $this->hydratePivot($result); - - return $result; - } - - /** - * 重载paginate方法 - * @access public - * @param null $listRows - * @param bool $simple - * @param array $config - * @return Paginator - */ - public function paginate($listRows = null, $simple = false, $config = []) - { - $result = $this->buildQuery()->paginate($listRows, $simple, $config); - $this->hydratePivot($result); - - return $result; - } - - /** - * 重载find方法 - * @access public - * @param mixed $data - * @return Model - */ - public function find($data = null) - { - $result = $this->buildQuery()->find($data); - if ($result) { - $this->hydratePivot([$result]); - } - - return $result; - } - - /** - * 查找多条记录 如果不存在则抛出异常 - * @access public - * @param array|string|Query|\Closure $data - * @return Collection - */ - public function selectOrFail($data = null) - { - return $this->failException(true)->select($data); - } - - /** - * 查找单条记录 如果不存在则抛出异常 - * @access public - * @param array|string|Query|\Closure $data - * @return Model - */ - public function findOrFail($data = null) - { - return $this->failException(true)->find($data); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - return $this->parent; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - * @throws Exception - */ - public function hasWhere($where = [], $fields = null) - { - throw new Exception('relation not support: hasWhere'); - } - - /** - * 设置中间表的查询条件 - * @access public - * @param string $field - * @param string $op - * @param mixed $condition - * @return $this - */ - public function wherePivot($field, $op = null, $condition = null) - { - $this->query->where('pivot.' . $field, $op, $condition); - return $this; - } - - /** - * 预载入关联查询(数据集) - * @access public - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResultSet(&$resultSet, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - - $pk = $resultSet[0]->getPk(); - $range = []; - foreach ($resultSet as $result) { - // 获取关联外键列表 - if (isset($result->$pk)) { - $range[] = $result->$pk; - } - } - - if (!empty($range)) { - // 查询关联数据 - $data = $this->eagerlyManyToMany([ - ['pivot.' . $localKey, 'in', $range], - ], $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - if (!isset($data[$result->$pk])) { - $data[$result->$pk] = []; - } - - $result->setRelation($attr, $this->resultSetBuild($data[$result->$pk])); - } - } - } - - /** - * 预载入关联查询(单个数据) - * @access public - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResult(&$result, $relation, $subRelation, $closure) - { - $pk = $result->getPk(); - - if (isset($result->$pk)) { - $pk = $result->$pk; - // 查询管理数据 - $data = $this->eagerlyManyToMany([ - ['pivot.' . $this->localKey, '=', $pk], - ], $relation, $subRelation, $closure); - - // 关联数据封装 - if (!isset($data[$pk])) { - $data[$pk] = []; - } - - $result->setRelation(Loader::parseName($relation), $this->resultSetBuild($data[$pk])); - } - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = '') - { - $pk = $result->getPk(); - - if (!isset($result->$pk)) { - return 0; - } - - $pk = $result->$pk; - - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $name = $return; - } - } - - return $this->belongsToManyQuery($this->foreignKey, $this->localKey, [ - ['pivot.' . $this->localKey, '=', $pk], - ])->$aggregate($field); - } - - /** - * 获取关联统计子查询 - * @access public - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $aggregateAlias 聚合字段别名 - * @return array - */ - public function getRelationCountQuery($closure, $aggregate = 'count', $field = '*', &$aggregateAlias = '') - { - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $aggregateAlias = $return; - } - } - - return $this->belongsToManyQuery($this->foreignKey, $this->localKey, [ - [ - 'pivot.' . $this->localKey, 'exp', $this->query->raw('=' . $this->parent->getTable() . '.' . $this->parent->getPk()), - ], - ])->fetchSql()->$aggregate($field); - } - - /** - * 多对多 关联模型预查询 - * @access protected - * @param array $where 关联预查询条件 - * @param string $relation 关联名 - * @param string $subRelation 子关联 - * @param \Closure $closure 闭包 - * @return array - */ - protected function eagerlyManyToMany($where, $relation, $subRelation = '', $closure = null) - { - // 预载入关联查询 支持嵌套预载入 - if ($closure instanceof Closure) { - $closure($this->query); - } - - $list = $this->belongsToManyQuery($this->foreignKey, $this->localKey, $where) - ->with($subRelation) - ->select(); - - // 组装模型数据 - $data = []; - foreach ($list as $set) { - $pivot = []; - foreach ($set->getData() as $key => $val) { - if (strpos($key, '__')) { - list($name, $attr) = explode('__', $key, 2); - if ('pivot' == $name) { - $pivot[$attr] = $val; - unset($set->$key); - } - } - } - - $set->setRelation($this->pivotDataName, $this->newPivot($pivot, true)); - - $data[$pivot[$this->localKey]][] = $set; - } - - return $data; - } - - /** - * BELONGS TO MANY 关联查询 - * @access protected - * @param string $foreignKey 关联模型关联键 - * @param string $localKey 当前模型关联键 - * @param array $condition 关联查询条件 - * @return Query - */ - protected function belongsToManyQuery($foreignKey, $localKey, $condition = []) - { - // 关联查询封装 - $tableName = $this->query->getTable(); - $table = $this->pivot->getTable(); - $fields = $this->getQueryFields($tableName); - - $query = $this->query - ->field($fields) - ->field(true, false, $table, 'pivot', 'pivot__'); - - if (empty($this->baseQuery)) { - $relationFk = $this->query->getPk(); - $query->join([$table => 'pivot'], 'pivot.' . $foreignKey . '=' . $tableName . '.' . $relationFk) - ->where($condition); - } - - return $query; - } - - /** - * 保存(新增)当前关联数据对象 - * @access public - * @param mixed $data 数据 可以使用数组 关联模型对象 和 关联对象的主键 - * @param array $pivot 中间表额外数据 - * @return array|Pivot - */ - public function save($data, array $pivot = []) - { - // 保存关联表/中间表数据 - return $this->attach($data, $pivot); - } - - /** - * 批量保存当前关联数据对象 - * @access public - * @param array $dataSet 数据集 - * @param array $pivot 中间表额外数据 - * @param bool $samePivot 额外数据是否相同 - * @return array|false - */ - public function saveAll(array $dataSet, array $pivot = [], $samePivot = false) - { - $result = []; - - foreach ($dataSet as $key => $data) { - if (!$samePivot) { - $pivotData = isset($pivot[$key]) ? $pivot[$key] : []; - } else { - $pivotData = $pivot; - } - - $result[] = $this->attach($data, $pivotData); - } - - return empty($result) ? false : $result; - } - - /** - * 附加关联的一个中间表数据 - * @access public - * @param mixed $data 数据 可以使用数组、关联模型对象 或者 关联对象的主键 - * @param array $pivot 中间表额外数据 - * @return array|Pivot - * @throws Exception - */ - public function attach($data, $pivot = []) - { - if (is_array($data)) { - if (key($data) === 0) { - $id = $data; - } else { - // 保存关联表数据 - $model = new $this->model; - $id = $model->insertGetId($data); - } - } elseif (is_numeric($data) || is_string($data)) { - // 根据关联表主键直接写入中间表 - $id = $data; - } elseif ($data instanceof Model) { - // 根据关联表主键直接写入中间表 - $relationFk = $data->getPk(); - $id = $data->$relationFk; - } - - if ($id) { - // 保存中间表数据 - $pk = $this->parent->getPk(); - $pivot[$this->localKey] = $this->parent->$pk; - $ids = (array) $id; - - foreach ($ids as $id) { - $pivot[$this->foreignKey] = $id; - $this->pivot->replace() - ->exists(false) - ->data([]) - ->save($pivot); - $result[] = $this->newPivot($pivot, true); - } - - if (count($result) == 1) { - // 返回中间表模型对象 - $result = $result[0]; - } - - return $result; - } else { - throw new Exception('miss relation data'); - } - } - - /** - * 判断是否存在关联数据 - * @access public - * @param mixed $data 数据 可以使用关联模型对象 或者 关联对象的主键 - * @return Pivot|false - * @throws Exception - */ - public function attached($data) - { - if ($data instanceof Model) { - $id = $data->getKey(); - } else { - $id = $data; - } - - $pivot = $this->pivot - ->where($this->localKey, $this->parent->getKey()) - ->where($this->foreignKey, $id) - ->find(); - - return $pivot ?: false; - } - - /** - * 解除关联的一个中间表数据 - * @access public - * @param integer|array $data 数据 可以使用关联对象的主键 - * @param bool $relationDel 是否同时删除关联表数据 - * @return integer - */ - public function detach($data = null, $relationDel = false) - { - if (is_array($data)) { - $id = $data; - } elseif (is_numeric($data) || is_string($data)) { - // 根据关联表主键直接写入中间表 - $id = $data; - } elseif ($data instanceof Model) { - // 根据关联表主键直接写入中间表 - $relationFk = $data->getPk(); - $id = $data->$relationFk; - } - - // 删除中间表数据 - $pk = $this->parent->getPk(); - $pivot[] = [$this->localKey, '=', $this->parent->$pk]; - - if (isset($id)) { - $pivot[] = [$this->foreignKey, is_array($id) ? 'in' : '=', $id]; - } - - $result = $this->pivot->where($pivot)->delete(); - - // 删除关联表数据 - if (isset($id) && $relationDel) { - $model = $this->model; - $model::destroy($id); - } - - return $result; - } - - /** - * 数据同步 - * @access public - * @param array $ids - * @param bool $detaching - * @return array - */ - public function sync($ids, $detaching = true) - { - $changes = [ - 'attached' => [], - 'detached' => [], - 'updated' => [], - ]; - - $pk = $this->parent->getPk(); - - $current = $this->pivot - ->where($this->localKey, $this->parent->$pk) - ->column($this->foreignKey); - - $records = []; - - foreach ($ids as $key => $value) { - if (!is_array($value)) { - $records[$value] = []; - } else { - $records[$key] = $value; - } - } - - $detach = array_diff($current, array_keys($records)); - - if ($detaching && count($detach) > 0) { - $this->detach($detach); - $changes['detached'] = $detach; - } - - foreach ($records as $id => $attributes) { - if (!in_array($id, $current)) { - $this->attach($id, $attributes); - $changes['attached'][] = $id; - } elseif (count($attributes) > 0 && $this->attach($id, $attributes)) { - $changes['updated'][] = $id; - } - } - - return $changes; - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery) && $this->parent->getData()) { - $pk = $this->parent->getPk(); - $table = $this->pivot->getTable(); - - $this->query - ->join([$table => 'pivot'], 'pivot.' . $this->foreignKey . '=' . $this->query->getTable() . '.' . $this->query->getPk()) - ->where('pivot.' . $this->localKey, $this->parent->$pk); - $this->baseQuery = true; - } - } - -} diff --git a/thinkphp/library/think/model/relation/HasMany.php b/thinkphp/library/think/model/relation/HasMany.php deleted file mode 100644 index e4df5c4b..00000000 --- a/thinkphp/library/think/model/relation/HasMany.php +++ /dev/null @@ -1,360 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\db\Query; -use think\Loader; -use think\Model; -use think\model\Relation; - -class HasMany extends Relation -{ - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $foreignKey 关联外键 - * @param string $localKey 当前模型主键 - */ - public function __construct(Model $parent, $model, $foreignKey, $localKey) - { - $this->parent = $parent; - $this->model = $model; - $this->foreignKey = $foreignKey; - $this->localKey = $localKey; - $this->query = (new $model)->db(); - - if (get_class($parent) == $model) { - $this->selfRelation = true; - } - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return \think\Collection - */ - public function getRelation($subRelation = '', $closure = null) - { - if ($closure instanceof Closure) { - $closure($this->query); - } - - $list = $this->query - ->where($this->foreignKey, $this->parent->{$this->localKey}) - ->relation($subRelation) - ->select(); - - $parent = clone $this->parent; - - foreach ($list as &$model) { - $model->setParent($parent); - } - - return $list; - } - - /** - * 预载入关联查询 - * @access public - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResultSet(&$resultSet, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - $range = []; - - foreach ($resultSet as $result) { - // 获取关联外键列表 - if (isset($result->$localKey)) { - $range[] = $result->$localKey; - } - } - - if (!empty($range)) { - $where = [ - [$this->foreignKey, 'in', $range], - ]; - $data = $this->eagerlyOneToMany($where, $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - $pk = $result->$localKey; - if (!isset($data[$pk])) { - $data[$pk] = []; - } - - foreach ($data[$pk] as &$relationModel) { - $relationModel->setParent(clone $result); - } - - $result->setRelation($attr, $this->resultSetBuild($data[$pk])); - } - } - } - - /** - * 预载入关联查询 - * @access public - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResult(&$result, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - - if (isset($result->$localKey)) { - $pk = $result->$localKey; - $where = [ - [$this->foreignKey, '=', $pk], - ]; - $data = $this->eagerlyOneToMany($where, $relation, $subRelation, $closure); - - // 关联数据封装 - if (!isset($data[$pk])) { - $data[$pk] = []; - } - - foreach ($data[$pk] as &$relationModel) { - $relationModel->setParent(clone $result); - } - - $result->setRelation(Loader::parseName($relation), $this->resultSetBuild($data[$pk])); - } - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = '') - { - $localKey = $this->localKey; - - if (!isset($result->$localKey)) { - return 0; - } - - if ($closure instanceof Closure) { - $return = $closure($this->query); - if ($return && is_string($return)) { - $name = $return; - } - } - - return $this->query - ->where($this->foreignKey, '=', $result->$localKey) - ->$aggregate($field); - } - - /** - * 创建关联统计子查询 - * @access public - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $aggregateAlias 聚合字段别名 - * @return string - */ - public function getRelationCountQuery($closure, $aggregate = 'count', $field = '*', &$aggregateAlias = '') - { - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $aggregateAlias = $return; - } - } - - return $this->query->alias($aggregate . '_table') - ->whereExp($aggregate . '_table.' . $this->foreignKey, '=' . $this->parent->getTable() . '.' . $this->localKey) - ->fetchSql() - ->$aggregate($field); - } - - /** - * 一对多 关联模型预查询 - * @access public - * @param array $where 关联预查询条件 - * @param string $relation 关联名 - * @param string $subRelation 子关联 - * @param \Closure $closure - * @return array - */ - protected function eagerlyOneToMany($where, $relation, $subRelation = '', $closure = null) - { - $foreignKey = $this->foreignKey; - - $this->query->removeWhereField($this->foreignKey); - - // 预载入关联查询 支持嵌套预载入 - if ($closure instanceof Closure) { - $closure($this->query); - } - - $list = $this->query->where($where)->with($subRelation)->select(); - - // 组装模型数据 - $data = []; - - foreach ($list as $set) { - $data[$set->$foreignKey][] = $set; - } - - return $data; - } - - /** - * 保存(新增)当前关联数据对象 - * @access public - * @param mixed $data 数据 可以使用数组 关联模型对象 和 关联对象的主键 - * @param boolean $replace 是否自动识别更新和写入 - * @return Model|false - */ - public function save($data, $replace = true) - { - $model = $this->make(); - - return $model->replace($replace)->save($data) ? $model : false; - } - - /** - * 创建关联对象实例 - * @param array $data - * @return Model - */ - public function make($data = []) - { - if ($data instanceof Model) { - $data = $data->getData(); - } - - // 保存关联表数据 - $data[$this->foreignKey] = $this->parent->{$this->localKey}; - - return new $this->model($data); - } - - /** - * 批量保存当前关联数据对象 - * @access public - * @param array|\think\Collection $dataSet 数据集 - * @param boolean $replace 是否自动识别更新和写入 - * @return array|false - */ - public function saveAll($dataSet, $replace = true) - { - $result = []; - - foreach ($dataSet as $key => $data) { - $result[] = $this->save($data, $replace); - } - - return empty($result) ? false : $result; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - $table = $this->query->getTable(); - $model = basename(str_replace('\\', '/', get_class($this->parent))); - $relation = basename(str_replace('\\', '/', $this->model)); - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->field($model . '.*') - ->join([$table => $relation], $model . '.' . $this->localKey . '=' . $relation . '.' . $this->foreignKey, $joinType) - ->when($softDelete, function ($query) use ($softDelete, $relation) { - $query->where($relation . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }) - ->group($relation . '.' . $this->foreignKey) - ->having('count(' . $id . ')' . $operator . $count); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - $table = $this->query->getTable(); - $model = basename(str_replace('\\', '/', get_class($this->parent))); - $relation = basename(str_replace('\\', '/', $this->model)); - - if (is_array($where)) { - $this->getQueryWhere($where, $relation); - } - - $fields = $this->getRelationQueryFields($fields, $model); - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->group($model . '.' . $this->localKey) - ->field($fields) - ->join([$table => $relation], $model . '.' . $this->localKey . '=' . $relation . '.' . $this->foreignKey) - ->when($softDelete, function ($query) use ($softDelete, $relation) { - $query->where($relation . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }) - ->where($where); - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery)) { - if (isset($this->parent->{$this->localKey})) { - // 关联查询带入关联条件 - $this->query->where($this->foreignKey, '=', $this->parent->{$this->localKey}); - } - - $this->baseQuery = true; - } - } - -} diff --git a/thinkphp/library/think/model/relation/HasManyThrough.php b/thinkphp/library/think/model/relation/HasManyThrough.php deleted file mode 100644 index be0b0cd9..00000000 --- a/thinkphp/library/think/model/relation/HasManyThrough.php +++ /dev/null @@ -1,363 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\db\Query; -use think\Loader; -use think\Model; -use think\model\Relation; - -class HasManyThrough extends Relation -{ - // 中间关联表外键 - protected $throughKey; - // 中间表模型 - protected $through; - - /** - * 中间主键 - * @var string - */ - protected $throughPk; - - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $through 中间模型名 - * @param string $foreignKey 关联外键 - * @param string $throughKey 关联外键 - * @param string $localKey 当前主键 - */ - public function __construct(Model $parent, $model, $through, $foreignKey, $throughKey, $localKey) - { - $this->parent = $parent; - $this->model = $model; - $this->through = (new $through)->db(); - $this->foreignKey = $foreignKey; - $this->throughKey = $throughKey; - $this->throughPk = $this->through->getPk(); - $this->localKey = $localKey; - $this->query = (new $model)->db(); - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return \think\Collection - */ - public function getRelation($subRelation = '', $closure = null) - { - if ($closure instanceof Closure) { - $closure($this->query); - } - - $this->baseQuery(); - - return $this->query->relation($subRelation)->select(); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - $model = Loader::parseName(basename(str_replace('\\', '/', get_class($this->parent)))); - $throughTable = $this->through->getTable(); - $pk = $this->throughPk; - $throughKey = $this->throughKey; - $relation = (new $this->model)->db(); - $relationTable = $relation->getTable(); - $softDelete = $this->query->getOptions('soft_delete'); - - if ('*' != $id) { - $id = $relationTable . '.' . $relation->getPk(); - } - - return $this->parent->db() - ->alias($model) - ->field($model . '.*') - ->join($throughTable, $throughTable . '.' . $this->foreignKey . '=' . $model . '.' . $this->localKey) - ->join($relationTable, $relationTable . '.' . $throughKey . '=' . $throughTable . '.' . $this->throughPk) - ->when($softDelete, function ($query) use ($softDelete, $relationTable) { - $query->where($relationTable . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }) - ->group($relationTable . '.' . $this->throughKey) - ->having('count(' . $id . ')' . $operator . $count); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - $model = Loader::parseName(basename(str_replace('\\', '/', get_class($this->parent)))); - $throughTable = $this->through->getTable(); - $pk = $this->throughPk; - $throughKey = $this->throughKey; - $modelTable = (new $this->model)->db()->getTable(); - - if (is_array($where)) { - $this->getQueryWhere($where, $modelTable); - } - - $fields = $this->getRelationQueryFields($fields, $model); - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->join($throughTable, $throughTable . '.' . $this->foreignKey . '=' . $model . '.' . $this->localKey) - ->join($modelTable, $modelTable . '.' . $throughKey . '=' . $throughTable . '.' . $this->throughPk) - ->when($softDelete, function ($query) use ($softDelete, $modelTable) { - $query->where($modelTable . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }) - ->group($modelTable . '.' . $this->throughKey) - ->where($where) - ->field($fields); - } - - /** - * 预载入关联查询(数据集) - * @access protected - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param mixed $subRelation 子关联名 - * @param Closure $closure 闭包 - * @return void - */ - public function eagerlyResultSet(array &$resultSet, $relation, $subRelation = '', $closure = null) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - - $range = []; - foreach ($resultSet as $result) { - // 获取关联外键列表 - if (isset($result->$localKey)) { - $range[] = $result->$localKey; - } - } - - if (!empty($range)) { - $this->query->removeWhereField($foreignKey); - - $data = $this->eagerlyWhere([ - [$this->foreignKey, 'in', $range], - ], $foreignKey, $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - $pk = $result->$localKey; - if (!isset($data[$pk])) { - $data[$pk] = []; - } - - foreach ($data[$pk] as &$relationModel) { - $relationModel->setParent(clone $result); - } - - // 设置关联属性 - $result->setRelation($attr, $this->resultSetBuild($data[$pk])); - } - } - } - - /** - * 预载入关联查询(数据) - * @access protected - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param mixed $subRelation 子关联名 - * @param Closure $closure 闭包 - * @return void - */ - public function eagerlyResult($result, $relation, $subRelation = '', $closure = null) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - $pk = $result->$localKey; - - $this->query->removeWhereField($foreignKey); - - $data = $this->eagerlyWhere([ - [$foreignKey, '=', $pk], - ], $foreignKey, $relation, $subRelation, $closure); - - // 关联数据封装 - if (!isset($data[$pk])) { - $data[$pk] = []; - } - - foreach ($data[$pk] as &$relationModel) { - $relationModel->setParent(clone $result); - } - - $result->setRelation(Loader::parseName($relation), $this->resultSetBuild($data[$pk])); - } - - /** - * 关联模型预查询 - * @access public - * @param array $where 关联预查询条件 - * @param string $key 关联键名 - * @param string $relation 关联名 - * @param mixed $subRelation 子关联 - * @param Closure $closure - * @return array - */ - protected function eagerlyWhere(array $where, $key, $relation, $subRelation = '', $closure = null) - { - // 预载入关联查询 支持嵌套预载入 - $throughList = $this->through->where($where)->select(); - $keys = $throughList->column($this->throughPk, $this->throughPk); - - if ($closure instanceof Closure) { - $closure($this->query); - } - - $list = $this->query->where($this->throughKey, 'in', $keys)->select(); - - // 组装模型数据 - $data = []; - $keys = $throughList->column($this->foreignKey, $this->throughPk); - - foreach ($list as $set) { - $data[$keys[$set->{$this->throughKey}]][] = $set; - } - - return $data; - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = null) - { - $localKey = $this->localKey; - - if (!isset($result->$localKey)) { - return 0; - } - - if ($closure instanceof Closure) { - $return = $closure($this->query); - if ($return && is_string($return)) { - $name = $return; - } - } - - $alias = Loader::parseName(basename(str_replace('\\', '/', $this->model))); - $throughTable = $this->through->getTable(); - $pk = $this->throughPk; - $throughKey = $this->throughKey; - $modelTable = $this->parent->getTable(); - - if (false === strpos($field, '.')) { - $field = $alias . '.' . $field; - } - - return $this->query - ->alias($alias) - ->join($throughTable, $throughTable . '.' . $pk . '=' . $alias . '.' . $throughKey) - ->join($modelTable, $modelTable . '.' . $this->localKey . '=' . $throughTable . '.' . $this->foreignKey) - ->where($throughTable . '.' . $this->foreignKey, $result->$localKey) - ->$aggregate($field); - } - - /** - * 创建关联统计子查询 - * @access public - * @param Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return string - */ - public function getRelationCountQuery($closure = null, $aggregate = 'count', $field = '*', &$name = null) - { - if ($closure instanceof Closure) { - $return = $closure($this->query); - if ($return && is_string($return)) { - $name = $return; - } - } - - $alias = Loader::parseName(basename(str_replace('\\', '/', $this->model))); - $throughTable = $this->through->getTable(); - $pk = $this->throughPk; - $throughKey = $this->throughKey; - $modelTable = $this->parent->getTable(); - - if (false === strpos($field, '.')) { - $field = $alias . '.' . $field; - } - - return $this->query - ->alias($alias) - ->join($throughTable, $throughTable . '.' . $pk . '=' . $alias . '.' . $throughKey) - ->join($modelTable, $modelTable . '.' . $this->localKey . '=' . $throughTable . '.' . $this->foreignKey) - ->whereExp($throughTable . '.' . $this->foreignKey, '=' . $this->parent->getTable() . '.' . $this->localKey) - ->fetchSql() - ->$aggregate($field); - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery) && $this->parent->getData()) { - $alias = Loader::parseName(basename(str_replace('\\', '/', $this->model))); - $throughTable = $this->through->getTable(); - $pk = $this->throughPk; - $throughKey = $this->throughKey; - $modelTable = $this->parent->getTable(); - $fields = $this->getQueryFields($alias); - - $this->query - ->field($fields) - ->alias($alias) - ->join($throughTable, $throughTable . '.' . $pk . '=' . $alias . '.' . $throughKey) - ->join($modelTable, $modelTable . '.' . $this->localKey . '=' . $throughTable . '.' . $this->foreignKey) - ->where($throughTable . '.' . $this->foreignKey, $this->parent->{$this->localKey}); - - $this->baseQuery = true; - } - } - -} diff --git a/thinkphp/library/think/model/relation/HasOne.php b/thinkphp/library/think/model/relation/HasOne.php deleted file mode 100644 index fe09443c..00000000 --- a/thinkphp/library/think/model/relation/HasOne.php +++ /dev/null @@ -1,294 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\db\Query; -use think\Loader; -use think\Model; - -class HasOne extends OneToOne -{ - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $foreignKey 关联外键 - * @param string $localKey 当前模型主键 - */ - public function __construct(Model $parent, $model, $foreignKey, $localKey) - { - $this->parent = $parent; - $this->model = $model; - $this->foreignKey = $foreignKey; - $this->localKey = $localKey; - $this->joinType = 'INNER'; - $this->query = (new $model)->db(); - - if (get_class($parent) == $model) { - $this->selfRelation = true; - } - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return Model - */ - public function getRelation($subRelation = '', $closure = null) - { - $localKey = $this->localKey; - - if ($closure instanceof Closure) { - $closure($this->query); - } - - // 判断关联类型执行查询 - $relationModel = $this->query - ->removeWhereField($this->foreignKey) - ->where($this->foreignKey, $this->parent->$localKey) - ->relation($subRelation) - ->find(); - - if ($relationModel) { - $relationModel->setParent(clone $this->parent); - } - - return $relationModel; - } - - /** - * 创建关联统计子查询 - * @access public - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $aggregateAlias 聚合字段别名 - * @return string - */ - public function getRelationCountQuery($closure, $aggregate = 'count', $field = '*', &$aggregateAlias = '') - { - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $aggregateAlias = $return; - } - } - - return $this->query - ->whereExp($this->foreignKey, '=' . $this->parent->getTable() . '.' . $this->localKey) - ->fetchSql() - ->$aggregate($field); - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = '') - { - $localKey = $this->localKey; - - if (!isset($result->$localKey)) { - return 0; - } - - if ($closure instanceof Closure) { - $return = $closure($this->query); - if ($return && is_string($return)) { - $name = $return; - } - } - - return $this->query - ->where($this->foreignKey, '=', $result->$localKey) - ->$aggregate($field); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - $table = $this->query->getTable(); - $model = basename(str_replace('\\', '/', get_class($this->parent))); - $relation = basename(str_replace('\\', '/', $this->model)); - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->whereExists(function ($query) use ($table, $model, $relation, $localKey, $foreignKey, $softDelete) { - $query->table([$table => $relation]) - ->field($relation . '.' . $foreignKey) - ->whereExp($model . '.' . $localKey, '=' . $relation . '.' . $foreignKey) - ->when($softDelete, function ($query) use ($softDelete, $relation) { - $query->where($relation . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }); - }); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - $table = $this->query->getTable(); - $model = basename(str_replace('\\', '/', get_class($this->parent))); - $relation = basename(str_replace('\\', '/', $this->model)); - - if (is_array($where)) { - $this->getQueryWhere($where, $relation); - } - - $fields = $this->getRelationQueryFields($fields, $model); - $softDelete = $this->query->getOptions('soft_delete'); - - return $this->parent->db() - ->alias($model) - ->field($fields) - ->join([$table => $relation], $model . '.' . $this->localKey . '=' . $relation . '.' . $this->foreignKey, $this->joinType) - ->when($softDelete, function ($query) use ($softDelete, $relation) { - $query->where($relation . strstr($softDelete[0], '.'), '=' == $softDelete[1][0] ? $softDelete[1][1] : null); - }) - ->where($where); - } - - /** - * 预载入关联查询(数据集) - * @access protected - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - protected function eagerlySet(&$resultSet, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - - $range = []; - foreach ($resultSet as $result) { - // 获取关联外键列表 - if (isset($result->$localKey)) { - $range[] = $result->$localKey; - } - } - - if (!empty($range)) { - $this->query->removeWhereField($foreignKey); - - $data = $this->eagerlyWhere([ - [$foreignKey, 'in', $range], - ], $foreignKey, $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - // 关联模型 - if (!isset($data[$result->$localKey])) { - $relationModel = null; - } else { - $relationModel = $data[$result->$localKey]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - if (!empty($this->bindAttr)) { - // 绑定关联属性 - $this->bindAttr($relationModel, $result, $this->bindAttr); - } else { - // 设置关联属性 - $result->setRelation($attr, $relationModel); - } - } - } - } - - /** - * 预载入关联查询(数据) - * @access protected - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - protected function eagerlyOne(&$result, $relation, $subRelation, $closure) - { - $localKey = $this->localKey; - $foreignKey = $this->foreignKey; - - $this->query->removeWhereField($foreignKey); - - $data = $this->eagerlyWhere([ - [$foreignKey, '=', $result->$localKey], - ], $foreignKey, $relation, $subRelation, $closure); - - // 关联模型 - if (!isset($data[$result->$localKey])) { - $relationModel = null; - } else { - $relationModel = $data[$result->$localKey]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - if (!empty($this->bindAttr)) { - // 绑定关联属性 - $this->bindAttr($relationModel, $result, $this->bindAttr); - } else { - $result->setRelation(Loader::parseName($relation), $relationModel); - } - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery)) { - if (isset($this->parent->{$this->localKey})) { - // 关联查询带入关联条件 - $this->query->where($this->foreignKey, '=', $this->parent->{$this->localKey}); - } - - $this->baseQuery = true; - } - } -} diff --git a/thinkphp/library/think/model/relation/MorphMany.php b/thinkphp/library/think/model/relation/MorphMany.php deleted file mode 100644 index d2af66e9..00000000 --- a/thinkphp/library/think/model/relation/MorphMany.php +++ /dev/null @@ -1,342 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\db\Query; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Relation; - -class MorphMany extends Relation -{ - // 多态字段 - protected $morphKey; - protected $morphType; - // 多态类型 - protected $type; - - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $morphKey 关联外键 - * @param string $morphType 多态字段名 - * @param string $type 多态类型 - */ - public function __construct(Model $parent, $model, $morphKey, $morphType, $type) - { - $this->parent = $parent; - $this->model = $model; - $this->type = $type; - $this->morphKey = $morphKey; - $this->morphType = $morphType; - $this->query = (new $model)->db(); - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return \think\Collection - */ - public function getRelation($subRelation = '', $closure = null) - { - if ($closure instanceof Closure) { - $closure($this->query); - } - - $this->baseQuery(); - - $list = $this->query->relation($subRelation)->select(); - $parent = clone $this->parent; - - foreach ($list as &$model) { - $model->setParent($parent); - } - - return $list; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - throw new Exception('relation not support: has'); - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - throw new Exception('relation not support: hasWhere'); - } - - /** - * 预载入关联查询 - * @access public - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResultSet(&$resultSet, $relation, $subRelation, $closure) - { - $morphType = $this->morphType; - $morphKey = $this->morphKey; - $type = $this->type; - $range = []; - - foreach ($resultSet as $result) { - $pk = $result->getPk(); - // 获取关联外键列表 - if (isset($result->$pk)) { - $range[] = $result->$pk; - } - } - - if (!empty($range)) { - $where = [ - [$morphKey, 'in', $range], - [$morphType, '=', $type], - ]; - $data = $this->eagerlyMorphToMany($where, $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - if (!isset($data[$result->$pk])) { - $data[$result->$pk] = []; - } - - foreach ($data[$result->$pk] as &$relationModel) { - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - $result->setRelation($attr, $this->resultSetBuild($data[$result->$pk])); - } - } - } - - /** - * 预载入关联查询 - * @access public - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResult(&$result, $relation, $subRelation, $closure) - { - $pk = $result->getPk(); - - if (isset($result->$pk)) { - $key = $result->$pk; - $where = [ - [$this->morphKey, '=', $key], - [$this->morphType, '=', $this->type], - ]; - $data = $this->eagerlyMorphToMany($where, $relation, $subRelation, $closure); - - if (!isset($data[$key])) { - $data[$key] = []; - } - - foreach ($data[$key] as &$relationModel) { - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - $result->setRelation(Loader::parseName($relation), $this->resultSetBuild($data[$key])); - } - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = '') - { - $pk = $result->getPk(); - - if (!isset($result->$pk)) { - return 0; - } - - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $name = $return; - } - } - - return $this->query - ->where([ - [$this->morphKey, '=', $result->$pk], - [$this->morphType, '=', $this->type], - ]) - ->$aggregate($field); - } - - /** - * 获取关联统计子查询 - * @access public - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $aggregateAlias 聚合字段别名 - * @return string - */ - public function getRelationCountQuery($closure, $aggregate = 'count', $field = '*', &$aggregateAlias = '') - { - if ($closure instanceof Closure) { - $return = $closure($this->query); - - if ($return && is_string($return)) { - $aggregateAlias = $return; - } - } - - return $this->query - ->whereExp($this->morphKey, '=' . $this->parent->getTable() . '.' . $this->parent->getPk()) - ->where($this->morphType, '=', $this->type) - ->fetchSql() - ->$aggregate($field); - } - - /** - * 多态一对多 关联模型预查询 - * @access protected - * @param array $where 关联预查询条件 - * @param string $relation 关联名 - * @param string $subRelation 子关联 - * @param \Closure $closure 闭包 - * @return array - */ - protected function eagerlyMorphToMany($where, $relation, $subRelation = '', $closure = null) - { - // 预载入关联查询 支持嵌套预载入 - $this->query->removeOption('where'); - - if ($closure instanceof Closure) { - $closure($this->query); - } - - $list = $this->query->where($where)->with($subRelation)->select(); - $morphKey = $this->morphKey; - - // 组装模型数据 - $data = []; - foreach ($list as $set) { - $data[$set->$morphKey][] = $set; - } - - return $data; - } - - /** - * 保存(新增)当前关联数据对象 - * @access public - * @param mixed $data 数据 - * @return Model|false - */ - public function save($data) - { - $model = $this->make(); - - return $model->save($data) ? $model : false; - } - - /** - * 创建关联对象实例 - * @param array $data - * @return Model - */ - public function make($data = []) - { - if ($data instanceof Model) { - $data = $data->getData(); - } - - // 保存关联表数据 - $pk = $this->parent->getPk(); - - $data[$this->morphKey] = $this->parent->$pk; - $data[$this->morphType] = $this->type; - - return new $this->model($data); - } - - /** - * 批量保存当前关联数据对象 - * @access public - * @param array $dataSet 数据集 - * @return array|false - */ - public function saveAll(array $dataSet) - { - $result = []; - - foreach ($dataSet as $key => $data) { - $result[] = $this->save($data); - } - - return empty($result) ? false : $result; - } - - /** - * 执行基础查询(仅执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery) && $this->parent->getData()) { - $pk = $this->parent->getPk(); - - $this->query->where([ - [$this->morphKey, '=', $this->parent->$pk], - [$this->morphType, '=', $this->type], - ]); - - $this->baseQuery = true; - } - } - -} diff --git a/thinkphp/library/think/model/relation/MorphOne.php b/thinkphp/library/think/model/relation/MorphOne.php deleted file mode 100644 index 6bc205c5..00000000 --- a/thinkphp/library/think/model/relation/MorphOne.php +++ /dev/null @@ -1,257 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\db\Query; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Relation; - -class MorphOne extends Relation -{ - // 多态字段 - protected $morphKey; - protected $morphType; - // 多态类型 - protected $type; - - /** - * 构造函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $model 模型名 - * @param string $morphKey 关联外键 - * @param string $morphType 多态字段名 - * @param string $type 多态类型 - */ - public function __construct(Model $parent, $model, $morphKey, $morphType, $type) - { - $this->parent = $parent; - $this->model = $model; - $this->type = $type; - $this->morphKey = $morphKey; - $this->morphType = $morphType; - $this->query = (new $model)->db(); - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return Model - */ - public function getRelation($subRelation = '', $closure = null) - { - if ($closure instanceof Closure) { - $closure($this->query); - } - - $this->baseQuery(); - - $relationModel = $this->query->relation($subRelation)->find(); - - if ($relationModel) { - $relationModel->setParent(clone $this->parent); - } - - return $relationModel; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - return $this->parent; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - throw new Exception('relation not support: hasWhere'); - } - - /** - * 预载入关联查询 - * @access public - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResultSet(&$resultSet, $relation, $subRelation, $closure) - { - $morphType = $this->morphType; - $morphKey = $this->morphKey; - $type = $this->type; - $range = []; - - foreach ($resultSet as $result) { - $pk = $result->getPk(); - // 获取关联外键列表 - if (isset($result->$pk)) { - $range[] = $result->$pk; - } - } - - if (!empty($range)) { - $data = $this->eagerlyMorphToOne([ - [$morphKey, 'in', $range], - [$morphType, '=', $type], - ], $relation, $subRelation, $closure); - - // 关联属性名 - $attr = Loader::parseName($relation); - - // 关联数据封装 - foreach ($resultSet as $result) { - if (!isset($data[$result->$pk])) { - $relationModel = null; - } else { - $relationModel = $data[$result->$pk]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - $result->setRelation($attr, $relationModel); - } - } - } - - /** - * 预载入关联查询 - * @access public - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResult(&$result, $relation, $subRelation, $closure) - { - $pk = $result->getPk(); - - if (isset($result->$pk)) { - $pk = $result->$pk; - $data = $this->eagerlyMorphToOne([ - [$this->morphKey, '=', $pk], - [$this->morphType, '=', $this->type], - ], $relation, $subRelation, $closure); - - if (isset($data[$pk])) { - $relationModel = $data[$pk]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } else { - $relationModel = null; - } - - $result->setRelation(Loader::parseName($relation), $relationModel); - } - } - - /** - * 多态一对一 关联模型预查询 - * @access protected - * @param array $where 关联预查询条件 - * @param string $relation 关联名 - * @param string $subRelation 子关联 - * @param \Closure $closure 闭包 - * @return array - */ - protected function eagerlyMorphToOne($where, $relation, $subRelation = '', $closure = null) - { - // 预载入关联查询 支持嵌套预载入 - if ($closure instanceof Closure) { - $closure($this->query); - } - - $list = $this->query->where($where)->with($subRelation)->select(); - $morphKey = $this->morphKey; - - // 组装模型数据 - $data = []; - - foreach ($list as $set) { - $data[$set->$morphKey] = $set; - } - - return $data; - } - - /** - * 保存(新增)当前关联数据对象 - * @access public - * @param mixed $data 数据 - * @return Model|false - */ - public function save($data) - { - $model = $this->make(); - return $model->save($data) ? $model : false; - } - - /** - * 创建关联对象实例 - * @param array $data - * @return Model - */ - public function make($data = []) - { - if ($data instanceof Model) { - $data = $data->getData(); - } - - // 保存关联表数据 - $pk = $this->parent->getPk(); - - $data[$this->morphKey] = $this->parent->$pk; - $data[$this->morphType] = $this->type; - - return new $this->model($data); - } - - /** - * 执行基础查询(进执行一次) - * @access protected - * @return void - */ - protected function baseQuery() - { - if (empty($this->baseQuery) && $this->parent->getData()) { - $pk = $this->parent->getPk(); - - $this->query->where([ - [$this->morphKey, '=', $this->parent->$pk], - [$this->morphType, '=', $this->type], - ]); - $this->baseQuery = true; - } - } - -} diff --git a/thinkphp/library/think/model/relation/MorphTo.php b/thinkphp/library/think/model/relation/MorphTo.php deleted file mode 100644 index 0786c2fe..00000000 --- a/thinkphp/library/think/model/relation/MorphTo.php +++ /dev/null @@ -1,316 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Relation; - -class MorphTo extends Relation -{ - // 多态字段 - protected $morphKey; - protected $morphType; - // 多态别名 - protected $alias; - // 关联名 - protected $relation; - - /** - * 架构函数 - * @access public - * @param Model $parent 上级模型对象 - * @param string $morphType 多态字段名 - * @param string $morphKey 外键名 - * @param array $alias 多态别名定义 - * @param string $relation 关联名 - */ - public function __construct(Model $parent, $morphType, $morphKey, $alias = [], $relation = null) - { - $this->parent = $parent; - $this->morphType = $morphType; - $this->morphKey = $morphKey; - $this->alias = $alias; - $this->relation = $relation; - } - - /** - * 获取当前的关联模型类的实例 - * @access public - * @return Model - */ - public function getModel() - { - $morphType = $this->morphType; - $model = $this->parseModel($this->parent->$morphType); - - return (new $model); - } - - /** - * 延迟获取关联数据 - * @access public - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包查询条件 - * @return Model - */ - public function getRelation($subRelation = '', $closure = null) - { - $morphKey = $this->morphKey; - $morphType = $this->morphType; - - // 多态模型 - $model = $this->parseModel($this->parent->$morphType); - - // 主键数据 - $pk = $this->parent->$morphKey; - - $relationModel = (new $model)->relation($subRelation)->find($pk); - - if ($relationModel) { - $relationModel->setParent(clone $this->parent); - } - - return $relationModel; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param string $operator 比较操作符 - * @param integer $count 个数 - * @param string $id 关联表的统计字段 - * @param string $joinType JOIN类型 - * @return Query - */ - public function has($operator = '>=', $count = 1, $id = '*', $joinType = 'INNER') - { - return $this->parent; - } - - /** - * 根据关联条件查询当前模型 - * @access public - * @param mixed $where 查询条件(数组或者闭包) - * @param mixed $fields 字段 - * @return Query - */ - public function hasWhere($where = [], $fields = null) - { - throw new Exception('relation not support: hasWhere'); - } - - /** - * 解析模型的完整命名空间 - * @access protected - * @param string $model 模型名(或者完整类名) - * @return string - */ - protected function parseModel($model) - { - if (isset($this->alias[$model])) { - $model = $this->alias[$model]; - } - - if (false === strpos($model, '\\')) { - $path = explode('\\', get_class($this->parent)); - array_pop($path); - array_push($path, Loader::parseName($model, 1)); - $model = implode('\\', $path); - } - - return $model; - } - - /** - * 设置多态别名 - * @access public - * @param array $alias 别名定义 - * @return $this - */ - public function setAlias($alias) - { - $this->alias = $alias; - - return $this; - } - - /** - * 移除关联查询参数 - * @access public - * @return $this - */ - public function removeOption() - { - return $this; - } - - /** - * 预载入关联查询 - * @access public - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - * @throws Exception - */ - public function eagerlyResultSet(&$resultSet, $relation, $subRelation, $closure) - { - $morphKey = $this->morphKey; - $morphType = $this->morphType; - $range = []; - - foreach ($resultSet as $result) { - // 获取关联外键列表 - if (!empty($result->$morphKey)) { - $range[$result->$morphType][] = $result->$morphKey; - } - } - - if (!empty($range)) { - // 关联属性名 - $attr = Loader::parseName($relation); - - foreach ($range as $key => $val) { - // 多态类型映射 - $model = $this->parseModel($key); - $obj = (new $model)->db(); - $pk = $obj->getPk(); - // 预载入关联查询 支持嵌套预载入 - if ($closure instanceof \Closure) { - $closure($obj); - - if ($field = $obj->getOptions('with_field')) { - $obj->field($field)->removeOption('with_field'); - } - } - $list = $obj->all($val, $subRelation); - $data = []; - - foreach ($list as $k => $vo) { - $data[$vo->$pk] = $vo; - } - - foreach ($resultSet as $result) { - if ($key == $result->$morphType) { - // 关联模型 - if (!isset($data[$result->$morphKey])) { - $relationModel = null; - } else { - $relationModel = $data[$result->$morphKey]; - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - $result->setRelation($attr, $relationModel); - } - } - } - } - } - - /** - * 预载入关联查询 - * @access public - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @return void - */ - public function eagerlyResult(&$result, $relation, $subRelation, $closure) - { - $morphKey = $this->morphKey; - $morphType = $this->morphType; - // 多态类型映射 - $model = $this->parseModel($result->{$this->morphType}); - - $this->eagerlyMorphToOne($model, $relation, $result, $subRelation); - } - - /** - * 关联统计 - * @access public - * @param Model $result 数据对象 - * @param \Closure $closure 闭包 - * @param string $aggregate 聚合查询方法 - * @param string $field 字段 - * @param string $name 统计字段别名 - * @return integer - */ - public function relationCount($result, $closure, $aggregate = 'count', $field = '*', &$name = '') - {} - - /** - * 多态MorphTo 关联模型预查询 - * @access protected - * @param string $model 关联模型对象 - * @param string $relation 关联名 - * @param Model $result - * @param string $subRelation 子关联 - * @return void - */ - protected function eagerlyMorphToOne($model, $relation, &$result, $subRelation = '') - { - // 预载入关联查询 支持嵌套预载入 - $pk = $this->parent->{$this->morphKey}; - $data = (new $model)->with($subRelation)->find($pk); - - if ($data) { - $data->setParent(clone $result); - $data->isUpdate(true); - } - - $result->setRelation(Loader::parseName($relation), $data ?: null); - } - - /** - * 添加关联数据 - * @access public - * @param Model $model 关联模型对象 - * @param string $type 多态类型 - * @return Model - */ - public function associate($model, $type = '') - { - $morphKey = $this->morphKey; - $morphType = $this->morphType; - $pk = $model->getPk(); - - $this->parent->setAttr($morphKey, $model->$pk); - $this->parent->setAttr($morphType, $type ?: get_class($model)); - $this->parent->save(); - - return $this->parent->setRelation($this->relation, $model); - } - - /** - * 注销关联数据 - * @access public - * @return Model - */ - public function dissociate() - { - $morphKey = $this->morphKey; - $morphType = $this->morphType; - - $this->parent->setAttr($morphKey, null); - $this->parent->setAttr($morphType, null); - $this->parent->save(); - - return $this->parent->setRelation($this->relation, null); - } - -} diff --git a/thinkphp/library/think/model/relation/OneToOne.php b/thinkphp/library/think/model/relation/OneToOne.php deleted file mode 100644 index 5e22b800..00000000 --- a/thinkphp/library/think/model/relation/OneToOne.php +++ /dev/null @@ -1,337 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\model\relation; - -use Closure; -use think\db\Query; -use think\Exception; -use think\Loader; -use think\Model; -use think\model\Relation; - -/** - * Class OneToOne - * @package think\model\relation - * - */ -abstract class OneToOne extends Relation -{ - // 预载入方式 0 -JOIN 1 -IN - protected $eagerlyType = 1; - // 当前关联的JOIN类型 - protected $joinType; - // 要绑定的属性 - protected $bindAttr = []; - // 关联名 - protected $relation; - - /** - * 设置join类型 - * @access public - * @param string $type JOIN类型 - * @return $this - */ - public function joinType($type) - { - $this->joinType = $type; - return $this; - } - - /** - * 预载入关联查询(JOIN方式) - * @access public - * @param Query $query 查询对象 - * @param string $relation 关联名 - * @param mixed $field 关联字段 - * @param string $joinType JOIN方式 - * @param \Closure $closure 闭包条件 - * @param bool $first - * @return void - */ - public function eagerly(Query $query, $relation, $field, $joinType, $closure, $first) - { - $name = Loader::parseName(basename(str_replace('\\', '/', get_class($this->parent)))); - - if ($first) { - $table = $query->getTable(); - $query->table([$table => $name]); - - if ($query->getOptions('field')) { - $masterField = $query->getOptions('field'); - $query->removeOption('field'); - } else { - $masterField = true; - } - - $query->field($masterField, false, $table, $name); - } - - // 预载入封装 - $joinTable = $this->query->getTable(); - $joinAlias = $relation; - $joinType = $joinType ?: $this->joinType; - - $query->via($joinAlias); - - if ($this instanceof BelongsTo) { - $joinOn = $name . '.' . $this->foreignKey . '=' . $joinAlias . '.' . $this->localKey; - } else { - $joinOn = $name . '.' . $this->localKey . '=' . $joinAlias . '.' . $this->foreignKey; - } - - if ($closure instanceof Closure) { - // 执行闭包查询 - $closure($query); - // 使用withField指定获取关联的字段,如 - // $query->where(['id'=>1])->withField('id,name'); - if ($query->getOptions('with_field')) { - $field = $query->getOptions('with_field'); - $query->removeOption('with_field'); - } - } - - $query->join([$joinTable => $joinAlias], $joinOn, $joinType) - ->field($field, false, $joinTable, $joinAlias, $relation . '__'); - } - - /** - * 预载入关联查询(数据集) - * @access protected - * @param array $resultSet - * @param string $relation - * @param string $subRelation - * @param \Closure $closure - * @return mixed - */ - abstract protected function eagerlySet(&$resultSet, $relation, $subRelation, $closure); - - /** - * 预载入关联查询(数据) - * @access protected - * @param Model $result - * @param string $relation - * @param string $subRelation - * @param \Closure $closure - * @return mixed - */ - abstract protected function eagerlyOne(&$result, $relation, $subRelation, $closure); - - /** - * 预载入关联查询(数据集) - * @access public - * @param array $resultSet 数据集 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @param bool $join 是否为JOIN方式 - * @return void - */ - public function eagerlyResultSet(&$resultSet, $relation, $subRelation, $closure, $join = false) - { - if ($join || 0 == $this->eagerlyType) { - // 模型JOIN关联组装 - foreach ($resultSet as $result) { - $this->match($this->model, $relation, $result); - } - } else { - // IN查询 - $this->eagerlySet($resultSet, $relation, $subRelation, $closure); - } - } - - /** - * 预载入关联查询(数据) - * @access public - * @param Model $result 数据对象 - * @param string $relation 当前关联名 - * @param string $subRelation 子关联名 - * @param \Closure $closure 闭包 - * @param bool $join 是否为JOIN方式 - * @return void - */ - public function eagerlyResult(&$result, $relation, $subRelation, $closure, $join = false) - { - if (0 == $this->eagerlyType || $join) { - // 模型JOIN关联组装 - $this->match($this->model, $relation, $result); - } else { - // IN查询 - $this->eagerlyOne($result, $relation, $subRelation, $closure); - } - } - - /** - * 保存(新增)当前关联数据对象 - * @access public - * @param mixed $data 数据 可以使用数组 关联模型对象 和 关联对象的主键 - * @return Model|false - */ - public function save($data) - { - if ($data instanceof Model) { - $data = $data->getData(); - } - - $model = new $this->model; - // 保存关联表数据 - $data[$this->foreignKey] = $this->parent->{$this->localKey}; - - return $model->save($data) ? $model : false; - } - - /** - * 设置预载入方式 - * @access public - * @param integer $type 预载入方式 0 JOIN查询 1 IN查询 - * @return $this - */ - public function setEagerlyType($type) - { - $this->eagerlyType = $type; - - return $this; - } - - /** - * 获取预载入方式 - * @access public - * @return integer - */ - public function getEagerlyType() - { - return $this->eagerlyType; - } - - /** - * 绑定关联表的属性到父模型属性 - * @access public - * @param mixed $attr 要绑定的属性列表 - * @return $this - */ - public function bind($attr) - { - if (is_string($attr)) { - $attr = explode(',', $attr); - } - $this->bindAttr = $attr; - - return $this; - } - - /** - * 获取绑定属性 - * @access public - * @return array - */ - public function getBindAttr() - { - return $this->bindAttr; - } - - /** - * 一对一 关联模型预查询拼装 - * @access public - * @param string $model 模型名称 - * @param string $relation 关联名 - * @param Model $result 模型对象实例 - * @return void - */ - protected function match($model, $relation, &$result) - { - // 重新组装模型数据 - foreach ($result->getData() as $key => $val) { - if (strpos($key, '__')) { - list($name, $attr) = explode('__', $key, 2); - if ($name == $relation) { - $list[$name][$attr] = $val; - unset($result->$key); - } - } - } - - if (isset($list[$relation])) { - $array = array_unique($list[$relation]); - - if (count($array) == 1 && null === current($array)) { - $relationModel = null; - } else { - $relationModel = new $model($list[$relation]); - $relationModel->setParent(clone $result); - $relationModel->isUpdate(true); - } - - if (!empty($this->bindAttr)) { - $this->bindAttr($relationModel, $result, $this->bindAttr); - } - } else { - $relationModel = null; - } - - $result->setRelation(Loader::parseName($relation), $relationModel); - } - - /** - * 绑定关联属性到父模型 - * @access protected - * @param Model $result 关联模型对象 - * @param Model $model 父模型对象 - * @return void - * @throws Exception - */ - protected function bindAttr($model, &$result) - { - foreach ($this->bindAttr as $key => $attr) { - $key = is_numeric($key) ? $attr : $key; - $value = $result->getOrigin($key); - - if (!is_null($value)) { - throw new Exception('bind attr has exists:' . $key); - } - - $result->setAttr($key, $model ? $model->getAttr($attr) : null); - } - } - - /** - * 一对一 关联模型预查询(IN方式) - * @access public - * @param array $where 关联预查询条件 - * @param string $key 关联键名 - * @param string $relation 关联名 - * @param string $subRelation 子关联 - * @param \Closure $closure - * @return array - */ - protected function eagerlyWhere($where, $key, $relation, $subRelation = '', $closure = null) - { - // 预载入关联查询 支持嵌套预载入 - if ($closure instanceof Closure) { - $closure($this->query); - - if ($field = $this->query->getOptions('with_field')) { - $this->query->field($field)->removeOption('with_field'); - } - } - - $list = $this->query->where($where)->with($subRelation)->select(); - - // 组装模型数据 - $data = []; - - foreach ($list as $set) { - $data[$set->$key] = $set; - } - - return $data; - } - -} diff --git a/thinkphp/library/think/paginator/driver/Bootstrap.php b/thinkphp/library/think/paginator/driver/Bootstrap.php deleted file mode 100644 index ab5315c0..00000000 --- a/thinkphp/library/think/paginator/driver/Bootstrap.php +++ /dev/null @@ -1,206 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\paginator\driver; - -use think\Paginator; - -class Bootstrap extends Paginator -{ - - /** - * 上一页按钮 - * @param string $text - * @return string - */ - protected function getPreviousButton($text = "«") - { - - if ($this->currentPage() <= 1) { - return $this->getDisabledTextWrapper($text); - } - - $url = $this->url( - $this->currentPage() - 1 - ); - - return $this->getPageLinkWrapper($url, $text); - } - - /** - * 下一页按钮 - * @param string $text - * @return string - */ - protected function getNextButton($text = '»') - { - if (!$this->hasMore) { - return $this->getDisabledTextWrapper($text); - } - - $url = $this->url($this->currentPage() + 1); - - return $this->getPageLinkWrapper($url, $text); - } - - /** - * 页码按钮 - * @return string - */ - protected function getLinks() - { - if ($this->simple) { - return ''; - } - - $block = [ - 'first' => null, - 'slider' => null, - 'last' => null, - ]; - - $side = 3; - $window = $side * 2; - - if ($this->lastPage < $window + 6) { - $block['first'] = $this->getUrlRange(1, $this->lastPage); - } elseif ($this->currentPage <= $window) { - $block['first'] = $this->getUrlRange(1, $window + 2); - $block['last'] = $this->getUrlRange($this->lastPage - 1, $this->lastPage); - } elseif ($this->currentPage > ($this->lastPage - $window)) { - $block['first'] = $this->getUrlRange(1, 2); - $block['last'] = $this->getUrlRange($this->lastPage - ($window + 2), $this->lastPage); - } else { - $block['first'] = $this->getUrlRange(1, 2); - $block['slider'] = $this->getUrlRange($this->currentPage - $side, $this->currentPage + $side); - $block['last'] = $this->getUrlRange($this->lastPage - 1, $this->lastPage); - } - - $html = ''; - - if (is_array($block['first'])) { - $html .= $this->getUrlLinks($block['first']); - } - - if (is_array($block['slider'])) { - $html .= $this->getDots(); - $html .= $this->getUrlLinks($block['slider']); - } - - if (is_array($block['last'])) { - $html .= $this->getDots(); - $html .= $this->getUrlLinks($block['last']); - } - - return $html; - } - - /** - * 渲染分页html - * @return mixed - */ - public function render() - { - if ($this->hasPages()) { - if ($this->simple) { - return sprintf( - '
            %s %s
          ', - $this->getPreviousButton(), - $this->getNextButton() - ); - } else { - return sprintf( - '
            %s %s %s
          ', - $this->getPreviousButton(), - $this->getLinks(), - $this->getNextButton() - ); - } - } - } - - /** - * 生成一个可点击的按钮 - * - * @param string $url - * @param int $page - * @return string - */ - protected function getAvailablePageWrapper($url, $page) - { - return '
        • ' . $page . '
        • '; - } - - /** - * 生成一个禁用的按钮 - * - * @param string $text - * @return string - */ - protected function getDisabledTextWrapper($text) - { - return '
        • ' . $text . '
        • '; - } - - /** - * 生成一个激活的按钮 - * - * @param string $text - * @return string - */ - protected function getActivePageWrapper($text) - { - return '
        • ' . $text . '
        • '; - } - - /** - * 生成省略号按钮 - * - * @return string - */ - protected function getDots() - { - return $this->getDisabledTextWrapper('...'); - } - - /** - * 批量生成页码按钮. - * - * @param array $urls - * @return string - */ - protected function getUrlLinks(array $urls) - { - $html = ''; - - foreach ($urls as $page => $url) { - $html .= $this->getPageLinkWrapper($url, $page); - } - - return $html; - } - - /** - * 生成普通页码按钮 - * - * @param string $url - * @param int $page - * @return string - */ - protected function getPageLinkWrapper($url, $page) - { - if ($this->currentPage() == $page) { - return $this->getActivePageWrapper($page); - } - - return $this->getAvailablePageWrapper($url, $page); - } -} diff --git a/thinkphp/library/think/process/Builder.php b/thinkphp/library/think/process/Builder.php deleted file mode 100644 index da561639..00000000 --- a/thinkphp/library/think/process/Builder.php +++ /dev/null @@ -1,233 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process; - -use think\Process; - -class Builder -{ - private $arguments; - private $cwd; - private $env = null; - private $input; - private $timeout = 60; - private $options = []; - private $inheritEnv = true; - private $prefix = []; - private $outputDisabled = false; - - /** - * 构造方法 - * @param string[] $arguments 参数 - */ - public function __construct(array $arguments = []) - { - $this->arguments = $arguments; - } - - /** - * 创建一个实例 - * @param string[] $arguments 参数 - * @return self - */ - public static function create(array $arguments = []) - { - return new static($arguments); - } - - /** - * 添加一个参数 - * @param string $argument 参数 - * @return self - */ - public function add($argument) - { - $this->arguments[] = $argument; - - return $this; - } - - /** - * 添加一个前缀 - * @param string|array $prefix - * @return self - */ - public function setPrefix($prefix) - { - $this->prefix = is_array($prefix) ? $prefix : [$prefix]; - - return $this; - } - - /** - * 设置参数 - * @param string[] $arguments - * @return self - */ - public function setArguments(array $arguments) - { - $this->arguments = $arguments; - - return $this; - } - - /** - * 设置工作目录 - * @param null|string $cwd - * @return self - */ - public function setWorkingDirectory($cwd) - { - $this->cwd = $cwd; - - return $this; - } - - /** - * 是否初始化环境变量 - * @param bool $inheritEnv - * @return self - */ - public function inheritEnvironmentVariables($inheritEnv = true) - { - $this->inheritEnv = $inheritEnv; - - return $this; - } - - /** - * 设置环境变量 - * @param string $name - * @param null|string $value - * @return self - */ - public function setEnv($name, $value) - { - $this->env[$name] = $value; - - return $this; - } - - /** - * 添加环境变量 - * @param array $variables - * @return self - */ - public function addEnvironmentVariables(array $variables) - { - $this->env = array_replace($this->env, $variables); - - return $this; - } - - /** - * 设置输入 - * @param mixed $input - * @return self - */ - public function setInput($input) - { - $this->input = Utils::validateInput(sprintf('%s::%s', __CLASS__, __FUNCTION__), $input); - - return $this; - } - - /** - * 设置超时时间 - * @param float|null $timeout - * @return self - */ - public function setTimeout($timeout) - { - if (null === $timeout) { - $this->timeout = null; - - return $this; - } - - $timeout = (float) $timeout; - - if ($timeout < 0) { - throw new \InvalidArgumentException('The timeout value must be a valid positive integer or float number.'); - } - - $this->timeout = $timeout; - - return $this; - } - - /** - * 设置proc_open选项 - * @param string $name - * @param string $value - * @return self - */ - public function setOption($name, $value) - { - $this->options[$name] = $value; - - return $this; - } - - /** - * 禁止输出 - * @return self - */ - public function disableOutput() - { - $this->outputDisabled = true; - - return $this; - } - - /** - * 开启输出 - * @return self - */ - public function enableOutput() - { - $this->outputDisabled = false; - - return $this; - } - - /** - * 创建一个Process实例 - * @return Process - */ - public function getProcess() - { - if (0 === count($this->prefix) && 0 === count($this->arguments)) { - throw new \LogicException('You must add() command arguments before calling getProcess().'); - } - - $options = $this->options; - - $arguments = array_merge($this->prefix, $this->arguments); - $script = implode(' ', array_map([__NAMESPACE__ . '\\Utils', 'escapeArgument'], $arguments)); - - if ($this->inheritEnv) { - // include $_ENV for BC purposes - $env = array_replace($_ENV, $_SERVER, $this->env); - } else { - $env = $this->env; - } - - $process = new Process($script, $this->cwd, $env, $this->input, $this->timeout, $options); - - if ($this->outputDisabled) { - $process->disableOutput(); - } - - return $process; - } -} diff --git a/thinkphp/library/think/process/Utils.php b/thinkphp/library/think/process/Utils.php deleted file mode 100644 index f94c6488..00000000 --- a/thinkphp/library/think/process/Utils.php +++ /dev/null @@ -1,75 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process; - -class Utils -{ - - /** - * 转义字符串 - * @param string $argument - * @return string - */ - public static function escapeArgument($argument) - { - - if ('' === $argument) { - return escapeshellarg($argument); - } - $escapedArgument = ''; - $quote = false; - foreach (preg_split('/(")/i', $argument, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE) as $part) { - if ('"' === $part) { - $escapedArgument .= '\\"'; - } elseif (self::isSurroundedBy($part, '%')) { - // Avoid environment variable expansion - $escapedArgument .= '^%"' . substr($part, 1, -1) . '"^%'; - } else { - // escape trailing backslash - if ('\\' === substr($part, -1)) { - $part .= '\\'; - } - $quote = true; - $escapedArgument .= $part; - } - } - if ($quote) { - $escapedArgument = '"' . $escapedArgument . '"'; - } - return $escapedArgument; - } - - /** - * 验证并进行规范化Process输入。 - * @param string $caller - * @param mixed $input - * @return string - * @throws \InvalidArgumentException - */ - public static function validateInput($caller, $input) - { - if (null !== $input) { - if (is_resource($input)) { - return $input; - } - if (is_scalar($input)) { - return (string) $input; - } - throw new \InvalidArgumentException(sprintf('%s only accepts strings or stream resources.', $caller)); - } - return $input; - } - - private static function isSurroundedBy($arg, $char) - { - return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1]; - } - -} diff --git a/thinkphp/library/think/process/exception/Faild.php b/thinkphp/library/think/process/exception/Faild.php deleted file mode 100644 index 38647bc1..00000000 --- a/thinkphp/library/think/process/exception/Faild.php +++ /dev/null @@ -1,42 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process\exception; - -use think\Process; - -class Faild extends \RuntimeException -{ - - private $process; - - public function __construct(Process $process) - { - if ($process->isSuccessful()) { - throw new \InvalidArgumentException('Expected a failed process, but the given process was successful.'); - } - - $error = sprintf('The command "%s" failed.' . "\nExit Code: %s(%s)", $process->getCommandLine(), $process->getExitCode(), $process->getExitCodeText()); - - if (!$process->isOutputDisabled()) { - $error .= sprintf("\n\nOutput:\n================\n%s\n\nError Output:\n================\n%s", $process->getOutput(), $process->getErrorOutput()); - } - - parent::__construct($error); - - $this->process = $process; - } - - public function getProcess() - { - return $this->process; - } -} diff --git a/thinkphp/library/think/process/exception/Failed.php b/thinkphp/library/think/process/exception/Failed.php deleted file mode 100644 index 52950823..00000000 --- a/thinkphp/library/think/process/exception/Failed.php +++ /dev/null @@ -1,42 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process\exception; - -use think\Process; - -class Failed extends \RuntimeException -{ - - private $process; - - public function __construct(Process $process) - { - if ($process->isSuccessful()) { - throw new \InvalidArgumentException('Expected a failed process, but the given process was successful.'); - } - - $error = sprintf('The command "%s" failed.' . "\nExit Code: %s(%s)", $process->getCommandLine(), $process->getExitCode(), $process->getExitCodeText()); - - if (!$process->isOutputDisabled()) { - $error .= sprintf("\n\nOutput:\n================\n%s\n\nError Output:\n================\n%s", $process->getOutput(), $process->getErrorOutput()); - } - - parent::__construct($error); - - $this->process = $process; - } - - public function getProcess() - { - return $this->process; - } -} diff --git a/thinkphp/library/think/process/exception/Timeout.php b/thinkphp/library/think/process/exception/Timeout.php deleted file mode 100644 index d5f1162f..00000000 --- a/thinkphp/library/think/process/exception/Timeout.php +++ /dev/null @@ -1,61 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process\exception; - -use think\Process; - -class Timeout extends \RuntimeException -{ - - const TYPE_GENERAL = 1; - const TYPE_IDLE = 2; - - private $process; - private $timeoutType; - - public function __construct(Process $process, $timeoutType) - { - $this->process = $process; - $this->timeoutType = $timeoutType; - - parent::__construct(sprintf('The process "%s" exceeded the timeout of %s seconds.', $process->getCommandLine(), $this->getExceededTimeout())); - } - - public function getProcess() - { - return $this->process; - } - - public function isGeneralTimeout() - { - return $this->timeoutType === self::TYPE_GENERAL; - } - - public function isIdleTimeout() - { - return $this->timeoutType === self::TYPE_IDLE; - } - - public function getExceededTimeout() - { - switch ($this->timeoutType) { - case self::TYPE_GENERAL: - return $this->process->getTimeout(); - - case self::TYPE_IDLE: - return $this->process->getIdleTimeout(); - - default: - throw new \LogicException(sprintf('Unknown timeout type "%d".', $this->timeoutType)); - } - } -} diff --git a/thinkphp/library/think/process/pipes/Pipes.php b/thinkphp/library/think/process/pipes/Pipes.php deleted file mode 100644 index 82396b8f..00000000 --- a/thinkphp/library/think/process/pipes/Pipes.php +++ /dev/null @@ -1,93 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process\pipes; - -abstract class Pipes -{ - - /** @var array */ - public $pipes = []; - - /** @var string */ - protected $inputBuffer = ''; - /** @var resource|null */ - protected $input; - - /** @var bool */ - private $blocked = true; - - const CHUNK_SIZE = 16384; - - /** - * 返回用于 proc_open 描述符的数组 - * @return array - */ - abstract public function getDescriptors(); - - /** - * 返回一个数组的索引由其相关的流,以防这些管道使用的临时文件的文件名。 - * @return string[] - */ - abstract public function getFiles(); - - /** - * 文件句柄和管道中读取数据。 - * @param bool $blocking 是否使用阻塞调用 - * @param bool $close 是否要关闭管道,如果他们已经到达 EOF。 - * @return string[] - */ - abstract public function readAndWrite($blocking, $close = false); - - /** - * 返回当前状态如果有打开的文件句柄或管道。 - * @return bool - */ - abstract public function areOpen(); - - /** - * {@inheritdoc} - */ - public function close() - { - foreach ($this->pipes as $pipe) { - fclose($pipe); - } - $this->pipes = []; - } - - /** - * 检查系统调用已被中断 - * @return bool - */ - protected function hasSystemCallBeenInterrupted() - { - $lastError = error_get_last(); - - return isset($lastError['message']) && false !== stripos($lastError['message'], 'interrupted system call'); - } - - protected function unblock() - { - if (!$this->blocked) { - return; - } - - foreach ($this->pipes as $pipe) { - stream_set_blocking($pipe, 0); - } - if (null !== $this->input) { - stream_set_blocking($this->input, 0); - } - - $this->blocked = false; - } -} diff --git a/thinkphp/library/think/process/pipes/Unix.php b/thinkphp/library/think/process/pipes/Unix.php deleted file mode 100644 index fd99a5d6..00000000 --- a/thinkphp/library/think/process/pipes/Unix.php +++ /dev/null @@ -1,196 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process\pipes; - -use think\Process; - -class Unix extends Pipes -{ - - /** @var bool */ - private $ttyMode; - /** @var bool */ - private $ptyMode; - /** @var bool */ - private $disableOutput; - - public function __construct($ttyMode, $ptyMode, $input, $disableOutput) - { - $this->ttyMode = (bool) $ttyMode; - $this->ptyMode = (bool) $ptyMode; - $this->disableOutput = (bool) $disableOutput; - - if (is_resource($input)) { - $this->input = $input; - } else { - $this->inputBuffer = (string) $input; - } - } - - public function __destruct() - { - $this->close(); - } - - /** - * {@inheritdoc} - */ - public function getDescriptors() - { - if ($this->disableOutput) { - $nullstream = fopen('/dev/null', 'c'); - - return [ - ['pipe', 'r'], - $nullstream, - $nullstream, - ]; - } - - if ($this->ttyMode) { - return [ - ['file', '/dev/tty', 'r'], - ['file', '/dev/tty', 'w'], - ['file', '/dev/tty', 'w'], - ]; - } - - if ($this->ptyMode && Process::isPtySupported()) { - return [ - ['pty'], - ['pty'], - ['pty'], - ]; - } - - return [ - ['pipe', 'r'], - ['pipe', 'w'], // stdout - ['pipe', 'w'], // stderr - ]; - } - - /** - * {@inheritdoc} - */ - public function getFiles() - { - return []; - } - - /** - * {@inheritdoc} - */ - public function readAndWrite($blocking, $close = false) - { - - if (1 === count($this->pipes) && [0] === array_keys($this->pipes)) { - fclose($this->pipes[0]); - unset($this->pipes[0]); - } - - if (empty($this->pipes)) { - return []; - } - - $this->unblock(); - - $read = []; - - if (null !== $this->input) { - $r = array_merge($this->pipes, ['input' => $this->input]); - } else { - $r = $this->pipes; - } - - unset($r[0]); - - $w = isset($this->pipes[0]) ? [$this->pipes[0]] : null; - $e = null; - - if (false === $n = @stream_select($r, $w, $e, 0, $blocking ? Process::TIMEOUT_PRECISION * 1E6 : 0)) { - - if (!$this->hasSystemCallBeenInterrupted()) { - $this->pipes = []; - } - - return $read; - } - - if (0 === $n) { - return $read; - } - - foreach ($r as $pipe) { - - $type = (false !== $found = array_search($pipe, $this->pipes)) ? $found : 'input'; - $data = ''; - while ('' !== $dataread = (string) fread($pipe, self::CHUNK_SIZE)) { - $data .= $dataread; - } - - if ('' !== $data) { - if ('input' === $type) { - $this->inputBuffer .= $data; - } else { - $read[$type] = $data; - } - } - - if (false === $data || (true === $close && feof($pipe) && '' === $data)) { - if ('input' === $type) { - $this->input = null; - } else { - fclose($this->pipes[$type]); - unset($this->pipes[$type]); - } - } - } - - if (null !== $w && 0 < count($w)) { - while (strlen($this->inputBuffer)) { - $written = fwrite($w[0], $this->inputBuffer, 2 << 18); // write 512k - if ($written > 0) { - $this->inputBuffer = (string) substr($this->inputBuffer, $written); - } else { - break; - } - } - } - - if ('' === $this->inputBuffer && null === $this->input && isset($this->pipes[0])) { - fclose($this->pipes[0]); - unset($this->pipes[0]); - } - - return $read; - } - - /** - * {@inheritdoc} - */ - public function areOpen() - { - return (bool) $this->pipes; - } - - /** - * 创建一个新的 UnixPipes 实例 - * @param Process $process - * @param string|resource $input - * @return self - */ - public static function create(Process $process, $input) - { - return new static($process->isTty(), $process->isPty(), $input, $process->isOutputDisabled()); - } -} diff --git a/thinkphp/library/think/process/pipes/Windows.php b/thinkphp/library/think/process/pipes/Windows.php deleted file mode 100644 index 1b8b0d4f..00000000 --- a/thinkphp/library/think/process/pipes/Windows.php +++ /dev/null @@ -1,228 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\process\pipes; - -use think\Process; - -class Windows extends Pipes -{ - - /** @var array */ - private $files = []; - /** @var array */ - private $fileHandles = []; - /** @var array */ - private $readBytes = [ - Process::STDOUT => 0, - Process::STDERR => 0, - ]; - /** @var bool */ - private $disableOutput; - - public function __construct($disableOutput, $input) - { - $this->disableOutput = (bool) $disableOutput; - - if (!$this->disableOutput) { - - $this->files = [ - Process::STDOUT => tempnam(sys_get_temp_dir(), 'sf_proc_stdout'), - Process::STDERR => tempnam(sys_get_temp_dir(), 'sf_proc_stderr'), - ]; - foreach ($this->files as $offset => $file) { - $this->fileHandles[$offset] = fopen($this->files[$offset], 'rb'); - if (false === $this->fileHandles[$offset]) { - throw new \RuntimeException('A temporary file could not be opened to write the process output to, verify that your TEMP environment variable is writable'); - } - } - } - - if (is_resource($input)) { - $this->input = $input; - } else { - $this->inputBuffer = $input; - } - } - - public function __destruct() - { - $this->close(); - $this->removeFiles(); - } - - /** - * {@inheritdoc} - */ - public function getDescriptors() - { - if ($this->disableOutput) { - $nullstream = fopen('NUL', 'c'); - - return [ - ['pipe', 'r'], - $nullstream, - $nullstream, - ]; - } - - return [ - ['pipe', 'r'], - ['file', 'NUL', 'w'], - ['file', 'NUL', 'w'], - ]; - } - - /** - * {@inheritdoc} - */ - public function getFiles() - { - return $this->files; - } - - /** - * {@inheritdoc} - */ - public function readAndWrite($blocking, $close = false) - { - $this->write($blocking, $close); - - $read = []; - $fh = $this->fileHandles; - foreach ($fh as $type => $fileHandle) { - if (0 !== fseek($fileHandle, $this->readBytes[$type])) { - continue; - } - $data = ''; - $dataread = null; - while (!feof($fileHandle)) { - if (false !== $dataread = fread($fileHandle, self::CHUNK_SIZE)) { - $data .= $dataread; - } - } - if (0 < $length = strlen($data)) { - $this->readBytes[$type] += $length; - $read[$type] = $data; - } - - if (false === $dataread || (true === $close && feof($fileHandle) && '' === $data)) { - fclose($this->fileHandles[$type]); - unset($this->fileHandles[$type]); - } - } - - return $read; - } - - /** - * {@inheritdoc} - */ - public function areOpen() - { - return (bool) $this->pipes && (bool) $this->fileHandles; - } - - /** - * {@inheritdoc} - */ - public function close() - { - parent::close(); - foreach ($this->fileHandles as $handle) { - fclose($handle); - } - $this->fileHandles = []; - } - - /** - * 创建一个新的 WindowsPipes 实例。 - * @param Process $process - * @param $input - * @return self - */ - public static function create(Process $process, $input) - { - return new static($process->isOutputDisabled(), $input); - } - - /** - * 删除临时文件 - */ - private function removeFiles() - { - foreach ($this->files as $filename) { - if (file_exists($filename)) { - @unlink($filename); - } - } - $this->files = []; - } - - /** - * 写入到 stdin 输入 - * @param bool $blocking - * @param bool $close - */ - private function write($blocking, $close) - { - if (empty($this->pipes)) { - return; - } - - $this->unblock(); - - $r = null !== $this->input ? ['input' => $this->input] : null; - $w = isset($this->pipes[0]) ? [$this->pipes[0]] : null; - $e = null; - - if (false === $n = @stream_select($r, $w, $e, 0, $blocking ? Process::TIMEOUT_PRECISION * 1E6 : 0)) { - if (!$this->hasSystemCallBeenInterrupted()) { - $this->pipes = []; - } - - return; - } - - if (0 === $n) { - return; - } - - if (null !== $r && 0 < count($r)) { - $data = ''; - while ($dataread = fread($r['input'], self::CHUNK_SIZE)) { - $data .= $dataread; - } - - $this->inputBuffer .= $data; - - if (false === $data || (true === $close && feof($r['input']) && '' === $data)) { - $this->input = null; - } - } - - if (null !== $w && 0 < count($w)) { - while (strlen($this->inputBuffer)) { - $written = fwrite($w[0], $this->inputBuffer, 2 << 18); - if ($written > 0) { - $this->inputBuffer = (string) substr($this->inputBuffer, $written); - } else { - break; - } - } - } - - if ('' === $this->inputBuffer && null === $this->input && isset($this->pipes[0])) { - fclose($this->pipes[0]); - unset($this->pipes[0]); - } - } -} diff --git a/thinkphp/library/think/response/Download.php b/thinkphp/library/think/response/Download.php deleted file mode 100644 index 5595f9ab..00000000 --- a/thinkphp/library/think/response/Download.php +++ /dev/null @@ -1,148 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Exception; -use think\Response; - -class Download extends Response -{ - protected $expire = 360; - protected $name; - protected $mimeType; - protected $isContent = false; - protected $openinBrowser = false; - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - * @throws \Exception - */ - protected function output($data) - { - if (!$this->isContent && !is_file($data)) { - throw new Exception('file not exists:' . $data); - } - - ob_end_clean(); - - if (!empty($this->name)) { - $name = $this->name; - } else { - $name = !$this->isContent ? pathinfo($data, PATHINFO_BASENAME) : ''; - } - - if ($this->isContent) { - $mimeType = $this->mimeType; - $size = strlen($data); - } else { - $mimeType = $this->getMimeType($data); - $size = filesize($data); - } - - $this->header['Pragma'] = 'public'; - $this->header['Content-Type'] = $mimeType ?: 'application/octet-stream'; - $this->header['Cache-control'] = 'max-age=' . $this->expire; - $this->header['Content-Disposition'] = $this->openinBrowser ? 'inline' : 'attachment; filename="' . $name . '"'; - $this->header['Content-Length'] = $size; - $this->header['Content-Transfer-Encoding'] = 'binary'; - $this->header['Expires'] = gmdate("D, d M Y H:i:s", time() + $this->expire) . ' GMT'; - - $this->lastModified(gmdate('D, d M Y H:i:s', time()) . ' GMT'); - - $data = $this->isContent ? $data : file_get_contents($data); - return $data; - } - - /** - * 设置是否为内容 必须配合mimeType方法使用 - * @access public - * @param bool $content - * @return $this - */ - public function isContent($content = true) - { - $this->isContent = $content; - return $this; - } - - /** - * 设置有效期 - * @access public - * @param integer $expire 有效期 - * @return $this - */ - public function expire($expire) - { - $this->expire = $expire; - return $this; - } - - /** - * 设置文件类型 - * @access public - * @param string $filename 文件名 - * @return $this - */ - public function mimeType($mimeType) - { - $this->mimeType = $mimeType; - return $this; - } - - /** - * 获取文件类型信息 - * @access public - * @param string $filename 文件名 - * @return string - */ - protected function getMimeType($filename) - { - if (!empty($this->mimeType)) { - return $this->mimeType; - } - - $finfo = finfo_open(FILEINFO_MIME_TYPE); - - return finfo_file($finfo, $filename); - } - - /** - * 设置下载文件的显示名称 - * @access public - * @param string $filename 文件名 - * @param bool $extension 后缀自动识别 - * @return $this - */ - public function name($filename, $extension = true) - { - $this->name = $filename; - - if ($extension && false === strpos($filename, '.')) { - $this->name .= '.' . pathinfo($this->data, PATHINFO_EXTENSION); - } - - return $this; - } - - /** - * 设置是否在浏览器中显示文件 - * @access public - * @param bool $openinBrowser 是否在浏览器中显示文件 - * @return $this - */ - public function openinBrowser($openinBrowser) { - $this->openinBrowser = $openinBrowser; - return $this; - } -} diff --git a/thinkphp/library/think/response/Json.php b/thinkphp/library/think/response/Json.php deleted file mode 100644 index aa5bbd6f..00000000 --- a/thinkphp/library/think/response/Json.php +++ /dev/null @@ -1,51 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Response; - -class Json extends Response -{ - // 输出参数 - protected $options = [ - 'json_encode_param' => JSON_UNESCAPED_UNICODE, - ]; - - protected $contentType = 'application/json'; - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - * @throws \Exception - */ - protected function output($data) - { - try { - // 返回JSON数据格式到客户端 包含状态信息 - $data = json_encode($data, $this->options['json_encode_param']); - - if (false === $data) { - throw new \InvalidArgumentException(json_last_error_msg()); - } - - return $data; - } catch (\Exception $e) { - if ($e->getPrevious()) { - throw $e->getPrevious(); - } - throw $e; - } - } - -} diff --git a/thinkphp/library/think/response/Jsonp.php b/thinkphp/library/think/response/Jsonp.php deleted file mode 100644 index f69e88e1..00000000 --- a/thinkphp/library/think/response/Jsonp.php +++ /dev/null @@ -1,58 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Response; - -class Jsonp extends Response -{ - // 输出参数 - protected $options = [ - 'var_jsonp_handler' => 'callback', - 'default_jsonp_handler' => 'jsonpReturn', - 'json_encode_param' => JSON_UNESCAPED_UNICODE, - ]; - - protected $contentType = 'application/javascript'; - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - * @throws \Exception - */ - protected function output($data) - { - try { - // 返回JSON数据格式到客户端 包含状态信息 [当url_common_param为false时是无法获取到$_GET的数据的,故使用Request来获取] - $var_jsonp_handler = $this->app['request']->param($this->options['var_jsonp_handler'], ""); - $handler = !empty($var_jsonp_handler) ? $var_jsonp_handler : $this->options['default_jsonp_handler']; - - $data = json_encode($data, $this->options['json_encode_param']); - - if (false === $data) { - throw new \InvalidArgumentException(json_last_error_msg()); - } - - $data = $handler . '(' . $data . ');'; - - return $data; - } catch (\Exception $e) { - if ($e->getPrevious()) { - throw $e->getPrevious(); - } - throw $e; - } - } - -} diff --git a/thinkphp/library/think/response/Jump.php b/thinkphp/library/think/response/Jump.php deleted file mode 100644 index 258448ca..00000000 --- a/thinkphp/library/think/response/Jump.php +++ /dev/null @@ -1,32 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Response; - -class Jump extends Response -{ - protected $contentType = 'text/html'; - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - * @throws \Exception - */ - protected function output($data) - { - $data = $this->app['view']->fetch($this->options['jump_template'], $data); - return $data; - } -} diff --git a/thinkphp/library/think/response/Redirect.php b/thinkphp/library/think/response/Redirect.php deleted file mode 100644 index 6b4f118a..00000000 --- a/thinkphp/library/think/response/Redirect.php +++ /dev/null @@ -1,119 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Response; - -class Redirect extends Response -{ - - protected $options = []; - - // URL参数 - protected $params = []; - - public function __construct($data = '', $code = 302, array $header = [], array $options = []) - { - parent::__construct($data, $code, $header, $options); - - $this->cacheControl('no-cache,must-revalidate'); - } - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - */ - protected function output($data) - { - $this->header['Location'] = $this->getTargetUrl(); - - return; - } - - /** - * 重定向传值(通过Session) - * @access protected - * @param string|array $name 变量名或者数组 - * @param mixed $value 值 - * @return $this - */ - public function with($name, $value = null) - { - $session = $this->app['session']; - - if (is_array($name)) { - foreach ($name as $key => $val) { - $session->flash($key, $val); - } - } else { - $session->flash($name, $value); - } - - return $this; - } - - /** - * 获取跳转地址 - * @access public - * @return string - */ - public function getTargetUrl() - { - if (strpos($this->data, '://') || (0 === strpos($this->data, '/') && empty($this->params))) { - return $this->data; - } else { - return $this->app['url']->build($this->data, $this->params); - } - } - - public function params($params = []) - { - $this->params = $params; - - return $this; - } - - /** - * 记住当前url后跳转 - * @access public - * @param string $url 指定记住的url - * @return $this - */ - public function remember($url = null) - { - $this->app['session']->set('redirect_url', $url ?: $this->app['request']->url()); - - return $this; - } - - /** - * 跳转到上次记住的url - * @access public - * @param string $url 闪存数据不存在时的跳转地址 - * @return $this - */ - public function restore($url = null) - { - $session = $this->app['session']; - - if ($session->has('redirect_url')) { - $this->data = $session->get('redirect_url'); - $session->delete('redirect_url'); - } elseif ($url) { - $this->data = $url; - } - - return $this; - } -} diff --git a/thinkphp/library/think/response/View.php b/thinkphp/library/think/response/View.php deleted file mode 100644 index 3d54c735..00000000 --- a/thinkphp/library/think/response/View.php +++ /dev/null @@ -1,119 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Response; - -class View extends Response -{ - // 输出参数 - protected $options = []; - protected $vars = []; - protected $config = []; - protected $filter; - protected $contentType = 'text/html'; - - /** - * 是否内容渲染 - * @var bool - */ - protected $isContent = false; - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - */ - protected function output($data) - { - // 渲染模板输出 - return $this->app['view'] - ->filter($this->filter) - ->fetch($data, $this->vars, $this->config, $this->isContent); - } - - /** - * 设置是否为内容渲染 - * @access public - * @param bool $content - * @return $this - */ - public function isContent($content = true) - { - $this->isContent = $content; - return $this; - } - - /** - * 获取视图变量 - * @access public - * @param string $name 模板变量 - * @return mixed - */ - public function getVars($name = null) - { - if (is_null($name)) { - return $this->vars; - } else { - return isset($this->vars[$name]) ? $this->vars[$name] : null; - } - } - - /** - * 模板变量赋值 - * @access public - * @param mixed $name 变量名 - * @param mixed $value 变量值 - * @return $this - */ - public function assign($name, $value = '') - { - if (is_array($name)) { - $this->vars = array_merge($this->vars, $name); - } else { - $this->vars[$name] = $value; - } - - return $this; - } - - public function config($config) - { - $this->config = $config; - return $this; - } - - /** - * 视图内容过滤 - * @access public - * @param callable $filter - * @return $this - */ - public function filter($filter) - { - $this->filter = $filter; - return $this; - } - - /** - * 检查模板是否存在 - * @access private - * @param string|array $name 参数名 - * @return bool - */ - public function exists($name) - { - return $this->app['view']->exists($name); - } - -} diff --git a/thinkphp/library/think/response/Xml.php b/thinkphp/library/think/response/Xml.php deleted file mode 100644 index 9c1681a4..00000000 --- a/thinkphp/library/think/response/Xml.php +++ /dev/null @@ -1,116 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\response; - -use think\Collection; -use think\Model; -use think\Response; - -class Xml extends Response -{ - // 输出参数 - protected $options = [ - // 根节点名 - 'root_node' => 'think', - // 根节点属性 - 'root_attr' => '', - //数字索引的子节点名 - 'item_node' => 'item', - // 数字索引子节点key转换的属性名 - 'item_key' => 'id', - // 数据编码 - 'encoding' => 'utf-8', - ]; - - protected $contentType = 'text/xml'; - - /** - * 处理数据 - * @access protected - * @param mixed $data 要处理的数据 - * @return mixed - */ - protected function output($data) - { - if (is_string($data)) { - if (0 !== strpos($data, 'options['encoding']; - $xml = ""; - $data = $xml . $data; - } - return $data; - } - - // XML数据转换 - return $this->xmlEncode($data, $this->options['root_node'], $this->options['item_node'], $this->options['root_attr'], $this->options['item_key'], $this->options['encoding']); - } - - /** - * XML编码 - * @access protected - * @param mixed $data 数据 - * @param string $root 根节点名 - * @param string $item 数字索引的子节点名 - * @param string $attr 根节点属性 - * @param string $id 数字索引子节点key转换的属性名 - * @param string $encoding 数据编码 - * @return string - */ - protected function xmlEncode($data, $root, $item, $attr, $id, $encoding) - { - if (is_array($attr)) { - $array = []; - foreach ($attr as $key => $value) { - $array[] = "{$key}=\"{$value}\""; - } - $attr = implode(' ', $array); - } - - $attr = trim($attr); - $attr = empty($attr) ? '' : " {$attr}"; - $xml = ""; - $xml .= "<{$root}{$attr}>"; - $xml .= $this->dataToXml($data, $item, $id); - $xml .= ""; - - return $xml; - } - - /** - * 数据XML编码 - * @access protected - * @param mixed $data 数据 - * @param string $item 数字索引时的节点名称 - * @param string $id 数字索引key转换为的属性名 - * @return string - */ - protected function dataToXml($data, $item, $id) - { - $xml = $attr = ''; - - if ($data instanceof Collection || $data instanceof Model) { - $data = $data->toArray(); - } - - foreach ($data as $key => $val) { - if (is_numeric($key)) { - $id && $attr = " {$id}=\"{$key}\""; - $key = $item; - } - $xml .= "<{$key}{$attr}>"; - $xml .= (is_array($val) || is_object($val)) ? $this->dataToXml($val, $item, $id) : $val; - $xml .= ""; - } - - return $xml; - } -} diff --git a/thinkphp/library/think/route/AliasRule.php b/thinkphp/library/think/route/AliasRule.php deleted file mode 100644 index 393cb310..00000000 --- a/thinkphp/library/think/route/AliasRule.php +++ /dev/null @@ -1,119 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\Route; - -class AliasRule extends Domain -{ - /** - * 架构函数 - * @access public - * @param Route $router 路由实例 - * @param RuleGroup $parent 上级对象 - * @param string $name 路由别名 - * @param string $route 路由绑定 - * @param array $option 路由参数 - */ - public function __construct(Route $router, RuleGroup $parent, $name, $route, $option = []) - { - $this->router = $router; - $this->parent = $parent; - $this->name = $name; - $this->route = $route; - $this->option = $option; - } - - /** - * 检测路由别名 - * @access public - * @param Request $request 请求对象 - * @param string $url 访问地址 - * @param bool $completeMatch 路由是否完全匹配 - * @return Dispatch|false - */ - public function check($request, $url, $completeMatch = false) - { - if ($dispatch = $this->checkCrossDomain($request)) { - // 允许跨域 - return $dispatch; - } - - // 检查参数有效性 - if (!$this->checkOption($this->option, $request)) { - return false; - } - - list($action, $bind) = array_pad(explode('|', $url, 2), 2, ''); - - if (isset($this->option['allow']) && !in_array($action, $this->option['allow'])) { - // 允许操作 - return false; - } elseif (isset($this->option['except']) && in_array($action, $this->option['except'])) { - // 排除操作 - return false; - } - - if (isset($this->option['method'][$action])) { - $this->option['method'] = $this->option['method'][$action]; - } - - // 匹配后执行的行为 - $this->afterMatchGroup($request); - - if ($this->parent) { - // 合并分组参数 - $this->mergeGroupOptions(); - } - - if (isset($this->option['ext'])) { - // 路由ext参数 优先于系统配置的URL伪静态后缀参数 - $bind = preg_replace('/\.(' . $request->ext() . ')$/i', '', $bind); - } - - $this->parseBindAppendParam($this->route); - - if (0 === strpos($this->route, '\\')) { - // 路由到类 - return $this->bindToClass($request, $bind, substr($this->route, 1)); - } elseif (0 === strpos($this->route, '@')) { - // 路由到控制器类 - return $this->bindToController($request, $bind, substr($this->route, 1)); - } else { - // 路由到模块/控制器 - return $this->bindToModule($request, $bind, $this->route); - } - } - - /** - * 设置允许的操作方法 - * @access public - * @param array $action 操作方法 - * @return $this - */ - public function allow($action = []) - { - return $this->option('allow', $action); - } - - /** - * 设置排除的操作方法 - * @access public - * @param array $action 操作方法 - * @return $this - */ - public function except($action = []) - { - return $this->option('except', $action); - } - -} diff --git a/thinkphp/library/think/route/Dispatch.php b/thinkphp/library/think/route/Dispatch.php deleted file mode 100644 index 7323c98d..00000000 --- a/thinkphp/library/think/route/Dispatch.php +++ /dev/null @@ -1,366 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\App; -use think\Container; -use think\exception\ValidateException; -use think\Request; -use think\Response; - -abstract class Dispatch -{ - /** - * 应用对象 - * @var App - */ - protected $app; - - /** - * 请求对象 - * @var Request - */ - protected $request; - - /** - * 路由规则 - * @var Rule - */ - protected $rule; - - /** - * 调度信息 - * @var mixed - */ - protected $dispatch; - - /** - * 调度参数 - * @var array - */ - protected $param; - - /** - * 状态码 - * @var string - */ - protected $code; - - /** - * 是否进行大小写转换 - * @var bool - */ - protected $convert; - - public function __construct(Request $request, Rule $rule, $dispatch, $param = [], $code = null) - { - $this->request = $request; - $this->rule = $rule; - $this->app = Container::get('app'); - $this->dispatch = $dispatch; - $this->param = $param; - $this->code = $code; - - if (isset($param['convert'])) { - $this->convert = $param['convert']; - } - } - - public function init() - { - // 执行路由后置操作 - if ($this->rule->doAfter()) { - // 设置请求的路由信息 - - // 设置当前请求的参数 - $this->request->setRouteVars($this->rule->getVars()); - $this->request->routeInfo([ - 'rule' => $this->rule->getRule(), - 'route' => $this->rule->getRoute(), - 'option' => $this->rule->getOption(), - 'var' => $this->rule->getVars(), - ]); - - $this->doRouteAfter(); - } - - return $this; - } - - /** - * 检查路由后置操作 - * @access protected - * @return void - */ - protected function doRouteAfter() - { - // 记录匹配的路由信息 - $option = $this->rule->getOption(); - $matches = $this->rule->getVars(); - - // 添加中间件 - if (!empty($option['middleware'])) { - $this->app['middleware']->import($option['middleware']); - } - - // 绑定模型数据 - if (!empty($option['model'])) { - $this->createBindModel($option['model'], $matches); - } - - // 指定Header数据 - if (!empty($option['header'])) { - $header = $option['header']; - $this->app['hook']->add('response_send', function ($response) use ($header) { - $response->header($header); - }); - } - - // 指定Response响应数据 - if (!empty($option['response'])) { - foreach ($option['response'] as $response) { - $this->app['hook']->add('response_send', $response); - } - } - - // 开启请求缓存 - if (isset($option['cache']) && $this->request->isGet()) { - $this->parseRequestCache($option['cache']); - } - - if (!empty($option['append'])) { - $this->request->setRouteVars($option['append']); - } - } - - /** - * 执行路由调度 - * @access public - * @return mixed - */ - public function run() - { - $option = $this->rule->getOption(); - - // 检测路由after行为 - if (!empty($option['after'])) { - $dispatch = $this->checkAfter($option['after']); - - if ($dispatch instanceof Response) { - return $dispatch; - } - } - - // 数据自动验证 - if (isset($option['validate'])) { - $this->autoValidate($option['validate']); - } - - $data = $this->exec(); - - return $this->autoResponse($data); - } - - protected function autoResponse($data) - { - if ($data instanceof Response) { - $response = $data; - } elseif (!is_null($data)) { - // 默认自动识别响应输出类型 - $isAjax = $this->request->isAjax(); - $type = $isAjax ? $this->rule->getConfig('default_ajax_return') : $this->rule->getConfig('default_return_type'); - - $response = Response::create($data, $type); - } else { - $data = ob_get_clean(); - $content = false === $data ? '' : $data; - $status = '' === $content && $this->request->isJson() ? 204 : 200; - - $response = Response::create($content, '', $status); - } - - return $response; - } - - /** - * 检查路由后置行为 - * @access protected - * @param mixed $after 后置行为 - * @return mixed - */ - protected function checkAfter($after) - { - $this->app['log']->notice('路由后置行为建议使用中间件替代!'); - - $hook = $this->app['hook']; - - $result = null; - - foreach ((array) $after as $behavior) { - $result = $hook->exec($behavior); - - if (!is_null($result)) { - break; - } - } - - // 路由规则重定向 - if ($result instanceof Response) { - return $result; - } - - return false; - } - - /** - * 验证数据 - * @access protected - * @param array $option - * @return void - * @throws ValidateException - */ - protected function autoValidate($option) - { - list($validate, $scene, $message, $batch) = $option; - - if (is_array($validate)) { - // 指定验证规则 - $v = $this->app->validate(); - $v->rule($validate); - } else { - // 调用验证器 - $v = $this->app->validate($validate); - if (!empty($scene)) { - $v->scene($scene); - } - } - - if (!empty($message)) { - $v->message($message); - } - - // 批量验证 - if ($batch) { - $v->batch(true); - } - - if (!$v->check($this->request->param())) { - throw new ValidateException($v->getError()); - } - } - - /** - * 处理路由请求缓存 - * @access protected - * @param Request $request 请求对象 - * @param string|array $cache 路由缓存 - * @return void - */ - protected function parseRequestCache($cache) - { - if (is_array($cache)) { - list($key, $expire, $tag) = array_pad($cache, 3, null); - } else { - $key = str_replace('|', '/', $this->request->url()); - $expire = $cache; - $tag = null; - } - - $cache = $this->request->cache($key, $expire, $tag); - $this->app->setResponseCache($cache); - } - - /** - * 路由绑定模型实例 - * @access protected - * @param array|\Clousre $bindModel 绑定模型 - * @param array $matches 路由变量 - * @return void - */ - protected function createBindModel($bindModel, $matches) - { - foreach ($bindModel as $key => $val) { - if ($val instanceof \Closure) { - $result = $this->app->invokeFunction($val, $matches); - } else { - $fields = explode('&', $key); - - if (is_array($val)) { - list($model, $exception) = $val; - } else { - $model = $val; - $exception = true; - } - - $where = []; - $match = true; - - foreach ($fields as $field) { - if (!isset($matches[$field])) { - $match = false; - break; - } else { - $where[] = [$field, '=', $matches[$field]]; - } - } - - if ($match) { - $query = strpos($model, '\\') ? $model::where($where) : $this->app->model($model)->where($where); - $result = $query->failException($exception)->find(); - } - } - - if (!empty($result)) { - // 注入容器 - $this->app->instance(get_class($result), $result); - } - } - } - - public function convert($convert) - { - $this->convert = $convert; - - return $this; - } - - public function getDispatch() - { - return $this->dispatch; - } - - public function getParam() - { - return $this->param; - } - - abstract public function exec(); - - public function __sleep() - { - return ['rule', 'dispatch', 'convert', 'param', 'code', 'controller', 'actionName']; - } - - public function __wakeup() - { - $this->app = Container::get('app'); - $this->request = $this->app['request']; - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['app'], $data['request'], $data['rule']); - - return $data; - } -} diff --git a/thinkphp/library/think/route/Domain.php b/thinkphp/library/think/route/Domain.php deleted file mode 100644 index 923d9b42..00000000 --- a/thinkphp/library/think/route/Domain.php +++ /dev/null @@ -1,237 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\Container; -use think\Loader; -use think\Request; -use think\Route; -use think\route\dispatch\Callback as CallbackDispatch; -use think\route\dispatch\Controller as ControllerDispatch; -use think\route\dispatch\Module as ModuleDispatch; - -class Domain extends RuleGroup -{ - /** - * 架构函数 - * @access public - * @param Route $router 路由对象 - * @param string $name 路由域名 - * @param mixed $rule 域名路由 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - */ - public function __construct(Route $router, $name = '', $rule = null, $option = [], $pattern = []) - { - $this->router = $router; - $this->domain = $name; - $this->option = $option; - $this->rule = $rule; - $this->pattern = $pattern; - } - - /** - * 检测域名路由 - * @access public - * @param Request $request 请求对象 - * @param string $url 访问地址 - * @param bool $completeMatch 路由是否完全匹配 - * @return Dispatch|false - */ - public function check($request, $url, $completeMatch = false) - { - // 检测别名路由 - $result = $this->checkRouteAlias($request, $url); - - if (false !== $result) { - return $result; - } - - // 检测URL绑定 - $result = $this->checkUrlBind($request, $url); - - if (!empty($this->option['append'])) { - $request->setRouteVars($this->option['append']); - unset($this->option['append']); - } - - if (false !== $result) { - return $result; - } - - // 添加域名中间件 - if (!empty($this->option['middleware'])) { - Container::get('middleware')->import($this->option['middleware']); - unset($this->option['middleware']); - } - - return parent::check($request, $url, $completeMatch); - } - - /** - * 设置路由绑定 - * @access public - * @param string $bind 绑定信息 - * @return $this - */ - public function bind($bind) - { - $this->router->bind($bind, $this->domain); - return $this; - } - - /** - * 检测路由别名 - * @access private - * @param Request $request - * @param string $url URL地址 - * @return Dispatch|false - */ - private function checkRouteAlias($request, $url) - { - $alias = strpos($url, '|') ? strstr($url, '|', true) : $url; - - $item = $this->router->getAlias($alias); - - return $item ? $item->check($request, $url) : false; - } - - /** - * 检测URL绑定 - * @access private - * @param Request $request - * @param string $url URL地址 - * @return Dispatch|false - */ - private function checkUrlBind($request, $url) - { - $bind = $this->router->getBind($this->domain); - - if (!empty($bind)) { - $this->parseBindAppendParam($bind); - - // 记录绑定信息 - Container::get('app')->log('[ BIND ] ' . var_export($bind, true)); - - // 如果有URL绑定 则进行绑定检测 - $type = substr($bind, 0, 1); - $bind = substr($bind, 1); - - $bindTo = [ - '\\' => 'bindToClass', - '@' => 'bindToController', - ':' => 'bindToNamespace', - ]; - - if (isset($bindTo[$type])) { - return $this->{$bindTo[$type]}($request, $url, $bind); - } - } - - return false; - } - - protected function parseBindAppendParam(&$bind) - { - if (false !== strpos($bind, '?')) { - list($bind, $query) = explode('?', $bind); - parse_str($query, $vars); - $this->append($vars); - } - } - - /** - * 绑定到类 - * @access protected - * @param Request $request - * @param string $url URL地址 - * @param string $class 类名(带命名空间) - * @return CallbackDispatch - */ - protected function bindToClass($request, $url, $class) - { - $array = explode('|', $url, 2); - $action = !empty($array[0]) ? $array[0] : $this->router->config('default_action'); - $param = []; - - if (!empty($array[1])) { - $this->parseUrlParams($request, $array[1], $param); - } - - return new CallbackDispatch($request, $this, [$class, $action], $param); - } - - /** - * 绑定到命名空间 - * @access protected - * @param Request $request - * @param string $url URL地址 - * @param string $namespace 命名空间 - * @return CallbackDispatch - */ - protected function bindToNamespace($request, $url, $namespace) - { - $array = explode('|', $url, 3); - $class = !empty($array[0]) ? $array[0] : $this->router->config('default_controller'); - $method = !empty($array[1]) ? $array[1] : $this->router->config('default_action'); - $param = []; - - if (!empty($array[2])) { - $this->parseUrlParams($request, $array[2], $param); - } - - return new CallbackDispatch($request, $this, [$namespace . '\\' . Loader::parseName($class, 1), $method], $param); - } - - /** - * 绑定到控制器类 - * @access protected - * @param Request $request - * @param string $url URL地址 - * @param string $controller 控制器名 (支持带模块名 index/user ) - * @return ControllerDispatch - */ - protected function bindToController($request, $url, $controller) - { - $array = explode('|', $url, 2); - $action = !empty($array[0]) ? $array[0] : $this->router->config('default_action'); - $param = []; - - if (!empty($array[1])) { - $this->parseUrlParams($request, $array[1], $param); - } - - return new ControllerDispatch($request, $this, $controller . '/' . $action, $param); - } - - /** - * 绑定到模块/控制器 - * @access protected - * @param Request $request - * @param string $url URL地址 - * @param string $controller 控制器类名(带命名空间) - * @return ModuleDispatch - */ - protected function bindToModule($request, $url, $controller) - { - $array = explode('|', $url, 2); - $action = !empty($array[0]) ? $array[0] : $this->router->config('default_action'); - $param = []; - - if (!empty($array[1])) { - $this->parseUrlParams($request, $array[1], $param); - } - - return new ModuleDispatch($request, $this, $controller . '/' . $action, $param); - } - -} diff --git a/thinkphp/library/think/route/Resource.php b/thinkphp/library/think/route/Resource.php deleted file mode 100644 index ff139282..00000000 --- a/thinkphp/library/think/route/Resource.php +++ /dev/null @@ -1,126 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\Route; - -class Resource extends RuleGroup -{ - // 资源路由名称 - protected $resource; - - // REST路由方法定义 - protected $rest = []; - - /** - * 架构函数 - * @access public - * @param Route $router 路由对象 - * @param RuleGroup $parent 上级对象 - * @param string $name 资源名称 - * @param string $route 路由地址 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @param array $rest 资源定义 - */ - public function __construct(Route $router, RuleGroup $parent = null, $name = '', $route = '', $option = [], $pattern = [], $rest = []) - { - $this->router = $router; - $this->parent = $parent; - $this->resource = $name; - $this->route = $route; - $this->name = strpos($name, '.') ? strstr($name, '.', true) : $name; - - $this->setFullName(); - - // 资源路由默认为完整匹配 - $option['complete_match'] = true; - - $this->pattern = $pattern; - $this->option = $option; - $this->rest = $rest; - - if ($this->parent) { - $this->domain = $this->parent->getDomain(); - $this->parent->addRuleItem($this); - } - - if ($router->isTest()) { - $this->buildResourceRule(); - } - } - - /** - * 生成资源路由规则 - * @access protected - * @return void - */ - protected function buildResourceRule() - { - $origin = $this->router->getGroup(); - $this->router->setGroup($this); - - $rule = $this->resource; - $option = $this->option; - - if (strpos($rule, '.')) { - // 注册嵌套资源路由 - $array = explode('.', $rule); - $last = array_pop($array); - $item = []; - - foreach ($array as $val) { - $item[] = $val . '/<' . (isset($option['var'][$val]) ? $option['var'][$val] : $val . '_id') . '>'; - } - - $rule = implode('/', $item) . '/' . $last; - } - - $prefix = substr($rule, strlen($this->name) + 1); - - // 注册资源路由 - foreach ($this->rest as $key => $val) { - if ((isset($option['only']) && !in_array($key, $option['only'])) - || (isset($option['except']) && in_array($key, $option['except']))) { - continue; - } - - if (isset($last) && strpos($val[1], '') && isset($option['var'][$last])) { - $val[1] = str_replace('', '<' . $option['var'][$last] . '>', $val[1]); - } elseif (strpos($val[1], '') && isset($option['var'][$rule])) { - $val[1] = str_replace('', '<' . $option['var'][$rule] . '>', $val[1]); - } - - $this->addRule(trim($prefix . $val[1], '/'), $this->route . '/' . $val[2], $val[0]); - } - - $this->router->setGroup($origin); - } - - /** - * rest方法定义和修改 - * @access public - * @param string $name 方法名称 - * @param array|bool $resource 资源 - * @return $this - */ - public function rest($name, $resource = []) - { - if (is_array($name)) { - $this->rest = $resource ? $name : array_merge($this->rest, $name); - } else { - $this->rest[$name] = $resource; - } - - return $this; - } -} diff --git a/thinkphp/library/think/route/Rule.php b/thinkphp/library/think/route/Rule.php deleted file mode 100644 index 996305f7..00000000 --- a/thinkphp/library/think/route/Rule.php +++ /dev/null @@ -1,1130 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\Container; -use think\Request; -use think\Response; -use think\route\dispatch\Callback as CallbackDispatch; -use think\route\dispatch\Controller as ControllerDispatch; -use think\route\dispatch\Module as ModuleDispatch; -use think\route\dispatch\Redirect as RedirectDispatch; -use think\route\dispatch\Response as ResponseDispatch; -use think\route\dispatch\View as ViewDispatch; - -abstract class Rule -{ - /** - * 路由标识 - * @var string - */ - protected $name; - - /** - * 路由对象 - * @var Route - */ - protected $router; - - /** - * 路由所属分组 - * @var RuleGroup - */ - protected $parent; - - /** - * 路由规则 - * @var mixed - */ - protected $rule; - - /** - * 路由地址 - * @var string|\Closure - */ - protected $route; - - /** - * 请求类型 - * @var string - */ - protected $method; - - /** - * 路由变量 - * @var array - */ - protected $vars = []; - - /** - * 路由参数 - * @var array - */ - protected $option = []; - - /** - * 路由变量规则 - * @var array - */ - protected $pattern = []; - - /** - * 需要和分组合并的路由参数 - * @var array - */ - protected $mergeOptions = ['after', 'model', 'header', 'response', 'append', 'middleware']; - - /** - * 是否需要后置操作 - * @var bool - */ - protected $doAfter; - - /** - * 是否锁定参数 - * @var bool - */ - protected $lockOption = false; - - abstract public function check($request, $url, $completeMatch = false); - - /** - * 获取Name - * @access public - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * 获取当前路由规则 - * @access public - * @return string - */ - public function getRule() - { - return $this->rule; - } - - /** - * 获取当前路由地址 - * @access public - * @return mixed - */ - public function getRoute() - { - return $this->route; - } - - /** - * 获取当前路由的请求类型 - * @access public - * @return string - */ - public function getMethod() - { - return strtolower($this->method); - } - - /** - * 获取当前路由的变量 - * @access public - * @return array - */ - public function getVars() - { - return $this->vars; - } - - /** - * 获取路由对象 - * @access public - * @return Route - */ - public function getRouter() - { - return $this->router; - } - - /** - * 路由是否有后置操作 - * @access public - * @return bool - */ - public function doAfter() - { - return $this->doAfter; - } - - /** - * 获取路由分组 - * @access public - * @return RuleGroup|null - */ - public function getParent() - { - return $this->parent; - } - - /** - * 获取路由所在域名 - * @access public - * @return string - */ - public function getDomain() - { - return $this->parent->getDomain(); - } - - /** - * 获取变量规则定义 - * @access public - * @param string $name 变量名 - * @return mixed - */ - public function getPattern($name = '') - { - if ('' === $name) { - return $this->pattern; - } - - return isset($this->pattern[$name]) ? $this->pattern[$name] : null; - } - - /** - * 获取路由参数 - * @access public - * @param string $name 变量名 - * @return mixed - */ - public function getConfig($name = '') - { - return $this->router->config($name); - } - - /** - * 获取路由参数定义 - * @access public - * @param string $name 参数名 - * @return mixed - */ - public function getOption($name = '') - { - if ('' === $name) { - return $this->option; - } - - return isset($this->option[$name]) ? $this->option[$name] : null; - } - - /** - * 注册路由参数 - * @access public - * @param string|array $name 参数名 - * @param mixed $value 值 - * @return $this - */ - public function option($name, $value = '') - { - if (is_array($name)) { - $this->option = array_merge($this->option, $name); - } else { - $this->option[$name] = $value; - } - - return $this; - } - - /** - * 注册变量规则 - * @access public - * @param string|array $name 变量名 - * @param string $rule 变量规则 - * @return $this - */ - public function pattern($name, $rule = '') - { - if (is_array($name)) { - $this->pattern = array_merge($this->pattern, $name); - } else { - $this->pattern[$name] = $rule; - } - - return $this; - } - - /** - * 设置标识 - * @access public - * @param string $name 标识名 - * @return $this - */ - public function name($name) - { - $this->name = $name; - - return $this; - } - - /** - * 设置变量 - * @access public - * @param array $vars 变量 - * @return $this - */ - public function vars($vars) - { - $this->vars = $vars; - - return $this; - } - - /** - * 设置路由请求类型 - * @access public - * @param string $method - * @return $this - */ - public function method($method) - { - return $this->option('method', strtolower($method)); - } - - /** - * 设置路由前置行为 - * @access public - * @param array|\Closure $before - * @return $this - */ - public function before($before) - { - return $this->option('before', $before); - } - - /** - * 设置路由后置行为 - * @access public - * @param array|\Closure $after - * @return $this - */ - public function after($after) - { - return $this->option('after', $after); - } - - /** - * 检查后缀 - * @access public - * @param string $ext - * @return $this - */ - public function ext($ext = '') - { - return $this->option('ext', $ext); - } - - /** - * 检查禁止后缀 - * @access public - * @param string $ext - * @return $this - */ - public function denyExt($ext = '') - { - return $this->option('deny_ext', $ext); - } - - /** - * 检查域名 - * @access public - * @param string $domain - * @return $this - */ - public function domain($domain) - { - return $this->option('domain', $domain); - } - - /** - * 设置参数过滤检查 - * @access public - * @param string|array $name - * @param mixed $value - * @return $this - */ - public function filter($name, $value = null) - { - if (is_array($name)) { - $this->option['filter'] = $name; - } else { - $this->option['filter'][$name] = $value; - } - - return $this; - } - - /** - * 绑定模型 - * @access public - * @param array|string $var 路由变量名 多个使用 & 分割 - * @param string|\Closure $model 绑定模型类 - * @param bool $exception 是否抛出异常 - * @return $this - */ - public function model($var, $model = null, $exception = true) - { - if ($var instanceof \Closure) { - $this->option['model'][] = $var; - } elseif (is_array($var)) { - $this->option['model'] = $var; - } elseif (is_null($model)) { - $this->option['model']['id'] = [$var, true]; - } else { - $this->option['model'][$var] = [$model, $exception]; - } - - return $this; - } - - /** - * 附加路由隐式参数 - * @access public - * @param array $append - * @return $this - */ - public function append(array $append = []) - { - if (isset($this->option['append'])) { - $this->option['append'] = array_merge($this->option['append'], $append); - } else { - $this->option['append'] = $append; - } - - return $this; - } - - /** - * 绑定验证 - * @access public - * @param mixed $validate 验证器类 - * @param string $scene 验证场景 - * @param array $message 验证提示 - * @param bool $batch 批量验证 - * @return $this - */ - public function validate($validate, $scene = null, $message = [], $batch = false) - { - $this->option['validate'] = [$validate, $scene, $message, $batch]; - - return $this; - } - - /** - * 绑定Response对象 - * @access public - * @param mixed $response - * @return $this - */ - public function response($response) - { - $this->option['response'][] = $response; - return $this; - } - - /** - * 设置Response Header信息 - * @access public - * @param string|array $name 参数名 - * @param string $value 参数值 - * @return $this - */ - public function header($header, $value = null) - { - if (is_array($header)) { - $this->option['header'] = $header; - } else { - $this->option['header'][$header] = $value; - } - - return $this; - } - - /** - * 指定路由中间件 - * @access public - * @param string|array|\Closure $middleware - * @param mixed $param - * @return $this - */ - public function middleware($middleware, $param = null) - { - if (is_null($param) && is_array($middleware)) { - $this->option['middleware'] = $middleware; - } else { - foreach ((array) $middleware as $item) { - $this->option['middleware'][] = [$item, $param]; - } - } - - return $this; - } - - /** - * 设置路由缓存 - * @access public - * @param array|string $cache - * @return $this - */ - public function cache($cache) - { - return $this->option('cache', $cache); - } - - /** - * 检查URL分隔符 - * @access public - * @param bool $depr - * @return $this - */ - public function depr($depr) - { - return $this->option('param_depr', $depr); - } - - /** - * 是否合并额外参数 - * @access public - * @param bool $merge - * @return $this - */ - public function mergeExtraVars($merge = true) - { - return $this->option('merge_extra_vars', $merge); - } - - /** - * 设置需要合并的路由参数 - * @access public - * @param array $option - * @return $this - */ - public function mergeOptions($option = []) - { - $this->mergeOptions = array_merge($this->mergeOptions, $option); - return $this; - } - - /** - * 检查是否为HTTPS请求 - * @access public - * @param bool $https - * @return $this - */ - public function https($https = true) - { - return $this->option('https', $https); - } - - /** - * 检查是否为AJAX请求 - * @access public - * @param bool $ajax - * @return $this - */ - public function ajax($ajax = true) - { - return $this->option('ajax', $ajax); - } - - /** - * 检查是否为PJAX请求 - * @access public - * @param bool $pjax - * @return $this - */ - public function pjax($pjax = true) - { - return $this->option('pjax', $pjax); - } - - /** - * 检查是否为手机访问 - * @access public - * @param bool $mobile - * @return $this - */ - public function mobile($mobile = true) - { - return $this->option('mobile', $mobile); - } - - /** - * 当前路由到一个模板地址 当使用数组的时候可以传入模板变量 - * @access public - * @param bool|array $view - * @return $this - */ - public function view($view = true) - { - return $this->option('view', $view); - } - - /** - * 当前路由为重定向 - * @access public - * @param bool $redirect 是否为重定向 - * @return $this - */ - public function redirect($redirect = true) - { - return $this->option('redirect', $redirect); - } - - /** - * 设置路由完整匹配 - * @access public - * @param bool $match - * @return $this - */ - public function completeMatch($match = true) - { - return $this->option('complete_match', $match); - } - - /** - * 是否去除URL最后的斜线 - * @access public - * @param bool $remove - * @return $this - */ - public function removeSlash($remove = true) - { - return $this->option('remove_slash', $remove); - } - - /** - * 设置是否允许跨域 - * @access public - * @param bool $allow - * @param array $header - * @return $this - */ - public function allowCrossDomain($allow = true, $header = []) - { - if (!empty($header)) { - $this->header($header); - } - - if ($allow && $this->parent) { - $this->parent->addRuleItem($this, 'options'); - } - - return $this->option('cross_domain', $allow); - } - - /** - * 检查OPTIONS请求 - * @access public - * @param Request $request - * @return Dispatch|void - */ - protected function checkCrossDomain($request) - { - if (!empty($this->option['cross_domain'])) { - $header = [ - 'Access-Control-Allow-Credentials' => 'true', - 'Access-Control-Allow-Methods' => 'GET, POST, PATCH, PUT, DELETE', - 'Access-Control-Allow-Headers' => 'Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With', - ]; - - if (!empty($this->option['header'])) { - $header = array_merge($header, $this->option['header']); - } - - if (!isset($header['Access-Control-Allow-Origin'])) { - $httpOrigin = $request->header('origin'); - - if ($httpOrigin && strpos(config('cookie.domain'), $httpOrigin)) { - $header['Access-Control-Allow-Origin'] = $httpOrigin; - } else { - $header['Access-Control-Allow-Origin'] = '*'; - } - } - - $this->option['header'] = $header; - - if ($request->method(true) == 'OPTIONS') { - return new ResponseDispatch($request, $this, Response::create()->code(204)->header($header)); - } - } - } - - /** - * 设置路由规则全局有效 - * @access public - * @return $this - */ - public function crossDomainRule() - { - if ($this instanceof RuleGroup) { - $method = '*'; - } else { - $method = $this->method; - } - - $this->router->setCrossDomainRule($this, $method); - - return $this; - } - - /** - * 合并分组参数 - * @access public - * @return array - */ - public function mergeGroupOptions() - { - if (!$this->lockOption) { - $parentOption = $this->parent->getOption(); - // 合并分组参数 - foreach ($this->mergeOptions as $item) { - if (isset($parentOption[$item]) && isset($this->option[$item])) { - $this->option[$item] = array_merge($parentOption[$item], $this->option[$item]); - } - } - - $this->option = array_merge($parentOption, $this->option); - $this->lockOption = true; - } - - return $this->option; - } - - /** - * 解析匹配到的规则路由 - * @access public - * @param Request $request 请求对象 - * @param string $rule 路由规则 - * @param string $route 路由地址 - * @param string $url URL地址 - * @param array $option 路由参数 - * @param array $matches 匹配的变量 - * @return Dispatch - */ - public function parseRule($request, $rule, $route, $url, $option = [], $matches = []) - { - if (is_string($route) && isset($option['prefix'])) { - // 路由地址前缀 - $route = $option['prefix'] . $route; - } - - // 替换路由地址中的变量 - if (is_string($route) && !empty($matches)) { - $search = $replace = []; - - foreach ($matches as $key => $value) { - $search[] = '<' . $key . '>'; - $replace[] = $value; - - $search[] = ':' . $key; - $replace[] = $value; - } - - $route = str_replace($search, $replace, $route); - } - - // 解析额外参数 - $count = substr_count($rule, '/'); - $url = array_slice(explode('|', $url), $count + 1); - $this->parseUrlParams($request, implode('|', $url), $matches); - - $this->vars = $matches; - $this->option = $option; - $this->doAfter = true; - - // 发起路由调度 - return $this->dispatch($request, $route, $option); - } - - /** - * 检查路由前置行为 - * @access protected - * @param mixed $before 前置行为 - * @return mixed - */ - protected function checkBefore($before) - { - $hook = Container::get('hook'); - - foreach ((array) $before as $behavior) { - $result = $hook->exec($behavior); - - if (false === $result) { - return false; - } - } - } - - /** - * 发起路由调度 - * @access protected - * @param Request $request Request对象 - * @param mixed $route 路由地址 - * @param array $option 路由参数 - * @return Dispatch - */ - protected function dispatch($request, $route, $option) - { - if ($route instanceof \Closure) { - // 执行闭包 - $result = new CallbackDispatch($request, $this, $route); - } elseif ($route instanceof Response) { - $result = new ResponseDispatch($request, $this, $route); - } elseif (isset($option['view']) && false !== $option['view']) { - $result = new ViewDispatch($request, $this, $route, is_array($option['view']) ? $option['view'] : []); - } elseif (!empty($option['redirect']) || 0 === strpos($route, '/') || strpos($route, '://')) { - // 路由到重定向地址 - $result = new RedirectDispatch($request, $this, $route, [], isset($option['status']) ? $option['status'] : 301); - } elseif (false !== strpos($route, '\\')) { - // 路由到方法 - $result = $this->dispatchMethod($request, $route); - } elseif (0 === strpos($route, '@')) { - // 路由到控制器 - $result = $this->dispatchController($request, substr($route, 1)); - } else { - // 路由到模块/控制器/操作 - $result = $this->dispatchModule($request, $route); - } - - return $result; - } - - /** - * 解析URL地址为 模块/控制器/操作 - * @access protected - * @param Request $request Request对象 - * @param string $route 路由地址 - * @return CallbackDispatch - */ - protected function dispatchMethod($request, $route) - { - list($path, $var) = $this->parseUrlPath($route); - - $route = str_replace('/', '@', implode('/', $path)); - $method = strpos($route, '@') ? explode('@', $route) : $route; - - return new CallbackDispatch($request, $this, $method, $var); - } - - /** - * 解析URL地址为 模块/控制器/操作 - * @access protected - * @param Request $request Request对象 - * @param string $route 路由地址 - * @return ControllerDispatch - */ - protected function dispatchController($request, $route) - { - list($route, $var) = $this->parseUrlPath($route); - - $result = new ControllerDispatch($request, $this, implode('/', $route), $var); - - $request->setAction(array_pop($route)); - $request->setController($route ? array_pop($route) : $this->getConfig('default_controller')); - $request->setModule($route ? array_pop($route) : $this->getConfig('default_module')); - - return $result; - } - - /** - * 解析URL地址为 模块/控制器/操作 - * @access protected - * @param Request $request Request对象 - * @param string $route 路由地址 - * @return ModuleDispatch - */ - protected function dispatchModule($request, $route) - { - list($path, $var) = $this->parseUrlPath($route); - - $action = array_pop($path); - $controller = !empty($path) ? array_pop($path) : null; - $module = $this->getConfig('app_multi_module') && !empty($path) ? array_pop($path) : null; - $method = $request->method(); - - if ($this->getConfig('use_action_prefix') && $this->router->getMethodPrefix($method)) { - $prefix = $this->router->getMethodPrefix($method); - // 操作方法前缀支持 - $action = 0 !== strpos($action, $prefix) ? $prefix . $action : $action; - } - - // 设置当前请求的路由变量 - $request->setRouteVars($var); - - // 路由到模块/控制器/操作 - return new ModuleDispatch($request, $this, [$module, $controller, $action], ['convert' => false]); - } - - /** - * 路由检查 - * @access protected - * @param array $option 路由参数 - * @param Request $request Request对象 - * @return bool - */ - protected function checkOption($option, Request $request) - { - // 请求类型检测 - if (!empty($option['method'])) { - if (is_string($option['method']) && false === stripos($option['method'], $request->method())) { - return false; - } - } - - // AJAX PJAX 请求检查 - foreach (['ajax', 'pjax', 'mobile'] as $item) { - if (isset($option[$item])) { - $call = 'is' . $item; - if ($option[$item] && !$request->$call() || !$option[$item] && $request->$call()) { - return false; - } - } - } - - // 伪静态后缀检测 - if ($request->url() != '/' && ((isset($option['ext']) && false === stripos('|' . $option['ext'] . '|', '|' . $request->ext() . '|')) - || (isset($option['deny_ext']) && false !== stripos('|' . $option['deny_ext'] . '|', '|' . $request->ext() . '|')))) { - return false; - } - - // 域名检查 - if ((isset($option['domain']) && !in_array($option['domain'], [$request->host(true), $request->subDomain()]))) { - return false; - } - - // HTTPS检查 - if ((isset($option['https']) && $option['https'] && !$request->isSsl()) - || (isset($option['https']) && !$option['https'] && $request->isSsl())) { - return false; - } - - // 请求参数检查 - if (isset($option['filter'])) { - foreach ($option['filter'] as $name => $value) { - if ($request->param($name, '', null) != $value) { - return false; - } - } - } - return true; - } - - /** - * 解析URL地址中的参数Request对象 - * @access protected - * @param Request $request - * @param string $rule 路由规则 - * @param array $var 变量 - * @return void - */ - protected function parseUrlParams($request, $url, &$var = []) - { - if ($url) { - if ($this->getConfig('url_param_type')) { - $var += explode('|', $url); - } else { - preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) { - $var[$match[1]] = strip_tags($match[2]); - }, $url); - } - } - } - - /** - * 解析URL的pathinfo参数和变量 - * @access public - * @param string $url URL地址 - * @return array - */ - public function parseUrlPath($url) - { - // 分隔符替换 确保路由定义使用统一的分隔符 - $url = str_replace('|', '/', $url); - $url = trim($url, '/'); - $var = []; - - if (false !== strpos($url, '?')) { - // [模块/控制器/操作?]参数1=值1&参数2=值2... - $info = parse_url($url); - $path = explode('/', $info['path']); - parse_str($info['query'], $var); - } elseif (strpos($url, '/')) { - // [模块/控制器/操作] - $path = explode('/', $url); - } elseif (false !== strpos($url, '=')) { - // 参数1=值1&参数2=值2... - $path = []; - parse_str($url, $var); - } else { - $path = [$url]; - } - - return [$path, $var]; - } - - /** - * 生成路由的正则规则 - * @access protected - * @param string $rule 路由规则 - * @param array $match 匹配的变量 - * @param array $pattern 路由变量规则 - * @param array $option 路由参数 - * @param bool $completeMatch 路由是否完全匹配 - * @param string $suffix 路由正则变量后缀 - * @return string - */ - protected function buildRuleRegex($rule, $match, $pattern = [], $option = [], $completeMatch = false, $suffix = '') - { - foreach ($match as $name) { - $replace[] = $this->buildNameRegex($name, $pattern, $suffix); - } - - // 是否区分 / 地址访问 - if ('/' != $rule) { - if (!empty($option['remove_slash'])) { - $rule = rtrim($rule, '/'); - } elseif (substr($rule, -1) == '/') { - $rule = rtrim($rule, '/'); - $hasSlash = true; - } - } - - $regex = str_replace(array_unique($match), array_unique($replace), $rule); - $regex = str_replace([')?/', ')/', ')?-', ')-', '\\\\/'], [')\/', ')\/', ')\-', ')\-', '\/'], $regex); - - if (isset($hasSlash)) { - $regex .= '\/'; - } - - return $regex . ($completeMatch ? '$' : ''); - } - - /** - * 生成路由变量的正则规则 - * @access protected - * @param string $name 路由变量 - * @param string $pattern 变量规则 - * @param string $suffix 路由正则变量后缀 - * @return string - */ - protected function buildNameRegex($name, $pattern, $suffix) - { - $optional = ''; - $slash = substr($name, 0, 1); - - if (in_array($slash, ['/', '-'])) { - $prefix = '\\' . $slash; - $name = substr($name, 1); - $slash = substr($name, 0, 1); - } else { - $prefix = ''; - } - - if ('<' != $slash) { - return $prefix . preg_quote($name, '/'); - } - - if (strpos($name, '?')) { - $name = substr($name, 1, -2); - $optional = '?'; - } elseif (strpos($name, '>')) { - $name = substr($name, 1, -1); - } - - if (isset($pattern[$name])) { - $nameRule = $pattern[$name]; - if (0 === strpos($nameRule, '/') && '/' == substr($nameRule, -1)) { - $nameRule = substr($nameRule, 1, -1); - } - } else { - $nameRule = $this->getConfig('default_route_pattern'); - } - - return '(' . $prefix . '(?<' . $name . $suffix . '>' . $nameRule . '))' . $optional; - } - - /** - * 分析路由规则中的变量 - * @access protected - * @param string $rule 路由规则 - * @return array - */ - protected function parseVar($rule) - { - // 提取路由规则中的变量 - $var = []; - - if (preg_match_all('/<\w+\??>/', $rule, $matches)) { - foreach ($matches[0] as $name) { - $optional = false; - - if (strpos($name, '?')) { - $name = substr($name, 1, -2); - $optional = true; - } else { - $name = substr($name, 1, -1); - } - - $var[$name] = $optional ? 2 : 1; - } - } - - return $var; - } - - /** - * 设置路由参数 - * @access public - * @param string $method 方法名 - * @param array $args 调用参数 - * @return $this - */ - public function __call($method, $args) - { - if (count($args) > 1) { - $args[0] = $args; - } - array_unshift($args, $method); - - return call_user_func_array([$this, 'option'], $args); - } - - public function __sleep() - { - return ['name', 'rule', 'route', 'method', 'vars', 'option', 'pattern', 'doAfter']; - } - - public function __wakeup() - { - $this->router = Container::get('route'); - } - - public function __debugInfo() - { - $data = get_object_vars($this); - unset($data['parent'], $data['router'], $data['route']); - - return $data; - } -} diff --git a/thinkphp/library/think/route/RuleGroup.php b/thinkphp/library/think/route/RuleGroup.php deleted file mode 100644 index 5781d8cf..00000000 --- a/thinkphp/library/think/route/RuleGroup.php +++ /dev/null @@ -1,601 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\Container; -use think\Exception; -use think\Request; -use think\Response; -use think\Route; -use think\route\dispatch\Response as ResponseDispatch; -use think\route\dispatch\Url as UrlDispatch; - -class RuleGroup extends Rule -{ - // 分组路由(包括子分组) - protected $rules = [ - '*' => [], - 'get' => [], - 'post' => [], - 'put' => [], - 'patch' => [], - 'delete' => [], - 'head' => [], - 'options' => [], - ]; - - // MISS路由 - protected $miss; - - // 自动路由 - protected $auto; - - // 完整名称 - protected $fullName; - - // 所在域名 - protected $domain; - - /** - * 架构函数 - * @access public - * @param Route $router 路由对象 - * @param RuleGroup $parent 上级对象 - * @param string $name 分组名称 - * @param mixed $rule 分组路由 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - */ - public function __construct(Route $router, RuleGroup $parent = null, $name = '', $rule = [], $option = [], $pattern = []) - { - $this->router = $router; - $this->parent = $parent; - $this->rule = $rule; - $this->name = trim($name, '/'); - $this->option = $option; - $this->pattern = $pattern; - - $this->setFullName(); - - if ($this->parent) { - $this->domain = $this->parent->getDomain(); - $this->parent->addRuleItem($this); - } - - if (!empty($option['cross_domain'])) { - $this->router->setCrossDomainRule($this); - } - - if ($router->isTest()) { - $this->lazy(false); - } - } - - /** - * 设置分组的路由规则 - * @access public - * @return void - */ - protected function setFullName() - { - if (false !== strpos($this->name, ':')) { - $this->name = preg_replace(['/\[\:(\w+)\]/', '/\:(\w+)/'], ['<\1?>', '<\1>'], $this->name); - } - - if ($this->parent && $this->parent->getFullName()) { - $this->fullName = $this->parent->getFullName() . ($this->name ? '/' . $this->name : ''); - } else { - $this->fullName = $this->name; - } - } - - /** - * 获取所属域名 - * @access public - * @return string - */ - public function getDomain() - { - return $this->domain; - } - - /** - * 检测分组路由 - * @access public - * @param Request $request 请求对象 - * @param string $url 访问地址 - * @param bool $completeMatch 路由是否完全匹配 - * @return Dispatch|false - */ - public function check($request, $url, $completeMatch = false) - { - // 跨域OPTIONS请求 - if ($dispatch = $this->checkCrossDomain($request)) { - return $dispatch; - } - - // 检查分组有效性 - if (!$this->checkOption($this->option, $request) || !$this->checkUrl($url)) { - return false; - } - - // 检查前置行为 - if (isset($this->option['before'])) { - if (false === $this->checkBefore($this->option['before'])) { - return false; - } - unset($this->option['before']); - } - - // 解析分组路由 - if ($this instanceof Resource) { - $this->buildResourceRule(); - } elseif ($this->rule) { - if ($this->rule instanceof Response) { - return new ResponseDispatch($request, $this, $this->rule); - } - - $this->parseGroupRule($this->rule); - } - - // 获取当前路由规则 - $method = strtolower($request->method()); - $rules = $this->getMethodRules($method); - - if ($this->parent) { - // 合并分组参数 - $this->mergeGroupOptions(); - // 合并分组变量规则 - $this->pattern = array_merge($this->parent->getPattern(), $this->pattern); - } - - if (isset($this->option['complete_match'])) { - $completeMatch = $this->option['complete_match']; - } - - if (!empty($this->option['merge_rule_regex'])) { - // 合并路由正则规则进行路由匹配检查 - $result = $this->checkMergeRuleRegex($request, $rules, $url, $completeMatch); - - if (false !== $result) { - return $result; - } - } - - // 检查分组路由 - foreach ($rules as $key => $item) { - $result = $item->check($request, $url, $completeMatch); - - if (false !== $result) { - return $result; - } - } - - if ($this->auto) { - // 自动解析URL地址 - $result = new UrlDispatch($request, $this, $this->auto . '/' . $url, ['auto_search' => false]); - } elseif ($this->miss && in_array($this->miss->getMethod(), ['*', $method])) { - // 未匹配所有路由的路由规则处理 - $result = $this->miss->parseRule($request, '', $this->miss->getRoute(), $url, $this->miss->mergeGroupOptions()); - } else { - $result = false; - } - - return $result; - } - - /** - * 获取当前请求的路由规则(包括子分组、资源路由) - * @access protected - * @param string $method - * @return array - */ - protected function getMethodRules($method) - { - return array_merge($this->rules[$method], $this->rules['*']); - } - - /** - * 分组URL匹配检查 - * @access protected - * @param string $url - * @return bool - */ - protected function checkUrl($url) - { - if ($this->fullName) { - $pos = strpos($this->fullName, '<'); - - if (false !== $pos) { - $str = substr($this->fullName, 0, $pos); - } else { - $str = $this->fullName; - } - - if ($str && 0 !== stripos(str_replace('|', '/', $url), $str)) { - return false; - } - } - - return true; - } - - /** - * 延迟解析分组的路由规则 - * @access public - * @param bool $lazy 路由是否延迟解析 - * @return $this - */ - public function lazy($lazy = true) - { - if (!$lazy) { - $this->parseGroupRule($this->rule); - $this->rule = null; - } - - return $this; - } - - /** - * 解析分组和域名的路由规则及绑定 - * @access public - * @param mixed $rule 路由规则 - * @return void - */ - public function parseGroupRule($rule) - { - $origin = $this->router->getGroup(); - $this->router->setGroup($this); - - if ($rule instanceof \Closure) { - Container::getInstance()->invokeFunction($rule); - } elseif (is_array($rule)) { - $this->addRules($rule); - } elseif (is_string($rule) && $rule) { - $this->router->bind($rule, $this->domain); - } - - $this->router->setGroup($origin); - } - - /** - * 检测分组路由 - * @access public - * @param Request $request 请求对象 - * @param array $rules 路由规则 - * @param string $url 访问地址 - * @param bool $completeMatch 路由是否完全匹配 - * @return Dispatch|false - */ - protected function checkMergeRuleRegex($request, &$rules, $url, $completeMatch) - { - $depr = $this->router->config('pathinfo_depr'); - $url = $depr . str_replace('|', $depr, $url); - - foreach ($rules as $key => $item) { - if ($item instanceof RuleItem) { - $rule = $depr . str_replace('/', $depr, $item->getRule()); - if ($depr == $rule && $depr != $url) { - unset($rules[$key]); - continue; - } - - $complete = null !== $item->getOption('complete_match') ? $item->getOption('complete_match') : $completeMatch; - - if (false === strpos($rule, '<')) { - if (0 === strcasecmp($rule, $url) || (!$complete && 0 === strncasecmp($rule, $url, strlen($rule)))) { - return $item->checkRule($request, $url, []); - } - - unset($rules[$key]); - continue; - } - - $slash = preg_quote('/-' . $depr, '/'); - - if ($matchRule = preg_split('/[' . $slash . ']<\w+\??>/', $rule, 2)) { - if ($matchRule[0] && 0 !== strncasecmp($rule, $url, strlen($matchRule[0]))) { - unset($rules[$key]); - continue; - } - } - - if (preg_match_all('/[' . $slash . ']??/', $rule, $matches)) { - unset($rules[$key]); - $pattern = array_merge($this->getPattern(), $item->getPattern()); - $option = array_merge($this->getOption(), $item->getOption()); - - $regex[$key] = $this->buildRuleRegex($rule, $matches[0], $pattern, $option, $complete, '_THINK_' . $key); - $items[$key] = $item; - } - } - } - - if (empty($regex)) { - return false; - } - - try { - $result = preg_match('/^(?:' . implode('|', $regex) . ')/u', $url, $match); - } catch (\Exception $e) { - throw new Exception('route pattern error'); - } - - if ($result) { - $var = []; - foreach ($match as $key => $val) { - if (is_string($key) && '' !== $val) { - list($name, $pos) = explode('_THINK_', $key); - - $var[$name] = $val; - } - } - - if (!isset($pos)) { - foreach ($regex as $key => $item) { - if (0 === strpos(str_replace(['\/', '\-', '\\' . $depr], ['/', '-', $depr], $item), $match[0])) { - $pos = $key; - break; - } - } - } - - $rule = $items[$pos]->getRule(); - $array = $this->router->getRule($rule); - - foreach ($array as $item) { - if (in_array($item->getMethod(), ['*', strtolower($request->method())])) { - $result = $item->checkRule($request, $url, $var); - - if (false !== $result) { - return $result; - } - } - } - } - - return false; - } - - /** - * 获取分组的MISS路由 - * @access public - * @return RuleItem|null - */ - public function getMissRule() - { - return $this->miss; - } - - /** - * 获取分组的自动路由 - * @access public - * @return string - */ - public function getAutoRule() - { - return $this->auto; - } - - /** - * 注册自动路由 - * @access public - * @param string $route 路由规则 - * @return void - */ - public function addAutoRule($route) - { - $this->auto = $route; - } - - /** - * 注册MISS路由 - * @access public - * @param string $route 路由地址 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @return RuleItem - */ - public function addMissRule($route, $method = '*', $option = []) - { - // 创建路由规则实例 - $ruleItem = new RuleItem($this->router, $this, null, '', $route, strtolower($method), $option); - - $this->miss = $ruleItem; - - return $ruleItem; - } - - /** - * 添加分组下的路由规则或者子分组 - * @access public - * @param string $rule 路由规则 - * @param string $route 路由地址 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return $this - */ - public function addRule($rule, $route, $method = '*', $option = [], $pattern = []) - { - // 读取路由标识 - if (is_array($rule)) { - $name = $rule[0]; - $rule = $rule[1]; - } elseif (is_string($route)) { - $name = $route; - } else { - $name = null; - } - - $method = strtolower($method); - - if ('/' === $rule || '' === $rule) { - // 首页自动完整匹配 - $rule .= '$'; - } - - // 创建路由规则实例 - $ruleItem = new RuleItem($this->router, $this, $name, $rule, $route, $method, $option, $pattern); - - if (!empty($option['cross_domain'])) { - $this->router->setCrossDomainRule($ruleItem, $method); - } - - $this->addRuleItem($ruleItem, $method); - - return $ruleItem; - } - - /** - * 批量注册路由规则 - * @access public - * @param array $rules 路由规则 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - * @return void - */ - public function addRules($rules, $method = '*', $option = [], $pattern = []) - { - foreach ($rules as $key => $val) { - if (is_numeric($key)) { - $key = array_shift($val); - } - - if (is_array($val)) { - $route = array_shift($val); - $option = $val ? array_shift($val) : []; - $pattern = $val ? array_shift($val) : []; - } else { - $route = $val; - } - - $this->addRule($key, $route, $method, $option, $pattern); - } - } - - public function addRuleItem($rule, $method = '*') - { - if (strpos($method, '|')) { - $rule->method($method); - $method = '*'; - } - - $this->rules[$method][] = $rule; - - return $this; - } - - /** - * 设置分组的路由前缀 - * @access public - * @param string $prefix - * @return $this - */ - public function prefix($prefix) - { - if ($this->parent && $this->parent->getOption('prefix')) { - $prefix = $this->parent->getOption('prefix') . $prefix; - } - - return $this->option('prefix', $prefix); - } - - /** - * 设置资源允许 - * @access public - * @param array $only - * @return $this - */ - public function only($only) - { - return $this->option('only', $only); - } - - /** - * 设置资源排除 - * @access public - * @param array $except - * @return $this - */ - public function except($except) - { - return $this->option('except', $except); - } - - /** - * 设置资源路由的变量 - * @access public - * @param array $vars - * @return $this - */ - public function vars($vars) - { - return $this->option('var', $vars); - } - - /** - * 合并分组的路由规则正则 - * @access public - * @param bool $merge - * @return $this - */ - public function mergeRuleRegex($merge = true) - { - return $this->option('merge_rule_regex', $merge); - } - - /** - * 获取完整分组Name - * @access public - * @return string - */ - public function getFullName() - { - return $this->fullName; - } - - /** - * 获取分组的路由规则 - * @access public - * @param string $method - * @return array - */ - public function getRules($method = '') - { - if ('' === $method) { - return $this->rules; - } - - return isset($this->rules[strtolower($method)]) ? $this->rules[strtolower($method)] : []; - } - - /** - * 清空分组下的路由规则 - * @access public - * @return void - */ - public function clear() - { - $this->rules = [ - '*' => [], - 'get' => [], - 'post' => [], - 'put' => [], - 'patch' => [], - 'delete' => [], - 'head' => [], - 'options' => [], - ]; - } -} diff --git a/thinkphp/library/think/route/RuleItem.php b/thinkphp/library/think/route/RuleItem.php deleted file mode 100644 index a05d2deb..00000000 --- a/thinkphp/library/think/route/RuleItem.php +++ /dev/null @@ -1,292 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -use think\Container; -use think\Exception; -use think\Route; - -class RuleItem extends Rule -{ - protected $hasSetRule; - - /** - * 架构函数 - * @access public - * @param Route $router 路由实例 - * @param RuleGroup $parent 上级对象 - * @param string $name 路由标识 - * @param string|array $rule 路由规则 - * @param string|\Closure $route 路由地址 - * @param string $method 请求类型 - * @param array $option 路由参数 - * @param array $pattern 变量规则 - */ - public function __construct(Route $router, RuleGroup $parent, $name, $rule, $route, $method = '*', $option = [], $pattern = []) - { - $this->router = $router; - $this->parent = $parent; - $this->name = $name; - $this->route = $route; - $this->method = $method; - $this->option = $option; - $this->pattern = $pattern; - - $this->setRule($rule); - - if (!empty($option['cross_domain'])) { - $this->router->setCrossDomainRule($this, $method); - } - } - - /** - * 路由规则预处理 - * @access public - * @param string $rule 路由规则 - * @return void - */ - public function setRule($rule) - { - if ('$' == substr($rule, -1, 1)) { - // 是否完整匹配 - $rule = substr($rule, 0, -1); - - $this->option['complete_match'] = true; - } - - $rule = '/' != $rule ? ltrim($rule, '/') : ''; - - if ($this->parent && $prefix = $this->parent->getFullName()) { - $rule = $prefix . ($rule ? '/' . ltrim($rule, '/') : ''); - } - - if (false !== strpos($rule, ':')) { - $this->rule = preg_replace(['/\[\:(\w+)\]/', '/\:(\w+)/'], ['<\1?>', '<\1>'], $rule); - } else { - $this->rule = $rule; - } - - // 生成路由标识的快捷访问 - $this->setRuleName(); - } - - /** - * 检查后缀 - * @access public - * @param string $ext - * @return $this - */ - public function ext($ext = '') - { - $this->option('ext', $ext); - $this->setRuleName(true); - - return $this; - } - - /** - * 设置别名 - * @access public - * @param string $name - * @return $this - */ - public function name($name) - { - $this->name = $name; - $this->setRuleName(true); - - return $this; - } - - /** - * 设置路由标识 用于URL反解生成 - * @access protected - * @param bool $first 是否插入开头 - * @return void - */ - protected function setRuleName($first = false) - { - if ($this->name) { - $vars = $this->parseVar($this->rule); - $name = strtolower($this->name); - - if (isset($this->option['ext'])) { - $suffix = $this->option['ext']; - } elseif ($this->parent->getOption('ext')) { - $suffix = $this->parent->getOption('ext'); - } else { - $suffix = null; - } - - $value = [$this->rule, $vars, $this->parent->getDomain(), $suffix, $this->method]; - - Container::get('rule_name')->set($name, $value, $first); - } - - if (!$this->hasSetRule) { - Container::get('rule_name')->setRule($this->rule, $this); - $this->hasSetRule = true; - } - } - - /** - * 检测路由 - * @access public - * @param Request $request 请求对象 - * @param string $url 访问地址 - * @param array $match 匹配路由变量 - * @param bool $completeMatch 路由是否完全匹配 - * @return Dispatch|false - */ - public function checkRule($request, $url, $match = null, $completeMatch = false) - { - // 检查参数有效性 - if (!$this->checkOption($this->option, $request)) { - return false; - } - - // 合并分组参数 - $option = $this->mergeGroupOptions(); - - $url = $this->urlSuffixCheck($request, $url, $option); - - if (is_null($match)) { - $match = $this->match($url, $option, $completeMatch); - } - - if (false !== $match) { - if (!empty($option['cross_domain'])) { - if ($dispatch = $this->checkCrossDomain($request)) { - // 允许跨域 - return $dispatch; - } - - $option['header'] = $this->option['header']; - } - - // 检查前置行为 - if (isset($option['before']) && false === $this->checkBefore($option['before'])) { - return false; - } - - return $this->parseRule($request, $this->rule, $this->route, $url, $option, $match); - } - - return false; - } - - /** - * 检测路由(含路由匹配) - * @access public - * @param Request $request 请求对象 - * @param string $url 访问地址 - * @param string $depr 路径分隔符 - * @param bool $completeMatch 路由是否完全匹配 - * @return Dispatch|false - */ - public function check($request, $url, $completeMatch = false) - { - return $this->checkRule($request, $url, null, $completeMatch); - } - - /** - * URL后缀及Slash检查 - * @access protected - * @param Request $request 请求对象 - * @param string $url 访问地址 - * @param array $option 路由参数 - * @return string - */ - protected function urlSuffixCheck($request, $url, $option = []) - { - // 是否区分 / 地址访问 - if (!empty($option['remove_slash']) && '/' != $this->rule) { - $this->rule = rtrim($this->rule, '/'); - $url = rtrim($url, '|'); - } - - if (isset($option['ext'])) { - // 路由ext参数 优先于系统配置的URL伪静态后缀参数 - $url = preg_replace('/\.(' . $request->ext() . ')$/i', '', $url); - } - - return $url; - } - - /** - * 检测URL和规则路由是否匹配 - * @access private - * @param string $url URL地址 - * @param array $option 路由参数 - * @param bool $completeMatch 路由是否完全匹配 - * @return array|false - */ - private function match($url, $option, $completeMatch) - { - if (isset($option['complete_match'])) { - $completeMatch = $option['complete_match']; - } - - $pattern = array_merge($this->parent->getPattern(), $this->pattern); - $depr = $this->router->config('pathinfo_depr'); - - // 检查完整规则定义 - if (isset($pattern['__url__']) && !preg_match(0 === strpos($pattern['__url__'], '/') ? $pattern['__url__'] : '/^' . $pattern['__url__'] . '/', str_replace('|', $depr, $url))) { - return false; - } - - $var = []; - $url = $depr . str_replace('|', $depr, $url); - $rule = $depr . str_replace('/', $depr, $this->rule); - - if ($depr == $rule && $depr != $url) { - return false; - } - - if (false === strpos($rule, '<')) { - if (0 === strcasecmp($rule, $url) || (!$completeMatch && 0 === strncasecmp($rule . $depr, $url . $depr, strlen($rule . $depr)))) { - return $var; - } - return false; - } - - $slash = preg_quote('/-' . $depr, '/'); - - if ($matchRule = preg_split('/[' . $slash . ']?<\w+\??>/', $rule, 2)) { - if ($matchRule[0] && 0 !== strncasecmp($rule, $url, strlen($matchRule[0]))) { - return false; - } - } - - if (preg_match_all('/[' . $slash . ']??/', $rule, $matches)) { - $regex = $this->buildRuleRegex($rule, $matches[0], $pattern, $option, $completeMatch); - - try { - if (!preg_match('/^' . $regex . ($completeMatch ? '$' : '') . '/u', $url, $match)) { - return false; - } - } catch (\Exception $e) { - throw new Exception('route pattern error'); - } - - foreach ($match as $key => $val) { - if (is_string($key)) { - $var[$key] = $val; - } - } - } - - // 成功匹配后返回URL中的动态变量数组 - return $var; - } - -} diff --git a/thinkphp/library/think/route/RuleName.php b/thinkphp/library/think/route/RuleName.php deleted file mode 100644 index 202fb0e2..00000000 --- a/thinkphp/library/think/route/RuleName.php +++ /dev/null @@ -1,147 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route; - -class RuleName -{ - protected $item = []; - protected $rule = []; - - /** - * 注册路由标识 - * @access public - * @param string $name 路由标识 - * @param array $value 路由规则 - * @param bool $first 是否置顶 - * @return void - */ - public function set($name, $value, $first = false) - { - if ($first && isset($this->item[$name])) { - array_unshift($this->item[$name], $value); - } else { - $this->item[$name][] = $value; - } - } - - /** - * 注册路由规则 - * @access public - * @param string $rule 路由规则 - * @param RuleItem $route 路由 - * @return void - */ - public function setRule($rule, $route) - { - $this->rule[$route->getDomain()][$rule][$route->getMethod()] = $route; - } - - /** - * 根据路由规则获取路由对象(列表) - * @access public - * @param string $name 路由标识 - * @param string $domain 域名 - * @return array - */ - public function getRule($rule, $domain = null) - { - return isset($this->rule[$domain][$rule]) ? $this->rule[$domain][$rule] : []; - } - - /** - * 获取全部路由列表 - * @access public - * @param string $domain 域名 - * @return array - */ - public function getRuleList($domain = null) - { - $list = []; - - foreach ($this->rule as $ruleDomain => $rules) { - foreach ($rules as $rule => $items) { - foreach ($items as $item) { - $val['domain'] = $ruleDomain; - - foreach (['method', 'rule', 'name', 'route', 'pattern', 'option'] as $param) { - $call = 'get' . $param; - $val[$param] = $item->$call(); - } - - $list[$ruleDomain][] = $val; - } - } - } - - if ($domain) { - return isset($list[$domain]) ? $list[$domain] : []; - } - - return $list; - } - - /** - * 导入路由标识 - * @access public - * @param array $name 路由标识 - * @return void - */ - public function import($item) - { - $this->item = $item; - } - - /** - * 根据路由标识获取路由信息(用于URL生成) - * @access public - * @param string $name 路由标识 - * @param string $domain 域名 - * @return array|null - */ - public function get($name = null, $domain = null, $method = '*') - { - if (is_null($name)) { - return $this->item; - } - - $name = strtolower($name); - $method = strtolower($method); - - if (isset($this->item[$name])) { - if (is_null($domain)) { - $result = $this->item[$name]; - } else { - $result = []; - foreach ($this->item[$name] as $item) { - if ($item[2] == $domain && ('*' == $item[4] || $method == $item[4])) { - $result[] = $item; - } - } - } - } else { - $result = null; - } - - return $result; - } - - /** - * 清空路由规则 - * @access public - * @return void - */ - public function clear() - { - $this->item = []; - $this->rule = []; - } -} diff --git a/thinkphp/library/think/route/dispatch/Callback.php b/thinkphp/library/think/route/dispatch/Callback.php deleted file mode 100644 index ca76fc99..00000000 --- a/thinkphp/library/think/route/dispatch/Callback.php +++ /dev/null @@ -1,26 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use think\route\Dispatch; - -class Callback extends Dispatch -{ - public function exec() - { - // 执行回调方法 - $vars = array_merge($this->request->param(), $this->param); - - return $this->app->invoke($this->dispatch, $vars); - } - -} diff --git a/thinkphp/library/think/route/dispatch/Controller.php b/thinkphp/library/think/route/dispatch/Controller.php deleted file mode 100644 index 1de82992..00000000 --- a/thinkphp/library/think/route/dispatch/Controller.php +++ /dev/null @@ -1,30 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use think\route\Dispatch; - -class Controller extends Dispatch -{ - public function exec() - { - // 执行控制器的操作方法 - $vars = array_merge($this->request->param(), $this->param); - - return $this->app->action( - $this->dispatch, $vars, - $this->rule->getConfig('url_controller_layer'), - $this->rule->getConfig('controller_suffix') - ); - } - -} diff --git a/thinkphp/library/think/route/dispatch/Module.php b/thinkphp/library/think/route/dispatch/Module.php deleted file mode 100644 index 40bd7759..00000000 --- a/thinkphp/library/think/route/dispatch/Module.php +++ /dev/null @@ -1,138 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use ReflectionMethod; -use think\exception\ClassNotFoundException; -use think\exception\HttpException; -use think\Loader; -use think\Request; -use think\route\Dispatch; - -class Module extends Dispatch -{ - protected $controller; - protected $actionName; - - public function init() - { - parent::init(); - - $result = $this->dispatch; - - if (is_string($result)) { - $result = explode('/', $result); - } - - if ($this->rule->getConfig('app_multi_module')) { - // 多模块部署 - $module = strip_tags(strtolower($result[0] ?: $this->rule->getConfig('default_module'))); - $bind = $this->rule->getRouter()->getBind(); - $available = false; - - if ($bind && preg_match('/^[a-z]/is', $bind)) { - // 绑定模块 - list($bindModule) = explode('/', $bind); - if (empty($result[0])) { - $module = $bindModule; - } - $available = true; - } elseif (!in_array($module, $this->rule->getConfig('deny_module_list')) && is_dir($this->app->getAppPath() . $module)) { - $available = true; - } elseif ($this->rule->getConfig('empty_module')) { - $module = $this->rule->getConfig('empty_module'); - $available = true; - } - - // 模块初始化 - if ($module && $available) { - // 初始化模块 - $this->request->setModule($module); - $this->app->init($module); - } else { - throw new HttpException(404, 'module not exists:' . $module); - } - } - - // 是否自动转换控制器和操作名 - $convert = is_bool($this->convert) ? $this->convert : $this->rule->getConfig('url_convert'); - // 获取控制器名 - $controller = strip_tags($result[1] ?: $this->rule->getConfig('default_controller')); - - $this->controller = $convert ? strtolower($controller) : $controller; - - // 获取操作名 - $this->actionName = strip_tags($result[2] ?: $this->rule->getConfig('default_action')); - - // 设置当前请求的控制器、操作 - $this->request - ->setController(Loader::parseName($this->controller, 1)) - ->setAction($this->actionName); - - return $this; - } - - public function exec() - { - // 监听module_init - $this->app['hook']->listen('module_init'); - - try { - // 实例化控制器 - $instance = $this->app->controller($this->controller, - $this->rule->getConfig('url_controller_layer'), - $this->rule->getConfig('controller_suffix'), - $this->rule->getConfig('empty_controller')); - } catch (ClassNotFoundException $e) { - throw new HttpException(404, 'controller not exists:' . $e->getClass()); - } - - $this->app['middleware']->controller(function (Request $request, $next) use ($instance) { - // 获取当前操作名 - $action = $this->actionName . $this->rule->getConfig('action_suffix'); - - if (is_callable([$instance, $action])) { - // 执行操作方法 - $call = [$instance, $action]; - - // 严格获取当前操作方法名 - $reflect = new ReflectionMethod($instance, $action); - $methodName = $reflect->getName(); - $suffix = $this->rule->getConfig('action_suffix'); - $actionName = $suffix ? substr($methodName, 0, -strlen($suffix)) : $methodName; - $this->request->setAction($actionName); - - // 自动获取请求变量 - $vars = $this->rule->getConfig('url_param_type') - ? $this->request->route() - : $this->request->param(); - $vars = array_merge($vars, $this->param); - } elseif (is_callable([$instance, '_empty'])) { - // 空操作 - $call = [$instance, '_empty']; - $vars = [$this->actionName]; - $reflect = new ReflectionMethod($instance, '_empty'); - } else { - // 操作不存在 - throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()'); - } - - $this->app['hook']->listen('action_begin', $call); - - $data = $this->app->invokeReflectMethod($instance, $reflect, $vars); - - return $this->autoResponse($data); - }); - - return $this->app['middleware']->dispatch($this->request, 'controller'); - } -} diff --git a/thinkphp/library/think/route/dispatch/Redirect.php b/thinkphp/library/think/route/dispatch/Redirect.php deleted file mode 100644 index fae2c9a6..00000000 --- a/thinkphp/library/think/route/dispatch/Redirect.php +++ /dev/null @@ -1,23 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use think\Response; -use think\route\Dispatch; - -class Redirect extends Dispatch -{ - public function exec() - { - return Response::create($this->dispatch, 'redirect')->code($this->code); - } -} diff --git a/thinkphp/library/think/route/dispatch/Response.php b/thinkphp/library/think/route/dispatch/Response.php deleted file mode 100644 index 66f4e5ab..00000000 --- a/thinkphp/library/think/route/dispatch/Response.php +++ /dev/null @@ -1,23 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use think\route\Dispatch; - -class Response extends Dispatch -{ - public function exec() - { - return $this->dispatch; - } - -} diff --git a/thinkphp/library/think/route/dispatch/Url.php b/thinkphp/library/think/route/dispatch/Url.php deleted file mode 100644 index acc524e3..00000000 --- a/thinkphp/library/think/route/dispatch/Url.php +++ /dev/null @@ -1,169 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use think\exception\HttpException; -use think\Loader; -use think\route\Dispatch; - -class Url extends Dispatch -{ - public function init() - { - // 解析默认的URL规则 - $result = $this->parseUrl($this->dispatch); - - return (new Module($this->request, $this->rule, $result))->init(); - } - - public function exec() - {} - - /** - * 解析URL地址 - * @access protected - * @param string $url URL - * @return array - */ - protected function parseUrl($url) - { - $depr = $this->rule->getConfig('pathinfo_depr'); - $bind = $this->rule->getRouter()->getBind(); - - if (!empty($bind) && preg_match('/^[a-z]/is', $bind)) { - $bind = str_replace('/', $depr, $bind); - // 如果有模块/控制器绑定 - $url = $bind . ('.' != substr($bind, -1) ? $depr : '') . ltrim($url, $depr); - } - - list($path, $var) = $this->rule->parseUrlPath($url); - if (empty($path)) { - return [null, null, null]; - } - - // 解析模块 - $module = $this->rule->getConfig('app_multi_module') ? array_shift($path) : null; - - if ($this->param['auto_search']) { - $controller = $this->autoFindController($module, $path); - } else { - // 解析控制器 - $controller = !empty($path) ? array_shift($path) : null; - } - - if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) { - throw new HttpException(404, 'controller not exists:' . $controller); - } - - // 解析操作 - $action = !empty($path) ? array_shift($path) : null; - - // 解析额外参数 - if ($path) { - if ($this->rule->getConfig('url_param_type')) { - $var += $path; - } else { - preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) { - $var[$match[1]] = strip_tags($match[2]); - }, implode('|', $path)); - } - } - - $panDomain = $this->request->panDomain(); - - if ($panDomain && $key = array_search('*', $var)) { - // 泛域名赋值 - $var[$key] = $panDomain; - } - - // 设置当前请求的参数 - $this->request->setRouteVars($var); - - // 封装路由 - $route = [$module, $controller, $action]; - - if ($this->hasDefinedRoute($route, $bind)) { - throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url)); - } - - return $route; - } - - /** - * 检查URL是否已经定义过路由 - * @access protected - * @param string $route 路由信息 - * @param string $bind 绑定信息 - * @return bool - */ - protected function hasDefinedRoute($route, $bind) - { - list($module, $controller, $action) = $route; - - // 检查地址是否被定义过路由 - $name = strtolower($module . '/' . Loader::parseName($controller, 1) . '/' . $action); - - $name2 = ''; - - if (empty($module) || $module == $bind) { - $name2 = strtolower(Loader::parseName($controller, 1) . '/' . $action); - } - - $host = $this->request->host(true); - - $method = $this->request->method(); - - if ($this->rule->getRouter()->getName($name, $host, $method) || $this->rule->getRouter()->getName($name2, $host, $method)) { - return true; - } - - return false; - } - - /** - * 自动定位控制器类 - * @access protected - * @param string $module 模块名 - * @param array $path URL - * @return string - */ - protected function autoFindController($module, &$path) - { - $dir = $this->app->getAppPath() . ($module ? $module . '/' : '') . $this->rule->getConfig('url_controller_layer'); - $suffix = $this->app->getSuffix() || $this->rule->getConfig('controller_suffix') ? ucfirst($this->rule->getConfig('url_controller_layer')) : ''; - - $item = []; - $find = false; - - foreach ($path as $val) { - $item[] = $val; - $file = $dir . '/' . str_replace('.', '/', $val) . $suffix . '.php'; - $file = pathinfo($file, PATHINFO_DIRNAME) . '/' . Loader::parseName(pathinfo($file, PATHINFO_FILENAME), 1) . '.php'; - if (is_file($file)) { - $find = true; - break; - } else { - $dir .= '/' . Loader::parseName($val); - } - } - - if ($find) { - $controller = implode('.', $item); - $path = array_slice($path, count($item)); - } else { - $controller = array_shift($path); - } - - return $controller; - } - -} diff --git a/thinkphp/library/think/route/dispatch/View.php b/thinkphp/library/think/route/dispatch/View.php deleted file mode 100644 index ea3ef11b..00000000 --- a/thinkphp/library/think/route/dispatch/View.php +++ /dev/null @@ -1,26 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\route\dispatch; - -use think\Response; -use think\route\Dispatch; - -class View extends Dispatch -{ - public function exec() - { - // 渲染模板输出 - $vars = array_merge($this->request->param(), $this->param); - - return Response::create($this->dispatch, 'view')->assign($vars); - } -} diff --git a/thinkphp/library/think/session/driver/Memcache.php b/thinkphp/library/think/session/driver/Memcache.php deleted file mode 100644 index 40d7bb82..00000000 --- a/thinkphp/library/think/session/driver/Memcache.php +++ /dev/null @@ -1,124 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\session\driver; - -use SessionHandlerInterface; -use think\Exception; - -class Memcache implements SessionHandlerInterface -{ - protected $handler = null; - protected $config = [ - 'host' => '127.0.0.1', // memcache主机 - 'port' => 11211, // memcache端口 - 'expire' => 3600, // session有效期 - 'timeout' => 0, // 连接超时时间(单位:毫秒) - 'persistent' => true, // 长连接 - 'session_name' => '', // memcache key前缀 - ]; - - public function __construct($config = []) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 打开Session - * @access public - * @param string $savePath - * @param mixed $sessName - */ - public function open($savePath, $sessName) - { - // 检测php环境 - if (!extension_loaded('memcache')) { - throw new Exception('not support:memcache'); - } - - $this->handler = new \Memcache; - - // 支持集群 - $hosts = explode(',', $this->config['host']); - $ports = explode(',', $this->config['port']); - - if (empty($ports[0])) { - $ports[0] = 11211; - } - - // 建立连接 - foreach ((array) $hosts as $i => $host) { - $port = isset($ports[$i]) ? $ports[$i] : $ports[0]; - $this->config['timeout'] > 0 ? - $this->handler->addServer($host, $port, $this->config['persistent'], 1, $this->config['timeout']) : - $this->handler->addServer($host, $port, $this->config['persistent'], 1); - } - - return true; - } - - /** - * 关闭Session - * @access public - */ - public function close() - { - $this->gc(ini_get('session.gc_maxlifetime')); - $this->handler->close(); - $this->handler = null; - - return true; - } - - /** - * 读取Session - * @access public - * @param string $sessID - */ - public function read($sessID) - { - return (string) $this->handler->get($this->config['session_name'] . $sessID); - } - - /** - * 写入Session - * @access public - * @param string $sessID - * @param string $sessData - * @return bool - */ - public function write($sessID, $sessData) - { - return $this->handler->set($this->config['session_name'] . $sessID, $sessData, 0, $this->config['expire']); - } - - /** - * 删除Session - * @access public - * @param string $sessID - * @return bool - */ - public function destroy($sessID) - { - return $this->handler->delete($this->config['session_name'] . $sessID); - } - - /** - * Session 垃圾回收 - * @access public - * @param string $sessMaxLifeTime - * @return true - */ - public function gc($sessMaxLifeTime) - { - return true; - } -} diff --git a/thinkphp/library/think/session/driver/Memcached.php b/thinkphp/library/think/session/driver/Memcached.php deleted file mode 100644 index 074b2ff7..00000000 --- a/thinkphp/library/think/session/driver/Memcached.php +++ /dev/null @@ -1,135 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\session\driver; - -use SessionHandlerInterface; -use think\Exception; - -class Memcached implements SessionHandlerInterface -{ - protected $handler = null; - protected $config = [ - 'host' => '127.0.0.1', // memcache主机 - 'port' => 11211, // memcache端口 - 'expire' => 3600, // session有效期 - 'timeout' => 0, // 连接超时时间(单位:毫秒) - 'session_name' => '', // memcache key前缀 - 'username' => '', //账号 - 'password' => '', //密码 - ]; - - public function __construct($config = []) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 打开Session - * @access public - * @param string $savePath - * @param mixed $sessName - */ - public function open($savePath, $sessName) - { - // 检测php环境 - if (!extension_loaded('memcached')) { - throw new Exception('not support:memcached'); - } - - $this->handler = new \Memcached; - - // 设置连接超时时间(单位:毫秒) - if ($this->config['timeout'] > 0) { - $this->handler->setOption(\Memcached::OPT_CONNECT_TIMEOUT, $this->config['timeout']); - } - - // 支持集群 - $hosts = explode(',', $this->config['host']); - $ports = explode(',', $this->config['port']); - - if (empty($ports[0])) { - $ports[0] = 11211; - } - - // 建立连接 - $servers = []; - foreach ((array) $hosts as $i => $host) { - $servers[] = [$host, (isset($ports[$i]) ? $ports[$i] : $ports[0]), 1]; - } - - $this->handler->addServers($servers); - - if ('' != $this->config['username']) { - $this->handler->setOption(\Memcached::OPT_BINARY_PROTOCOL, true); - $this->handler->setSaslAuthData($this->config['username'], $this->config['password']); - } - - return true; - } - - /** - * 关闭Session - * @access public - */ - public function close() - { - $this->gc(ini_get('session.gc_maxlifetime')); - $this->handler->quit(); - $this->handler = null; - - return true; - } - - /** - * 读取Session - * @access public - * @param string $sessID - */ - public function read($sessID) - { - return (string) $this->handler->get($this->config['session_name'] . $sessID); - } - - /** - * 写入Session - * @access public - * @param string $sessID - * @param string $sessData - * @return bool - */ - public function write($sessID, $sessData) - { - return $this->handler->set($this->config['session_name'] . $sessID, $sessData, $this->config['expire']); - } - - /** - * 删除Session - * @access public - * @param string $sessID - * @return bool - */ - public function destroy($sessID) - { - return $this->handler->delete($this->config['session_name'] . $sessID); - } - - /** - * Session 垃圾回收 - * @access public - * @param string $sessMaxLifeTime - * @return true - */ - public function gc($sessMaxLifeTime) - { - return true; - } -} diff --git a/thinkphp/library/think/session/driver/Redis.php b/thinkphp/library/think/session/driver/Redis.php deleted file mode 100644 index 5a0e7bc7..00000000 --- a/thinkphp/library/think/session/driver/Redis.php +++ /dev/null @@ -1,179 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\session\driver; - -use SessionHandlerInterface; -use think\Exception; - -class Redis implements SessionHandlerInterface -{ - /** @var \Redis */ - protected $handler = null; - protected $config = [ - 'host' => '127.0.0.1', // redis主机 - 'port' => 6379, // redis端口 - 'password' => '', // 密码 - 'select' => 0, // 操作库 - 'expire' => 3600, // 有效期(秒) - 'timeout' => 0, // 超时时间(秒) - 'persistent' => true, // 是否长连接 - 'session_name' => '', // sessionkey前缀 - ]; - - public function __construct($config = []) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 打开Session - * @access public - * @param string $savePath - * @param mixed $sessName - * @return bool - * @throws Exception - */ - public function open($savePath, $sessName) - { - if (extension_loaded('redis')) { - $this->handler = new \Redis; - - // 建立连接 - $func = $this->config['persistent'] ? 'pconnect' : 'connect'; - $this->handler->$func($this->config['host'], $this->config['port'], $this->config['timeout']); - - if ('' != $this->config['password']) { - $this->handler->auth($this->config['password']); - } - - if (0 != $this->config['select']) { - $this->handler->select($this->config['select']); - } - } elseif (class_exists('\Predis\Client')) { - $params = []; - foreach ($this->config as $key => $val) { - if (in_array($key, ['aggregate', 'cluster', 'connections', 'exceptions', 'prefix', 'profile', 'replication'])) { - $params[$key] = $val; - unset($this->config[$key]); - } - } - $this->handler = new \Predis\Client($this->config, $params); - } else { - throw new \BadFunctionCallException('not support: redis'); - } - - return true; - } - - /** - * 关闭Session - * @access public - */ - public function close() - { - $this->gc(ini_get('session.gc_maxlifetime')); - $this->handler->close(); - $this->handler = null; - - return true; - } - - /** - * 读取Session - * @access public - * @param string $sessID - * @return string - */ - public function read($sessID) - { - return (string) $this->handler->get($this->config['session_name'] . $sessID); - } - - /** - * 写入Session - * @access public - * @param string $sessID - * @param string $sessData - * @return bool - */ - public function write($sessID, $sessData) - { - if ($this->config['expire'] > 0) { - $result = $this->handler->setex($this->config['session_name'] . $sessID, $this->config['expire'], $sessData); - } else { - $result = $this->handler->set($this->config['session_name'] . $sessID, $sessData); - } - - return $result ? true : false; - } - - /** - * 删除Session - * @access public - * @param string $sessID - * @return bool - */ - public function destroy($sessID) - { - return $this->handler->del($this->config['session_name'] . $sessID) > 0; - } - - /** - * Session 垃圾回收 - * @access public - * @param string $sessMaxLifeTime - * @return bool - */ - public function gc($sessMaxLifeTime) - { - return true; - } - - /** - * Redis Session 驱动的加锁机制 - * @access public - * @param string $sessID 用于加锁的sessID - * @param integer $timeout 默认过期时间 - * @return bool - */ - public function lock($sessID, $timeout = 10) - { - if (null == $this->handler) { - $this->open('', ''); - } - - $lockKey = 'LOCK_PREFIX_' . $sessID; - // 使用setnx操作加锁 - $isLock = $this->handler->setnx($lockKey, 1); - if ($isLock) { - // 设置过期时间,防止死任务的出现 - $this->handler->expire($lockKey, $timeout); - return true; - } - - return false; - } - - /** - * Redis Session 驱动的解锁机制 - * @access public - * @param string $sessID 用于解锁的sessID - */ - public function unlock($sessID) - { - if (null == $this->handler) { - $this->open('', ''); - } - - $this->handler->del('LOCK_PREFIX_' . $sessID); - } -} diff --git a/thinkphp/library/think/template/TagLib.php b/thinkphp/library/think/template/TagLib.php deleted file mode 100644 index bbbb2c03..00000000 --- a/thinkphp/library/think/template/TagLib.php +++ /dev/null @@ -1,351 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\template; - -use think\Exception; - -/** - * ThinkPHP标签库TagLib解析基类 - * @category Think - * @package Think - * @subpackage Template - * @author liu21st - */ -class TagLib -{ - - /** - * 标签库定义XML文件 - * @var string - * @access protected - */ - protected $xml = ''; - protected $tags = []; // 标签定义 - /** - * 标签库名称 - * @var string - * @access protected - */ - protected $tagLib = ''; - - /** - * 标签库标签列表 - * @var array - * @access protected - */ - protected $tagList = []; - - /** - * 标签库分析数组 - * @var array - * @access protected - */ - protected $parse = []; - - /** - * 标签库是否有效 - * @var bool - * @access protected - */ - protected $valid = false; - - /** - * 当前模板对象 - * @var object - * @access protected - */ - protected $tpl; - - protected $comparison = [' nheq ' => ' !== ', ' heq ' => ' === ', ' neq ' => ' != ', ' eq ' => ' == ', ' egt ' => ' >= ', ' gt ' => ' > ', ' elt ' => ' <= ', ' lt ' => ' < ']; - - /** - * 架构函数 - * @access public - * @param \stdClass $template 模板引擎对象 - */ - public function __construct($template) - { - $this->tpl = $template; - } - - /** - * 按签标库替换页面中的标签 - * @access public - * @param string $content 模板内容 - * @param string $lib 标签库名 - * @return void - */ - public function parseTag(&$content, $lib = '') - { - $tags = []; - $lib = $lib ? strtolower($lib) . ':' : ''; - - foreach ($this->tags as $name => $val) { - $close = !isset($val['close']) || $val['close'] ? 1 : 0; - $tags[$close][$lib . $name] = $name; - if (isset($val['alias'])) { - // 别名设置 - $array = (array) $val['alias']; - foreach (explode(',', $array[0]) as $v) { - $tags[$close][$lib . $v] = $name; - } - } - } - - // 闭合标签 - if (!empty($tags[1])) { - $nodes = []; - $regex = $this->getRegex(array_keys($tags[1]), 1); - if (preg_match_all($regex, $content, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) { - $right = []; - foreach ($matches as $match) { - if ('' == $match[1][0]) { - $name = strtolower($match[2][0]); - // 如果有没闭合的标签头则取出最后一个 - if (!empty($right[$name])) { - // $match[0][1]为标签结束符在模板中的位置 - $nodes[$match[0][1]] = [ - 'name' => $name, - 'begin' => array_pop($right[$name]), // 标签开始符 - 'end' => $match[0], // 标签结束符 - ]; - } - } else { - // 标签头压入栈 - $right[strtolower($match[1][0])][] = $match[0]; - } - } - unset($right, $matches); - // 按标签在模板中的位置从后向前排序 - krsort($nodes); - } - - $break = ''; - if ($nodes) { - $beginArray = []; - // 标签替换 从后向前 - foreach ($nodes as $pos => $node) { - // 对应的标签名 - $name = $tags[1][$node['name']]; - $alias = $lib . $name != $node['name'] ? ($lib ? strstr($node['name'], $lib) : $node['name']) : ''; - - // 解析标签属性 - $attrs = $this->parseAttr($node['begin'][0], $name, $alias); - $method = 'tag' . $name; - - // 读取标签库中对应的标签内容 replace[0]用来替换标签头,replace[1]用来替换标签尾 - $replace = explode($break, $this->$method($attrs, $break)); - - if (count($replace) > 1) { - while ($beginArray) { - $begin = end($beginArray); - // 判断当前标签尾的位置是否在栈中最后一个标签头的后面,是则为子标签 - if ($node['end'][1] > $begin['pos']) { - break; - } else { - // 不为子标签时,取出栈中最后一个标签头 - $begin = array_pop($beginArray); - // 替换标签头部 - $content = substr_replace($content, $begin['str'], $begin['pos'], $begin['len']); - } - } - // 替换标签尾部 - $content = substr_replace($content, $replace[1], $node['end'][1], strlen($node['end'][0])); - // 把标签头压入栈 - $beginArray[] = ['pos' => $node['begin'][1], 'len' => strlen($node['begin'][0]), 'str' => $replace[0]]; - } - } - - while ($beginArray) { - $begin = array_pop($beginArray); - // 替换标签头部 - $content = substr_replace($content, $begin['str'], $begin['pos'], $begin['len']); - } - } - } - // 自闭合标签 - if (!empty($tags[0])) { - $regex = $this->getRegex(array_keys($tags[0]), 0); - $content = preg_replace_callback($regex, function ($matches) use (&$tags, &$lib) { - // 对应的标签名 - $name = $tags[0][strtolower($matches[1])]; - $alias = $lib . $name != $matches[1] ? ($lib ? strstr($matches[1], $lib) : $matches[1]) : ''; - // 解析标签属性 - $attrs = $this->parseAttr($matches[0], $name, $alias); - $method = 'tag' . $name; - return $this->$method($attrs, ''); - }, $content); - } - - return; - } - - /** - * 按标签生成正则 - * @access public - * @param array|string $tags 标签名 - * @param boolean $close 是否为闭合标签 - * @return string - */ - public function getRegex($tags, $close) - { - $begin = $this->tpl->config('taglib_begin'); - $end = $this->tpl->config('taglib_end'); - $single = strlen(ltrim($begin, '\\')) == 1 && strlen(ltrim($end, '\\')) == 1 ? true : false; - $tagName = is_array($tags) ? implode('|', $tags) : $tags; - - if ($single) { - if ($close) { - // 如果是闭合标签 - $regex = $begin . '(?:(' . $tagName . ')\b(?>[^' . $end . ']*)|\/(' . $tagName . '))' . $end; - } else { - $regex = $begin . '(' . $tagName . ')\b(?>[^' . $end . ']*)' . $end; - } - } else { - if ($close) { - // 如果是闭合标签 - $regex = $begin . '(?:(' . $tagName . ')\b(?>(?:(?!' . $end . ').)*)|\/(' . $tagName . '))' . $end; - } else { - $regex = $begin . '(' . $tagName . ')\b(?>(?:(?!' . $end . ').)*)' . $end; - } - } - - return '/' . $regex . '/is'; - } - - /** - * 分析标签属性 正则方式 - * @access public - * @param string $str 标签属性字符串 - * @param string $name 标签名 - * @param string $alias 别名 - * @return array - */ - public function parseAttr($str, $name, $alias = '') - { - $regex = '/\s+(?>(?P[\w-]+)\s*)=(?>\s*)([\"\'])(?P(?:(?!\\2).)*)\\2/is'; - $result = []; - - if (preg_match_all($regex, $str, $matches)) { - foreach ($matches['name'] as $key => $val) { - $result[$val] = $matches['value'][$key]; - } - - if (!isset($this->tags[$name])) { - // 检测是否存在别名定义 - foreach ($this->tags as $key => $val) { - if (isset($val['alias'])) { - $array = (array) $val['alias']; - if (in_array($name, explode(',', $array[0]))) { - $tag = $val; - $type = !empty($array[1]) ? $array[1] : 'type'; - $result[$type] = $name; - break; - } - } - } - } else { - $tag = $this->tags[$name]; - // 设置了标签别名 - if (!empty($alias) && isset($tag['alias'])) { - $type = !empty($tag['alias'][1]) ? $tag['alias'][1] : 'type'; - $result[$type] = $alias; - } - } - - if (!empty($tag['must'])) { - $must = explode(',', $tag['must']); - foreach ($must as $name) { - if (!isset($result[$name])) { - throw new Exception('tag attr must:' . $name); - } - } - } - } else { - // 允许直接使用表达式的标签 - if (!empty($this->tags[$name]['expression'])) { - static $_taglibs; - if (!isset($_taglibs[$name])) { - $_taglibs[$name][0] = strlen($this->tpl->config('taglib_begin_origin') . $name); - $_taglibs[$name][1] = strlen($this->tpl->config('taglib_end_origin')); - } - $result['expression'] = substr($str, $_taglibs[$name][0], -$_taglibs[$name][1]); - // 清除自闭合标签尾部/ - $result['expression'] = rtrim($result['expression'], '/'); - $result['expression'] = trim($result['expression']); - } elseif (empty($this->tags[$name]) || !empty($this->tags[$name]['attr'])) { - throw new Exception('tag error:' . $name); - } - } - - return $result; - } - - /** - * 解析条件表达式 - * @access public - * @param string $condition 表达式标签内容 - * @return string - */ - public function parseCondition($condition) - { - if (!strpos($condition, '::') && strpos($condition, ':')) { - $condition = ' ' . substr(strstr($condition, ':'), 1); - } - - $condition = str_ireplace(array_keys($this->comparison), array_values($this->comparison), $condition); - $this->tpl->parseVar($condition); - - // $this->tpl->parseVarFunction($condition); // XXX: 此句能解析表达式中用|分隔的函数,但表达式中如果有|、||这样的逻辑运算就产生了歧异 - return $condition; - } - - /** - * 自动识别构建变量 - * @access public - * @param string $name 变量描述 - * @return string - */ - public function autoBuildVar(&$name) - { - $flag = substr($name, 0, 1); - - if (':' == $flag) { - // 以:开头为函数调用,解析前去掉: - $name = substr($name, 1); - } elseif ('$' != $flag && preg_match('/[a-zA-Z_]/', $flag)) { - // XXX: 这句的写法可能还需要改进 - // 常量不需要解析 - if (defined($name)) { - return $name; - } - - // 不以$开头并且也不是常量,自动补上$前缀 - $name = '$' . $name; - } - - $this->tpl->parseVar($name); - $this->tpl->parseVarFunction($name, false); - - return $name; - } - - /** - * 获取标签列表 - * @access public - * @return array - */ - public function getTags() - { - return $this->tags; - } -} diff --git a/thinkphp/library/think/template/driver/File.php b/thinkphp/library/think/template/driver/File.php deleted file mode 100644 index 3b96a0f3..00000000 --- a/thinkphp/library/think/template/driver/File.php +++ /dev/null @@ -1,83 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\template\driver; - -use think\Exception; - -class File -{ - protected $cacheFile; - - /** - * 写入编译缓存 - * @access public - * @param string $cacheFile 缓存的文件名 - * @param string $content 缓存的内容 - * @return void|array - */ - public function write($cacheFile, $content) - { - // 检测模板目录 - $dir = dirname($cacheFile); - - if (!is_dir($dir)) { - mkdir($dir, 0755, true); - } - - // 生成模板缓存文件 - if (false === file_put_contents($cacheFile, $content)) { - throw new Exception('cache write error:' . $cacheFile, 11602); - } - } - - /** - * 读取编译编译 - * @access public - * @param string $cacheFile 缓存的文件名 - * @param array $vars 变量数组 - * @return void - */ - public function read($cacheFile, $vars = []) - { - $this->cacheFile = $cacheFile; - - if (!empty($vars) && is_array($vars)) { - // 模板阵列变量分解成为独立变量 - extract($vars, EXTR_OVERWRITE); - } - - //载入模版缓存文件 - include $this->cacheFile; - } - - /** - * 检查编译缓存是否有效 - * @access public - * @param string $cacheFile 缓存的文件名 - * @param int $cacheTime 缓存时间 - * @return boolean - */ - public function check($cacheFile, $cacheTime) - { - // 缓存文件不存在, 直接返回false - if (!file_exists($cacheFile)) { - return false; - } - - if (0 != $cacheTime && time() > filemtime($cacheFile) + $cacheTime) { - // 缓存是否在有效期 - return false; - } - - return true; - } -} diff --git a/thinkphp/library/think/template/taglib/Cx.php b/thinkphp/library/think/template/taglib/Cx.php deleted file mode 100644 index ad741f28..00000000 --- a/thinkphp/library/think/template/taglib/Cx.php +++ /dev/null @@ -1,724 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\template\taglib; - -use think\template\TagLib; - -/** - * CX标签库解析类 - * @category Think - * @package Think - * @subpackage Driver.Taglib - * @author liu21st - */ -class Cx extends Taglib -{ - - // 标签定义 - protected $tags = [ - // 标签定义: attr 属性列表 close 是否闭合(0 或者1 默认1) alias 标签别名 level 嵌套层次 - 'php' => ['attr' => ''], - 'volist' => ['attr' => 'name,id,offset,length,key,mod', 'alias' => 'iterate'], - 'foreach' => ['attr' => 'name,id,item,key,offset,length,mod', 'expression' => true], - 'if' => ['attr' => 'condition', 'expression' => true], - 'elseif' => ['attr' => 'condition', 'close' => 0, 'expression' => true], - 'else' => ['attr' => '', 'close' => 0], - 'switch' => ['attr' => 'name', 'expression' => true], - 'case' => ['attr' => 'value,break', 'expression' => true], - 'default' => ['attr' => '', 'close' => 0], - 'compare' => ['attr' => 'name,value,type', 'alias' => ['eq,equal,notequal,neq,gt,lt,egt,elt,heq,nheq', 'type']], - 'range' => ['attr' => 'name,value,type', 'alias' => ['in,notin,between,notbetween', 'type']], - 'empty' => ['attr' => 'name'], - 'notempty' => ['attr' => 'name'], - 'present' => ['attr' => 'name'], - 'notpresent' => ['attr' => 'name'], - 'defined' => ['attr' => 'name'], - 'notdefined' => ['attr' => 'name'], - 'load' => ['attr' => 'file,href,type,value,basepath', 'close' => 0, 'alias' => ['import,css,js', 'type']], - 'assign' => ['attr' => 'name,value', 'close' => 0], - 'define' => ['attr' => 'name,value', 'close' => 0], - 'for' => ['attr' => 'start,end,name,comparison,step'], - 'url' => ['attr' => 'link,vars,suffix,domain', 'close' => 0, 'expression' => true], - 'function' => ['attr' => 'name,vars,use,call'], - ]; - - /** - * php标签解析 - * 格式: - * {php}echo $name{/php} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagPhp($tag, $content) - { - $parseStr = ''; - return $parseStr; - } - - /** - * volist标签解析 循环输出数据集 - * 格式: - * {volist name="userList" id="user" empty=""} - * {user.username} - * {user.email} - * {/volist} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string|void - */ - public function tagVolist($tag, $content) - { - $name = $tag['name']; - $id = $tag['id']; - $empty = isset($tag['empty']) ? $tag['empty'] : ''; - $key = !empty($tag['key']) ? $tag['key'] : 'i'; - $mod = isset($tag['mod']) ? $tag['mod'] : '2'; - $offset = !empty($tag['offset']) && is_numeric($tag['offset']) ? intval($tag['offset']) : 0; - $length = !empty($tag['length']) && is_numeric($tag['length']) ? intval($tag['length']) : 'null'; - // 允许使用函数设定数据集 {$vo.name} - $parseStr = 'autoBuildVar($name); - $parseStr .= '$_result=' . $name . ';'; - $name = '$_result'; - } else { - $name = $this->autoBuildVar($name); - } - - $parseStr .= 'if(is_array(' . $name . ') || ' . $name . ' instanceof \think\Collection || ' . $name . ' instanceof \think\Paginator): $' . $key . ' = 0;'; - - // 设置了输出数组长度 - if (0 != $offset || 'null' != $length) { - $parseStr .= '$__LIST__ = is_array(' . $name . ') ? array_slice(' . $name . ',' . $offset . ',' . $length . ', true) : ' . $name . '->slice(' . $offset . ',' . $length . ', true); '; - } else { - $parseStr .= ' $__LIST__ = ' . $name . ';'; - } - - $parseStr .= 'if( count($__LIST__)==0 ) : echo "' . $empty . '" ;'; - $parseStr .= 'else: '; - $parseStr .= 'foreach($__LIST__ as $key=>$' . $id . '): '; - $parseStr .= '$mod = ($' . $key . ' % ' . $mod . ' );'; - $parseStr .= '++$' . $key . ';?>'; - $parseStr .= $content; - $parseStr .= ''; - - if (!empty($parseStr)) { - return $parseStr; - } - - return; - } - - /** - * foreach标签解析 循环输出数据集 - * 格式: - * {foreach name="userList" id="user" key="key" index="i" mod="2" offset="3" length="5" empty=""} - * {user.username} - * {/foreach} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string|void - */ - public function tagForeach($tag, $content) - { - // 直接使用表达式 - if (!empty($tag['expression'])) { - $expression = ltrim(rtrim($tag['expression'], ')'), '('); - $expression = $this->autoBuildVar($expression); - $parseStr = ''; - $parseStr .= $content; - $parseStr .= ''; - return $parseStr; - } - - $name = $tag['name']; - $key = !empty($tag['key']) ? $tag['key'] : 'key'; - $item = !empty($tag['id']) ? $tag['id'] : $tag['item']; - $empty = isset($tag['empty']) ? $tag['empty'] : ''; - $offset = !empty($tag['offset']) && is_numeric($tag['offset']) ? intval($tag['offset']) : 0; - $length = !empty($tag['length']) && is_numeric($tag['length']) ? intval($tag['length']) : 'null'; - - $parseStr = 'autoBuildVar($name); - $parseStr .= $var . '=' . $name . '; '; - $name = $var; - } else { - $name = $this->autoBuildVar($name); - } - - $parseStr .= 'if(is_array(' . $name . ') || ' . $name . ' instanceof \think\Collection || ' . $name . ' instanceof \think\Paginator): '; - - // 设置了输出数组长度 - if (0 != $offset || 'null' != $length) { - if (!isset($var)) { - $var = '$_' . uniqid(); - } - $parseStr .= $var . ' = is_array(' . $name . ') ? array_slice(' . $name . ',' . $offset . ',' . $length . ', true) : ' . $name . '->slice(' . $offset . ',' . $length . ', true); '; - } else { - $var = &$name; - } - - $parseStr .= 'if( count(' . $var . ')==0 ) : echo "' . $empty . '" ;'; - $parseStr .= 'else: '; - - // 设置了索引项 - if (isset($tag['index'])) { - $index = $tag['index']; - $parseStr .= '$' . $index . '=0; '; - } - - $parseStr .= 'foreach(' . $var . ' as $' . $key . '=>$' . $item . '): '; - - // 设置了索引项 - if (isset($tag['index'])) { - $index = $tag['index']; - if (isset($tag['mod'])) { - $mod = (int) $tag['mod']; - $parseStr .= '$mod = ($' . $index . ' % ' . $mod . '); '; - } - $parseStr .= '++$' . $index . '; '; - } - - $parseStr .= '?>'; - // 循环体中的内容 - $parseStr .= $content; - $parseStr .= ''; - - if (!empty($parseStr)) { - return $parseStr; - } - - return; - } - - /** - * if标签解析 - * 格式: - * {if condition=" $a eq 1"} - * {elseif condition="$a eq 2" /} - * {else /} - * {/if} - * 表达式支持 eq neq gt egt lt elt == > >= < <= or and || && - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagIf($tag, $content) - { - $condition = !empty($tag['expression']) ? $tag['expression'] : $tag['condition']; - $condition = $this->parseCondition($condition); - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * elseif标签解析 - * 格式:见if标签 - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagElseif($tag, $content) - { - $condition = !empty($tag['expression']) ? $tag['expression'] : $tag['condition']; - $condition = $this->parseCondition($condition); - $parseStr = ''; - - return $parseStr; - } - - /** - * else标签解析 - * 格式:见if标签 - * @access public - * @param array $tag 标签属性 - * @return string - */ - public function tagElse($tag) - { - $parseStr = ''; - - return $parseStr; - } - - /** - * switch标签解析 - * 格式: - * {switch name="a.name"} - * {case value="1" break="false"}1{/case} - * {case value="2" }2{/case} - * {default /}other - * {/switch} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagSwitch($tag, $content) - { - $name = !empty($tag['expression']) ? $tag['expression'] : $tag['name']; - $name = $this->autoBuildVar($name); - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * case标签解析 需要配合switch才有效 - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagCase($tag, $content) - { - $value = isset($tag['expression']) ? $tag['expression'] : $tag['value']; - $flag = substr($value, 0, 1); - - if ('$' == $flag || ':' == $flag) { - $value = $this->autoBuildVar($value); - $value = 'case ' . $value . ':'; - } elseif (strpos($value, '|')) { - $values = explode('|', $value); - $value = ''; - foreach ($values as $val) { - $value .= 'case "' . addslashes($val) . '":'; - } - } else { - $value = 'case "' . $value . '":'; - } - - $parseStr = '' . $content; - $isBreak = isset($tag['break']) ? $tag['break'] : ''; - - if ('' == $isBreak || $isBreak) { - $parseStr .= ''; - } - - return $parseStr; - } - - /** - * default标签解析 需要配合switch才有效 - * 使用: {default /}ddfdf - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagDefault($tag) - { - $parseStr = ''; - - return $parseStr; - } - - /** - * compare标签解析 - * 用于值的比较 支持 eq neq gt lt egt elt heq nheq 默认是eq - * 格式: {compare name="" type="eq" value="" }content{/compare} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagCompare($tag, $content) - { - $name = $tag['name']; - $value = $tag['value']; - $type = isset($tag['type']) ? $tag['type'] : 'eq'; // 比较类型 - $name = $this->autoBuildVar($name); - $flag = substr($value, 0, 1); - - if ('$' == $flag || ':' == $flag) { - $value = $this->autoBuildVar($value); - } else { - $value = '\'' . $value . '\''; - } - - switch ($type) { - case 'equal': - $type = 'eq'; - break; - case 'notequal': - $type = 'neq'; - break; - } - $type = $this->parseCondition(' ' . $type . ' '); - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * range标签解析 - * 如果某个变量存在于某个范围 则输出内容 type= in 表示在范围内 否则表示在范围外 - * 格式: {range name="var|function" value="val" type='in|notin' }content{/range} - * example: {range name="a" value="1,2,3" type='in' }content{/range} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagRange($tag, $content) - { - $name = $tag['name']; - $value = $tag['value']; - $type = isset($tag['type']) ? $tag['type'] : 'in'; // 比较类型 - - $name = $this->autoBuildVar($name); - $flag = substr($value, 0, 1); - - if ('$' == $flag || ':' == $flag) { - $value = $this->autoBuildVar($value); - $str = 'is_array(' . $value . ')?' . $value . ':explode(\',\',' . $value . ')'; - } else { - $value = '"' . $value . '"'; - $str = 'explode(\',\',' . $value . ')'; - } - - if ('between' == $type) { - $parseStr = '= $_RANGE_VAR_[0] && ' . $name . '<= $_RANGE_VAR_[1]):?>' . $content . ''; - } elseif ('notbetween' == $type) { - $parseStr = '$_RANGE_VAR_[1]):?>' . $content . ''; - } else { - $fun = ('in' == $type) ? 'in_array' : '!in_array'; - $parseStr = '' . $content . ''; - } - - return $parseStr; - } - - /** - * present标签解析 - * 如果某个变量已经设置 则输出内容 - * 格式: {present name="" }content{/present} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagPresent($tag, $content) - { - $name = $tag['name']; - $name = $this->autoBuildVar($name); - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * notpresent标签解析 - * 如果某个变量没有设置,则输出内容 - * 格式: {notpresent name="" }content{/notpresent} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagNotpresent($tag, $content) - { - $name = $tag['name']; - $name = $this->autoBuildVar($name); - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * empty标签解析 - * 如果某个变量为empty 则输出内容 - * 格式: {empty name="" }content{/empty} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagEmpty($tag, $content) - { - $name = $tag['name']; - $name = $this->autoBuildVar($name); - $parseStr = 'isEmpty())): ?>' . $content . ''; - - return $parseStr; - } - - /** - * notempty标签解析 - * 如果某个变量不为empty 则输出内容 - * 格式: {notempty name="" }content{/notempty} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagNotempty($tag, $content) - { - $name = $tag['name']; - $name = $this->autoBuildVar($name); - $parseStr = 'isEmpty()))): ?>' . $content . ''; - - return $parseStr; - } - - /** - * 判断是否已经定义了该常量 - * {defined name='TXT'}已定义{/defined} - * @access public - * @param array $tag - * @param string $content - * @return string - */ - public function tagDefined($tag, $content) - { - $name = $tag['name']; - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * 判断是否没有定义了该常量 - * {notdefined name='TXT'}已定义{/notdefined} - * @access public - * @param array $tag - * @param string $content - * @return string - */ - public function tagNotdefined($tag, $content) - { - $name = $tag['name']; - $parseStr = '' . $content . ''; - - return $parseStr; - } - - /** - * load 标签解析 {load file="/static/js/base.js" /} - * 格式:{load file="/static/css/base.css" /} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagLoad($tag, $content) - { - $file = isset($tag['file']) ? $tag['file'] : $tag['href']; - $type = isset($tag['type']) ? strtolower($tag['type']) : ''; - - $parseStr = ''; - $endStr = ''; - - // 判断是否存在加载条件 允许使用函数判断(默认为isset) - if (isset($tag['value'])) { - $name = $tag['value']; - $name = $this->autoBuildVar($name); - $name = 'isset(' . $name . ')'; - $parseStr .= ''; - $endStr = ''; - } - - // 文件方式导入 - $array = explode(',', $file); - - foreach ($array as $val) { - $type = strtolower(substr(strrchr($val, '.'), 1)); - switch ($type) { - case 'js': - $parseStr .= ''; - break; - case 'css': - $parseStr .= ''; - break; - case 'php': - $parseStr .= ''; - break; - } - } - - return $parseStr . $endStr; - } - - /** - * assign标签解析 - * 在模板中给某个变量赋值 支持变量赋值 - * 格式: {assign name="" value="" /} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagAssign($tag, $content) - { - $name = $this->autoBuildVar($tag['name']); - $flag = substr($tag['value'], 0, 1); - - if ('$' == $flag || ':' == $flag) { - $value = $this->autoBuildVar($tag['value']); - } else { - $value = '\'' . $tag['value'] . '\''; - } - - $parseStr = ''; - - return $parseStr; - } - - /** - * define标签解析 - * 在模板中定义常量 支持变量赋值 - * 格式: {define name="" value="" /} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagDefine($tag, $content) - { - $name = '\'' . $tag['name'] . '\''; - $flag = substr($tag['value'], 0, 1); - - if ('$' == $flag || ':' == $flag) { - $value = $this->autoBuildVar($tag['value']); - } else { - $value = '\'' . $tag['value'] . '\''; - } - - $parseStr = ''; - - return $parseStr; - } - - /** - * for标签解析 - * 格式: - * {for start="" end="" comparison="" step="" name=""} - * content - * {/for} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagFor($tag, $content) - { - //设置默认值 - $start = 0; - $end = 0; - $step = 1; - $comparison = 'lt'; - $name = 'i'; - $rand = rand(); //添加随机数,防止嵌套变量冲突 - - //获取属性 - foreach ($tag as $key => $value) { - $value = trim($value); - $flag = substr($value, 0, 1); - if ('$' == $flag || ':' == $flag) { - $value = $this->autoBuildVar($value); - } - - switch ($key) { - case 'start': - $start = $value; - break; - case 'end': - $end = $value; - break; - case 'step': - $step = $value; - break; - case 'comparison': - $comparison = $value; - break; - case 'name': - $name = $value; - break; - } - } - - $parseStr = 'parseCondition('$' . $name . ' ' . $comparison . ' $__FOR_END_' . $rand . '__') . ';$' . $name . '+=' . $step . '){ ?>'; - $parseStr .= $content; - $parseStr .= ''; - - return $parseStr; - } - - /** - * url函数的tag标签 - * 格式:{url link="模块/控制器/方法" vars="参数" suffix="true或者false 是否带有后缀" domain="true或者false 是否携带域名" /} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagUrl($tag, $content) - { - $url = isset($tag['link']) ? $tag['link'] : ''; - $vars = isset($tag['vars']) ? $tag['vars'] : ''; - $suffix = isset($tag['suffix']) ? $tag['suffix'] : 'true'; - $domain = isset($tag['domain']) ? $tag['domain'] : 'false'; - - return ''; - } - - /** - * function标签解析 匿名函数,可实现递归 - * 使用: - * {function name="func" vars="$data" call="$list" use="&$a,&$b"} - * {if is_array($data)} - * {foreach $data as $val} - * {~func($val) /} - * {/foreach} - * {else /} - * {$data} - * {/if} - * {/function} - * @access public - * @param array $tag 标签属性 - * @param string $content 标签内容 - * @return string - */ - public function tagFunction($tag, $content) - { - $name = !empty($tag['name']) ? $tag['name'] : 'func'; - $vars = !empty($tag['vars']) ? $tag['vars'] : ''; - $call = !empty($tag['call']) ? $tag['call'] : ''; - $use = ['&$' . $name]; - - if (!empty($tag['use'])) { - foreach (explode(',', $tag['use']) as $val) { - $use[] = '&' . ltrim(trim($val), '&'); - } - } - - $parseStr = '' . $content . '' : '?>'; - - return $parseStr; - } -} diff --git a/thinkphp/library/think/validate/ValidateRule.php b/thinkphp/library/think/validate/ValidateRule.php deleted file mode 100644 index 7cd70174..00000000 --- a/thinkphp/library/think/validate/ValidateRule.php +++ /dev/null @@ -1,171 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\validate; - -/** - * Class ValidateRule - * @package think\validate - * @method ValidateRule confirm(mixed $rule, string $msg = '') static 验证是否和某个字段的值一致 - * @method ValidateRule different(mixed $rule, string $msg = '') static 验证是否和某个字段的值是否不同 - * @method ValidateRule egt(mixed $rule, string $msg = '') static 验证是否大于等于某个值 - * @method ValidateRule gt(mixed $rule, string $msg = '') static 验证是否大于某个值 - * @method ValidateRule elt(mixed $rule, string $msg = '') static 验证是否小于等于某个值 - * @method ValidateRule lt(mixed $rule, string $msg = '') static 验证是否小于某个值 - * @method ValidateRule eg(mixed $rule, string $msg = '') static 验证是否等于某个值 - * @method ValidateRule in(mixed $rule, string $msg = '') static 验证是否在范围内 - * @method ValidateRule notIn(mixed $rule, string $msg = '') static 验证是否不在某个范围 - * @method ValidateRule between(mixed $rule, string $msg = '') static 验证是否在某个区间 - * @method ValidateRule notBetween(mixed $rule, string $msg = '') static 验证是否不在某个区间 - * @method ValidateRule length(mixed $rule, string $msg = '') static 验证数据长度 - * @method ValidateRule max(mixed $rule, string $msg = '') static 验证数据最大长度 - * @method ValidateRule min(mixed $rule, string $msg = '') static 验证数据最小长度 - * @method ValidateRule after(mixed $rule, string $msg = '') static 验证日期 - * @method ValidateRule before(mixed $rule, string $msg = '') static 验证日期 - * @method ValidateRule expire(mixed $rule, string $msg = '') static 验证有效期 - * @method ValidateRule allowIp(mixed $rule, string $msg = '') static 验证IP许可 - * @method ValidateRule denyIp(mixed $rule, string $msg = '') static 验证IP禁用 - * @method ValidateRule regex(mixed $rule, string $msg = '') static 使用正则验证数据 - * @method ValidateRule token(mixed $rule='__token__', string $msg = '') static 验证表单令牌 - * @method ValidateRule is(mixed $rule, string $msg = '') static 验证字段值是否为有效格式 - * @method ValidateRule isRequire(mixed $rule = null, string $msg = '') static 验证字段必须 - * @method ValidateRule isNumber(mixed $rule = null, string $msg = '') static 验证字段值是否为数字 - * @method ValidateRule isArray(mixed $rule = null, string $msg = '') static 验证字段值是否为数组 - * @method ValidateRule isInteger(mixed $rule = null, string $msg = '') static 验证字段值是否为整形 - * @method ValidateRule isFloat(mixed $rule = null, string $msg = '') static 验证字段值是否为浮点数 - * @method ValidateRule isMobile(mixed $rule = null, string $msg = '') static 验证字段值是否为手机 - * @method ValidateRule isIdCard(mixed $rule = null, string $msg = '') static 验证字段值是否为身份证号码 - * @method ValidateRule isChs(mixed $rule = null, string $msg = '') static 验证字段值是否为中文 - * @method ValidateRule isChsDash(mixed $rule = null, string $msg = '') static 验证字段值是否为中文字母及下划线 - * @method ValidateRule isChsAlpha(mixed $rule = null, string $msg = '') static 验证字段值是否为中文和字母 - * @method ValidateRule isChsAlphaNum(mixed $rule = null, string $msg = '') static 验证字段值是否为中文字母和数字 - * @method ValidateRule isDate(mixed $rule = null, string $msg = '') static 验证字段值是否为有效格式 - * @method ValidateRule isBool(mixed $rule = null, string $msg = '') static 验证字段值是否为布尔值 - * @method ValidateRule isAlpha(mixed $rule = null, string $msg = '') static 验证字段值是否为字母 - * @method ValidateRule isAlphaDash(mixed $rule = null, string $msg = '') static 验证字段值是否为字母和下划线 - * @method ValidateRule isAlphaNum(mixed $rule = null, string $msg = '') static 验证字段值是否为字母和数字 - * @method ValidateRule isAccepted(mixed $rule = null, string $msg = '') static 验证字段值是否为yes, on, 或是 1 - * @method ValidateRule isEmail(mixed $rule = null, string $msg = '') static 验证字段值是否为有效邮箱格式 - * @method ValidateRule isUrl(mixed $rule = null, string $msg = '') static 验证字段值是否为有效URL地址 - * @method ValidateRule activeUrl(mixed $rule, string $msg = '') static 验证是否为合格的域名或者IP - * @method ValidateRule ip(mixed $rule, string $msg = '') static 验证是否有效IP - * @method ValidateRule fileExt(mixed $rule, string $msg = '') static 验证文件后缀 - * @method ValidateRule fileMime(mixed $rule, string $msg = '') static 验证文件类型 - * @method ValidateRule fileSize(mixed $rule, string $msg = '') static 验证文件大小 - * @method ValidateRule image(mixed $rule, string $msg = '') static 验证图像文件 - * @method ValidateRule method(mixed $rule, string $msg = '') static 验证请求类型 - * @method ValidateRule dateFormat(mixed $rule, string $msg = '') static 验证时间和日期是否符合指定格式 - * @method ValidateRule unique(mixed $rule, string $msg = '') static 验证是否唯一 - * @method ValidateRule behavior(mixed $rule, string $msg = '') static 使用行为类验证 - * @method ValidateRule filter(mixed $rule, string $msg = '') static 使用filter_var方式验证 - * @method ValidateRule requireIf(mixed $rule, string $msg = '') static 验证某个字段等于某个值的时候必须 - * @method ValidateRule requireCallback(mixed $rule, string $msg = '') static 通过回调方法验证某个字段是否必须 - * @method ValidateRule requireWith(mixed $rule, string $msg = '') static 验证某个字段有值的情况下必须 - * @method ValidateRule must(mixed $rule = null, string $msg = '') static 必须验证 - */ -class ValidateRule -{ - // 验证字段的名称 - protected $title; - - // 当前验证规则 - protected $rule = []; - - // 验证提示信息 - protected $message = []; - - /** - * 添加验证因子 - * @access protected - * @param string $name 验证名称 - * @param mixed $rule 验证规则 - * @param string $msg 提示信息 - * @return $this - */ - protected function addItem($name, $rule = null, $msg = '') - { - if ($rule || 0 === $rule) { - $this->rule[$name] = $rule; - } else { - $this->rule[] = $name; - } - - $this->message[] = $msg; - - return $this; - } - - /** - * 获取验证规则 - * @access public - * @return array - */ - public function getRule() - { - return $this->rule; - } - - /** - * 获取验证字段名称 - * @access public - * @return string - */ - public function getTitle() - { - return $this->title; - } - - /** - * 获取验证提示 - * @access public - * @return array - */ - public function getMsg() - { - return $this->message; - } - - /** - * 设置验证字段名称 - * @access public - * @return $this - */ - public function title($title) - { - $this->title = $title; - - return $this; - } - - public function __call($method, $args) - { - if ('is' == strtolower(substr($method, 0, 2))) { - $method = substr($method, 2); - } - - array_unshift($args, lcfirst($method)); - - return call_user_func_array([$this, 'addItem'], $args); - } - - public static function __callStatic($method, $args) - { - $rule = new static(); - - if ('is' == strtolower(substr($method, 0, 2))) { - $method = substr($method, 2); - } - - array_unshift($args, lcfirst($method)); - - return call_user_func_array([$rule, 'addItem'], $args); - } -} diff --git a/thinkphp/library/think/view/driver/Php.php b/thinkphp/library/think/view/driver/Php.php deleted file mode 100644 index 7948dc05..00000000 --- a/thinkphp/library/think/view/driver/Php.php +++ /dev/null @@ -1,183 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\view\driver; - -use think\App; -use think\exception\TemplateNotFoundException; -use think\Loader; - -class Php -{ - // 模板引擎参数 - protected $config = [ - // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 - 'auto_rule' => 1, - // 视图基础目录(集中式) - 'view_base' => '', - // 模板起始路径 - 'view_path' => '', - // 模板文件后缀 - 'view_suffix' => 'php', - // 模板文件名分隔符 - 'view_depr' => DIRECTORY_SEPARATOR, - ]; - - protected $template; - protected $app; - protected $content; - - public function __construct(App $app, $config = []) - { - $this->app = $app; - $this->config = array_merge($this->config, (array) $config); - } - - /** - * 检测是否存在模板文件 - * @access public - * @param string $template 模板文件或者模板规则 - * @return bool - */ - public function exists($template) - { - if ('' == pathinfo($template, PATHINFO_EXTENSION)) { - // 获取模板文件名 - $template = $this->parseTemplate($template); - } - - return is_file($template); - } - - /** - * 渲染模板文件 - * @access public - * @param string $template 模板文件 - * @param array $data 模板变量 - * @return void - */ - public function fetch($template, $data = []) - { - if ('' == pathinfo($template, PATHINFO_EXTENSION)) { - // 获取模板文件名 - $template = $this->parseTemplate($template); - } - - // 模板不存在 抛出异常 - if (!is_file($template)) { - throw new TemplateNotFoundException('template not exists:' . $template, $template); - } - - $this->template = $template; - - // 记录视图信息 - $this->app - ->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]'); - - extract($data, EXTR_OVERWRITE); - include $this->template; - } - - /** - * 渲染模板内容 - * @access public - * @param string $content 模板内容 - * @param array $data 模板变量 - * @return void - */ - public function display($content, $data = []) - { - $this->content = $content; - - extract($data, EXTR_OVERWRITE); - eval('?>' . $this->content); - } - - /** - * 自动定位模板文件 - * @access private - * @param string $template 模板文件规则 - * @return string - */ - private function parseTemplate($template) - { - if (empty($this->config['view_path'])) { - $this->config['view_path'] = $this->app->getModulePath() . 'view' . DIRECTORY_SEPARATOR; - } - - $request = $this->app['request']; - - // 获取视图根目录 - if (strpos($template, '@')) { - // 跨模块调用 - list($module, $template) = explode('@', $template); - } - - if ($this->config['view_base']) { - // 基础视图目录 - $module = isset($module) ? $module : $request->module(); - $path = $this->config['view_base'] . ($module ? $module . DIRECTORY_SEPARATOR : ''); - } else { - $path = isset($module) ? $this->app->getAppPath() . $module . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR : $this->config['view_path']; - } - - $depr = $this->config['view_depr']; - - if (0 !== strpos($template, '/')) { - $template = str_replace(['/', ':'], $depr, $template); - $controller = Loader::parseName($request->controller()); - - if ($controller) { - if ('' == $template) { - // 如果模板文件名为空 按照默认规则定位 - $template = str_replace('.', DIRECTORY_SEPARATOR, $controller) . $depr . $this->getActionTemplate($request); - } elseif (false === strpos($template, $depr)) { - $template = str_replace('.', DIRECTORY_SEPARATOR, $controller) . $depr . $template; - } - } - } else { - $template = str_replace(['/', ':'], $depr, substr($template, 1)); - } - - return $path . ltrim($template, '/') . '.' . ltrim($this->config['view_suffix'], '.'); - } - - protected function getActionTemplate($request) - { - $rule = [$request->action(true), Loader::parseName($request->action(true)), $request->action()]; - $type = $this->config['auto_rule']; - - return isset($rule[$type]) ? $rule[$type] : $rule[0]; - } - - /** - * 配置模板引擎 - * @access private - * @param string|array $name 参数名 - * @param mixed $value 参数值 - * @return void - */ - public function config($name, $value = null) - { - if (is_array($name)) { - $this->config = array_merge($this->config, $name); - } elseif (is_null($value)) { - return isset($this->config[$name]) ? $this->config[$name] : null; - } else { - $this->config[$name] = $value; - } - } - - public function __debugInfo() - { - return ['config' => $this->config]; - } -} diff --git a/thinkphp/library/think/view/driver/Think.php b/thinkphp/library/think/view/driver/Think.php deleted file mode 100644 index 877aee85..00000000 --- a/thinkphp/library/think/view/driver/Think.php +++ /dev/null @@ -1,192 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\view\driver; - -use think\App; -use think\exception\TemplateNotFoundException; -use think\Loader; -use think\Template; - -class Think -{ - // 模板引擎实例 - private $template; - private $app; - - // 模板引擎参数 - protected $config = [ - // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 - 'auto_rule' => 1, - // 视图基础目录(集中式) - 'view_base' => '', - // 模板起始路径 - 'view_path' => '', - // 模板文件后缀 - 'view_suffix' => 'html', - // 模板文件名分隔符 - 'view_depr' => DIRECTORY_SEPARATOR, - // 是否开启模板编译缓存,设为false则每次都会重新编译 - 'tpl_cache' => true, - ]; - - public function __construct(App $app, $config = []) - { - $this->app = $app; - $this->config = array_merge($this->config, (array) $config); - - if (empty($this->config['view_path'])) { - $this->config['view_path'] = $app->getModulePath() . 'view' . DIRECTORY_SEPARATOR; - } - - $this->template = new Template($app, $this->config); - } - - /** - * 检测是否存在模板文件 - * @access public - * @param string $template 模板文件或者模板规则 - * @return bool - */ - public function exists($template) - { - if ('' == pathinfo($template, PATHINFO_EXTENSION)) { - // 获取模板文件名 - $template = $this->parseTemplate($template); - } - - return is_file($template); - } - - /** - * 渲染模板文件 - * @access public - * @param string $template 模板文件 - * @param array $data 模板变量 - * @param array $config 模板参数 - * @return void - */ - public function fetch($template, $data = [], $config = []) - { - if ('' == pathinfo($template, PATHINFO_EXTENSION)) { - // 获取模板文件名 - $template = $this->parseTemplate($template); - } - - // 模板不存在 抛出异常 - if (!is_file($template)) { - throw new TemplateNotFoundException('template not exists:' . $template, $template); - } - - // 记录视图信息 - $this->app - ->log('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]'); - - $this->template->fetch($template, $data, $config); - } - - /** - * 渲染模板内容 - * @access public - * @param string $template 模板内容 - * @param array $data 模板变量 - * @param array $config 模板参数 - * @return void - */ - public function display($template, $data = [], $config = []) - { - $this->template->display($template, $data, $config); - } - - /** - * 自动定位模板文件 - * @access private - * @param string $template 模板文件规则 - * @return string - */ - private function parseTemplate($template) - { - // 分析模板文件规则 - $request = $this->app['request']; - - // 获取视图根目录 - if (strpos($template, '@')) { - // 跨模块调用 - list($module, $template) = explode('@', $template); - } - - if ($this->config['view_base']) { - // 基础视图目录 - $module = isset($module) ? $module : $request->module(); - $path = $this->config['view_base'] . ($module ? $module . DIRECTORY_SEPARATOR : ''); - } else { - $path = isset($module) ? $this->app->getAppPath() . $module . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR : $this->config['view_path']; - } - - $depr = $this->config['view_depr']; - - if (0 !== strpos($template, '/')) { - $template = str_replace(['/', ':'], $depr, $template); - $controller = Loader::parseName($request->controller()); - - if ($controller) { - if ('' == $template) { - // 如果模板文件名为空 按照默认规则定位 - $template = str_replace('.', DIRECTORY_SEPARATOR, $controller) . $depr . $this->getActionTemplate($request); - } elseif (false === strpos($template, $depr)) { - $template = str_replace('.', DIRECTORY_SEPARATOR, $controller) . $depr . $template; - } - } - } else { - $template = str_replace(['/', ':'], $depr, substr($template, 1)); - } - - return $path . ltrim($template, '/') . '.' . ltrim($this->config['view_suffix'], '.'); - } - - protected function getActionTemplate($request) - { - $rule = [$request->action(true), Loader::parseName($request->action(true)), $request->action()]; - $type = $this->config['auto_rule']; - - return isset($rule[$type]) ? $rule[$type] : $rule[0]; - } - - /** - * 配置或者获取模板引擎参数 - * @access private - * @param string|array $name 参数名 - * @param mixed $value 参数值 - * @return mixed - */ - public function config($name, $value = null) - { - if (is_array($name)) { - $this->template->config($name); - $this->config = array_merge($this->config, $name); - } elseif (is_null($value)) { - return $this->template->config($name); - } else { - $this->template->$name = $value; - $this->config[$name] = $value; - } - } - - public function __call($method, $params) - { - return call_user_func_array([$this->template, $method], $params); - } - - public function __debugInfo() - { - return ['config' => $this->config]; - } -} diff --git a/thinkphp/library/traits/controller/Jump.php b/thinkphp/library/traits/controller/Jump.php deleted file mode 100644 index 41f7e930..00000000 --- a/thinkphp/library/traits/controller/Jump.php +++ /dev/null @@ -1,168 +0,0 @@ -error(); - * $this->redirect(); - * } - * } - */ -namespace traits\controller; - -use think\Container; -use think\exception\HttpResponseException; -use think\Response; -use think\response\Redirect; - -trait Jump -{ - /** - * 应用实例 - * @var \think\App - */ - protected $app; - - /** - * 操作成功跳转的快捷方法 - * @access protected - * @param mixed $msg 提示信息 - * @param string $url 跳转的URL地址 - * @param mixed $data 返回的数据 - * @param integer $wait 跳转等待时间 - * @param array $header 发送的Header信息 - * @return void - */ - protected function success($msg = '', $url = null, $data = '', $wait = 3, array $header = []) - { - if (is_null($url) && isset($_SERVER["HTTP_REFERER"])) { - $url = $_SERVER["HTTP_REFERER"]; - } elseif ('' !== $url) { - $url = (strpos($url, '://') || 0 === strpos($url, '/')) ? $url : Container::get('url')->build($url); - } - - $result = [ - 'code' => 1, - 'msg' => $msg, - 'data' => $data, - 'url' => $url, - 'wait' => $wait, - ]; - - $type = $this->getResponseType(); - // 把跳转模板的渲染下沉,这样在 response_send 行为里通过getData()获得的数据是一致性的格式 - if ('html' == strtolower($type)) { - $type = 'jump'; - } - - $response = Response::create($result, $type)->header($header)->options(['jump_template' => $this->app['config']->get('dispatch_success_tmpl')]); - - throw new HttpResponseException($response); - } - - /** - * 操作错误跳转的快捷方法 - * @access protected - * @param mixed $msg 提示信息 - * @param string $url 跳转的URL地址 - * @param mixed $data 返回的数据 - * @param integer $wait 跳转等待时间 - * @param array $header 发送的Header信息 - * @return void - */ - protected function error($msg = '', $url = null, $data = '', $wait = 3, array $header = []) - { - $type = $this->getResponseType(); - if (is_null($url)) { - $url = $this->app['request']->isAjax() ? '' : 'javascript:history.back(-1);'; - } elseif ('' !== $url) { - $url = (strpos($url, '://') || 0 === strpos($url, '/')) ? $url : $this->app['url']->build($url); - } - - $result = [ - 'code' => 0, - 'msg' => $msg, - 'data' => $data, - 'url' => $url, - 'wait' => $wait, - ]; - - if ('html' == strtolower($type)) { - $type = 'jump'; - } - - $response = Response::create($result, $type)->header($header)->options(['jump_template' => $this->app['config']->get('dispatch_error_tmpl')]); - - throw new HttpResponseException($response); - } - - /** - * 返回封装后的API数据到客户端 - * @access protected - * @param mixed $data 要返回的数据 - * @param integer $code 返回的code - * @param mixed $msg 提示信息 - * @param string $type 返回数据格式 - * @param array $header 发送的Header信息 - * @return void - */ - protected function result($data, $code = 0, $msg = '', $type = '', array $header = []) - { - $result = [ - 'code' => $code, - 'msg' => $msg, - 'time' => time(), - 'data' => $data, - ]; - - $type = $type ?: $this->getResponseType(); - $response = Response::create($result, $type)->header($header); - - throw new HttpResponseException($response); - } - - /** - * URL重定向 - * @access protected - * @param string $url 跳转的URL表达式 - * @param array|integer $params 其它URL参数 - * @param integer $code http code - * @param array $with 隐式传参 - * @return void - */ - protected function redirect($url, $params = [], $code = 302, $with = []) - { - $response = new Redirect($url); - - if (is_integer($params)) { - $code = $params; - $params = []; - } - - $response->code($code)->params($params)->with($with); - - throw new HttpResponseException($response); - } - - /** - * 获取当前的response 输出类型 - * @access protected - * @return string - */ - protected function getResponseType() - { - if (!$this->app) { - $this->app = Container::get('app'); - } - - $isAjax = $this->app['request']->isAjax(); - $config = $this->app['config']; - - return $isAjax - ? $config->get('default_ajax_return') - : $config->get('default_return_type'); - } -} diff --git a/thinkphp/logo.png b/thinkphp/logo.png deleted file mode 100644 index 25fd0593..00000000 Binary files a/thinkphp/logo.png and /dev/null differ diff --git a/thinkphp/phpunit.xml.dist b/thinkphp/phpunit.xml.dist deleted file mode 100644 index 37c3d2b5..00000000 --- a/thinkphp/phpunit.xml.dist +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - ./library/think/*/tests/ - - - - - - ./library/ - - ./library/think/*/tests - ./library/think/*/assets - ./library/think/*/resources - ./library/think/*/vendor - - - - \ No newline at end of file diff --git a/thinkphp/tpl/default_index.tpl b/thinkphp/tpl/default_index.tpl deleted file mode 100644 index e5c1363a..00000000 --- a/thinkphp/tpl/default_index.tpl +++ /dev/null @@ -1,10 +0,0 @@ -*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} a{color:#2E5CD5;cursor: pointer;text-decoration: none} a:hover{text-decoration:underline; } body{ background: #fff; font-family: "Century Gothic","Microsoft yahei"; color: #333;font-size:18px;} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.6em; font-size: 42px }

          :)

          ThinkPHP V5.1
          12载初心不改(2006-2018) - 你值得信赖的PHP框架

          '; - } -} diff --git a/thinkphp/tpl/dispatch_jump.tpl b/thinkphp/tpl/dispatch_jump.tpl deleted file mode 100644 index 583376bb..00000000 --- a/thinkphp/tpl/dispatch_jump.tpl +++ /dev/null @@ -1,49 +0,0 @@ -{__NOLAYOUT__} - - - - - 跳转提示 - - - -
          - - -

          :)

          -

          - - -

          :(

          -

          - - -

          -

          - 页面自动 跳转 等待时间: -

          -
          - - - diff --git a/thinkphp/tpl/page_trace.tpl b/thinkphp/tpl/page_trace.tpl deleted file mode 100644 index 2e5afbab..00000000 --- a/thinkphp/tpl/page_trace.tpl +++ /dev/null @@ -1,71 +0,0 @@ -
          - - -
          -
          -
          getUseTime().'s ';?>
          - -
          - - diff --git a/thinkphp/tpl/think_exception.tpl b/thinkphp/tpl/think_exception.tpl deleted file mode 100644 index 19ecbdc1..00000000 --- a/thinkphp/tpl/think_exception.tpl +++ /dev/null @@ -1,507 +0,0 @@ -'.end($names).''; - } - } - - if(!function_exists('parse_file')){ - function parse_file($file, $line) - { - return ''.basename($file)." line {$line}".''; - } - } - - if(!function_exists('parse_args')){ - function parse_args($args) - { - $result = []; - - foreach ($args as $key => $item) { - switch (true) { - case is_object($item): - $value = sprintf('object(%s)', parse_class(get_class($item))); - break; - case is_array($item): - if(count($item) > 3){ - $value = sprintf('[%s, ...]', parse_args(array_slice($item, 0, 3))); - } else { - $value = sprintf('[%s]', parse_args($item)); - } - break; - case is_string($item): - if(strlen($item) > 20){ - $value = sprintf( - '\'%s...\'', - htmlentities($item), - htmlentities(substr($item, 0, 20)) - ); - } else { - $value = sprintf("'%s'", htmlentities($item)); - } - break; - case is_int($item): - case is_float($item): - $value = $item; - break; - case is_null($item): - $value = 'null'; - break; - case is_bool($item): - $value = '' . ($item ? 'true' : 'false') . ''; - break; - case is_resource($item): - $value = 'resource'; - break; - default: - $value = htmlentities(str_replace("\n", '', var_export(strval($item), true))); - break; - } - - $result[] = is_int($key) ? $value : "'{$key}' => {$value}"; - } - - return implode(', ', $result); - } - } -?> - - - - - 系统发生错误 - - - - -
          - -
          - -
          -
          - -
          -
          -

          [

          -
          -

          -
          - -
          - -
          -
            $value) { ?>
          -
          - -
          -

          Call Stack

          -
            -
          1. - -
          2. - -
          3. - -
          -
          -
          - -
          - -

          - -
          - - - -
          -

          Exception Datas

          - $value) { ?> - - - - - - - $val) { ?> - - - - - - - -
          empty
          - -
          - -
          - - - -
          -

          Environment Variables

          - $value) { ?> - - - - - - - $val) { ?> - - - - - - - -
          empty
          - -
          - -
          - - - - - - - - diff --git a/vendor/aliyuncs/oss-sdk-php/.coveralls.yml b/vendor/aliyuncs/oss-sdk-php/.coveralls.yml deleted file mode 100644 index 850cc597..00000000 --- a/vendor/aliyuncs/oss-sdk-php/.coveralls.yml +++ /dev/null @@ -1,2 +0,0 @@ -coverage_clover: coverage.xml -json_path: coverage.json diff --git a/vendor/aliyuncs/oss-sdk-php/.gitignore b/vendor/aliyuncs/oss-sdk-php/.gitignore deleted file mode 100644 index 7cdb514d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -vendor -composer.lock -doc -output -.idea -.buildpath -.project -.settings diff --git a/vendor/aliyuncs/oss-sdk-php/.travis.yml b/vendor/aliyuncs/oss-sdk-php/.travis.yml deleted file mode 100644 index 0b40ba23..00000000 --- a/vendor/aliyuncs/oss-sdk-php/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -language: php -php: - - 7.1 - - 7.0 - - 5.6 - - 5.5 - - 5.4 -install: - - composer self-update - - composer install --no-interaction -script: - - php vendor/bin/phpunit -after_success: - - php vendor/bin/coveralls -v -env: - global: - - secure: SzmQ854lQmhV6ZkAG7lQNTY3CkazrXnDSb6VMwPU/sdaLGxPO159AW3fJS5d0sO/XN1P8x5WNkoA4i9soDlLBRibEEISNUM/2EMnpszsRymZ9o97PrS2IgORXTUL/OF+rpATzyNVB2p+2l9hBLiGf17exMSA5iOeY7W6E+VKPGi8TFykgbGUnLKU0h1hV3rzmtfGjOXcSpvYU/hxeZD/J/+6m5Gic9b/pNS+AbfTj7Y7Ru9tNsnyUP29V/vtEYtpQir3ZxQiSiUv9idybgGnJBOMYydJofb/mpFYHhYLSWqtMKGNLpeawmqs4z8S1Tvx5U5uzW5+h/mpzhvBaFlWGpm8t89BQxun5LVX5NiYCrV7TqaLitGp1cSpMjMDnrnSTNzk1exVz+rWZZcWS7yB9ULYA681GA8StXWk167qB7Y30iK1dFK3+2mDN2cEY+qLs8+bupDowQ4eOM+eqfhxX8F8+ouKcKomETsjiIwL+CUsIe6wjvnYFWb1YlRhbsI75bblHApflohnt6gVSJ78ZPqID+u2oUMjmIWXLTnRR2Y2tgEW8uqHeIoQ8BBntLdQDmv0BO4FpnGQIwrUUwQYeNzEM0DOr3hWZhyDR6Xvl+9H0l52xjANaSqpuTZfC3zmeFTG7kIjydvxNePRrony6XAawL9BvI7aKWuVF6YVjPM= - - secure: nEhsU8aUQqsAJeuger+boh51oTpeo4YNG7vUWbKxdwVDIrcLb+l7r7RvTlxU7mt8IZTWwicgri18mh+Wi04BwX4ulBA1SCs8jPbL51KEo5izoDGGtLSd2fuPHdslYSrwagrvq90EPnDT/7fHWn/TAoT+rueZzjNyCu5IGSgL3GnXaUThsJ82NMePL2YRdP4Q1qmtZPRFBOkOQ6F0heuV8fw8sLyTO3txaCQum9YneGxrWxOl/E8zB0qtlnPwLE8ogaHZMQh2/jThmTbI5UqwRTxV4f0qoD5eJYH+j0fslsSAjsg/HPnSuVcnccK3zSU+s2sV4dPCcISzECJvZEObwipfxOGhdqt5gMcxHhn8qVsbT97iIh106pG/BJCDgQd2EeVW8WfCi6cCuCKIMipvVkMypkmjQHWU1XaqPzILl7g5diW9Ctp2C4Akq5dYdrdu8IrnVK1ShtkQVaWU+S/Bht8VU5gYP7olPW/GdTz7sceU1NOIC4NPXqmWKbfavR98U5dkHMLMvzABYL1Q87h+KhPD1c14NUyw3YENUW7REiF/X5lERRm5H0kJ/1JqAa+AgeHQEGmPVuZV2s/na4b0S1479QRVmSM/6ZzXQpU+Y8jCRfETpUFA4S331369kirHgCqDlxyIntuEKrzivD02/O+5C3eJ0WHRz6QsN2/R4qg= - - secure: ZTvzNXEZP4efl+a/3VGMmdabfUQp83v5/lecMns039Ro7UuZYPdtbPtpPnpjaTI6Htd22A4Rva5BU/3JCQJAyQvpbKNn5sGou2SmfQu3o0SyhggSB7gWjYAf707aW1j4bHYfP8IjDS5NjuVk3AqXeNSUuLRUXRmwSOB0lSYiRhiTJY+pUdBl382Hx4NbhIU/gmOzRoJCs7coTip8IURXYEHPi5dnDWluajxI+TgNXFccSgEleeQDJajYgXmpLb2EhSj8piipOnVgaCEE5bh5fbp32024Qq38SGHKcbfnwj2IInpZpZESJknRKoqAlFjdOJhork82dBcvAr5JxCBZKx5IuwXcTjxkQ6tRtBeqhPLPFuX3MQ8WrtU+wniPM0RCH/VoFkUKO7JGQDwmoi2AKago4PsuDs4P6Y6CeuOVpcso731GwwMNhIJcyrJJivXprQNEGsEw+9wLjU1qNYs6IIA3S/gPzFrNbdX5Wf8vxt0vLpgYvBNtPnLMejMtknuyfVzf5iKuVVoGPDTEz+ajs06+jfoPfm/4sLTaLghuVH7Adm74OpF769JQNnQYKwJuu4bNlcbLJChulCEMBOx7myqo/9O6RCTuqzHaGmVWNot4RGqRFHgJGl/JJf0WpAVitbhbRH3kGoyKb6jFM74CJbPsE7OORlJLDC3cdD3C8Pk= - - secure: Qr5NR4CVzBKCQgRgMH0x772TPJ1+brx3UCvtRNu8fi4j3p8bz+HDMjBaBDSFmEB09nunLI55/8mj88/5GXmnpFs8+CPTkcW+QZOcxg3cxpI4SNmxoB12/ZawlFHAqSUaRRE7RUWVkY3KL8tIGjEZcFyUBQ1DVNX3OMpiKs3NLtHa7oUIknyBxdSokm4kpLhSXYe7WmO0vhuZbMZE0S1EISToiBS6AdhGUEbTLJ/vNsIDY07fu6+Vh3HxVbyUFPqUZGlkZpQ+2xMJ3kiqPBMrXtRF/IhhPjORDil6Ns9SQ8/AAlaCddvYvRaT4Pjv2/aX+t3l28qI1qmryPtWXpce5UXecWGYqdRpSJc6Y/pEt4m4FeeGoEFWnSPGIs7FRmeiis8q2rojGZ18i4vI/k4iHmqEBnTlMp3SWnRb9L1adJ8ZAWln8aC88gkQXm67w7+1CxLycerbYj9H1ugqHENuHcxv4uHUcZgEENX3EWatu8i9+K2IUuU/2zcmpu7qtsziYcoyW8DOOmYpJfXGMLtmF9+pqp/Tp6i0tltFSEfmY3N8o7xvv3enLvFHsjL+3ElFdd1blUPSrvZJHgA9M3lJ+QF1RJZCpJqgPlQ0XOZK1Bf4P46zpEj01wKaK4JQrkLPRXhbBOuIJn5O6WlFJyPX4+SaBfwTzb4AvM4aUg2TgTg= - - secure: Inw5ftA8fxvhMHRZwoZzATxn4WICJsCq7ZX4y2gI+b/8u0JQIsbLgY9WTYV+XdSxOoNwuVa1oUxEWI0aDORtXKC3XaIXXKrwndag0zxS77JEYwWvQsjM7BhEbF7MF7MYk8rRXpn6mbfGAT/NfqEOx91RCY8UKeMzD0oPkpkBnJ9Ekuod6JBBq+7j3v4mYUItA8pxvw7b4Pdd4z2xzjgOwNhJYMOCpts50DWZI+WXj0HvTYaMXe5mJJtORK5lsr0a9cbsBqAzE6l+3zGI8XkgHn130ux5XH3DE7hZBeti3ZNaO3d2Vv+496/1EObG0rSFk+z3dmNKqjMz4nh3bYIkdLMegwmgCWs2mvQhkwYhzmnPRHVSERrgZjSWnuKn2PKnBar6tui9KaLNgpo2j3jWpwMLJ3bGAfE5JtMppxAxNqj/q+YB2UZo7Mn7EDjkTDjgxCuazTJwWqH7xxCOykWPABBI17P3JaOXQJEK39LavpfSMm3kdmU0ocpUs7FniLuFm6xL71VxY1wHG10yskczEcFHZ3iyIyGM+xum4vbt5y6Yg+zfdExYQsbrxHDDZ3HbHY3tEU0WhM55vrC42NIXRWqXqJ8OAxpl4nivfx96eoBAThiUU9xXtZmh7WRFVYsstoGtxZwfk5+bi+oeVO9kih4xabwbgHgL9BTc1TR1C4U= diff --git a/vendor/aliyuncs/oss-sdk-php/CHANGELOG.md b/vendor/aliyuncs/oss-sdk-php/CHANGELOG.md deleted file mode 100644 index 47f6853e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/CHANGELOG.md +++ /dev/null @@ -1,129 +0,0 @@ -# ChangeLog - Aliyun OSS SDK for PHP - -## v2.4.2 / 2021-06-04 -* Compatible with PHP8. -* Fixed: compatible with PHP5.4. -* Fixed: the signature is incorrect in some scenarios -* Update: change $requestUrl from a member variable to a local variable. - -## v2.4.1 / 2020-09-29 -* Fixed: the getBucketPolicy bug. - - -## v2.4.0 / 2020-08-31 - -* Added: disable Expect: 100-continue -* Added: support getBucketInfo -* Added: support getBucketStat -* Added: support bucket policy -* Added: support bucket encryption -* Added: support bucket tagging -* Added: support bucket worm -* Added: support versioning -* Added: support request payment -* Added: support object tagging -* Added: support code archive -* Added: support process object -* Added: support traffic limit paramter -* Added: support upload object from file handle -* Added: support getSimplifiedObjectMeta -* Fixed: the object name can not be '0' stirng. -* Update: endpoint validity check -* Update: add new pre-signed url api - - -## v2.3.1 / 2019-01-15 - -* translate chinese comments into english -* Added: endpoint validity check - -## v2.3.0 / 2018-01-05 - -* Fixed: putObject support creating empty files -* Fixed: createBucket support IA/Archive -* Added: support restoreObject -* Added: support the Symlink feature -* Added: support getBucketLocation -* Added: support getBucketMeta -* Added: support proxy server Proxy - -## v2.2.4 / 2017-04-25 - -* Fixed getObject to local file bug - -## v2.2.3 / 2017-04-14 - -* Fixed md5 check - -## v2.2.2 / 2017-01-18 - -* Resolve to run the connection number and memory bug on php7 - -## v2.2.1 / 2016-12-01 - -* No HTTP curl is allowed to automatically populate accept-encoding - -## v2.2.0 / 2016-11-22 - -* Fixed PutObject/CompleteMultipartUpload return values(#26) - -## v2.1.0 / 2016-11-12 - -* Added[RTMP](https://help.aliyun.com/document_detail/44297.html)interface -* Add support[image service](https://help.aliyun.com/document_detail/44686.html) - -## v2.0.7 / 2016-06-17 - -* Support append object - -## v2.0.6 - -* Trim access key id/secret and endpoint -* Refine tests and setup travis CI - -## v2.0.5 - -* Added Add/Delete/Get BucketCname interface - -## v2.0.4 - -* Added Put/Get Object Acl interface - -## v2.0.3 - -* Fixing the constants in Util is defined in a PHP version that is less than 5.6. - -## v2.0.2 - -* The problem of content-type cannot be specified when restoring multipart uploads - -## v2.0.1 - -* Increase the ListObjects/ListMultipartUploads special characters -* Provides the interface to get the details of the OssException - - -## 2015.11.25 - -* **Large version upgrade, no longer compatible with previous interface, new version has made great improvements to ease of use, suggesting that users migrate to a new version.** - -## Modify the content - -* PHP 5.2 is no longer supported - -### Add the cotent - -* Introduce namespace -* Interface naming and modification, using hump naming -* The interface is modified, and the common parameters are extracted from the Options parameter. -* The interface returns the result modification, processing the return result, and the user can directly get the data structure easily processed  -* OssClient's constructor changes -* The Endpoint address that support CNAME and IP formats -* Rearrange the sample file organization structure and use function to organize the function points -* Add an interface that sets the connection timeout and requests timeout -* Remove the outdated interface associated with the Object Group -* The message in the OssException is changed to English - -### Repair problem - -* The object name is not complete diff --git a/vendor/aliyuncs/oss-sdk-php/LICENSE.md b/vendor/aliyuncs/oss-sdk-php/LICENSE.md deleted file mode 100644 index 3183de8c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -#The MIT License (MIT) - -Copyright (c) ali-sdk and other contributors. - -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/aliyuncs/oss-sdk-php/README-CN.md b/vendor/aliyuncs/oss-sdk-php/README-CN.md deleted file mode 100644 index 89c1e5ae..00000000 --- a/vendor/aliyuncs/oss-sdk-php/README-CN.md +++ /dev/null @@ -1,149 +0,0 @@ -# Aliyun OSS SDK for PHP - -[![Latest Stable Version](https://poser.pugx.org/aliyuncs/oss-sdk-php/v/stable)](https://packagist.org/packages/aliyuncs/oss-sdk-php) -[![Build Status](https://travis-ci.org/aliyun/aliyun-oss-php-sdk.svg?branch=master)](https://travis-ci.org/aliyun/aliyun-oss-php-sdk) -[![Coverage Status](https://coveralls.io/repos/github/aliyun/aliyun-oss-php-sdk/badge.svg?branch=master)](https://coveralls.io/github/aliyun/aliyun-oss-php-sdk?branch=master) - -## [README of English](https://github.com/aliyun/aliyun-oss-php-sdk/blob/master/README.md) - -## 概述 - -阿里云对象存储(Object Storage Service,简称OSS),是阿里云对外提供的海量、安全、低成本、高可靠的云存储服务。用户可以通过调用API,在任何应用、任何时间、任何地点上传和下载数据,也可以通过用户Web控制台对数据进行简单的管理。OSS适合存放任意文件类型,适合各种网站、开发企业及开发者使用。 - - -## 运行环境 -- PHP 5.3+ -- cURL extension - -提示: - -- Ubuntu下可以使用apt-get包管理器安装php的cURL扩展 `sudo apt-get install php5-curl` - -## 安装方法 - -1. 如果您通过composer管理您的项目依赖,可以在你的项目根目录运行: - - $ composer require aliyuncs/oss-sdk-php - - 或者在你的`composer.json`中声明对Aliyun OSS SDK for PHP的依赖: - - "require": { - "aliyuncs/oss-sdk-php": "~2.0" - } - - 然后通过`composer install`安装依赖。composer安装完成后,在您的PHP代码中引入依赖即可: - - require_once __DIR__ . '/vendor/autoload.php'; - -2. 您也可以直接下载已经打包好的[phar文件][releases-page],然后在你 - 的代码中引入这个文件即可: - - require_once '/path/to/oss-sdk-php.phar'; - -3. 下载SDK源码,在您的代码中引入SDK目录下的`autoload.php`文件: - - require_once '/path/to/oss-sdk/autoload.php'; - -## 快速使用 - -### 常用类 - -| 类名 | 解释 | -|:------------------|:------------------------------------| -|OSS\OssClient | OSS客户端类,用户通过OssClient的实例调用接口 | -|OSS\Core\OssException | OSS异常类,用户在使用的过程中,只需要注意这个异常| - -### OssClient初始化 - -SDK的OSS操作通过OssClient类完成的,下面代码创建一个OssClient对象: - -```php -"; ; -$accessKeySecret = "<您从OSS获得的AccessKeySecret>"; -$endpoint = "<您选定的OSS数据中心访问域名,例如oss-cn-hangzhou.aliyuncs.com>"; -try { - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint); -} catch (OssException $e) { - print $e->getMessage(); -} -``` - -### 文件操作 - -文件(又称对象,Object)是OSS中最基本的数据单元,您可以把它简单地理解为文件,用下面代码可以实现一个Object的上传: - -```php -"; -$object = "<您使用的Object名字,注意命名规范>"; -$content = "Hello, OSS!"; // 上传的文件内容 -try { - $ossClient->putObject($bucket, $object, $content); -} catch (OssException $e) { - print $e->getMessage(); -} -``` - -### 存储空间操作 - -存储空间(又称Bucket)是一个用户用来管理所存储Object的存储空间,对于用户来说是一个管理Object的单元,所有的Object都必须隶属于某个Bucket。您可以按照下面的代码新建一个Bucket: - -```php -"; -try { - $ossClient->createBucket($bucket); -} catch (OssException $e) { - print $e->getMessage(); -} -``` - -### 返回结果处理 - -OssClient提供的接口返回返回数据分为两种: - -* Put,Delete类接口,接口返回null,如果没有OssException,即可认为操作成功 -* Get,List类接口,接口返回对应的数据,如果没有OssException,即可认为操作成功,举个例子: - -```php -listBuckets(); -$bucketList = $bucketListInfo->getBucketList(); -foreach($bucketList as $bucket) { - print($bucket->getLocation() . "\t" . $bucket->getName() . "\t" . $bucket->getCreateDate() . "\n"); -} -``` -上面代码中的$bucketListInfo的数据类型是 `OSS\Model\BucketListInfo` - - -### 运行Sample程序 - -1. 修改 `samples/Config.php`, 补充配置信息 -2. 执行 `cd samples/ && php RunAll.php` - -### 运行单元测试 - -1. 执行`composer install`下载依赖的库 -2. 设置环境变量 - - export OSS_ACCESS_KEY_ID=access-key-id - export OSS_ACCESS_KEY_SECRET=access-key-secret - export OSS_ENDPOINT=endpoint - export OSS_BUCKET=bucket-name - -3. 执行 `php vendor/bin/phpunit` - -## License - -- MIT - -## 联系我们 - -- [阿里云OSS官方网站](http://oss.aliyun.com) -- [阿里云OSS官方论坛](http://bbs.aliyun.com) -- [阿里云OSS官方文档中心](http://www.aliyun.com/product/oss#Docs) -- 阿里云官方技术支持:[提交工单](https://workorder.console.aliyun.com/#/ticket/createIndex) - -[releases-page]: https://github.com/aliyun/aliyun-oss-php-sdk/releases -[phar-composer]: https://github.com/clue/phar-composer diff --git a/vendor/aliyuncs/oss-sdk-php/README.md b/vendor/aliyuncs/oss-sdk-php/README.md deleted file mode 100644 index b77a3561..00000000 --- a/vendor/aliyuncs/oss-sdk-php/README.md +++ /dev/null @@ -1,150 +0,0 @@ -# Alibaba Cloud OSS SDK for PHP - -[![Latest Stable Version](https://poser.pugx.org/aliyuncs/oss-sdk-php/v/stable)](https://packagist.org/packages/aliyuncs/oss-sdk-php) -[![Build Status](https://travis-ci.org/aliyun/aliyun-oss-php-sdk.svg?branch=master)](https://travis-ci.org/aliyun/aliyun-oss-php-sdk) -[![Coverage Status](https://coveralls.io/repos/github/aliyun/aliyun-oss-php-sdk/badge.svg?branch=master)](https://coveralls.io/github/aliyun/aliyun-oss-php-sdk?branch=master) - -## [README of Chinese](https://github.com/aliyun/aliyun-oss-php-sdk/blob/master/README-CN.md) - -## Overview - -Alibaba Cloud Object Storage Service (OSS) is a cloud storage service provided by Alibaba Cloud, featuring a massive capacity, security, a low cost, and high reliability. You can upload and download data on any application anytime and anywhere by calling APIs, and perform simple management of data through the web console. The OSS can store any type of files and therefore applies to various websites, development enterprises and developers. - - -## Run environment -- PHP 5.3+. -- cURL extension. - -Tips: - -- In Ubuntu, you can use the ***apt-get*** package manager to install the *PHP cURL extension*: `sudo apt-get install php5-curl`. - -## Install OSS PHP SDK - -- If you use the ***composer*** to manage project dependencies, run the following command in your project's root directory: - - composer require aliyuncs/oss-sdk-php - - You can also declare the dependency on Alibaba Cloud OSS SDK for PHP in the `composer.json` file. - - "require": { - "aliyuncs/oss-sdk-php": "~2.0" - } - - Then run `composer install` to install the dependency. After the Composer Dependency Manager is installed, import the dependency in your PHP code: - - require_once __DIR__ . '/vendor/autoload.php'; - -- You can also directly download the packaged [PHAR File][releases-page], and - introduce the file to your code: - - require_once '/path/to/oss-sdk-php.phar'; - -- Download the SDK source code, and introduce the `autoload.php` file under the SDK directory to your code: - - require_once '/path/to/oss-sdk/autoload.php'; - -## Quick use - -### Common classes - -| Class | Explanation | -|:------------------|:------------------------------------| -|OSS\OssClient | OSS client class. An OssClient instance can be used to call the interface. | -|OSS\Core\OssException |OSS Exception class . You only need to pay attention to this exception when you use the OssClient. | - -### Initialize an OssClient - -The SDK's operations for the OSS are performed through the OssClient class. The code below creates an OssClient object: - -```php -"; -$accessKeySecret = ""; -$endpoint = ""; -try { - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint); -} catch (OssException $e) { - print $e->getMessage(); -} -``` - -### Operations on objects - -Objects are the most basic data units on the OSS. You can simply consider objects as files. The following code uploads an object: - -```php -"; -$object = ""; -$content = "Hello, OSS!"; // Content of the uploaded file -try { - $ossClient->putObject($bucket, $object, $content); -} catch (OssException $e) { - print $e->getMessage(); -} -``` - -### Operations on buckets - -Buckets are the space that you use to manage the stored objects. It is an object management unit for users. Each object must belong to a bucket. You can create a bucket with the following code: - -```php -"; -try { - $ossClient->createBucket($bucket); -} catch (OssException $e) { - print $e->getMessage(); -} -``` - -### Handle returned results - -The OssClient provides the following two types of returned data from interfaces: - -- Put and Delete interfaces: The *PUT* and *DELETE* operations are deemed successful if *null* is returned by the interfaces without *OSSException*. -- Get and List interfaces: The *GET* and *LIST* operations are deemed successful if the desired data is returned by the interfaces without *OSSException*. For example, - - ```php - listBuckets(); - $bucketList = $bucketListInfo->getBucketList(); - foreach($bucketList as $bucket) { - print($bucket->getLocation() . "\t" . $bucket->getName() . "\t" . $bucket->getCreateDate() . "\n"); - } - ``` -In the above code, $bucketListInfo falls into the 'OSS\Model\BucketListInfo' data type. - - -### Run a sample project - -- Modify `samples/Config.php` to complete the configuration information. -- Run `cd samples/ && php RunAll.php`. - -### Run a unit test - -- Run `composer install` to download the dependent libraries. -- Set the environment variable. - - export OSS_ACCESS_KEY_ID=access-key-id - export OSS_ACCESS_KEY_SECRET=access-key-secret - export OSS_ENDPOINT=endpoint - export OSS_BUCKET=bucket-name - -- Run `php vendor/bin/phpunit` - -## License - -- MIT - -## Contact us - -- [Alibaba Cloud OSS official website](http://oss.aliyun.com). -- [Alibaba Cloud OSS official forum](http://bbs.aliyun.com). -- [Alibaba Cloud OSS official documentation center](http://www.aliyun.com/product/oss#Docs). -- Alibaba Cloud official technical support: [Submit a ticket](https://workorder.console.aliyun.com/#/ticket/createIndex). - -[releases-page]: https://github.com/aliyun/aliyun-oss-php-sdk/releases -[phar-composer]: https://github.com/clue/phar-composer - diff --git a/vendor/aliyuncs/oss-sdk-php/autoload.php b/vendor/aliyuncs/oss-sdk-php/autoload.php deleted file mode 100644 index ec132011..00000000 --- a/vendor/aliyuncs/oss-sdk-php/autoload.php +++ /dev/null @@ -1,11 +0,0 @@ -=5.3" - }, - "require-dev" : { - "phpunit/phpunit": "*", - "satooshi/php-coveralls": "*" - }, - "minimum-stability": "stable", - "autoload": { - "psr-4": {"OSS\\": "src/OSS"} - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/example.jpg b/vendor/aliyuncs/oss-sdk-php/example.jpg deleted file mode 100644 index ffd46a2f..00000000 Binary files a/vendor/aliyuncs/oss-sdk-php/example.jpg and /dev/null differ diff --git a/vendor/aliyuncs/oss-sdk-php/index.php b/vendor/aliyuncs/oss-sdk-php/index.php deleted file mode 100644 index cdc28bc1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/index.php +++ /dev/null @@ -1,3 +0,0 @@ - - - - - - - ./src - - - - - - - - ./tests - ./tests/OSS/Tests/BucketCnameTest.php - - - diff --git a/vendor/aliyuncs/oss-sdk-php/samples/Bucket.php b/vendor/aliyuncs/oss-sdk-php/samples/Bucket.php deleted file mode 100644 index 7dc50b89..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/Bucket.php +++ /dev/null @@ -1,168 +0,0 @@ -createBucket($bucket, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE); -Common::println("bucket $bucket created"); - -// Check whether a bucket exists -$doesExist = $ossClient->doesBucketExist($bucket); -Common::println("bucket $bucket exist? " . ($doesExist ? "yes" : "no")); - -// Get the bucket list -$bucketListInfo = $ossClient->listBuckets(); - -// Set bucket ACL -$ossClient->putBucketAcl($bucket, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE); -Common::println("bucket $bucket acl put"); -// Get bucket ACL -$acl = $ossClient->getBucketAcl($bucket); -Common::println("bucket $bucket acl get: " . $acl); - - -//******************************* For complete usage, see the following functions **************************************************** - -createBucket($ossClient, $bucket); -doesBucketExist($ossClient, $bucket); -deleteBucket($ossClient, $bucket); -putBucketAcl($ossClient, $bucket); -getBucketAcl($ossClient, $bucket); -listBuckets($ossClient); - -/** - * Create a new bucket - * acl indicates the access permission of a bucket, including: private, public-read-only/private-read-write, and public read-write. - * Private indicates that only the bucket owner or authorized users can access the data.. - * The three permissions are separately defined by (OssClient::OSS_ACL_TYPE_PRIVATE,OssClient::OSS_ACL_TYPE_PUBLIC_READ, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE) - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket Name of the bucket to create - * @return null - */ -function createBucket($ossClient, $bucket) -{ - try { - $ossClient->createBucket($bucket, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Check whether a bucket exists. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - */ -function doesBucketExist($ossClient, $bucket) -{ - try { - $res = $ossClient->doesBucketExist($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - if ($res === true) { - print(__FUNCTION__ . ": OK" . "\n"); - } else { - print(__FUNCTION__ . ": FAILED" . "\n"); - } -} - -/** - * Delete a bucket. If the bucket is not empty, the deletion fails. - * A bucket which is not empty indicates that it does not contain any objects or parts that are not completely uploaded during multipart upload - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket Name of the bucket to delete - * @return null - */ -function deleteBucket($ossClient, $bucket) -{ - try { - $ossClient->deleteBucket($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Set bucket ACL - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function putBucketAcl($ossClient, $bucket) -{ - $acl = OssClient::OSS_ACL_TYPE_PRIVATE; - try { - $ossClient->putBucketAcl($bucket, $acl); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - - -/** - * Get bucket ACL - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getBucketAcl($ossClient, $bucket) -{ - try { - $res = $ossClient->getBucketAcl($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - print('acl: ' . $res); -} - - -/** - * List all buckets - * - * @param OssClient $ossClient OssClient instance - * @return null - */ -function listBuckets($ossClient) -{ - $bucketList = null; - try { - $bucketListInfo = $ossClient->listBuckets(); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - $bucketList = $bucketListInfo->getBucketList(); - foreach ($bucketList as $bucket) { - print($bucket->getLocation() . "\t" . $bucket->getName() . "\t" . $bucket->getCreatedate() . "\n"); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/samples/BucketCors.php b/vendor/aliyuncs/oss-sdk-php/samples/BucketCors.php deleted file mode 100644 index dfa42d32..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/BucketCors.php +++ /dev/null @@ -1,108 +0,0 @@ -addAllowedHeader("x-oss-header"); -$rule->addAllowedOrigin("http://www.b.com"); -$rule->addAllowedMethod("POST"); -$rule->setMaxAgeSeconds(10); -$corsConfig->addRule($rule); -$ossClient->putBucketCors($bucket, $corsConfig); -Common::println("bucket $bucket corsConfig created:" . $corsConfig->serializeToXml()); - -// Get cors configuration -$corsConfig = $ossClient->getBucketCors($bucket); -Common::println("bucket $bucket corsConfig fetched:" . $corsConfig->serializeToXml()); - -// Delete cors configuration -$ossClient->deleteBucketCors($bucket); -Common::println("bucket $bucket corsConfig deleted"); - -//******************************* For complete usage, see the following functions ***************************************************** - -putBucketCors($ossClient, $bucket); -getBucketCors($ossClient, $bucket); -deleteBucketCors($ossClient, $bucket); -getBucketCors($ossClient, $bucket); - -/** - * Set bucket cores - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function putBucketCors($ossClient, $bucket) -{ - $corsConfig = new CorsConfig(); - $rule = new CorsRule(); - $rule->addAllowedHeader("x-oss-header"); - $rule->addAllowedOrigin("http://www.b.com"); - $rule->addAllowedMethod("POST"); - $rule->setMaxAgeSeconds(10); - $corsConfig->addRule($rule); - - try { - $ossClient->putBucketCors($bucket, $corsConfig); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Get and print the cors configuration of a bucket - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getBucketCors($ossClient, $bucket) -{ - $corsConfig = null; - try { - $corsConfig = $ossClient->getBucketCors($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - print($corsConfig->serializeToXml() . "\n"); -} - -/** - * Delete all cors configuraiton of a bucket - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteBucketCors($ossClient, $bucket) -{ - try { - $ossClient->deleteBucketCors($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - diff --git a/vendor/aliyuncs/oss-sdk-php/samples/BucketLifecycle.php b/vendor/aliyuncs/oss-sdk-php/samples/BucketLifecycle.php deleted file mode 100644 index 04d2edd6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/BucketLifecycle.php +++ /dev/null @@ -1,109 +0,0 @@ -addRule($lifecycleRule); -$ossClient->putBucketLifecycle($bucket, $lifecycleConfig); -Common::println("bucket $bucket lifecycleConfig created:" . $lifecycleConfig->serializeToXml()); - -// Get lifecycle configuration -$lifecycleConfig = $ossClient->getBucketLifecycle($bucket); -Common::println("bucket $bucket lifecycleConfig fetched:" . $lifecycleConfig->serializeToXml()); - -// Delete bucket lifecycle configuration -$ossClient->deleteBucketLifecycle($bucket); -Common::println("bucket $bucket lifecycleConfig deleted"); - - -//***************************** For complete usage, see the following functions *********************************************** - -putBucketLifecycle($ossClient, $bucket); -getBucketLifecycle($ossClient, $bucket); -deleteBucketLifecycle($ossClient, $bucket); -getBucketLifecycle($ossClient, $bucket); - -/** - * Set bucket lifecycle configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function putBucketLifecycle($ossClient, $bucket) -{ - $lifecycleConfig = new LifecycleConfig(); - $actions = array(); - $actions[] = new LifecycleAction(OssClient::OSS_LIFECYCLE_EXPIRATION, OssClient::OSS_LIFECYCLE_TIMING_DAYS, 3); - $lifecycleRule = new LifecycleRule("delete obsoleted files", "obsoleted/", "Enabled", $actions); - $lifecycleConfig->addRule($lifecycleRule); - $actions = array(); - $actions[] = new LifecycleAction(OssClient::OSS_LIFECYCLE_EXPIRATION, OssClient::OSS_LIFECYCLE_TIMING_DATE, '2022-10-12T00:00:00.000Z'); - $lifecycleRule = new LifecycleRule("delete temporary files", "temporary/", "Enabled", $actions); - $lifecycleConfig->addRule($lifecycleRule); - try { - $ossClient->putBucketLifecycle($bucket, $lifecycleConfig); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Get bucket lifecycle configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getBucketLifecycle($ossClient, $bucket) -{ - $lifecycleConfig = null; - try { - $lifecycleConfig = $ossClient->getBucketLifecycle($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - print($lifecycleConfig->serializeToXml() . "\n"); -} - -/** - * Delete bucket lifecycle configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteBucketLifecycle($ossClient, $bucket) -{ - try { - $ossClient->deleteBucketLifecycle($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - - diff --git a/vendor/aliyuncs/oss-sdk-php/samples/BucketLogging.php b/vendor/aliyuncs/oss-sdk-php/samples/BucketLogging.php deleted file mode 100644 index eef71f22..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/BucketLogging.php +++ /dev/null @@ -1,95 +0,0 @@ -putBucketLogging($bucket, $bucket, "access.log", array()); -Common::println("bucket $bucket lifecycleConfig created"); - -// Get bucket access logging rules -$loggingConfig = $ossClient->getBucketLogging($bucket, array()); -Common::println("bucket $bucket lifecycleConfig fetched:" . $loggingConfig->serializeToXml()); - -// Delete bucket access logging rules -$loggingConfig = $ossClient->getBucketLogging($bucket, array()); -Common::println("bucket $bucket lifecycleConfig deleted"); - -//******************************* For complete usage, see the following functions **************************************************** - -putBucketLogging($ossClient, $bucket); -getBucketLogging($ossClient, $bucket); -deleteBucketLogging($ossClient, $bucket); -getBucketLogging($ossClient, $bucket); - -/** - * Set bucket logging configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function putBucketLogging($ossClient, $bucket) -{ - $option = array(); - // Access logs are stored in the same bucket. - $targetBucket = $bucket; - $targetPrefix = "access.log"; - - try { - $ossClient->putBucketLogging($bucket, $targetBucket, $targetPrefix, $option); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Get bucket logging configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getBucketLogging($ossClient, $bucket) -{ - $loggingConfig = null; - $options = array(); - try { - $loggingConfig = $ossClient->getBucketLogging($bucket, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - print($loggingConfig->serializeToXml() . "\n"); -} - -/** - * Delete bucket logging configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteBucketLogging($ossClient, $bucket) -{ - try { - $ossClient->deleteBucketLogging($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} diff --git a/vendor/aliyuncs/oss-sdk-php/samples/BucketReferer.php b/vendor/aliyuncs/oss-sdk-php/samples/BucketReferer.php deleted file mode 100644 index 628f7846..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/BucketReferer.php +++ /dev/null @@ -1,101 +0,0 @@ -setAllowEmptyReferer(true); -$refererConfig->addReferer("www.aliiyun.com"); -$refererConfig->addReferer("www.aliiyuncs.com"); -$ossClient->putBucketReferer($bucket, $refererConfig); -Common::println("bucket $bucket refererConfig created:" . $refererConfig->serializeToXml()); -// Get referer whitelist -$refererConfig = $ossClient->getBucketReferer($bucket); -Common::println("bucket $bucket refererConfig fetched:" . $refererConfig->serializeToXml()); - -// Delete referrer whitelist -$refererConfig = new RefererConfig(); -$ossClient->putBucketReferer($bucket, $refererConfig); -Common::println("bucket $bucket refererConfig deleted"); - - -//******************************* For complete usage, see the following functions **************************************************** - -putBucketReferer($ossClient, $bucket); -getBucketReferer($ossClient, $bucket); -deleteBucketReferer($ossClient, $bucket); -getBucketReferer($ossClient, $bucket); - -/** - * Set bucket referer configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function putBucketReferer($ossClient, $bucket) -{ - $refererConfig = new RefererConfig(); - $refererConfig->setAllowEmptyReferer(true); - $refererConfig->addReferer("www.aliiyun.com"); - $refererConfig->addReferer("www.aliiyuncs.com"); - try { - $ossClient->putBucketReferer($bucket, $refererConfig); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Get bucket referer configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getBucketReferer($ossClient, $bucket) -{ - $refererConfig = null; - try { - $refererConfig = $ossClient->getBucketReferer($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - print($refererConfig->serializeToXml() . "\n"); -} - -/** - * Delete bucket referer configuration - * Referer whitelist cannot be directly deleted. So use a empty one to overwrite it. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteBucketReferer($ossClient, $bucket) -{ - $refererConfig = new RefererConfig(); - try { - $ossClient->putBucketReferer($bucket, $refererConfig); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} diff --git a/vendor/aliyuncs/oss-sdk-php/samples/BucketWebsite.php b/vendor/aliyuncs/oss-sdk-php/samples/BucketWebsite.php deleted file mode 100644 index 6c387e68..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/BucketWebsite.php +++ /dev/null @@ -1,92 +0,0 @@ -putBucketWebsite($bucket, $websiteConfig); -Common::println("bucket $bucket websiteConfig created:" . $websiteConfig->serializeToXml()); - -// Get bucket static website configuration -$websiteConfig = $ossClient->getBucketWebsite($bucket); -Common::println("bucket $bucket websiteConfig fetched:" . $websiteConfig->serializeToXml()); - -// Delete bucket static website configuration -$ossClient->deleteBucketWebsite($bucket); -Common::println("bucket $bucket websiteConfig deleted"); - -//******************************* For complete usage, see the following functions **************************************************** - -putBucketWebsite($ossClient, $bucket); -getBucketWebsite($ossClient, $bucket); -deleteBucketWebsite($ossClient, $bucket); -getBucketWebsite($ossClient, $bucket); - -/** - * Sets bucket static website configuration - * - * @param $ossClient OssClient - * @param $bucket string bucket name - * @return null - */ -function putBucketWebsite($ossClient, $bucket) -{ - $websiteConfig = new WebsiteConfig("index.html", "error.html"); - try { - $ossClient->putBucketWebsite($bucket, $websiteConfig); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Get bucket static website configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getBucketWebsite($ossClient, $bucket) -{ - $websiteConfig = null; - try { - $websiteConfig = $ossClient->getBucketWebsite($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - print($websiteConfig->serializeToXml() . "\n"); -} - -/** - * Delete bucket static website configuration - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteBucketWebsite($ossClient, $bucket) -{ - try { - $ossClient->deleteBucketWebsite($bucket); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} diff --git a/vendor/aliyuncs/oss-sdk-php/samples/Callback.php b/vendor/aliyuncs/oss-sdk-php/samples/Callback.php deleted file mode 100644 index 4b7bc41c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/Callback.php +++ /dev/null @@ -1,83 +0,0 @@ - $url, - OssClient::OSS_CALLBACK_VAR => $var - ); -$result = $ossClient->putObject($bucket, "b.file", "random content", $options); -Common::println($result['body']); -Common::println($result['info']['http_code']); - -/** - * completeMultipartUpload Upload content to an OSS file using callback. - * callbackurl specifies the server url for the request callback - * The callbackbodytype can be application/json or application/x-www-form-urlencoded,the optional parameters,the default for the application/x - WWW - form - urlencoded - * Users can choose not to set OSS_BACK_VAR. - */ -$object = "multipart-callback-test.txt"; -$copiedObject = "multipart-callback-test.txt.copied"; -$ossClient->putObject($bucket, $copiedObject, file_get_contents(__FILE__)); - -/** - * step 1. Initialize a block upload event, that is, a multipart upload process to get an upload id - */ -$upload_id = $ossClient->initiateMultipartUpload($bucket, $object); - -/** - * step 2. uploadPartCopy - */ -$copyId = 1; -$eTag = $ossClient->uploadPartCopy($bucket, $copiedObject, $bucket, $object, $copyId, $upload_id); -$upload_parts[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); -$listPartsInfo = $ossClient->listParts($bucket, $object, $upload_id); - -/** - * step 3. - */ -$json = - '{ - "callbackUrl":"callback.oss-demo.com:23450", - "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\"mimeType\":${mimeType},\"size\":${size},\"x:var1\":${x:var1},\"x:var2\":${x:var2}}", - "callbackBodyType":"application/json" - }'; -$var = - '{ - "x:var1":"value1", - "x:var2":"值2" - }'; -$options = array(OssClient::OSS_CALLBACK => $json, - OssClient::OSS_CALLBACK_VAR => $var); - -$result = $ossClient->completeMultipartUpload($bucket, $object, $upload_id, $upload_parts, $options); -Common::println($result['body']); -Common::println($result['info']['http_code']); diff --git a/vendor/aliyuncs/oss-sdk-php/samples/Common.php b/vendor/aliyuncs/oss-sdk-php/samples/Common.php deleted file mode 100644 index 49bd4931..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/Common.php +++ /dev/null @@ -1,84 +0,0 @@ -getMessage() . "\n"); - return null; - } - return $ossClient; - } - - public static function getBucketName() - { - return self::bucket; - } - - /** - * A tool function which creates a bucket and exists the process if there are exceptions - */ - public static function createBucket() - { - $ossClient = self::getOssClient(); - if (is_null($ossClient)) exit(1); - $bucket = self::getBucketName(); - $acl = OssClient::OSS_ACL_TYPE_PUBLIC_READ; - try { - $ossClient->createBucket($bucket, $acl); - } catch (OssException $e) { - - $message = $e->getMessage(); - if (\OSS\Core\OssUtil::startsWith($message, 'http status: 403')) { - echo "Please Check your AccessKeyId and AccessKeySecret" . "\n"; - exit(0); - } elseif (strpos($message, "BucketAlreadyExists") !== false) { - echo "Bucket already exists. Please check whether the bucket belongs to you, or it was visited with correct endpoint. " . "\n"; - exit(0); - } - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - } - - public static function println($message) - { - if (!empty($message)) { - echo strval($message) . "\n"; - } - } -} - -# Common::createBucket(); diff --git a/vendor/aliyuncs/oss-sdk-php/samples/Config.php b/vendor/aliyuncs/oss-sdk-php/samples/Config.php deleted file mode 100644 index fc3a1673..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/Config.php +++ /dev/null @@ -1,15 +0,0 @@ -uploadFile($bucketName, $object, "example.jpg"); - -// Image resize -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/resize,m_fixed,h_100,w_100", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("imageResize",$download_file); - -// Image crop -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/crop,w_100,h_100,x_100,y_100,r_1", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("iamgeCrop", $download_file); - -// Image rotate -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/rotate,90", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("imageRotate", $download_file); - -// Image sharpen -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/sharpen,100", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("imageSharpen", $download_file); - -// Add watermark into a image -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/watermark,text_SGVsbG8g5Zu-54mH5pyN5YqhIQ", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("imageWatermark", $download_file); - -// Image format convertion -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/format,png", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("imageFormat", $download_file); - -// Get image information -$options = array( - OssClient::OSS_FILE_DOWNLOAD => $download_file, - OssClient::OSS_PROCESS => "image/info", ); -$ossClient->getObject($bucketName, $object, $options); -printImage("imageInfo", $download_file); - - -/** - * Generate a signed url which could be used in browser to access the object. The expiration time is 1 hour. - */ - $timeout = 3600; -$options = array( - OssClient::OSS_PROCESS => "image/resize,m_lfit,h_100,w_100", - ); -$signedUrl = $ossClient->signUrl($bucketName, $object, $timeout, "GET", $options); -Common::println("rtmp url: \n" . $signedUrl); - -// Finally delete the $object uploaded. -$ossClient->deleteObject($bucketName, $object); - -function printImage($func, $imageFile) -{ - $array = getimagesize($imageFile); - Common::println("$func, image width: " . $array[0]); - Common::println("$func, image height: " . $array[1]); - Common::println("$func, image type: " . ($array[2] === 2 ? 'jpg' : 'png')); - Common::println("$func, image size: " . ceil(filesize($imageFile))); -} diff --git a/vendor/aliyuncs/oss-sdk-php/samples/LiveChannel.php b/vendor/aliyuncs/oss-sdk-php/samples/LiveChannel.php deleted file mode 100644 index 67bb5415..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/LiveChannel.php +++ /dev/null @@ -1,131 +0,0 @@ - 'live channel test', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); -$info = $ossClient->putBucketLiveChannel($bucket, 'test_rtmp_live', $config); -Common::println("bucket $bucket liveChannel created:\n" . -"live channel name: ". $info->getName() . "\n" . -"live channel description: ". $info->getDescription() . "\n" . -"publishurls: ". $info->getPublishUrls()[0] . "\n" . -"playurls: ". $info->getPlayUrls()[0] . "\n"); - -/** - * You can use listBucketLiveChannels to list and manage all existing live channels. - * Prefix can be used to filter listed live channels by prefix. - * Max_keys indicates the maximum numbers of live channels that can be listed in an iterator at one time. Its value is 1000 in maximum and 100 by default. - */ -$list = $ossClient->listBucketLiveChannels($bucket); -Common::println("bucket $bucket listLiveChannel:\n" . -"list live channel prefix: ". $list->getPrefix() . "\n" . -"list live channel marker: ". $list->getMarker() . "\n" . -"list live channel maxkey: ". $list->getMaxKeys() . "\n" . -"list live channel IsTruncated: ". $list->getIsTruncated() . "\n" . -"list live channel getNextMarker: ". $list->getNextMarker() . "\n"); - -foreach($list->getChannelList() as $list) -{ - Common::println("bucket $bucket listLiveChannel:\n" . - "list live channel IsTruncated: ". $list->getName() . "\n" . - "list live channel Description: ". $list->getDescription() . "\n" . - "list live channel Status: ". $list->getStatus() . "\n" . - "list live channel getNextMarker: ". $list->getLastModified() . "\n"); -} -/** - * Obtain the play_url (url used for rtmp stream pushing. - * If the the bucket is not globally readable and writable, - * the url must be signed as shown in the following.) and pulish_url (the url included in the m3u8 file generated in stream pushing) used to push streams. - */ -$play_url = $ossClient->signRtmpUrl($bucket, "test_rtmp_live", 3600, array('params' => array('playlistName' => 'playlist.m3u8'))); -Common::println("bucket $bucket rtmp url: \n" . $play_url); -$play_url = $ossClient->signRtmpUrl($bucket, "test_rtmp_live", 3600); -Common::println("bucket $bucket rtmp url: \n" . $play_url); - -/** - * If you want to disable a created live channel (disable the pushing streaming or do not allow stream pushing to an IP address), call putLiveChannelStatus to change the channel status to "Disabled". - * If you want to enable a disabled live channel, call PutLiveChannelStatus to chanage the channel status to "Enabled". - */ -$resp = $ossClient->putLiveChannelStatus($bucket, "test_rtmp_live", "enabled"); - -/** - * You can callLiveChannelInfo to get the information about a live channel. - */ -$info = $ossClient->getLiveChannelInfo($bucket, 'test_rtmp_live'); -Common::println("bucket $bucket LiveChannelInfo:\n" . -"live channel info description: ". $info->getDescription() . "\n" . -"live channel info status: ". $info->getStatus() . "\n" . -"live channel info type: ". $info->getType() . "\n" . -"live channel info fragDuration: ". $info->getFragDuration() . "\n" . -"live channel info fragCount: ". $info->getFragCount() . "\n" . -"live channel info playListName: ". $info->getPlayListName() . "\n"); - -/** - * Gets the historical pushing streaming records by calling getLiveChannelHistory. Now the max records to return is 10. - */ -$history = $ossClient->getLiveChannelHistory($bucket, "test_rtmp_live"); -if (count($history->getLiveRecordList()) != 0) -{ - foreach($history->getLiveRecordList() as $recordList) - { - Common::println("bucket $bucket liveChannelHistory:\n" . - "live channel history startTime: ". $recordList->getStartTime() . "\n" . - "live channel history endTime: ". $recordList->getEndTime() . "\n" . - "live channel history remoteAddr: ". $recordList->getRemoteAddr() . "\n"); - } -} - -/** - * Get the live channel's status by calling getLiveChannelStatus. - * If the live channel is receiving the pushing stream, all attributes in stat_result are valid. - * If the live channel is idle or disabled, then the status is idle or Disabled and other attributes have no meaning. - */ -$status = $ossClient->getLiveChannelStatus($bucket, "test_rtmp_live"); -Common::println("bucket $bucket listLiveChannel:\n" . -"live channel status status: ". $status->getStatus() . "\n" . -"live channel status ConnectedTime: ". $status->getConnectedTime() . "\n" . -"live channel status VideoWidth: ". $status->getVideoWidth() . "\n" . -"live channel status VideoHeight: ". $status->getVideoHeight() . "\n" . -"live channel status VideoFrameRate: ". $status->getVideoFrameRate() . "\n" . -"live channel status VideoBandwidth: ". $status->getVideoBandwidth() . "\n" . -"live channel status VideoCodec: ". $status->getVideoCodec() . "\n" . -"live channel status AudioBandwidth: ". $status->getAudioBandwidth() . "\n" . -"live channel status AudioSampleRate: ". $status->getAudioSampleRate() . "\n" . -"live channel status AdioCodec: ". $status->getAudioCodec() . "\n"); - -/** - * If you want to generate a play url from the ts files generated from pushing streaming, call postVodPlayList. - * Specify the start time to 60 seconds before the current time and the end time to the current time, which means that a video of 60 seconds is generated. - * The playlist file is specified to “vod_playlist.m3u8”, which means that a palylist file named vod_playlist.m3u8 is created after the interface is called. - */ -$current_time = time(); -$ossClient->postVodPlaylist($bucket, - "test_rtmp_live", "vod_playlist.m3u8", - array('StartTime' => $current_time - 60, - 'EndTime' => $current_time) -); - -/** - * Call delete_live_channel to delete a live channel if it will no longer be in used. - */ -$ossClient->deleteBucketLiveChannel($bucket, "test_rtmp_live"); diff --git a/vendor/aliyuncs/oss-sdk-php/samples/MultipartUpload.php b/vendor/aliyuncs/oss-sdk-php/samples/MultipartUpload.php deleted file mode 100644 index 21756b7c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/MultipartUpload.php +++ /dev/null @@ -1,182 +0,0 @@ -multiuploadFile($bucket, "file.php", __FILE__, array()); -Common::println("local file " . __FILE__ . " is uploaded to the bucket $bucket, file.php"); - - -// Upload local directory's data into target dir -$ossClient->uploadDir($bucket, "targetdir", __DIR__); -Common::println("local dir " . __DIR__ . " is uploaded to the bucket $bucket, targetdir/"); - - -// List the incomplete multipart uploads -$listMultipartUploadInfo = $ossClient->listMultipartUploads($bucket, array()); - - -//******************************* For complete usage, see the following functions **************************************************** - -multiuploadFile($ossClient, $bucket); -putObjectByRawApis($ossClient, $bucket); -uploadDir($ossClient, $bucket); -listMultipartUploads($ossClient, $bucket); - -/** - * Upload files using multipart upload - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function multiuploadFile($ossClient, $bucket) -{ - $object = "test/multipart-test.txt"; - $file = __FILE__; - $options = array(); - - try { - $ossClient->multiuploadFile($bucket, $object, $file, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Use basic multipart upload for file upload. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @throws OssException - */ -function putObjectByRawApis($ossClient, $bucket) -{ - $object = "test/multipart-test.txt"; - /** - * step 1. Initialize a block upload event, that is, a multipart upload process to get an upload id - */ - try { - $uploadId = $ossClient->initiateMultipartUpload($bucket, $object); - } catch (OssException $e) { - printf(__FUNCTION__ . ": initiateMultipartUpload FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": initiateMultipartUpload OK" . "\n"); - /* - * step 2. Upload parts - */ - $partSize = 10 * 1024 * 1024; - $uploadFile = __FILE__; - $uploadFileSize = filesize($uploadFile); - $pieces = $ossClient->generateMultiuploadParts($uploadFileSize, $partSize); - $responseUploadPart = array(); - $uploadPosition = 0; - $isCheckMd5 = true; - foreach ($pieces as $i => $piece) { - $fromPos = $uploadPosition + (integer)$piece[$ossClient::OSS_SEEK_TO]; - $toPos = (integer)$piece[$ossClient::OSS_LENGTH] + $fromPos - 1; - $upOptions = array( - $ossClient::OSS_FILE_UPLOAD => $uploadFile, - $ossClient::OSS_PART_NUM => ($i + 1), - $ossClient::OSS_SEEK_TO => $fromPos, - $ossClient::OSS_LENGTH => $toPos - $fromPos + 1, - $ossClient::OSS_CHECK_MD5 => $isCheckMd5, - ); - if ($isCheckMd5) { - $contentMd5 = OssUtil::getMd5SumForFile($uploadFile, $fromPos, $toPos); - $upOptions[$ossClient::OSS_CONTENT_MD5] = $contentMd5; - } - //2. Upload each part to OSS - try { - $responseUploadPart[] = $ossClient->uploadPart($bucket, $object, $uploadId, $upOptions); - } catch (OssException $e) { - printf(__FUNCTION__ . ": initiateMultipartUpload, uploadPart - part#{$i} FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - printf(__FUNCTION__ . ": initiateMultipartUpload, uploadPart - part#{$i} OK\n"); - } - $uploadParts = array(); - foreach ($responseUploadPart as $i => $eTag) { - $uploadParts[] = array( - 'PartNumber' => ($i + 1), - 'ETag' => $eTag, - ); - } - /** - * step 3. Complete the upload - */ - try { - $ossClient->completeMultipartUpload($bucket, $object, $uploadId, $uploadParts); - } catch (OssException $e) { - printf(__FUNCTION__ . ": completeMultipartUpload FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - printf(__FUNCTION__ . ": completeMultipartUpload OK\n"); -} - -/** - * Upload by directories - * - * @param OssClient $ossClient OssClient - * @param string $bucket bucket name - * - */ -function uploadDir($ossClient, $bucket) -{ - $localDirectory = "."; - $prefix = "samples/codes"; - try { - $ossClient->uploadDir($bucket, $prefix, $localDirectory); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - printf(__FUNCTION__ . ": completeMultipartUpload OK\n"); -} - -/** - * Get ongoing multipart uploads - * - * @param $ossClient OssClient - * @param $bucket string - */ -function listMultipartUploads($ossClient, $bucket) -{ - $options = array( - 'max-uploads' => 100, - 'key-marker' => '', - 'prefix' => '', - 'upload-id-marker' => '' - ); - try { - $listMultipartUploadInfo = $ossClient->listMultipartUploads($bucket, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": listMultipartUploads FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - printf(__FUNCTION__ . ": listMultipartUploads OK\n"); - $listUploadInfo = $listMultipartUploadInfo->getUploads(); - var_dump($listUploadInfo); -} diff --git a/vendor/aliyuncs/oss-sdk-php/samples/Object.php b/vendor/aliyuncs/oss-sdk-php/samples/Object.php deleted file mode 100644 index ae6eb839..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/Object.php +++ /dev/null @@ -1,518 +0,0 @@ -putObject($bucket, "b.file", "hi, oss"); -Common::println("b.file is created"); -Common::println($result['x-oss-request-id']); -Common::println($result['etag']); -Common::println($result['content-md5']); -Common::println($result['body']); - -// Uploads a local file to an OSS file -$result = $ossClient->uploadFile($bucket, "c.file", __FILE__); -Common::println("c.file is created"); -Common::println("b.file is created"); -Common::println($result['x-oss-request-id']); -Common::println($result['etag']); -Common::println($result['content-md5']); -Common::println($result['body']); - -// Download an oss object as an in-memory variable -$content = $ossClient->getObject($bucket, "b.file"); -Common::println("b.file is fetched, the content is: " . $content); - -// Add a symlink to an object -$content = $ossClient->putSymlink($bucket, "test-symlink", "b.file"); -Common::println("test-symlink is created"); -Common::println($result['x-oss-request-id']); -Common::println($result['etag']); - -// Get a symlink -$content = $ossClient->getSymlink($bucket, "test-symlink"); -Common::println("test-symlink refer to : " . $content[OssClient::OSS_SYMLINK_TARGET]); - -// Download an object to a local file. -$options = array( - OssClient::OSS_FILE_DOWNLOAD => "./c.file.localcopy", -); -$ossClient->getObject($bucket, "c.file", $options); -Common::println("b.file is fetched to the local file: c.file.localcopy"); -Common::println("b.file is created"); - -// Copy an object -$result = $ossClient->copyObject($bucket, "c.file", $bucket, "c.file.copy"); -Common::println("lastModifiedTime: " . $result[0]); -Common::println("ETag: " . $result[1]); - -// Check whether an object exists -$doesExist = $ossClient->doesObjectExist($bucket, "c.file.copy"); -Common::println("file c.file.copy exist? " . ($doesExist ? "yes" : "no")); - -// Delete an object -$result = $ossClient->deleteObject($bucket, "c.file.copy"); -Common::println("c.file.copy is deleted"); -Common::println("b.file is created"); -Common::println($result['x-oss-request-id']); - -// Check whether an object exists -$doesExist = $ossClient->doesObjectExist($bucket, "c.file.copy"); -Common::println("file c.file.copy exist? " . ($doesExist ? "yes" : "no")); - -// Delete multiple objects in batch -$result = $ossClient->deleteObjects($bucket, array("b.file", "c.file")); -foreach($result as $object) - Common::println($object); - -sleep(2); -unlink("c.file.localcopy"); - -//******************************* For complete usage, see the following functions **************************************************** - -listObjects($ossClient, $bucket); -listAllObjects($ossClient, $bucket); -createObjectDir($ossClient, $bucket); -putObject($ossClient, $bucket); -uploadFile($ossClient, $bucket); -getObject($ossClient, $bucket); -getObjectToLocalFile($ossClient, $bucket); -copyObject($ossClient, $bucket); -modifyMetaForObject($ossClient, $bucket); -getObjectMeta($ossClient, $bucket); -deleteObject($ossClient, $bucket); -deleteObjects($ossClient, $bucket); -doesObjectExist($ossClient, $bucket); -getSymlink($ossClient, $bucket); -putSymlink($ossClient, $bucket); -/** - * Create a 'virtual' folder - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function createObjectDir($ossClient, $bucket) -{ - try { - $ossClient->createObjectDir($bucket, "dir"); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Upload in-memory data to oss - * - * Simple upload---upload specified in-memory data to an OSS object - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function putObject($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $content = file_get_contents(__FILE__); - $options = array(); - try { - $ossClient->putObject($bucket, $object, $content, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - - -/** - * Uploads a local file to OSS - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function uploadFile($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $filePath = __FILE__; - $options = array(); - - try { - $ossClient->uploadFile($bucket, $object, $filePath, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Lists all files and folders in the bucket. - * Note if there's more items than the max-keys specified, the caller needs to use the nextMarker returned as the value for the next call's maker paramter. - * Loop through all the items returned from ListObjects. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function listObjects($ossClient, $bucket) -{ - $prefix = 'oss-php-sdk-test/'; - $delimiter = '/'; - $nextMarker = ''; - $maxkeys = 1000; - $options = array( - 'delimiter' => $delimiter, - 'prefix' => $prefix, - 'max-keys' => $maxkeys, - 'marker' => $nextMarker, - ); - try { - $listObjectInfo = $ossClient->listObjects($bucket, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - $objectList = $listObjectInfo->getObjectList(); // object list - $prefixList = $listObjectInfo->getPrefixList(); // directory list - if (!empty($objectList)) { - print("objectList:\n"); - foreach ($objectList as $objectInfo) { - print($objectInfo->getKey() . "\n"); - } - } - if (!empty($prefixList)) { - print("prefixList: \n"); - foreach ($prefixList as $prefixInfo) { - print($prefixInfo->getPrefix() . "\n"); - } - } -} - -/** - * Lists all folders and files under the bucket. Use nextMarker repeatedly to get all objects. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function listAllObjects($ossClient, $bucket) -{ - // Create dir/obj 'folder' and put some files into it. - for ($i = 0; $i < 100; $i += 1) { - $ossClient->putObject($bucket, "dir/obj" . strval($i), "hi"); - $ossClient->createObjectDir($bucket, "dir/obj" . strval($i)); - } - - $prefix = 'dir/'; - $delimiter = '/'; - $nextMarker = ''; - $maxkeys = 30; - - while (true) { - $options = array( - 'delimiter' => $delimiter, - 'prefix' => $prefix, - 'max-keys' => $maxkeys, - 'marker' => $nextMarker, - ); - var_dump($options); - try { - $listObjectInfo = $ossClient->listObjects($bucket, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - // Get the nextMarker, and it would be used as the next call's marker parameter to resume from the last call - $nextMarker = $listObjectInfo->getNextMarker(); - $listObject = $listObjectInfo->getObjectList(); - $listPrefix = $listObjectInfo->getPrefixList(); - var_dump(count($listObject)); - var_dump(count($listPrefix)); - if ($nextMarker === '') { - break; - } - } -} - -/** - * Get the content of an object. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getObject($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $options = array(); - try { - $content = $ossClient->getObject($bucket, $object, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - if (file_get_contents(__FILE__) === $content) { - print(__FUNCTION__ . ": FileContent checked OK" . "\n"); - } else { - print(__FUNCTION__ . ": FileContent checked FAILED" . "\n"); - } -} - -/** - * Put symlink - * - * @param OssClient $ossClient The Instance of OssClient - * @param string $bucket bucket name - * @return null - */ -function putSymlink($ossClient, $bucket) -{ - $symlink = "test-samples-symlink"; - $object = "test-samples-object"; - try { - $ossClient->putObject($bucket, $object, 'test-content'); - $ossClient->putSymlink($bucket, $symlink, $object); - $content = $ossClient->getObject($bucket, $symlink); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - if ($content == 'test-content') { - print(__FUNCTION__ . ": putSymlink checked OK" . "\n"); - } else { - print(__FUNCTION__ . ": putSymlink checked FAILED" . "\n"); - } -} - -/** - * Get symlink - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getSymlink($ossClient, $bucket) -{ - $symlink = "test-samples-symlink"; - $object = "test-samples-object"; - try { - $ossClient->putObject($bucket, $object, 'test-content'); - $ossClient->putSymlink($bucket, $symlink, $object); - $content = $ossClient->getSymlink($bucket, $symlink); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - if ($content[OssClient::OSS_SYMLINK_TARGET]) { - print(__FUNCTION__ . ": getSymlink checked OK" . "\n"); - } else { - print(__FUNCTION__ . ": getSymlink checked FAILED" . "\n"); - } -} - -/** - * Get_object_to_local_file - * - * Get object - * Download object to a specified file. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getObjectToLocalFile($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $localfile = "upload-test-object-name.txt"; - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $localfile, - ); - - try { - $ossClient->getObject($bucket, $object, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK, please check localfile: 'upload-test-object-name.txt'" . "\n"); - if (file_get_contents($localfile) === file_get_contents(__FILE__)) { - print(__FUNCTION__ . ": FileContent checked OK" . "\n"); - } else { - print(__FUNCTION__ . ": FileContent checked FAILED" . "\n"); - } - if (file_exists($localfile)) { - unlink($localfile); - } -} - -/** - * Copy object - * When the source object is same as the target one, copy operation will just update the metadata. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function copyObject($ossClient, $bucket) -{ - $fromBucket = $bucket; - $fromObject = "oss-php-sdk-test/upload-test-object-name.txt"; - $toBucket = $bucket; - $toObject = $fromObject . '.copy'; - $options = array(); - - try { - $ossClient->copyObject($fromBucket, $fromObject, $toBucket, $toObject, $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Update Object Meta - * it leverages the feature of copyObject: when the source object is just the target object, the metadata could be updated via copy - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function modifyMetaForObject($ossClient, $bucket) -{ - $fromBucket = $bucket; - $fromObject = "oss-php-sdk-test/upload-test-object-name.txt"; - $toBucket = $bucket; - $toObject = $fromObject; - $copyOptions = array( - OssClient::OSS_HEADERS => array( - 'Cache-Control' => 'max-age=60', - 'Content-Disposition' => 'attachment; filename="xxxxxx"', - ), - ); - try { - $ossClient->copyObject($fromBucket, $fromObject, $toBucket, $toObject, $copyOptions); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Get object meta, that is, getObjectMeta - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function getObjectMeta($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - try { - $objectMeta = $ossClient->getObjectMeta($bucket, $object); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - if (isset($objectMeta[strtolower('Content-Disposition')]) && - 'attachment; filename="xxxxxx"' === $objectMeta[strtolower('Content-Disposition')] - ) { - print(__FUNCTION__ . ": ObjectMeta checked OK" . "\n"); - } else { - print(__FUNCTION__ . ": ObjectMeta checked FAILED" . "\n"); - } -} - -/** - * Delete an object - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteObject($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - try { - $ossClient->deleteObject($bucket, $object); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - - -/** - * Delete multiple objects in batch - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function deleteObjects($ossClient, $bucket) -{ - $objects = array(); - $objects[] = "oss-php-sdk-test/upload-test-object-name.txt"; - $objects[] = "oss-php-sdk-test/upload-test-object-name.txt.copy"; - try { - $ossClient->deleteObjects($bucket, $objects); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); -} - -/** - * Check whether an object exists - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - */ -function doesObjectExist($ossClient, $bucket) -{ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - try { - $exist = $ossClient->doesObjectExist($bucket, $object); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - var_dump($exist); -} - diff --git a/vendor/aliyuncs/oss-sdk-php/samples/RunAll.php b/vendor/aliyuncs/oss-sdk-php/samples/RunAll.php deleted file mode 100644 index 0cd7ec16..00000000 --- a/vendor/aliyuncs/oss-sdk-php/samples/RunAll.php +++ /dev/null @@ -1,13 +0,0 @@ -uploadFile($bucket, "a.file", __FILE__); - -// Generate a signed url for getting an object. The URL can be used in browser directly to download the file. -$signedUrl = $ossClient->signUrl($bucket, "a.file", 3600); -Common::println($signedUrl); - -// Generate the signed url for putting an object. User can use put method with this url to upload a file to "a.file". -$signedUrl = $ossClient->signUrl($bucket, "a.file", "3600", "PUT"); -Common::println($signedUrl); - -// Generate the signed url for putting an object from local file. The url can be used directly to upload the file to "a.file". -$signedUrl = $ossClient->signUrl($bucket, "a.file", 3600, "PUT", array('Content-Type' => 'txt')); -Common::println($signedUrl); - -//******************************* For complete usage, see the following functions **************************************************** - -getSignedUrlForPuttingObject($ossClient, $bucket); -getSignedUrlForPuttingObjectFromFile($ossClient, $bucket); -getSignedUrlForGettingObject($ossClient, $bucket); - -/** - * Generate the signed url for getObject() to control read accesses under private privilege - * - * @param $ossClient OssClient OssClient instance - * @param $bucket string bucket name - * @return null - */ -function getSignedUrlForGettingObject($ossClient, $bucket) -{ - $object = "test/test-signature-test-upload-and-download.txt"; - $timeout = 3600; - try { - $signedUrl = $ossClient->signUrl($bucket, $object, $timeout); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": signedUrl: " . $signedUrl . "\n"); - /** - * Use similar code to access the object by url, or use browser to access the object. - */ - $request = new RequestCore($signedUrl); - $request->set_method('GET'); - $request->add_header('Content-Type', ''); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), $request->get_response_body(), $request->get_response_code()); - if ($res->isOK()) { - print(__FUNCTION__ . ": OK" . "\n"); - } else { - print(__FUNCTION__ . ": FAILED" . "\n"); - }; -} - -/** - * Generate the signed url for PutObject to control write accesses under private privilege. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @return null - * @throws OssException - */ -function getSignedUrlForPuttingObject($ossClient, $bucket) -{ - $object = "test/test-signature-test-upload-and-download.txt"; - $timeout = 3600; - $options = NULL; - try { - $signedUrl = $ossClient->signUrl($bucket, $object, $timeout, "PUT"); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": signedUrl: " . $signedUrl . "\n"); - $content = file_get_contents(__FILE__); - - $request = new RequestCore($signedUrl); - $request->set_method('PUT'); - $request->add_header('Content-Type', ''); - $request->add_header('Content-Length', strlen($content)); - $request->set_body($content); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), - $request->get_response_body(), $request->get_response_code()); - if ($res->isOK()) { - print(__FUNCTION__ . ": OK" . "\n"); - } else { - print(__FUNCTION__ . ": FAILED" . "\n"); - }; -} - -/** - * Generate the signed url for PutObject's signed url. User could use the signed url to upload file directly. - * - * @param OssClient $ossClient OssClient instance - * @param string $bucket bucket name - * @throws OssException - */ -function getSignedUrlForPuttingObjectFromFile($ossClient, $bucket) -{ - $file = __FILE__; - $object = "test/test-signature-test-upload-and-download.txt"; - $timeout = 3600; - $options = array('Content-Type' => 'txt'); - try { - $signedUrl = $ossClient->signUrl($bucket, $object, $timeout, "PUT", $options); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": signedUrl: " . $signedUrl . "\n"); - - $request = new RequestCore($signedUrl); - $request->set_method('PUT'); - $request->add_header('Content-Type', 'txt'); - $request->set_read_file($file); - $request->set_read_stream_size(filesize($file)); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), - $request->get_response_body(), $request->get_response_code()); - if ($res->isOK()) { - print(__FUNCTION__ . ": OK" . "\n"); - } else { - print(__FUNCTION__ . ": FAILED" . "\n"); - }; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/MimeTypes.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/MimeTypes.php deleted file mode 100644 index 17685c31..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/MimeTypes.php +++ /dev/null @@ -1,263 +0,0 @@ - 1) { - $ext = strtolower(end($parts)); - if (isset(self::$mime_types[$ext])) { - return self::$mime_types[$ext]; - } - } - - return null; - } - - private static $mime_types = array( - 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', - 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', - 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', - 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', - 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', - 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', - 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', - 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', - 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', - 'apk' => 'application/vnd.android.package-archive', - 'hqx' => 'application/mac-binhex40', - 'cpt' => 'application/mac-compactpro', - 'doc' => 'application/msword', - 'ogg' => 'audio/ogg', - 'pdf' => 'application/pdf', - 'rtf' => 'text/rtf', - 'mif' => 'application/vnd.mif', - 'xls' => 'application/vnd.ms-excel', - 'ppt' => 'application/vnd.ms-powerpoint', - 'odc' => 'application/vnd.oasis.opendocument.chart', - 'odb' => 'application/vnd.oasis.opendocument.database', - 'odf' => 'application/vnd.oasis.opendocument.formula', - 'odg' => 'application/vnd.oasis.opendocument.graphics', - 'otg' => 'application/vnd.oasis.opendocument.graphics-template', - 'odi' => 'application/vnd.oasis.opendocument.image', - 'odp' => 'application/vnd.oasis.opendocument.presentation', - 'otp' => 'application/vnd.oasis.opendocument.presentation-template', - 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', - 'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', - 'odt' => 'application/vnd.oasis.opendocument.text', - 'odm' => 'application/vnd.oasis.opendocument.text-master', - 'ott' => 'application/vnd.oasis.opendocument.text-template', - 'oth' => 'application/vnd.oasis.opendocument.text-web', - 'sxw' => 'application/vnd.sun.xml.writer', - 'stw' => 'application/vnd.sun.xml.writer.template', - 'sxc' => 'application/vnd.sun.xml.calc', - 'stc' => 'application/vnd.sun.xml.calc.template', - 'sxd' => 'application/vnd.sun.xml.draw', - 'std' => 'application/vnd.sun.xml.draw.template', - 'sxi' => 'application/vnd.sun.xml.impress', - 'sti' => 'application/vnd.sun.xml.impress.template', - 'sxg' => 'application/vnd.sun.xml.writer.global', - 'sxm' => 'application/vnd.sun.xml.math', - 'sis' => 'application/vnd.symbian.install', - 'wbxml' => 'application/vnd.wap.wbxml', - 'wmlc' => 'application/vnd.wap.wmlc', - 'wmlsc' => 'application/vnd.wap.wmlscriptc', - 'bcpio' => 'application/x-bcpio', - 'torrent' => 'application/x-bittorrent', - 'bz2' => 'application/x-bzip2', - 'vcd' => 'application/x-cdlink', - 'pgn' => 'application/x-chess-pgn', - 'cpio' => 'application/x-cpio', - 'csh' => 'application/x-csh', - 'dvi' => 'application/x-dvi', - 'spl' => 'application/x-futuresplash', - 'gtar' => 'application/x-gtar', - 'hdf' => 'application/x-hdf', - 'jar' => 'application/java-archive', - 'jnlp' => 'application/x-java-jnlp-file', - 'js' => 'application/javascript', - 'json' => 'application/json', - 'ksp' => 'application/x-kspread', - 'chrt' => 'application/x-kchart', - 'kil' => 'application/x-killustrator', - 'latex' => 'application/x-latex', - 'rpm' => 'application/x-rpm', - 'sh' => 'application/x-sh', - 'shar' => 'application/x-shar', - 'swf' => 'application/x-shockwave-flash', - 'sit' => 'application/x-stuffit', - 'sv4cpio' => 'application/x-sv4cpio', - 'sv4crc' => 'application/x-sv4crc', - 'tar' => 'application/x-tar', - 'tcl' => 'application/x-tcl', - 'tex' => 'application/x-tex', - 'man' => 'application/x-troff-man', - 'me' => 'application/x-troff-me', - 'ms' => 'application/x-troff-ms', - 'ustar' => 'application/x-ustar', - 'src' => 'application/x-wais-source', - 'zip' => 'application/zip', - 'm3u' => 'audio/x-mpegurl', - 'ra' => 'audio/x-pn-realaudio', - 'wav' => 'audio/x-wav', - 'wma' => 'audio/x-ms-wma', - 'wax' => 'audio/x-ms-wax', - 'pdb' => 'chemical/x-pdb', - 'xyz' => 'chemical/x-xyz', - 'bmp' => 'image/bmp', - 'gif' => 'image/gif', - 'ief' => 'image/ief', - 'png' => 'image/png', - 'wbmp' => 'image/vnd.wap.wbmp', - 'ras' => 'image/x-cmu-raster', - 'pnm' => 'image/x-portable-anymap', - 'pbm' => 'image/x-portable-bitmap', - 'pgm' => 'image/x-portable-graymap', - 'ppm' => 'image/x-portable-pixmap', - 'rgb' => 'image/x-rgb', - 'xbm' => 'image/x-xbitmap', - 'xpm' => 'image/x-xpixmap', - 'xwd' => 'image/x-xwindowdump', - 'css' => 'text/css', - 'rtx' => 'text/richtext', - 'tsv' => 'text/tab-separated-values', - 'jad' => 'text/vnd.sun.j2me.app-descriptor', - 'wml' => 'text/vnd.wap.wml', - 'wmls' => 'text/vnd.wap.wmlscript', - 'etx' => 'text/x-setext', - 'mxu' => 'video/vnd.mpegurl', - 'flv' => 'video/x-flv', - 'wm' => 'video/x-ms-wm', - 'wmv' => 'video/x-ms-wmv', - 'wmx' => 'video/x-ms-wmx', - 'wvx' => 'video/x-ms-wvx', - 'avi' => 'video/x-msvideo', - 'movie' => 'video/x-sgi-movie', - 'ice' => 'x-conference/x-cooltalk', - '3gp' => 'video/3gpp', - 'ai' => 'application/postscript', - 'aif' => 'audio/x-aiff', - 'aifc' => 'audio/x-aiff', - 'aiff' => 'audio/x-aiff', - 'asc' => 'text/plain', - 'atom' => 'application/atom+xml', - 'au' => 'audio/basic', - 'bin' => 'application/octet-stream', - 'cdf' => 'application/x-netcdf', - 'cgm' => 'image/cgm', - 'class' => 'application/octet-stream', - 'dcr' => 'application/x-director', - 'dif' => 'video/x-dv', - 'dir' => 'application/x-director', - 'djv' => 'image/vnd.djvu', - 'djvu' => 'image/vnd.djvu', - 'dll' => 'application/octet-stream', - 'dmg' => 'application/octet-stream', - 'dms' => 'application/octet-stream', - 'dtd' => 'application/xml-dtd', - 'dv' => 'video/x-dv', - 'dxr' => 'application/x-director', - 'eps' => 'application/postscript', - 'exe' => 'application/octet-stream', - 'ez' => 'application/andrew-inset', - 'gram' => 'application/srgs', - 'grxml' => 'application/srgs+xml', - 'gz' => 'application/x-gzip', - 'htm' => 'text/html', - 'html' => 'text/html', - 'ico' => 'image/x-icon', - 'ics' => 'text/calendar', - 'ifb' => 'text/calendar', - 'iges' => 'model/iges', - 'igs' => 'model/iges', - 'jp2' => 'image/jp2', - 'jpe' => 'image/jpeg', - 'jpeg' => 'image/jpeg', - 'jpg' => 'image/jpeg', - 'kar' => 'audio/midi', - 'lha' => 'application/octet-stream', - 'lzh' => 'application/octet-stream', - 'm4a' => 'audio/mp4a-latm', - 'm4p' => 'audio/mp4a-latm', - 'm4u' => 'video/vnd.mpegurl', - 'm4v' => 'video/x-m4v', - 'mac' => 'image/x-macpaint', - 'mathml' => 'application/mathml+xml', - 'mesh' => 'model/mesh', - 'mid' => 'audio/midi', - 'midi' => 'audio/midi', - 'mov' => 'video/quicktime', - 'mp2' => 'audio/mpeg', - 'mp3' => 'audio/mpeg', - 'mp4' => 'video/mp4', - 'mpe' => 'video/mpeg', - 'mpeg' => 'video/mpeg', - 'mpg' => 'video/mpeg', - 'mpga' => 'audio/mpeg', - 'msh' => 'model/mesh', - 'nc' => 'application/x-netcdf', - 'oda' => 'application/oda', - 'ogv' => 'video/ogv', - 'pct' => 'image/pict', - 'pic' => 'image/pict', - 'pict' => 'image/pict', - 'pnt' => 'image/x-macpaint', - 'pntg' => 'image/x-macpaint', - 'ps' => 'application/postscript', - 'qt' => 'video/quicktime', - 'qti' => 'image/x-quicktime', - 'qtif' => 'image/x-quicktime', - 'ram' => 'audio/x-pn-realaudio', - 'rdf' => 'application/rdf+xml', - 'rm' => 'application/vnd.rn-realmedia', - 'roff' => 'application/x-troff', - 'sgm' => 'text/sgml', - 'sgml' => 'text/sgml', - 'silo' => 'model/mesh', - 'skd' => 'application/x-koan', - 'skm' => 'application/x-koan', - 'skp' => 'application/x-koan', - 'skt' => 'application/x-koan', - 'smi' => 'application/smil', - 'smil' => 'application/smil', - 'snd' => 'audio/basic', - 'so' => 'application/octet-stream', - 'svg' => 'image/svg+xml', - 't' => 'application/x-troff', - 'texi' => 'application/x-texinfo', - 'texinfo' => 'application/x-texinfo', - 'tif' => 'image/tiff', - 'tiff' => 'image/tiff', - 'tr' => 'application/x-troff', - 'txt' => 'text/plain', - 'vrml' => 'model/vrml', - 'vxml' => 'application/voicexml+xml', - 'webm' => 'video/webm', - 'webp' => 'image/webp', - 'wrl' => 'model/vrml', - 'xht' => 'application/xhtml+xml', - 'xhtml' => 'application/xhtml+xml', - 'xml' => 'application/xml', - 'xsl' => 'application/xml', - 'xslt' => 'application/xslt+xml', - 'xul' => 'application/vnd.mozilla.xul+xml', - ); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/OssException.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/OssException.php deleted file mode 100644 index 2320c9e8..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/OssException.php +++ /dev/null @@ -1,54 +0,0 @@ -details = $details; - } else { - $message = $details; - parent::__construct($message); - } - } - - public function getHTTPStatus() - { - return isset($this->details['status']) ? $this->details['status'] : ''; - } - - public function getRequestId() - { - return isset($this->details['request-id']) ? $this->details['request-id'] : ''; - } - - public function getErrorCode() - { - return isset($this->details['code']) ? $this->details['code'] : ''; - } - - public function getErrorMessage() - { - return isset($this->details['message']) ? $this->details['message'] : ''; - } - - public function getDetails() - { - return isset($this->details['body']) ? $this->details['body'] : ''; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/OssUtil.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/OssUtil.php deleted file mode 100644 index 54bb1057..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Core/OssUtil.php +++ /dev/null @@ -1,530 +0,0 @@ - $value) { - if (is_string($key) && !is_array($value)) { - $temp[] = rawurlencode($key) . '=' . rawurlencode($value); - } - } - return implode('&', $temp); - } - - /** - * Html encoding '<', '>', '&', '\', '"' in subject parameter. - * - * @param string $subject - * @return string - */ - public static function sReplace($subject) - { - $search = array('<', '>', '&', '\'', '"'); - $replace = array('<', '>', '&', ''', '"'); - return str_replace($search, $replace, $subject); - } - - /** - * Check whether the string includes any chinese character - * - * @param $str - * @return int - */ - public static function chkChinese($str) - { - return preg_match('/[\x80-\xff]./', $str); - } - - /** - * Checks if the string is encoded by GB2312. - * - * @param string $str - * @return boolean false UTF-8 encoding TRUE GB2312 encoding - */ - public static function isGb2312($str) - { - for ($i = 0; $i < strlen($str); $i++) { - $v = ord($str[$i]); - if ($v > 127) { - if (($v >= 228) && ($v <= 233)) { - if (($i + 2) >= (strlen($str) - 1)) return true; // not enough characters - $v1 = ord($str[$i + 1]); - $v2 = ord($str[$i + 2]); - if (($v1 >= 128) && ($v1 <= 191) && ($v2 >= 128) && ($v2 <= 191)) - return false; - else - return true; - } - } - } - return false; - } - - /** - * Checks if the string is encoded by GBK - * - * @param string $str - * @param boolean $gbk - * @return boolean - */ - public static function checkChar($str, $gbk = true) - { - for ($i = 0; $i < strlen($str); $i++) { - $v = ord($str[$i]); - if ($v > 127) { - if (($v >= 228) && ($v <= 233)) { - if (($i + 2) >= (strlen($str) - 1)) return $gbk ? true : FALSE; // not enough characters - $v1 = ord($str[$i + 1]); - $v2 = ord($str[$i + 2]); - if ($gbk) { - return (($v1 >= 128) && ($v1 <= 191) && ($v2 >= 128) && ($v2 <= 191)) ? FALSE : TRUE;//GBK - } else { - return (($v1 >= 128) && ($v1 <= 191) && ($v2 >= 128) && ($v2 <= 191)) ? TRUE : FALSE; - } - } - } - } - return $gbk ? TRUE : FALSE; - } - - /** - * Checks if the bucket name is valid - * bucket naming rules - * 1. Can only include lowercase letters, numbers, or dashes - * 2. Must start and end with lowercase letters or numbers - * 3. Must be within a length from 3 to 63 bytes. - * - * @param string $bucket Bucket name - * @return boolean - */ - public static function validateBucket($bucket) - { - $pattern = '/^[a-z0-9][a-z0-9-]{2,62}$/'; - if (!preg_match($pattern, $bucket)) { - return false; - } - return true; - } - - /** - * Checks if object name is valid - * object naming rules: - * 1. Must be within a length from 1 to 1023 bytes - * 2. Cannot start with '/' or '\\'. - * 3. Must be encoded in UTF-8. - * - * @param string $object Object名称 - * @return boolean - */ - public static function validateObject($object) - { - $pattern = '/^.{1,1023}$/'; - if (!preg_match($pattern, $object) || - self::startsWith($object, '/') || self::startsWith($object, '\\') - ) { - return false; - } - return true; - } - - - /** - * Checks if $str starts with $findMe - * - * @param string $str - * @param string $findMe - * @return bool - */ - public static function startsWith($str, $findMe) - { - if (strpos($str, $findMe) === 0) { - return true; - } else { - return false; - } - } - - - /** - * Generate the xml message of createBucketXmlBody. - * - * @param string $storageClass - * @return string - */ - public static function createBucketXmlBody($storageClass) - { - $xml = new \SimpleXMLElement(''); - $xml->addChild('StorageClass', $storageClass); - return $xml->asXML(); - } - - /** - * validate $options - * - * @param array $options - * @throws OssException - * @return boolean - */ - public static function validateOptions($options) - { - //$options - if ($options != NULL && !is_array($options)) { - throw new OssException ($options . ':' . 'option must be array'); - } - } - - /** - * check whether the Content is valid. - * - * @param $content string - * @throws OssException - */ - public static function validateContent($content) - { - if (empty($content)) { - throw new OssException("http body content is invalid"); - } - } - - /** - * Check if BUCKET/OBJECT/OBJECT GROUP is empty. - * - * @param string $name - * @param string $errMsg - * @throws OssException - * @return void - */ - public static function throwOssExceptionWithMessageIfEmpty($name, $errMsg) - { - if (empty($name)) { - if (is_string($name) && $name == '0') - return; - throw new OssException($errMsg); - } - } - - /** - * This is a method for test only. DO NOT USE. - * - * @param $filename - * @param $size - */ - public static function generateFile($filename, $size) - { - if (file_exists($filename) && $size == filesize($filename)) { - echo $filename . " already exists, no need to create again. "; - return; - } - $part_size = 1 * 1024 * 1024; - $fp = fopen($filename, "w"); - $characters = << 0) { - if ($size < $part_size) { - $write_size = $size; - } else { - $write_size = $part_size; - } - $size -= $write_size; - $a = $characters[rand(0, $charactersLength - 1)]; - $content = str_repeat($a, $write_size); - $flag = fwrite($fp, $content); - if (!$flag) { - echo "write to " . $filename . " failed.
          "; - break; - } - } - } else { - echo "open " . $filename . " failed.
          "; - } - fclose($fp); - } - - /** - * Get MD5 of the file. - * - * @param $filename - * @param $from_pos - * @param $to_pos - * @return string - */ - public static function getMd5SumForFile($filename, $from_pos, $to_pos) - { - $content_md5 = ""; - if (($to_pos - $from_pos) > self::OSS_MAX_PART_SIZE) { - return $content_md5; - } - $filesize = filesize($filename); - if ($from_pos >= $filesize || $to_pos >= $filesize || $from_pos < 0 || $to_pos < 0) { - return $content_md5; - } - - $total_length = $to_pos - $from_pos + 1; - $buffer = 8192; - $left_length = $total_length; - if (!file_exists($filename)) { - return $content_md5; - } - - if (false === $fh = fopen($filename, 'rb')) { - return $content_md5; - } - - fseek($fh, $from_pos); - $data = ''; - while (!feof($fh)) { - if ($left_length >= $buffer) { - $read_length = $buffer; - } else { - $read_length = $left_length; - } - if ($read_length <= 0) { - break; - } else { - $data .= fread($fh, $read_length); - $left_length = $left_length - $read_length; - } - } - fclose($fh); - $content_md5 = base64_encode(md5($data, true)); - return $content_md5; - } - - /** - * Check if the OS is Windows. The default encoding in Windows is GBK. - * - * @return bool - */ - public static function isWin() - { - return strtoupper(substr(PHP_OS, 0, 3)) == "WIN"; - } - - /** - * Encodes the file path from GBK to UTF-8. - * The default encoding in Windows is GBK. - * And if the file path is in Chinese, the file would not be found without the transcoding to UTF-8. - * - * @param $file_path - * @return string - */ - public static function encodePath($file_path) - { - if (self::chkChinese($file_path) && self::isWin()) { - $file_path = iconv('utf-8', 'gbk', $file_path); - } - return $file_path; - } - - /** - * Check if the endpoint is in the IPv4 format, such as xxx.xxx.xxx.xxx:port or xxx.xxx.xxx.xxx. - * - * @param string $endpoint The endpoint to check. - * @return boolean - */ - public static function isIPFormat($endpoint) - { - $ip_array = explode(":", $endpoint); - $hostname = $ip_array[0]; - $ret = filter_var($hostname, FILTER_VALIDATE_IP); - if (!$ret) { - return false; - } else { - return true; - } - } - - /** - * Get the host:port from endpoint. - * - * @param string $endpoint the endpoint. - * @return boolean - */ - public static function getHostPortFromEndpoint($endpoint) - { - $str = $endpoint; - $pos = strpos($str, "://"); - if ($pos !== false) { - $str = substr($str, $pos+3); - } - - $pos = strpos($str, '#'); - if ($pos !== false) { - $str = substr($str, 0, $pos); - } - - $pos = strpos($str, '?'); - if ($pos !== false) { - $str = substr($str, 0, $pos); - } - - $pos = strpos($str, '/'); - if ($pos !== false) { - $str = substr($str, 0, $pos); - } - - $pos = strpos($str, '@'); - if ($pos !== false) { - $str = substr($str, $pos+1); - } - - if (!preg_match('/^[\w.-]+(:[0-9]+)?$/', $str)) { - throw new OssException("endpoint is invalid:" . $endpoint); - } - - return $str; - } - - /** - * Generate the xml message of DeleteMultiObjects. - * - * @param string[] $objects - * @param bool $quiet - * @return string - */ - public static function createDeleteObjectsXmlBody($objects, $quiet) - { - $xml = new \SimpleXMLElement(''); - $xml->addChild('Quiet', $quiet); - foreach ($objects as $object) { - $sub_object = $xml->addChild('Object'); - $object = OssUtil::sReplace($object); - $sub_object->addChild('Key', $object); - } - return $xml->asXML(); - } - - /** - * Generate the xml message of DeleteMultiObjects. - * - * @param DeleteObjectInfo[] $objects - * @param bool $quiet - * @return string - */ - public static function createDeleteObjectVersionsXmlBody($objects, $quiet) - { - $xml = new \SimpleXMLElement(''); - $xml->addChild('Quiet', $quiet); - foreach ($objects as $object) { - $sub_object = $xml->addChild('Object'); - $key = OssUtil::sReplace($object->getKey()); - $sub_object->addChild('Key', $key); - $versionId = $object->getVersionId(); - if (!empty($versionId)) { - $sub_object->addChild('VersionId', $object->getVersionId()); - } - } - return $xml->asXML(); - } - - /** - * Generate the xml message of CompleteMultipartUpload. - * - * @param array[] $listParts - * @return string - */ - public static function createCompleteMultipartUploadXmlBody($listParts) - { - $xml = new \SimpleXMLElement(''); - foreach ($listParts as $node) { - $part = $xml->addChild('Part'); - $part->addChild('PartNumber', $node['PartNumber']); - $part->addChild('ETag', $node['ETag']); - } - return $xml->asXML(); - } - - /** - * Read the directory, return a associative array in which the MD5 is the named key and the is the value. - * - * @param string $dir - * @param string $exclude - * @param bool $recursive - * @return string[] - */ - public static function readDir($dir, $exclude = ".|..|.svn|.git", $recursive = false) - { - $file_list_array = array(); - $base_path = $dir; - $exclude_array = explode("|", $exclude); - $exclude_array = array_unique(array_merge($exclude_array, array('.', '..'))); - - if ($recursive) { - foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir)) as $new_file) { - if ($new_file->isDir()) continue; - $object = str_replace($base_path, '', $new_file); - if (!in_array(strtolower($object), $exclude_array)) { - $object = ltrim($object, '/'); - if (is_file($new_file)) { - $key = md5($new_file . $object, false); - $file_list_array[$key] = array('path' => $new_file, 'file' => $object,); - } - } - } - } else if ($handle = opendir($dir)) { - while (false !== ($file = readdir($handle))) { - if (!in_array(strtolower($file), $exclude_array)) { - $new_file = $dir . '/' . $file; - $object = $file; - $object = ltrim($object, '/'); - if (is_file($new_file)) { - $key = md5($new_file . $object, false); - $file_list_array[$key] = array('path' => $new_file, 'file' => $object,); - } - } - } - closedir($handle); - } - return $file_list_array; - } - - /** - * Decode key based on the encoding type - * - * @param string $key - * @param string $encoding - * @return string - */ - public static function decodeKey($key, $encoding) - { - if ($encoding == "") { - return $key; - } - - if ($encoding == "url") { - return rawurldecode($key); - } else { - throw new OssException("Unrecognized encoding type: " . $encoding); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/LICENSE b/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/LICENSE deleted file mode 100644 index 49b38bd6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -Copyright (c) 2006-2010 Ryan Parman, Foleeo Inc., and contributors. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are -permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of - conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, this list - of conditions and the following disclaimer in the documentation and/or other materials - provided with the distribution. - - * Neither the name of Ryan Parman, Foleeo Inc. nor the names of its contributors may be used to - endorse or promote products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS -OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS -AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php deleted file mode 100644 index c8089b41..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php +++ /dev/null @@ -1,898 +0,0 @@ -). - */ - public $request_class = 'OSS\Http\RequestCore'; - - /** - * The default class to use for HTTP Responses (defaults to ). - */ - public $response_class = 'OSS\Http\ResponseCore'; - - /** - * Default useragent string to use. - */ - public $useragent = 'RequestCore/1.4.3'; - - /** - * File to read from while streaming up. - */ - public $read_file = null; - - /** - * The resource to read from while streaming up. - */ - public $read_stream = null; - - /** - * The size of the stream to read from. - */ - public $read_stream_size = null; - - /** - * The length already read from the stream. - */ - public $read_stream_read = 0; - - /** - * File to write to while streaming down. - */ - public $write_file = null; - - /** - * The resource to write to while streaming down. - */ - public $write_stream = null; - - /** - * Stores the intended starting seek position. - */ - public $seek_position = null; - - /** - * The location of the cacert.pem file to use. - */ - public $cacert_location = false; - - /** - * The state of SSL certificate verification. - */ - public $ssl_verification = true; - - /** - * The user-defined callback function to call when a stream is read from. - */ - public $registered_streaming_read_callback = null; - - /** - * The user-defined callback function to call when a stream is written to. - */ - public $registered_streaming_write_callback = null; - - /** - * The request timeout time, which is 5,184,000 seconds,that is, 6 days by default - * - * @var int - */ - public $timeout = 5184000; - - /** - * The connection timeout time, which is 10 seconds by default - * - * @var int - */ - public $connect_timeout = 10; - - /*%******************************************************************************************%*/ - // CONSTANTS - - /** - * GET HTTP Method - */ - const HTTP_GET = 'GET'; - - /** - * POST HTTP Method - */ - const HTTP_POST = 'POST'; - - /** - * PUT HTTP Method - */ - const HTTP_PUT = 'PUT'; - - /** - * DELETE HTTP Method - */ - const HTTP_DELETE = 'DELETE'; - - /** - * HEAD HTTP Method - */ - const HTTP_HEAD = 'HEAD'; - - - /*%******************************************************************************************%*/ - // CONSTRUCTOR/DESTRUCTOR - - /** - * Construct a new instance of this class. - * - * @param string $url (Optional) The URL to request or service endpoint to query. - * @param string $proxy (Optional) The faux-url to use for proxy settings. Takes the following format: `proxy://user:pass@hostname:port` - * @param array $helpers (Optional) An associative array of classnames to use for request, and response functionality. Gets passed in automatically by the calling class. - * @return $this A reference to the current instance. - */ - public function __construct($url = null, $proxy = null, $helpers = null) - { - // Set some default values. - $this->request_url = $url; - $this->method = self::HTTP_GET; - $this->request_headers = array(); - $this->request_body = ''; - - // Set a new Request class if one was set. - if (isset($helpers['request']) && !empty($helpers['request'])) { - $this->request_class = $helpers['request']; - } - - // Set a new Request class if one was set. - if (isset($helpers['response']) && !empty($helpers['response'])) { - $this->response_class = $helpers['response']; - } - - if ($proxy) { - $this->set_proxy($proxy); - } - - return $this; - } - - /** - * Destruct the instance. Closes opened file handles. - * - * @return $this A reference to the current instance. - */ - public function __destruct() - { - if (isset($this->read_file) && isset($this->read_stream)) { - fclose($this->read_stream); - } - - if (isset($this->write_file) && isset($this->write_stream)) { - fclose($this->write_stream); - } - - return $this; - } - - - /*%******************************************************************************************%*/ - // REQUEST METHODS - - /** - * Set the credentials to use for authentication. - * - * @param string $user (Required) The username to authenticate with. - * @param string $pass (Required) The password to authenticate with. - * @return $this A reference to the current instance. - */ - public function set_credentials($user, $pass) - { - $this->username = $user; - $this->password = $pass; - return $this; - } - - /** - * Add a custom HTTP header to the cURL request. - * - * @param string $key (Required) The custom HTTP header to set. - * @param mixed $value (Required) The value to assign to the custom HTTP header. - * @return $this A reference to the current instance. - */ - public function add_header($key, $value) - { - $this->request_headers[$key] = $value; - return $this; - } - - /** - * Remove an HTTP header from the cURL request. - * - * @param string $key (Required) The custom HTTP header to set. - * @return $this A reference to the current instance. - */ - public function remove_header($key) - { - if (isset($this->request_headers[$key])) { - unset($this->request_headers[$key]); - } - return $this; - } - - /** - * Set the method type for the request. - * - * @param string $method (Required) One of the following constants: , , , , . - * @return $this A reference to the current instance. - */ - public function set_method($method) - { - $this->method = strtoupper($method); - return $this; - } - - /** - * Set a custom useragent string for the class. - * - * @param string $ua (Required) The useragent string to use. - * @return $this A reference to the current instance. - */ - public function set_useragent($ua) - { - $this->useragent = $ua; - return $this; - } - - /** - * Set the body to send in the request. - * - * @param string $body (Required) The textual content to send along in the body of the request. - * @return $this A reference to the current instance. - */ - public function set_body($body) - { - $this->request_body = $body; - return $this; - } - - /** - * Set the URL to make the request to. - * - * @param string $url (Required) The URL to make the request to. - * @return $this A reference to the current instance. - */ - public function set_request_url($url) - { - $this->request_url = $url; - return $this; - } - - /** - * Set additional CURLOPT settings. These will merge with the default settings, and override if - * there is a duplicate. - * - * @param array $curlopts (Optional) A set of key-value pairs that set `CURLOPT` options. These will merge with the existing CURLOPTs, and ones passed here will override the defaults. Keys should be the `CURLOPT_*` constants, not strings. - * @return $this A reference to the current instance. - */ - public function set_curlopts($curlopts) - { - $this->curlopts = $curlopts; - return $this; - } - - /** - * Set the length in bytes to read from the stream while streaming up. - * - * @param integer $size (Required) The length in bytes to read from the stream. - * @return $this A reference to the current instance. - */ - public function set_read_stream_size($size) - { - $this->read_stream_size = $size; - - return $this; - } - - /** - * Set the resource to read from while streaming up. Reads the stream from its current position until - * EOF or `$size` bytes have been read. If `$size` is not given it will be determined by and - * . - * - * @param resource $resource (Required) The readable resource to read from. - * @param integer $size (Optional) The size of the stream to read. - * @return $this A reference to the current instance. - */ - public function set_read_stream($resource, $size = null) - { - if (!isset($size) || $size < 0) { - $stats = fstat($resource); - - if ($stats && $stats['size'] >= 0) { - $position = ftell($resource); - - if ($position !== false && $position >= 0) { - $size = $stats['size'] - $position; - } - } - } - - $this->read_stream = $resource; - - return $this->set_read_stream_size($size); - } - - /** - * Set the file to read from while streaming up. - * - * @param string $location (Required) The readable location to read from. - * @return $this A reference to the current instance. - */ - public function set_read_file($location) - { - $this->read_file = $location; - $read_file_handle = fopen($location, 'r'); - - return $this->set_read_stream($read_file_handle); - } - - /** - * Set the resource to write to while streaming down. - * - * @param resource $resource (Required) The writeable resource to write to. - * @return $this A reference to the current instance. - */ - public function set_write_stream($resource) - { - $this->write_stream = $resource; - - return $this; - } - - /** - * Set the file to write to while streaming down. - * - * @param string $location (Required) The writeable location to write to. - * @return $this A reference to the current instance. - */ - public function set_write_file($location) - { - $this->write_file = $location; - } - - /** - * Set the proxy to use for making requests. - * - * @param string $proxy (Required) The faux-url to use for proxy settings. Takes the following format: `proxy://user:pass@hostname:port` - * @return $this A reference to the current instance. - */ - public function set_proxy($proxy) - { - $proxy = parse_url($proxy); - $proxy['user'] = isset($proxy['user']) ? $proxy['user'] : null; - $proxy['pass'] = isset($proxy['pass']) ? $proxy['pass'] : null; - $proxy['port'] = isset($proxy['port']) ? $proxy['port'] : null; - $this->proxy = $proxy; - return $this; - } - - /** - * Set the intended starting seek position. - * - * @param integer $position (Required) The byte-position of the stream to begin reading from. - * @return $this A reference to the current instance. - */ - public function set_seek_position($position) - { - $this->seek_position = isset($position) ? (integer)$position : null; - - return $this; - } - - /** - * A callback function that is invoked by cURL for streaming up. - * - * @param resource $curl_handle (Required) The cURL handle for the request. - * @param resource $header_content (Required) The header callback result. - * @return headers from a stream. - */ - public function streaming_header_callback($curl_handle, $header_content) - { - $code = curl_getinfo($curl_handle, CURLINFO_HTTP_CODE); - - if (isset($this->write_file) && intval($code) / 100 == 2 && !isset($this->write_file_handle)) - { - $this->write_file_handle = fopen($this->write_file, 'w'); - $this->set_write_stream($this->write_file_handle); - } - - $this->response_raw_headers .= $header_content; - return strlen($header_content); - } - - - /** - * Register a callback function to execute whenever a data stream is read from using - * . - * - * The user-defined callback function should accept three arguments: - * - *
            - *
          • $curl_handle - resource - Required - The cURL handle resource that represents the in-progress transfer.
          • - *
          • $file_handle - resource - Required - The file handle resource that represents the file on the local file system.
          • - *
          • $length - integer - Required - The length in kilobytes of the data chunk that was transferred.
          • - *
          - * - * @param string|array|function $callback (Required) The callback function is called by , so you can pass the following values:
            - *
          • The name of a global function to execute, passed as a string.
          • - *
          • A method to execute, passed as array('ClassName', 'MethodName').
          • - *
          • An anonymous function (PHP 5.3+).
          - * @return $this A reference to the current instance. - */ - public function register_streaming_read_callback($callback) - { - $this->registered_streaming_read_callback = $callback; - - return $this; - } - - /** - * Register a callback function to execute whenever a data stream is written to using - * . - * - * The user-defined callback function should accept two arguments: - * - *
            - *
          • $curl_handle - resource - Required - The cURL handle resource that represents the in-progress transfer.
          • - *
          • $length - integer - Required - The length in kilobytes of the data chunk that was transferred.
          • - *
          - * - * @param string|array|function $callback (Required) The callback function is called by , so you can pass the following values:
            - *
          • The name of a global function to execute, passed as a string.
          • - *
          • A method to execute, passed as array('ClassName', 'MethodName').
          • - *
          • An anonymous function (PHP 5.3+).
          - * @return $this A reference to the current instance. - */ - public function register_streaming_write_callback($callback) - { - $this->registered_streaming_write_callback = $callback; - - return $this; - } - - - /*%******************************************************************************************%*/ - // PREPARE, SEND, AND PROCESS REQUEST - - /** - * A callback function that is invoked by cURL for streaming up. - * - * @param resource $curl_handle (Required) The cURL handle for the request. - * @param resource $file_handle (Required) The open file handle resource. - * @param integer $length (Required) The maximum number of bytes to read. - * @return binary Binary data from a stream. - */ - public function streaming_read_callback($curl_handle, $file_handle, $length) - { - // Once we've sent as much as we're supposed to send... - if ($this->read_stream_read >= $this->read_stream_size) { - // Send EOF - return ''; - } - - // If we're at the beginning of an upload and need to seek... - if ($this->read_stream_read == 0 && isset($this->seek_position) && $this->seek_position !== ftell($this->read_stream)) { - if (fseek($this->read_stream, $this->seek_position) !== 0) { - throw new RequestCore_Exception('The stream does not support seeking and is either not at the requested position or the position is unknown.'); - } - } - - $read = fread($this->read_stream, min($this->read_stream_size - $this->read_stream_read, $length)); // Remaining upload data or cURL's requested chunk size - $this->read_stream_read += strlen($read); - - $out = $read === false ? '' : $read; - - // Execute callback function - if ($this->registered_streaming_read_callback) { - call_user_func($this->registered_streaming_read_callback, $curl_handle, $file_handle, $out); - } - - return $out; - } - - /** - * A callback function that is invoked by cURL for streaming down. - * - * @param resource $curl_handle (Required) The cURL handle for the request. - * @param binary $data (Required) The data to write. - * @return integer The number of bytes written. - */ - public function streaming_write_callback($curl_handle, $data) - { - $code = curl_getinfo($curl_handle, CURLINFO_HTTP_CODE); - - if (intval($code) / 100 != 2) - { - $this->response_error_body .= $data; - return strlen($data); - } - - $length = strlen($data); - $written_total = 0; - $written_last = 0; - - while ($written_total < $length) { - $written_last = fwrite($this->write_stream, substr($data, $written_total)); - - if ($written_last === false) { - return $written_total; - } - - $written_total += $written_last; - } - - // Execute callback function - if ($this->registered_streaming_write_callback) { - call_user_func($this->registered_streaming_write_callback, $curl_handle, $written_total); - } - - return $written_total; - } - - /** - * Prepare and adds the details of the cURL request. This can be passed along to a - * function. - * - * @return resource The handle for the cURL object. - * - */ - public function prep_request() - { - $curl_handle = curl_init(); - - // Set default options. - curl_setopt($curl_handle, CURLOPT_URL, $this->request_url); - curl_setopt($curl_handle, CURLOPT_FILETIME, true); - curl_setopt($curl_handle, CURLOPT_FRESH_CONNECT, false); -// curl_setopt($curl_handle, CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED); - curl_setopt($curl_handle, CURLOPT_MAXREDIRS, 5); - curl_setopt($curl_handle, CURLOPT_HEADER, true); - curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, true); - curl_setopt($curl_handle, CURLOPT_TIMEOUT, $this->timeout); - curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, $this->connect_timeout); - curl_setopt($curl_handle, CURLOPT_NOSIGNAL, true); - curl_setopt($curl_handle, CURLOPT_REFERER, $this->request_url); - curl_setopt($curl_handle, CURLOPT_USERAGENT, $this->useragent); - curl_setopt($curl_handle, CURLOPT_HEADERFUNCTION, array($this, 'streaming_header_callback')); - curl_setopt($curl_handle, CURLOPT_READFUNCTION, array($this, 'streaming_read_callback')); - - // Verification of the SSL cert - if ($this->ssl_verification) { - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, true); - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, 2); - } else { - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, false); - } - - // chmod the file as 0755 - if ($this->cacert_location === true) { - curl_setopt($curl_handle, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem'); - } elseif (is_string($this->cacert_location)) { - curl_setopt($curl_handle, CURLOPT_CAINFO, $this->cacert_location); - } - - // Debug mode - if ($this->debug_mode) { - curl_setopt($curl_handle, CURLOPT_VERBOSE, true); - } - - // Handle open_basedir & safe mode - if (!ini_get('safe_mode') && !ini_get('open_basedir')) { - curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, true); - } - - // Enable a proxy connection if requested. - if ($this->proxy) { - $host = $this->proxy['host']; - $host .= ($this->proxy['port']) ? ':' . $this->proxy['port'] : ''; - curl_setopt($curl_handle, CURLOPT_PROXY, $host); - - if (isset($this->proxy['user']) && isset($this->proxy['pass'])) { - curl_setopt($curl_handle, CURLOPT_PROXYUSERPWD, $this->proxy['user'] . ':' . $this->proxy['pass']); - } - } - - // Set credentials for HTTP Basic/Digest Authentication. - if ($this->username && $this->password) { - curl_setopt($curl_handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY); - curl_setopt($curl_handle, CURLOPT_USERPWD, $this->username . ':' . $this->password); - } - - // Handle the encoding if we can. - if (extension_loaded('zlib')) { - curl_setopt($curl_handle, CURLOPT_ENCODING, ''); - } - - // Process custom headers - if (isset($this->request_headers) && count($this->request_headers)) { - $temp_headers = array(); - - foreach ($this->request_headers as $k => $v) { - $temp_headers[] = $k . ': ' . $v; - } - - // fix "Expect: 100-continue" - $temp_headers[] = 'Expect:'; - curl_setopt($curl_handle, CURLOPT_HTTPHEADER, $temp_headers); - } - - switch ($this->method) { - case self::HTTP_PUT: - //unset($this->read_stream); - curl_setopt($curl_handle, CURLOPT_CUSTOMREQUEST, 'PUT'); - if (isset($this->read_stream)) { - if (!isset($this->read_stream_size) || $this->read_stream_size < 0) { - throw new RequestCore_Exception('The stream size for the streaming upload cannot be determined.'); - } - curl_setopt($curl_handle, CURLOPT_INFILESIZE, $this->read_stream_size); - curl_setopt($curl_handle, CURLOPT_UPLOAD, true); - } else { - curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $this->request_body); - } - break; - - case self::HTTP_POST: - curl_setopt($curl_handle, CURLOPT_CUSTOMREQUEST, 'POST'); - if (isset($this->read_stream)) { - if (!isset($this->read_stream_size) || $this->read_stream_size < 0) { - throw new RequestCore_Exception('The stream size for the streaming upload cannot be determined.'); - } - curl_setopt($curl_handle, CURLOPT_INFILESIZE, $this->read_stream_size); - curl_setopt($curl_handle, CURLOPT_UPLOAD, true); - } else { - curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $this->request_body); - } - break; - - case self::HTTP_HEAD: - curl_setopt($curl_handle, CURLOPT_CUSTOMREQUEST, self::HTTP_HEAD); - curl_setopt($curl_handle, CURLOPT_NOBODY, 1); - break; - - default: // Assumed GET - curl_setopt($curl_handle, CURLOPT_CUSTOMREQUEST, $this->method); - if (isset($this->write_stream) || isset($this->write_file)) { - curl_setopt($curl_handle, CURLOPT_WRITEFUNCTION, array($this, 'streaming_write_callback')); - curl_setopt($curl_handle, CURLOPT_HEADER, false); - } else { - curl_setopt($curl_handle, CURLOPT_POSTFIELDS, $this->request_body); - } - break; - } - - // Merge in the CURLOPTs - if (isset($this->curlopts) && sizeof($this->curlopts) > 0) { - foreach ($this->curlopts as $k => $v) { - curl_setopt($curl_handle, $k, $v); - } - } - - return $curl_handle; - } - - /** - * Take the post-processed cURL data and break it down into useful header/body/info chunks. Uses the - * data stored in the `curl_handle` and `response` properties unless replacement data is passed in via - * parameters. - * - * @param resource|\CurlHandle|null|false $curl_handle (Optional) The reference to the already executed cURL request. Receive CurlHandle instance from PHP8.0 - * @param string $response (Optional) The actual response content itself that needs to be parsed. - * @return ResponseCore A object containing a parsed HTTP response. - */ - public function process_response($curl_handle = null, $response = null) - { - // Accept a custom one if it's passed. - if ($curl_handle && $response) { - $this->response = $response; - } - - // As long as this came back as a valid resource or CurlHandle instance... - if (is_resource($curl_handle) || (is_object($curl_handle) && get_class($curl_handle) === 'CurlHandle')) { - // Determine what's what. - $header_size = curl_getinfo($curl_handle, CURLINFO_HEADER_SIZE); - $this->response_headers = substr($this->response, 0, $header_size); - $this->response_body = substr($this->response, $header_size); - $this->response_code = curl_getinfo($curl_handle, CURLINFO_HTTP_CODE); - $this->response_info = curl_getinfo($curl_handle); - - if (intval($this->response_code) / 100 != 2 && isset($this->write_file)) - { - $this->response_headers = $this->response_raw_headers; - $this->response_body = $this->response_error_body; - } - - // Parse out the headers - $this->response_headers = explode("\r\n\r\n", trim($this->response_headers)); - $this->response_headers = array_pop($this->response_headers); - $this->response_headers = explode("\r\n", $this->response_headers); - array_shift($this->response_headers); - - // Loop through and split up the headers. - $header_assoc = array(); - foreach ($this->response_headers as $header) { - $kv = explode(': ', $header); - $header_assoc[strtolower($kv[0])] = isset($kv[1]) ? $kv[1] : ''; - } - - // Reset the headers to the appropriate property. - $this->response_headers = $header_assoc; - $this->response_headers['info'] = $this->response_info; - $this->response_headers['info']['method'] = $this->method; - - if ($curl_handle && $response) { - return new ResponseCore($this->response_headers, $this->response_body, $this->response_code); - } - } - - // Return false - return false; - } - - /** - * Send the request, calling necessary utility functions to update built-in properties. - * - * @param boolean $parse (Optional) Whether to parse the response with ResponseCore or not. - * @return string The resulting unparsed data from the request. - */ - public function send_request($parse = false) - { - set_time_limit(0); - - $curl_handle = $this->prep_request(); - $this->response = curl_exec($curl_handle); - - if ($this->response === false) { - throw new RequestCore_Exception('cURL error: ' . curl_error($curl_handle) . ' (' . curl_errno($curl_handle) . ')'); - } - - $parsed_response = $this->process_response($curl_handle, $this->response); - - curl_close($curl_handle); - unset($curl_handle); - - if ($parse) { - return $parsed_response; - } - - return $this->response; - } - - /*%******************************************************************************************%*/ - // RESPONSE METHODS - - /** - * Get the HTTP response headers from the request. - * - * @param string $header (Optional) A specific header value to return. Defaults to all headers. - * @return string|array All or selected header values. - */ - public function get_response_header($header = null) - { - if ($header) { - return $this->response_headers[strtolower($header)]; - } - return $this->response_headers; - } - - /** - * Get the HTTP response body from the request. - * - * @return string The response body. - */ - public function get_response_body() - { - return $this->response_body; - } - - /** - * Get the HTTP response code from the request. - * - * @return string The HTTP response code. - */ - public function get_response_code() - { - return $this->response_code; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore_Exception.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore_Exception.php deleted file mode 100644 index cb4e83c6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore_Exception.php +++ /dev/null @@ -1,8 +0,0 @@ -). - * @param string $body (Required) XML-formatted response from OSS. - * @param integer $status (Optional) HTTP response status code from the request. - * @return Mixed Contains an `header` property (HTTP headers as an associative array), a or `body` property, and an `status` code. - */ - public function __construct($header, $body, $status = null) - { - $this->header = $header; - $this->body = $body; - $this->status = $status; - - return $this; - } - - /** - * Did we receive the status code we expected? - * - * @param integer|array $codes (Optional) The status code(s) to expect. Pass an for a single acceptable value, or an of integers for multiple acceptable values. - * @return boolean Whether we received the expected status code or not. - */ - public function isOK($codes = array(200, 201, 204, 206)) - { - if (is_array($codes)) { - return in_array($this->status, $codes); - } - - return $this->status === $codes; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketInfo.php deleted file mode 100644 index e211eed6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketInfo.php +++ /dev/null @@ -1,181 +0,0 @@ -location = $location; - $this->createDate = $createDate; - $this->name = $name; - } - - /** - * Get bucket location - * - * @return string - */ - public function getLocation() - { - return $this->location; - } - - /** - * Get bucket name - * - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Get bucket creation time. - * - * @return string - */ - public function getCreateDate() - { - return $this->createDate; - } - - /** - * Get bucket storage class. - * - * @return string - */ - public function getStorageClass() - { - return $this->storageClass; - } - - /** - * Get bucket extranet endpoint. - * - * @return string - */ - public function getExtranetEndpoint() - { - return $this->extranetEndpoint; - } - - /** - * Get bucket intranet endpoint. - * - * @return string - */ - public function getIntranetEndpoint() - { - return $this->intranetEndpoint; - } - - /** - * Get bucket intranet endpoint. - * - * @return string - */ - public function getRegion() - { - return $this->region; - } - - - /** - * Parse bucket information from node. - * - * @param xml $xml - * @throws OssException - * @return null - */ - public function parseFromXmlNode($xml) - { - if (isset($xml->Location)) { - $this->location = strval($xml->Location); - } - if (isset($xml->Name)) { - $this->name = strval($xml->Name); - } - if (isset($xml->CreationDate)) { - $this->createDate = strval($xml->CreationDate); - } - if (isset($xml->StorageClass)) { - $this->storageClass = strval($xml->StorageClass); - } - if (isset($xml->ExtranetEndpoint)) { - $this->extranetEndpoint = strval($xml->ExtranetEndpoint); - } - if (isset($xml->IntranetEndpoint)) { - $this->intranetEndpoint = strval($xml->IntranetEndpoint); - } - if (isset($xml->IntranetEndpoint)) { - $this->intranetEndpoint = strval($xml->IntranetEndpoint); - } - if (isset($xml->Region)) { - $this->region = strval($xml->Region); - } - } - - /** - * bucket region - * - * @var string - */ - private $location; - /** - * bucket name - * - * @var string - */ - private $name; - - /** - * bucket creation time - * - * @var string - */ - private $createDate; - - /** - * bucket storage class - * - * @var string - */ - private $storageClass; - - /** - * bucket extranet endpoint - * - * @var string - */ - private $extranetEndpoint; - - /** - * bucket intranet endpoint - * - * @var string - */ - private $intranetEndpoint; - - /** - * bucket region - * - * @var string - */ - private $region; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketListInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketListInfo.php deleted file mode 100644 index ce03a0d7..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketListInfo.php +++ /dev/null @@ -1,39 +0,0 @@ -bucketList = $bucketList; - } - - /** - * Get the BucketInfo list - * - * @return BucketInfo[] - */ - public function getBucketList() - { - return $this->bucketList; - } - - /** - * BucketInfo list - * - * @var array - */ - private $bucketList = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketStat.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketStat.php deleted file mode 100644 index 9e2989a7..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/BucketStat.php +++ /dev/null @@ -1,85 +0,0 @@ -storage; - } - - /** - * Get object count - * - * @return int - */ - public function getObjectCount() - { - return $this->objectCount; - } - - /** - * Get multipart upload count. - * - * @return int - */ - public function getMultipartUploadCount() - { - return $this->multipartUploadCount; - } - - /** - * Parse stat from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (isset($xml->Storage) ) { - $this->storage = intval($xml->Storage); - } - if (isset($xml->ObjectCount) ) { - $this->objectCount = intval($xml->ObjectCount); - } - if (isset($xml->MultipartUploadCount) ) { - $this->multipartUploadCount = intval($xml->MultipartUploadCount); - } - } - - /** - * current storage - * - * @var int - */ - private $storage; - /** - * object count - * - * @var int - */ - private $objectCount; - - /** - * multipart upload count - * - * @var int - */ - private $multipartUploadCount; - -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CnameConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CnameConfig.php deleted file mode 100644 index f3597d2f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CnameConfig.php +++ /dev/null @@ -1,99 +0,0 @@ -cnameList = array(); - } - - /** - * @return array - * @example - * array(2) { - * [0]=> - * array(3) { - * ["Domain"]=> - * string(11) "www.foo.com" - * ["Status"]=> - * string(7) "enabled" - * ["LastModified"]=> - * string(8) "20150101" - * } - * [1]=> - * array(3) { - * ["Domain"]=> - * string(7) "bar.com" - * ["Status"]=> - * string(8) "disabled" - * ["LastModified"]=> - * string(8) "20160101" - * } - * } - */ - public function getCnames() - { - return $this->cnameList; - } - - - public function addCname($cname) - { - if (count($this->cnameList) >= self::OSS_MAX_RULES) { - throw new OssException( - "num of cname in the config exceeds self::OSS_MAX_RULES: " . strval(self::OSS_MAX_RULES)); - } - $this->cnameList[] = array('Domain' => $cname); - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (!isset($xml->Cname)) return; - foreach ($xml->Cname as $entry) { - $cname = array(); - foreach ($entry as $key => $value) { - $cname[strval($key)] = strval($value); - } - $this->cnameList[] = $cname; - } - } - - public function serializeToXml() - { - $strXml = << - - -EOF; - $xml = new \SimpleXMLElement($strXml); - foreach ($this->cnameList as $cname) { - $node = $xml->addChild('Cname'); - foreach ($cname as $key => $value) { - $node->addChild($key, $value); - } - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - const OSS_MAX_RULES = 10; - - private $cnameList = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CorsConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CorsConfig.php deleted file mode 100644 index 62a0d710..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CorsConfig.php +++ /dev/null @@ -1,113 +0,0 @@ -rules = array(); - } - - /** - * Get CorsRule list - * - * @return CorsRule[] - */ - public function getRules() - { - return $this->rules; - } - - - /** - * Add a new CorsRule - * - * @param CorsRule $rule - * @throws OssException - */ - public function addRule($rule) - { - if (count($this->rules) >= self::OSS_MAX_RULES) { - throw new OssException("num of rules in the config exceeds self::OSS_MAX_RULES: " . strval(self::OSS_MAX_RULES)); - } - $this->rules[] = $rule; - } - - /** - * Parse CorsConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (!isset($xml->CORSRule)) return; - foreach ($xml->CORSRule as $rule) { - $corsRule = new CorsRule(); - foreach ($rule as $key => $value) { - if ($key === self::OSS_CORS_ALLOWED_HEADER) { - $corsRule->addAllowedHeader(strval($value)); - } elseif ($key === self::OSS_CORS_ALLOWED_METHOD) { - $corsRule->addAllowedMethod(strval($value)); - } elseif ($key === self::OSS_CORS_ALLOWED_ORIGIN) { - $corsRule->addAllowedOrigin(strval($value)); - } elseif ($key === self::OSS_CORS_EXPOSE_HEADER) { - $corsRule->addExposeHeader(strval($value)); - } elseif ($key === self::OSS_CORS_MAX_AGE_SECONDS) { - $corsRule->setMaxAgeSeconds(strval($value)); - } - } - $this->addRule($corsRule); - } - return; - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - foreach ($this->rules as $rule) { - $xmlRule = $xml->addChild('CORSRule'); - $rule->appendToXml($xmlRule); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - const OSS_CORS_ALLOWED_ORIGIN = 'AllowedOrigin'; - const OSS_CORS_ALLOWED_METHOD = 'AllowedMethod'; - const OSS_CORS_ALLOWED_HEADER = 'AllowedHeader'; - const OSS_CORS_EXPOSE_HEADER = 'ExposeHeader'; - const OSS_CORS_MAX_AGE_SECONDS = 'MaxAgeSeconds'; - const OSS_MAX_RULES = 10; - - /** - * CorsRule list - * - * @var CorsRule[] - */ - private $rules = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CorsRule.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CorsRule.php deleted file mode 100644 index 08353a0c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/CorsRule.php +++ /dev/null @@ -1,150 +0,0 @@ -allowedOrigins[] = $allowedOrigin; - } - } - - /** - * Add an allowedMethod rule - * - * @param string $allowedMethod - */ - public function addAllowedMethod($allowedMethod) - { - if (!empty($allowedMethod)) { - $this->allowedMethods[] = $allowedMethod; - } - } - - /** - * Add an allowedHeader rule - * - * @param string $allowedHeader - */ - public function addAllowedHeader($allowedHeader) - { - if (!empty($allowedHeader)) { - $this->allowedHeaders[] = $allowedHeader; - } - } - - /** - * Add an exposeHeader rule - * - * @param string $exposeHeader - */ - public function addExposeHeader($exposeHeader) - { - if (!empty($exposeHeader)) { - $this->exposeHeaders[] = $exposeHeader; - } - } - - /** - * @return int - */ - public function getMaxAgeSeconds() - { - return $this->maxAgeSeconds; - } - - /** - * @param int $maxAgeSeconds - */ - public function setMaxAgeSeconds($maxAgeSeconds) - { - $this->maxAgeSeconds = $maxAgeSeconds; - } - - /** - * Get the AllowedHeaders list - * - * @return string[] - */ - public function getAllowedHeaders() - { - return $this->allowedHeaders; - } - - /** - * Get the AllowedOrigins list - * - * @return string[] - */ - public function getAllowedOrigins() - { - return $this->allowedOrigins; - } - - /** - * Get the AllowedMethods list - * - * @return string[] - */ - public function getAllowedMethods() - { - return $this->allowedMethods; - } - - /** - * Get the ExposeHeaders list - * - * @return string[] - */ - public function getExposeHeaders() - { - return $this->exposeHeaders; - } - - /** - * Serialize all the rules into the xml represented by parameter $xmlRule - * - * @param \SimpleXMLElement $xmlRule - * @throws OssException - */ - public function appendToXml(&$xmlRule) - { - if (!isset($this->maxAgeSeconds)) { - throw new OssException("maxAgeSeconds is not set in the Rule"); - } - foreach ($this->allowedOrigins as $allowedOrigin) { - $xmlRule->addChild(CorsConfig::OSS_CORS_ALLOWED_ORIGIN, $allowedOrigin); - } - foreach ($this->allowedMethods as $allowedMethod) { - $xmlRule->addChild(CorsConfig::OSS_CORS_ALLOWED_METHOD, $allowedMethod); - } - foreach ($this->allowedHeaders as $allowedHeader) { - $xmlRule->addChild(CorsConfig::OSS_CORS_ALLOWED_HEADER, $allowedHeader); - } - foreach ($this->exposeHeaders as $exposeHeader) { - $xmlRule->addChild(CorsConfig::OSS_CORS_EXPOSE_HEADER, $exposeHeader); - } - $xmlRule->addChild(CorsConfig::OSS_CORS_MAX_AGE_SECONDS, strval($this->maxAgeSeconds)); - } - - private $allowedHeaders = array(); - private $allowedOrigins = array(); - private $allowedMethods = array(); - private $exposeHeaders = array(); - private $maxAgeSeconds = null; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteMarkerInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteMarkerInfo.php deleted file mode 100644 index c129e99f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteMarkerInfo.php +++ /dev/null @@ -1,65 +0,0 @@ -key = $key; - $this->versionId = $versionId; - $this->lastModified = $lastModified; - $this->isLatest = $isLatest; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getVersionId() - { - return $this->versionId; - } - - /** - * @return string - */ - public function getLastModified() - { - return $this->lastModified; - } - - /** - * @return string - */ - public function getIsLatest() - { - return $this->isLatest; - } - - private $key = ""; - private $versionId = ""; - private $lastModified = ""; - private $isLatest = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteObjectInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteObjectInfo.php deleted file mode 100644 index 806eafbe..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeleteObjectInfo.php +++ /dev/null @@ -1,41 +0,0 @@ -key = $key; - $this->versionId = $versionId; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getVersionId() - { - return $this->versionId; - } - - private $key = ""; - private $versionId = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeletedObjectInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeletedObjectInfo.php deleted file mode 100644 index 6bba39a4..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/DeletedObjectInfo.php +++ /dev/null @@ -1,63 +0,0 @@ -key = $key; - $this->versionId = $versionId; - $this->deleteMarker = $deleteMarker; - $this->deleteMarkerVersionId = $deleteMarkerVersionId; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getVersionId() - { - return $this->versionId; - } - - /** - * @return string - */ - public function getDeleteMarker() - { - return $this->deleteMarker; - } - - /** - * @return string - */ - public function getDeleteMarkerVersionId() - { - return $this->deleteMarkerVersionId; - } - - private $key = ""; - private $versionId = ""; - private $deleteMarker = ""; - private $deleteMarkerVersionId = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ExtendWormConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ExtendWormConfig.php deleted file mode 100644 index 5e62287f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ExtendWormConfig.php +++ /dev/null @@ -1,64 +0,0 @@ -day = $day; - } - - /** - * Parse ExtendWormConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - throw new OssException("Not implemented."); - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - if (isset($this->day)) { - $xml->addChild('RetentionPeriodInDays', $this->day); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return int - */ - public function getDay() - { - return $this->day; - } - - private $day = 0; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelHistory.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelHistory.php deleted file mode 100644 index e6d518a9..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelHistory.php +++ /dev/null @@ -1,37 +0,0 @@ -liveRecordList; - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - - if (isset($xml->LiveRecord)) { - foreach ($xml->LiveRecord as $record) { - $liveRecord = new LiveChannelHistory(); - $liveRecord->parseFromXmlNode($record); - $this->liveRecordList[] = $liveRecord; - } - } - } - - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - private $liveRecordList = array(); -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelInfo.php deleted file mode 100644 index 0b5edfc4..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelInfo.php +++ /dev/null @@ -1,68 +0,0 @@ -description; - } - - public function getStatus() - { - return $this->status; - } - - public function getType() - { - return $this->type; - } - - public function getFragDuration() - { - return $this->fragDuration; - } - - public function getFragCount() - { - return $this->fragCount; - } - - public function getPlayListName() - { - return $this->playlistName; - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - - $this->description = strval($xml->Description); - $this->status = strval($xml->Status); - - if (isset($xml->Target)) { - foreach ($xml->Target as $target) { - $this->type = strval($target->Type); - $this->fragDuration = strval($target->FragDuration); - $this->fragCount = strval($target->FragCount); - $this->playlistName = strval($target->PlaylistName); - } - } - } - - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - private $description; - private $status; - private $type; - private $fragDuration; - private $fragCount; - private $playlistName; -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelStatus.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelStatus.php deleted file mode 100644 index 2ee7a68b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/GetLiveChannelStatus.php +++ /dev/null @@ -1,107 +0,0 @@ -status; - } - - public function getConnectedTime() - { - return $this->connectedTime; - } - - public function getRemoteAddr() - { - return $this->remoteAddr; - } - - public function getVideoWidth() - { - return $this->videoWidth; - } - public function getVideoHeight() - { - return $this->videoHeight; - } - public function getVideoFrameRate() - { - return $this->videoFrameRate; - } - public function getVideoBandwidth() - { - return $this->videoBandwidth; - } - public function getVideoCodec() - { - return $this->videoCodec; - } - - public function getAudioBandwidth() - { - return $this->audioBandwidth; - } - public function getAudioSampleRate() - { - return $this->audioSampleRate; - } - public function getAudioCodec() - { - return $this->audioCodec; - } - - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - $this->status = strval($xml->Status); - $this->connectedTime = strval($xml->ConnectedTime); - $this->remoteAddr = strval($xml->RemoteAddr); - - if (isset($xml->Video)) { - foreach ($xml->Video as $video) { - $this->videoWidth = intval($video->Width); - $this->videoHeight = intval($video->Height); - $this->videoFrameRate = intval($video->FrameRate); - $this->videoBandwidth = intval($video->Bandwidth); - $this->videoCodec = strval($video->Codec); - } - } - - if (isset($xml->Video)) { - foreach ($xml->Audio as $audio) { - $this->audioBandwidth = intval($audio->Bandwidth); - $this->audioSampleRate = intval($audio->SampleRate); - $this->audioCodec = strval($audio->Codec); - } - } - - } - - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - private $status; - private $connectedTime; - private $remoteAddr; - - private $videoWidth; - private $videoHeight; - private $videoFrameRate; - private $videoBandwidth; - private $videoCodec; - - private $audioBandwidth; - private $audioSampleRate; - private $audioCodec; - - -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/InitiateWormConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/InitiateWormConfig.php deleted file mode 100644 index 572ceed0..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/InitiateWormConfig.php +++ /dev/null @@ -1,64 +0,0 @@ -day = $day; - } - - /** - * Parse InitiateWormConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - throw new OssException("Not implemented."); - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - if (isset($this->day)) { - $xml->addChild('RetentionPeriodInDays', $this->day); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return int - */ - public function getDay() - { - return $this->day; - } - - private $day = 0; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleAction.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleAction.php deleted file mode 100644 index a0e21269..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleAction.php +++ /dev/null @@ -1,88 +0,0 @@ -action = $action; - $this->timeSpec = $timeSpec; - $this->timeValue = $timeValue; - } - - /** - * @return LifecycleAction - */ - public function getAction() - { - return $this->action; - } - - /** - * @param string $action - */ - public function setAction($action) - { - $this->action = $action; - } - - /** - * @return string - */ - public function getTimeSpec() - { - return $this->timeSpec; - } - - /** - * @param string $timeSpec - */ - public function setTimeSpec($timeSpec) - { - $this->timeSpec = $timeSpec; - } - - /** - * @return string - */ - public function getTimeValue() - { - return $this->timeValue; - } - - /** - * @param string $timeValue - */ - public function setTimeValue($timeValue) - { - $this->timeValue = $timeValue; - } - - /** - * Use appendToXml to insert actions into xml. - * - * @param \SimpleXMLElement $xmlRule - */ - public function appendToXml(&$xmlRule) - { - $xmlAction = $xmlRule->addChild($this->action); - $xmlAction->addChild($this->timeSpec, $this->timeValue); - } - - private $action; - private $timeSpec; - private $timeValue; - -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleConfig.php deleted file mode 100644 index f2d2dc33..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleConfig.php +++ /dev/null @@ -1,107 +0,0 @@ -rules = array(); - $xml = simplexml_load_string($strXml); - if (!isset($xml->Rule)) return; - $this->rules = array(); - foreach ($xml->Rule as $rule) { - $id = strval($rule->ID); - $prefix = strval($rule->Prefix); - $status = strval($rule->Status); - $actions = array(); - foreach ($rule as $key => $value) { - if ($key === 'ID' || $key === 'Prefix' || $key === 'Status') continue; - $action = $key; - $timeSpec = null; - $timeValue = null; - foreach ($value as $timeSpecKey => $timeValueValue) { - $timeSpec = $timeSpecKey; - $timeValue = strval($timeValueValue); - } - $actions[] = new LifecycleAction($action, $timeSpec, $timeValue); - } - $this->rules[] = new LifecycleRule($id, $prefix, $status, $actions); - } - return; - } - - - /** - * Serialize the object to xml - * - * @return string - */ - public function serializeToXml() - { - - $xml = new \SimpleXMLElement(''); - foreach ($this->rules as $rule) { - $xmlRule = $xml->addChild('Rule'); - $rule->appendToXml($xmlRule); - } - return $xml->asXML(); - } - - /** - * - * Add a LifecycleRule - * - * @param LifecycleRule $lifecycleRule - * @throws OssException - */ - public function addRule($lifecycleRule) - { - if (!isset($lifecycleRule)) { - throw new OssException("lifecycleRule is null"); - } - $this->rules[] = $lifecycleRule; - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * Get all lifecycle rules. - * - * @return LifecycleRule[] - */ - public function getRules() - { - return $this->rules; - } - - /** - * @var LifecycleRule[] - */ - private $rules; -} - - diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleRule.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleRule.php deleted file mode 100644 index 73c6cc35..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LifecycleRule.php +++ /dev/null @@ -1,126 +0,0 @@ -id; - } - - /** - * @param string $id Rule Id - */ - public function setId($id) - { - $this->id = $id; - } - - /** - * Get a file prefix - * - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } - - /** - * Set a file prefix - * - * @param string $prefix The file prefix - */ - public function setPrefix($prefix) - { - $this->prefix = $prefix; - } - - /** - * Get Lifecycle status - * - * @return string - */ - public function getStatus() - { - return $this->status; - } - - /** - * Set Lifecycle status - * - * @param string $status - */ - public function setStatus($status) - { - $this->status = $status; - } - - /** - * - * @return LifecycleAction[] - */ - public function getActions() - { - return $this->actions; - } - - /** - * @param LifecycleAction[] $actions - */ - public function setActions($actions) - { - $this->actions = $actions; - } - - - /** - * LifecycleRule constructor. - * - * @param string $id rule Id - * @param string $prefix File prefix - * @param string $status Rule status, which has the following valid values: [self::LIFECYCLE_STATUS_ENABLED, self::LIFECYCLE_STATUS_DISABLED] - * @param LifecycleAction[] $actions - */ - public function __construct($id, $prefix, $status, $actions) - { - $this->id = $id; - $this->prefix = $prefix; - $this->status = $status; - $this->actions = $actions; - } - - /** - * @param \SimpleXMLElement $xmlRule - */ - public function appendToXml(&$xmlRule) - { - $xmlRule->addChild('ID', $this->id); - $xmlRule->addChild('Prefix', $this->prefix); - $xmlRule->addChild('Status', $this->status); - foreach ($this->actions as $action) { - $action->appendToXml($xmlRule); - } - } - - private $id; - private $prefix; - private $status; - private $actions = array(); - - const LIFECYCLE_STATUS_ENABLED = 'Enabled'; - const LIFECYCLE_STATUS_DISABLED = 'Disabled'; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ListMultipartUploadInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ListMultipartUploadInfo.php deleted file mode 100644 index 105d005b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ListMultipartUploadInfo.php +++ /dev/null @@ -1,134 +0,0 @@ -bucket = $bucket; - $this->keyMarker = $keyMarker; - $this->uploadIdMarker = $uploadIdMarker; - $this->nextKeyMarker = $nextKeyMarker; - $this->nextUploadIdMarker = $nextUploadIdMarker; - $this->delimiter = $delimiter; - $this->prefix = $prefix; - $this->maxUploads = $maxUploads; - $this->isTruncated = $isTruncated; - $this->uploads = $uploads; - } - - /** - * 得到bucket名称 - * - * @return string - */ - public function getBucket() - { - return $this->bucket; - } - - /** - * @return string - */ - public function getKeyMarker() - { - return $this->keyMarker; - } - - /** - * - * @return string - */ - public function getUploadIdMarker() - { - return $this->uploadIdMarker; - } - - /** - * @return string - */ - public function getNextKeyMarker() - { - return $this->nextKeyMarker; - } - - /** - * @return string - */ - public function getNextUploadIdMarker() - { - return $this->nextUploadIdMarker; - } - - /** - * @return string - */ - public function getDelimiter() - { - return $this->delimiter; - } - - /** - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } - - /** - * @return int - */ - public function getMaxUploads() - { - return $this->maxUploads; - } - - /** - * @return string - */ - public function getIsTruncated() - { - return $this->isTruncated; - } - - /** - * @return UploadInfo[] - */ - public function getUploads() - { - return $this->uploads; - } - - private $bucket = ""; - private $keyMarker = ""; - private $uploadIdMarker = ""; - private $nextKeyMarker = ""; - private $nextUploadIdMarker = ""; - private $delimiter = ""; - private $prefix = ""; - private $maxUploads = 0; - private $isTruncated = "false"; - private $uploads = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ListPartsInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ListPartsInfo.php deleted file mode 100644 index f1d10ee9..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ListPartsInfo.php +++ /dev/null @@ -1,97 +0,0 @@ -bucket = $bucket; - $this->key = $key; - $this->uploadId = $uploadId; - $this->nextPartNumberMarker = $nextPartNumberMarker; - $this->maxParts = $maxParts; - $this->isTruncated = $isTruncated; - $this->listPart = $listPart; - } - - /** - * @return string - */ - public function getBucket() - { - return $this->bucket; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getUploadId() - { - return $this->uploadId; - } - - /** - * @return int - */ - public function getNextPartNumberMarker() - { - return $this->nextPartNumberMarker; - } - - /** - * @return int - */ - public function getMaxParts() - { - return $this->maxParts; - } - - /** - * @return string - */ - public function getIsTruncated() - { - return $this->isTruncated; - } - - /** - * @return array - */ - public function getListPart() - { - return $this->listPart; - } - - private $bucket = ""; - private $key = ""; - private $uploadId = ""; - private $nextPartNumberMarker = 0; - private $maxParts = 0; - private $isTruncated = ""; - private $listPart = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelConfig.php deleted file mode 100644 index dadedc91..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelConfig.php +++ /dev/null @@ -1,121 +0,0 @@ -description = $option['description']; - } - if (isset($option['status'])) { - $this->status = $option['status']; - } - if (isset($option['type'])) { - $this->type = $option['type']; - } - if (isset($option['fragDuration'])) { - $this->fragDuration = $option['fragDuration']; - } - if (isset($option['fragCount'])) { - $this->fragCount = $option['fragCount']; - } - if (isset($option['playListName'])) { - $this->playListName = $option['playListName']; - } - } - - public function getDescription() - { - return $this->description; - } - - public function getStatus() - { - return $this->status; - } - - public function getType() - { - return $this->type; - } - - public function getFragDuration() - { - return $this->fragDuration; - } - - public function getFragCount() - { - return $this->fragCount; - } - - public function getPlayListName() - { - return $this->playListName; - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - $this->description = strval($xml->Description); - $this->status = strval($xml->Status); - $target = $xml->Target; - $this->type = strval($target->Type); - $this->fragDuration = intval($target->FragDuration); - $this->fragCount = intval($target->FragCount); - $this->playListName = strval($target->PlayListName); - } - - public function serializeToXml() - { - $strXml = << - - -EOF; - $xml = new \SimpleXMLElement($strXml); - if (isset($this->description)) { - $xml->addChild('Description', $this->description); - } - - if (isset($this->status)) { - $xml->addChild('Status', $this->status); - } - - $node = $xml->addChild('Target'); - $node->addChild('Type', $this->type); - - if (isset($this->fragDuration)) { - $node->addChild('FragDuration', $this->fragDuration); - } - - if (isset($this->fragCount)) { - $node->addChild('FragCount', $this->fragCount); - } - - if (isset($this->playListName)) { - $node->addChild('PlayListName', $this->playListName); - } - - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - private $description; - private $status = "enabled"; - private $type; - private $fragDuration = 5; - private $fragCount = 3; - private $playListName = "playlist.m3u8"; -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelHistory.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelHistory.php deleted file mode 100644 index 1c1fd4db..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelHistory.php +++ /dev/null @@ -1,59 +0,0 @@ -startTime; - } - - public function getEndTime() - { - return $this->endTime; - } - - public function getRemoteAddr() - { - return $this->remoteAddr; - } - - public function parseFromXmlNode($xml) - { - if (isset($xml->StartTime)) { - $this->startTime = strval($xml->StartTime); - } - - if (isset($xml->EndTime)) { - $this->endTime = strval($xml->EndTime); - } - - if (isset($xml->RemoteAddr)) { - $this->remoteAddr = strval($xml->RemoteAddr); - } - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - $this->parseFromXmlNode($xml); - } - - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - private $startTime; - private $endTime; - private $remoteAddr; -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelInfo.php deleted file mode 100644 index c63ec54d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelInfo.php +++ /dev/null @@ -1,107 +0,0 @@ -name = $name; - $this->description = $description; - $this->publishUrls = array(); - $this->playUrls = array(); - } - - public function getName() - { - return $this->name; - } - - public function setName($name) - { - $this->name = $name; - } - - public function getPublishUrls() - { - return $this->publishUrls; - } - - public function getPlayUrls() - { - return $this->playUrls; - } - - public function getStatus() - { - return $this->status; - } - - public function getLastModified() - { - return $this->lastModified; - } - - public function getDescription() - { - return $this->description; - } - - public function setDescription($description) - { - $this->description = $description; - } - - public function parseFromXmlNode($xml) - { - if (isset($xml->Name)) { - $this->name = strval($xml->Name); - } - - if (isset($xml->Description)) { - $this->description = strval($xml->Description); - } - - if (isset($xml->Status)) { - $this->status = strval($xml->Status); - } - - if (isset($xml->LastModified)) { - $this->lastModified = strval($xml->LastModified); - } - - if (isset($xml->PublishUrls)) { - foreach ($xml->PublishUrls as $url) { - $this->publishUrls[] = strval($url->Url); - } - } - - if (isset($xml->PlayUrls)) { - foreach ($xml->PlayUrls as $url) { - $this->playUrls[] = strval($url->Url); - } - } - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - $this->parseFromXmlNode($xml); - } - - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - private $name; - private $description; - private $publishUrls; - private $playUrls; - private $status; - private $lastModified; -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelListInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelListInfo.php deleted file mode 100644 index f4ee02f6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LiveChannelListInfo.php +++ /dev/null @@ -1,107 +0,0 @@ -bucket; - } - - public function setBucketName($name) - { - $this->bucket = $name; - } - - /** - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } - - /** - * @return string - */ - public function getMarker() - { - return $this->marker; - } - - /** - * @return int - */ - public function getMaxKeys() - { - return $this->maxKeys; - } - - /** - * @return mixed - */ - public function getIsTruncated() - { - return $this->isTruncated; - } - - /** - * @return LiveChannelInfo[] - */ - public function getChannelList() - { - return $this->channelList; - } - - /** - * @return string - */ - public function getNextMarker() - { - return $this->nextMarker; - } - - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - - $this->prefix = strval($xml->Prefix); - $this->marker = strval($xml->Marker); - $this->maxKeys = intval($xml->MaxKeys); - $this->isTruncated = (strval($xml->IsTruncated) == 'true'); - $this->nextMarker = strval($xml->NextMarker); - - if (isset($xml->LiveChannel)) { - foreach ($xml->LiveChannel as $chan) { - $channel = new LiveChannelInfo(); - $channel->parseFromXmlNode($chan); - $this->channelList[] = $channel; - } - } - } - - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - private $bucket = ''; - private $prefix = ''; - private $marker = ''; - private $nextMarker = ''; - private $maxKeys = 100; - private $isTruncated = 'false'; - private $channelList = array(); -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LoggingConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LoggingConfig.php deleted file mode 100644 index ed9fb1db..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/LoggingConfig.php +++ /dev/null @@ -1,86 +0,0 @@ -targetBucket = $targetBucket; - $this->targetPrefix = $targetPrefix; - } - - /** - * @param $strXml - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (!isset($xml->LoggingEnabled)) return; - foreach ($xml->LoggingEnabled as $status) { - foreach ($status as $key => $value) { - if ($key === 'TargetBucket') { - $this->targetBucket = strval($value); - } elseif ($key === 'TargetPrefix') { - $this->targetPrefix = strval($value); - } - } - break; - } - } - - /** - * Serialize to xml string - * - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - if (isset($this->targetBucket) && isset($this->targetPrefix)) { - $loggingEnabled = $xml->addChild('LoggingEnabled'); - $loggingEnabled->addChild('TargetBucket', $this->targetBucket); - $loggingEnabled->addChild('TargetPrefix', $this->targetPrefix); - } - return $xml->asXML(); - } - - /** - * @return string - */ - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return string - */ - public function getTargetBucket() - { - return $this->targetBucket; - } - - /** - * @return string - */ - public function getTargetPrefix() - { - return $this->targetPrefix; - } - - private $targetBucket = ""; - private $targetPrefix = ""; - -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectInfo.php deleted file mode 100644 index 891f8625..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectInfo.php +++ /dev/null @@ -1,93 +0,0 @@ -key = $key; - $this->lastModified = $lastModified; - $this->eTag = $eTag; - $this->type = $type; - $this->size = $size; - $this->storageClass = $storageClass; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getLastModified() - { - return $this->lastModified; - } - - /** - * @return string - */ - public function getETag() - { - return $this->eTag; - } - - /** - * @return string - */ - public function getType() - { - return $this->type; - } - - /** - * @return int - */ - public function getSize() - { - return $this->size; - } - - /** - * @return string - */ - public function getStorageClass() - { - return $this->storageClass; - } - - private $key = ""; - private $lastModified = ""; - private $eTag = ""; - private $type = ""; - private $size = 0; - private $storageClass = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectListInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectListInfo.php deleted file mode 100644 index 81c5d27b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectListInfo.php +++ /dev/null @@ -1,126 +0,0 @@ -bucketName = $bucketName; - $this->prefix = $prefix; - $this->marker = $marker; - $this->nextMarker = $nextMarker; - $this->maxKeys = $maxKeys; - $this->delimiter = $delimiter; - $this->isTruncated = $isTruncated; - $this->objectList = $objectList; - $this->prefixList = $prefixList; - } - - /** - * @return string - */ - public function getBucketName() - { - return $this->bucketName; - } - - /** - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } - - /** - * @return string - */ - public function getMarker() - { - return $this->marker; - } - - /** - * @return int - */ - public function getMaxKeys() - { - return $this->maxKeys; - } - - /** - * @return string - */ - public function getDelimiter() - { - return $this->delimiter; - } - - /** - * @return mixed - */ - public function getIsTruncated() - { - return $this->isTruncated; - } - - /** - * Get the ObjectInfo list. - * - * @return ObjectInfo[] - */ - public function getObjectList() - { - return $this->objectList; - } - - /** - * Get the PrefixInfo list - * - * @return PrefixInfo[] - */ - public function getPrefixList() - { - return $this->prefixList; - } - - /** - * @return string - */ - public function getNextMarker() - { - return $this->nextMarker; - } - - private $bucketName = ""; - private $prefix = ""; - private $marker = ""; - private $nextMarker = ""; - private $maxKeys = 0; - private $delimiter = ""; - private $isTruncated = null; - private $objectList = array(); - private $prefixList = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionInfo.php deleted file mode 100644 index 407315d2..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionInfo.php +++ /dev/null @@ -1,114 +0,0 @@ -key = $key; - $this->versionId = $versionId; - $this->lastModified = $lastModified; - $this->eTag = $eTag; - $this->type = $type; - $this->size = $size; - $this->storageClass = $storageClass; - $this->isLatest = $isLatest; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getVersionId() - { - return $this->versionId; - } - - /** - * @return string - */ - public function getLastModified() - { - return $this->lastModified; - } - - /** - * @return string - */ - public function getETag() - { - return $this->eTag; - } - - /** - * @return string - */ - public function getType() - { - return $this->type; - } - - /** - * @return int - */ - public function getSize() - { - return $this->size; - } - - /** - * @return string - */ - public function getStorageClass() - { - return $this->storageClass; - } - - /** - * @return string - */ - public function getIsLatest() - { - return $this->isLatest; - } - - private $key = ""; - private $versionId = ""; - private $lastModified = ""; - private $eTag = ""; - private $type = ""; - private $size = 0; - private $storageClass = ""; - private $isLatest = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php deleted file mode 100644 index c94210d0..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php +++ /dev/null @@ -1,162 +0,0 @@ -bucketName = $bucketName; - $this->prefix = $prefix; - $this->keyMarker = $keyMarker; - $this->nextKeyMarker = $nextKeyMarker; - $this->versionIdMarker = $versionIdMarker; - $this->nextVersionIdMarker = $nextVersionIdMarker; - $this->maxKeys = $maxKeys; - $this->delimiter = $delimiter; - $this->isTruncated = $isTruncated; - $this->objectVersionList = $objectversionList; - $this->deleteMarkerList = $deleteMarkerList; - $this->prefixList = $prefixList; - } - - /** - * @return string - */ - public function getBucketName() - { - return $this->bucketName; - } - - /** - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } - - /** - * @return string - */ - public function getKeyMarker() - { - return $this->keyMarker; - } - - /** - * @return string - */ - public function getNextKeyMarker() - { - return $this->nextKeyMarker; - } - - /** - * @return string - */ - public function getVersionIdMarker() - { - return $this->versionIdMarker; - } - - /** - * @return string - */ - public function getNextVersionIdMarker() - { - return $this->nextVersionIdMarker; - } - - /** - * @return int - */ - public function getMaxKeys() - { - return $this->maxKeys; - } - - /** - * @return string - */ - public function getDelimiter() - { - return $this->delimiter; - } - - /** - * @return mixed - */ - public function getIsTruncated() - { - return $this->isTruncated; - } - - /** - * Get the ObjectVersionInfo list. - * - * @return ObjectVersionInfo[] - */ - public function getObjectVersionList() - { - return $this->objectVersionList; - } - - /** - * Get the DeleteMarkerInfo list. - * - * @return DeleteMarkerInfo[] - */ - public function getDeleteMarkerList() - { - return $this->deleteMarkerList; - } - - /** - * Get the PrefixInfo list - * - * @return PrefixInfo[] - */ - public function getPrefixList() - { - return $this->prefixList; - } - - private $bucketName = ""; - private $prefix = ""; - private $keyMarker = ""; - private $nextKeyMarker = ""; - private $versionIdmarker = ""; - private $nextVersionIdMarker = ""; - private $maxKeys = 0; - private $delimiter = ""; - private $isTruncated = null; - private $objectVersionList = array(); - private $deleteMarkerList = array(); - private $prefixList = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/PartInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/PartInfo.php deleted file mode 100644 index 439a84d3..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/PartInfo.php +++ /dev/null @@ -1,63 +0,0 @@ -partNumber = $partNumber; - $this->lastModified = $lastModified; - $this->eTag = $eTag; - $this->size = $size; - } - - /** - * @return int - */ - public function getPartNumber() - { - return $this->partNumber; - } - - /** - * @return string - */ - public function getLastModified() - { - return $this->lastModified; - } - - /** - * @return string - */ - public function getETag() - { - return $this->eTag; - } - - /** - * @return int - */ - public function getSize() - { - return $this->size; - } - - private $partNumber = 0; - private $lastModified = ""; - private $eTag = ""; - private $size = 0; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/PrefixInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/PrefixInfo.php deleted file mode 100644 index 27920b9f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/PrefixInfo.php +++ /dev/null @@ -1,36 +0,0 @@ -prefix = $prefix; - } - - /** - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } - - private $prefix; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RefererConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RefererConfig.php deleted file mode 100644 index 08301439..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RefererConfig.php +++ /dev/null @@ -1,93 +0,0 @@ -AllowEmptyReferer)) return; - if (!isset($xml->RefererList)) return; - $this->allowEmptyReferer = - (strval($xml->AllowEmptyReferer) === 'TRUE' || strval($xml->AllowEmptyReferer) === 'true') ? true : false; - - foreach ($xml->RefererList->Referer as $key => $refer) { - $this->refererList[] = strval($refer); - } - } - - - /** - * serialize the RefererConfig object into xml string - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - if ($this->allowEmptyReferer) { - $xml->addChild('AllowEmptyReferer', 'true'); - } else { - $xml->addChild('AllowEmptyReferer', 'false'); - } - $refererList = $xml->addChild('RefererList'); - foreach ($this->refererList as $referer) { - $refererList->addChild('Referer', $referer); - } - return $xml->asXML(); - } - - /** - * @return string - */ - function __toString() - { - return $this->serializeToXml(); - } - - /** - * @param boolean $allowEmptyReferer - */ - public function setAllowEmptyReferer($allowEmptyReferer) - { - $this->allowEmptyReferer = $allowEmptyReferer; - } - - /** - * @param string $referer - */ - public function addReferer($referer) - { - $this->refererList[] = $referer; - } - - /** - * @return boolean - */ - public function isAllowEmptyReferer() - { - return $this->allowEmptyReferer; - } - - /** - * @return array - */ - public function getRefererList() - { - return $this->refererList; - } - - private $allowEmptyReferer = true; - private $refererList = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RequestPaymentConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RequestPaymentConfig.php deleted file mode 100644 index 6b32060d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RequestPaymentConfig.php +++ /dev/null @@ -1,68 +0,0 @@ -payer = $payer; - } - - /** - * Parse ServerSideEncryptionConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (isset($xml->Payer)) { - $this->payer = strval($xml->Payer); - } - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - if (isset($this->payer)) { - $xml->addChild('Payer', $this->payer); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return string - */ - public function getPayer() - { - return $this->payer; - } - - private $payer = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RestoreConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RestoreConfig.php deleted file mode 100644 index 156852a4..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/RestoreConfig.php +++ /dev/null @@ -1,77 +0,0 @@ -day = $day; - $this->tier = $tier; - } - - /** - * Parse RestoreConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - throw new OssException("Not implemented."); - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - $xml->addChild('Days', strval($this->day)); - if (isset($this->tier)) { - $xml_param = $xml->addChild('JobParameters'); - $xml_param->addChild('Tier', $this->tier); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return int - */ - public function getDay() - { - return $this->day; - } - - /** - * @return string - */ - public function getTier() - { - return $this->tier; - } - - private $day = 1; - private $tier = 'Standard'; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ServerSideEncryptionConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ServerSideEncryptionConfig.php deleted file mode 100644 index e3a190b8..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ServerSideEncryptionConfig.php +++ /dev/null @@ -1,91 +0,0 @@ -sseAlgorithm = $sseAlgorithm; - $this->kmsMasterKeyID = $kmsMasterKeyID; - } - - /** - * Parse ServerSideEncryptionConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (!isset($xml->ApplyServerSideEncryptionByDefault)) return; - foreach ($xml->ApplyServerSideEncryptionByDefault as $default) { - foreach ($default as $key => $value) { - if ($key === 'SSEAlgorithm') { - $this->sseAlgorithm = strval($value); - } elseif ($key === 'KMSMasterKeyID') { - $this->kmsMasterKeyID = strval($value); - } - } - break; - } - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - $default = $xml->addChild('ApplyServerSideEncryptionByDefault'); - if (isset($this->sseAlgorithm)) { - $default->addChild('SSEAlgorithm', $this->sseAlgorithm); - } - if (isset($this->kmsMasterKeyID)) { - $default->addChild('KMSMasterKeyID', $this->kmsMasterKeyID); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return string - */ - public function getSSEAlgorithm() - { - return $this->sseAlgorithm; - } - - /** - * @return string - */ - public function getKMSMasterKeyID() - { - return $this->kmsMasterKeyID; - } - - private $sseAlgorithm = ""; - private $kmsMasterKeyID = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/StorageCapacityConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/StorageCapacityConfig.php deleted file mode 100644 index 39a9e72b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/StorageCapacityConfig.php +++ /dev/null @@ -1,76 +0,0 @@ -storageCapacity = $storageCapacity; - } - - /** - * Not implemented - */ - public function parseFromXml($strXml) - { - throw new OssException("Not implemented."); - } - - /** - * Serialize StorageCapacityConfig into xml - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - $xml->addChild('StorageCapacity', strval($this->storageCapacity)); - return $xml->asXML(); - } - - /** - * To string - * - * @return string - */ - function __toString() - { - return $this->serializeToXml(); - } - - /** - * Set storage capacity - * - * @param int $storageCapacity - */ - public function setStorageCapacity($storageCapacity) - { - $this->storageCapacity = $storageCapacity; - } - - /** - * Get storage capacity - * - * @return int - */ - public function getStorageCapacity() - { - return $this->storageCapacity; - } - - private $storageCapacity = 0; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/Tag.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/Tag.php deleted file mode 100644 index 509bd6e7..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/Tag.php +++ /dev/null @@ -1,41 +0,0 @@ -key = $key; - $this->value = $value; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getValue() - { - return $this->value; - } - - private $key = ""; - private $value = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/TaggingConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/TaggingConfig.php deleted file mode 100644 index 09fa3230..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/TaggingConfig.php +++ /dev/null @@ -1,89 +0,0 @@ -tags = array(); - } - - /** - * Get Tag list - * - * @return Tag[] - */ - public function getTags() - { - return $this->tags; - } - - - /** - * Add a new Tag - * - * @param Tag $tag - * @throws OssException - */ - public function addTag($tag) - { - $this->tags[] = $tag; - } - - /** - * Parse TaggingConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (!isset($xml->TagSet) || !isset($xml->TagSet->Tag)) return; - foreach ($xml->TagSet->Tag as $tag) { - $this->addTag(new Tag($tag->Key, $tag->Value)); - } - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - $xmlTagSet = $xml->addChild('TagSet'); - foreach ($this->tags as $tag) { - $xmlTag = $xmlTagSet->addChild('Tag'); - $xmlTag->addChild('Key', strval($tag->getKey())); - $xmlTag->addChild('Value', strval($tag->getValue())); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * Tag list - * - * @var Tag[] - */ - private $tags = array(); -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/UploadInfo.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/UploadInfo.php deleted file mode 100644 index 49aa414e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/UploadInfo.php +++ /dev/null @@ -1,55 +0,0 @@ -key = $key; - $this->uploadId = $uploadId; - $this->initiated = $initiated; - } - - /** - * @return string - */ - public function getKey() - { - return $this->key; - } - - /** - * @return string - */ - public function getUploadId() - { - return $this->uploadId; - } - - /** - * @return string - */ - public function getInitiated() - { - return $this->initiated; - } - - private $key = ""; - private $uploadId = ""; - private $initiated = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/VersioningConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/VersioningConfig.php deleted file mode 100644 index 992a80fe..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/VersioningConfig.php +++ /dev/null @@ -1,67 +0,0 @@ -status = $status; - } - - /** - * Parse VersioningConfig from the xml. - * - * @param string $strXml - * @throws OssException - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (isset($xml->Status)) { - $this->status = strval($xml->Status); - } - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - if (isset($this->status)) { - $xml->addChild('Status', $this->status); - } - return $xml->asXML(); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return string - */ - public function getStatus() - { - return $this->status; - } - - private $status = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/WebsiteConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/WebsiteConfig.php deleted file mode 100644 index e298eb46..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/WebsiteConfig.php +++ /dev/null @@ -1,76 +0,0 @@ -indexDocument = $indexDocument; - $this->errorDocument = $errorDocument; - } - - /** - * @param string $strXml - * @return null - */ - public function parseFromXml($strXml) - { - $xml = simplexml_load_string($strXml); - if (isset($xml->IndexDocument) && isset($xml->IndexDocument->Suffix)) { - $this->indexDocument = strval($xml->IndexDocument->Suffix); - } - if (isset($xml->ErrorDocument) && isset($xml->ErrorDocument->Key)) { - $this->errorDocument = strval($xml->ErrorDocument->Key); - } - } - - /** - * Serialize the WebsiteConfig object into xml string. - * - * @return string - * @throws OssException - */ - public function serializeToXml() - { - $xml = new \SimpleXMLElement(''); - $index_document_part = $xml->addChild('IndexDocument'); - $error_document_part = $xml->addChild('ErrorDocument'); - $index_document_part->addChild('Suffix', $this->indexDocument); - $error_document_part->addChild('Key', $this->errorDocument); - return $xml->asXML(); - } - - /** - * @return string - */ - public function getIndexDocument() - { - return $this->indexDocument; - } - - /** - * @return string - */ - public function getErrorDocument() - { - return $this->errorDocument; - } - - private $indexDocument = ""; - private $errorDocument = ""; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/WormConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/WormConfig.php deleted file mode 100644 index 6a489560..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/WormConfig.php +++ /dev/null @@ -1,90 +0,0 @@ -WormId)) { - $this->wormId = strval($xml->WormId); - } - if (isset($xml->State)) { - $this->state = strval($xml->State); - } - if (isset($xml->RetentionPeriodInDays)) { - $this->day = intval($xml->RetentionPeriodInDays); - } - if (isset($xml->CreationDate)) { - $this->creationDate = strval($xml->CreationDate); - } - } - - /** - * Serialize the object into xml string. - * - * @return string - */ - public function serializeToXml() - { - throw new OssException("Not implemented."); - } - - public function __toString() - { - return $this->serializeToXml(); - } - - /** - * @return string - */ - public function getWormId() - { - return $this->wormId; - } - - /** - * @return string - */ - public function getState() - { - return $this->state; - } - - /** - * @return int - */ - public function getDay() - { - return $this->day; - } - - /** - * @return string - */ - public function getCreationDate() - { - return $this->creationDate; - } - - private $wormId = ''; - private $state = ''; - private $creationDate = ''; - private $day = 0; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/XmlConfig.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/XmlConfig.php deleted file mode 100644 index 8c0a0db1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/XmlConfig.php +++ /dev/null @@ -1,27 +0,0 @@ -hostname = $this->checkEndpoint($endpoint, $isCName); - $this->accessKeyId = $accessKeyId; - $this->accessKeySecret = $accessKeySecret; - $this->securityToken = $securityToken; - $this->requestProxy = $requestProxy; - self::checkEnv(); - } - - /** - * Lists the Bucket [GetService]. Not applicable if the endpoint is CName (because CName must be binded to a specific bucket). - * - * @param array $options - * @throws OssException - * @return BucketListInfo - */ - public function listBuckets($options = NULL) - { - if ($this->hostType === self::OSS_HOST_TYPE_CNAME) { - throw new OssException("operation is not permitted with CName host"); - } - $this->precheckOptions($options); - $options[self::OSS_BUCKET] = ''; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $response = $this->auth($options); - $result = new ListBucketsResult($response); - return $result->getData(); - } - - /** - * Creates bucket,The ACL of the bucket created by default is OssClient::OSS_ACL_TYPE_PRIVATE - * - * @param string $bucket - * @param string $acl - * @param array $options - * @param string $storageType - * @return null - */ - public function createBucket($bucket, $acl = self::OSS_ACL_TYPE_PRIVATE, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_HEADERS] = array(self::OSS_ACL => $acl); - if (isset($options[self::OSS_STORAGE])) { - $this->precheckStorage($options[self::OSS_STORAGE]); - $options[self::OSS_CONTENT] = OssUtil::createBucketXmlBody($options[self::OSS_STORAGE]); - unset($options[self::OSS_STORAGE]); - } - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Deletes bucket - * The deletion will not succeed if the bucket is not empty (either has objects or parts) - * To delete a bucket, all its objects and parts must be deleted first. - * - * @param string $bucket - * @param array $options - * @return null - */ - public function deleteBucket($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Checks if a bucket exists - * - * @param string $bucket - * @return bool - * @throws OssException - */ - public function doesBucketExist($bucket) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'acl'; - $response = $this->auth($options); - $result = new ExistResult($response); - return $result->getData(); - } - - /** - * Get the data center location information for the bucket - * - * @param string $bucket - * @param array $options - * @throws OssException - * @return string - */ - public function getBucketLocation($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'location'; - $response = $this->auth($options); - $result = new GetLocationResult($response); - return $result->getData(); - } - - /** - * Get the Meta information for the Bucket - * - * @param string $bucket - * @param array $options Refer to the SDK documentation - * @return array - */ - public function getBucketMeta($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_HEAD; - $options[self::OSS_OBJECT] = '/'; - $response = $this->auth($options); - $result = new HeaderResult($response); - return $result->getData(); - } - - /** - * Gets the bucket ACL - * - * @param string $bucket - * @param array $options - * @throws OssException - * @return string - */ - public function getBucketAcl($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'acl'; - $response = $this->auth($options); - $result = new AclResult($response); - return $result->getData(); - } - - /** - * Sets the bucket ACL - * - * @param string $bucket bucket name - * @param string $acl access permissions, valid values are ['private', 'public-read', 'public-read-write'] - * @param array $options by default is empty - * @throws OssException - * @return null - */ - public function putBucketAcl($bucket, $acl, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_HEADERS] = array(self::OSS_ACL => $acl); - $options[self::OSS_SUB_RESOURCE] = 'acl'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets object ACL - * - * @param string $bucket - * @param string $object - * @param array $options - * @throws OssException - * @return string - */ - public function getObjectAcl($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options, true); - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = 'acl'; - $response = $this->auth($options); - $result = new AclResult($response); - return $result->getData(); - } - - /** - * Sets the object ACL - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $acl access permissions, valid values are ['default', 'private', 'public-read', 'public-read-write'] - * @param array $options - * @throws OssException - * @return null - */ - public function putObjectAcl($bucket, $object, $acl, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options, true); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_HEADERS] = array(self::OSS_OBJECT_ACL => $acl); - $options[self::OSS_SUB_RESOURCE] = 'acl'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the bucket logging config - * - * @param string $bucket bucket name - * @param array $options by default is empty - * @throws OssException - * @return LoggingConfig - */ - public function getBucketLogging($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'logging'; - $response = $this->auth($options); - $result = new GetLoggingResult($response); - return $result->getData(); - } - - /** - * Sets the bycket logging config. Only owner can call this API. - * - * @param string $bucket bucket name - * @param string $targetBucket The logging file's bucket - * @param string $targetPrefix The logging file's prefix - * @param array $options By default is empty. - * @throws OssException - * @return null - */ - public function putBucketLogging($bucket, $targetBucket, $targetPrefix, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $this->precheckBucket($targetBucket, 'targetbucket is not allowed empty'); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'logging'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - - $loggingConfig = new LoggingConfig($targetBucket, $targetPrefix); - $options[self::OSS_CONTENT] = $loggingConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Deletes the bucket logging config - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketLogging($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'logging'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Sets the website config in bucket---that is could make the bucket as a static website once the CName is binded. - * - * @param string $bucket bucket name - * @param WebsiteConfig $websiteConfig - * @param array $options - * @throws OssException - * @return null - */ - public function putBucketWebsite($bucket, $websiteConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'website'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $websiteConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the website config in the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return WebsiteConfig - */ - public function getBucketWebsite($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'website'; - $response = $this->auth($options); - $result = new GetWebsiteResult($response); - return $result->getData(); - } - - /** - * Deletes the website config in the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketWebsite($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'website'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Sets the cross-origin-resource-sharing (CORS) rule. It would overwrite the originl one. - * - * @param string $bucket bucket name - * @param CorsConfig $corsConfig CORS config. Check out the details from OSS API document - * @param array $options array - * @throws OssException - * @return null - */ - public function putBucketCors($bucket, $corsConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'cors'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $corsConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the bucket CORS config - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return CorsConfig - */ - public function getBucketCors($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'cors'; - $response = $this->auth($options); - $result = new GetCorsResult($response, __FUNCTION__); - return $result->getData(); - } - - /** - * Deletes the bucket's CORS config and disable the CORS on the bucket. - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketCors($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'cors'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Bind a CName for the bucket - * - * @param string $bucket bucket name - * @param string $cname - * @param array $options - * @throws OssException - * @return null - */ - public function addBucketCname($bucket, $cname, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'cname'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $cnameConfig = new CnameConfig(); - $cnameConfig->addCname($cname); - $options[self::OSS_CONTENT] = $cnameConfig->serializeToXml(); - $options[self::OSS_COMP] = 'add'; - - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the binded CName list of the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return CnameConfig - */ - public function getBucketCname($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'cname'; - $response = $this->auth($options); - $result = new GetCnameResult($response); - return $result->getData(); - } - - /** - * Remove a CName binding from the bucket - * - * @param string $bucket bucket name - * @param CnameConfig $cnameConfig - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketCname($bucket, $cname, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'cname'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $cnameConfig = new CnameConfig(); - $cnameConfig->addCname($cname); - $options[self::OSS_CONTENT] = $cnameConfig->serializeToXml(); - $options[self::OSS_COMP] = 'delete'; - - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Creates a Live Channel under a bucket - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param LiveChannelConfig $channelConfig - * @param array $options - * @throws OssException - * @return LiveChannelInfo - */ - public function putBucketLiveChannel($bucket, $channelName, $channelConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $channelName; - $options[self::OSS_SUB_RESOURCE] = 'live'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $channelConfig->serializeToXml(); - - $response = $this->auth($options); - $result = new PutLiveChannelResult($response); - $info = $result->getData(); - $info->setName($channelName); - $info->setDescription($channelConfig->getDescription()); - - return $info; - } - - /** - * Sets the LiveChannel status - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param string channelStatus $channelStatus enabled or disabled - * @param array $options - * @throws OssException - * @return null - */ - public function putLiveChannelStatus($bucket, $channelName, $channelStatus, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $channelName; - $options[self::OSS_SUB_RESOURCE] = 'live'; - $options[self::OSS_LIVE_CHANNEL_STATUS] = $channelStatus; - - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the LiveChannel information by the channel name - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param array $options - * @throws OssException - * @return GetLiveChannelInfo - */ - public function getLiveChannelInfo($bucket, $channelName, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = $channelName; - $options[self::OSS_SUB_RESOURCE] = 'live'; - - $response = $this->auth($options); - $result = new GetLiveChannelInfoResult($response); - return $result->getData(); - } - - /** - * Gets the status of LiveChannel - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param array $options - * @throws OssException - * @return GetLiveChannelStatus - */ - public function getLiveChannelStatus($bucket, $channelName, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = $channelName; - $options[self::OSS_SUB_RESOURCE] = 'live'; - $options[self::OSS_COMP] = 'stat'; - - $response = $this->auth($options); - $result = new GetLiveChannelStatusResult($response); - return $result->getData(); - } - - /** - * Gets the LiveChannel pushing streaming record - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param array $options - * @throws OssException - * @return GetLiveChannelHistory - */ - public function getLiveChannelHistory($bucket, $channelName, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = $channelName; - $options[self::OSS_SUB_RESOURCE] = 'live'; - $options[self::OSS_COMP] = 'history'; - - $response = $this->auth($options); - $result = new GetLiveChannelHistoryResult($response); - return $result->getData(); - } - - /** - *Gets the live channel list under a bucket. - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return LiveChannelListInfo - */ - public function listBucketLiveChannels($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'live'; - $options[self::OSS_QUERY_STRING] = array( - 'prefix' => isset($options['prefix']) ? $options['prefix'] : '', - 'marker' => isset($options['marker']) ? $options['marker'] : '', - 'max-keys' => isset($options['max-keys']) ? $options['max-keys'] : '', - ); - $response = $this->auth($options); - $result = new ListLiveChannelResult($response); - $list = $result->getData(); - $list->setBucketName($bucket); - - return $list; - } - - /** - * Creates a play list file for the LiveChannel - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param string $playlistName The playlist name, must end with ".m3u8". - * @param array $setTime startTime and EndTime in unix time. No more than 1 day. - * @throws OssException - * @return null - */ - public function postVodPlaylist($bucket, $channelName, $playlistName, $setTime) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_OBJECT] = $channelName . '/' . $playlistName; - $options[self::OSS_SUB_RESOURCE] = 'vod'; - $options[self::OSS_LIVE_CHANNEL_END_TIME] = $setTime['EndTime']; - $options[self::OSS_LIVE_CHANNEL_START_TIME] = $setTime['StartTime']; - - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Deletes the Bucket LiveChannel - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketLiveChannel($bucket, $channelName, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = $channelName; - $options[self::OSS_SUB_RESOURCE] = 'live'; - - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Generates the signed pushing streaming url - * - * @param string $bucket bucket name - * @param string channelName $channelName - * @param int timeout timeout value in seconds - * @param array $options - * @throws OssException - * @return The signed pushing streaming url - */ - public function signRtmpUrl($bucket, $channelName, $timeout = 60, $options = NULL) - { - $this->precheckCommon($bucket, $channelName, $options, false); - $expires = time() + $timeout; - $proto = 'rtmp://'; - $hostname = $this->generateHostname($bucket); - $cano_params = ''; - $query_items = array(); - $params = isset($options['params']) ? $options['params'] : array(); - uksort($params, 'strnatcasecmp'); - foreach ($params as $key => $value) { - $cano_params = $cano_params . $key . ':' . $value . "\n"; - $query_items[] = rawurlencode($key) . '=' . rawurlencode($value); - } - $resource = '/' . $bucket . '/' . $channelName; - - $string_to_sign = $expires . "\n" . $cano_params . $resource; - $signature = base64_encode(hash_hmac('sha1', $string_to_sign, $this->accessKeySecret, true)); - - $query_items[] = 'OSSAccessKeyId=' . rawurlencode($this->accessKeyId); - $query_items[] = 'Expires=' . rawurlencode($expires); - $query_items[] = 'Signature=' . rawurlencode($signature); - - return $proto . $hostname . '/live/' . $channelName . '?' . implode('&', $query_items); - } - - /** - * Generates the signed pushing streaming url - * - * @param string $bucket bucket name - * @param string $channelName channel name - * @param int $expiration expiration time of the Url, unix epoch, since 1970.1.1 00.00.00 UTC - * @param array $options - * @throws OssException - * @return The signed pushing streaming url - */ - public function generatePresignedRtmpUrl($bucket, $channelName, $expiration, $options = NULL) - { - $this->precheckCommon($bucket, $channelName, $options, false); - $proto = 'rtmp://'; - $hostname = $this->generateHostname($bucket); - $cano_params = ''; - $query_items = array(); - $params = isset($options['params']) ? $options['params'] : array(); - uksort($params, 'strnatcasecmp'); - foreach ($params as $key => $value) { - $cano_params = $cano_params . $key . ':' . $value . "\n"; - $query_items[] = rawurlencode($key) . '=' . rawurlencode($value); - } - $resource = '/' . $bucket . '/' . $channelName; - - $string_to_sign = $expiration . "\n" . $cano_params . $resource; - $signature = base64_encode(hash_hmac('sha1', $string_to_sign, $this->accessKeySecret, true)); - - $query_items[] = 'OSSAccessKeyId=' . rawurlencode($this->accessKeyId); - $query_items[] = 'Expires=' . rawurlencode($expiration); - $query_items[] = 'Signature=' . rawurlencode($signature); - - return $proto . $hostname . '/live/' . $channelName . '?' . implode('&', $query_items); - } - - /** - * Precheck the CORS request. Before sending a CORS request, a preflight request (OPTIONS) is sent with the specific origin. - * HTTP METHOD and headers information are sent to OSS as well for evaluating if the CORS request is allowed. - * - * Note: OSS could enable the CORS on the bucket by calling putBucketCors. Once CORS is enabled, the OSS could evaluate accordingto the preflight request. - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $origin the origin of the request - * @param string $request_method The actual HTTP method which will be used in CORS request - * @param string $request_headers The actual HTTP headers which will be used in CORS request - * @param array $options - * @return array - * @throws OssException - * @link http://help.aliyun.com/document_detail/oss/api-reference/cors/OptionObject.html - */ - public function optionsObject($bucket, $object, $origin, $request_method, $request_headers, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_OPTIONS; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_HEADERS] = array( - self::OSS_OPTIONS_ORIGIN => $origin, - self::OSS_OPTIONS_REQUEST_HEADERS => $request_headers, - self::OSS_OPTIONS_REQUEST_METHOD => $request_method - ); - $response = $this->auth($options); - $result = new HeaderResult($response); - return $result->getData(); - } - - /** - * Sets the bucket's lifecycle config - * - * @param string $bucket bucket name - * @param LifecycleConfig $lifecycleConfig LifecycleConfig instance - * @param array $options - * @throws OssException - * @return null - */ - public function putBucketLifecycle($bucket, $lifecycleConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'lifecycle'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $lifecycleConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets bucket's lifecycle config - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return LifecycleConfig - */ - public function getBucketLifecycle($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'lifecycle'; - $response = $this->auth($options); - $result = new GetLifecycleResult($response); - return $result->getData(); - } - - /** - * Deletes the bucket's lifecycle config - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketLifecycle($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'lifecycle'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Sets a bucket's referer, which has a whitelist of referrer and specifies if empty referer is allowed. - * Checks out API document for more details about "Bucket Referer" - * - * @param string $bucket bucket name - * @param RefererConfig $refererConfig - * @param array $options - * @return ResponseCore - * @throws null - */ - public function putBucketReferer($bucket, $refererConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'referer'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $refererConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the bucket's Referer - * Checks out API document for more details about "Bucket Referer" - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return RefererConfig - */ - public function getBucketReferer($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'referer'; - $response = $this->auth($options); - $result = new GetRefererResult($response); - return $result->getData(); - } - - /** - * Set the size of the bucket,the unit is GB - * When the capacity of the bucket is bigger than the set, it's forbidden to continue writing - * - * @param string $bucket bucket name - * @param int $storageCapacity - * @param array $options - * @return ResponseCore - * @throws null - */ - public function putBucketStorageCapacity($bucket, $storageCapacity, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'qos'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $storageCapacityConfig = new StorageCapacityConfig($storageCapacity); - $options[self::OSS_CONTENT] = $storageCapacityConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Get the capacity of the bucket, the unit is GB - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return int - */ - public function getBucketStorageCapacity($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'qos'; - $response = $this->auth($options); - $result = new GetStorageCapacityResult($response); - return $result->getData(); - } - - /** - * Get the information of the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return BucketInfo - */ - public function getBucketInfo($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'bucketInfo'; - $response = $this->auth($options); - $result = new GetBucketInfoResult($response); - return $result->getData(); - } - - /** - * Get the stat of the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return BucketStat - */ - public function getBucketStat($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'stat'; - $response = $this->auth($options); - $result = new GetBucketStatResult($response); - return $result->getData(); - } - - /** - * Sets the bucket's policy - * - * @param string $bucket bucket name - * @param string $policy policy json format content - * @param array $options - * @throws OssException - * @return null - */ - public function putBucketPolicy($bucket, $policy, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'policy'; - $options[self::OSS_CONTENT_TYPE] = 'application/json'; - $options[self::OSS_CONTENT] = $policy; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets bucket's policy - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return string policy json content - */ - public function getBucketPolicy($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'policy'; - $response = $this->auth($options); - $result = new BodyResult($response); - return $result->getData(); - } - - /** - * Deletes the bucket's policy - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketPolicy($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'policy'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Sets the bucket's encryption - * - * @param string $bucket bucket name - * @param ServerSideEncryptionConfig $sseConfig - * @param array $options - * @throws OssException - * @return null - */ - public function putBucketEncryption($bucket, $sseConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'encryption'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $sseConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets bucket's encryption - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return ServerSideEncryptionConfig - */ - public function getBucketEncryption($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'encryption'; - $response = $this->auth($options); - $result = new GetBucketEncryptionResult($response); - return $result->getData(); - } - - /** - * Deletes the bucket's encryption - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketEncryption($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'encryption'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Set the request playment of the bucket, Can be BucketOwner and Requester - * - * @param string $bucket bucket name - * @param string $payer - * @param array $options - * @return ResponseCore - * @throws null - */ - public function putBucketRequestPayment($bucket, $payer, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'requestPayment'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $config = new RequestPaymentConfig($payer); - $options[self::OSS_CONTENT] = $config->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Get the request playment of the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return string - */ - public function getBucketRequestPayment($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'requestPayment'; - $response = $this->auth($options); - $result = new GetBucketRequestPaymentResult($response); - return $result->getData(); - } - - /** - * Sets the bucket's tags - * - * @param string $bucket bucket name - * @param TaggingConfig $taggingConfig - * @param array $options - * @throws OssException - * @return null - */ - public function putBucketTags($bucket, $taggingConfig, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = self::OSS_TAGGING; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $taggingConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets bucket's tags - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return TaggingConfig - */ - public function getBucketTags($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = self::OSS_TAGGING; - $response = $this->auth($options); - $result = new GetBucketTagsResult($response); - return $result->getData(); - } - - /** - * Deletes the bucket's tags - * If want to delete specified tags for a bucket, please set the $tags - * - * @param string $bucket bucket name - * @param tag[] $tags (optional) - * @param array $options - * @throws OssException - * @return null - */ - public function deleteBucketTags($bucket, $tags = NULL, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - if (empty($tags)) { - $options[self::OSS_SUB_RESOURCE] = self::OSS_TAGGING; - } else { - $value = ''; - foreach ($tags as $tag ) { - $value .= $tag->getKey().','; - } - $value = rtrim($value, ','); - $options[self::OSS_TAGGING] = $value; - } - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Set the versioning of the bucket, Can be BucketOwner and Requester - * - * @param string $bucket bucket name - * @param string $status - * @param array $options - * @return ResponseCore - * @throws null - */ - public function putBucketVersioning($bucket, $status, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'versioning'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $config = new VersioningConfig($status); - $options[self::OSS_CONTENT] = $config->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Get the versioning of the bucket - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return string - */ - public function getBucketVersioning($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'versioning'; - $response = $this->auth($options); - $result = new GetBucketVersioningResult($response); - return $result->getData(); - } - - /** - * Initialize a bucket's worm - * - * @param string $bucket bucket name - * @param int $day - * @param array $options - * @throws OssException - * @return string returns uploadid - */ - public function initiateBucketWorm($bucket, $day, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'worm'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $config = new InitiateWormConfig($day); - $options[self::OSS_CONTENT] = $config->serializeToXml(); - $response = $this->auth($options); - $result = new InitiateBucketWormResult($response); - return $result->getData(); - } - - /** - * Aborts the bucket's worm - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return null - */ - public function abortBucketWorm($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'worm'; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Complete a bucket's worm - * - * @param string $bucket bucket name - * @param string $wormId - * @param array $options - * @throws OssException - * @return string returns uploadid - */ - public function completeBucketWorm($bucket, $wormId, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_WORM_ID] = $wormId; - $options[self::OSS_CONTENT] = ''; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Extend a bucket's worm - * - * @param string $bucket bucket name - * @param string $wormId - * @param int $day - * @param array $options - * @throws OssException - * @return string returns uploadid - */ - public function extendBucketWorm($bucket, $wormId, $day, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_WORM_ID] = $wormId; - $options[self::OSS_SUB_RESOURCE] = 'wormExtend'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $config = new ExtendWormConfig($day); - $options[self::OSS_CONTENT] = $config->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Get a bucket's worm - * - * @param string $bucket bucket name - * @param array $options - * @throws OssException - * @return string - */ - public function getBucketWorm($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'worm'; - $response = $this->auth($options); - $result = new GetBucketWormResult($response); - return $result->getData(); - } - - /** - * Lists the bucket's object list (in ObjectListInfo) - * - * @param string $bucket - * @param array $options are defined below: - * $options = array( - * 'max-keys' => specifies max object count to return. By default is 100 and max value could be 1000. - * 'prefix' => specifies the key prefix the returned objects must have. Note that the returned keys still contain the prefix. - * 'delimiter' => The delimiter of object name for grouping object. When it's specified, listObjects will differeniate the object and folder. And it will return subfolder's objects. - * 'marker' => The key of returned object must be greater than the 'marker'. - *) - * Prefix and marker are for filtering and paging. Their length must be less than 256 bytes - * @throws OssException - * @return ObjectListInfo - */ - public function listObjects($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $query = isset($options[self::OSS_QUERY_STRING]) ? $options[self::OSS_QUERY_STRING] : array(); - $options[self::OSS_QUERY_STRING] = array_merge( - $query, - array(self::OSS_ENCODING_TYPE => self::OSS_ENCODING_TYPE_URL, - self::OSS_DELIMITER => isset($options[self::OSS_DELIMITER]) ? $options[self::OSS_DELIMITER] : '/', - self::OSS_PREFIX => isset($options[self::OSS_PREFIX]) ? $options[self::OSS_PREFIX] : '', - self::OSS_MAX_KEYS => isset($options[self::OSS_MAX_KEYS]) ? $options[self::OSS_MAX_KEYS] : self::OSS_MAX_KEYS_VALUE, - self::OSS_MARKER => isset($options[self::OSS_MARKER]) ? $options[self::OSS_MARKER] : '') - ); - - $response = $this->auth($options); - $result = new ListObjectsResult($response); - return $result->getData(); - } - - /** - * Lists the bucket's object with version information (in ObjectListInfo) - * - * @param string $bucket - * @param array $options are defined below: - * $options = array( - * 'max-keys' => specifies max object count to return. By default is 100 and max value could be 1000. - * 'prefix' => specifies the key prefix the returned objects must have. Note that the returned keys still contain the prefix. - * 'delimiter' => The delimiter of object name for grouping object. When it's specified, listObjectVersions will differeniate the object and folder. And it will return subfolder's objects. - * 'key-marker' => The key of returned object must be greater than the 'key-marker'. - * 'version-id-marker' => The version id of returned object must be greater than the 'version-id-marker'. - *) - * Prefix and marker are for filtering and paging. Their length must be less than 256 bytes - * @throws OssException - * @return ObjectListInfo - */ - public function listObjectVersions($bucket, $options = NULL) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'versions'; - $query = isset($options[self::OSS_QUERY_STRING]) ? $options[self::OSS_QUERY_STRING] : array(); - $options[self::OSS_QUERY_STRING] = array_merge( - $query, - array(self::OSS_ENCODING_TYPE => self::OSS_ENCODING_TYPE_URL, - self::OSS_DELIMITER => isset($options[self::OSS_DELIMITER]) ? $options[self::OSS_DELIMITER] : '/', - self::OSS_PREFIX => isset($options[self::OSS_PREFIX]) ? $options[self::OSS_PREFIX] : '', - self::OSS_MAX_KEYS => isset($options[self::OSS_MAX_KEYS]) ? $options[self::OSS_MAX_KEYS] : self::OSS_MAX_KEYS_VALUE, - self::OSS_KEY_MARKER => isset($options[self::OSS_KEY_MARKER]) ? $options[self::OSS_KEY_MARKER] : '', - self::OSS_VERSION_ID_MARKER => isset($options[self::OSS_VERSION_ID_MARKER]) ? $options[self::OSS_VERSION_ID_MARKER] : '') - ); - - $response = $this->auth($options); - $result = new ListObjectVersionsResult($response); - return $result->getData(); - } - - /** - * Creates a virtual 'folder' in OSS. The name should not end with '/' because the method will append the name with a '/' anyway. - * - * Internal use only. - * - * @param string $bucket bucket name - * @param string $object object name - * @param array $options - * @return null - */ - public function createObjectDir($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $object . '/'; - $options[self::OSS_CONTENT_LENGTH] = array(self::OSS_CONTENT_LENGTH => 0); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Uploads the $content object to OSS. - * - * @param string $bucket bucket name - * @param string $object objcet name - * @param string $content The content object - * @param array $options - * @return null - */ - public function putObject($bucket, $object, $content, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - - $options[self::OSS_CONTENT] = $content; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $object; - - if (!isset($options[self::OSS_LENGTH])) { - $options[self::OSS_CONTENT_LENGTH] = strlen($options[self::OSS_CONTENT]); - } else { - $options[self::OSS_CONTENT_LENGTH] = $options[self::OSS_LENGTH]; - } - - $is_check_md5 = $this->isCheckMD5($options); - if ($is_check_md5) { - $content_md5 = base64_encode(md5($content, true)); - $options[self::OSS_CONTENT_MD5] = $content_md5; - } - - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object); - } - $response = $this->auth($options); - - if (isset($options[self::OSS_CALLBACK]) && !empty($options[self::OSS_CALLBACK])) { - $result = new CallbackResult($response); - } else { - $result = new PutSetDeleteResult($response); - } - - return $result->getData(); - } - - - /** - * creates symlink - * @param string $bucket bucket name - * @param string $symlink symlink name - * @param string $targetObject targetObject name - * @param array $options - * @return null - */ - public function putSymlink($bucket, $symlink ,$targetObject, $options = NULL) - { - $this->precheckCommon($bucket, $symlink, $options); - - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $symlink; - $options[self::OSS_SUB_RESOURCE] = self::OSS_SYMLINK; - $options[self::OSS_HEADERS][self::OSS_SYMLINK_TARGET] = rawurlencode($targetObject); - - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * gets symlink - * @param string $bucket bucket name - * @param string $symlink symlink name - * @param array $options - * @return null - */ - public function getSymlink($bucket, $symlink, $options = NULL) - { - $this->precheckCommon($bucket, $symlink, $options); - - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = $symlink; - $options[self::OSS_SUB_RESOURCE] = self::OSS_SYMLINK; - - $response = $this->auth($options); - $result = new SymlinkResult($response); - return $result->getData(); - } - - /** - * Uploads a local file - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $file local file path - * @param array $options - * @return null - * @throws OssException - */ - public function uploadFile($bucket, $object, $file, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - OssUtil::throwOssExceptionWithMessageIfEmpty($file, "file path is invalid"); - $file = OssUtil::encodePath($file); - if (!file_exists($file)) { - throw new OssException($file . " file does not exist"); - } - $options[self::OSS_FILE_UPLOAD] = $file; - $file_size = filesize($options[self::OSS_FILE_UPLOAD]); - $is_check_md5 = $this->isCheckMD5($options); - if ($is_check_md5) { - $content_md5 = base64_encode(md5_file($options[self::OSS_FILE_UPLOAD], true)); - $options[self::OSS_CONTENT_MD5] = $content_md5; - } - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object, $file); - } - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_CONTENT_LENGTH] = $file_size; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Uploads object from file handle - * - * @param string $bucket bucket name - * @param string $object object name - * @param resource $handle file handle - * @param array $options - * @return null - * @throws OssException - */ - public function uploadStream($bucket, $object, $handle, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - if (!is_resource($handle)) { - throw new OssException("The handle must be an opened stream"); - } - $options[self::OSS_FILE_UPLOAD] = $handle; - if ($this->isCheckMD5($options)) { - rewind($handle); - $ctx = hash_init('md5'); - hash_update_stream($ctx, $handle); - $content_md5 = base64_encode(hash_final($ctx, true)); - rewind($handle); - $options[self::OSS_CONTENT_MD5] = $content_md5; - } - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object); - } - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - if (!isset($options[self::OSS_CONTENT_LENGTH])) { - $options[self::OSS_CONTENT_LENGTH] = fstat($handle)[self::OSS_SIZE]; - } - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Append the object with the content at the specified position. - * The specified position is typically the lengh of the current file. - * @param string $bucket bucket name - * @param string $object objcet name - * @param string $content content to append - * @param array $options - * @return int next append position - * @throws OssException - */ - public function appendObject($bucket, $object, $content, $position, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - - $options[self::OSS_CONTENT] = $content; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = 'append'; - $options[self::OSS_POSITION] = strval($position); - - if (!isset($options[self::OSS_LENGTH])) { - $options[self::OSS_CONTENT_LENGTH] = strlen($options[self::OSS_CONTENT]); - } else { - $options[self::OSS_CONTENT_LENGTH] = $options[self::OSS_LENGTH]; - } - - $is_check_md5 = $this->isCheckMD5($options); - if ($is_check_md5) { - $content_md5 = base64_encode(md5($content, true)); - $options[self::OSS_CONTENT_MD5] = $content_md5; - } - - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object); - } - $response = $this->auth($options); - $result = new AppendResult($response); - return $result->getData(); - } - - /** - * Append the object with a local file - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $file The local file path to append with - * @param array $options - * @return int next append position - * @throws OssException - */ - public function appendFile($bucket, $object, $file, $position, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - - OssUtil::throwOssExceptionWithMessageIfEmpty($file, "file path is invalid"); - $file = OssUtil::encodePath($file); - if (!file_exists($file)) { - throw new OssException($file . " file does not exist"); - } - $options[self::OSS_FILE_UPLOAD] = $file; - $file_size = filesize($options[self::OSS_FILE_UPLOAD]); - $is_check_md5 = $this->isCheckMD5($options); - if ($is_check_md5) { - $content_md5 = base64_encode(md5_file($options[self::OSS_FILE_UPLOAD], true)); - $options[self::OSS_CONTENT_MD5] = $content_md5; - } - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object, $file); - } - - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_CONTENT_LENGTH] = $file_size; - $options[self::OSS_SUB_RESOURCE] = 'append'; - $options[self::OSS_POSITION] = strval($position); - - $response = $this->auth($options); - $result = new AppendResult($response); - return $result->getData(); - } - - /** - * Copy from an existing OSS object to another OSS object. If the target object exists already, it will be overwritten. - * - * @param string $fromBucket Source bucket name - * @param string $fromObject Source object name - * @param string $toBucket Target bucket name - * @param string $toObject Target object name - * @param array $options - * @return null - * @throws OssException - */ - public function copyObject($fromBucket, $fromObject, $toBucket, $toObject, $options = NULL) - { - $this->precheckCommon($fromBucket, $fromObject, $options); - $this->precheckCommon($toBucket, $toObject, $options); - $options[self::OSS_BUCKET] = $toBucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $toObject; - $param = '/' . $fromBucket . '/' . rawurlencode($fromObject); - if (isset($options[self::OSS_VERSION_ID])) { - $param = $param . '?versionId='.$options[self::OSS_VERSION_ID]; - unset($options[self::OSS_VERSION_ID]); - } - if (isset($options[self::OSS_HEADERS])) { - $options[self::OSS_HEADERS][self::OSS_OBJECT_COPY_SOURCE] = $param; - } else { - $options[self::OSS_HEADERS] = array(self::OSS_OBJECT_COPY_SOURCE => $param); - } - $response = $this->auth($options); - $result = new CopyObjectResult($response); - return $result->getData(); - } - - /** - * Gets Object metadata - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $options Checks out the SDK document for the detail - * @return array - */ - public function getObjectMeta($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_HEAD; - $options[self::OSS_OBJECT] = $object; - $response = $this->auth($options); - $result = new HeaderResult($response); - return $result->getData(); - } - - /** - * Gets the simplified metadata of a object. - * Simplified metadata includes ETag, Size, LastModified. - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $options Checks out the SDK document for the detail - * @return array - */ - public function getSimplifiedObjectMeta($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_HEAD; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = 'objectMeta'; - $response = $this->auth($options); - $result = new HeaderResult($response); - return $result->getData(); - } - - /** - * Deletes a object - * - * @param string $bucket bucket name - * @param string $object object name - * @param array $options - * @return null - */ - public function deleteObject($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_OBJECT] = $object; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Deletes multiple objects in a bucket - * - * @param string $bucket bucket name - * @param array $objects object list - * @param array $options - * @return ResponseCore - * @throws null - */ - public function deleteObjects($bucket, $objects, $options = null) - { - $this->precheckCommon($bucket, NULL, $options, false); - if (!is_array($objects) || !$objects) { - throw new OssException('objects must be array'); - } - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'delete'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $quiet = 'false'; - if (isset($options['quiet'])) { - if (is_bool($options['quiet'])) { //Boolean - $quiet = $options['quiet'] ? 'true' : 'false'; - } elseif (is_string($options['quiet'])) { // string - $quiet = ($options['quiet'] === 'true') ? 'true' : 'false'; - } - } - $xmlBody = OssUtil::createDeleteObjectsXmlBody($objects, $quiet); - $options[self::OSS_CONTENT] = $xmlBody; - $response = $this->auth($options); - $result = new DeleteObjectsResult($response); - return $result->getData(); - } - - /** - * Deletes multiple objects with version id in a bucket - * - * @param string $bucket bucket name - * @param array $objects DeleteObjectInfo list - * @param array $options - * @return ResponseCore - * @throws null - */ - public function deleteObjectVersions($bucket, $objects, $options = null) - { - $this->precheckCommon($bucket, NULL, $options, false); - if (!is_array($objects) || !$objects) { - throw new OssException('objects must be array'); - } - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'delete'; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $quiet = 'false'; - if (isset($options['quiet'])) { - if (is_bool($options['quiet'])) { //Boolean - $quiet = $options['quiet'] ? 'true' : 'false'; - } elseif (is_string($options['quiet'])) { // string - $quiet = ($options['quiet'] === 'true') ? 'true' : 'false'; - } - } - $xmlBody = OssUtil::createDeleteObjectVersionsXmlBody($objects, $quiet); - $options[self::OSS_CONTENT] = $xmlBody; - $response = $this->auth($options); - $result = new DeleteObjectVersionsResult($response); - return $result->getData(); - } - - /** - * Gets Object content - * - * @param string $bucket bucket name - * @param string $object object name - * @param array $options It must contain ALIOSS::OSS_FILE_DOWNLOAD. And ALIOSS::OSS_RANGE is optional and empty means to download the whole file. - * @return string - */ - public function getObject($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_OBJECT] = $object; - if (isset($options[self::OSS_LAST_MODIFIED])) { - $options[self::OSS_HEADERS][self::OSS_IF_MODIFIED_SINCE] = $options[self::OSS_LAST_MODIFIED]; - unset($options[self::OSS_LAST_MODIFIED]); - } - if (isset($options[self::OSS_ETAG])) { - $options[self::OSS_HEADERS][self::OSS_IF_NONE_MATCH] = $options[self::OSS_ETAG]; - unset($options[self::OSS_ETAG]); - } - if (isset($options[self::OSS_RANGE])) { - $range = $options[self::OSS_RANGE]; - $options[self::OSS_HEADERS][self::OSS_RANGE] = "bytes=$range"; - unset($options[self::OSS_RANGE]); - } - $response = $this->auth($options); - $result = new BodyResult($response); - return $result->getData(); - } - - /** - * Checks if the object exists - * It's implemented by getObjectMeta(). - * - * @param string $bucket bucket name - * @param string $object object name - * @param array $options - * @return bool True:object exists; False:object does not exist - */ - public function doesObjectExist($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_HEAD; - $options[self::OSS_OBJECT] = $object; - $response = $this->auth($options); - $result = new ExistResult($response); - return $result->getData(); - } - - /** - * Object reading for Archive type - * Use Restore to enable the server to perform the thawing task - * - * @param string $bucket bucket name - * @param string $object object name - * @return null - * @throws OssException - */ - public function restoreObject($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = self::OSS_RESTORE; - if (isset($options[self::OSS_RESTORE_CONFIG])) { - $config = $options[self::OSS_RESTORE_CONFIG]; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $config->serializeToXml(); - } - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Sets the object tagging - * - * @param string $bucket bucket name - * @param string $object object name - * @param TaggingConfig $taggingConfig - * @throws OssException - * @return null - */ - public function putObjectTagging($bucket, $object, $taggingConfig, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options, true); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = self::OSS_TAGGING; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - $options[self::OSS_CONTENT] = $taggingConfig->serializeToXml(); - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Gets the object tagging - * - * @param string $bucket - * @param string $object - * @throws OssException - * @return TaggingConfig - */ - public function getObjectTagging($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options, true); - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = self::OSS_TAGGING; - $response = $this->auth($options); - $result = new GetBucketTagsResult($response); - return $result->getData(); - } - - /** - * Deletes the object tagging - * - * @param string $bucket - * @param string $object - * @throws OssException - * @return TaggingConfig - */ - public function deleteObjectTagging($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options, true); - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = self::OSS_TAGGING; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Processes the object - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $process process script - * @return string process result, json format - */ - public function processObject($bucket, $object, $process, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = 'x-oss-process'; - $options[self::OSS_CONTENT_TYPE] = 'application/octet-stream'; - $options[self::OSS_CONTENT] = 'x-oss-process='.$process; - $response = $this->auth($options); - $result = new BodyResult($response); - return $result->getData(); - } - - /** - * Gets the part size according to the preferred part size. - * If the specified part size is too small or too big, it will return a min part or max part size instead. - * Otherwise returns the specified part size. - * @param int $partSize - * @return int - */ - private function computePartSize($partSize) - { - $partSize = (integer)$partSize; - if ($partSize <= self::OSS_MIN_PART_SIZE) { - $partSize = self::OSS_MIN_PART_SIZE; - } elseif ($partSize > self::OSS_MAX_PART_SIZE) { - $partSize = self::OSS_MAX_PART_SIZE; - } - return $partSize; - } - - /** - * Computes the parts count, size and start position according to the file size and the part size. - * It must be only called by upload_Part(). - * - * @param integer $file_size File size - * @param integer $partSize part大小,part size. Default is 5MB - * @return array An array contains key-value pairs--the key is `seekTo`and value is `length`. - */ - public function generateMultiuploadParts($file_size, $partSize = 5242880) - { - $i = 0; - $size_count = $file_size; - $values = array(); - $partSize = $this->computePartSize($partSize); - while ($size_count > 0) { - $size_count -= $partSize; - $values[] = array( - self::OSS_SEEK_TO => ($partSize * $i), - self::OSS_LENGTH => (($size_count > 0) ? $partSize : ($size_count + $partSize)), - ); - $i++; - } - return $values; - } - - /** - * Initialize a multi-part upload - * - * @param string $bucket bucket name - * @param string $object object name - * @param array $options Key-Value array - * @throws OssException - * @return string returns uploadid - */ - public function initiateMultipartUpload($bucket, $object, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_SUB_RESOURCE] = 'uploads'; - $options[self::OSS_CONTENT] = ''; - - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object); - } - if (!isset($options[self::OSS_HEADERS])) { - $options[self::OSS_HEADERS] = array(); - } - $response = $this->auth($options); - $result = new InitiateMultipartUploadResult($response); - return $result->getData(); - } - - /** - * Upload a part in a multiparts upload. - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $uploadId - * @param array $options Key-Value array - * @return string eTag - * @throws OssException - */ - public function uploadPart($bucket, $object, $uploadId, $options = null) - { - $this->precheckCommon($bucket, $object, $options); - $this->precheckParam($options, self::OSS_FILE_UPLOAD, __FUNCTION__); - $this->precheckParam($options, self::OSS_PART_NUM, __FUNCTION__); - - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_UPLOAD_ID] = $uploadId; - - if (isset($options[self::OSS_LENGTH])) { - $options[self::OSS_CONTENT_LENGTH] = $options[self::OSS_LENGTH]; - } - $response = $this->auth($options); - $result = new UploadPartResult($response); - return $result->getData(); - } - - /** - * Gets the uploaded parts. - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $uploadId uploadId - * @param array $options Key-Value array - * @return ListPartsInfo - * @throws OssException - */ - public function listParts($bucket, $object, $uploadId, $options = null) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_UPLOAD_ID] = $uploadId; - $options[self::OSS_QUERY_STRING] = array(); - foreach (array('max-parts', 'part-number-marker') as $param) { - if (isset($options[$param])) { - $options[self::OSS_QUERY_STRING][$param] = $options[$param]; - unset($options[$param]); - } - } - $response = $this->auth($options); - $result = new ListPartsResult($response); - return $result->getData(); - } - - /** - * Abort a multiparts upload - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $uploadId uploadId - * @param array $options Key-Value name - * @return null - * @throws OssException - */ - public function abortMultipartUpload($bucket, $object, $uploadId, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_METHOD] = self::OSS_HTTP_DELETE; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_UPLOAD_ID] = $uploadId; - $response = $this->auth($options); - $result = new PutSetDeleteResult($response); - return $result->getData(); - } - - /** - * Completes a multiparts upload, after all parts are uploaded. - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $uploadId uploadId - * @param array $listParts array( array("PartNumber"=> int, "ETag"=>string)) - * @param array $options Key-Value array - * @throws OssException - * @return null - */ - public function completeMultipartUpload($bucket, $object, $uploadId, $listParts, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - $options[self::OSS_METHOD] = self::OSS_HTTP_POST; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_UPLOAD_ID] = $uploadId; - $options[self::OSS_CONTENT_TYPE] = 'application/xml'; - if (!is_array($listParts)) { - throw new OssException("listParts must be array type"); - } - $options[self::OSS_CONTENT] = OssUtil::createCompleteMultipartUploadXmlBody($listParts); - $response = $this->auth($options); - if (isset($options[self::OSS_CALLBACK]) && !empty($options[self::OSS_CALLBACK])) { - $result = new CallbackResult($response); - } else { - $result = new PutSetDeleteResult($response); - } - return $result->getData(); - } - - /** - * Lists all ongoing multipart upload events, which means all initialized but not completed or aborted multipart uploads. - * - * @param string $bucket bucket - * @param array $options key-value array--expected keys are 'delimiter', 'key-marker', 'max-uploads', 'prefix', 'upload-id-marker' - * @throws OssException - * @return ListMultipartUploadInfo - */ - public function listMultipartUploads($bucket, $options = null) - { - $this->precheckCommon($bucket, NULL, $options, false); - $options[self::OSS_METHOD] = self::OSS_HTTP_GET; - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = '/'; - $options[self::OSS_SUB_RESOURCE] = 'uploads'; - - foreach (array('delimiter', 'key-marker', 'max-uploads', 'prefix', 'upload-id-marker') as $param) { - if (isset($options[$param])) { - $options[self::OSS_QUERY_STRING][$param] = $options[$param]; - unset($options[$param]); - } - } - $query = isset($options[self::OSS_QUERY_STRING]) ? $options[self::OSS_QUERY_STRING] : array(); - $options[self::OSS_QUERY_STRING] = array_merge( - $query, - array(self::OSS_ENCODING_TYPE => self::OSS_ENCODING_TYPE_URL) - ); - - $response = $this->auth($options); - $result = new ListMultipartUploadResult($response); - return $result->getData(); - } - - /** - * Copy an existing file as a part - * - * @param string $fromBucket source bucket name - * @param string $fromObject source object name - * @param string $toBucket target bucket name - * @param string $toObject target object name - * @param int $partNumber Part number - * @param string $uploadId Upload Id - * @param array $options Key-Value array---it should have 'start' or 'end' key to specify the range of the source object to copy. If it's not specifed, the whole object is copied. - * @return null - * @throws OssException - */ - public function uploadPartCopy($fromBucket, $fromObject, $toBucket, $toObject, $partNumber, $uploadId, $options = NULL) - { - $this->precheckCommon($fromBucket, $fromObject, $options); - $this->precheckCommon($toBucket, $toObject, $options); - - //If $options['isFullCopy'] is not set, copy from the beginning - $start_range = "0"; - if (isset($options['start'])) { - $start_range = $options['start']; - } - $end_range = ""; - if (isset($options['end'])) { - $end_range = $options['end']; - } - $options[self::OSS_METHOD] = self::OSS_HTTP_PUT; - $options[self::OSS_BUCKET] = $toBucket; - $options[self::OSS_OBJECT] = $toObject; - $options[self::OSS_PART_NUM] = $partNumber; - $options[self::OSS_UPLOAD_ID] = $uploadId; - - if (!isset($options[self::OSS_HEADERS])) { - $options[self::OSS_HEADERS] = array(); - } - - $param = '/' . $fromBucket . '/' . rawurlencode($fromObject); - if (isset($options[self::OSS_VERSION_ID])) { - $param = $param . '?versionId='.$options[self::OSS_VERSION_ID]; - unset($options[self::OSS_VERSION_ID]); - } - - $options[self::OSS_HEADERS][self::OSS_OBJECT_COPY_SOURCE] = $param; - $options[self::OSS_HEADERS][self::OSS_OBJECT_COPY_SOURCE_RANGE] = "bytes=" . $start_range . "-" . $end_range; - $response = $this->auth($options); - $result = new UploadPartResult($response); - return $result->getData(); - } - - /** - * A higher level API for uploading a file with multipart upload. It consists of initialization, parts upload and completion. - * - * @param string $bucket bucket name - * @param string $object object name - * @param string $file The local file to upload - * @param array $options Key-Value array - * @return null - * @throws OssException - */ - public function multiuploadFile($bucket, $object, $file, $options = null) - { - $this->precheckCommon($bucket, $object, $options); - if (isset($options[self::OSS_LENGTH])) { - $options[self::OSS_CONTENT_LENGTH] = $options[self::OSS_LENGTH]; - unset($options[self::OSS_LENGTH]); - } - if (empty($file)) { - throw new OssException("parameter invalid, file is empty"); - } - $uploadFile = OssUtil::encodePath($file); - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = $this->getMimeType($object, $uploadFile); - } - - $upload_position = isset($options[self::OSS_SEEK_TO]) ? (integer)$options[self::OSS_SEEK_TO] : 0; - - if (isset($options[self::OSS_CONTENT_LENGTH])) { - $upload_file_size = (integer)$options[self::OSS_CONTENT_LENGTH]; - } else { - $upload_file_size = filesize($uploadFile); - if ($upload_file_size !== false) { - $upload_file_size -= $upload_position; - } - } - - if ($upload_position === false || !isset($upload_file_size) || $upload_file_size === false || $upload_file_size < 0) { - throw new OssException('The size of `fileUpload` cannot be determined in ' . __FUNCTION__ . '().'); - } - // Computes the part size and assign it to options. - if (isset($options[self::OSS_PART_SIZE])) { - $options[self::OSS_PART_SIZE] = $this->computePartSize($options[self::OSS_PART_SIZE]); - } else { - $options[self::OSS_PART_SIZE] = self::OSS_MID_PART_SIZE; - } - - $is_check_md5 = $this->isCheckMD5($options); - // if the file size is less than part size, use simple file upload. - if ($upload_file_size < $options[self::OSS_PART_SIZE] && !isset($options[self::OSS_UPLOAD_ID])) { - return $this->uploadFile($bucket, $object, $uploadFile, $options); - } - - // Using multipart upload, initialize if no OSS_UPLOAD_ID is specified in options. - if (isset($options[self::OSS_UPLOAD_ID])) { - $uploadId = $options[self::OSS_UPLOAD_ID]; - } else { - // initialize - $uploadId = $this->initiateMultipartUpload($bucket, $object, $options); - } - - // generates the parts information and upload them one by one - $pieces = $this->generateMultiuploadParts($upload_file_size, (integer)$options[self::OSS_PART_SIZE]); - $response_upload_part = array(); - foreach ($pieces as $i => $piece) { - $from_pos = $upload_position + (integer)$piece[self::OSS_SEEK_TO]; - $to_pos = (integer)$piece[self::OSS_LENGTH] + $from_pos - 1; - $up_options = array( - self::OSS_FILE_UPLOAD => $uploadFile, - self::OSS_PART_NUM => ($i + 1), - self::OSS_SEEK_TO => $from_pos, - self::OSS_LENGTH => $to_pos - $from_pos + 1, - self::OSS_CHECK_MD5 => $is_check_md5, - ); - if ($is_check_md5) { - $content_md5 = OssUtil::getMd5SumForFile($uploadFile, $from_pos, $to_pos); - $up_options[self::OSS_CONTENT_MD5] = $content_md5; - } - $response_upload_part[] = $this->uploadPart($bucket, $object, $uploadId, $up_options); - } - - $uploadParts = array(); - foreach ($response_upload_part as $i => $etag) { - $uploadParts[] = array( - 'PartNumber' => ($i + 1), - 'ETag' => $etag, - ); - } - - //build complete options - $cmp_options = null; - if (isset($options[self::OSS_HEADERS]) && isset($options[self::OSS_HEADERS][self::OSS_REQUEST_PAYER])) { - $cmp_options = array( - OssClient::OSS_HEADERS => array( - OssClient::OSS_REQUEST_PAYER => $options[self::OSS_HEADERS][self::OSS_REQUEST_PAYER], - )); - } - return $this->completeMultipartUpload($bucket, $object, $uploadId, $uploadParts, $cmp_options); - } - - /** - * Uploads the local directory to the specified bucket into specified folder (prefix) - * - * @param string $bucket bucket name - * @param string $prefix The object key prefix. Typically it's folder name. The name should not end with '/' as the API appends it automatically. - * @param string $localDirectory The local directory to upload - * @param string $exclude To excluded directories - * @param bool $recursive Recursive flag. True: Recursively upload all datas under the local directory; False: only upload first layer's files. - * @param bool $checkMd5 - * @return array Returns two list: array("succeededList" => array("object"), "failedList" => array("object"=>"errorMessage")) - * @throws OssException - */ - public function uploadDir($bucket, $prefix, $localDirectory, $exclude = '.|..|.svn|.git', $recursive = false, $checkMd5 = true) - { - $retArray = array("succeededList" => array(), "failedList" => array()); - if (empty($bucket)) throw new OssException("parameter error, bucket is empty"); - if (!is_string($prefix)) throw new OssException("parameter error, prefix is not string"); - if (empty($localDirectory)) throw new OssException("parameter error, localDirectory is empty"); - $directory = $localDirectory; - $directory = OssUtil::encodePath($directory); - //If it's not the local directory, throw OSSException. - if (!is_dir($directory)) { - throw new OssException('parameter error: ' . $directory . ' is not a directory, please check it'); - } - //read directory - $file_list_array = OssUtil::readDir($directory, $exclude, $recursive); - if (!$file_list_array) { - throw new OssException($directory . ' is empty...'); - } - foreach ($file_list_array as $k => $item) { - if (is_dir($item['path'])) { - continue; - } - $options = array( - self::OSS_PART_SIZE => self::OSS_MIN_PART_SIZE, - self::OSS_CHECK_MD5 => $checkMd5, - ); - $realObject = (!empty($prefix) ? $prefix . '/' : '') . $item['file']; - - try { - $this->multiuploadFile($bucket, $realObject, $item['path'], $options); - $retArray["succeededList"][] = $realObject; - } catch (OssException $e) { - $retArray["failedList"][$realObject] = $e->getMessage(); - } - } - return $retArray; - } - - /** - * Sign URL with specified expiration time in seconds (timeout) and HTTP method. - * The signed URL could be used to access the object directly. - * - * @param string $bucket - * @param string $object - * @param int $timeout expiration time in seconds. - * @param string $method - * @param array $options Key-Value array - * @return string - * @throws OssException - */ - public function signUrl($bucket, $object, $timeout = 60, $method = self::OSS_HTTP_GET, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - //method - if (self::OSS_HTTP_GET !== $method && self::OSS_HTTP_PUT !== $method) { - throw new OssException("method is invalid"); - } - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_METHOD] = $method; - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = ''; - } - $timeout = time() + $timeout; - $options[self::OSS_PREAUTH] = $timeout; - $options[self::OSS_DATE] = $timeout; - $this->setSignStsInUrl(true); - return $this->auth($options); - } - - /** - * Sign URL with specified expiration time in seconds and HTTP method. - * The signed URL could be used to access the object directly. - * - * @param string $bucket - * @param string $object - * @param int $expiration expiration time of the Url, unix epoch, since 1970.1.1 00.00.00 UTC - * @param string $method - * @param array $options Key-Value array - * @return string - * @throws OssException - */ - public function generatePresignedUrl($bucket, $object, $expiration, $method = self::OSS_HTTP_GET, $options = NULL) - { - $this->precheckCommon($bucket, $object, $options); - //method - if (self::OSS_HTTP_GET !== $method && self::OSS_HTTP_PUT !== $method) { - throw new OssException("method is invalid"); - } - $options[self::OSS_BUCKET] = $bucket; - $options[self::OSS_OBJECT] = $object; - $options[self::OSS_METHOD] = $method; - if (!isset($options[self::OSS_CONTENT_TYPE])) { - $options[self::OSS_CONTENT_TYPE] = ''; - } - $options[self::OSS_PREAUTH] = $expiration; - $options[self::OSS_DATE] = $expiration; - $this->setSignStsInUrl(true); - return $this->auth($options); - } - - /** - * validates options. Create a empty array if it's NULL. - * - * @param array $options - * @throws OssException - */ - private function precheckOptions(&$options) - { - OssUtil::validateOptions($options); - if (!$options) { - $options = array(); - } - } - - /** - * Validates bucket parameter - * - * @param string $bucket - * @param string $errMsg - * @throws OssException - */ - private function precheckBucket($bucket, $errMsg = 'bucket is not allowed empty') - { - OssUtil::throwOssExceptionWithMessageIfEmpty($bucket, $errMsg); - } - - /** - * validates object parameter - * - * @param string $object - * @throws OssException - */ - private function precheckObject($object) - { - OssUtil::throwOssExceptionWithMessageIfEmpty($object, "object name is empty"); - } - - /** - * 校验option restore - * - * @param string $restore - * @throws OssException - */ - private function precheckStorage($storage) - { - if (is_string($storage)) { - switch ($storage) { - case self::OSS_STORAGE_ARCHIVE: - return; - case self::OSS_STORAGE_IA: - return; - case self::OSS_STORAGE_STANDARD: - return; - case self::OSS_STORAGE_COLDARCHIVE: - return; - default: - break; - } - } - throw new OssException('storage name is invalid'); - } - - /** - * Validates bucket,options parameters and optionally validate object parameter. - * - * @param string $bucket - * @param string $object - * @param array $options - * @param bool $isCheckObject - */ - private function precheckCommon($bucket, $object, &$options, $isCheckObject = true) - { - if ($isCheckObject) { - $this->precheckObject($object); - } - $this->precheckOptions($options); - $this->precheckBucket($bucket); - } - - /** - * checks parameters - * - * @param array $options - * @param string $param - * @param string $funcName - * @throws OssException - */ - private function precheckParam($options, $param, $funcName) - { - if (!isset($options[$param])) { - throw new OssException('The `' . $param . '` options is required in ' . $funcName . '().'); - } - } - - /** - * Checks md5 - * - * @param array $options - * @return bool|null - */ - private function isCheckMD5($options) - { - return $this->getValue($options, self::OSS_CHECK_MD5, false, true, true); - } - - /** - * Gets value of the specified key from the options - * - * @param array $options - * @param string $key - * @param string $default - * @param bool $isCheckEmpty - * @param bool $isCheckBool - * @return bool|null - */ - private function getValue($options, $key, $default = NULL, $isCheckEmpty = false, $isCheckBool = false) - { - $value = $default; - if (isset($options[$key])) { - if ($isCheckEmpty) { - if (!empty($options[$key])) { - $value = $options[$key]; - } - } else { - $value = $options[$key]; - } - unset($options[$key]); - } - if ($isCheckBool) { - if ($value !== true && $value !== false) { - $value = false; - } - } - return $value; - } - - /** - * Gets mimetype - * - * @param string $object - * @return string - */ - private function getMimeType($object, $file = null) - { - if (!is_null($file)) { - $type = MimeTypes::getMimetype($file); - if (!is_null($type)) { - return $type; - } - } - - $type = MimeTypes::getMimetype($object); - if (!is_null($type)) { - return $type; - } - - return self::DEFAULT_CONTENT_TYPE; - } - - /** - * Validates and executes the request according to OSS API protocol. - * - * @param array $options - * @return ResponseCore - * @throws OssException - * @throws RequestCore_Exception - */ - private function auth($options) - { - OssUtil::validateOptions($options); - //Validates bucket, not required for list_bucket - $this->authPrecheckBucket($options); - //Validates object - $this->authPrecheckObject($options); - //object name encoding must be UTF-8 - $this->authPrecheckObjectEncoding($options); - //Validates ACL - $this->authPrecheckAcl($options); - // Should https or http be used? - $scheme = $this->useSSL ? 'https://' : 'http://'; - // gets the host name. If the host name is public domain or private domain, form a third level domain by prefixing the bucket name on the domain name. - $hostname = $this->generateHostname($options[self::OSS_BUCKET]); - $string_to_sign = ''; - $headers = $this->generateHeaders($options, $hostname); - $signable_query_string_params = $this->generateSignableQueryStringParam($options); - $signable_query_string = OssUtil::toQueryString($signable_query_string_params); - $resource_uri = $this->generateResourceUri($options); - //Generates the URL (add query parameters) - $conjunction = '?'; - $non_signable_resource = ''; - if (isset($options[self::OSS_SUB_RESOURCE])) { - $conjunction = '&'; - } - if ($signable_query_string !== '') { - $signable_query_string = $conjunction . $signable_query_string; - $conjunction = '&'; - } - $query_string = $this->generateQueryString($options); - if ($query_string !== '') { - $non_signable_resource .= $conjunction . $query_string; - $conjunction = '&'; - } - $requestUrl = $scheme . $hostname . $resource_uri . $signable_query_string . $non_signable_resource; - - //Creates the request - $request = new RequestCore($requestUrl, $this->requestProxy); - $request->set_useragent($this->generateUserAgent()); - // Streaming uploads - if (isset($options[self::OSS_FILE_UPLOAD])) { - if (is_resource($options[self::OSS_FILE_UPLOAD])) { - $length = null; - - if (isset($options[self::OSS_CONTENT_LENGTH])) { - $length = $options[self::OSS_CONTENT_LENGTH]; - } elseif (isset($options[self::OSS_SEEK_TO])) { - $stats = fstat($options[self::OSS_FILE_UPLOAD]); - if ($stats && $stats[self::OSS_SIZE] >= 0) { - $length = $stats[self::OSS_SIZE] - (integer)$options[self::OSS_SEEK_TO]; - } - } - $request->set_read_stream($options[self::OSS_FILE_UPLOAD], $length); - } else { - $request->set_read_file($options[self::OSS_FILE_UPLOAD]); - $length = $request->read_stream_size; - if (isset($options[self::OSS_CONTENT_LENGTH])) { - $length = $options[self::OSS_CONTENT_LENGTH]; - } elseif (isset($options[self::OSS_SEEK_TO]) && isset($length)) { - $length -= (integer)$options[self::OSS_SEEK_TO]; - } - $request->set_read_stream_size($length); - } - } - if (isset($options[self::OSS_SEEK_TO])) { - $request->set_seek_position((integer)$options[self::OSS_SEEK_TO]); - } - if (isset($options[self::OSS_FILE_DOWNLOAD])) { - if (is_resource($options[self::OSS_FILE_DOWNLOAD])) { - $request->set_write_stream($options[self::OSS_FILE_DOWNLOAD]); - } else { - $request->set_write_file($options[self::OSS_FILE_DOWNLOAD]); - } - } - - if (isset($options[self::OSS_METHOD])) { - $request->set_method($options[self::OSS_METHOD]); - $string_to_sign .= $options[self::OSS_METHOD] . "\n"; - } - - if (isset($options[self::OSS_CONTENT])) { - $request->set_body($options[self::OSS_CONTENT]); - if ($headers[self::OSS_CONTENT_TYPE] === 'application/x-www-form-urlencoded') { - $headers[self::OSS_CONTENT_TYPE] = 'application/octet-stream'; - } - - $headers[self::OSS_CONTENT_LENGTH] = strlen($options[self::OSS_CONTENT]); - $headers[self::OSS_CONTENT_MD5] = base64_encode(md5($options[self::OSS_CONTENT], true)); - } - - if (isset($options[self::OSS_CALLBACK])) { - $headers[self::OSS_CALLBACK] = base64_encode($options[self::OSS_CALLBACK]); - } - if (isset($options[self::OSS_CALLBACK_VAR])) { - $headers[self::OSS_CALLBACK_VAR] = base64_encode($options[self::OSS_CALLBACK_VAR]); - } - - if (!isset($headers[self::OSS_ACCEPT_ENCODING])) { - $headers[self::OSS_ACCEPT_ENCODING] = ''; - } - - uksort($headers, 'strnatcasecmp'); - - foreach ($headers as $header_key => $header_value) { - $header_value = str_replace(array("\r", "\n"), '', $header_value); - if ($header_value !== '' || $header_key === self::OSS_ACCEPT_ENCODING) { - $request->add_header($header_key, $header_value); - } - - if ( - strtolower($header_key) === 'content-md5' || - strtolower($header_key) === 'content-type' || - strtolower($header_key) === 'date' || - (isset($options['self::OSS_PREAUTH']) && (integer)$options['self::OSS_PREAUTH'] > 0) - ) { - $string_to_sign .= $header_value . "\n"; - } elseif (substr(strtolower($header_key), 0, 6) === self::OSS_DEFAULT_PREFIX) { - $string_to_sign .= strtolower($header_key) . ':' . $header_value . "\n"; - } - } - // Generates the signable_resource - $signable_resource = $this->generateSignableResource($options); - $signable_resource = rawurldecode($signable_resource) . urldecode($signable_query_string); - $string_to_sign_ordered = $string_to_sign; - $string_to_sign .= $signable_resource; - - // Sort the strings to be signed. - $string_to_sign_ordered .= $this->stringToSignSorted($signable_resource); - - - $signature = base64_encode(hash_hmac('sha1', $string_to_sign_ordered, $this->accessKeySecret, true)); - $request->add_header('Authorization', 'OSS ' . $this->accessKeyId . ':' . $signature); - - if (isset($options[self::OSS_PREAUTH]) && (integer)$options[self::OSS_PREAUTH] > 0) { - $signed_url = $requestUrl . $conjunction . self::OSS_URL_ACCESS_KEY_ID . '=' . rawurlencode($this->accessKeyId) . '&' . self::OSS_URL_EXPIRES . '=' . $options[self::OSS_PREAUTH] . '&' . self::OSS_URL_SIGNATURE . '=' . rawurlencode($signature); - return $signed_url; - } elseif (isset($options[self::OSS_PREAUTH])) { - return $requestUrl; - } - - if ($this->timeout !== 0) { - $request->timeout = $this->timeout; - } - if ($this->connectTimeout !== 0) { - $request->connect_timeout = $this->connectTimeout; - } - - try { - $request->send_request(); - } catch (RequestCore_Exception $e) { - throw(new OssException('RequestCoreException: ' . $e->getMessage())); - } - $response_header = $request->get_response_header(); - $response_header['oss-request-url'] = $requestUrl; - $response_header['oss-redirects'] = $this->redirects; - $response_header['oss-stringtosign'] = $string_to_sign; - $response_header['oss-requestheaders'] = $request->request_headers; - - $data = new ResponseCore($response_header, $request->get_response_body(), $request->get_response_code()); - //retry if OSS Internal Error - if ((integer)$request->get_response_code() === 500) { - if ($this->redirects <= $this->maxRetries) { - //Sets the sleep time betwen each retry. - $delay = (integer)(pow(4, $this->redirects) * 100000); - usleep($delay); - $this->redirects++; - $data = $this->auth($options); - } - } - - $this->redirects = 0; - return $data; - } - - /** - * Sets the max retry count - * - * @param int $maxRetries - * @return void - */ - public function setMaxTries($maxRetries = 3) - { - $this->maxRetries = $maxRetries; - } - - /** - * Gets the max retry count - * - * @return int - */ - public function getMaxRetries() - { - return $this->maxRetries; - } - - /** - * Enaable/disable STS in the URL. This is to determine the $sts value passed from constructor take effect or not. - * - * @param boolean $enable - */ - public function setSignStsInUrl($enable) - { - $this->enableStsInUrl = $enable; - } - - /** - * @return boolean - */ - public function isUseSSL() - { - return $this->useSSL; - } - - /** - * @param boolean $useSSL - */ - public function setUseSSL($useSSL) - { - $this->useSSL = $useSSL; - } - - /** - * Validates bucket name--throw OssException if it's invalid - * - * @param $options - * @throws OssException - */ - private function authPrecheckBucket($options) - { - if (!(('/' == $options[self::OSS_OBJECT]) && ('' == $options[self::OSS_BUCKET]) && ('GET' == $options[self::OSS_METHOD])) && !OssUtil::validateBucket($options[self::OSS_BUCKET])) { - throw new OssException('"' . $options[self::OSS_BUCKET] . '"' . 'bucket name is invalid'); - } - } - - /** - * - * Validates the object name--throw OssException if it's invalid. - * - * @param $options - * @throws OssException - */ - private function authPrecheckObject($options) - { - if (isset($options[self::OSS_OBJECT]) && $options[self::OSS_OBJECT] === '/') { - return; - } - - if (isset($options[self::OSS_OBJECT]) && !OssUtil::validateObject($options[self::OSS_OBJECT])) { - throw new OssException('"' . $options[self::OSS_OBJECT] . '"' . ' object name is invalid'); - } - } - - /** - * Checks the object's encoding. Convert it to UTF8 if it's in GBK or GB2312 - * - * @param mixed $options parameter - */ - private function authPrecheckObjectEncoding(&$options) - { - $tmp_object = $options[self::OSS_OBJECT]; - try { - if (OssUtil::isGb2312($options[self::OSS_OBJECT])) { - $options[self::OSS_OBJECT] = iconv('GB2312', "UTF-8//IGNORE", $options[self::OSS_OBJECT]); - } elseif (OssUtil::checkChar($options[self::OSS_OBJECT], true)) { - $options[self::OSS_OBJECT] = iconv('GBK', "UTF-8//IGNORE", $options[self::OSS_OBJECT]); - } - } catch (\Exception $e) { - try { - $tmp_object = iconv(mb_detect_encoding($tmp_object), "UTF-8", $tmp_object); - } catch (\Exception $e) { - } - } - $options[self::OSS_OBJECT] = $tmp_object; - } - - /** - * Checks if the ACL is one of the 3 predefined one. Throw OSSException if not. - * - * @param $options - * @throws OssException - */ - private function authPrecheckAcl($options) - { - if (isset($options[self::OSS_HEADERS][self::OSS_ACL]) && !empty($options[self::OSS_HEADERS][self::OSS_ACL])) { - if (!in_array(strtolower($options[self::OSS_HEADERS][self::OSS_ACL]), self::$OSS_ACL_TYPES)) { - throw new OssException($options[self::OSS_HEADERS][self::OSS_ACL] . ':' . 'acl is invalid(private,public-read,public-read-write)'); - } - } - } - - /** - * Gets the host name for the current request. - * It could be either a third level domain (prefixed by bucket name) or second level domain if it's CName or IP - * - * @param $bucket - * @return string The host name without the protocol scheem (e.g. https://) - */ - private function generateHostname($bucket) - { - if ($this->hostType === self::OSS_HOST_TYPE_IP) { - $hostname = $this->hostname; - } elseif ($this->hostType === self::OSS_HOST_TYPE_CNAME) { - $hostname = $this->hostname; - } else { - // Private domain or public domain - $hostname = ($bucket == '') ? $this->hostname : ($bucket . '.') . $this->hostname; - } - return $hostname; - } - - /** - * Gets the resource Uri in the current request - * - * @param $options - * @return string return the resource uri. - */ - private function generateResourceUri($options) - { - $resource_uri = ""; - - // resource_uri + bucket - if (isset($options[self::OSS_BUCKET]) && '' !== $options[self::OSS_BUCKET]) { - if ($this->hostType === self::OSS_HOST_TYPE_IP) { - $resource_uri = '/' . $options[self::OSS_BUCKET]; - } - } - - // resource_uri + object - if (isset($options[self::OSS_OBJECT]) && '/' !== $options[self::OSS_OBJECT]) { - $resource_uri .= '/' . str_replace(array('%2F', '%25'), array('/', '%'), rawurlencode($options[self::OSS_OBJECT])); - } - - // resource_uri + sub_resource - $conjunction = '?'; - if (isset($options[self::OSS_SUB_RESOURCE])) { - $resource_uri .= $conjunction . $options[self::OSS_SUB_RESOURCE]; - } - return $resource_uri; - } - - /** - * Generates the signalbe query string parameters in array type - * - * @param array $options - * @return array - */ - private function generateSignableQueryStringParam($options) - { - $signableQueryStringParams = array(); - $signableList = array( - self::OSS_PART_NUM, - 'response-content-type', - 'response-content-language', - 'response-cache-control', - 'response-content-encoding', - 'response-expires', - 'response-content-disposition', - self::OSS_UPLOAD_ID, - self::OSS_COMP, - self::OSS_LIVE_CHANNEL_STATUS, - self::OSS_LIVE_CHANNEL_START_TIME, - self::OSS_LIVE_CHANNEL_END_TIME, - self::OSS_PROCESS, - self::OSS_POSITION, - self::OSS_SYMLINK, - self::OSS_RESTORE, - self::OSS_TAGGING, - self::OSS_WORM_ID, - self::OSS_TRAFFIC_LIMIT, - self::OSS_VERSION_ID, - ); - - foreach ($signableList as $item) { - if (isset($options[$item])) { - $signableQueryStringParams[$item] = $options[$item]; - } - } - - if ($this->enableStsInUrl && (!is_null($this->securityToken))) { - $signableQueryStringParams["security-token"] = $this->securityToken; - } - - return $signableQueryStringParams; - } - - /** - * Generates the resource uri for signing - * - * @param mixed $options - * @return string - */ - private function generateSignableResource($options) - { - $signableResource = ""; - $signableResource .= '/'; - if (isset($options[self::OSS_BUCKET]) && '' !== $options[self::OSS_BUCKET]) { - $signableResource .= $options[self::OSS_BUCKET]; - // if there's no object in options, adding a '/' if the host type is not IP.\ - if ($options[self::OSS_OBJECT] == '/') { - if ($this->hostType !== self::OSS_HOST_TYPE_IP) { - $signableResource .= "/"; - } - } - } - //signable_resource + object - if (isset($options[self::OSS_OBJECT]) && '/' !== $options[self::OSS_OBJECT]) { - $signableResource .= '/' . str_replace(array('%2F', '%25'), array('/', '%'), rawurlencode($options[self::OSS_OBJECT])); - } - if (isset($options[self::OSS_SUB_RESOURCE])) { - $signableResource .= '?' . $options[self::OSS_SUB_RESOURCE]; - } - return $signableResource; - } - - /** - * generates query string - * - * @param mixed $options - * @return string - */ - private function generateQueryString($options) - { - //query parameters - $queryStringParams = array(); - if (isset($options[self::OSS_QUERY_STRING])) { - $queryStringParams = array_merge($queryStringParams, $options[self::OSS_QUERY_STRING]); - } - return OssUtil::toQueryString($queryStringParams); - } - - private function stringToSignSorted($string_to_sign) - { - $queryStringSorted = ''; - $explodeResult = explode('?', $string_to_sign); - $index = count($explodeResult); - if ($index === 1) - return $string_to_sign; - - $queryStringParams = explode('&', $explodeResult[$index - 1]); - sort($queryStringParams); - - foreach($queryStringParams as $params) - { - $queryStringSorted .= $params . '&'; - } - - $queryStringSorted = substr($queryStringSorted, 0, -1); - - $result = ''; - for ($i = 0; $i < $index -1; $i++) - { - $result .= $explodeResult[$i] . '?'; - } - return $result . $queryStringSorted; - } - - /** - * Initialize headers - * - * @param mixed $options - * @param string $hostname hostname - * @return array - */ - private function generateHeaders($options, $hostname) - { - $headers = array( - self::OSS_CONTENT_MD5 => '', - self::OSS_CONTENT_TYPE => isset($options[self::OSS_CONTENT_TYPE]) ? $options[self::OSS_CONTENT_TYPE] : self::DEFAULT_CONTENT_TYPE, - self::OSS_DATE => isset($options[self::OSS_DATE]) ? $options[self::OSS_DATE] : gmdate('D, d M Y H:i:s \G\M\T'), - self::OSS_HOST => $hostname, - ); - if (isset($options[self::OSS_CONTENT_MD5])) { - $headers[self::OSS_CONTENT_MD5] = $options[self::OSS_CONTENT_MD5]; - } - - //Add stsSecurityToken - if ((!is_null($this->securityToken)) && (!$this->enableStsInUrl)) { - $headers[self::OSS_SECURITY_TOKEN] = $this->securityToken; - } - //Merge HTTP headers - if (isset($options[self::OSS_HEADERS])) { - $headers = array_merge($headers, $options[self::OSS_HEADERS]); - } - return $headers; - } - - /** - * Generates UserAgent - * - * @return string - */ - private function generateUserAgent() - { - return self::OSS_NAME . "/" . self::OSS_VERSION . " (" . php_uname('s') . "/" . php_uname('r') . "/" . php_uname('m') . ";" . PHP_VERSION . ")"; - } - - /** - * Checks endpoint type and returns the endpoint without the protocol schema. - * Figures out the domain's type (ip, cname or private/public domain). - * - * @param string $endpoint - * @param boolean $isCName - * @return string The domain name without the protocol schema. - */ - private function checkEndpoint($endpoint, $isCName) - { - $ret_endpoint = null; - if (strpos($endpoint, 'http://') === 0) { - $ret_endpoint = substr($endpoint, strlen('http://')); - } elseif (strpos($endpoint, 'https://') === 0) { - $ret_endpoint = substr($endpoint, strlen('https://')); - $this->useSSL = true; - } else { - $ret_endpoint = $endpoint; - } - - $ret_endpoint = OssUtil::getHostPortFromEndpoint($ret_endpoint); - - if ($isCName) { - $this->hostType = self::OSS_HOST_TYPE_CNAME; - } elseif (OssUtil::isIPFormat($ret_endpoint)) { - $this->hostType = self::OSS_HOST_TYPE_IP; - } else { - $this->hostType = self::OSS_HOST_TYPE_NORMAL; - } - return $ret_endpoint; - } - - /** - * Check if all dependent extensions are installed correctly. - * For now only "curl" is needed. - * @throws OssException - */ - public static function checkEnv() - { - if (function_exists('get_loaded_extensions')) { - //Test curl extension - $enabled_extension = array("curl"); - $extensions = get_loaded_extensions(); - if ($extensions) { - foreach ($enabled_extension as $item) { - if (!in_array($item, $extensions)) { - throw new OssException("Extension {" . $item . "} is not installed or not enabled, please check your php env."); - } - } - } else { - throw new OssException("function get_loaded_extensions not found."); - } - } else { - throw new OssException('Function get_loaded_extensions has been disabled, please check php config.'); - } - } - - /** - * Sets the http's timeout (in seconds) - * - * @param int $timeout - */ - public function setTimeout($timeout) - { - $this->timeout = $timeout; - } - - /** - * Sets the http's connection timeout (in seconds) - * - * @param int $connectTimeout - */ - public function setConnectTimeout($connectTimeout) - { - $this->connectTimeout = $connectTimeout; - } - - // Constants for Life cycle - const OSS_LIFECYCLE_EXPIRATION = "Expiration"; - const OSS_LIFECYCLE_TIMING_DAYS = "Days"; - const OSS_LIFECYCLE_TIMING_DATE = "Date"; - //OSS Internal constants - const OSS_BUCKET = 'bucket'; - const OSS_OBJECT = 'object'; - const OSS_HEADERS = OssUtil::OSS_HEADERS; - const OSS_METHOD = 'method'; - const OSS_QUERY = 'query'; - const OSS_BASENAME = 'basename'; - const OSS_MAX_KEYS = 'max-keys'; - const OSS_UPLOAD_ID = 'uploadId'; - const OSS_PART_NUM = 'partNumber'; - const OSS_COMP = 'comp'; - const OSS_LIVE_CHANNEL_STATUS = 'status'; - const OSS_LIVE_CHANNEL_START_TIME = 'startTime'; - const OSS_LIVE_CHANNEL_END_TIME = 'endTime'; - const OSS_POSITION = 'position'; - const OSS_MAX_KEYS_VALUE = 100; - const OSS_MAX_OBJECT_GROUP_VALUE = OssUtil::OSS_MAX_OBJECT_GROUP_VALUE; - const OSS_MAX_PART_SIZE = OssUtil::OSS_MAX_PART_SIZE; - const OSS_MID_PART_SIZE = OssUtil::OSS_MID_PART_SIZE; - const OSS_MIN_PART_SIZE = OssUtil::OSS_MIN_PART_SIZE; - const OSS_FILE_SLICE_SIZE = 8192; - const OSS_PREFIX = 'prefix'; - const OSS_DELIMITER = 'delimiter'; - const OSS_MARKER = 'marker'; - const OSS_ACCEPT_ENCODING = 'Accept-Encoding'; - const OSS_CONTENT_MD5 = 'Content-Md5'; - const OSS_SELF_CONTENT_MD5 = 'x-oss-meta-md5'; - const OSS_CONTENT_TYPE = 'Content-Type'; - const OSS_CONTENT_LENGTH = 'Content-Length'; - const OSS_IF_MODIFIED_SINCE = 'If-Modified-Since'; - const OSS_IF_UNMODIFIED_SINCE = 'If-Unmodified-Since'; - const OSS_IF_MATCH = 'If-Match'; - const OSS_IF_NONE_MATCH = 'If-None-Match'; - const OSS_CACHE_CONTROL = 'Cache-Control'; - const OSS_EXPIRES = 'Expires'; - const OSS_PREAUTH = 'preauth'; - const OSS_CONTENT_COING = 'Content-Coding'; - const OSS_CONTENT_DISPOSTION = 'Content-Disposition'; - const OSS_RANGE = 'range'; - const OSS_ETAG = 'etag'; - const OSS_LAST_MODIFIED = 'lastmodified'; - const OS_CONTENT_RANGE = 'Content-Range'; - const OSS_CONTENT = OssUtil::OSS_CONTENT; - const OSS_BODY = 'body'; - const OSS_LENGTH = OssUtil::OSS_LENGTH; - const OSS_HOST = 'Host'; - const OSS_DATE = 'Date'; - const OSS_AUTHORIZATION = 'Authorization'; - const OSS_FILE_DOWNLOAD = 'fileDownload'; - const OSS_FILE_UPLOAD = 'fileUpload'; - const OSS_PART_SIZE = 'partSize'; - const OSS_SEEK_TO = 'seekTo'; - const OSS_SIZE = 'size'; - const OSS_QUERY_STRING = 'query_string'; - const OSS_SUB_RESOURCE = 'sub_resource'; - const OSS_DEFAULT_PREFIX = 'x-oss-'; - const OSS_CHECK_MD5 = 'checkmd5'; - const DEFAULT_CONTENT_TYPE = 'application/octet-stream'; - const OSS_SYMLINK_TARGET = 'x-oss-symlink-target'; - const OSS_SYMLINK = 'symlink'; - const OSS_HTTP_CODE = 'http_code'; - const OSS_REQUEST_ID = 'x-oss-request-id'; - const OSS_INFO = 'info'; - const OSS_STORAGE = 'storage'; - const OSS_RESTORE = 'restore'; - const OSS_STORAGE_STANDARD = 'Standard'; - const OSS_STORAGE_IA = 'IA'; - const OSS_STORAGE_ARCHIVE = 'Archive'; - const OSS_STORAGE_COLDARCHIVE = 'ColdArchive'; - const OSS_TAGGING = 'tagging'; - const OSS_WORM_ID = 'wormId'; - const OSS_RESTORE_CONFIG = 'restore-config'; - const OSS_KEY_MARKER = 'key-marker'; - const OSS_VERSION_ID_MARKER = 'version-id-marker'; - const OSS_VERSION_ID = 'versionId'; - const OSS_HEADER_VERSION_ID = 'x-oss-version-id'; - - //private URLs - const OSS_URL_ACCESS_KEY_ID = 'OSSAccessKeyId'; - const OSS_URL_EXPIRES = 'Expires'; - const OSS_URL_SIGNATURE = 'Signature'; - //HTTP METHOD - const OSS_HTTP_GET = 'GET'; - const OSS_HTTP_PUT = 'PUT'; - const OSS_HTTP_HEAD = 'HEAD'; - const OSS_HTTP_POST = 'POST'; - const OSS_HTTP_DELETE = 'DELETE'; - const OSS_HTTP_OPTIONS = 'OPTIONS'; - //Others - const OSS_ACL = 'x-oss-acl'; - const OSS_OBJECT_ACL = 'x-oss-object-acl'; - const OSS_OBJECT_GROUP = 'x-oss-file-group'; - const OSS_MULTI_PART = 'uploads'; - const OSS_MULTI_DELETE = 'delete'; - const OSS_OBJECT_COPY_SOURCE = 'x-oss-copy-source'; - const OSS_OBJECT_COPY_SOURCE_RANGE = "x-oss-copy-source-range"; - const OSS_PROCESS = "x-oss-process"; - const OSS_CALLBACK = "x-oss-callback"; - const OSS_CALLBACK_VAR = "x-oss-callback-var"; - const OSS_REQUEST_PAYER = "x-oss-request-payer"; - const OSS_TRAFFIC_LIMIT = "x-oss-traffic-limit"; - //Constants for STS SecurityToken - const OSS_SECURITY_TOKEN = "x-oss-security-token"; - const OSS_ACL_TYPE_PRIVATE = 'private'; - const OSS_ACL_TYPE_PUBLIC_READ = 'public-read'; - const OSS_ACL_TYPE_PUBLIC_READ_WRITE = 'public-read-write'; - const OSS_ENCODING_TYPE = "encoding-type"; - const OSS_ENCODING_TYPE_URL = "url"; - - // Domain Types - const OSS_HOST_TYPE_NORMAL = "normal";//http://bucket.oss-cn-hangzhou.aliyuncs.com/object - const OSS_HOST_TYPE_IP = "ip"; //http://1.1.1.1/bucket/object - const OSS_HOST_TYPE_SPECIAL = 'special'; //http://bucket.guizhou.gov/object - const OSS_HOST_TYPE_CNAME = "cname"; //http://mydomain.com/object - //OSS ACL array - static $OSS_ACL_TYPES = array( - self::OSS_ACL_TYPE_PRIVATE, - self::OSS_ACL_TYPE_PUBLIC_READ, - self::OSS_ACL_TYPE_PUBLIC_READ_WRITE - ); - // OssClient version information - const OSS_NAME = "aliyun-sdk-php"; - const OSS_VERSION = "2.4.2"; - const OSS_BUILD = "20210604"; - const OSS_AUTHOR = ""; - const OSS_OPTIONS_ORIGIN = 'Origin'; - const OSS_OPTIONS_REQUEST_METHOD = 'Access-Control-Request-Method'; - const OSS_OPTIONS_REQUEST_HEADERS = 'Access-Control-Request-Headers'; - - //use ssl flag - private $useSSL = false; - private $maxRetries = 3; - private $redirects = 0; - - // user's domain type. It could be one of the four: OSS_HOST_TYPE_NORMAL, OSS_HOST_TYPE_IP, OSS_HOST_TYPE_SPECIAL, OSS_HOST_TYPE_CNAME - private $hostType = self::OSS_HOST_TYPE_NORMAL; - private $requestProxy = null; - private $accessKeyId; - private $accessKeySecret; - private $hostname; - private $securityToken; - private $enableStsInUrl = false; - private $timeout = 0; - private $connectTimeout = 0; -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/AclResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/AclResult.php deleted file mode 100644 index 7061ff09..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/AclResult.php +++ /dev/null @@ -1,31 +0,0 @@ -rawResponse->body; - if (empty($content)) { - throw new OssException("body is null"); - } - $xml = simplexml_load_string($content); - if (isset($xml->AccessControlList->Grant)) { - return strval($xml->AccessControlList->Grant); - } else { - throw new OssException("xml format exception"); - } - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/AppendResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/AppendResult.php deleted file mode 100644 index d898d585..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/AppendResult.php +++ /dev/null @@ -1,27 +0,0 @@ -rawResponse->header; - if (isset($header["x-oss-next-append-position"])) { - return intval($header["x-oss-next-append-position"]); - } - throw new OssException("cannot get next-append-position"); - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/BodyResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/BodyResult.php deleted file mode 100644 index 44ba15ef..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/BodyResult.php +++ /dev/null @@ -1,19 +0,0 @@ -rawResponse->body) ? "" : $this->rawResponse->body; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/CallbackResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/CallbackResult.php deleted file mode 100644 index 514e985c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/CallbackResult.php +++ /dev/null @@ -1,21 +0,0 @@ -rawResponse->status; - if ((int)(intval($status) / 100) == 2 && (int)(intval($status)) !== 203) { - return true; - } - return false; - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/CopyObjectResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/CopyObjectResult.php deleted file mode 100644 index 6ed67c61..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/CopyObjectResult.php +++ /dev/null @@ -1,30 +0,0 @@ -rawResponse->body; - $xml = simplexml_load_string($body); - $result = array(); - - if (isset($xml->LastModified)) { - $result[] = $xml->LastModified; - } - if (isset($xml->ETag)) { - $result[] = $xml->ETag; - } - - return array_merge($result, $this->rawResponse->header); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectVersionsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectVersionsResult.php deleted file mode 100644 index 69f52a73..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectVersionsResult.php +++ /dev/null @@ -1,39 +0,0 @@ -rawResponse->body); - $encodingType = isset($xml->EncodingType) ? strval($xml->EncodingType) : ""; - return $this->parseDeletedList($xml, $encodingType); - } - - private function parseDeletedList($xml, $encodingType) - { - $retList = array(); - if (isset($xml->Deleted)) { - foreach ($xml->Deleted as $content) { - $key = isset($content->Key) ? strval($content->Key) : ""; - $key = OssUtil::decodeKey($key, $encodingType); - $versionId = isset($content->VersionId) ? strval($content->VersionId) : ""; - $deleteMarker = isset($content->DeleteMarker) ? strval($content->DeleteMarker) : ""; - $deleteMarkerVersionId = isset($content->DeleteMarkerVersionId) ? strval($content->DeleteMarkerVersionId) : ""; - $retList[] = new DeletedObjectInfo($key, $versionId, $deleteMarker, $deleteMarkerVersionId); - } - } - return $retList; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectsResult.php deleted file mode 100644 index dc373b85..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/DeleteObjectsResult.php +++ /dev/null @@ -1,27 +0,0 @@ -rawResponse->body; - $xml = simplexml_load_string($body); - $objects = array(); - - if (isset($xml->Deleted)) { - foreach($xml->Deleted as $deleteKey) - $objects[] = $deleteKey->Key; - } - return $objects; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ExistResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ExistResult.php deleted file mode 100644 index e9522d4f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ExistResult.php +++ /dev/null @@ -1,34 +0,0 @@ -rawResponse->status) === 200 ? true : false; - } - - /** - * Check if the response status is OK according to the http status code. - * [200-299]: OK; [404]: Not found. It means the object or bucket is not found--it's a valid response too. - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { - return true; - } - return false; - } - -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketEncryptionResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketEncryptionResult.php deleted file mode 100644 index 3987cc92..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketEncryptionResult.php +++ /dev/null @@ -1,26 +0,0 @@ -rawResponse->body; - $config = new ServerSideEncryptionConfig(); - $config->parseFromXml($content); - return $config; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketInfoResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketInfoResult.php deleted file mode 100644 index ad55e95b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketInfoResult.php +++ /dev/null @@ -1,37 +0,0 @@ -rawResponse->body; - if (empty($content)) { - throw new OssException("body is null"); - } - $xml = simplexml_load_string($content); - if (isset($xml->Bucket)) { - $info = new BucketInfo(); - $info->parseFromXmlNode($xml->Bucket); - return $info; - } else { - throw new OssException("xml format exception"); - } - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketRequestPaymentResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketRequestPaymentResult.php deleted file mode 100644 index 5107de3f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketRequestPaymentResult.php +++ /dev/null @@ -1,26 +0,0 @@ -rawResponse->body; - $config = new RequestPaymentConfig(); - $config->parseFromXml($content); - return $config->getPayer(); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php deleted file mode 100644 index aa310cf1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php +++ /dev/null @@ -1,26 +0,0 @@ -rawResponse->body; - $stat = new BucketStat(); - $stat->parseFromXml($content); - return $stat; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketTagsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketTagsResult.php deleted file mode 100644 index 59b4dd79..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketTagsResult.php +++ /dev/null @@ -1,26 +0,0 @@ -rawResponse->body; - $config = new TaggingConfig(); - $config->parseFromXml($content); - return $config; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketVersioningResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketVersioningResult.php deleted file mode 100644 index 225190c2..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketVersioningResult.php +++ /dev/null @@ -1,26 +0,0 @@ -rawResponse->body; - $config = new VersioningConfig(); - $config->parseFromXml($content); - return $config->getStatus(); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketWormResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketWormResult.php deleted file mode 100644 index 95872041..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketWormResult.php +++ /dev/null @@ -1,26 +0,0 @@ -rawResponse->body; - $config = new WormConfig(); - $config->parseFromXml($content); - return $config; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetCnameResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetCnameResult.php deleted file mode 100644 index eed01f90..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetCnameResult.php +++ /dev/null @@ -1,19 +0,0 @@ -rawResponse->body; - $config = new CnameConfig(); - $config->parseFromXml($content); - return $config; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetCorsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetCorsResult.php deleted file mode 100644 index 8fb10ea3..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetCorsResult.php +++ /dev/null @@ -1,34 +0,0 @@ -rawResponse->body; - $config = new CorsConfig(); - $config->parseFromXml($content); - return $config; - } - - /** - * Check if the response is OK, according to the http status. [200-299]:OK, the Cors config could be got; [404]: not found--no Cors config. - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { - return true; - } - return false; - } - -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLifecycleResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLifecycleResult.php deleted file mode 100644 index e0a9595f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLifecycleResult.php +++ /dev/null @@ -1,41 +0,0 @@ -rawResponse->body; - $config = new LifecycleConfig(); - $config->parseFromXml($content); - return $config; - } - - /** - * Check if the response is OK according to the http status. - * [200-299]: OK, and the LifecycleConfig could be got; [404] The Life cycle config is not found. - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { - return true; - } - return false; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelHistoryResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelHistoryResult.php deleted file mode 100644 index 202a6681..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelHistoryResult.php +++ /dev/null @@ -1,19 +0,0 @@ -rawResponse->body; - $channelList = new GetLiveChannelHistory(); - $channelList->parseFromXml($content); - return $channelList; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelInfoResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelInfoResult.php deleted file mode 100644 index d5a9005e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelInfoResult.php +++ /dev/null @@ -1,19 +0,0 @@ -rawResponse->body; - $channelList = new GetLiveChannelInfo(); - $channelList->parseFromXml($content); - return $channelList; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelStatusResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelStatusResult.php deleted file mode 100644 index 6b8a60f5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLiveChannelStatusResult.php +++ /dev/null @@ -1,19 +0,0 @@ -rawResponse->body; - $channelList = new GetLiveChannelStatus(); - $channelList->parseFromXml($content); - return $channelList; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLocationResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLocationResult.php deleted file mode 100644 index a0c51295..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLocationResult.php +++ /dev/null @@ -1,30 +0,0 @@ -rawResponse->body; - if (empty($content)) { - throw new OssException("body is null"); - } - $xml = simplexml_load_string($content); - return $xml; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLoggingResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLoggingResult.php deleted file mode 100644 index eab8c645..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetLoggingResult.php +++ /dev/null @@ -1,41 +0,0 @@ -rawResponse->body; - $config = new LoggingConfig(); - $config->parseFromXml($content); - return $config; - } - - /** - * Judged according to the return HTTP status code, [200-299] that is OK, get the bucket configuration interface, - * 404 is also considered a valid response - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { - return true; - } - return false; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetRefererResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetRefererResult.php deleted file mode 100644 index a8a649eb..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetRefererResult.php +++ /dev/null @@ -1,41 +0,0 @@ -rawResponse->body; - $config = new RefererConfig(); - $config->parseFromXml($content); - return $config; - } - - /** - * Judged according to the return HTTP status code, [200-299] that is OK, get the bucket configuration interface, - * 404 is also considered a valid response - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { - return true; - } - return false; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetStorageCapacityResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetStorageCapacityResult.php deleted file mode 100644 index 2f4127b1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetStorageCapacityResult.php +++ /dev/null @@ -1,34 +0,0 @@ -rawResponse->body; - if (empty($content)) { - throw new OssException("body is null"); - } - $xml = simplexml_load_string($content); - if (isset($xml->StorageCapacity)) { - return intval($xml->StorageCapacity); - } else { - throw new OssException("xml format exception"); - } - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetWebsiteResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetWebsiteResult.php deleted file mode 100644 index 64d54fac..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetWebsiteResult.php +++ /dev/null @@ -1,40 +0,0 @@ -rawResponse->body; - $config = new WebsiteConfig(); - $config->parseFromXml($content); - return $config; - } - - /** - * Judged according to the return HTTP status code, [200-299] that is OK, get the bucket configuration interface, - * 404 is also considered a valid response - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2 || (int)(intval($status)) === 404) { - return true; - } - return false; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/HeaderResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/HeaderResult.php deleted file mode 100644 index 1ca4d1a2..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/HeaderResult.php +++ /dev/null @@ -1,23 +0,0 @@ -rawResponse->header) ? array() : $this->rawResponse->header; - } - -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateBucketWormResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateBucketWormResult.php deleted file mode 100644 index 1cd7a020..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateBucketWormResult.php +++ /dev/null @@ -1,27 +0,0 @@ -rawResponse->header; - if (isset($header["x-oss-worm-id"])) { - return strval($header["x-oss-worm-id"]); - } - throw new OssException("cannot get worm-id"); - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateMultipartUploadResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateMultipartUploadResult.php deleted file mode 100644 index 53a15da8..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/InitiateMultipartUploadResult.php +++ /dev/null @@ -1,29 +0,0 @@ -rawResponse->body; - $xml = simplexml_load_string($content); - if (isset($xml->UploadId)) { - return strval($xml->UploadId); - } - throw new OssException("cannot get UploadId"); - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListBucketsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListBucketsResult.php deleted file mode 100644 index 1dd037b7..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListBucketsResult.php +++ /dev/null @@ -1,32 +0,0 @@ -rawResponse->body; - $xml = new \SimpleXMLElement($content); - if (isset($xml->Buckets) && isset($xml->Buckets->Bucket)) { - foreach ($xml->Buckets->Bucket as $bucket) { - $bucketInfo = new BucketInfo(); - $bucketInfo->parseFromXmlNode($bucket); - $bucketList[] = $bucketInfo; - } - } - return new BucketListInfo($bucketList); - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListLiveChannelResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListLiveChannelResult.php deleted file mode 100644 index 1a6e2a41..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListLiveChannelResult.php +++ /dev/null @@ -1,16 +0,0 @@ -rawResponse->body; - $channelList = new LiveChannelListInfo(); - $channelList->parseFromXml($content); - return $channelList; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListMultipartUploadResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListMultipartUploadResult.php deleted file mode 100644 index 3220c861..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListMultipartUploadResult.php +++ /dev/null @@ -1,55 +0,0 @@ -rawResponse->body; - $xml = simplexml_load_string($content); - - $encodingType = isset($xml->EncodingType) ? strval($xml->EncodingType) : ""; - $bucket = isset($xml->Bucket) ? strval($xml->Bucket) : ""; - $keyMarker = isset($xml->KeyMarker) ? strval($xml->KeyMarker) : ""; - $keyMarker = OssUtil::decodeKey($keyMarker, $encodingType); - $uploadIdMarker = isset($xml->UploadIdMarker) ? strval($xml->UploadIdMarker) : ""; - $nextKeyMarker = isset($xml->NextKeyMarker) ? strval($xml->NextKeyMarker) : ""; - $nextKeyMarker = OssUtil::decodeKey($nextKeyMarker, $encodingType); - $nextUploadIdMarker = isset($xml->NextUploadIdMarker) ? strval($xml->NextUploadIdMarker) : ""; - $delimiter = isset($xml->Delimiter) ? strval($xml->Delimiter) : ""; - $delimiter = OssUtil::decodeKey($delimiter, $encodingType); - $prefix = isset($xml->Prefix) ? strval($xml->Prefix) : ""; - $prefix = OssUtil::decodeKey($prefix, $encodingType); - $maxUploads = isset($xml->MaxUploads) ? intval($xml->MaxUploads) : 0; - $isTruncated = isset($xml->IsTruncated) ? strval($xml->IsTruncated) : ""; - $listUpload = array(); - - if (isset($xml->Upload)) { - foreach ($xml->Upload as $upload) { - $key = isset($upload->Key) ? strval($upload->Key) : ""; - $key = OssUtil::decodeKey($key, $encodingType); - $uploadId = isset($upload->UploadId) ? strval($upload->UploadId) : ""; - $initiated = isset($upload->Initiated) ? strval($upload->Initiated) : ""; - $listUpload[] = new UploadInfo($key, $uploadId, $initiated); - } - } - return new ListMultipartUploadInfo($bucket, $keyMarker, $uploadIdMarker, - $nextKeyMarker, $nextUploadIdMarker, - $delimiter, $prefix, $maxUploads, $isTruncated, $listUpload); - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectVersionsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectVersionsResult.php deleted file mode 100644 index 5f18c4df..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectVersionsResult.php +++ /dev/null @@ -1,96 +0,0 @@ -rawResponse->body); - $encodingType = isset($xml->EncodingType) ? strval($xml->EncodingType) : ""; - $objectVersionList = $this->parseObjecVersionList($xml, $encodingType); - $deleteMarkerList = $this->parseDeleteMarkerList($xml, $encodingType); - $prefixList = $this->parsePrefixList($xml, $encodingType); - $bucketName = isset($xml->Name) ? strval($xml->Name) : ""; - $prefix = isset($xml->Prefix) ? strval($xml->Prefix) : ""; - $prefix = OssUtil::decodeKey($prefix, $encodingType); - $keyMarker = isset($xml->KeyMarker) ? strval($xml->KeyMarker) : ""; - $keyMarker = OssUtil::decodeKey($keyMarker, $encodingType); - $nextKeyMarker = isset($xml->NextKeyMarker) ? strval($xml->NextKeyMarker) : ""; - $nextKeyMarker = OssUtil::decodeKey($nextKeyMarker, $encodingType); - $versionIdMarker = isset($xml->VersionIdMarker) ? strval($xml->VersionIdMarker) : ""; - $nextVersionIdMarker = isset($xml->NextVersionIdMarker) ? strval($xml->NextVersionIdMarker) : ""; - $maxKeys = isset($xml->MaxKeys) ? intval($xml->MaxKeys) : 0; - $delimiter = isset($xml->Delimiter) ? strval($xml->Delimiter) : ""; - $delimiter = OssUtil::decodeKey($delimiter, $encodingType); - $isTruncated = isset($xml->IsTruncated) ? strval($xml->IsTruncated) : ""; - - return new ObjectVersionListInfo($bucketName, $prefix, $keyMarker, $nextKeyMarker, - $versionIdMarker, $nextVersionIdMarker,$maxKeys, $delimiter, $isTruncated, - $objectVersionList, $deleteMarkerList, $prefixList); - } - - private function parseObjecVersionList($xml, $encodingType) - { - $retList = array(); - if (isset($xml->Version)) { - foreach ($xml->Version as $content) { - $key = isset($content->Key) ? strval($content->Key) : ""; - $key = OssUtil::decodeKey($key, $encodingType); - $versionId = isset($content->VersionId) ? strval($content->VersionId) : ""; - $lastModified = isset($content->LastModified) ? strval($content->LastModified) : ""; - $eTag = isset($content->ETag) ? strval($content->ETag) : ""; - $type = isset($content->Type) ? strval($content->Type) : ""; - $size = isset($content->Size) ? intval($content->Size) : 0; - $storageClass = isset($content->StorageClass) ? strval($content->StorageClass) : ""; - $isLatest = isset($content->IsLatest) ? strval($content->IsLatest) : ""; - $retList[] = new ObjectVersionInfo($key, $versionId, $lastModified, $eTag, $type, $size, $storageClass, $isLatest); - } - } - return $retList; - } - - private function parseDeleteMarkerList($xml, $encodingType) - { - $retList = array(); - if (isset($xml->DeleteMarker)) { - foreach ($xml->DeleteMarker as $content) { - $key = isset($content->Key) ? strval($content->Key) : ""; - $key = OssUtil::decodeKey($key, $encodingType); - $versionId = isset($content->VersionId) ? strval($content->VersionId) : ""; - $lastModified = isset($content->LastModified) ? strval($content->LastModified) : ""; - $isLatest = isset($content->IsLatest) ? strval($content->IsLatest) : ""; - $retList[] = new DeleteMarkerInfo($key, $versionId, $lastModified, $isLatest); - } - } - return $retList; - } - - private function parsePrefixList($xml, $encodingType) - { - $retList = array(); - if (isset($xml->CommonPrefixes)) { - foreach ($xml->CommonPrefixes as $commonPrefix) { - $prefix = isset($commonPrefix->Prefix) ? strval($commonPrefix->Prefix) : ""; - $prefix = OssUtil::decodeKey($prefix, $encodingType); - $retList[] = new PrefixInfo($prefix); - } - } - return $retList; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectsResult.php deleted file mode 100644 index f44c66a0..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListObjectsResult.php +++ /dev/null @@ -1,71 +0,0 @@ -rawResponse->body); - $encodingType = isset($xml->EncodingType) ? strval($xml->EncodingType) : ""; - $objectList = $this->parseObjectList($xml, $encodingType); - $prefixList = $this->parsePrefixList($xml, $encodingType); - $bucketName = isset($xml->Name) ? strval($xml->Name) : ""; - $prefix = isset($xml->Prefix) ? strval($xml->Prefix) : ""; - $prefix = OssUtil::decodeKey($prefix, $encodingType); - $marker = isset($xml->Marker) ? strval($xml->Marker) : ""; - $marker = OssUtil::decodeKey($marker, $encodingType); - $maxKeys = isset($xml->MaxKeys) ? intval($xml->MaxKeys) : 0; - $delimiter = isset($xml->Delimiter) ? strval($xml->Delimiter) : ""; - $delimiter = OssUtil::decodeKey($delimiter, $encodingType); - $isTruncated = isset($xml->IsTruncated) ? strval($xml->IsTruncated) : ""; - $nextMarker = isset($xml->NextMarker) ? strval($xml->NextMarker) : ""; - $nextMarker = OssUtil::decodeKey($nextMarker, $encodingType); - return new ObjectListInfo($bucketName, $prefix, $marker, $nextMarker, $maxKeys, $delimiter, $isTruncated, $objectList, $prefixList); - } - - private function parseObjectList($xml, $encodingType) - { - $retList = array(); - if (isset($xml->Contents)) { - foreach ($xml->Contents as $content) { - $key = isset($content->Key) ? strval($content->Key) : ""; - $key = OssUtil::decodeKey($key, $encodingType); - $lastModified = isset($content->LastModified) ? strval($content->LastModified) : ""; - $eTag = isset($content->ETag) ? strval($content->ETag) : ""; - $type = isset($content->Type) ? strval($content->Type) : ""; - $size = isset($content->Size) ? intval($content->Size) : 0; - $storageClass = isset($content->StorageClass) ? strval($content->StorageClass) : ""; - $retList[] = new ObjectInfo($key, $lastModified, $eTag, $type, $size, $storageClass); - } - } - return $retList; - } - - private function parsePrefixList($xml, $encodingType) - { - $retList = array(); - if (isset($xml->CommonPrefixes)) { - foreach ($xml->CommonPrefixes as $commonPrefix) { - $prefix = isset($commonPrefix->Prefix) ? strval($commonPrefix->Prefix) : ""; - $prefix = OssUtil::decodeKey($prefix, $encodingType); - $retList[] = new PrefixInfo($prefix); - } - } - return $retList; - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListPartsResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListPartsResult.php deleted file mode 100644 index 092d94e0..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/ListPartsResult.php +++ /dev/null @@ -1,42 +0,0 @@ -rawResponse->body; - $xml = simplexml_load_string($content); - $bucket = isset($xml->Bucket) ? strval($xml->Bucket) : ""; - $key = isset($xml->Key) ? strval($xml->Key) : ""; - $uploadId = isset($xml->UploadId) ? strval($xml->UploadId) : ""; - $nextPartNumberMarker = isset($xml->NextPartNumberMarker) ? intval($xml->NextPartNumberMarker) : ""; - $maxParts = isset($xml->MaxParts) ? intval($xml->MaxParts) : ""; - $isTruncated = isset($xml->IsTruncated) ? strval($xml->IsTruncated) : ""; - $partList = array(); - if (isset($xml->Part)) { - foreach ($xml->Part as $part) { - $partNumber = isset($part->PartNumber) ? intval($part->PartNumber) : ""; - $lastModified = isset($part->LastModified) ? strval($part->LastModified) : ""; - $eTag = isset($part->ETag) ? strval($part->ETag) : ""; - $size = isset($part->Size) ? intval($part->Size) : ""; - $partList[] = new PartInfo($partNumber, $lastModified, $eTag, $size); - } - } - return new ListPartsInfo($bucket, $key, $uploadId, $nextPartNumberMarker, $maxParts, $isTruncated, $partList); - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/PutLiveChannelResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/PutLiveChannelResult.php deleted file mode 100644 index dcac86b7..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/PutLiveChannelResult.php +++ /dev/null @@ -1,16 +0,0 @@ -rawResponse->body; - $channel = new LiveChannelInfo(); - $channel->parseFromXml($content); - return $channel; - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/PutSetDeleteResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/PutSetDeleteResult.php deleted file mode 100644 index 97af003b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/PutSetDeleteResult.php +++ /dev/null @@ -1,20 +0,0 @@ - $this->rawResponse->body); - return array_merge($this->rawResponse->header, $body); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/Result.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/Result.php deleted file mode 100644 index e5d83d37..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/Result.php +++ /dev/null @@ -1,175 +0,0 @@ -rawResponse = $response; - $this->parseResponse(); - } - - /** - * Get requestId - * - * @return string - */ - public function getRequestId() - { - if (isset($this->rawResponse) && - isset($this->rawResponse->header) && - isset($this->rawResponse->header['x-oss-request-id']) - ) { - return $this->rawResponse->header['x-oss-request-id']; - } else { - return ''; - } - } - - /** - * Get the returned data, different request returns the data format is different - * - * $return mixed - */ - public function getData() - { - return $this->parsedData; - } - - /** - * Subclass implementation, different requests return data has different analytical logic, implemented by subclasses - * - * @return mixed - */ - abstract protected function parseDataFromResponse(); - - /** - * Whether the operation is successful - * - * @return mixed - */ - public function isOK() - { - return $this->isOk; - } - - /** - * @throws OssException - */ - public function parseResponse() - { - $this->isOk = $this->isResponseOk(); - if ($this->isOk) { - $this->parsedData = $this->parseDataFromResponse(); - } else { - $httpStatus = strval($this->rawResponse->status); - $requestId = strval($this->getRequestId()); - $code = $this->retrieveErrorCode($this->rawResponse->body); - $message = $this->retrieveErrorMessage($this->rawResponse->body); - $body = $this->rawResponse->body; - - $details = array( - 'status' => $httpStatus, - 'request-id' => $requestId, - 'code' => $code, - 'message' => $message, - 'body' => $body - ); - throw new OssException($details); - } - } - - /** - * Try to get the error message from body - * - * @param $body - * @return string - */ - private function retrieveErrorMessage($body) - { - if (empty($body) || false === strpos($body, 'Message)) { - return strval($xml->Message); - } - return ''; - } - - /** - * Try to get the error Code from body - * - * @param $body - * @return string - */ - private function retrieveErrorCode($body) - { - if (empty($body) || false === strpos($body, 'Code)) { - return strval($xml->Code); - } - return ''; - } - - /** - * Judging from the return http status code, [200-299] that is OK - * - * @return bool - */ - protected function isResponseOk() - { - $status = $this->rawResponse->status; - if ((int)(intval($status) / 100) == 2) { - return true; - } - return false; - } - - /** - * Return the original return data - * - * @return ResponseCore - */ - public function getRawResponse() - { - return $this->rawResponse; - } - - /** - * Indicate whether the request is successful - */ - protected $isOk = false; - /** - * Data parsed by subclasses - */ - protected $parsedData = null; - /** - * Store the original Response returned by the auth function - * - * @var ResponseCore - */ - protected $rawResponse; -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/SymlinkResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/SymlinkResult.php deleted file mode 100644 index 9c6d861a..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/SymlinkResult.php +++ /dev/null @@ -1,24 +0,0 @@ -rawResponse->header[OssClient::OSS_SYMLINK_TARGET] = rawurldecode($this->rawResponse->header[OssClient::OSS_SYMLINK_TARGET]); - return $this->rawResponse->header; - } -} - diff --git a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/UploadPartResult.php b/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/UploadPartResult.php deleted file mode 100644 index c6b66d45..00000000 --- a/vendor/aliyuncs/oss-sdk-php/src/OSS/Result/UploadPartResult.php +++ /dev/null @@ -1,28 +0,0 @@ -rawResponse->header; - if (isset($header["etag"])) { - return $header["etag"]; - } - throw new OssException("cannot get ETag"); - - } -} \ No newline at end of file diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/AclResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/AclResultTest.php deleted file mode 100644 index 82168d05..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/AclResultTest.php +++ /dev/null @@ -1,59 +0,0 @@ - - - - 00220120222 - user_example - - - public-read - - -BBBB; - - private $invalidXml = << - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new AclResult($response); - $this->assertEquals("public-read", $result->getData()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - try { - new AclResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('body is null', $e->getMessage()); - } - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - try { - new AclResult($response); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals("xml format exception", $e->getMessage()); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BodyResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BodyResultTest.php deleted file mode 100644 index 290e61ab..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BodyResultTest.php +++ /dev/null @@ -1,26 +0,0 @@ -assertTrue($result->isOK()); - $this->assertEquals($result->getData(), "hi"); - } - - public function testParseInvalid404() - { - $response = new ResponseCore(array(), null, 200); - $result = new BodyResult($response); - $this->assertTrue($result->isOK()); - $this->assertEquals($result->getData(), ""); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketCnameTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketCnameTest.php deleted file mode 100644 index 03b016f4..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketCnameTest.php +++ /dev/null @@ -1,77 +0,0 @@ -client = Common::getOssClient(); - $this->bucketName = 'php-sdk-test-bucket-' . strval(rand(0, 10000)); - $this->client->createBucket($this->bucketName); - } - - protected function tearDown(): void - { - $this->client->deleteBucket($this->bucketName); - } - - public function testBucketWithoutCname() - { - $cnameConfig = $this->client->getBucketCname($this->bucketName); - $this->assertEquals(0, count($cnameConfig->getCnames())); - } - - public function testAddCname() - { - $this->client->addBucketCname($this->bucketName, 'www.baidu.com'); - $this->client->addBucketCname($this->bucketName, 'www.qq.com'); - - $ret = $this->client->getBucketCname($this->bucketName); - $this->assertEquals(2, count($ret->getCnames())); - - // add another 2 cnames - $this->client->addBucketCname($this->bucketName, 'www.sina.com.cn'); - $this->client->addBucketCname($this->bucketName, 'www.iqiyi.com'); - - $ret = $this->client->getBucketCname($this->bucketName); - $cnames = $ret->getCnames(); - $cnameList = array(); - - foreach ($cnames as $c) { - $cnameList[] = $c['Domain']; - } - $should = array( - 'www.baidu.com', - 'www.qq.com', - 'www.sina.com.cn', - 'www.iqiyi.com' - ); - $this->assertEquals(4, count($cnames)); - $this->assertEquals(sort($should), sort($cnameList)); - } - - public function testDeleteCname() - { - $this->client->addBucketCname($this->bucketName, 'www.baidu.com'); - $this->client->addBucketCname($this->bucketName, 'www.qq.com'); - - $ret = $this->client->getBucketCname($this->bucketName); - $this->assertEquals(2, count($ret->getCnames())); - - // delete one cname - $this->client->deleteBucketCname($this->bucketName, 'www.baidu.com'); - - $ret = $this->client->getBucketCname($this->bucketName); - $this->assertEquals(1, count($ret->getCnames())); - $cnames = $ret->getCnames(); - $this->assertEquals('www.qq.com', $cnames[0]['Domain']); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketInfoTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketInfoTest.php deleted file mode 100644 index f99bcee6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketInfoTest.php +++ /dev/null @@ -1,21 +0,0 @@ -assertNotNull($bucketInfo); - $this->assertEquals('cn-beijing', $bucketInfo->getLocation()); - $this->assertEquals('name', $bucketInfo->getName()); - $this->assertEquals('today', $bucketInfo->getCreateDate()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketLiveChannelTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketLiveChannelTest.php deleted file mode 100644 index cedf884d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/BucketLiveChannelTest.php +++ /dev/null @@ -1,316 +0,0 @@ -client = Common::getOssClient(); - $this->bucketName = 'php-sdk-test-rtmp-bucket-name-' . strval(rand(0, 10000)); - $this->client->createBucket($this->bucketName); - Common::waitMetaSync(); - } - - protected function tearDown(): void - { - ////to delete created bucket - //1. delele live channel - $list = $this->client->listBucketLiveChannels($this->bucketName); - if (count($list->getChannelList()) != 0) - { - foreach($list->getChannelList() as $list) - { - $this->client->deleteBucketLiveChannel($this->bucketName, $list->getName()); - } - } - //2. delete exsited object - $prefix = 'live-test/'; - $delimiter = '/'; - $nextMarker = ''; - $maxkeys = 1000; - $options = array( - 'delimiter' => $delimiter, - 'prefix' => $prefix, - 'max-keys' => $maxkeys, - 'marker' => $nextMarker, - ); - - try { - $listObjectInfo = $this->client->listObjects($this->bucketName, $options); - } catch (OssException $e) { - printf($e->getMessage() . "\n"); - return; - } - - $objectList = $listObjectInfo->getObjectList(); // 文件列表 - if (!empty($objectList)) - { - foreach($objectList as $objectInfo) - $this->client->deleteObject($this->bucketName, $objectInfo->getKey()); - } - //3. delete the bucket - $this->client->deleteBucket($this->bucketName); - } - - public function testPutLiveChannel() - { - $config = new LiveChannelConfig(array( - 'description' => 'live channel 1', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $info = $this->client->putBucketLiveChannel($this->bucketName, 'live-1', $config); - $this->client->deleteBucketLiveChannel($this->bucketName, 'live-1'); - - $this->assertEquals('live-1', $info->getName()); - $this->assertEquals('live channel 1', $info->getDescription()); - $this->assertEquals(1, count($info->getPublishUrls())); - $this->assertEquals(1, count($info->getPlayUrls())); - } - - public function testPutLiveChannelWithDefaultParams() - { - $config = new LiveChannelConfig(array( - 'description' => 'live channel 1', - 'type' => 'HLS', - )); - $info = $this->client->putBucketLiveChannel($this->bucketName, 'live-1', $config); - $this->client->deleteBucketLiveChannel($this->bucketName, 'live-1'); - - $this->assertEquals('live-1', $info->getName()); - $this->assertEquals('live channel 1', $info->getDescription()); - $this->assertEquals(1, count($info->getPublishUrls())); - $this->assertEquals(1, count($info->getPlayUrls())); - } - - public function testListLiveChannels() - { - $config = new LiveChannelConfig(array( - 'description' => 'live channel 1', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $this->client->putBucketLiveChannel($this->bucketName, 'live-1', $config); - - $config = new LiveChannelConfig(array( - 'description' => 'live channel 2', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $this->client->putBucketLiveChannel($this->bucketName, 'live-2', $config); - - $list = $this->client->listBucketLiveChannels($this->bucketName); - - $this->assertEquals($this->bucketName, $list->getBucketName()); - $this->assertEquals(false, $list->getIsTruncated()); - $channels = $list->getChannelList(); - $this->assertEquals(2, count($channels)); - - $chan1 = $channels[0]; - $this->assertEquals('live-1', $chan1->getName()); - $this->assertEquals('live channel 1', $chan1->getDescription()); - $this->assertEquals(1, count($chan1->getPublishUrls())); - $this->assertEquals(1, count($chan1->getPlayUrls())); - - $chan2 = $channels[1]; - $this->assertEquals('live-2', $chan2->getName()); - $this->assertEquals('live channel 2', $chan2->getDescription()); - $this->assertEquals(1, count($chan2->getPublishUrls())); - $this->assertEquals(1, count($chan2->getPlayUrls())); - - $list = $this->client->listBucketLiveChannels($this->bucketName, array( - 'prefix' => 'live-', - 'marker' => 'live-1', - 'max-keys' => 10 - )); - $channels = $list->getChannelList(); - $this->assertEquals(1, count($channels)); - $chan2 = $channels[0]; - $this->assertEquals('live-2', $chan2->getName()); - $this->assertEquals('live channel 2', $chan2->getDescription()); - $this->assertEquals(1, count($chan2->getPublishUrls())); - $this->assertEquals(1, count($chan2->getPlayUrls())); - - $this->client->deleteBucketLiveChannel($this->bucketName, 'live-1'); - $this->client->deleteBucketLiveChannel($this->bucketName, 'live-2'); - $list = $this->client->listBucketLiveChannels($this->bucketName, array( - 'prefix' => 'live-' - )); - $this->assertEquals(0, count($list->getChannelList())); - } - - public function testDeleteLiveChannel() - { - $channelName = 'live-to-delete'; - $config = new LiveChannelConfig(array( - 'description' => 'live channel to delete', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $this->client->putBucketLiveChannel($this->bucketName, $channelName, $config); - - $this->client->deleteBucketLiveChannel($this->bucketName, $channelName); - $list = $this->client->listBucketLiveChannels($this->bucketName, array( - 'prefix' => $channelName - )); - - $this->assertEquals(0, count($list->getChannelList())); - } - - public function testSignRtmpUrl() - { - $channelName = '90475'; - $bucket = 'douyu'; - $now = time(); - $url = $this->client->signRtmpUrl($bucket, $channelName, 900, array( - 'params' => array( - 'playlistName' => 'playlist.m3u8' - ) - )); - - $ret = parse_url($url); - $this->assertEquals('rtmp', $ret['scheme']); - parse_str($ret['query'], $query); - - $this->assertTrue(isset($query['OSSAccessKeyId'])); - $this->assertTrue(isset($query['Signature'])); - $this->assertTrue(intval($query['Expires']) - ($now + 900) < 3); - $this->assertEquals('playlist.m3u8', $query['playlistName']); - } - - public function testGetgenPreSignedRtmpUrlVsSignedRtmpUrl() - { - $channelName = '90475'; - $bucket = 'douyu'; - $url1 = '245'; - $url2 = '123'; - $expiration = 0; - - do { - $begin = time(); - $expiration = time() + 900; - $url1 = $this->client->generatePresignedRtmpUrl($bucket, $channelName, $expiration, array( - 'params' => array( - 'playlistName' => 'playlist.m3u8' - ) - )); - - $url2 = $this->client->signRtmpUrl($bucket, $channelName, 900, array( - 'params' => array( - 'playlistName' => 'playlist.m3u8' - ) - )); - - $end = time(); - - if ($begin == $end) - break; - usleep(500000); - } while (true); - $this->assertEquals($url1, $url1); - $this->assertTrue(strpos($url1, 'Expires='.$expiration) !== false); - } - - public function testLiveChannelInfo() - { - $channelName = 'live-to-put-status'; - $config = new LiveChannelConfig(array( - 'description' => 'test live channel info', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $this->client->putBucketLiveChannel($this->bucketName, $channelName, $config); - - $info = $this->client->getLiveChannelInfo($this->bucketName, $channelName); - $this->assertEquals('test live channel info', $info->getDescription()); - $this->assertEquals('enabled', $info->getStatus()); - $this->assertEquals('HLS', $info->getType()); - $this->assertEquals(10, $info->getFragDuration()); - $this->assertEquals(5, $info->getFragCount()); - $this->assertEquals('playlist.m3u8', $info->getPlayListName()); - - $this->client->deleteBucketLiveChannel($this->bucketName, $channelName); - $list = $this->client->listBucketLiveChannels($this->bucketName, array( - 'prefix' => $channelName - )); - $this->assertEquals(0, count($list->getChannelList())); - } - - public function testPutLiveChannelStatus() - { - $channelName = 'live-to-put-status'; - $config = new LiveChannelConfig(array( - 'description' => 'test live channel info', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $this->client->putBucketLiveChannel($this->bucketName, $channelName, $config); - - $info = $this->client->getLiveChannelInfo($this->bucketName, $channelName); - $this->assertEquals('test live channel info', $info->getDescription()); - $this->assertEquals('enabled', $info->getStatus()); - $this->assertEquals('HLS', $info->getType()); - $this->assertEquals(10, $info->getFragDuration()); - $this->assertEquals(5, $info->getFragCount()); - $this->assertEquals('playlist.m3u8', $info->getPlayListName()); - $status = $this->client->getLiveChannelStatus($this->bucketName, $channelName); - $this->assertEquals('Idle', $status->getStatus()); - - - $resp = $this->client->putLiveChannelStatus($this->bucketName, $channelName, "disabled"); - $info = $this->client->getLiveChannelInfo($this->bucketName, $channelName); - $this->assertEquals('test live channel info', $info->getDescription()); - $this->assertEquals('disabled', $info->getStatus()); - $this->assertEquals('HLS', $info->getType()); - $this->assertEquals(10, $info->getFragDuration()); - $this->assertEquals(5, $info->getFragCount()); - $this->assertEquals('playlist.m3u8', $info->getPlayListName()); - - $status = $this->client->getLiveChannelStatus($this->bucketName, $channelName); - //getLiveChannelInfo - $this->assertEquals('Disabled', $status->getStatus()); - - $this->client->deleteBucketLiveChannel($this->bucketName, $channelName); - $list = $this->client->listBucketLiveChannels($this->bucketName, array( - 'prefix' => $channelName - )); - $this->assertEquals(0, count($list->getChannelList())); - - } - public function testLiveChannelHistory() - { - $channelName = 'live-test-history'; - $config = new LiveChannelConfig(array( - 'description' => 'test live channel info', - 'type' => 'HLS', - 'fragDuration' => 10, - 'fragCount' => 5, - 'playListName' => 'hello.m3u8' - )); - $this->client->putBucketLiveChannel($this->bucketName, $channelName, $config); - - $history = $this->client->getLiveChannelHistory($this->bucketName, $channelName); - $this->assertEquals(0, count($history->getLiveRecordList())); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CallbackTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CallbackTest.php deleted file mode 100644 index 31df548d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CallbackTest.php +++ /dev/null @@ -1,296 +0,0 @@ -ossClient->putObject($this->bucket, $copiedObject, file_get_contents(__FILE__)); - - /** - * step 1. Initialize a block upload event, which is initialized to upload Multipart, get the upload id - */ - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - /* - * step 2. uploadPartCopy - */ - $copyId = 1; - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $copiedObject, $this->bucket, $object, $copyId, $upload_id); - $upload_parts[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - - try { - $listPartsInfo = $this->ossClient->listParts($this->bucket, $object, $upload_id); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * step 3. - */ - $json = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\"mimeType\":${mimeType},\"size\":${size},\"x:var1\":${x:var1},\"x:var2\":${x:var2}}", - "callbackBodyType":"application/json" - }'; - - $var = - '{ - "x:var1":"value1", - "x:var2":"值2" - }'; - $options = array(OssClient::OSS_CALLBACK => $json, - OssClient::OSS_CALLBACK_VAR => $var - ); - - try { - $result = $this->ossClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts, $options); - $this->assertEquals("200", $result['info']['http_code']); - $this->assertEquals("{\"Status\":\"OK\"}", $result['body']); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testMultipartUploadCallbackFailed() - { - $object = "multipart-callback-test.txt"; - $copiedObject = "multipart-callback-test.txt.copied"; - $this->ossClient->putObject($this->bucket, $copiedObject, file_get_contents(__FILE__)); - - /** - * step 1. Initialize a block upload event, which is initialized to upload Multipart, get the upload id - */ - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - /* - * step 2. uploadPartCopy - */ - $copyId = 1; - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $copiedObject, $this->bucket, $object, $copyId, $upload_id); - $upload_parts[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - - try { - $listPartsInfo = $this->ossClient->listParts($this->bucket, $object, $upload_id); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * step 3. - */ - - $json = - '{ - "callbackUrl":"www.baidu.com", - "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\"mimeType\":${mimeType},\"size\":${size},\"x:var1\":${x:var1},\"x:var2\":${x:var2}}", - "callbackBodyType":"application/json" - }'; - - $var = - '{ - "x:var1":"value1", - "x:var2":"值2" - }'; - $options = array(OssClient::OSS_CALLBACK => $json, - OssClient::OSS_CALLBACK_VAR => $var - ); - - try { - $result = $this->ossClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts, $options); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - $this->assertEquals("203", $e->getHTTPStatus()); - } - - } - - public function testPutObjectCallbackNormal() - { - //json - { - $json = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\"mimeType\":${mimeType},\"size\":${size}}", - "callbackBodyType":"application/json" - }'; - $options = array(OssClient::OSS_CALLBACK => $json); - $this->putObjectCallbackOk($options, "200"); - } - //url - { - $url = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&imageInfo.height=${imageInfo.height}&imageInfo.width=${imageInfo.width}&imageInfo.format=${imageInfo.format}", - "callbackBodyType":"application/x-www-form-urlencoded" - }'; - $options = array(OssClient::OSS_CALLBACK => $url); - $this->putObjectCallbackOk($options, "200"); - } - // Unspecified typre - { - $url = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&imageInfo.height=${imageInfo.height}&imageInfo.width=${imageInfo.width}&imageInfo.format=${imageInfo.format}" - }'; - $options = array(OssClient::OSS_CALLBACK => $url); - $this->putObjectCallbackOk($options, "200"); - } - //json and body is chinese - { - $json = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\" 春水碧于天,画船听雨眠。\":\"垆边人似月,皓腕凝霜雪。\"}", - "callbackBodyType":"application/json" - }'; - $options = array(OssClient::OSS_CALLBACK => $json); - $this->putObjectCallbackOk($options, "200"); - } - //url and body is chinese - { - $url = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"春水碧于天,画船听雨眠。垆边人似月,皓腕凝霜雪", - "callbackBodyType":"application/x-www-form-urlencoded" - }'; - $options = array(OssClient::OSS_CALLBACK => $url); - $this->putObjectCallbackOk($options, "200"); - } - //json and add callback_var - { - $json = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\"mimeType\":${mimeType},\"size\":${size},\"x:var1\":${x:var1},\"x:var2\":${x:var2}}", - "callbackBodyType":"application/json" - }'; - - $var = - '{ - "x:var1":"value1", - "x:var2":"aliyun.com" - }'; - $options = array(OssClient::OSS_CALLBACK => $json, - OssClient::OSS_CALLBACK_VAR => $var - ); - $this->putObjectCallbackOk($options, "200"); - } - //url and add callback_var - { - $url = - '{ - "callbackUrl":"'.Common::getCallbackUrl().'",'. - ' "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&imageInfo.height=${imageInfo.height}&imageInfo.width=${imageInfo.width}&imageInfo.format=${imageInfo.format}&my_var1=${x:var1}&my_var2=${x:var2}", - "callbackBodyType":"application/x-www-form-urlencoded" - }'; - $var = - '{ - "x:var1":"value1凌波不过横塘路,但目送,芳", - "x:var2":"值2" - }'; - $options = array(OssClient::OSS_CALLBACK => $url, - OssClient::OSS_CALLBACK_VAR => $var - ); - $this->putObjectCallbackOk($options, "200"); - } - - } - - public function testPutCallbackWithCallbackFailed() - { - { - $json = - '{ - "callbackUrl":"http://www.baidu.com", - "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"{\"mimeType\":${mimeType},\"size\":${size}}", - "callbackBodyType":"application/json" - }'; - $options = array(OssClient::OSS_CALLBACK => $json); - $this->putObjectCallbackFailed($options, "203"); - } - - { - $url = - '{ - "callbackUrl":"http://www.baidu.com", - "callbackHost":"oss-cn-hangzhou.aliyuncs.com", - "callbackBody":"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&imageInfo.height=${imageInfo.height}&imageInfo.width=${imageInfo.width}&imageInfo.format=${imageInfo.format}&my_var1=${x:var1}&my_var2=${x:var2}", - "callbackBodyType":"application/x-www-form-urlencoded" - }'; - $options = array(OssClient::OSS_CALLBACK => $url); - $this->putObjectCallbackFailed($options, "203"); - } - - } - - private function putObjectCallbackOk($options, $status) - { - $object = "oss-php-sdk-callback-test.txt"; - $content = file_get_contents(__FILE__); - try { - $result = $this->ossClient->putObject($this->bucket, $object, $content, $options); - $this->assertEquals($status, $result['info']['http_code']); - $this->assertEquals("{\"Status\":\"OK\"}", $result['body']); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - private function putObjectCallbackFailed($options, $status) - { - $object = "oss-php-sdk-callback-test.txt"; - $content = file_get_contents(__FILE__); - try { - $result = $this->ossClient->putObject($this->bucket, $object, $content, $options); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals($status, $e->getHTTPStatus()); - $this->assertTrue(true); - } - } - - protected function setUp(): void - { - parent::setUp(); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CnameConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CnameConfigTest.php deleted file mode 100644 index 8f7529c9..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CnameConfigTest.php +++ /dev/null @@ -1,77 +0,0 @@ - - - - www.foo.com - enabled - 20150101 - - - bar.com - disabled - 20160101 - - -BBBB; - - public function testFromXml() - { - $cnameConfig = new CnameConfig(); - $cnameConfig->parseFromXml($this->xml1); - - $cnames = $cnameConfig->getCnames(); - $this->assertEquals(2, count($cnames)); - $this->assertEquals('www.foo.com', $cnames[0]['Domain']); - $this->assertEquals('enabled', $cnames[0]['Status']); - $this->assertEquals('20150101', $cnames[0]['LastModified']); - - $this->assertEquals('bar.com', $cnames[1]['Domain']); - $this->assertEquals('disabled', $cnames[1]['Status']); - $this->assertEquals('20160101', $cnames[1]['LastModified']); - } - - public function testToXml() - { - $cnameConfig = new CnameConfig(); - $cnameConfig->addCname('www.foo.com'); - $cnameConfig->addCname('bar.com'); - - $xml = $cnameConfig->serializeToXml(); - $comp = new CnameConfig(); - $comp->parseFromXml($xml); - - $cnames1 = $cnameConfig->getCnames(); - $cnames2 = $comp->getCnames(); - - $this->assertEquals(count($cnames1), count($cnames2)); - $this->assertEquals(count($cnames1[0]), count($cnames2[0])); - $this->assertEquals(1, count($cnames1[0])); - $this->assertEquals($cnames1[0]['Domain'], $cnames2[0]['Domain']); - } - - public function testCnameNumberLimit() - { - $cnameConfig = new CnameConfig(); - for ($i = 0; $i < CnameConfig::OSS_MAX_RULES; $i += 1) { - $cnameConfig->addCname(strval($i) . '.foo.com'); - } - try { - $cnameConfig->addCname('www.foo.com'); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals( - $e->getMessage(), - "num of cname in the config exceeds self::OSS_MAX_RULES: " . strval(CnameConfig::OSS_MAX_RULES)); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/Common.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/Common.php deleted file mode 100644 index 15289448..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/Common.php +++ /dev/null @@ -1,80 +0,0 @@ -getMessage() . "\n"); - return null; - } - return $ossClient; - } - - public static function getBucketName() - { - return getenv('OSS_BUCKET'); - } - - public static function getRegion() - { - return getenv('OSS_REGION'); - } - - public static function getCallbackUrl() - { - return getenv('OSS_CALLBACK_URL'); - } - - /** - * Tool method, create a bucket - */ - public static function createBucket() - { - $ossClient = self::getOssClient(); - if (is_null($ossClient)) exit(1); - $bucket = self::getBucketName(); - $acl = OssClient::OSS_ACL_TYPE_PUBLIC_READ; - try { - $ossClient->createBucket($bucket, $acl); - } catch (OssException $e) { - printf(__FUNCTION__ . ": FAILED\n"); - printf($e->getMessage() . "\n"); - return; - } - print(__FUNCTION__ . ": OK" . "\n"); - } - - /** - * Wait for bucket meta sync - */ - public static function waitMetaSync() - { - if (getenv('TRAVIS')) { - sleep(10); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ContentTypeTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ContentTypeTest.php deleted file mode 100644 index 66b40577..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ContentTypeTest.php +++ /dev/null @@ -1,133 +0,0 @@ -/dev/null', $output, $status); - - $this->assertEquals(0, $status); - } - - private function getContentType($bucket, $object) - { - $client = $this->ossClient; - $headers = $client->getObjectMeta($bucket, $object); - return $headers['content-type']; - } - - public function testByFileName() - { - $client = $this->ossClient; - $bucket = $this->bucket; - - $file = '/tmp/x.html'; - $object = 'test/x'; - $this->runCmd('touch ' . $file); - - $client->uploadFile($bucket, $object, $file); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('text/html', $type); - - $file = '/tmp/x.json'; - $object = 'test/y'; - $this->runCmd('dd if=/dev/urandom of=' . $file . ' bs=1024 count=100'); - - $client->multiuploadFile($bucket, $object, $file, array('partSize' => 100)); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('application/json', $type); - } - - public function testByObjectKey() - { - $client = $this->ossClient; - $bucket = $this->bucket; - - $object = "test/x.txt"; - $client->putObject($bucket, $object, "hello world"); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('text/plain', $type); - - $file = '/tmp/x.html'; - $object = 'test/x.txt'; - $this->runCmd('touch ' . $file); - - $client->uploadFile($bucket, $object, $file); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('text/html', $type); - - $file = '/tmp/x.none'; - $object = 'test/x.txt'; - $this->runCmd('touch ' . $file); - - $client->uploadFile($bucket, $object, $file); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('text/plain', $type); - - $file = '/tmp/x.mp3'; - $object = 'test/y.json'; - $this->runCmd('dd if=/dev/urandom of=' . $file . ' bs=1024 count=100'); - - $client->multiuploadFile($bucket, $object, $file, array('partSize' => 100)); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('audio/mpeg', $type); - - $file = '/tmp/x.none'; - $object = 'test/y.json'; - $this->runCmd('dd if=/dev/urandom of=' . $file . ' bs=1024 count=100'); - - $client->multiuploadFile($bucket, $object, $file, array('partSize' => 100)); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('application/json', $type); - } - - public function testByUser() - { - $client = $this->ossClient; - $bucket = $this->bucket; - - $object = "test/x.txt"; - $client->putObject($bucket, $object, "hello world", array( - 'Content-Type' => 'text/html' - )); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('text/html', $type); - - $file = '/tmp/x.html'; - $object = 'test/x'; - $this->runCmd('touch ' . $file); - - $client->uploadFile($bucket, $object, $file, array( - 'Content-Type' => 'application/json' - )); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('application/json', $type); - - $file = '/tmp/x.json'; - $object = 'test/y'; - $this->runCmd('dd if=/dev/urandom of=' . $file . ' bs=1024 count=100'); - - $client->multiuploadFile($bucket, $object, $file, array( - 'partSize' => 100, - 'Content-Type' => 'audio/mpeg' - )); - $type = $this->getContentType($bucket, $object); - - $this->assertEquals('audio/mpeg', $type); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CopyObjectResult.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CopyObjectResult.php deleted file mode 100644 index 7d1b0fba..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CopyObjectResult.php +++ /dev/null @@ -1,52 +0,0 @@ - - - Fri, 24 Feb 2012 07:18:48 GMT - "5B3C1A2E053D763E1B002CC607C5A0FE" - -BBBB; - - public function testNullResponse() - { - $response = null; - try { - new CopyObjectResult($response); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('raw response is null', $e->getMessage()); - } - } - - public function testOkResponse() - { - $header= array(); - $response = new ResponseCore($header, $this->body, 200); - $result = new CopyObjectResult($response); - $data = $result->getData(); - $this->assertTrue($result->isOK()); - $this->assertEquals("Fri, 24 Feb 2012 07:18:48 GMT", $data[0]); - $this->assertEquals("\"5B3C1A2E053D763E1B002CC607C5A0FE\"", $data[1]); - } - - public function testFailResponse() - { - $response = new ResponseCore(array(), "", 404); - try { - new CopyObjectResult($response); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertFalse(false); - } - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CorsConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CorsConfigTest.php deleted file mode 100644 index 3329b1af..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/CorsConfigTest.php +++ /dev/null @@ -1,140 +0,0 @@ - - - -http://www.b.com -http://www.a.com -http://www.a.com -GET -PUT -POST -x-oss-test -x-oss-test2 -x-oss-test2 -x-oss-test3 -x-oss-test1 -x-oss-test1 -x-oss-test2 -10 - - -http://www.b.com -GET -x-oss-test -x-oss-test1 -110 - - -BBBB; - - private $validXml2 = << - - -http://www.b.com -http://www.a.com -http://www.a.com -GET -PUT -POST -x-oss-test -x-oss-test2 -x-oss-test2 -x-oss-test3 -x-oss-test1 -x-oss-test1 -x-oss-test2 -10 - - -BBBB; - - public function testParseValidXml() - { - $corsConfig = new CorsConfig(); - $corsConfig->parseFromXml($this->validXml); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($corsConfig->serializeToXml())); - $this->assertNotNull($corsConfig->getRules()); - $rules = $corsConfig->getRules(); - $this->assertNotNull($rules[0]->getAllowedHeaders()); - $this->assertNotNull($rules[0]->getAllowedMethods()); - $this->assertNotNull($rules[0]->getAllowedOrigins()); - $this->assertNotNull($rules[0]->getExposeHeaders()); - $this->assertNotNull($rules[0]->getMaxAgeSeconds()); - } - - public function testParseValidXml2() - { - $corsConfig = new CorsConfig(); - $corsConfig->parseFromXml($this->validXml2); - $this->assertEquals($this->cleanXml($this->validXml2), $this->cleanXml($corsConfig->serializeToXml())); - } - - public function testCreateCorsConfigFromMoreThan10Rules() - { - $corsConfig = new CorsConfig(); - $rule = new CorsRule(); - for ($i = 0; $i < CorsConfig::OSS_MAX_RULES; $i += 1) { - $corsConfig->addRule($rule); - } - try { - $corsConfig->addRule($rule); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals($e->getMessage(), "num of rules in the config exceeds self::OSS_MAX_RULES: " . strval(CorsConfig::OSS_MAX_RULES)); - } - } - - public function testCreateCorsConfigParamAbsent() - { - $corsConfig = new CorsConfig(); - $rule = new CorsRule(); - $corsConfig->addRule($rule); - - try { - $xml = $corsConfig->serializeToXml(); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals($e->getMessage(), "maxAgeSeconds is not set in the Rule"); - } - } - - public function testCreateCorsConfigFromScratch() - { - $corsConfig = new CorsConfig(); - $rule = new CorsRule(); - $rule->addAllowedHeader("x-oss-test"); - $rule->addAllowedHeader("x-oss-test2"); - $rule->addAllowedHeader("x-oss-test2"); - $rule->addAllowedHeader("x-oss-test3"); - $rule->addAllowedOrigin("http://www.b.com"); - $rule->addAllowedOrigin("http://www.a.com"); - $rule->addAllowedOrigin("http://www.a.com"); - $rule->addAllowedMethod("GET"); - $rule->addAllowedMethod("PUT"); - $rule->addAllowedMethod("POST"); - $rule->addExposeHeader("x-oss-test1"); - $rule->addExposeHeader("x-oss-test1"); - $rule->addExposeHeader("x-oss-test2"); - $rule->setMaxAgeSeconds(10); - $corsConfig->addRule($rule); - $this->assertEquals($this->cleanXml($this->validXml2), $this->cleanXml($corsConfig->serializeToXml())); - $this->assertEquals($this->cleanXml($this->validXml2), $this->cleanXml(strval($corsConfig))); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/DeleteObjectVersionsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/DeleteObjectVersionsResultTest.php deleted file mode 100644 index 890b1a5d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/DeleteObjectVersionsResultTest.php +++ /dev/null @@ -1,187 +0,0 @@ - - - - demo.jpg - CAEQNRiBgICEoPiC0BYiIGMxZWJmYmMzYjE0OTQ0ZmZhYjgzNzkzYjc2NjZk**** - true - 111111 - - - BBBB; - - private $validXml1 = << - - - multipart.data - CAEQNRiBgIDyz.6C0BYiIGQ2NWEwNmVhNTA3ZTQ3MzM5ODliYjM1ZTdjYjA4**** - - - BBBB; - - private $validXml2 = << - - - multipart.data - true - CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl**** - - - test.jpg - true - CAEQMhiBgIDB3aWB0BYiIGUzYTA3YzliMzVmNzRkZGM5NjllYTVlMjYyYWEy**** - - - BBBB; - - private $validXml3 = << - - - multipart.data - - - test.jpg - - - demo.jpg - - - BBBB; - - private $validXml4 = << - - url - - multipart%2F.data - - - test%2F.jpg - - - demo%2F.jpg - - - BBBB; - - private $invalidXml = << - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new DeleteObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(1, count($list)); - $this->assertEquals('demo.jpg', $list[0]->getKey()); - $this->assertEquals('CAEQNRiBgICEoPiC0BYiIGMxZWJmYmMzYjE0OTQ0ZmZhYjgzNzkzYjc2NjZk****', $list[0]->getVersionId()); - $this->assertEquals('true', $list[0]->getDeleteMarker()); - $this->assertEquals('111111', $list[0]->getDeleteMarkerVersionId()); - - - $response = new ResponseCore(array(), $this->validXml1, 200); - $result = new DeleteObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(1, count($list)); - $this->assertEquals('multipart.data', $list[0]->getKey()); - $this->assertEquals('CAEQNRiBgIDyz.6C0BYiIGQ2NWEwNmVhNTA3ZTQ3MzM5ODliYjM1ZTdjYjA4****', $list[0]->getVersionId()); - $this->assertEquals('', $list[0]->getDeleteMarker()); - $this->assertEquals('', $list[0]->getDeleteMarkerVersionId()); - - $response = new ResponseCore(array(), $this->validXml2, 200); - $result = new DeleteObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(2, count($list)); - $this->assertEquals('multipart.data', $list[0]->getKey()); - $this->assertEquals('', $list[0]->getVersionId()); - $this->assertEquals('true', $list[0]->getDeleteMarker()); - $this->assertEquals('CAEQMhiBgIDXiaaB0BYiIGQzYmRkZGUxMTM1ZDRjOTZhNjk4YjRjMTAyZjhl****', $list[0]->getDeleteMarkerVersionId()); - $this->assertEquals('test.jpg', $list[1]->getKey()); - $this->assertEquals('', $list[1]->getVersionId()); - $this->assertEquals('true', $list[1]->getDeleteMarker()); - $this->assertEquals('CAEQMhiBgIDB3aWB0BYiIGUzYTA3YzliMzVmNzRkZGM5NjllYTVlMjYyYWEy****', $list[1]->getDeleteMarkerVersionId()); - - - $response = new ResponseCore(array(), $this->validXml3, 200); - $result = new DeleteObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(3, count($list)); - $this->assertEquals('multipart.data', $list[0]->getKey()); - $this->assertEquals('', $list[0]->getVersionId()); - $this->assertEquals('', $list[0]->getDeleteMarker()); - $this->assertEquals('', $list[0]->getDeleteMarkerVersionId()); - $this->assertEquals('test.jpg', $list[1]->getKey()); - $this->assertEquals('', $list[1]->getVersionId()); - $this->assertEquals('', $list[1]->getDeleteMarker()); - $this->assertEquals('', $list[1]->getDeleteMarkerVersionId()); - $this->assertEquals('demo.jpg', $list[2]->getKey()); - $this->assertEquals('', $list[2]->getVersionId()); - $this->assertEquals('', $list[2]->getDeleteMarker()); - $this->assertEquals('', $list[2]->getDeleteMarkerVersionId()); - - $response = new ResponseCore(array(), $this->validXml4, 200); - $result = new DeleteObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(3, count($list)); - $this->assertEquals('multipart/.data', $list[0]->getKey()); - $this->assertEquals('', $list[0]->getVersionId()); - $this->assertEquals('', $list[0]->getDeleteMarker()); - $this->assertEquals('', $list[0]->getDeleteMarkerVersionId()); - $this->assertEquals('test/.jpg', $list[1]->getKey()); - $this->assertEquals('', $list[1]->getVersionId()); - $this->assertEquals('', $list[1]->getDeleteMarker()); - $this->assertEquals('', $list[1]->getDeleteMarkerVersionId()); - $this->assertEquals('demo/.jpg', $list[2]->getKey()); - $this->assertEquals('', $list[2]->getVersionId()); - $this->assertEquals('', $list[2]->getDeleteMarker()); - $this->assertEquals('', $list[2]->getDeleteMarkerVersionId()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new DeleteObjectVersionsResult($response); - $list = $result->getData(); - $this->assertEquals(0, count($list)); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new DeleteObjectVersionsResult($response); - $list = $result->getData(); - $this->assertEquals(0, count($list)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ExistResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ExistResultTest.php deleted file mode 100644 index f9c552e1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ExistResultTest.php +++ /dev/null @@ -1,38 +0,0 @@ -assertTrue($result->isOK()); - $this->assertEquals($result->getData(), true); - } - - public function testParseInvalid404() - { - $response = new ResponseCore(array(), "", 404); - $result = new ExistResult($response); - $this->assertTrue($result->isOK()); - $this->assertEquals($result->getData(), false); - } - - public function testInvalidResponse() - { - $response = new ResponseCore(array(), "", 300); - try { - new ExistResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketEncryptionResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketEncryptionResultTest.php deleted file mode 100644 index 6f0e0d27..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketEncryptionResultTest.php +++ /dev/null @@ -1,95 +0,0 @@ - - - - AES256 - - - - BBBB; - - private $validXml1 = << - - - KMS - kms-id - - - BBBB; - - private $validXml2 = << - - - KMS - - - BBBB; - - private $invalidXml = << - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetBucketEncryptionResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $config = $result->getData(); - $this->assertEquals("AES256", $config->getSSEAlgorithm()); - $this->assertEquals("", $config->getKMSMasterKeyID()); - - - $response = new ResponseCore(array(), $this->validXml1, 200); - $result = new GetBucketEncryptionResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $config = $result->getData(); - $this->assertEquals("KMS", $config->getSSEAlgorithm()); - $this->assertEquals("kms-id", $config->getKMSMasterKeyID()); - - $response = new ResponseCore(array(), $this->validXml2, 200); - $result = new GetBucketEncryptionResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $config = $result->getData(); - $this->assertEquals("KMS", $config->getSSEAlgorithm()); - $this->assertEquals(null, $config->getKMSMasterKeyID()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new GetBucketEncryptionResult($response); - $config = $result->getData(); - $this->assertEquals(null, $config->getSSEAlgorithm()); - $this->assertEquals(null, $config->getKMSMasterKeyID()); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new GetBucketEncryptionResult($response); - $config = $result->getData(); - $this->assertEquals(null, $config->getSSEAlgorithm()); - $this->assertEquals(null, $config->getKMSMasterKeyID()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketRequestPaymentResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketRequestPaymentResultTest.php deleted file mode 100644 index 2de08be6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketRequestPaymentResultTest.php +++ /dev/null @@ -1,66 +0,0 @@ - - - Requester - - BBBB; - - private $validXml2 = << - - BucketOwner - - BBBB; - - private $invalidXml = << - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetBucketRequestPaymentResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $payer = $result->getData(); - $this->assertEquals("Requester", $payer); - - $response = new ResponseCore(array(), $this->validXml2, 200); - $result = new GetBucketRequestPaymentResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $payer = $result->getData(); - $this->assertEquals("BucketOwner", $payer); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new GetBucketRequestPaymentResult($response); - $payer = $result->getData(); - $this->assertEquals(null, $payer); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new GetBucketRequestPaymentResult($response); - $payer = $result->getData(); - $this->assertEquals(null, $payer); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketStatResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketStatResultTest.php deleted file mode 100644 index 967e65d1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketStatResultTest.php +++ /dev/null @@ -1,59 +0,0 @@ - - - 100 - 200 - 10 - - BBBB; - - private $invalidXml = << - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetBucketStatResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $stat = $result->getData(); - $this->assertEquals(100, $stat->getStorage()); - $this->assertEquals(200, $stat->getObjectCount()); - $this->assertEquals(10, $stat->getMultipartUploadCount()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new GetBucketStatResult($response); - $stat = $result->getData(); - $this->assertEquals(0, $stat->getStorage()); - $this->assertEquals(0, $stat->getObjectCount()); - $this->assertEquals(0, $stat->getMultipartUploadCount()); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new GetBucketStatResult($response); - $stat = $result->getData(); - $this->assertEquals(0, $stat->getStorage()); - $this->assertEquals(0, $stat->getObjectCount()); - $this->assertEquals(0, $stat->getMultipartUploadCount()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketTagsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketTagsResultTest.php deleted file mode 100644 index f4b2a889..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketTagsResultTest.php +++ /dev/null @@ -1,77 +0,0 @@ - - - - - testa - value1-test - - - testb - value2-test - - - - BBBB; - - private $invalidXml = << - - - BBBB; - - private $invalidXml2 = << - - - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetBucketTagsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $config = $result->getData(); - $this->assertEquals(2, count($config->getTags())); - $this->assertEquals("testa", $config->getTags()[0]->getKey()); - $this->assertEquals("value1-test", $config->getTags()[0]->getValue()); - $this->assertEquals("testb", $config->getTags()[1]->getKey()); - $this->assertEquals("value2-test", $config->getTags()[1]->getValue()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new GetBucketTagsResult($response); - $config = $result->getData(); - $this->assertEquals(0, count($config->getTags())); - - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new GetBucketTagsResult($response); - $config = $result->getData(); - $this->assertEquals(0, count($config->getTags())); - - $response = new ResponseCore(array(), $this->invalidXml2, 200); - $result = new GetBucketTagsResult($response); - $config = $result->getData(); - $this->assertEquals(0, count($config->getTags())); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketWormResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketWormResultTest.php deleted file mode 100644 index 4d5d9129..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetBucketWormResultTest.php +++ /dev/null @@ -1,84 +0,0 @@ - - - ID1 - Locked - 1 - 2018-08-14T15:50:32 - - BBBB; - - private $validXml2 = << - - ID2 - InProgress - 10 - 2018-09-14T15:50:32 - - BBBB; - - private $invalidXml = << - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetBucketWormResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $config = $result->getData(); - $this->assertEquals("ID1", $config->getWormId()); - $this->assertEquals("Locked", $config->getState()); - $this->assertEquals(1, $config->getDay()); - $this->assertEquals("2018-08-14T15:50:32", $config->getCreationDate()); - - $response = new ResponseCore(array(), $this->validXml2, 200); - $result = new GetBucketWormResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $config = $result->getData(); - $this->assertEquals("ID2", $config->getWormId()); - $this->assertEquals("InProgress", $config->getState()); - $this->assertEquals(10, $config->getDay()); - $this->assertEquals("2018-09-14T15:50:32", $config->getCreationDate()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new GetBucketWormResult($response); - $config = $result->getData(); - $this->assertEquals("", $config->getWormId()); - $this->assertEquals("", $config->getState()); - $this->assertEquals(0, $config->getDay()); - $this->assertEquals("", $config->getCreationDate()); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new GetBucketWormResult($response); - $config = $result->getData(); - $this->assertEquals("", $config->getWormId()); - $this->assertEquals("", $config->getState()); - $this->assertEquals(0, $config->getDay()); - $this->assertEquals("", $config->getCreationDate()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetCorsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetCorsResultTest.php deleted file mode 100644 index 76d87dc2..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetCorsResultTest.php +++ /dev/null @@ -1,67 +0,0 @@ - - - -http://www.b.com -http://www.a.com -http://www.a.com -GET -PUT -POST -x-oss-test -x-oss-test2 -x-oss-test2 -x-oss-test3 -x-oss-test1 -x-oss-test1 -x-oss-test2 -10 - - -http://www.b.com -GET -x-oss-test -x-oss-test1 -110 - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetCorsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $corsConfig = $result->getData(); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($corsConfig->serializeToXml())); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } - - public function testInvalidResponse() - { - $response = new ResponseCore(array(), $this->validXml, 300); - try { - $result = new GetCorsResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetLifecycleResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetLifecycleResultTest.php deleted file mode 100644 index e6d9a725..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetLifecycleResultTest.php +++ /dev/null @@ -1,59 +0,0 @@ - - - -delete obsoleted files -obsoleted/ -Enabled -3 - - -delete temporary files -temporary/ -Enabled -2022-10-12T00:00:00.000Z -2022-10-12T00:00:00.000Z - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetLifecycleResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $lifecycleConfig = $result->getData(); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($lifecycleConfig->serializeToXml())); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } - - public function testInvalidResponse() - { - $response = new ResponseCore(array(), $this->validXml, 300); - try { - $result = new GetLifecycleResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetLoggingResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetLoggingResultTest.php deleted file mode 100644 index 35f74366..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetLoggingResultTest.php +++ /dev/null @@ -1,51 +0,0 @@ - - - -TargetBucket -TargetPrefix - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetLoggingResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $loggingConfig = $result->getData(); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($loggingConfig->serializeToXml())); - $this->assertEquals("TargetBucket", $loggingConfig->getTargetBucket()); - $this->assertEquals("TargetPrefix", $loggingConfig->getTargetPrefix()); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } - - public function testInvalidResponse() - { - $response = new ResponseCore(array(), $this->validXml, 300); - try { - $result = new GetLoggingResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetRefererResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetRefererResultTest.php deleted file mode 100644 index 774aae95..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetRefererResultTest.php +++ /dev/null @@ -1,51 +0,0 @@ - - -true - -http://www.aliyun.com -https://www.aliyun.com -http://www.*.com -https://www.?.aliyuncs.com - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetRefererResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $refererConfig = $result->getData(); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($refererConfig->serializeToXml())); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } - - public function testInvalidResponse() - { - $response = new ResponseCore(array(), $this->validXml, 300); - try { - $result = new GetRefererResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetWebsiteResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetWebsiteResultTest.php deleted file mode 100644 index d8533066..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/GetWebsiteResultTest.php +++ /dev/null @@ -1,50 +0,0 @@ - - - -index.html - - -errorDocument.html - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetWebsiteResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $websiteConfig = $result->getData(); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($websiteConfig->serializeToXml())); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } - - public function testInvalidResponse() - { - $response = new ResponseCore(array(), $this->validXml, 300); - try { - $result = new GetWebsiteResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/HeaderResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/HeaderResultTest.php deleted file mode 100644 index 9354422b..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/HeaderResultTest.php +++ /dev/null @@ -1,23 +0,0 @@ - 'value'), "", 200); - $result = new HeaderResult($response); - $this->assertTrue($result->isOK()); - $this->assertTrue(is_array($result->getData())); - $data = $result->getData(); - $this->assertEquals($data['key'], 'value'); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/HttpTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/HttpTest.php deleted file mode 100644 index 989644cf..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/HttpTest.php +++ /dev/null @@ -1,77 +0,0 @@ -assertFalse($res->isOK()); - $this->assertTrue($res->isOK(500)); - } - - public function testGet() - { - $httpCore = new RequestCore("http://www.baidu.com"); - $httpResponse = $httpCore->send_request(); - $this->assertNotNull($httpResponse); - } - - public function testSetProxyAndTimeout() - { - $httpCore = new RequestCore("http://www.baidu.com"); - $httpCore->set_proxy("1.0.2.1:8888"); - $httpCore->connect_timeout = 1; - try { - $httpResponse = $httpCore->send_request(); - $this->assertTrue(false); - } catch (RequestCore_Exception $e) { - $this->assertTrue(true); - } - } - - public function testGetParseTrue() - { - $httpCore = new RequestCore("http://www.baidu.com"); - $httpCore->curlopts = array(CURLOPT_HEADER => true); - $url = $httpCore->send_request(true); - foreach ($httpCore->get_response_header() as $key => $value) { - $this->assertEquals($httpCore->get_response_header($key), $value); - } - $this->assertNotNull($url); - } - - public function testParseResponse() - { - $httpCore = new RequestCore("http://www.baidu.com"); - $response = $httpCore->send_request(); - $parsed = $httpCore->process_response(null, $response); - $this->assertNotNull($parsed); - } - - public function testExceptionGet() - { - $httpCore = null; - $exception = false; - try { - $httpCore = new RequestCore("http://www.notexistsitexx.com"); - $httpCore->set_body(""); - $httpCore->set_method("GET"); - $httpCore->connect_timeout = 10; - $httpCore->timeout = 10; - $res = $httpCore->send_request(); - } catch (RequestCore_Exception $e) { - $exception = true; - } - $this->assertTrue($exception); - } -} - - diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/InitiateMultipartUploadResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/InitiateMultipartUploadResultTest.php deleted file mode 100644 index 76b10a65..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/InitiateMultipartUploadResultTest.php +++ /dev/null @@ -1,47 +0,0 @@ - - - multipart_upload - multipart.data - 0004B9894A22E5B1888A1E29F8236E2D - -BBBB; - - private $invalidXml = << - - multipart_upload - multipart.data - -BBBB; - - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new InitiateMultipartUploadResult($response); - $this->assertEquals("0004B9894A22E5B1888A1E29F8236E2D", $result->getData()); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - try { - $result = new InitiateMultipartUploadResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LifecycleConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LifecycleConfigTest.php deleted file mode 100644 index 063e4364..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LifecycleConfigTest.php +++ /dev/null @@ -1,130 +0,0 @@ - - - -delete obsoleted files -obsoleted/ -Enabled -3 - - -delete temporary files -temporary/ -Enabled -2022-10-12T00:00:00.000Z -2022-10-12T00:00:00.000Z - - -BBBB; - - private $validLifecycle2 = << - -delete temporary files -temporary/ -Enabled -2022-10-12T00:00:00.000Z -2022-10-12T00:00:00.000Z - - -BBBB; - - private $nullLifecycle = << - -BBBB; - - public function testConstructValidConfig() - { - $lifecycleConfig = new LifecycleConfig(); - $actions = array(); - $actions[] = new LifecycleAction("Expiration", "Days", 3); - $lifecycleRule = new LifecycleRule("delete obsoleted files", "obsoleted/", "Enabled", $actions); - $lifecycleConfig->addRule($lifecycleRule); - $actions = array(); - $actions[] = new LifecycleAction("Expiration", "Date", '2022-10-12T00:00:00.000Z'); - $actions[] = new LifecycleAction("Expiration2", "Date", '2022-10-12T00:00:00.000Z'); - $lifecycleRule = new LifecycleRule("delete temporary files", "temporary/", "Enabled", $actions); - $lifecycleConfig->addRule($lifecycleRule); - try { - $lifecycleConfig->addRule(null); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('lifecycleRule is null', $e->getMessage()); - } - $this->assertEquals($this->cleanXml(strval($lifecycleConfig)), $this->cleanXml($this->validLifecycle)); - } - - public function testParseValidXml() - { - $lifecycleConfig = new LifecycleConfig(); - $lifecycleConfig->parseFromXml($this->validLifecycle); - $this->assertEquals($this->cleanXml($lifecycleConfig->serializeToXml()), $this->cleanXml($this->validLifecycle)); - $this->assertEquals(2, count($lifecycleConfig->getRules())); - $rules = $lifecycleConfig->getRules(); - $this->assertEquals('delete temporary files', $rules[1]->getId()); - } - - public function testParseValidXml2() - { - $lifecycleConfig = new LifecycleConfig(); - $lifecycleConfig->parseFromXml($this->validLifecycle2); - $this->assertEquals($this->cleanXml($lifecycleConfig->serializeToXml()), $this->cleanXml($this->validLifecycle2)); - $this->assertEquals(1, count($lifecycleConfig->getRules())); - $rules = $lifecycleConfig->getRules(); - $this->assertEquals('delete temporary files', $rules[0]->getId()); - } - - public function testParseNullXml() - { - $lifecycleConfig = new LifecycleConfig(); - $lifecycleConfig->parseFromXml($this->nullLifecycle); - $this->assertEquals($this->cleanXml($lifecycleConfig->serializeToXml()), $this->cleanXml($this->nullLifecycle)); - $this->assertEquals(0, count($lifecycleConfig->getRules())); - } - - public function testLifecycleRule() - { - $lifecycleRule = new LifecycleRule("x", "x", "x", array('x')); - $lifecycleRule->setId("id"); - $lifecycleRule->setPrefix("prefix"); - $lifecycleRule->setStatus("Enabled"); - $lifecycleRule->setActions(array()); - - $this->assertEquals('id', $lifecycleRule->getId()); - $this->assertEquals('prefix', $lifecycleRule->getPrefix()); - $this->assertEquals('Enabled', $lifecycleRule->getStatus()); - $this->assertEmpty($lifecycleRule->getActions()); - } - - public function testLifecycleAction() - { - $action = new LifecycleAction('x', 'x', 'x'); - $this->assertEquals($action->getAction(), 'x'); - $this->assertEquals($action->getTimeSpec(), 'x'); - $this->assertEquals($action->getTimeValue(), 'x'); - $action->setAction('y'); - $action->setTimeSpec('y'); - $action->setTimeValue('y'); - $this->assertEquals($action->getAction(), 'y'); - $this->assertEquals($action->getTimeSpec(), 'y'); - $this->assertEquals($action->getTimeValue(), 'y'); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListBucketsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListBucketsResultTest.php deleted file mode 100644 index 634f97d3..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListBucketsResultTest.php +++ /dev/null @@ -1,167 +0,0 @@ - - - - ut_test_put_bucket - ut_test_put_bucket - - - - oss-cn-hangzhou-a - xz02tphky6fjfiuc0 - 2014-05-15T11:18:32.000Z - - - oss-cn-hangzhou-a - xz02tphky6fjfiuc1 - 2014-05-15T11:18:32.000Z - - - -BBBB; - - private $nullXml = << - - - ut_test_put_bucket - ut_test_put_bucket - - - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new ListBucketsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $bucketListInfo = $result->getData(); - $this->assertEquals(2, count($bucketListInfo->getBucketList())); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), $this->nullXml, 200); - $result = new ListBucketsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $bucketListInfo = $result->getData(); - $this->assertEquals(0, count($bucketListInfo->getBucketList())); - } - - public function test403() - { - $errorHeader = array( - 'x-oss-request-id' => '1a2b-3c4d' - ); - - $errorBody = <<< BBBB - - - NoSuchBucket - The specified bucket does not exist. - 566B870D207FB3044302EB0A - hello.oss-test.aliyun-inc.com - hello - - BBBB; - $response = new ResponseCore($errorHeader, $errorBody, 403); - try { - new ListBucketsResult($response); - } catch (OssException $e) { - $this->assertEquals( - $e->getMessage(), - 'NoSuchBucket: The specified bucket does not exist. RequestId: 1a2b-3c4d'); - $this->assertEquals($e->getHTTPStatus(), '403'); - $this->assertEquals($e->getRequestId(), '1a2b-3c4d'); - $this->assertEquals($e->getErrorCode(), 'NoSuchBucket'); - $this->assertEquals($e->getErrorMessage(), 'The specified bucket does not exist.'); - $this->assertEquals($e->getDetails(), $errorBody); - } - } - - public function testParseXml2() - { - $xml = << - - - ut_test_put_bucket - ut_test_put_bucket - - - - 2015-12-17T18:12:43.000Z - oss-cn-shanghai.aliyuncs.com - oss-cn-shanghai-internal.aliyuncs.com - oss-cn-shanghai - app-base-oss - cn-shanghai - Standard - - - 2014-12-25T11:21:04.000Z - oss-cn-hangzhou.aliyuncs.com - oss-cn-hangzhou-internal.aliyuncs.com - oss-cn-hangzhou - atestleo23 - cn-hangzhou - IA - - - 2014-12-25T11:21:04.000Z - oss-cn-hangzhou - atestleo23 - - - - BBBB; - - $response = new ResponseCore(array(), $xml, 200); - $result = new ListBucketsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $bucketListInfo = $result->getData(); - $this->assertEquals(3, count($bucketListInfo->getBucketList())); - $this->assertEquals("2015-12-17T18:12:43.000Z", $bucketListInfo->getBucketList()[0]->getCreateDate()); - $this->assertEquals("oss-cn-shanghai", $bucketListInfo->getBucketList()[0]->getLocation()); - $this->assertEquals("app-base-oss", $bucketListInfo->getBucketList()[0]->getName()); - $this->assertEquals("oss-cn-shanghai.aliyuncs.com", $bucketListInfo->getBucketList()[0]->getExtranetEndpoint()); - $this->assertEquals("oss-cn-shanghai-internal.aliyuncs.com", $bucketListInfo->getBucketList()[0]->getIntranetEndpoint()); - $this->assertEquals("cn-shanghai", $bucketListInfo->getBucketList()[0]->getRegion()); - $this->assertEquals("Standard", $bucketListInfo->getBucketList()[0]->getStorageClass()); - - $this->assertEquals("2014-12-25T11:21:04.000Z", $bucketListInfo->getBucketList()[1]->getCreateDate()); - $this->assertEquals("oss-cn-hangzhou", $bucketListInfo->getBucketList()[1]->getLocation()); - $this->assertEquals("atestleo23", $bucketListInfo->getBucketList()[1]->getName()); - $this->assertEquals("oss-cn-hangzhou.aliyuncs.com", $bucketListInfo->getBucketList()[1]->getExtranetEndpoint()); - $this->assertEquals("oss-cn-hangzhou-internal.aliyuncs.com", $bucketListInfo->getBucketList()[1]->getIntranetEndpoint()); - $this->assertEquals("cn-hangzhou", $bucketListInfo->getBucketList()[1]->getRegion()); - $this->assertEquals("IA", $bucketListInfo->getBucketList()[1]->getStorageClass()); - - $this->assertEquals("2014-12-25T11:21:04.000Z", $bucketListInfo->getBucketList()[2]->getCreateDate()); - $this->assertEquals("oss-cn-hangzhou", $bucketListInfo->getBucketList()[2]->getLocation()); - $this->assertEquals("atestleo23", $bucketListInfo->getBucketList()[2]->getName()); - $this->assertEquals(null, $bucketListInfo->getBucketList()[2]->getExtranetEndpoint()); - $this->assertEquals(null, $bucketListInfo->getBucketList()[2]->getIntranetEndpoint()); - $this->assertEquals(null, $bucketListInfo->getBucketList()[2]->getRegion()); - $this->assertEquals(null, $bucketListInfo->getBucketList()[2]->getStorageClass()); - - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListMultipartUploadResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListMultipartUploadResultTest.php deleted file mode 100644 index 88bd0a77..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListMultipartUploadResultTest.php +++ /dev/null @@ -1,114 +0,0 @@ - - - oss-example - xx - 3 - oss.avi - 0004B99B8E707874FC2D692FA5D77D3F - x - xx - 1000 - false - - multipart.data - 0004B999EF518A1FE585B0C9360DC4C8 - 2012-02-23T04:18:23.000Z - - - multipart.data - 0004B999EF5A239BB9138C6227D69F95 - 2012-02-23T04:18:23.000Z - - - oss.avi - 0004B99B8E707874FC2D692FA5D77D3F - 2012-02-23T06:14:27.000Z - - -BBBB; - - private $validXmlWithEncodedKey = << - - oss-example - url - php%2Bkey-marker - 3 - php%2Bnext-key-marker - 0004B99B8E707874FC2D692FA5D77D3F - %2F - php%2Bprefix - 1000 - true - - php%2Bkey-1 - 0004B999EF518A1FE585B0C9360DC4C8 - 2012-02-23T04:18:23.000Z - - - php%2Bkey-2 - 0004B999EF5A239BB9138C6227D69F95 - 2012-02-23T04:18:23.000Z - - - php%2Bkey-3 - 0004B99B8E707874FC2D692FA5D77D3F - 2012-02-23T06:14:27.000Z - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new ListMultipartUploadResult($response); - $listMultipartUploadInfo = $result->getData(); - $this->assertEquals("oss-example", $listMultipartUploadInfo->getBucket()); - $this->assertEquals("xx", $listMultipartUploadInfo->getKeyMarker()); - $this->assertEquals(3, $listMultipartUploadInfo->getUploadIdMarker()); - $this->assertEquals("oss.avi", $listMultipartUploadInfo->getNextKeyMarker()); - $this->assertEquals("0004B99B8E707874FC2D692FA5D77D3F", $listMultipartUploadInfo->getNextUploadIdMarker()); - $this->assertEquals("x", $listMultipartUploadInfo->getDelimiter()); - $this->assertEquals("xx", $listMultipartUploadInfo->getPrefix()); - $this->assertEquals(1000, $listMultipartUploadInfo->getMaxUploads()); - $this->assertEquals("false", $listMultipartUploadInfo->getIsTruncated()); - $uploads = $listMultipartUploadInfo->getUploads(); - $this->assertEquals("multipart.data", $uploads[0]->getKey()); - $this->assertEquals("0004B999EF518A1FE585B0C9360DC4C8", $uploads[0]->getUploadId()); - $this->assertEquals("2012-02-23T04:18:23.000Z", $uploads[0]->getInitiated()); - } - - public function testParseValidXmlWithEncodedKey() - { - $response = new ResponseCore(array(), $this->validXmlWithEncodedKey, 200); - $result = new ListMultipartUploadResult($response); - $listMultipartUploadInfo = $result->getData(); - $this->assertEquals("oss-example", $listMultipartUploadInfo->getBucket()); - $this->assertEquals("php+key-marker", $listMultipartUploadInfo->getKeyMarker()); - $this->assertEquals("php+next-key-marker", $listMultipartUploadInfo->getNextKeyMarker()); - $this->assertEquals(3, $listMultipartUploadInfo->getUploadIdMarker()); - $this->assertEquals("0004B99B8E707874FC2D692FA5D77D3F", $listMultipartUploadInfo->getNextUploadIdMarker()); - $this->assertEquals("/", $listMultipartUploadInfo->getDelimiter()); - $this->assertEquals("php+prefix", $listMultipartUploadInfo->getPrefix()); - $this->assertEquals(1000, $listMultipartUploadInfo->getMaxUploads()); - $this->assertEquals("true", $listMultipartUploadInfo->getIsTruncated()); - $uploads = $listMultipartUploadInfo->getUploads(); - $this->assertEquals("php+key-1", $uploads[0]->getKey()); - $this->assertEquals("0004B999EF518A1FE585B0C9360DC4C8", $uploads[0]->getUploadId()); - $this->assertEquals("2012-02-23T04:18:23.000Z", $uploads[0]->getInitiated()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListObjectVersionsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListObjectVersionsResultTest.php deleted file mode 100644 index 8ddbdaa1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListObjectVersionsResultTest.php +++ /dev/null @@ -1,215 +0,0 @@ - - - oss-example - - example - CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1**** - 100 - - false - - example - CAEQMxiBgICAof2D0BYiIDJhMGE3N2M1YTI1NDQzOGY5NTkyNTI3MGYyMzJm**** - false - 2019-04-09T07:27:28.000Z - - 1234512528586**** - 12345125285864390 - - - - example - CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN**** - false - 2019-04-09T07:27:28.000Z - "250F8A0AE989679A22926A875F0A2****" - Normal - 93731 - Standard - - 1234512528586**** - 12345125285864390 - - - - pic.jpg - CAEQMxiBgMCZov2D0BYiIDY4MDllOTc2YmY5MjQxMzdiOGI3OTlhNTU0ODIx**** - true - 2019-04-09T07:27:28.000Z - "3663F7B0B9D3153F884C821E7CF4****" - Normal - 574768 - IA - - 1234512528586**** - 12345125285864390 - - - - BBBB; - - private $validXml1 = << - - oss-example - - example - CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1**** - 100 - - false - - example - CAEQMxiBgICAof2D0BYiIDJhMGE3N2M1YTI1NDQzOGY5NTkyNTI3MGYyMzJm**** - true - 2019-04-09T07:27:28.000Z - - 1234512528586**** - 12345125285864390 - - - - example-1 - CAEQMxiBgICAof2D0BYiIDJhMGE3N2M1YTI1NDQzOGY5NTkyNTI3MGYyMzJm**** - 2019-04-09T07:27:28.000Z - - 1234512528586**** - 12345125285864390 - - - - example-2 - CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN**** - 2019-04-09T07:27:28.000Z - "250F8A0AE989679A22926A875F0A2****" - Normal - 93731 - Standard - - 1234512528586**** - 12345125285864390 - - - - BBBB; - - private $invalidXml = << - - - BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new ListObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(0, count($list->getPrefixList())); - $this->assertEquals(1, count($list->getDeleteMarkerList())); - $this->assertEquals(2, count($list->getObjectVersionList())); - - $this->assertEquals('oss-example', $list->getBucketName()); - $this->assertEquals('', $list->getPrefix()); - $this->assertEquals('example', $list->getKeyMarker()); - $this->assertEquals('CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1****', $list->getVersionIdMarker()); - $this->assertEquals(100, $list->getMaxKeys()); - $this->assertEquals('', $list->getDelimiter()); - $this->assertEquals('false', $list->getIsTruncated()); - - $deleteMarkerList = $list->getDeleteMarkerList(); - $this->assertEquals('example', $deleteMarkerList[0]->getKey()); - $this->assertEquals('CAEQMxiBgICAof2D0BYiIDJhMGE3N2M1YTI1NDQzOGY5NTkyNTI3MGYyMzJm****', $deleteMarkerList[0]->getVersionId()); - $this->assertEquals('false', $deleteMarkerList[0]->getIsLatest()); - $this->assertEquals('2019-04-09T07:27:28.000Z', $deleteMarkerList[0]->getLastModified()); - - $objectVersionList = $list->getObjectVersionList(); - $this->assertEquals('example', $objectVersionList[0]->getKey()); - $this->assertEquals('CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN****', $objectVersionList[0]->getVersionId()); - $this->assertEquals('false', $objectVersionList[0]->getIsLatest()); - $this->assertEquals('2019-04-09T07:27:28.000Z', $objectVersionList[0]->getLastModified()); - $this->assertEquals('"250F8A0AE989679A22926A875F0A2****"', $objectVersionList[0]->getETag()); - $this->assertEquals('Normal', $objectVersionList[0]->getType()); - $this->assertEquals(93731, $objectVersionList[0]->getSize()); - $this->assertEquals('Standard', $objectVersionList[0]->getStorageClass()); - - $this->assertEquals('pic.jpg', $objectVersionList[1]->getKey()); - $this->assertEquals('CAEQMxiBgMCZov2D0BYiIDY4MDllOTc2YmY5MjQxMzdiOGI3OTlhNTU0ODIx****', $objectVersionList[1]->getVersionId()); - $this->assertEquals('true', $objectVersionList[1]->getIsLatest()); - $this->assertEquals('2019-04-09T07:27:28.000Z', $objectVersionList[1]->getLastModified()); - $this->assertEquals('"3663F7B0B9D3153F884C821E7CF4****"', $objectVersionList[1]->getETag()); - $this->assertEquals('Normal', $objectVersionList[1]->getType()); - $this->assertEquals(574768, $objectVersionList[1]->getSize()); - $this->assertEquals('IA', $objectVersionList[1]->getStorageClass()); - - - $response = new ResponseCore(array(), $this->validXml1, 200); - $result = new ListObjectVersionsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $list = $result->getData(); - $this->assertEquals(0, count($list->getPrefixList())); - $this->assertEquals(2, count($list->getDeleteMarkerList())); - $this->assertEquals(1, count($list->getObjectVersionList())); - - $this->assertEquals('oss-example', $list->getBucketName()); - $this->assertEquals('', $list->getPrefix()); - $this->assertEquals('example', $list->getKeyMarker()); - $this->assertEquals('CAEQMxiBgICbof2D0BYiIGRhZjgwMzJiMjA3MjQ0ODE5MWYxZDYwMzJlZjU1****', $list->getVersionIdMarker()); - $this->assertEquals(100, $list->getMaxKeys()); - $this->assertEquals('', $list->getDelimiter()); - $this->assertEquals('false', $list->getIsTruncated()); - - $deleteMarkerList = $list->getDeleteMarkerList(); - $this->assertEquals('example', $deleteMarkerList[0]->getKey()); - $this->assertEquals('CAEQMxiBgICAof2D0BYiIDJhMGE3N2M1YTI1NDQzOGY5NTkyNTI3MGYyMzJm****', $deleteMarkerList[0]->getVersionId()); - $this->assertEquals('true', $deleteMarkerList[0]->getIsLatest()); - $this->assertEquals('2019-04-09T07:27:28.000Z', $deleteMarkerList[0]->getLastModified()); - - $this->assertEquals('example-1', $deleteMarkerList[1]->getKey()); - $this->assertEquals('CAEQMxiBgICAof2D0BYiIDJhMGE3N2M1YTI1NDQzOGY5NTkyNTI3MGYyMzJm****', $deleteMarkerList[1]->getVersionId()); - $this->assertEquals('', $deleteMarkerList[1]->getIsLatest()); - $this->assertEquals('2019-04-09T07:27:28.000Z', $deleteMarkerList[1]->getLastModified()); - - $objectVersionList = $list->getObjectVersionList(); - $this->assertEquals('example-2', $objectVersionList[0]->getKey()); - $this->assertEquals('CAEQMxiBgMDNoP2D0BYiIDE3MWUxNzgxZDQxNTRiODI5OGYwZGMwNGY3MzZjN****', $objectVersionList[0]->getVersionId()); - $this->assertEquals('', $objectVersionList[0]->getIsLatest()); - $this->assertEquals('2019-04-09T07:27:28.000Z', $objectVersionList[0]->getLastModified()); - $this->assertEquals('"250F8A0AE989679A22926A875F0A2****"', $objectVersionList[0]->getETag()); - $this->assertEquals('Normal', $objectVersionList[0]->getType()); - $this->assertEquals(93731, $objectVersionList[0]->getSize()); - $this->assertEquals('Standard', $objectVersionList[0]->getStorageClass()); - } - - public function testParseNullXml() - { - $response = new ResponseCore(array(), "", 200); - $result = new ListObjectVersionsResult($response); - $list = $result->getData(); - $this->assertTrue(true); - } - - public function testParseInvalidXml() - { - $response = new ResponseCore(array(), $this->invalidXml, 200); - $result = new ListObjectVersionsResult($response); - $stat = $result->getData(); - $this->assertTrue(true); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListObjectsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListObjectsResultTest.php deleted file mode 100644 index c977ce71..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListObjectsResultTest.php +++ /dev/null @@ -1,151 +0,0 @@ - - - testbucket-hf - - - 1000 - / - false - - oss-php-sdk-test/ - - - test/ - - -BBBB; - - private $validXml2 = << - - testbucket-hf - oss-php-sdk-test/ - xx - 1000 - / - false - - oss-php-sdk-test/upload-test-object-name.txt - 2015-11-18T03:36:00.000Z - "89B9E567E7EB8815F2F7D41851F9A2CD" - Normal - 13115 - Standard - - cname_user - cname_user - - - -BBBB; - - private $validXmlWithEncodedKey = << - - testbucket-hf - url - php%2Fprefix - php%2Fmarker - php%2Fnext-marker - 1000 - %2F - true - - php/a%2Bb - 2015-11-18T03:36:00.000Z - "89B9E567E7EB8815F2F7D41851F9A2CD" - Normal - 13115 - Standard - - cname_user - cname_user - - - -BBBB; - - public function testParseValidXml1() - { - $response = new ResponseCore(array(), $this->validXml1, 200); - $result = new ListObjectsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $objectListInfo = $result->getData(); - $this->assertEquals(2, count($objectListInfo->getPrefixList())); - $this->assertEquals(0, count($objectListInfo->getObjectList())); - $this->assertEquals('testbucket-hf', $objectListInfo->getBucketName()); - $this->assertEquals('', $objectListInfo->getPrefix()); - $this->assertEquals('', $objectListInfo->getMarker()); - $this->assertEquals(1000, $objectListInfo->getMaxKeys()); - $this->assertEquals('/', $objectListInfo->getDelimiter()); - $this->assertEquals('false', $objectListInfo->getIsTruncated()); - $prefixes = $objectListInfo->getPrefixList(); - $this->assertEquals('oss-php-sdk-test/', $prefixes[0]->getPrefix()); - $this->assertEquals('test/', $prefixes[1]->getPrefix()); - } - - public function testParseValidXml2() - { - $response = new ResponseCore(array(), $this->validXml2, 200); - $result = new ListObjectsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $objectListInfo = $result->getData(); - $this->assertEquals(0, count($objectListInfo->getPrefixList())); - $this->assertEquals(1, count($objectListInfo->getObjectList())); - $this->assertEquals('testbucket-hf', $objectListInfo->getBucketName()); - $this->assertEquals('oss-php-sdk-test/', $objectListInfo->getPrefix()); - $this->assertEquals('xx', $objectListInfo->getMarker()); - $this->assertEquals(1000, $objectListInfo->getMaxKeys()); - $this->assertEquals('/', $objectListInfo->getDelimiter()); - $this->assertEquals('false', $objectListInfo->getIsTruncated()); - $objects = $objectListInfo->getObjectList(); - $this->assertEquals('oss-php-sdk-test/upload-test-object-name.txt', $objects[0]->getKey()); - $this->assertEquals('2015-11-18T03:36:00.000Z', $objects[0]->getLastModified()); - $this->assertEquals('"89B9E567E7EB8815F2F7D41851F9A2CD"', $objects[0]->getETag()); - $this->assertEquals('Normal', $objects[0]->getType()); - $this->assertEquals(13115, $objects[0]->getSize()); - $this->assertEquals('Standard', $objects[0]->getStorageClass()); - } - - public function testParseValidXmlWithEncodedKey() - { - $response = new ResponseCore(array(), $this->validXmlWithEncodedKey, 200); - $result = new ListObjectsResult($response); - $this->assertTrue($result->isOK()); - $this->assertNotNull($result->getData()); - $this->assertNotNull($result->getRawResponse()); - $objectListInfo = $result->getData(); - $this->assertEquals(0, count($objectListInfo->getPrefixList())); - $this->assertEquals(1, count($objectListInfo->getObjectList())); - $this->assertEquals('testbucket-hf', $objectListInfo->getBucketName()); - $this->assertEquals('php/prefix', $objectListInfo->getPrefix()); - $this->assertEquals('php/marker', $objectListInfo->getMarker()); - $this->assertEquals('php/next-marker', $objectListInfo->getNextMarker()); - $this->assertEquals(1000, $objectListInfo->getMaxKeys()); - $this->assertEquals('/', $objectListInfo->getDelimiter()); - $this->assertEquals('true', $objectListInfo->getIsTruncated()); - $objects = $objectListInfo->getObjectList(); - $this->assertEquals('php/a+b', $objects[0]->getKey()); - $this->assertEquals('2015-11-18T03:36:00.000Z', $objects[0]->getLastModified()); - $this->assertEquals('"89B9E567E7EB8815F2F7D41851F9A2CD"', $objects[0]->getETag()); - $this->assertEquals('Normal', $objects[0]->getType()); - $this->assertEquals(13115, $objects[0]->getSize()); - $this->assertEquals('Standard', $objects[0]->getStorageClass()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListPartsResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListPartsResultTest.php deleted file mode 100644 index bdc61a29..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ListPartsResultTest.php +++ /dev/null @@ -1,62 +0,0 @@ - - - multipart_upload - multipart.data - 0004B999EF5A239BB9138C6227D69F95 - 5 - 1000 - false - - 1 - 2012-02-23T07:01:34.000Z - "3349DC700140D7F86A078484278075A9" - 6291456 - - - 2 - 2012-02-23T07:01:12.000Z - "3349DC700140D7F86A078484278075A9" - 6291456 - - - 5 - 2012-02-23T07:02:03.000Z - "7265F4D211B56873A381D321F586E4A9" - 1024 - - -BBBB; - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new ListPartsResult($response); - $listPartsInfo = $result->getData(); - $this->assertEquals("multipart_upload", $listPartsInfo->getBucket()); - $this->assertEquals("multipart.data", $listPartsInfo->getKey()); - $this->assertEquals("0004B999EF5A239BB9138C6227D69F95", $listPartsInfo->getUploadId()); - $this->assertEquals(5, $listPartsInfo->getNextPartNumberMarker()); - $this->assertEquals(1000, $listPartsInfo->getMaxParts()); - $this->assertEquals("false", $listPartsInfo->getIsTruncated()); - $this->assertEquals(3, count($listPartsInfo->getListPart())); - $parts = $listPartsInfo->getListPart(); - $this->assertEquals(1, $parts[0]->getPartNumber()); - $this->assertEquals('2012-02-23T07:01:34.000Z', $parts[0]->getLastModified()); - $this->assertEquals('"3349DC700140D7F86A078484278075A9"', $parts[0]->getETag()); - $this->assertEquals(6291456, $parts[0]->getSize()); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LiveChannelXmlTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LiveChannelXmlTest.php deleted file mode 100644 index b69ef7cb..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LiveChannelXmlTest.php +++ /dev/null @@ -1,277 +0,0 @@ - - - xxx - enabled - - hls - 1000 - 5 - hello.m3u8 - - -BBBB; - - private $info = << - - live-1 - xxx - - rtmp://bucket.oss-cn-hangzhou.aliyuncs.com/live/213443245345 - - - http://bucket.oss-cn-hangzhou.aliyuncs.com/213443245345/播放列表.m3u8 - - enabled - 2015-11-24T14:25:31.000Z - -BBBB; - - private $list = << - -xxx - yyy - 100 - false - 121312132 - - 12123214323431 - xxx - - rtmp://bucket.oss-cn-hangzhou.aliyuncs.com/live/1 - - - http://bucket.oss-cn-hangzhou.aliyuncs.com/1/播放列表.m3u8 - - enabled - 2015-11-24T14:25:31.000Z - - - 432423432423 - yyy - - rtmp://bucket.oss-cn-hangzhou.aliyuncs.com/live/2 - - - http://bucket.oss-cn-hangzhou.aliyuncs.com/2/播放列表.m3u8 - - enabled - 2016-11-24T14:25:31.000Z - - -BBBB; - - private $status = << - - Live - 2016-10-20T14:25:31.000Z - 10.1.2.4:47745 - - - -BBBB; - - private $history = << - - - 2013-11-24T14:25:31.000Z - 2013-11-24T15:25:31.000Z - 10.101.194.148:56861 - - - 2014-11-24T14:25:31.000Z - 2014-11-24T15:25:31.000Z - 10.101.194.148:56862 - - - 2015-11-24T14:25:31.000Z - 2015-11-24T15:25:31.000Z - 10.101.194.148:56863 - - -BBBB; - - public function testLiveChannelStatus() - { - $stat = new GetLiveChannelStatus(); - $stat->parseFromXml($this->status); - - $this->assertEquals('Live', $stat->getStatus()); - $this->assertEquals('2016-10-20T14:25:31.000Z', $stat->getConnectedTime()); - $this->assertEquals('10.1.2.4:47745', $stat->getRemoteAddr()); - - $this->assertEquals(1280, $stat->getVideoWidth()); - $this->assertEquals(536, $stat->getVideoHeight()); - $this->assertEquals(24, $stat->getVideoFrameRate()); - $this->assertEquals(72513, $stat->getVideoBandwidth()); - $this->assertEquals('H264', $stat->getVideoCodec()); - $this->assertEquals(6519, $stat->getAudioBandwidth()); - $this->assertEquals(44100, $stat->getAudioSampleRate()); - $this->assertEquals('AAC', $stat->getAudioCodec()); - - } - - public function testGetLiveChannelHistory() - { - $history = new GetLiveChannelHistory(); - $history->parseFromXml($this->history); - - $recordList = $history->getLiveRecordList(); - $this->assertEquals(3, count($recordList)); - - $list0 = $recordList[0]; - $this->assertEquals('2013-11-24T14:25:31.000Z', $list0->getStartTime()); - $this->assertEquals('2013-11-24T15:25:31.000Z', $list0->getEndTime()); - $this->assertEquals('10.101.194.148:56861', $list0->getRemoteAddr()); - - $list1 = $recordList[1]; - $this->assertEquals('2014-11-24T14:25:31.000Z', $list1->getStartTime()); - $this->assertEquals('2014-11-24T15:25:31.000Z', $list1->getEndTime()); - $this->assertEquals('10.101.194.148:56862', $list1->getRemoteAddr()); - - $list2 = $recordList[2]; - $this->assertEquals('2015-11-24T14:25:31.000Z', $list2->getStartTime()); - $this->assertEquals('2015-11-24T15:25:31.000Z', $list2->getEndTime()); - $this->assertEquals('10.101.194.148:56863', $list2->getRemoteAddr()); - - } - - public function testLiveChannelConfig() - { - $config = new LiveChannelConfig(array('name' => 'live-1')); - $config->parseFromXml($this->config); - - $this->assertEquals('xxx', $config->getDescription()); - $this->assertEquals('enabled', $config->getStatus()); - $this->assertEquals('hls', $config->getType()); - $this->assertEquals(1000, $config->getFragDuration()); - $this->assertEquals(5, $config->getFragCount()); - $this->assertEquals('hello.m3u8', $config->getPlayListName()); - - $xml = $config->serializeToXml(); - $config2 = new LiveChannelConfig(array('name' => 'live-2')); - $config2->parseFromXml($xml); - $this->assertEquals('xxx', $config2->getDescription()); - $this->assertEquals('enabled', $config2->getStatus()); - $this->assertEquals('hls', $config2->getType()); - $this->assertEquals(1000, $config2->getFragDuration()); - $this->assertEquals(5, $config2->getFragCount()); - $this->assertEquals('hello.m3u8', $config2->getPlayListName()); - } - - public function testLiveChannelInfo() - { - $info = new LiveChannelInfo(array('name' => 'live-1')); - $info->parseFromXml($this->info); - - $this->assertEquals('live-1', $info->getName()); - $this->assertEquals('xxx', $info->getDescription()); - $this->assertEquals('enabled', $info->getStatus()); - $this->assertEquals('2015-11-24T14:25:31.000Z', $info->getLastModified()); - $pubs = $info->getPublishUrls(); - $this->assertEquals(1, count($pubs)); - $this->assertEquals('rtmp://bucket.oss-cn-hangzhou.aliyuncs.com/live/213443245345', $pubs[0]); - - $plays = $info->getPlayUrls(); - $this->assertEquals(1, count($plays)); - $this->assertEquals('http://bucket.oss-cn-hangzhou.aliyuncs.com/213443245345/播放列表.m3u8', $plays[0]); - } - - public function testLiveChannelList() - { - $list = new LiveChannelListInfo(); - $list->parseFromXml($this->list); - - $this->assertEquals('xxx', $list->getPrefix()); - $this->assertEquals('yyy', $list->getMarker()); - $this->assertEquals(100, $list->getMaxKeys()); - $this->assertEquals(false, $list->getIsTruncated()); - $this->assertEquals('121312132', $list->getNextMarker()); - - $channels = $list->getChannelList(); - $this->assertEquals(2, count($channels)); - - $chan1 = $channels[0]; - $this->assertEquals('12123214323431', $chan1->getName()); - $this->assertEquals('xxx', $chan1->getDescription()); - $this->assertEquals('enabled', $chan1->getStatus()); - $this->assertEquals('2015-11-24T14:25:31.000Z', $chan1->getLastModified()); - $pubs = $chan1->getPublishUrls(); - $this->assertEquals(1, count($pubs)); - $this->assertEquals('rtmp://bucket.oss-cn-hangzhou.aliyuncs.com/live/1', $pubs[0]); - - $plays = $chan1->getPlayUrls(); - $this->assertEquals(1, count($plays)); - $this->assertEquals('http://bucket.oss-cn-hangzhou.aliyuncs.com/1/播放列表.m3u8', $plays[0]); - - $chan2 = $channels[1]; - $this->assertEquals('432423432423', $chan2->getName()); - $this->assertEquals('yyy', $chan2->getDescription()); - $this->assertEquals('enabled', $chan2->getStatus()); - $this->assertEquals('2016-11-24T14:25:31.000Z', $chan2->getLastModified()); - $pubs = $chan2->getPublishUrls(); - $this->assertEquals(1, count($pubs)); - $this->assertEquals('rtmp://bucket.oss-cn-hangzhou.aliyuncs.com/live/2', $pubs[0]); - - $plays = $chan2->getPlayUrls(); - $this->assertEquals(1, count($plays)); - $this->assertEquals('http://bucket.oss-cn-hangzhou.aliyuncs.com/2/播放列表.m3u8', $plays[0]); - } - - public function testLiveChannelHistory() - { - $xml = "2013-11-24T14:25:31.000Z2013-11-24T15:25:31.000Z10.101.194.148:56861"; - $history = new LiveChannelHistory(); - $history->parseFromXml($xml); - - $this->assertEquals('2013-11-24T14:25:31.000Z', $history->getStartTime()); - $this->assertEquals('2013-11-24T15:25:31.000Z', $history->getEndTime()); - $this->assertEquals('10.101.194.148:56861', $history->getRemoteAddr()); - } - - public function testGetLiveChannelHistorySerializeToXml() - { - try { - $history = new GetLiveChannelHistory (); - $history->serializeToXml(); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "Not implemented.") == false) - { - $this->assertTrue(false); - } - } - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LoggingConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LoggingConfigTest.php deleted file mode 100644 index 05336c81..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/LoggingConfigTest.php +++ /dev/null @@ -1,47 +0,0 @@ - - - -TargetBucket -TargetPrefix - - -BBBB; - - private $nullXml = << - -BBBB; - - public function testParseValidXml() - { - $loggingConfig = new LoggingConfig(); - $loggingConfig->parseFromXml($this->validXml); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml(strval($loggingConfig))); - } - - public function testConstruct() - { - $loggingConfig = new LoggingConfig('TargetBucket', 'TargetPrefix'); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($loggingConfig->serializeToXml())); - } - - public function testFailedConstruct() - { - $loggingConfig = new LoggingConfig('TargetBucket', null); - $this->assertEquals($this->cleanXml($this->nullXml), $this->cleanXml($loggingConfig->serializeToXml())); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/MimeTypesTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/MimeTypesTest.php deleted file mode 100644 index 1403d09a..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/MimeTypesTest.php +++ /dev/null @@ -1,13 +0,0 @@ -assertEquals('application/xml', MimeTypes::getMimetype('file.xml')); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ObjectAclTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ObjectAclTest.php deleted file mode 100644 index 9260a6a5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/ObjectAclTest.php +++ /dev/null @@ -1,28 +0,0 @@ -ossClient; - $bucket = $this->bucket; - - $object = 'test/object-acl'; - $client->deleteObject($bucket, $object); - $client->putObject($bucket, $object, "hello world"); - - $acl = $client->getObjectAcl($bucket, $object); - $this->assertEquals('default', $acl); - - $client->putObjectAcl($bucket, $object, 'public-read'); - $acl = $client->getObjectAcl($bucket, $object); - $this->assertEquals('public-read', $acl); - - $content = $client->getObject($bucket, $object); - $this->assertEquals('hello world', $content); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketCorsTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketCorsTest.php deleted file mode 100644 index a32154b5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketCorsTest.php +++ /dev/null @@ -1,84 +0,0 @@ -addAllowedHeader("x-oss-test"); - $rule->addAllowedHeader("x-oss-test2"); - $rule->addAllowedHeader("x-oss-test2"); - $rule->addAllowedHeader("x-oss-test3"); - $rule->addAllowedOrigin("http://www.b.com"); - $rule->addAllowedOrigin("http://www.a.com"); - $rule->addAllowedOrigin("http://www.a.com"); - $rule->addAllowedMethod("GET"); - $rule->addAllowedMethod("PUT"); - $rule->addAllowedMethod("POST"); - $rule->addExposeHeader("x-oss-test1"); - $rule->addExposeHeader("x-oss-test1"); - $rule->addExposeHeader("x-oss-test2"); - $rule->setMaxAgeSeconds(10); - $corsConfig->addRule($rule); - $rule = new CorsRule(); - $rule->addAllowedHeader("x-oss-test"); - $rule->addAllowedMethod("GET"); - $rule->addAllowedOrigin("http://www.b.com"); - $rule->addExposeHeader("x-oss-test1"); - $rule->setMaxAgeSeconds(110); - $corsConfig->addRule($rule); - - try { - $this->ossClient->putBucketCors($this->bucket, $corsConfig); - } catch (OssException $e) { - $this->assertFalse(True); - } - - try { - Common::waitMetaSync(); - $object = "cors/test.txt"; - $this->ossClient->putObject($this->bucket, $object, file_get_contents(__FILE__)); - $headers = $this->ossClient->optionsObject($this->bucket, $object, "http://www.a.com", "GET", "", null); - $this->assertNotEmpty($headers); - } catch (OssException $e) { - var_dump($e->getMessage()); - } - - try { - Common::waitMetaSync(); - $corsConfig2 = $this->ossClient->getBucketCors($this->bucket); - $this->assertNotNull($corsConfig2); - $this->assertEquals($corsConfig->serializeToXml(), $corsConfig2->serializeToXml()); - } catch (OssException $e) { - $this->assertFalse(True); - } - - try { - Common::waitMetaSync(); - $this->ossClient->deleteBucketCors($this->bucket); - } catch (OssException $e) { - $this->assertFalse(True); - } - - try { - Common::waitMetaSync(); - $corsConfig3 = $this->ossClient->getBucketCors($this->bucket); - $this->assertNotNull($corsConfig3); - $this->assertNotEquals($corsConfig->serializeToXml(), $corsConfig3->serializeToXml()); - } catch (OssException $e) { - $this->assertFalse(True); - } - - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketEncryptionTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketEncryptionTest.php deleted file mode 100644 index 42c51b29..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketEncryptionTest.php +++ /dev/null @@ -1,63 +0,0 @@ -ossClient->putBucketEncryption($this->bucket, $config); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $config2 = $this->ossClient->getBucketEncryption($this->bucket); - $this->assertEquals($config->serializeToXml(), $config2->serializeToXml()); - $this->assertEquals("AES256", $config2->getSSEAlgorithm()); - $this->assertEquals(null, $config2->getKMSMasterKeyID()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - $config = new ServerSideEncryptionConfig("KMS", "kms-id"); - try { - $this->ossClient->putBucketEncryption($this->bucket, $config); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $config2 = $this->ossClient->getBucketEncryption($this->bucket); - $this->assertEquals($config->serializeToXml(), $config2->serializeToXml()); - $this->assertEquals("KMS", $config2->getSSEAlgorithm()); - $this->assertEquals("kms-id", $config2->getKMSMasterKeyID()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $this->ossClient->deleteBucketEncryption($this->bucket); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $config2 = $this->ossClient->getBucketEncryption($this->bucket); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals("NoSuchServerSideEncryptionRule", $e->getErrorCode()); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketInfoTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketInfoTest.php deleted file mode 100644 index 759e536c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketInfoTest.php +++ /dev/null @@ -1,20 +0,0 @@ -ossClient->getBucketInfo($this->bucket); - $this->assertEquals($this->bucket, $info->getName()); - $this->assertEquals("Standard", $info->getStorageClass()); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketLifecycleTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketLifecycleTest.php deleted file mode 100644 index 46da1f06..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketLifecycleTest.php +++ /dev/null @@ -1,57 +0,0 @@ -addRule($lifecycleRule); - $actions = array(); - $actions[] = new LifecycleAction("Expiration", "Date", '2022-10-12T00:00:00.000Z'); - $lifecycleRule = new LifecycleRule("delete temporary files", "temporary/", "Enabled", $actions); - $lifecycleConfig->addRule($lifecycleRule); - - try { - $this->ossClient->putBucketLifecycle($this->bucket, $lifecycleConfig); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $lifecycleConfig2 = $this->ossClient->getBucketLifecycle($this->bucket); - $this->assertEquals($lifecycleConfig->serializeToXml(), $lifecycleConfig2->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $this->ossClient->deleteBucketLifecycle($this->bucket); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $lifecycleConfig3 = $this->ossClient->getBucketLifecycle($this->bucket); - $this->assertNotEquals($lifecycleConfig->serializeToXml(), $lifecycleConfig3->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketLoggingTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketLoggingTest.php deleted file mode 100644 index 16a10ebf..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketLoggingTest.php +++ /dev/null @@ -1,43 +0,0 @@ -bucket, 'prefix'); - try { - $this->ossClient->putBucketLogging($this->bucket, $this->bucket, 'prefix'); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $loggingConfig2 = $this->ossClient->getBucketLogging($this->bucket); - $this->assertEquals($loggingConfig->serializeToXml(), $loggingConfig2->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $this->ossClient->deleteBucketLogging($this->bucket); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $loggingConfig3 = $this->ossClient->getBucketLogging($this->bucket); - $this->assertNotEquals($loggingConfig->serializeToXml(), $loggingConfig3->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketPolicyTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketPolicyTest.php deleted file mode 100644 index 4f0c5ee6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketPolicyTest.php +++ /dev/null @@ -1,47 +0,0 @@ -ossClient->deleteBucketPolicy($this->bucket); - $policy = $this->ossClient->getBucketPolicy($this->bucket); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - $this->assertEquals("NoSuchBucketPolicy", $e->getErrorCode()); - } - - try { - $this->ossClient->putBucketPolicy($this->bucket, $policy_str); - $policy = $this->ossClient->getBucketPolicy($this->bucket); - $this->assertEquals($policy_str, $policy); - $this->ossClient->deleteBucketPolicy($this->bucket); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketRefererTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketRefererTest.php deleted file mode 100644 index ba7d14f5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketRefererTest.php +++ /dev/null @@ -1,48 +0,0 @@ -addReferer('http://www.aliyun.com'); - - try { - $this->ossClient->putBucketReferer($this->bucket, $refererConfig); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $refererConfig2 = $this->ossClient->getBucketReferer($this->bucket); - $this->assertEquals($refererConfig->serializeToXml(), $refererConfig2->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $nullRefererConfig = new RefererConfig(); - $nullRefererConfig->setAllowEmptyReferer(false); - $this->ossClient->putBucketReferer($this->bucket, $nullRefererConfig); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $refererConfig3 = $this->ossClient->getBucketLogging($this->bucket); - $this->assertNotEquals($refererConfig->serializeToXml(), $refererConfig3->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketRequestPaymentTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketRequestPaymentTest.php deleted file mode 100644 index 9a4b412e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketRequestPaymentTest.php +++ /dev/null @@ -1,51 +0,0 @@ -ossClient->getBucketRequestPayment($this->bucket); - $this->assertEquals("BucketOwner", $payer); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->putBucketRequestPayment($this->bucket, "Requester"); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $payer = $this->ossClient->getBucketRequestPayment($this->bucket); - $this->assertEquals("Requester", $payer); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->putBucketRequestPayment($this->bucket, "BucketOwner"); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $payer = $this->ossClient->getBucketRequestPayment($this->bucket); - $this->assertEquals("BucketOwner", $payer); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketStatTestTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketStatTestTest.php deleted file mode 100644 index 7f847d8e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketStatTestTest.php +++ /dev/null @@ -1,34 +0,0 @@ -ossClient->putObject($this->bucket, "name-1.txt", $content); - $this->ossClient->putObject($this->bucket, "name-2.txt", $content); - $this->ossClient->putObject($this->bucket, "name-3.txt", $content); - - $object = "multipart-test.txt"; - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - - Common::waitMetaSync(); - Common::waitMetaSync(); - Common::waitMetaSync(); - $stat = $this->ossClient->getBucketStat($this->bucket); - $this->assertEquals(3, $stat->getObjectCount()); - $this->assertEquals(15, $stat->getStorage()); - $this->assertEquals(1, $stat->getMultipartUploadCount()); - - } catch (OssException $e) { - $this->assertTrue(false); - } - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketStorageCapacityTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketStorageCapacityTest.php deleted file mode 100644 index 87548f97..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketStorageCapacityTest.php +++ /dev/null @@ -1,56 +0,0 @@ -ossClient->getBucketStorageCapacity($this->bucket); - $this->assertEquals($storageCapacity, -1); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->putBucketStorageCapacity($this->bucket, 1000); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $storageCapacity = $this->ossClient->getBucketStorageCapacity($this->bucket); - $this->assertEquals($storageCapacity, 1000); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->putBucketStorageCapacity($this->bucket, 0); - - Common::waitMetaSync(); - - $storageCapacity = $this->ossClient->getBucketStorageCapacity($this->bucket); - $this->assertEquals($storageCapacity, 0); - - $this->ossClient->putObject($this->bucket, 'test-storage-capacity','test-content'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('Bucket storage exceed max storage capacity.',$e->getErrorMessage()); - } - - try { - $this->ossClient->putBucketStorageCapacity($this->bucket, -2); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals(400, $e->getHTTPStatus()); - $this->assertEquals('InvalidArgument', $e->getErrorCode()); - } - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketTagsTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketTagsTest.php deleted file mode 100644 index bafa64b5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketTagsTest.php +++ /dev/null @@ -1,76 +0,0 @@ -ossClient->getBucketTags($this->bucket); - $this->assertEquals(0, count($config->getTags())); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $config = new TaggingConfig(); - $config->addTag(new Tag("key1", "value1")); - $config->addTag(new Tag("key2", "value2")); - $config->addTag(new Tag("key3", "value3")); - $this->ossClient->putBucketTags($this->bucket, $config); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $config2 = $this->ossClient->getBucketTags($this->bucket); - $this->assertEquals(3, count($config2->getTags())); - $this->assertEquals("key1", $config2->getTags()[0]->getKey()); - $this->assertEquals("value1", $config2->getTags()[0]->getValue()); - $this->assertEquals("key2", $config2->getTags()[1]->getKey()); - $this->assertEquals("value2", $config2->getTags()[1]->getValue()); - $this->assertEquals("key3", $config2->getTags()[2]->getKey()); - $this->assertEquals("value3", $config2->getTags()[2]->getValue()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - - try { - Common::waitMetaSync(); - //del key1, key3 - $tags = array(); - $tags[] = new Tag("key1", "value1"); - $tags[] = new Tag("key3", "value3"); - - $this->ossClient->deleteBucketTags($this->bucket, $tags); - $config2 = $this->ossClient->getBucketTags($this->bucket); - $this->assertEquals(1, count($config2->getTags())); - $this->assertEquals("key2", $config2->getTags()[0]->getKey()); - $this->assertEquals("value2", $config2->getTags()[0]->getValue()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - - try { - Common::waitMetaSync(); - //del all - $this->ossClient->deleteBucketTags($this->bucket); - $config2 = $this->ossClient->getBucketTags($this->bucket); - $this->assertEquals(0, count($config2->getTags())); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketTest.php deleted file mode 100644 index 6bac445e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketTest.php +++ /dev/null @@ -1,140 +0,0 @@ -ossClient->createBucket("s"); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('"s"bucket name is invalid', $e->getMessage()); - } - } - - public function testBucketWithInvalidACL() - { - try { - $this->ossClient->createBucket($this->bucket, "invalid"); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('invalid:acl is invalid(private,public-read,public-read-write)', $e->getMessage()); - } - } - - public function testBucket() - { - $this->ossClient->createBucket($this->bucket, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE); - - $bucketListInfo = $this->ossClient->listBuckets(); - $this->assertNotNull($bucketListInfo); - - $bucketList = $bucketListInfo->getBucketList(); - $this->assertTrue(is_array($bucketList)); - $this->assertGreaterThan(0, count($bucketList)); - - $this->ossClient->putBucketAcl($this->bucket, OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE); - Common::waitMetaSync(); - $this->assertEquals($this->ossClient->getBucketAcl($this->bucket), OssClient::OSS_ACL_TYPE_PUBLIC_READ_WRITE); - - $this->assertTrue($this->ossClient->doesBucketExist($this->bucket)); - $this->assertFalse($this->ossClient->doesBucketExist($this->bucket . '-notexist')); - - $this->assertEquals($this->ossClient->getBucketLocation($this->bucket), Common::getRegion()); - - $res = $this->ossClient->getBucketMeta($this->bucket); - $this->assertEquals('200', $res['info']['http_code']); - $this->assertEquals(Common::getRegion(), $res['x-oss-bucket-region']); - } - - public function testCreateBucketWithStorageType() - { - $object = 'storage-object'; - - $this->ossClient->putObject($this->archiveBucket, $object,'testcontent'); - try { - $this->ossClient->getObject($this->archiveBucket, $object); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('403', $e->getHTTPStatus()); - $this->assertEquals('InvalidObjectState', $e->getErrorCode()); - } - - $this->ossClient->putObject($this->iaBucket, $object,'testcontent'); - $result = $this->ossClient->getObject($this->iaBucket, $object); - $this->assertEquals($result, 'testcontent'); - - $this->ossClient->putObject($this->bucket, $object,'testcontent'); - $result = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($result, 'testcontent'); - } - - public function testCreateBucketWithInvalidStorageType() - { - try { - $options = array( - OssClient::OSS_STORAGE => 'unknown' - ); - $this->ossClient->createBucket('bucket-name', OssClient::OSS_ACL_TYPE_PRIVATE, $options); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "storage name is invalid") == false) - { - $this->assertTrue(false); - } - } - } - - protected function setUp(): void - { - parent::setUp(); - - $this->iaBucket = 'ia-' . $this->bucket; - $this->archiveBucket = 'archive-' . $this->bucket; - $this->standardBucket = 'standard-' . $this->bucket; - - $options = array( - OssClient::OSS_STORAGE => OssClient::OSS_STORAGE_IA - ); - - $this->ossClient->createBucket($this->iaBucket, OssClient::OSS_ACL_TYPE_PRIVATE, $options); - - $options = array( - OssClient::OSS_STORAGE => OssClient::OSS_STORAGE_ARCHIVE - ); - - $this->ossClient->createBucket($this->archiveBucket, OssClient::OSS_ACL_TYPE_PRIVATE, $options); - - $options = array( - OssClient::OSS_STORAGE => OssClient::OSS_STORAGE_STANDARD - ); - - $this->ossClient->createBucket($this->standardBucket, OssClient::OSS_ACL_TYPE_PRIVATE, $options); - } - - protected function tearDown(): void - { - parent::tearDown(); - - $object = 'storage-object'; - - $this->ossClient->deleteObject($this->iaBucket, $object); - $this->ossClient->deleteObject($this->archiveBucket, $object); - $this->ossClient->deleteBucket($this->iaBucket); - $this->ossClient->deleteBucket($this->archiveBucket); - $this->ossClient->deleteBucket($this->standardBucket); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketVersioningTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketVersioningTest.php deleted file mode 100644 index d9aa5a4a..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketVersioningTest.php +++ /dev/null @@ -1,40 +0,0 @@ -ossClient->getBucketVersioning($this->bucket); - $this->assertEquals(null, $status); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->putBucketVersioning($this->bucket, "Enabled"); - Common::waitMetaSync(); - $status = $this->ossClient->getBucketVersioning($this->bucket); - $this->assertEquals("Enabled", $status); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->putBucketVersioning($this->bucket, "Suspended"); - Common::waitMetaSync(); - $status = $this->ossClient->getBucketVersioning($this->bucket); - $this->assertEquals("Suspended", $status); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketWebsiteTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketWebsiteTest.php deleted file mode 100644 index dfa9cc17..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketWebsiteTest.php +++ /dev/null @@ -1,46 +0,0 @@ -ossClient->putBucketWebsite($this->bucket, $websiteConfig); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - - try { - Common::waitMetaSync(); - $websiteConfig2 = $this->ossClient->getBucketWebsite($this->bucket); - $this->assertEquals($websiteConfig->serializeToXml(), $websiteConfig2->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $this->ossClient->deleteBucketWebsite($this->bucket); - } catch (OssException $e) { - $this->assertTrue(false); - } - try { - Common::waitMetaSync(); - $websiteConfig3 = $this->ossClient->getBucketLogging($this->bucket); - $this->assertNotEquals($websiteConfig->serializeToXml(), $websiteConfig3->serializeToXml()); - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketWormTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketWormTest.php deleted file mode 100644 index 85df4174..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientBucketWormTest.php +++ /dev/null @@ -1,36 +0,0 @@ -ossClient->initiateBucketWorm($this->bucket, 30); - $config = $this->ossClient->getBucketWorm($this->bucket); - $this->assertEquals($wormId, $config->getWormId()); - $this->assertEquals("InProgress", $config->getState()); - $this->assertEquals(30, $config->getDay()); - $this->ossClient->abortBucketWorm($this->bucket); - - $wormId = $this->ossClient->initiateBucketWorm($this->bucket, 60); - $this->ossClient->completeBucketWorm($this->bucket, $wormId); - $config = $this->ossClient->getBucketWorm($this->bucket); - - $this->ossClient->ExtendBucketWorm($this->bucket, $wormId, 120); - $config = $this->ossClient->getBucketWorm($this->bucket); - $this->assertEquals($wormId, $config->getWormId()); - $this->assertEquals("Locked", $config->getState()); - $this->assertEquals(120, $config->getDay()); - - } catch (OssException $e) { - $this->assertTrue(false); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientImageTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientImageTest.php deleted file mode 100644 index 6def9f97..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientImageTest.php +++ /dev/null @@ -1,147 +0,0 @@ -client = $this->ossClient; - $this->bucketName = $this->bucket; - $this->local_file = "example.jpg"; - $this->object = "oss-example.jpg"; - $this->download_file = "image.jpg"; - - Common::waitMetaSync(); - $this->client->uploadFile($this->bucketName, $this->object, $this->local_file); - } - - protected function tearDown(): void - { - parent::tearDown(); - unlink($this->download_file); - } - - public function testImageResize() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/resize,m_fixed,h_100,w_100", ); - $this->check($options, 100, 100, 3267, 'jpg'); - } - - public function testImageCrop() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/crop,w_100,h_100,x_100,y_100,r_1", ); - $this->check($options, 100, 100, 1969, 'jpg'); - } - - public function testImageRotate() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/rotate,90", ); - $this->check($options, 267, 400, 20998, 'jpg'); - } - - public function testImageSharpen() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/sharpen,100", ); - $this->check($options, 400, 267, 23015, 'jpg'); - } - - public function testImageWatermark() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/watermark,text_SGVsbG8g5Zu-54mH5pyN5YqhIQ", ); - $this->check($options, 400, 267, 26369, 'jpg'); - } - - public function testImageFormat() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/format,png", ); - $this->check($options, 400, 267, 160733, 'png'); - } - - public function testImageTofile() - { - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - OssClient::OSS_PROCESS => "image/resize,m_fixed,w_100,h_100", ); - $this->check($options, 100, 100, 3267, 'jpg'); - } - - public function testProcesObject() - { - $object = 'process-object.jpg'; - $process = 'image/resize,m_fixed,w_100,h_100'. - '|sys/saveas'. - ',o_'.$this->base64url_encode($object). - ',b_'.$this->base64url_encode($this->bucketName); - $result = $this->client->processObject($this->bucketName, $this->object, $process); - $this->assertTrue(stripos($result, '"object": "process-object.jpg",') > 0); - $this->assertTrue(stripos($result, '"status": "OK"') > 0); - - - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - ); - $this->client->getObject($this->bucketName, $object, $options); - $array = getimagesize($this->download_file); - $this->assertEquals(100, $array[0]); - $this->assertEquals(100, $array[1]); - $this->assertEquals(2, $array[2]); - - //without bucket - $object = 'process-object-1.jpg'; - $process = 'image/watermark,text_SGVsbG8g5Zu-54mH5pyN5YqhIQ'. - '|sys/saveas'. - ',o_'.$this->base64url_encode($object); - $result = $this->client->processObject($this->bucketName, $this->object, $process); - $this->assertTrue(stripos($result, '"object": "process-object-1.jpg",') > 0); - $this->assertTrue(stripos($result, '"status": "OK"') > 0); - - - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $this->download_file, - ); - $this->client->getObject($this->bucketName, $object, $options); - $array = getimagesize($this->download_file); - $this->assertEquals(400, $array[0]); - $this->assertEquals(267, $array[1]); - $this->assertEquals(2, $array[2]); - } - - private function check($options, $width, $height, $size, $type) - { - $this->client->getObject($this->bucketName, $this->object, $options); - $array = getimagesize($this->download_file); - $this->assertEquals($width, $array[0]); - $this->assertEquals($height, $array[1]); - $this->assertEquals($type === 'jpg' ? 2 : 3, $array[2]);//2 <=> jpg - } - - private function base64url_encode($data) - { - return rtrim(strtr(base64_encode($data), '+/', '-_'), '='); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientListObjectsTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientListObjectsTest.php deleted file mode 100644 index 8ee47a2e..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientListObjectsTest.php +++ /dev/null @@ -1,184 +0,0 @@ -ossClient->listObjects($this->bucket); - $objectList = $listObjectInfo->getObjectList(); - $prefixList = $listObjectInfo->getPrefixList(); - $this->assertNotNull($objectList); - $this->assertNotNull($prefixList); - $this->assertTrue(is_array($objectList)); - $this->assertTrue(is_array($prefixList)); - $this->assertEquals((2), count($objectList)); - $this->assertEquals(4, count($prefixList)); - - $this->assertEquals('file++00', $objectList[0]->getKey()); - $this->assertEquals('file++01', $objectList[1]->getKey()); - - $this->assertEquals('folder/', $prefixList[0]->getPrefix()); - $this->assertEquals('sub++/', $prefixList[1]->getPrefix()); - $this->assertEquals('test/', $prefixList[2]->getPrefix()); - $this->assertEquals('work/', $prefixList[3]->getPrefix()); - - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testListObjectsWithPrefix() - { - /** - * List the files in your bucket. - */ - $prefix = 'folder/'; - $delimiter = ''; - $next_marker = ''; - $maxkeys = 1000; - $options = array( - 'delimiter' => $delimiter, - 'prefix' => $prefix, - 'max-keys' => $maxkeys, - 'marker' => $next_marker, - ); - - try { - $listObjectInfo = $this->ossClient->listObjects($this->bucket, $options); - $objectList = $listObjectInfo->getObjectList(); - $prefixList = $listObjectInfo->getPrefixList(); - $this->assertNotNull($objectList); - $this->assertNotNull($prefixList); - $this->assertTrue(is_array($objectList)); - $this->assertTrue(is_array($prefixList)); - $this->assertEquals(12, count($objectList)); - $this->assertEquals(0, count($prefixList)); - - $this->assertEquals('folder/00', $objectList[0]->getKey()); - $this->assertEquals('folder/01', $objectList[1]->getKey()); - $this->assertEquals('folder/11', $objectList[11]->getKey()); - - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testListObjectsWithMaxKeysAndMarker() - { - $count = 0; - $nextMarker = ''; - - while (true) { - try { - $options = array( - 'delimiter' => '', - 'marker' => $nextMarker, - 'max-keys' => 2, - ); - $listObjectInfo = $this->ossClient->listObjects($this->bucket, $options); - } catch (OssException $e) { - $this->assertTrue(false); - } - $nextMarker = $listObjectInfo->getNextMarker(); - $listObject = $listObjectInfo->getObjectList(); - $count += count($listObject); - $this->assertEquals(2, count($listObject)); - if ($listObjectInfo->getIsTruncated() !== "true") { - break; - } - } - $this->assertEquals(12 + 8 + 5 + 3 + 2, $count); - } - - public function testListObjectsWithMarker() - { - $count = 0; - $nextMarker = 'h'; - - while (true) { - try { - $options = array( - 'delimiter' => '', - 'marker' => $nextMarker, - 'max-keys' => 1, - ); - $listObjectInfo = $this->ossClient->listObjects($this->bucket, $options); - } catch (OssException $e) { - $this->assertTrue(false); - } - $nextMarker = $listObjectInfo->getNextMarker(); - $listObject = $listObjectInfo->getObjectList(); - $count += count($listObject); - $this->assertEquals(1, count($listObject)); - if ($listObjectInfo->getIsTruncated() !== "true") { - break; - } - } - $this->assertEquals(8 + 5 + 3, $count); - - - $nextMarker = 'h'; - - try { - $options = array( - 'delimiter' => '', - 'marker' => $nextMarker, - 'max-keys' => 5, - ); - $listObjectInfo = $this->ossClient->listObjects($this->bucket, $options); - } catch (OssException $e) { - $this->assertTrue(false); - } - $nextMarker = $listObjectInfo->getNextMarker(); - $listObject = $listObjectInfo->getObjectList(); - $this->assertEquals('test/01', $nextMarker); - $this->assertEquals(5, count($listObject)); - $this->assertEquals("true", $listObjectInfo->getIsTruncated()); - } - - protected function setUp(): void - { - parent::setUp(); - //folder - for ($i = 0; $i < 12; $i++) { - $key = 'folder/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - //test - for ($i = 0; $i < 8; $i++) { - $key = 'test/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - //work - for ($i = 0; $i < 5; $i++) { - $key = 'work/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - //sub++ - for ($i = 0; $i < 3; $i++) { - $key = 'sub++/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - - //file++ - for ($i = 0; $i < 2; $i++) { - $key = 'file++'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - - } - - protected function tearDown(): void - { - parent::tearDown(); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientMultipartUploadTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientMultipartUploadTest.php deleted file mode 100644 index 8f406548..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientMultipartUploadTest.php +++ /dev/null @@ -1,426 +0,0 @@ -ossClient->uploadDir($this->bucket, "", "abc/ds/s/s/notexitst"); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals("parameter error: abc/ds/s/s/notexitst is not a directory, please check it", $e->getMessage()); - } - - } - - public function testMultipartUploadBigFile() - { - $bigFileName = __DIR__ . DIRECTORY_SEPARATOR . "/bigfile.tmp"; - $localFilename = __DIR__ . DIRECTORY_SEPARATOR . "/localfile.tmp"; - OssUtil::generateFile($bigFileName, 6 * 1024 * 1024); - $object = 'mpu/multipart-bigfile-test.tmp'; - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $bigFileName, array(OssClient::OSS_PART_SIZE => 1)); - $options = array(OssClient::OSS_FILE_DOWNLOAD => $localFilename); - $this->ossClient->getObject($this->bucket, $object, $options); - $this->assertEquals(md5_file($bigFileName), md5_file($localFilename)); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertFalse(true); - } - unlink($bigFileName); - unlink($localFilename); - } - - public function testMultipartUploadBigFileWithMD5Check() - { - $bigFileName = __DIR__ . DIRECTORY_SEPARATOR . "/bigfile.tmp"; - $localFilename = __DIR__ . DIRECTORY_SEPARATOR . "/localfile.tmp"; - OssUtil::generateFile($bigFileName, 6 * 1024 * 1024); - $object = 'mpu/multipart-bigfile-test.tmp'; - $options = array( - OssClient::OSS_CHECK_MD5 => true, - OssClient::OSS_PART_SIZE => 1, - ); - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $bigFileName, $options); - $options = array(OssClient::OSS_FILE_DOWNLOAD => $localFilename); - $this->ossClient->getObject($this->bucket, $object, $options); - $this->assertEquals(md5_file($bigFileName), md5_file($localFilename)); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertFalse(true); - } - unlink($bigFileName); - unlink($localFilename); - } - - public function testCopyPart() - { - $object = "mpu/multipart-test.txt"; - $copiedObject = "mpu/multipart-test.txt.copied"; - $this->ossClient->putObject($this->bucket, $copiedObject, file_get_contents(__FILE__)); - /** - * step 1. 初始化一个分块上传事件, 也就是初始化上传Multipart, 获取upload id - */ - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - /* - * step 2. uploadPartCopy - */ - $copyId = 1; - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $copiedObject, $this->bucket, $object, $copyId, $upload_id); - $upload_parts[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - - try { - $listPartsInfo = $this->ossClient->listParts($this->bucket, $object, $upload_id); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * step 3. - */ - try { - $this->ossClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - - $this->assertEquals($this->ossClient->getObject($this->bucket, $object), file_get_contents(__FILE__)); - $this->assertEquals($this->ossClient->getObject($this->bucket, $copiedObject), file_get_contents(__FILE__)); - } - - public function testCopyPartWithRange() - { - $object = "mpu/multipart-test.txt"; - $copiedObject = "mpu/multipart-test.txt.range.copied"; - $this->ossClient->putObject($this->bucket, $copiedObject, file_get_contents(__FILE__)); - /** - * step 1. 初始化一个分块上传事件, 也就是初始化上传Multipart, 获取upload id - */ - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - /* - * step 2. uploadPartCopy - */ - $copyId = 1; - $options = array( - 'start' => 0, - 'end' => 3, - ); - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $copiedObject, $this->bucket, $object, $copyId, $upload_id, $options); - $upload_parts[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - - try { - $listPartsInfo = $this->ossClient->listParts($this->bucket, $object, $upload_id); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * step 3. - */ - try { - $this->ossClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertTrue(false); - } - - $this->assertEquals($this->ossClient->getObject($this->bucket, $copiedObject), file_get_contents(__FILE__)); - $this->assertEquals($this->ossClient->getObject($this->bucket, $object), 'ossClient->initiateMultipartUpload($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - /* - * step 2. 上传分片 - */ - $part_size = 10 * 1024 * 1024; - $upload_file = __FILE__; - $upload_filesize = filesize($upload_file); - $pieces = $this->ossClient->generateMultiuploadParts($upload_filesize, $part_size); - $response_upload_part = array(); - $upload_position = 0; - $is_check_md5 = true; - foreach ($pieces as $i => $piece) { - $from_pos = $upload_position + (integer)$piece[OssClient::OSS_SEEK_TO]; - $to_pos = (integer)$piece[OssClient::OSS_LENGTH] + $from_pos - 1; - $up_options = array( - OssClient::OSS_FILE_UPLOAD => $upload_file, - OssClient::OSS_PART_NUM => ($i + 1), - OssClient::OSS_SEEK_TO => $from_pos, - OssClient::OSS_LENGTH => $to_pos - $from_pos + 1, - OssClient::OSS_CHECK_MD5 => $is_check_md5, - ); - if ($is_check_md5) { - $content_md5 = OssUtil::getMd5SumForFile($upload_file, $from_pos, $to_pos); - $up_options[OssClient::OSS_CONTENT_MD5] = $content_md5; - } - //2. 将每一分片上传到OSS - try { - $response_upload_part[] = $this->ossClient->uploadPart($this->bucket, $object, $upload_id, $up_options); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - $upload_parts = array(); - foreach ($response_upload_part as $i => $eTag) { - $upload_parts[] = array( - 'PartNumber' => ($i + 1), - 'ETag' => $eTag, - ); - } - - try { - $listPartsInfo = $this->ossClient->listParts($this->bucket, $object, $upload_id, array('max-parts' => 100)); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - $this->assertEquals(1, count($listPartsInfo->getListPart())); - - $numOfMultipartUpload1 = 0; - $options = null; - try { - $listMultipartUploadInfo = $listMultipartUploadInfo = $this->ossClient->listMultipartUploads($this->bucket, $options); - $this->assertNotNull($listMultipartUploadInfo); - $numOfMultipartUpload1 = count($listMultipartUploadInfo->getUploads()); - } catch (OssException $e) { - $this->assertFalse(true); - } - - try { - $this->ossClient->abortMultipartUpload($this->bucket, $object, $upload_id); - } catch (OssException $e) { - $this->assertTrue(false); - } - - $numOfMultipartUpload2 = 0; - try { - $listMultipartUploadInfo = $listMultipartUploadInfo = $this->ossClient->listMultipartUploads($this->bucket, array('max-uploads' => 1000)); - $this->assertNotNull($listMultipartUploadInfo); - $numOfMultipartUpload2 = count($listMultipartUploadInfo->getUploads()); - } catch (OssException $e) { - $this->assertFalse(true); - } - $this->assertEquals($numOfMultipartUpload1 - 1, $numOfMultipartUpload2); - } - - public function testPutObjectByRawApis() - { - $object = "mpu/multipart-test.txt"; - /** - * step 1. 初始化一个分块上传事件, 也就是初始化上传Multipart, 获取upload id - */ - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - /* - * step 2. 上传分片 - */ - $part_size = 10 * 1024 * 1024; - $upload_file = __FILE__; - $upload_filesize = filesize($upload_file); - $pieces = $this->ossClient->generateMultiuploadParts($upload_filesize, $part_size); - $response_upload_part = array(); - $upload_position = 0; - $is_check_md5 = true; - foreach ($pieces as $i => $piece) { - $from_pos = $upload_position + (integer)$piece[OssClient::OSS_SEEK_TO]; - $to_pos = (integer)$piece[OssClient::OSS_LENGTH] + $from_pos - 1; - $up_options = array( - OssClient::OSS_FILE_UPLOAD => $upload_file, - OssClient::OSS_PART_NUM => ($i + 1), - OssClient::OSS_SEEK_TO => $from_pos, - OssClient::OSS_LENGTH => $to_pos - $from_pos + 1, - OssClient::OSS_CHECK_MD5 => $is_check_md5, - ); - if ($is_check_md5) { - $content_md5 = OssUtil::getMd5SumForFile($upload_file, $from_pos, $to_pos); - $up_options[OssClient::OSS_CONTENT_MD5] = $content_md5; - } - //2. 将每一分片上传到OSS - try { - $response_upload_part[] = $this->ossClient->uploadPart($this->bucket, $object, $upload_id, $up_options); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - $upload_parts = array(); - foreach ($response_upload_part as $i => $eTag) { - $upload_parts[] = array( - 'PartNumber' => ($i + 1), - 'ETag' => $eTag, - ); - } - - try { - $listPartsInfo = $this->ossClient->listParts($this->bucket, $object, $upload_id); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * step 3. - */ - try { - $this->ossClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - function testPutObjectsByDir() - { - $localDirectory = dirname(__FILE__); - $prefix = "samples/codes"; - try { - $this->ossClient->uploadDir($this->bucket, $prefix, $localDirectory); - } catch (OssException $e) { - var_dump($e->getMessage()); - $this->assertFalse(true); - - } - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, 'samples/codes/' . "OssClientMultipartUploadTest.php")); - } - - public function testPutObjectByMultipartUpload() - { - $object = "mpu/multipart-test.txt"; - $file = __FILE__; - $options = array(); - - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $file, $options); - $this->assertFalse(false); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testPutObjectByMultipartUploadWithMD5Check() - { - $object = "mpu/multipart-test.txt"; - $file = __FILE__; - $options = array(OssClient::OSS_CHECK_MD5 => true); - - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $file, $options); - $this->assertFalse(false); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testPutObjectByMultipartUploadWithOSS_LENGTH() - { - $object = "mpu/multipart-test-length.txt"; - $file = __FILE__; - - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - $options = array(OssClient::OSS_LENGTH => 4, OssClient::OSS_UPLOAD_ID => $upload_id); - $this->ossClient->multiuploadFile($this->bucket, $object, $file, $options); - $this->assertEquals($this->ossClient->getObject($this->bucket, $object), 'assertFalse(true); - } - } - - public function testPutObjectByMultipartUploadWithOSS_CONTENT_LENGTH() - { - $object = "mpu/multipart-test-content-length.txt"; - $file = __FILE__; - - try { - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - $options = array(OssClient::OSS_CONTENT_LENGTH => 4, OssClient::OSS_UPLOAD_ID => $upload_id); - $this->ossClient->multiuploadFile($this->bucket, $object, $file, $options); - $this->assertEquals($this->ossClient->getObject($this->bucket, $object), 'assertFalse(true); - } - } - - public function testPutObjectByMultipartUploadWithException() - { - $object = "mpu/multipart-test-exception.txt"; - $file = ""; - - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $file); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "parameter invalid, file is empty") == false) - { - $this->assertTrue(true); - } - } - } - - public function testListMultipartUploads() - { - $options = null; - try { - $listMultipartUploadInfo = $this->ossClient->listMultipartUploads($this->bucket, $options); - $this->assertNotNull($listMultipartUploadInfo); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testCompleteMultipartUploadWithException() - { - $object = "mpu/multipart-test-complete.txt"; - $uploadId = "uploadId"; - try { - $listMultipartUploadInfo = $this->ossClient->completeMultipartUpload($this->bucket, $object, $uploadId, null); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "listParts must be array type") == false) - { - $this->assertTrue(false); - } - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectRequestPaymentTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectRequestPaymentTest.php deleted file mode 100644 index 41e18cf1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectRequestPaymentTest.php +++ /dev/null @@ -1,472 +0,0 @@ -payerClient->listObjects($this->bucket); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->createObjectDir($this->bucket, 'folder/'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->putObject($this->bucket, 'object', 'content'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->putSymlink($this->bucket, 'symlink', 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->getSymlink($this->bucket, 'default-symlink'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->uploadFile($this->bucket, 'file-object', __FILE__); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->appendObject($this->bucket, 'append-object', 'content', 0); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->appendObject($this->bucket, 'append-file', __FILE__, 0); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->copyObject($this->bucket, 'default-object', $this->bucket, 'copy-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->getObjectMeta($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $this->payerClient->getSimplifiedObjectMeta($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $this->payerClient->deleteObject($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->getObject($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->doesObjectExist($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $this->payerClient->restoreObject($this->bucket, 'default-ia-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $config = new TaggingConfig(); - $config->addTag(new Tag("key1", "value1")); - $this->payerClient->putObjectTagging($this->bucket, 'default-object', $config); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->getObjectTagging($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->deleteObjectTagging($this->bucket, 'default-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->initiateMultipartUpload($this->bucket, 'mup-object'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - $uploadId= $this->ossClient->initiateMultipartUpload($this->bucket, 'mup-object'); - - try { - $this->payerClient->listParts($this->bucket, 'mup-object', $uploadId); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->abortMultipartUpload($this->bucket, 'mup-object', $uploadId); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->listMultipartUploads($this->bucket); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - - try { - $this->payerClient->multiuploadFile($this->bucket, 'mup-file', __FILE__); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('AccessDenied', $e->getErrorCode()); - } - } - - public function testObjectOperationsWithRequester() - { - $options = array( - OssClient::OSS_HEADERS => array( - OssClient::OSS_REQUEST_PAYER => 'requester', - )); - - try { - $this->payerClient->listObjects($this->bucket, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->createObjectDir($this->bucket, 'folder/', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->putObject($this->bucket, 'object', 'content', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->putSymlink($this->bucket, 'symlink', 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->getSymlink($this->bucket, 'default-symlink', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->uploadFile($this->bucket, 'file-object', __FILE__, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->appendObject($this->bucket, 'append-object', 'content', 0, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->appendObject($this->bucket, 'append-file', __FILE__, 0, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->copyObject($this->bucket, 'default-object', $this->bucket, 'copy-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->getObjectMeta($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->getSimplifiedObjectMeta($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->getObject($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->putObject($this->bucket, 'test-object', 'content', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->deleteObject($this->bucket, 'test-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->doesObjectExist($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - $ia_options = array( - OssClient::OSS_HEADERS => array( - 'x-oss-storage-class' => 'Archive', - )); - $this->ossClient->putObject($this->bucket, 'default-Archive-object', 'content', $ia_options); - try { - $this->payerClient->restoreObject($this->bucket, 'default-Archive-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $config = new TaggingConfig(); - $config->addTag(new Tag("key1", "value1")); - $this->payerClient->putObjectTagging($this->bucket, 'default-object', $config, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->getObjectTagging($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->payerClient->deleteObjectTagging($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testMultipartOperationsWithRequester() - { - $options = array( - OssClient::OSS_HEADERS => array( - OssClient::OSS_REQUEST_PAYER => 'requester', - )); - - $object = "mpu/multipart-test.txt"; - /** - * step 1. 初始化一个分块上传事件, 也就是初始化上传Multipart, 获取upload id - */ - try { - $upload_id = $this->payerClient->initiateMultipartUpload($this->bucket, $object, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /* - * step 2. 上传分片 - */ - $part_size = 1 * 1024 * 1024; - $upload_file = __FILE__; - $upload_filesize = filesize($upload_file); - $pieces = $this->payerClient->generateMultiuploadParts($upload_filesize, $part_size); - $response_upload_part = array(); - $upload_position = 0; - $is_check_md5 = false; - foreach ($pieces as $i => $piece) { - $from_pos = $upload_position + (integer)$piece[OssClient::OSS_SEEK_TO]; - $to_pos = (integer)$piece[OssClient::OSS_LENGTH] + $from_pos - 1; - $up_options = array( - OssClient::OSS_FILE_UPLOAD => $upload_file, - OssClient::OSS_PART_NUM => ($i + 1), - OssClient::OSS_SEEK_TO => $from_pos, - OssClient::OSS_LENGTH => $to_pos - $from_pos + 1, - OssClient::OSS_CHECK_MD5 => $is_check_md5, - OssClient::OSS_HEADERS => array( - OssClient::OSS_REQUEST_PAYER => 'requester', - ), - ); - - //2. 将每一分片上传到OSS - try { - $response_upload_part[] = $this->ossClient->uploadPart($this->bucket, $object, $upload_id, $up_options); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - $upload_parts = array(); - foreach ($response_upload_part as $i => $eTag) { - $upload_parts[] = array( - 'PartNumber' => ($i + 1), - 'ETag' => $eTag, - ); - } - - try { - $listPartsInfo = $this->payerClient->listParts($this->bucket, $object, $upload_id, $options); - $this->assertNotNull($listPartsInfo); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $uploads = $this->payerClient->listMultipartUploads($this->bucket, $options); - $this->assertNotNull($uploads); - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * step 3. - */ - try { - $this->payerClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts, $options); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testMiscOperationsWithRequester() - { - //use multipart - $options = array( - OssClient::OSS_PART_SIZE => 1, - OssClient::OSS_HEADERS => array( - OssClient::OSS_REQUEST_PAYER => 'requester', - )); - - $bigFileName = __DIR__ . DIRECTORY_SEPARATOR . "/bigfile.tmp"; - OssUtil::generateFile($bigFileName, 256 * 1024); - $object = 'mpu/multipart-bigfile-test.tmp'; - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $bigFileName, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertFalse(true); - } - - //use uploadfile - $options = array( - OssClient::OSS_PART_SIZE => 1024*1024, - OssClient::OSS_HEADERS => array( - OssClient::OSS_REQUEST_PAYER => 'requester', - )); - - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $bigFileName, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - unlink($bigFileName); - } - - protected function setUp(): void - { - parent::setUp(); - $this->payerClient = new OssClient( - getenv('OSS_PAYER_ACCESS_KEY_ID'), - getenv('OSS_PAYER_ACCESS_KEY_SECRET'), - getenv('OSS_ENDPOINT'), false); - - $policy = '{"Version":"1","Statement":[{"Action":["oss:*"],"Effect": "Allow",'. - '"Principal":["' . getenv('OSS_PAYER_UID') . '"],'. - '"Resource": ["acs:oss:*:*:' . $this->bucket . '","acs:oss:*:*:' . $this->bucket . '/*"]}]}'; - - $this->ossClient->putBucketPolicy($this->bucket, $policy); - $this->ossClient->putBucketRequestPayment($this->bucket, 'Requester'); - $this->ossClient->putObject($this->bucket, "default-object", ""); - $this->ossClient->putSymlink($this->bucket, "default-symlink", "default-object"); - } - - protected function tearDown(): void - { - parent::tearDown(); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectTaggingTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectTaggingTest.php deleted file mode 100644 index 401d1b7c..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectTaggingTest.php +++ /dev/null @@ -1,160 +0,0 @@ -ossClient->putObject($this->bucket, $object, $content); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $config = $this->ossClient->getObjectTagging($this->bucket, $object); - $this->assertEquals(0, count($config->getTags())); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $config = new TaggingConfig(); - $config->addTag(new Tag("key1", "value1")); - $config->addTag(new Tag("key2", "value2")); - $config->addTag(new Tag("key3", "value3")); - $this->ossClient->putObjectTagging($this->bucket, $object, $config); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $config2 = $this->ossClient->getObjectTagging($this->bucket, $object); - $this->assertEquals(3, count($config2->getTags())); - $this->assertEquals("key1", $config2->getTags()[0]->getKey()); - $this->assertEquals("value1", $config2->getTags()[0]->getValue()); - $this->assertEquals("key2", $config2->getTags()[1]->getKey()); - $this->assertEquals("value2", $config2->getTags()[1]->getValue()); - $this->assertEquals("key3", $config2->getTags()[2]->getKey()); - $this->assertEquals("value3", $config2->getTags()[2]->getValue()); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $this->ossClient->deleteObjectTagging($this->bucket, $object); - $config2 = $this->ossClient->getObjectTagging($this->bucket, $object); - $this->assertEquals(0, count($config2->getTags())); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testPutObjectTaggingFromHeader() - { - $object = "object-tagging-header.txt"; - $content = "hello world"; - - try { - $options = array( - OssClient::OSS_HEADERS => array( - 'x-oss-tagging' => 'key1=value1&key2=value2&key3=value3', - )); - - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - - $config2 = $this->ossClient->getObjectTagging($this->bucket, $object); - $this->assertEquals(3, count($config2->getTags())); - $this->assertEquals("key1", $config2->getTags()[0]->getKey()); - $this->assertEquals("value1", $config2->getTags()[0]->getValue()); - $this->assertEquals("key2", $config2->getTags()[1]->getKey()); - $this->assertEquals("value2", $config2->getTags()[1]->getValue()); - $this->assertEquals("key3", $config2->getTags()[2]->getKey()); - $this->assertEquals("value3", $config2->getTags()[2]->getValue()); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testAppendObjectTaggingFromHeader() - { - $object = "append-object-tagging-header.txt"; - $content_array = array('Hello OSS', 'Hi OSS', 'OSS OK'); - - try { - $options = array( - OssClient::OSS_HEADERS => array( - 'x-oss-tagging' => 'key1=value1&key2=value2&key3=value3', - )); - - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[0], 0, $options); - $this->assertEquals($position, strlen($content_array[0])); - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[1], $position); - $this->assertEquals($position, strlen($content_array[0]) + strlen($content_array[1])); - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[2], $position, array(OssClient::OSS_LENGTH => strlen($content_array[2]))); - $this->assertEquals($position, strlen($content_array[0]) + strlen($content_array[1]) + strlen($content_array[2])); - - $config2 = $this->ossClient->getObjectTagging($this->bucket, $object); - $this->assertEquals(3, count($config2->getTags())); - $this->assertEquals("key1", $config2->getTags()[0]->getKey()); - $this->assertEquals("value1", $config2->getTags()[0]->getValue()); - $this->assertEquals("key2", $config2->getTags()[1]->getKey()); - $this->assertEquals("value2", $config2->getTags()[1]->getValue()); - $this->assertEquals("key3", $config2->getTags()[2]->getKey()); - $this->assertEquals("value3", $config2->getTags()[2]->getValue()); - - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testMultipartUploadTaggingFromHeader() - { - $file = __DIR__ . DIRECTORY_SEPARATOR . "/bigfile.tmp"; - OssUtil::generateFile($file, 110 * 1024); - - $object = "mpu-object-tagging-header.txt"; - $options = array( - OssClient::OSS_CHECK_MD5 => true, - OssClient::OSS_PART_SIZE => 1, - OssClient::OSS_HEADERS => array( - 'x-oss-tagging' => 'key1=value1&key2=value2&key3=value3', - ), - ); - try { - $this->ossClient->multiuploadFile($this->bucket, $object, $file, $options); - - $config2 = $this->ossClient->getObjectTagging($this->bucket, $object); - $this->assertEquals(3, count($config2->getTags())); - $this->assertEquals("key1", $config2->getTags()[0]->getKey()); - $this->assertEquals("value1", $config2->getTags()[0]->getValue()); - $this->assertEquals("key2", $config2->getTags()[1]->getKey()); - $this->assertEquals("value2", $config2->getTags()[1]->getValue()); - $this->assertEquals("key3", $config2->getTags()[2]->getKey()); - $this->assertEquals("value3", $config2->getTags()[2]->getValue()); - } catch (OssException $e) { - $this->assertFalse(true); - } - - unlink($file); - } - -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectTest.php deleted file mode 100644 index 228a394d..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectTest.php +++ /dev/null @@ -1,781 +0,0 @@ -ossClient->getObjectMeta($this->bucket, $object); - $this->assertEquals('200', $res['info']['http_code']); - $this->assertEquals('text/plain', $res['content-type']); - $this->assertEquals('Accept-Encoding', $res['vary']); - $this->assertTrue(isset($res['content-length'])); - $this->assertFalse(isset($res['content-encoding'])); - } catch (OssException $e) { - $this->assertTrue(false); - } - - $options = array(OssClient::OSS_HEADERS => array(OssClient::OSS_ACCEPT_ENCODING => 'deflate, gzip')); - - try { - $res = $this->ossClient->getObjectMeta($this->bucket, $object, $options); - $this->assertEquals('200', $res['info']['http_code']); - $this->assertEquals('text/plain', $res['content-type']); - $this->assertEquals('Accept-Encoding', $res['vary']); - $this->assertFalse(isset($res['content-length'])); - $this->assertEquals('gzip', $res['content-encoding']); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testGetObjectWithAcceptEncoding() - { - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $options = array(OssClient::OSS_HEADERS => array(OssClient::OSS_ACCEPT_ENCODING => 'deflate, gzip')); - - try { - $res = $this->ossClient->getObject($this->bucket, $object, $options); - $this->assertEquals(file_get_contents(__FILE__), $res); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testGetObjectWithHeader() - { - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - try { - $res = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_LAST_MODIFIED => "xx")); - $this->assertEquals(file_get_contents(__FILE__), $res); - } catch (OssException $e) { - $this->assertEquals('"/ilegal.txt" object name is invalid', $e->getMessage()); - } - } - - public function testGetObjectWithIleggalEtag() - { - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - try { - $res = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_ETAG => "xx")); - $this->assertEquals(file_get_contents(__FILE__), $res); - } catch (OssException $e) { - $this->assertEquals('"/ilegal.txt" object name is invalid', $e->getMessage()); - } - } - - public function testObject() - { - /** - * Upload the local variable to bucket - */ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $content = file_get_contents(__FILE__); - $options = array( - OssClient::OSS_LENGTH => strlen($content), - OssClient::OSS_HEADERS => array( - 'Expires' => 'Fri, 28 Feb 2020 05:38:42 GMT', - 'Cache-Control' => 'no-cache', - 'Content-Disposition' => 'attachment;filename=oss_download.log', - 'Content-Language' => 'zh-CN', - 'x-oss-server-side-encryption' => 'AES256', - 'x-oss-meta-self-define-title' => 'user define meta info', - ), - ); - - try { - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - try { - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - try { - $result = $this->ossClient->deleteObjects($this->bucket, "stringtype", $options); - $this->assertEquals('stringtype', $result[0]); - } catch (OssException $e) { - $this->assertEquals('objects must be array', $e->getMessage()); - } - - try { - $result = $this->ossClient->deleteObjects($this->bucket, "stringtype", $options); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('objects must be array', $e->getMessage()); - } - - try { - $this->ossClient->uploadFile($this->bucket, $object, "notexist.txt", $options); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('notexist.txt file does not exist', $e->getMessage()); - } - - /** - * GetObject to the local variable and check for match - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * GetObject first five bytes - */ - try { - $options = array(OssClient::OSS_RANGE => '0-4'); - $content = $this->ossClient->getObject($this->bucket, $object, $options); - $this->assertEquals($content, 'assertFalse(true); - } - - - /** - * Upload the local file to object - */ - try { - $this->ossClient->uploadFile($this->bucket, $object, __FILE__); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Download the file to the local variable and check for match. - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Download the file to the local file - */ - $localfile = "upload-test-object-name.txt"; - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $localfile, - ); - - try { - $this->ossClient->getObject($this->bucket, $object, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - $this->assertTrue(file_get_contents($localfile) === file_get_contents(__FILE__)); - if (file_exists($localfile)) { - unlink($localfile); - } - - /** - * Download the file to the local file. no such key - */ - $localfile = "upload-test-object-name-no-such-key.txt"; - $options = array( - OssClient::OSS_FILE_DOWNLOAD => $localfile, - ); - - try { - $this->ossClient->getObject($this->bucket, $object . "no-such-key", $options); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - $this->assertFalse(file_exists($localfile)); - if (strpos($e, "The specified key does not exist") == false) - { - $this->assertTrue(true); - } - } - - /** - * Download the file to the content. no such key - */ - try { - $result = $this->ossClient->getObject($this->bucket, $object . "no-such-key"); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "The specified key does not exist") == false) - { - $this->assertTrue(true); - } - } - - /** - * Copy object - */ - $to_bucket = $this->bucket; - $to_object = $object . '.copy'; - $options = array(); - try { - $result = $this->ossClient->copyObject($this->bucket, $object, $to_bucket, $to_object, $options); - $this->assertFalse(empty($result)); - $this->assertEquals(strlen("2016-11-21T03:46:58.000Z"), strlen($result[0])); - $this->assertEquals(strlen("\"5B3C1A2E053D763E1B002CC607C5A0FE\""), strlen($result[1])); - } catch (OssException $e) { - $this->assertFalse(true); - var_dump($e->getMessage()); - - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $to_object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * List the files in your bucket. - */ - $prefix = ''; - $delimiter = '/'; - $next_marker = ''; - $maxkeys = 1000; - $options = array( - 'delimiter' => $delimiter, - 'prefix' => $prefix, - 'max-keys' => $maxkeys, - 'marker' => $next_marker, - ); - - try { - $listObjectInfo = $this->ossClient->listObjects($this->bucket, $options); - $objectList = $listObjectInfo->getObjectList(); - $prefixList = $listObjectInfo->getPrefixList(); - $this->assertNotNull($objectList); - $this->assertNotNull($prefixList); - $this->assertTrue(is_array($objectList)); - $this->assertTrue(is_array($prefixList)); - - } catch (OssException $e) { - $this->assertTrue(false); - } - - /** - * Set the meta information for the file - */ - $from_bucket = $this->bucket; - $from_object = "oss-php-sdk-test/upload-test-object-name.txt"; - $to_bucket = $from_bucket; - $to_object = $from_object; - $copy_options = array( - OssClient::OSS_HEADERS => array( - 'Expires' => '2012-10-01 08:00:00', - 'Content-Disposition' => 'attachment; filename="xxxxxx"', - ), - ); - try { - $this->ossClient->copyObject($from_bucket, $from_object, $to_bucket, $to_object, $copy_options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Get the meta information for the file - */ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - try { - $objectMeta = $this->ossClient->getObjectMeta($this->bucket, $object); - $this->assertEquals('attachment; filename="xxxxxx"', $objectMeta[strtolower('Content-Disposition')]); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Delete single file - */ - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - - try { - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object)); - $this->ossClient->deleteObject($this->bucket, $object); - $this->assertFalse($this->ossClient->doesObjectExist($this->bucket, $object)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Delete multiple files - */ - $object1 = "oss-php-sdk-test/upload-test-object-name.txt"; - $object2 = "oss-php-sdk-test/upload-test-object-name.txt.copy"; - $list = array($object1, $object2); - try { - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object2)); - - $result = $this->ossClient->deleteObjects($this->bucket, $list); - $this->assertEquals($list[0], $result[0]); - $this->assertEquals($list[1], $result[1]); - - $result = $this->ossClient->deleteObjects($this->bucket, $list, array('quiet' => 'true')); - $this->assertEquals(array(), $result); - $this->assertFalse($this->ossClient->doesObjectExist($this->bucket, $object2)); - - $this->ossClient->putObject($this->bucket, $object, $content); - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object)); - $result = $this->ossClient->deleteObjects($this->bucket, $list, array('quiet' => true)); - $this->assertEquals(array(), $result); - $this->assertFalse($this->ossClient->doesObjectExist($this->bucket, $object)); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testAppendObject() - { - $object = "oss-php-sdk-test/append-test-object-name.txt"; - $content_array = array('Hello OSS', 'Hi OSS', 'OSS OK'); - - /** - * Append the upload string - */ - try { - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[0], 0); - $this->assertEquals($position, strlen($content_array[0])); - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[1], $position); - $this->assertEquals($position, strlen($content_array[0]) + strlen($content_array[1])); - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[2], $position, array(OssClient::OSS_LENGTH => strlen($content_array[2]))); - $this->assertEquals($position, strlen($content_array[0]) + strlen($content_array[1]) + strlen($content_array[2])); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the content is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, implode($content_array)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - - /** - * Delete test object - */ - try { - $this->ossClient->deleteObject($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Append the upload of invalid local files - */ - try { - $position = $this->ossClient->appendFile($this->bucket, $object, "invalid-file-path", 0); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - /** - * Append the upload of local files - */ - try { - $position = $this->ossClient->appendFile($this->bucket, $object, __FILE__, 0); - $this->assertEquals($position, filesize(__FILE__)); - $position = $this->ossClient->appendFile($this->bucket, $object, __FILE__, $position); - $this->assertEquals($position, filesize(__FILE__) * 2); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__) . file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Delete test object - */ - try { - $this->ossClient->deleteObject($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - - - $options = array( - OssClient::OSS_HEADERS => array( - 'Expires' => '2012-10-01 08:00:00', - 'Content-Disposition' => 'attachment; filename="xxxxxx"', - ), - ); - - /** - * Append upload with option - */ - try { - $position = $this->ossClient->appendObject($this->bucket, $object, "Hello OSS, ", 0, $options); - $position = $this->ossClient->appendObject($this->bucket, $object, "Hi OSS.", $position); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Get the meta information for the file - */ - try { - $objectMeta = $this->ossClient->getObjectMeta($this->bucket, $object); - $this->assertEquals('attachment; filename="xxxxxx"', $objectMeta[strtolower('Content-Disposition')]); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Delete test object - */ - try { - $this->ossClient->deleteObject($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testPutIllelObject() - { - $object = "/ilegal.txt"; - try { - $this->ossClient->putObject($this->bucket, $object, "hi", null); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('"/ilegal.txt" object name is invalid', $e->getMessage()); - } - } - - public function testCheckMD5() - { - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - $content = file_get_contents(__FILE__); - $options = array(OssClient::OSS_CHECK_MD5 => true); - - /** - * Upload data to start MD5 - */ - try { - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Upload file to start MD5 - */ - try { - $this->ossClient->uploadFile($this->bucket, $object, __FILE__, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Delete test object - */ - try { - $this->ossClient->deleteObject($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - - $object = "oss-php-sdk-test/append-test-object-name.txt"; - $content_array = array('Hello OSS', 'Hi OSS', 'OSS OK'); - $options = array(OssClient::OSS_CHECK_MD5 => true); - - /** - * Append the upload string - */ - try { - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[0], 0, $options); - $this->assertEquals($position, strlen($content_array[0])); - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[1], $position, $options); - $this->assertEquals($position, strlen($content_array[0]) + strlen($content_array[1])); - $position = $this->ossClient->appendObject($this->bucket, $object, $content_array[2], $position, $options); - $this->assertEquals($position, strlen($content_array[0]) + strlen($content_array[1]) + strlen($content_array[1])); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the content is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, implode($content_array)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Delete test object - */ - try { - $this->ossClient->deleteObject($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Append upload of local files - */ - try { - $position = $this->ossClient->appendFile($this->bucket, $object, __FILE__, 0, $options); - $this->assertEquals($position, filesize(__FILE__)); - $position = $this->ossClient->appendFile($this->bucket, $object, __FILE__, $position, $options); - $this->assertEquals($position, filesize(__FILE__) * 2); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__) . file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * delete test object - */ - try { - $this->ossClient->deleteObject($this->bucket, $object); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testWithInvalidBucketName() - { - try { - $this->ossClient->createBucket("abcefc/", "test-key"); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('"abcefc/"bucket name is invalid', $e->getMessage()); - } - } - - public function testGetSimplifiedObjectMeta() - { - $object = "oss-php-sdk-test/upload-test-object-name.txt"; - - try { - $objectMeta = $this->ossClient->getSimplifiedObjectMeta($this->bucket, $object); - $this->assertEquals(false, array_key_exists(strtolower('Content-Disposition'), $objectMeta)); - $this->assertEquals(strlen(file_get_contents(__FILE__)), $objectMeta[strtolower('Content-Length')]); - $this->assertEquals(true, array_key_exists(strtolower('ETag'), $objectMeta)); - $this->assertEquals(true, array_key_exists(strtolower('Last-Modified'), $objectMeta)); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testUploadStream() - { - $object = "oss-php-sdk-test/put-from-stream.txt"; - $options = array(OssClient::OSS_CHECK_MD5 => true); - $handle = fopen(__FILE__, 'rb'); - /** - * Upload data to start MD5 - */ - try { - $this->ossClient->uploadStream($this->bucket, $object, $handle, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - $object = "oss-php-sdk-test/put-from-stream-without-md5.txt"; - $handle = fopen(__FILE__, 'rb'); - try { - $this->ossClient->uploadStream($this->bucket, $object, $handle); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - } - - public function testObjectKeyWithQuestionMark() - { - /** - * Upload the local variable to bucket - */ - $object = "oss-php-sdk-test/??/upload-test-object-name???123??123??.txt"; - $content = file_get_contents(__FILE__); - $options = array( - OssClient::OSS_LENGTH => strlen($content), - OssClient::OSS_HEADERS => array( - 'Expires' => 'Fri, 28 Feb 2020 05:38:42 GMT', - 'Cache-Control' => 'no-cache', - 'Content-Disposition' => 'attachment;filename=oss_download.log', - 'Content-Language' => 'zh-CN', - 'x-oss-server-side-encryption' => 'AES256', - 'x-oss-meta-self-define-title' => 'user define meta info', - ), - ); - - try { - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - try { - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * GetObject to the local variable and check for match - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * GetObject first five bytes - */ - try { - $options = array(OssClient::OSS_RANGE => '0-4'); - $content = $this->ossClient->getObject($this->bucket, $object, $options); - $this->assertEquals($content, 'assertFalse(true); - } - - - /** - * Upload the local file to object - */ - try { - $this->ossClient->uploadFile($this->bucket, $object, __FILE__); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Download the file to the local variable and check for match. - */ - try { - $content = $this->ossClient->getObject($this->bucket, $object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - /** - * Copy object - */ - $to_bucket = $this->bucket; - $to_object = $object . '.copy'; - $options = array(); - try { - $result = $this->ossClient->copyObject($this->bucket, $object, $to_bucket, $to_object, $options); - $this->assertFalse(empty($result)); - $this->assertEquals(strlen("2016-11-21T03:46:58.000Z"), strlen($result[0])); - $this->assertEquals(strlen("\"5B3C1A2E053D763E1B002CC607C5A0FE\""), strlen($result[1])); - } catch (OssException $e) { - $this->assertFalse(true); - var_dump($e->getMessage()); - - } - - /** - * Check if the replication is the same - */ - try { - $content = $this->ossClient->getObject($this->bucket, $to_object); - $this->assertEquals($content, file_get_contents(__FILE__)); - } catch (OssException $e) { - $this->assertFalse(true); - } - - - try { - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object)); - $this->ossClient->deleteObject($this->bucket, $object); - $this->assertFalse($this->ossClient->doesObjectExist($this->bucket, $object)); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - protected function setUp(): void - { - parent::setUp(); - $this->ossClient->putObject($this->bucket, 'oss-php-sdk-test/upload-test-object-name.txt', file_get_contents(__FILE__)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectVersioningTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectVersioningTest.php deleted file mode 100644 index 66f204ac..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientObjectVersioningTest.php +++ /dev/null @@ -1,610 +0,0 @@ -ossClient->putObject($this->bucket, $object, $content1, array(OssClient::OSS_HEADERS => array('x-oss-object-acl' => 'public-read', 'x-oss-tagging' => 'key1=value1'))); - $ret2 = $this->ossClient->putObject($this->bucket, $object, $content2, array(OssClient::OSS_HEADERS => array('x-oss-object-acl' => 'private', 'x-oss-tagging' => 'key2=value2'))); - - $this->assertTrue(isset($ret1[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($ret2[OssClient::OSS_HEADER_VERSION_ID])); - - $versionId1 = $ret1[OssClient::OSS_HEADER_VERSION_ID]; - $versionId2 = $ret2[OssClient::OSS_HEADER_VERSION_ID]; - - //get object - $res = $this->ossClient->getObject($this->bucket, $object); - $res1 = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $res2 = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId2)); - $this->assertEquals($content1, $res1); - $this->assertEquals($content2, $res2); - $this->assertEquals($content2, $res); - - //meta - $headers = $this->ossClient->getObjectMeta($this->bucket, $object); - $headers1 = $this->ossClient->getObjectMeta($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $headers2 = $this->ossClient->getObjectMeta($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId2)); - - $this->assertTrue(isset($headers[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($headers1[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($headers2[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertEquals($versionId1, $headers1[OssClient::OSS_HEADER_VERSION_ID]); - $this->assertEquals($versionId2, $headers2[OssClient::OSS_HEADER_VERSION_ID]); - $this->assertEquals($versionId2, $headers[OssClient::OSS_HEADER_VERSION_ID]); - - - $sheaders = $this->ossClient->getSimplifiedObjectMeta($this->bucket, $object); - $sheaders1 = $this->ossClient->getSimplifiedObjectMeta($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $sheaders2 = $this->ossClient->getSimplifiedObjectMeta($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId2)); - - $this->assertTrue(isset($sheaders[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($sheaders1[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($sheaders2[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertEquals($versionId1, $sheaders1[OssClient::OSS_HEADER_VERSION_ID]); - $this->assertEquals($versionId2, $sheaders2[OssClient::OSS_HEADER_VERSION_ID]); - $this->assertEquals($versionId2, $sheaders[OssClient::OSS_HEADER_VERSION_ID]); - - //acl - $acl = $this->ossClient->getObjectAcl($this->bucket, $object); - $acl1 = $this->ossClient->getObjectAcl($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $acl2 = $this->ossClient->getObjectAcl($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId2)); - - $this->assertEquals('public-read', $acl1); - $this->assertEquals('private', $acl2); - $this->assertEquals('private', $acl); - - $this->ossClient->putObjectAcl($this->bucket, $object, 'public-read-write', array(OssClient::OSS_VERSION_ID => $versionId1)); - $acl = $this->ossClient->getObjectAcl($this->bucket, $object); - $acl1 = $this->ossClient->getObjectAcl($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $this->assertEquals('public-read-write', $acl1); - $this->assertEquals('private', $acl); - - //tagging - $tag = $this->ossClient->getObjectTagging($this->bucket, $object); - $tag1 = $this->ossClient->getObjectTagging($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $tag2 = $this->ossClient->getObjectTagging($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId2)); - $this->assertEquals(1, count($tag1->getTags())); - $this->assertEquals("key1", $tag1->getTags()[0]->getKey()); - $this->assertEquals("value1", $tag1->getTags()[0]->getValue()); - $this->assertEquals(1, count($tag2->getTags())); - $this->assertEquals("key2", $tag2->getTags()[0]->getKey()); - $this->assertEquals("value2", $tag2->getTags()[0]->getValue()); - $this->assertEquals(1, count($tag->getTags())); - $this->assertEquals("key2", $tag->getTags()[0]->getKey()); - $this->assertEquals("value2", $tag->getTags()[0]->getValue()); - - $config = new TaggingConfig(); - $config->addTag(new Tag("key11", "value11")); - $this->ossClient->putObjectTagging($this->bucket, $object, $config, array(OssClient::OSS_VERSION_ID => $versionId1)); - $tag = $this->ossClient->getObjectTagging($this->bucket, $object); - $tag1 = $this->ossClient->getObjectTagging($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $this->assertEquals(1, count($tag1->getTags())); - $this->assertEquals("key11", $tag1->getTags()[0]->getKey()); - $this->assertEquals("value11", $tag1->getTags()[0]->getValue()); - $this->assertEquals(1, count($tag->getTags())); - $this->assertEquals("key2", $tag->getTags()[0]->getKey()); - $this->assertEquals("value2", $tag->getTags()[0]->getValue()); - - $this->ossClient->deleteObjectTagging($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $tag = $this->ossClient->getObjectTagging($this->bucket, $object); - $tag1 = $this->ossClient->getObjectTagging($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $this->assertEquals(0, count($tag1->getTags())); - $this->assertEquals(1, count($tag->getTags())); - $this->assertEquals("key2", $tag->getTags()[0]->getKey()); - $this->assertEquals("value2", $tag->getTags()[0]->getValue()); - - //delete - $dret = $this->ossClient->deleteObject($this->bucket, $object); - $this->assertTrue(isset($dret['x-oss-delete-marker'])); - $this->assertTrue(isset($dret['x-oss-version-id'])); - $this->assertEquals("true", $dret['x-oss-delete-marker']); - $this->assertFalse($this->ossClient->doesObjectExist($this->bucket, $object)); - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1))); - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId2))); - - $dret1 = $this->ossClient->deleteObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $this->assertFalse(isset($dret1['x-oss-delete-marker'])); - $this->assertTrue(isset($dret1['x-oss-version-id'])); - $this->assertEquals($versionId1, $dret1['x-oss-version-id']); - $this->assertFalse($this->ossClient->doesObjectExist($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1))); - - - $dret_ = $this->ossClient->deleteObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $dret['x-oss-version-id'])); - $this->assertTrue(isset($dret_['x-oss-delete-marker'])); - $this->assertTrue(isset($dret_['x-oss-version-id'])); - $this->assertEquals($dret['x-oss-version-id'], $dret_['x-oss-version-id']); - $this->assertTrue($this->ossClient->doesObjectExist($this->bucket, $object)); - - } - - public function testObjectSymlink() - { - $object1 = 'object-target-1'; - $object2 = 'object-target-2'; - $symlink = 'object-symlink'; - $content1 = 'hello'; - $content2 = 'hello world'; - - - $ret1 = $this->ossClient->putObject($this->bucket, $object1, $content1); - $sym1 = $this->ossClient->putSymlink($this->bucket, $symlink, $object1); - - $ret2 = $this->ossClient->putObject($this->bucket, $object2, $content2); - $sym2 = $this->ossClient->putSymlink($this->bucket, $symlink, $object2); - - $this->assertTrue(isset($ret1[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($ret2[OssClient::OSS_HEADER_VERSION_ID])); - - $this->assertTrue(isset($sym1[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($sym2[OssClient::OSS_HEADER_VERSION_ID])); - - $versionId1 = $ret1[OssClient::OSS_HEADER_VERSION_ID]; - $versionId2 = $ret2[OssClient::OSS_HEADER_VERSION_ID]; - - $sym_versionId1 = $sym1[OssClient::OSS_HEADER_VERSION_ID]; - $sym_versionId2 = $sym2[OssClient::OSS_HEADER_VERSION_ID]; - - - $sym_ret = $this->ossClient->getSymlink($this->bucket, $symlink); - $sym_ret1 = $this->ossClient->getSymlink($this->bucket, $symlink, array(OssClient::OSS_VERSION_ID => $sym_versionId1)); - $sym_ret2 = $this->ossClient->getSymlink($this->bucket, $symlink, array(OssClient::OSS_VERSION_ID => $sym_versionId2)); - - $this->assertTrue(isset($sym_ret['x-oss-version-id'])); - $this->assertTrue(isset($sym_ret1['x-oss-version-id'])); - $this->assertTrue(isset($sym_ret2['x-oss-version-id'])); - - $this->assertEquals($sym_versionId1, $sym_ret1['x-oss-version-id']); - $this->assertEquals($sym_versionId2, $sym_ret2['x-oss-version-id']); - $this->assertEquals($sym_versionId2, $sym_ret['x-oss-version-id']); - - - $res = $this->ossClient->getObject($this->bucket, $symlink); - $res1 = $this->ossClient->getObject($this->bucket, $symlink, array(OssClient::OSS_VERSION_ID => $sym_versionId1)); - $res2 = $this->ossClient->getObject($this->bucket, $symlink, array(OssClient::OSS_VERSION_ID => $sym_versionId2)); - $this->assertEquals($content1, $res1); - $this->assertEquals($content2, $res2); - $this->assertEquals($content2, $res); - } - - public function testObjectCopy() - { - $object = 'copy-= +object'; - $content1 = 'hello'; - $content2 = 'hello world'; - $to_bucket = $this->bucket; - $to_object = $object . '.copy'; - $to_object1 = $object . '.copy1'; - $to_object2 = $object . '.copy2'; - - $ret1 = $this->ossClient->putObject($this->bucket, $object, $content1); - $ret2 = $this->ossClient->putObject($this->bucket, $object, $content2); - - $versionId1 = $ret1[OssClient::OSS_HEADER_VERSION_ID]; - $versionId2 = $ret2[OssClient::OSS_HEADER_VERSION_ID]; - - $cret = $this->ossClient->copyObject($this->bucket, $object, $to_bucket, $to_object); - $cret1 = $this->ossClient->copyObject($this->bucket, $object, $to_bucket, $to_object1, array(OssClient::OSS_VERSION_ID => $versionId1)); - $cret2 = $this->ossClient->copyObject($this->bucket, $object, $to_bucket, $to_object2, array(OssClient::OSS_VERSION_ID => $versionId2)); - $this->assertFalse(empty($cret1)); - $this->assertEquals(strlen("2016-11-21T03:46:58.000Z"), strlen($cret1[0])); - $this->assertEquals(trim($ret1['etag'], '"'), trim($cret1[1], '"')); - $this->assertTrue(isset($cret1['x-oss-version-id'])); - $this->assertEquals($versionId1, $cret1['x-oss-copy-source-version-id']); - - $this->assertFalse(empty($cret2)); - $this->assertEquals(strlen("2016-11-21T03:46:58.000Z"), strlen($cret2[0])); - $this->assertEquals(trim($ret2['etag'], '"'), trim($cret2[1], '"')); - $this->assertTrue(isset($cret2['x-oss-version-id'])); - $this->assertEquals($versionId2, $cret2['x-oss-copy-source-version-id']); - - $this->assertFalse(empty($cret)); - $this->assertEquals(strlen("2016-11-21T03:46:58.000Z"), strlen($cret[0])); - $this->assertEquals(trim($ret2['etag'], '"'), trim($cret[1], '"')); - $this->assertTrue(isset($cret2['x-oss-version-id'])); - $this->assertEquals($versionId2, $cret['x-oss-copy-source-version-id']); - - $res = $this->ossClient->getObject($this->bucket, $to_object); - $res1 = $this->ossClient->getObject($this->bucket, $to_object1); - $res2 = $this->ossClient->getObject($this->bucket, $to_object2); - $this->assertEquals($content1, $res1); - $this->assertEquals($content2, $res2); - $this->assertEquals($content2, $res); - } - - public function testObjectRestore() - { - $object = 'retore-object'; - $content1 = 'hello'; - $content2 = 'hello world'; - $ret1 = $this->ossClient->putObject($this->bucket, $object, $content1, array(OssClient::OSS_HEADERS => array('x-oss-storage-class' => 'Archive'))); - $ret2 = $this->ossClient->putObject($this->bucket, $object, $content2); - - $versionId1 = $ret1[OssClient::OSS_HEADER_VERSION_ID]; - $versionId2 = $ret2[OssClient::OSS_HEADER_VERSION_ID]; - - try{ - $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('403', $e->getHTTPStatus()); - $this->assertEquals('InvalidObjectState', $e->getErrorCode()); - } - - try{ - $this->ossClient->restoreObject($this->bucket, $object); - $this->assertTrue(false); - }catch(OssException $e){ - $this->assertEquals('400', $e->getHTTPStatus()); - $this->assertEquals('OperationNotSupported', $e->getErrorCode()); - } - - $result = $this->ossClient->restoreObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - common::waitMetaSync(); - $this->assertEquals('202', $result['info']['http_code']); - - try{ - $this->ossClient->restoreObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $versionId1)); - }catch(OssException $e){ - $this->assertEquals('409', $e->getHTTPStatus()); - $this->assertEquals('RestoreAlreadyInProgress', $e->getErrorCode()); - } - } - - public function testObjectMultiPart() - { - $object_src = 'multi-= +object.src'; - $content1 = 'hello'; - $content2 = 'hello world'; - $ret1 = $this->ossClient->putObject($this->bucket, $object_src, $content1); - $ret2 = $this->ossClient->putObject($this->bucket, $object_src, $content2); - - $this->assertTrue(isset($ret1[OssClient::OSS_HEADER_VERSION_ID])); - $this->assertTrue(isset($ret2[OssClient::OSS_HEADER_VERSION_ID])); - - $versionId1 = $ret1[OssClient::OSS_HEADER_VERSION_ID]; - $versionId2 = $ret2[OssClient::OSS_HEADER_VERSION_ID]; - - //object - $object = "multi-object"; - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object); - $copyId = 1; - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $object_src, $this->bucket, $object, $copyId, $upload_id); - $upload_parts[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - $ret = $this->ossClient->completeMultipartUpload($this->bucket, $object, $upload_id, $upload_parts); - - //object-1 - $object1 = "multi-object-1"; - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object1); - $copyId = 1; - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $object_src, $this->bucket, $object1, $copyId, $upload_id, array(OssClient::OSS_VERSION_ID => $versionId1)); - $upload_parts1[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - $ret1 = $this->ossClient->completeMultipartUpload($this->bucket, $object1, $upload_id, $upload_parts1); - - //object-2 - $object2 = "multi-object-2"; - $upload_id = $this->ossClient->initiateMultipartUpload($this->bucket, $object2); - $copyId = 1; - $eTag = $this->ossClient->uploadPartCopy($this->bucket, $object_src, $this->bucket, $object2, $copyId, $upload_id, array(OssClient::OSS_VERSION_ID => $versionId2)); - $upload_parts2[] = array( - 'PartNumber' => $copyId, - 'ETag' => $eTag, - ); - $ret2 = $this->ossClient->completeMultipartUpload($this->bucket, $object2, $upload_id, $upload_parts2); - - $res = $this->ossClient->getObject($this->bucket, $object); - $res1 = $this->ossClient->getObject($this->bucket, $object1); - $res2 = $this->ossClient->getObject($this->bucket, $object2); - - $this->assertEquals($content1, $res1); - $this->assertEquals($content2, $res2); - $this->assertEquals($content2, $res); - } - - public function testObjectMisc() - { - //use multipart - $options = array( - OssClient::OSS_PART_SIZE => 1, - ); - - $object = 'misc-object'; - - $smallFile1 = __DIR__ . DIRECTORY_SEPARATOR . "/smallfile1.tmp"; - $smallFile2 = __DIR__ . DIRECTORY_SEPARATOR . "/smallfile2.tmp"; - $bigFile1 = __DIR__ . DIRECTORY_SEPARATOR . "/bigfile1.tmp"; - $bigFile2 = __DIR__ . DIRECTORY_SEPARATOR . "/bigfile2.tmp"; - - OssUtil::generateFile($smallFile1, 5); - OssUtil::generateFile($smallFile2, 10); - OssUtil::generateFile($bigFile1, 128 * 1024); - OssUtil::generateFile($bigFile2, 256 * 1024); - - $sret1 = $this->ossClient->multiuploadFile($this->bucket, $object, $smallFile1, $options); - $sret2 = $this->ossClient->multiuploadFile($this->bucket, $object, $smallFile2, $options); - $bret1 = $this->ossClient->multiuploadFile($this->bucket, $object, $bigFile1, $options); - $bret2 = $this->ossClient->multiuploadFile($this->bucket, $object, $bigFile2, $options); - - - $res = $this->ossClient->getObject($this->bucket, $object); - $sres1 = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $sret1['x-oss-version-id'])); - $sres2 = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $sret2['x-oss-version-id'])); - $bres1 = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $bret1['x-oss-version-id'])); - $bres2 = $this->ossClient->getObject($this->bucket, $object, array(OssClient::OSS_VERSION_ID => $bret2['x-oss-version-id'])); - - - $this->assertEquals(file_get_contents($smallFile1), $sres1); - $this->assertEquals(file_get_contents($smallFile2), $sres2); - $this->assertEquals(file_get_contents($bigFile1), $bres1); - $this->assertEquals(file_get_contents($bigFile2), $bres2); - $this->assertEquals(file_get_contents($bigFile2), $res); - - - unlink($smallFile1); - unlink($smallFile2); - unlink($bigFile1); - unlink($bigFile2); - } - - public function testListObjects() - { - //folder - for ($i = 0; $i < 12; $i++) { - $key = 'folder/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->deleteObject($this->bucket, $key); - } - - //test - for ($i = 0; $i < 8; $i++) { - $key = 'test/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->deleteObject($this->bucket, $key); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - //work - for ($i = 0; $i < 5; $i++) { - $key = 'work/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - //sub++ - for ($i = 0; $i < 3; $i++) { - $key = 'sub++/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - //file++ - for ($i = 0; $i < 2; $i++) { - $key = 'file++'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->deleteObject($this->bucket, $key); - } - - //list default - $result = $this->ossClient->listObjectVersions($this->bucket); - $versionList = $result->getObjectVersionList(); - $deleteMarkerList = $result->getDeleteMarkerList(); - $prefixList = $result->getPrefixList(); - - $this->assertNotNull($versionList); - $this->assertNotNull($deleteMarkerList); - $this->assertNotNull($prefixList); - $this->assertTrue(is_array($versionList)); - $this->assertTrue(is_array($deleteMarkerList)); - $this->assertTrue(is_array($prefixList)); - $this->assertEquals(2, count($versionList)); - $this->assertEquals(2, count($deleteMarkerList)); - $this->assertEquals(4, count($prefixList)); - - $this->assertEquals('file++00', $versionList[0]->getKey()); - $this->assertEquals('false', $versionList[0]->getIsLatest()); - $this->assertEquals('file++01', $versionList[1]->getKey()); - $this->assertEquals('false', $versionList[1]->getIsLatest()); - - $this->assertEquals('file++00', $deleteMarkerList[0]->getKey()); - $this->assertEquals('true', $deleteMarkerList[0]->getIsLatest()); - $this->assertEquals('file++01', $deleteMarkerList[1]->getKey()); - $this->assertEquals('true', $deleteMarkerList[1]->getIsLatest()); - - - $this->assertEquals('folder/', $prefixList[0]->getPrefix()); - $this->assertEquals('sub++/', $prefixList[1]->getPrefix()); - $this->assertEquals('test/', $prefixList[2]->getPrefix()); - $this->assertEquals('work/', $prefixList[3]->getPrefix()); - - //list by prefix - $prefix = 'folder/'; - $delimiter = ''; - $next_marker = ''; - $maxkeys = 1000; - $options = array( - 'delimiter' => $delimiter, - 'prefix' => $prefix, - 'max-keys' => $maxkeys, - 'key-marker' => $next_marker, - ); - - $result = $this->ossClient->listObjectVersions($this->bucket, $options); - $versionList = $result->getObjectVersionList(); - $deleteMarkerList = $result->getDeleteMarkerList(); - $prefixList = $result->getPrefixList(); - - $this->assertEquals(24, count($versionList)); - $this->assertEquals(12, count($deleteMarkerList)); - $this->assertEquals(0, count($prefixList)); - - $this->assertEquals('folder/00', $versionList[0]->getKey()); - $this->assertEquals('folder/00', $versionList[1]->getKey()); - $this->assertEquals('folder/00', $deleteMarkerList[0]->getKey()); - $this->assertEquals('folder/01', $deleteMarkerList[1]->getKey()); - - - //max-key & key-marker & version-id-marker - $count = 0; - $markerCount = 0; - $nextMarker = ''; - $nextVersionIdMarker = ''; - - while (true) { - $options = array( - 'delimiter' => '', - 'key-marker' => $nextMarker, - 'max-keys' => 1, - 'version-id-marker' => $nextVersionIdMarker, - ); - $result = $this->ossClient->listObjectVersions($this->bucket, $options); - - $nextMarker = $result->getNextKeyMarker(); - $nextVersionIdMarker = $result->getNextVersionIdMarker(); - $count += count($result->getObjectVersionList()); - $markerCount += count($result->getDeleteMarkerList()); - $this->assertEquals(1, count($result->getObjectVersionList()) + count($result->getDeleteMarkerList())); - if ($result->getIsTruncated() !== "true") { - break; - } - } - $this->assertEquals(12*3 + 8*3 + 5 + 3*3 + 2*2, $count + $markerCount); - } - - public function testDeleteObjects() - { - //deletes - for ($i = 0; $i < 5; $i++) { - $key = 'deletes/'. sprintf("%02d",$i); - $this->ossClient->putObject($this->bucket, $key, "content"); - $this->ossClient->putObject($this->bucket, $key, "content"); - } - - $options = array( - 'delimiter' => '', - 'prefix' => 'deletes/', - 'max-keys' => 1000, - ); - $result = $this->ossClient->listObjects($this->bucket, $options); - $this->assertEquals(5, count($result->getObjectList())); - - //delete without version-id - $objects = array(); - for ($i = 0; $i < 5; $i++) { - $key = 'deletes/'. sprintf("%02d",$i); - $objects[] = new DeleteObjectInfo($key); - } - $dresult = $this->ossClient->deleteObjectVersions($this->bucket, $objects); - $this->assertEquals(5, count($dresult)); - $this->assertEquals('deletes/00', $dresult[0]->getKey()); - $this->assertEquals('true', $dresult[0]->getDeleteMarker()); - $this->assertEquals('', $dresult[0]->getVersionId()); - $this->assertFalse(empty($dresult[0]->getDeleteMarkerVersionId())); - - $result = $this->ossClient->listObjects($this->bucket, $options); - $this->assertEquals(0, count($result->getObjectList())); - - //delete by version-id - $vresult = $this->ossClient->listObjectVersions($this->bucket, $options); - $versions = $vresult->getObjectVersionList(); - $deleteMarkerList = $vresult->getDeleteMarkerList(); - $this->assertEquals(10, count($versions)); - $this->assertEquals(5, count($deleteMarkerList)); - - $objects = array(); - foreach ($versions as $obj) { - $objects[] = new DeleteObjectInfo($obj->getKey(), $obj->getVersionId()); - } - $dresult = $this->ossClient->deleteObjectVersions($this->bucket, $objects); - $this->assertEquals(10, count($dresult)); - $this->assertEquals('deletes/00', $dresult[0]->getKey()); - $this->assertEquals('', $dresult[0]->getDeleteMarker()); - $this->assertFalse(empty($dresult[0]->getVersionId())); - $this->assertTrue(empty($dresult[0]->getDeleteMarkerVersionId())); - $this->assertEquals('deletes/00', $dresult[1]->getKey()); - $this->assertEquals('', $dresult[1]->getDeleteMarker()); - $this->assertFalse(empty($dresult[1]->getVersionId())); - $this->assertTrue(empty($dresult[1]->getDeleteMarkerVersionId())); - - - $vresult = $this->ossClient->listObjectVersions($this->bucket, $options); - $versions = $vresult->getObjectVersionList(); - $deleteMarkerList = $vresult->getDeleteMarkerList(); - $this->assertEquals(0, count($versions)); - $this->assertEquals(5, count($deleteMarkerList)); - - $objects = array(); - foreach ($deleteMarkerList as $obj) { - $objects[] = new DeleteObjectInfo($obj->getKey(), $obj->getVersionId()); - } - $dresult = $this->ossClient->deleteObjectVersions($this->bucket, $objects); - $this->assertEquals(5, count($dresult)); - $this->assertEquals('deletes/00', $dresult[0]->getKey()); - $this->assertEquals('true', $dresult[0]->getDeleteMarker()); - $this->assertFalse(empty($dresult[1]->getVersionId())); - $this->assertFalse(empty($dresult[1]->getDeleteMarkerVersionId())); - - $vresult = $this->ossClient->listObjectVersions($this->bucket, $options); - $versions = $vresult->getObjectVersionList(); - $deleteMarkerList = $vresult->getDeleteMarkerList(); - $this->assertEquals(0, count($versions)); - $this->assertEquals(0, count($deleteMarkerList)); - } - - protected function setUp(): void - { - parent::setUp(); - - $this->ossClient->putBucketVersioning($this->bucket, "Enabled"); - - } - - protected function tearDown(): void - { - if (!$this->ossClient->doesBucketExist($this->bucket)) { - return; - } - - $this->ossClient->putBucketVersioning($this->bucket, "Suspended"); - - $result = $this->ossClient->listObjectVersions( - $this->bucket, array('max-keys' => 1000, 'delimiter' => '')); - - $versions = $result->getObjectVersionList(); - $deleteMarkers = $result->getDeleteMarkerList(); - - foreach ($versions as $obj) { - $options = array( - OssClient::OSS_VERSION_ID => $obj->getVersionId(), - ); - $this->ossClient->deleteObject($this->bucket, $obj->getKey(), $options); - } - - foreach ($deleteMarkers as $del) { - $options = array( - OssClient::OSS_VERSION_ID => $del->getVersionId(), - ); - $this->ossClient->deleteObject($this->bucket, $del->getKey(), $options); - } - - parent::tearDown(); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientRestoreObjectTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientRestoreObjectTest.php deleted file mode 100644 index 9aa0b9b7..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientRestoreObjectTest.php +++ /dev/null @@ -1,174 +0,0 @@ -ossClient->putObject($this->iaBucket, $object,'testcontent'); - try{ - $this->ossClient->restoreObject($this->iaBucket, $object); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('400', $e->getHTTPStatus()); - $this->assertEquals('OperationNotSupported', $e->getErrorCode()); - } - } - - public function testNullObjectRestoreObject() - { - $object = 'null-object'; - - try{ - $this->ossClient->restoreObject($this->bucket, $object); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('404', $e->getHTTPStatus()); - } - } - - public function testArchiveRestoreObject() - { - $object = 'storage-object'; - - $this->ossClient->putObject($this->archiveBucket, $object,'testcontent'); - try{ - $this->ossClient->getObject($this->archiveBucket, $object); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('403', $e->getHTTPStatus()); - $this->assertEquals('InvalidObjectState', $e->getErrorCode()); - } - $result = $this->ossClient->restoreObject($this->archiveBucket, $object); - common::waitMetaSync(); - $this->assertEquals('202', $result['info']['http_code']); - - try{ - $this->ossClient->restoreObject($this->archiveBucket, $object); - }catch(OssException $e){ - $this->assertEquals('409', $e->getHTTPStatus()); - $this->assertEquals('RestoreAlreadyInProgress', $e->getErrorCode()); - } - } - - public function testColdArchiveRestoreObject() - { - $client = new OssClient( - getenv('OSS_ACCESS_KEY_ID'), - getenv('OSS_ACCESS_KEY_SECRET'), - 'oss-ap-southeast-1.aliyuncs.com', false); - - $bucket = $this->bucket . 'cold-archive'; - $object = 'storage-object'; - - //create bucket - $options = array( - OssClient::OSS_STORAGE => OssClient::OSS_STORAGE_COLDARCHIVE - ); - $client->createBucket($bucket, OssClient::OSS_ACL_TYPE_PRIVATE, $options); - - //test with days - $client->putObject($bucket, $object,'testcontent'); - - try{ - $client->getObject($bucket, $object); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('403', $e->getHTTPStatus()); - $this->assertEquals('InvalidObjectState', $e->getErrorCode()); - } - - $config = new RestoreConfig(5); - $resoptions = array( - OssClient::OSS_RESTORE_CONFIG => $config - ); - try{ - $client->restoreObject($bucket, $object, $resoptions); - }catch(OssException $e){ - $this->assertTrue(false); - } - - try{ - $client->restoreObject($bucket, $object, $resoptions); - }catch(OssException $e){ - $this->assertEquals('409', $e->getHTTPStatus()); - $this->assertEquals('RestoreAlreadyInProgress', $e->getErrorCode()); - } - - //test with days & tier - $client->putObject($bucket, $object,'testcontent'); - - try{ - $client->getObject($bucket, $object); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('403', $e->getHTTPStatus()); - $this->assertEquals('InvalidObjectState', $e->getErrorCode()); - } - - $config = new RestoreConfig(5, "Expedited"); - $resoptions = array( - OssClient::OSS_RESTORE_CONFIG => $config - ); - try{ - $client->restoreObject($bucket, $object, $resoptions); - }catch(OssException $e){ - $this->assertTrue(false); - } - - try{ - $client->restoreObject($bucket, $object, $resoptions); - }catch(OssException $e){ - $this->assertEquals('409', $e->getHTTPStatus()); - $this->assertEquals('RestoreAlreadyInProgress', $e->getErrorCode()); - } - - $client->deleteObject($bucket, $object); - $client->deleteBucket($bucket); - } - - - protected function setUp(): void - { - parent::setUp(); - - $this->iaBucket = 'ia-' . $this->bucket; - $this->archiveBucket = 'archive-' . $this->bucket; - $options = array( - OssClient::OSS_STORAGE => OssClient::OSS_STORAGE_IA - ); - - $this->ossClient->createBucket($this->iaBucket, OssClient::OSS_ACL_TYPE_PRIVATE, $options); - - $options = array( - OssClient::OSS_STORAGE => OssClient::OSS_STORAGE_ARCHIVE - ); - - $this->ossClient->createBucket($this->archiveBucket, OssClient::OSS_ACL_TYPE_PRIVATE, $options); - } - - protected function tearDown(): void - { - parent::tearDown(); - - $object = 'storage-object'; - - $this->ossClient->deleteObject($this->iaBucket, $object); - $this->ossClient->deleteObject($this->archiveBucket, $object); - $this->ossClient->deleteBucket($this->iaBucket); - $this->ossClient->deleteBucket($this->archiveBucket); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientSignatureTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientSignatureTest.php deleted file mode 100644 index cd329cbc..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientSignatureTest.php +++ /dev/null @@ -1,167 +0,0 @@ -ossClient->putObject($this->bucket, $object, file_get_contents(__FILE__)); - $timeout = 3600; - try { - $signedUrl = $this->ossClient->signUrl($this->bucket, $object, $timeout); - } catch (OssException $e) { - $this->assertFalse(true); - } - - $request = new RequestCore($signedUrl); - $request->set_method('GET'); - $request->add_header('Content-Type', ''); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), $request->get_response_body(), $request->get_response_code()); - $this->assertEquals(file_get_contents(__FILE__), $res->body); - } - - public function testGetSignedUrlForPuttingObject() - { - $object = "a.file"; - $timeout = 3600; - try { - $signedUrl = $this->ossClient->signUrl($this->bucket, $object, $timeout, "PUT"); - $content = file_get_contents(__FILE__); - $request = new RequestCore($signedUrl); - $request->set_method('PUT'); - $request->add_header('Content-Type', ''); - $request->add_header('Content-Length', strlen($content)); - $request->set_body($content); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), - $request->get_response_body(), $request->get_response_code()); - $this->assertTrue($res->isOK()); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testGetSignedUrlForPuttingObjectFromFile() - { - $file = __FILE__; - $object = "a.file"; - $timeout = 3600; - $options = array('Content-Type' => 'txt'); - try { - $signedUrl = $this->ossClient->signUrl($this->bucket, $object, $timeout, "PUT", $options); - $request = new RequestCore($signedUrl); - $request->set_method('PUT'); - $request->add_header('Content-Type', 'txt'); - $request->set_read_file($file); - $request->set_read_stream_size(filesize($file)); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), - $request->get_response_body(), $request->get_response_code()); - $this->assertTrue($res->isOK()); - } catch (OssException $e) { - $this->assertFalse(true); - } - - } - - public function testSignedUrlWithException() - { - $file = __FILE__; - $object = "a.file"; - $timeout = 3600; - $options = array('Content-Type' => 'txt'); - try { - $signedUrl = $this->ossClient->signUrl($this->bucket, $object, $timeout, "POST", $options); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "method is invalid") == false) - { - $this->assertTrue(false); - } - } - } - - function testGetgenPreSignedUrlForGettingObject() - { - $object = "a.file"; - $this->ossClient->putObject($this->bucket, $object, file_get_contents(__FILE__)); - $expires = time() + 3600; - try { - $signedUrl = $this->ossClient->generatePresignedUrl($this->bucket, $object, $expires); - } catch (OssException $e) { - $this->assertFalse(true); - } - - $request = new RequestCore($signedUrl); - $request->set_method('GET'); - $request->add_header('Content-Type', ''); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), $request->get_response_body(), $request->get_response_code()); - $this->assertEquals(file_get_contents(__FILE__), $res->body); - } - - function testGetgenPreSignedUrlVsSignedUrl() - { - $object = "object-vs.file"; - $signedUrl1 = '245'; - $signedUrl2 = '123'; - $expiration = 0; - - do { - usleep(500000); - $begin = time(); - $expiration = time() + 3600; - $signedUrl1 = $this->ossClient->generatePresignedUrl($this->bucket, $object, $expiration); - $signedUrl2 = $this->ossClient->signUrl($this->bucket, $object, 3600); - $end = time(); - } while ($begin != $end); - $this->assertEquals($signedUrl1, $signedUrl2); - $this->assertTrue(strpos($signedUrl1, 'Expires='.$expiration) !== false); - } - - protected function tearDown(): void - { - $this->ossClient->deleteObject($this->bucket, "a.file"); - parent::tearDown(); - } - - protected function setUp(): void - { - parent::setUp(); - /** - * 上传本地变量到bucket - */ - $object = "a.file"; - $content = file_get_contents(__FILE__); - $options = array( - OssClient::OSS_LENGTH => strlen($content), - OssClient::OSS_HEADERS => array( - 'Expires' => 'Fri, 28 Feb 2020 05:38:42 GMT', - 'Cache-Control' => 'no-cache', - 'Content-Disposition' => 'attachment;filename=oss_download.log', - 'Content-Encoding' => 'utf-8', - 'Content-Language' => 'zh-CN', - 'x-oss-server-side-encryption' => 'AES256', - 'x-oss-meta-self-define-title' => 'user define meta info', - ), - ); - - try { - $this->ossClient->putObject($this->bucket, $object, $content, $options); - } catch (OssException $e) { - $this->assertFalse(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientTest.php deleted file mode 100644 index b7c676f5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssClientTest.php +++ /dev/null @@ -1,346 +0,0 @@ -assertFalse($ossClient->isUseSSL()); - $ossClient->setUseSSL(true); - $this->assertTrue($ossClient->isUseSSL()); - $this->assertTrue(true); - $this->assertEquals(3, $ossClient->getMaxRetries()); - $ossClient->setMaxTries(4); - $this->assertEquals(4, $ossClient->getMaxRetries()); - $ossClient->setTimeout(10); - $ossClient->setConnectTimeout(20); - } catch (OssException $e) { - assertFalse(true); - } - } - - public function testConstrunct2() - { - try { - $ossClient = new OssClient('id', "", 'http://oss-cn-hangzhou.aliyuncs.com'); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals("access key secret is empty", $e->getMessage()); - } - } - - public function testConstrunct3() - { - try { - $ossClient = new OssClient("", 'key', 'http://oss-cn-hangzhou.aliyuncs.com'); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals("access key id is empty", $e->getMessage()); - } - } - - public function testConstrunct4() - { - try { - $ossClient = new OssClient('id', 'key', ""); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('endpoint is empty', $e->getMessage()); - } - } - - public function testConstrunct5() - { - try { - $ossClient = new OssClient('id', 'key', "123.123.123.1"); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testConstrunct6() - { - try { - $ossClient = new OssClient('id', 'key', "https://123.123.123.1"); - $this->assertTrue($ossClient->isUseSSL()); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $ossClient = new OssClient('id', 'key', "https://123.123.123.1:3128"); - $this->assertTrue($ossClient->isUseSSL()); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testConstrunct7() - { - try { - $ossClient = new OssClient('id', 'key', "http://123.123.123.1"); - $this->assertFalse($ossClient->isUseSSL()); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $ossClient = new OssClient('id', 'key', "http://123.123.123.1:3128"); - $this->assertFalse($ossClient->isUseSSL()); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testConstrunct8() - { - try { - $ossClient = new OssClient('id', 'key', "http://123.123.123.1", true); - $ossClient->listBuckets(); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertFalse(false); - } - } - - public function testConstrunct9() - { - try { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false); - $ossClient->listBuckets(); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testConstrunct10() - { - try { - $ossClient = new OssClient('id', 'key', "http://ABC-COM.TEST.123.cn", true); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - public function testConstrunct11() - { - try { - $ossClient = new OssClient('id', 'key', "oss-test.com\\aliyuncs.com"); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('endpoint is invalid:'."oss-test.com\\aliyuncs.com", $e->getMessage()); - } - } - - public function testConstrunct12() - { - try { - $ossClient = new OssClient('id', 'key', "192.168.1.0:abc123"); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('endpoint is invalid:'."192.168.1.0:abc123", $e->getMessage()); - } - } - - public function testSupportPutEmptyObject() - { - try { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = $this->bucket; - $ossClient = new OssClient($accessKeyId, $accessKeySecret , $endpoint, false); - $ossClient->putObject($bucket,'test_emptybody',''); - } catch (OssException $e) { - $this->assertFalse(true); - } - - //use invalid sts-token, should fail. - try { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = $this->bucket; - $ossClient = new OssClient($accessKeyId, $accessKeySecret , $endpoint, false, "invalid-sts-token"); - $ossClient->putObject($bucket,'test_emptybody',''); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('InvalidAccessKeyId', $e->getErrorCode()); - } - } - - public function testCreateObjectDir() - { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = $this->bucket; - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false); - - try { - $object='test-dir'; - $ossClient->createObjectDir($bucket,$object); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertFalse(true); - } - - try { - $object='0'; - $ossClient->createObjectDir($bucket,$object); - $ossClient->putObject($bucket,$object, ''); - $this->assertTrue(true); - } catch (OssException $e) { - var_dump($e); - $this->assertFalse(true); - } - } - - public function testGetBucketCors() - { - try { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = getenv('OSS_BUCKET'); - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false); - $ossClient->getBucketCors($bucket); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testGetBucketCname() - { - try { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = $this->bucket; - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false); - $ossClient->getBucketCname($bucket); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testProxySupport() - { - $accessKeyId = ' ' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = getenv('OSS_BUCKET') . '-proxy'; - $requestProxy = getenv('OSS_PROXY'); - $key = 'test-proxy-srv-object'; - $content = 'test-content'; - $proxys = parse_url($requestProxy); - - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false, null, $requestProxy); - - $result = $ossClient->createBucket($bucket); - $this->checkProxy($result, $proxys); - - $result = $ossClient->putObject($bucket, $key, $content); - $this->checkProxy($result, $proxys); - $result = $ossClient->getObject($bucket, $key); - $this->assertEquals($content, $result); - - // list object - $objectListInfo = $ossClient->listObjects($bucket); - $objectList = $objectListInfo->getObjectList(); - $this->assertNotNull($objectList); - $this->assertTrue(is_array($objectList)); - $objects = array(); - foreach ($objectList as $value) { - $objects[] = $value->getKey(); - } - $this->assertEquals(1, count($objects)); - $this->assertTrue(in_array($key, $objects)); - - $result = $ossClient->deleteObject($bucket, $key); - $this->checkProxy($result,$proxys); - - $result = $ossClient->deleteBucket($bucket); - $this->checkProxy($result, $proxys); - } - - private function checkProxy($result, $proxys) - { - $this->assertEquals($result['info']['primary_ip'], $proxys['host']); - $this->assertEquals($result['info']['primary_port'], $proxys['port']); - $this->assertTrue(array_key_exists('via', $result)); - } - - public function testIpEndpoint() - { - try { - $accessKeyId = 'sk' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = '192.168.1.1'; - $bucket = getenv('OSS_BUCKET'); - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false); - $object = "a.file"; - $timeout = 3600; - $options = array('Content-Type' => 'txt'); - $signedUrl = $ossClient->signUrl($bucket, $object, $timeout, "PUT", $options); - $this->assertTrue(strpos($signedUrl, '192.168.1.1/skyranch-php-test/a.file?') != false); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testCnameEndpoint() - { - try { - $accessKeyId = 'sk' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = 'cname.endpoint'; - $bucket = getenv('OSS_BUCKET'); - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, true); - $object = "a.file"; - $timeout = 3600; - $options = array('Content-Type' => 'txt'); - $signedUrl = $ossClient->signUrl($bucket, $object, $timeout, "PUT", $options); - $this->assertTrue(strpos($signedUrl, 'cname.endpoint/a.file?') != false); - } catch (OssException $e) { - $this->assertFalse(true); - } - } - - public function testStsToken() - { - try { - $accessKeyId = 'sk' . getenv('OSS_ACCESS_KEY_ID') . ' '; - $accessKeySecret = ' ' . getenv('OSS_ACCESS_KEY_SECRET') . ' '; - $endpoint = ' ' . getenv('OSS_ENDPOINT') . '/ '; - $bucket = getenv('OSS_BUCKET'); - $ossClient = new OssClient($accessKeyId, $accessKeySecret, $endpoint, false, "test-token"); - $object = "a.file"; - $timeout = 3600; - $options = array('Content-Type' => 'txt'); - $signedUrl = $ossClient->signUrl($bucket, $object, $timeout, "PUT", $options); - $this->assertTrue(strpos($signedUrl, 'security-token=test-token') != false); - } catch (OssException $e) { - $this->assertFalse(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssExceptionTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssExceptionTest.php deleted file mode 100644 index 91de9bb5..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssExceptionTest.php +++ /dev/null @@ -1,19 +0,0 @@ -assertTrue(false); - } catch (OssException $e) { - $this->assertNotNull($e); - $this->assertEquals($e->getMessage(), "ERR"); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssTrafficLimitTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssTrafficLimitTest.php deleted file mode 100644 index 5aeb0ea6..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssTrafficLimitTest.php +++ /dev/null @@ -1,96 +0,0 @@ - array( - OssClient::OSS_TRAFFIC_LIMIT => 819200, - )); - - try { - $result = $this->ossClient->putObject($this->bucket, 'default-object', 'content', $options); - $this->assertTrue(true); - $this->assertTrue(isset($result["x-oss-qos-delay-time"])); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $result = $this->ossClient->appendObject($this->bucket, 'append-object', 'content', 0, $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $result = $this->ossClient->copyObject($this->bucket, 'default-object', $this->bucket, 'copy-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - - try { - $result = $this->ossClient->getObject($this->bucket, 'default-object', $options); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - function testTrafficLimitInQuery() - { - $options = array( - OssClient::OSS_TRAFFIC_LIMIT => 819200, - ); - - $object = "get.file"; - $content = 'hello world'; - $this->ossClient->putObject($this->bucket, $object, $content); - $timeout = 3600; - try { - $signedUrl = $this->ossClient->signUrl($this->bucket, $object, $timeout, "GET", $options); - $this->assertTrue(stripos($signedUrl, 'x-oss-traffic-limit=819200') > 0); - } catch (OssException $e) { - $this->assertFalse(true); - } - - $request = new RequestCore($signedUrl); - $request->set_method('GET'); - $request->add_header('Content-Type', ''); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), $request->get_response_body(), $request->get_response_code()); - $this->assertEquals($content, $res->body); - - - $object = "put.file"; - $timeout = 3600; - try { - $signedUrl = $this->ossClient->signUrl($this->bucket, $object, $timeout, "PUT", $options); - $this->assertTrue(stripos($signedUrl, 'x-oss-traffic-limit=819200') > 0); - - $request = new RequestCore($signedUrl); - $request->set_method('PUT'); - $request->add_header('Content-Type', ''); - $request->add_header('Content-Length', strlen($content)); - $request->set_body($content); - $request->send_request(); - $res = new ResponseCore($request->get_response_header(), - $request->get_response_body(), $request->get_response_code()); - $this->assertTrue($res->isOK()); - } catch (OssException $e) { - $this->assertFalse(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssUtilTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssUtilTest.php deleted file mode 100644 index 85ee07b9..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/OssUtilTest.php +++ /dev/null @@ -1,300 +0,0 @@ -assertEquals(OssUtil::chkChinese("hello,world"), 0); - $str = '你好,这里是卖咖啡!'; - $strGBK = OssUtil::encodePath($str); - $this->assertEquals(OssUtil::chkChinese($str), 1); - $this->assertEquals(OssUtil::chkChinese($strGBK), 1); - } - - public function testIsGB2312() - { - $str = '你好,这里是卖咖啡!'; - $this->assertFalse(OssUtil::isGb2312($str)); - } - - public function testCheckChar() - { - $str = '你好,这里是卖咖啡!'; - $this->assertFalse(OssUtil::checkChar($str)); - $this->assertTrue(OssUtil::checkChar(iconv("UTF-8", "GB2312//IGNORE", $str))); - } - - public function testIsIpFormat() - { - $this->assertTrue(OssUtil::isIPFormat("10.101.160.147")); - $this->assertTrue(OssUtil::isIPFormat("12.12.12.34")); - $this->assertTrue(OssUtil::isIPFormat("12.12.12.12")); - $this->assertTrue(OssUtil::isIPFormat("255.255.255.255")); - $this->assertTrue(OssUtil::isIPFormat("0.1.1.1")); - $this->assertFalse(OssUtil::isIPFormat("0.1.1.x")); - $this->assertFalse(OssUtil::isIPFormat("0.1.1.256")); - $this->assertFalse(OssUtil::isIPFormat("256.1.1.1")); - $this->assertFalse(OssUtil::isIPFormat("0.1.1.0.1")); - $this->assertTrue(OssUtil::isIPFormat("10.10.10.10:123")); - } - - public function testToQueryString() - { - $option = array("a" => "b"); - $this->assertEquals('a=b', OssUtil::toQueryString($option)); - } - - public function testSReplace() - { - $str = "<>&'\""; - $this->assertEquals("&lt;&gt;&'"", OssUtil::sReplace($str)); - } - - public function testCheckChinese() - { - $str = '你好,这里是卖咖啡!'; - $this->assertEquals(OssUtil::chkChinese($str), 1); - if (OssUtil::isWin()) { - $strGB = OssUtil::encodePath($str); - $this->assertEquals($str, iconv("GB2312", "UTF-8", $strGB)); - } - } - - public function testValidateOption() - { - $option = 'string'; - - try { - OssUtil::validateOptions($option); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertEquals("string:option must be array", $e->getMessage()); - } - - $option = null; - - try { - OssUtil::validateOptions($option); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertFalse(true); - } - - } - - public function testCreateDeleteObjectsXmlBody() - { - $xml = <<trueobj1 -BBBB; - $a = array('obj1'); - $this->assertEquals($xml, $this->cleanXml(OssUtil::createDeleteObjectsXmlBody($a, 'true'))); - } - - public function testCreateCompleteMultipartUploadXmlBody() - { - $xml = <<2xx -BBBB; - $a = array(array("PartNumber" => 2, "ETag" => "xx")); - $this->assertEquals($this->cleanXml(OssUtil::createCompleteMultipartUploadXmlBody($a)), $xml); - } - - public function testCreateBucketXmlBody() - { - $xml = <<Standard -BBBB; - $storageClass ="Standard"; - $this->assertEquals($this->cleanXml(OssUtil::createBucketXmlBody($storageClass)), $xml); - } - - public function testValidateBucket() - { - $this->assertTrue(OssUtil::validateBucket("xxx")); - $this->assertFalse(OssUtil::validateBucket("XXXqwe123")); - $this->assertFalse(OssUtil::validateBucket("XX")); - $this->assertFalse(OssUtil::validateBucket("/X")); - $this->assertFalse(OssUtil::validateBucket("")); - } - - public function testValidateObject() - { - $this->assertTrue(OssUtil::validateObject("xxx")); - $this->assertTrue(OssUtil::validateObject("xxx23")); - $this->assertTrue(OssUtil::validateObject("12321-xxx")); - $this->assertTrue(OssUtil::validateObject("x")); - $this->assertFalse(OssUtil::validateObject("/aa")); - $this->assertFalse(OssUtil::validateObject("\\aa")); - $this->assertFalse(OssUtil::validateObject("")); - } - - public function testStartWith() - { - $this->assertTrue(OssUtil::startsWith("xxab", "xx"), true); - } - - public function testReadDir() - { - $list = OssUtil::readDir("./src", ".|..|.svn|.git", true); - $this->assertNotNull($list); - } - - //public function testIsWin() - //{ - // //$this->assertTrue(OssUtil::isWin()); - //} - - public function testGetMd5SumForFile() - { - $this->assertEquals(OssUtil::getMd5SumForFile(__FILE__, 0, filesize(__FILE__) - 1), base64_encode(md5(file_get_contents(__FILE__), true))); - // false case - $this->assertEquals(OssUtil::getMd5SumForFile(__FILE__, 0, OssClient::OSS_MAX_PART_SIZE + 1), ""); - $this->assertEquals(OssUtil::getMd5SumForFile(__FILE__, 0, filesize(__FILE__) + 1), ""); - - } - - public function testGenerateFile() - { - $path = __DIR__ . DIRECTORY_SEPARATOR . "generatedFile.txt"; - OssUtil::generateFile($path, 1024 * 1024); - $this->assertEquals(filesize($path), 1024 * 1024); - unlink($path); - } - - public function testThrowOssExceptionWithMessageIfEmpty() - { - $null = null; - try { - OssUtil::throwOssExceptionWithMessageIfEmpty($null, "xx"); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('xx', $e->getMessage()); - } - } - - public function testThrowOssExceptionWithMessageIfEmpty2() - { - $null = ""; - try { - OssUtil::throwOssExceptionWithMessageIfEmpty($null, "xx"); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('xx', $e->getMessage()); - } - } - - public function testValidContent() - { - $null = ""; - try { - OssUtil::validateContent($null); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('http body content is invalid', $e->getMessage()); - } - - $notnull = "x"; - try { - OssUtil::validateContent($notnull); - $this->assertTrue(true); - } catch (OssException $e) { - $this->assertEquals('http body content is invalid', $e->getMessage()); - } - } - - public function testThrowOssExceptionWithMessageIfEmpty3() - { - $null = "xx"; - try { - OssUtil::throwOssExceptionWithMessageIfEmpty($null, "xx"); - $this->assertTrue(True); - } catch (OssException $e) { - $this->assertTrue(false); - } - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } - - public function testGetHostPortFromEndpoint() - { - $str = OssUtil::getHostPortFromEndpoint('http://username:password@hostname:80/path?arg=value#anchor'); - $this->assertEquals('hostname:80', $str); - - $str = OssUtil::getHostPortFromEndpoint('hostname:80'); - $this->assertEquals('hostname:80', $str); - - $str = OssUtil::getHostPortFromEndpoint('www.hostname.com'); - $this->assertEquals('www.hostname.com', $str); - - $str = OssUtil::getHostPortFromEndpoint('http://www.hostname.com'); - $this->assertEquals('www.hostname.com', $str); - - $str = OssUtil::getHostPortFromEndpoint('https://www.hostname.com'); - $this->assertEquals('www.hostname.com', $str); - - $str = OssUtil::getHostPortFromEndpoint('192.168.1.10:8080'); - $this->assertEquals('192.168.1.10:8080', $str); - - $str = OssUtil::getHostPortFromEndpoint('file://username:password@hostname:80/path?arg=value#anchor'); - $this->assertEquals('hostname:80', $str); - - $str = OssUtil::getHostPortFromEndpoint('https://WWW.hostname.com-_www.test.com'); - $this->assertEquals('WWW.hostname.com-_www.test.com', $str); - - try { - $str = OssUtil::getHostPortFromEndpoint('http:///path?arg=value#anchor'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $str = OssUtil::getHostPortFromEndpoint('https://www.hostname.com\www.test.com'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $str = OssUtil::getHostPortFromEndpoint('www.hostname.com-_*www.test.com'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $str = OssUtil::getHostPortFromEndpoint('www.hostname.com:ab123'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - - try { - $str = OssUtil::getHostPortFromEndpoint('www.hostname.com:'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } - - public function testDecodeKey() - { - try { - OssUtil::decodeKey("key", "unknown"); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/PutSetDeleteResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/PutSetDeleteResultTest.php deleted file mode 100644 index 202f173f..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/PutSetDeleteResultTest.php +++ /dev/null @@ -1,66 +0,0 @@ -assertFalse(true); - } catch (OssException $e) { - $this->assertEquals('raw response is null', $e->getMessage()); - } - } - - public function testOkResponse() - { - $header= array( - 'x-oss-request-id' => '582AA51E004C4550BD27E0E4', - 'etag' => '595FA1EA77945233921DF12427F9C7CE', - 'content-md5' => 'WV+h6neUUjOSHfEkJ/nHzg==', - 'info' => array( - 'http_code' => '200', - 'method' => 'PUT' - ), - ); - $response = new ResponseCore($header, "this is a mock body, just for test", 200); - $result = new PutSetDeleteResult($response); - $data = $result->getData(); - $this->assertTrue($result->isOK()); - $this->assertEquals("this is a mock body, just for test", $data['body']); - $this->assertEquals('582AA51E004C4550BD27E0E4', $data['x-oss-request-id']); - $this->assertEquals('595FA1EA77945233921DF12427F9C7CE', $data['etag']); - $this->assertEquals('WV+h6neUUjOSHfEkJ/nHzg==', $data['content-md5']); - $this->assertEquals('200', $data['info']['http_code']); - $this->assertEquals('PUT', $data['info']['method']); - } - - public function testFailResponse() - { - $response = new ResponseCore(array(), "", 301); - try { - new PutSetDeleteResult($response); - $this->assertFalse(true); - } catch (OssException $e) { - $this->assertFalse(false); - } - } - - protected function setUp(): void - { - - } - - protected function tearDown(): void - { - - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/RefererConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/RefererConfigTest.php deleted file mode 100644 index 5112da89..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/RefererConfigTest.php +++ /dev/null @@ -1,54 +0,0 @@ - - -true - -http://www.aliyun.com -https://www.aliyun.com -http://www.*.com -https://www.?.aliyuncs.com - - -BBBB; - - private $validXml2 = << - -true - -http://www.aliyun.com - - -BBBB; - - public function testParseValidXml() - { - $refererConfig = new RefererConfig(); - $refererConfig->parseFromXml($this->validXml); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($refererConfig->serializeToXml())); - } - - public function testParseValidXml2() - { - $refererConfig = new RefererConfig(); - $refererConfig->parseFromXml($this->validXml2); - $this->assertEquals(true, $refererConfig->isAllowEmptyReferer()); - $this->assertEquals(1, count($refererConfig->getRefererList())); - $this->assertEquals($this->cleanXml($this->validXml2), $this->cleanXml(strval($refererConfig))); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/StorageCapacityConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/StorageCapacityConfigTest.php deleted file mode 100644 index 58aa7915..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/StorageCapacityConfigTest.php +++ /dev/null @@ -1,58 +0,0 @@ - - -10 - -BBBB; - -private $validXml_20 = << - -20 - -BBBB; - - public function testConstruct() - { - $config = new StorageCapacityConfig(10); - $this->assertEquals($config->getStorageCapacity(), 10); - $this->assertEquals($this->cleanXml($this->validXml_10), $this->cleanXml($config->serializeToXml())); - } - - public function testSetStorageCapacity() - { - $config = new StorageCapacityConfig(2); - $config->setStorageCapacity(20); - $this->assertEquals($this->cleanXml($this->validXml_20), $this->cleanXml($config->serializeToXml())); - $this->assertEquals($this->cleanXml($this->validXml_20), $this->cleanXml($config->__toString())); - } - - public function testParseFromXml() - { - try { - $config = new StorageCapacityConfig(10); - $config->parseFromXml('invaide xml'); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - if (strpos($e, "Not implemented.") == false) - { - $this->assertTrue(false); - } - } - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/StorageCapacityTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/StorageCapacityTest.php deleted file mode 100644 index 8d2a9dff..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/StorageCapacityTest.php +++ /dev/null @@ -1,63 +0,0 @@ - - - 1 - -BBBB; - - private $validXml = << - - 1 - -BBBB; - - public function testParseInValidXml() - { - $response = new ResponseCore(array(), $this->inValidXml, 300); - try { - new GetStorageCapacityResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } - - public function testParseEmptyXml() - { - $response = new ResponseCore(array(), "", 300); - try { - new GetStorageCapacityResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertTrue(true); - } - } - - public function testParseValidXml() - { - $response = new ResponseCore(array(), $this->validXml, 200); - $result = new GetStorageCapacityResult($response); - $this->assertEquals($result->getData(), 1); - } - - public function testSerializeToXml() - { - $xml = "\n1\n"; - - $storageCapacityConfig = new StorageCapacityConfig(1); - $content = $storageCapacityConfig->serializeToXml(); - $this->assertEquals($content, $xml); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php deleted file mode 100644 index c4363918..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/SymlinkTest.php +++ /dev/null @@ -1,77 +0,0 @@ -bucket; - $symlink = 'test-link'; - $special_object = 'exist_object^$#!~'; - $object = 'exist_object'; - - $this->ossClient ->putObject($bucket, $object, 'test_content'); - $this->ossClient->putSymlink($bucket, $symlink, $object); - $result = $this->ossClient->getObject($bucket, $symlink); - $this->assertEquals('test_content', $result); - - $this->ossClient ->putObject($bucket, $special_object, 'test_content'); - $this->ossClient->putSymlink($bucket, $symlink, $special_object); - $result = $this->ossClient->getObject($bucket, $symlink); - $this->assertEquals('test_content', $result); - } - - public function testGetSymlink() - { - $bucket = $this->bucket; - $symlink = 'test-link'; - $object = 'exist_object^$#!~'; - - $this->ossClient ->putObject($bucket, $object, 'test_content'); - $this->ossClient->putSymlink($bucket, $symlink, $object); - - $result = $this->ossClient->getSymlink($bucket, $symlink); - $this->assertEquals($result[OssClient::OSS_SYMLINK_TARGET], $object); - $this->assertEquals('200', $result[OssClient::OSS_INFO][OssClient::OSS_HTTP_CODE]); - $this->assertTrue(isset($result[OssClient::OSS_ETAG])); - $this->assertTrue(isset($result[OssClient::OSS_REQUEST_ID])); - } - - public function testPutNullSymlink() - { - $bucket = $this->bucket; - $symlink = 'null-link'; - $object_not_exist = 'not_exist_object+$#!b不'; - $this->ossClient->putSymlink($bucket, $symlink, $object_not_exist); - - try{ - $this->ossClient->getObject($bucket, $symlink); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('The symlink target object does not exist', $e->getErrorMessage()); - } - } - - public function testGetNullSymlink() - { - $bucket = $this->bucket; - $symlink = 'null-link-new'; - - try{ - $result = $this->ossClient->getSymlink($bucket, $symlink); - $this->assertTrue(false); - }catch (OssException $e){ - $this->assertEquals('The specified key does not exist.', $e->getErrorMessage()); - } - } -} - - diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php deleted file mode 100644 index b2048712..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/TestOssClientBase.php +++ /dev/null @@ -1,51 +0,0 @@ -bucket = Common::getBucketName() .'-'. time(); - $this->ossClient = Common::getOssClient(); - $this->ossClient->createBucket($this->bucket); - Common::waitMetaSync(); - } - - protected function tearDown(): void - { - if (!$this->ossClient->doesBucketExist($this->bucket)) { - return; - } - - $objects = $this->ossClient->listObjects( - $this->bucket, array('max-keys' => 1000, 'delimiter' => ''))->getObjectList(); - $keys = array(); - foreach ($objects as $obj) { - $keys[] = $obj->getKey(); - } - if (count($keys) > 0) { - $this->ossClient->deleteObjects($this->bucket, $keys); - } - $uploads = $this->ossClient->listMultipartUploads($this->bucket)->getUploads(); - foreach ($uploads as $up) { - $this->ossClient->abortMultipartUpload($this->bucket, $up->getKey(), $up->getUploadId()); - } - - $this->ossClient->deleteBucket($this->bucket); - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/UploadPartResultTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/UploadPartResultTest.php deleted file mode 100644 index df4ad945..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/UploadPartResultTest.php +++ /dev/null @@ -1,33 +0,0 @@ - '7265F4D211B56873A381D321F586E4A9'); - private $invalidHeader = array(); - - public function testParseValidHeader() - { - $response = new ResponseCore($this->validHeader, "", 200); - $result = new UploadPartResult($response); - $eTag = $result->getData(); - $this->assertEquals('7265F4D211B56873A381D321F586E4A9', $eTag); - } - - public function testParseInvalidHeader() - { - $response = new ResponseCore($this->invalidHeader, "", 200); - try { - new UploadPartResult($response); - $this->assertTrue(false); - } catch (OssException $e) { - $this->assertEquals('cannot get ETag', $e->getMessage()); - } - } -} diff --git a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/WebsiteConfigTest.php b/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/WebsiteConfigTest.php deleted file mode 100644 index d04b42c1..00000000 --- a/vendor/aliyuncs/oss-sdk-php/tests/OSS/Tests/WebsiteConfigTest.php +++ /dev/null @@ -1,56 +0,0 @@ - - - -index.html - - -errorDocument.html - - -BBBB; - - private $nullXml = << -BBBB; - private $nullXml2 = << -BBBB; - - public function testParseValidXml() - { - $websiteConfig = new WebsiteConfig("index"); - $websiteConfig->parseFromXml($this->validXml); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($websiteConfig->serializeToXml())); - } - - public function testParsenullXml() - { - $websiteConfig = new WebsiteConfig(); - $websiteConfig->parseFromXml($this->nullXml); - $this->assertTrue($this->cleanXml($this->nullXml) === $this->cleanXml($websiteConfig->serializeToXml()) || - $this->cleanXml($this->nullXml2) === $this->cleanXml($websiteConfig->serializeToXml())); - } - - public function testWebsiteConstruct() - { - $websiteConfig = new WebsiteConfig("index.html", "errorDocument.html"); - $this->assertEquals('index.html', $websiteConfig->getIndexDocument()); - $this->assertEquals('errorDocument.html', $websiteConfig->getErrorDocument()); - $this->assertEquals($this->cleanXml($this->validXml), $this->cleanXml($websiteConfig->serializeToXml())); - } - - private function cleanXml($xml) - { - return str_replace("\n", "", str_replace("\r", "", $xml)); - } -} diff --git a/vendor/autoload.php b/vendor/autoload.php deleted file mode 100644 index 68e745be..00000000 --- a/vendor/autoload.php +++ /dev/null @@ -1,7 +0,0 @@ - - * 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 -{ - // PSR-4 - private $prefixLengthsPsr4 = array(); - private $prefixDirsPsr4 = array(); - private $fallbackDirsPsr4 = array(); - - // PSR-0 - private $prefixesPsr0 = array(); - private $fallbackDirsPsr0 = array(); - - private $useIncludePath = false; - private $classMap = array(); - private $classMapAuthoritative = false; - private $missingClasses = array(); - private $apcuPrefix; - - public function getPrefixes() - { - if (!empty($this->prefixesPsr0)) { - return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); - } - - return array(); - } - - public function getPrefixesPsr4() - { - return $this->prefixDirsPsr4; - } - - public function getFallbackDirs() - { - return $this->fallbackDirsPsr0; - } - - public function getFallbackDirsPsr4() - { - return $this->fallbackDirsPsr4; - } - - public function getClassMap() - { - return $this->classMap; - } - - /** - * @param array $classMap Class to filename map - */ - 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 array|string $paths The PSR-0 root directories - * @param bool $prepend Whether to prepend the directories - */ - 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 array|string $paths The PSR-4 base directories - * @param bool $prepend Whether to prepend the directories - * - * @throws \InvalidArgumentException - */ - 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 array|string $paths The PSR-0 base directories - */ - 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 array|string $paths The PSR-4 base directories - * - * @throws \InvalidArgumentException - */ - 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 - */ - 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 - */ - 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 - */ - 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 - */ - public function register($prepend = false) - { - spl_autoload_register(array($this, 'loadClass'), true, $prepend); - } - - /** - * Unregisters this instance as an autoloader. - */ - public function unregister() - { - spl_autoload_unregister(array($this, 'loadClass')); - } - - /** - * Loads the given class or interface. - * - * @param string $class The name of the class - * @return bool|null True if loaded, null otherwise - */ - public function loadClass($class) - { - if ($file = $this->findFile($class)) { - includeFile($file); - - return true; - } - } - - /** - * 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; - } - - 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. - */ -function includeFile($file) -{ - include $file; -} diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php deleted file mode 100644 index d70084de..00000000 --- a/vendor/composer/InstalledVersions.php +++ /dev/null @@ -1,396 +0,0 @@ - - array ( - 'pretty_version' => 'dev-master', - 'version' => 'dev-master', - 'aliases' => - array ( - ), - 'reference' => '5565b029919bcfd187d42087447f9ae473f501b5', - 'name' => 'wisp-x/lsky-pro', - ), - 'versions' => - array ( - 'aliyuncs/oss-sdk-php' => - array ( - 'pretty_version' => 'v2.4.2', - 'version' => '2.4.2.0', - 'aliases' => - array ( - ), - 'reference' => '0c9d902c33847c07efc66c4cdf823deaea8fc2b6', - ), - 'guzzlehttp/command' => - array ( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'aliases' => - array ( - ), - 'reference' => '2aaa2521a8f8269d6f5dfc13fe2af12c76921034', - ), - 'guzzlehttp/guzzle' => - array ( - 'pretty_version' => '6.5.5', - 'version' => '6.5.5.0', - 'aliases' => - array ( - ), - 'reference' => '9d4290de1cfd701f38099ef7e183b64b4b7b0c5e', - ), - 'guzzlehttp/guzzle-services' => - array ( - 'pretty_version' => '1.1.3', - 'version' => '1.1.3.0', - 'aliases' => - array ( - ), - 'reference' => '9e3abf20161cbf662d616cbb995f2811771759f7', - ), - 'guzzlehttp/promises' => - array ( - 'pretty_version' => '1.4.1', - 'version' => '1.4.1.0', - 'aliases' => - array ( - ), - 'reference' => '8e7d04f1f6450fef59366c399cfad4b9383aa30d', - ), - 'guzzlehttp/psr7' => - array ( - 'pretty_version' => '1.8.2', - 'version' => '1.8.2.0', - 'aliases' => - array ( - ), - 'reference' => 'dc960a912984efb74d0a90222870c72c87f10c91', - ), - 'nicolab/php-ftp-client' => - array ( - 'pretty_version' => 'v1.6.0', - 'version' => '1.6.0.0', - 'aliases' => - array ( - ), - 'reference' => 'a02f966fa3ac700a0ea412fcb37b537ef1a24c9f', - ), - 'phpmailer/phpmailer' => - array ( - 'pretty_version' => 'v6.5.0', - 'version' => '6.5.0.0', - 'aliases' => - array ( - ), - 'reference' => 'a5b5c43e50b7fba655f793ad27303cd74c57363c', - ), - 'psr/http-message' => - array ( - 'pretty_version' => '1.0.1', - 'version' => '1.0.1.0', - 'aliases' => - array ( - ), - 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', - ), - 'psr/http-message-implementation' => - array ( - 'provided' => - array ( - 0 => '1.0', - ), - ), - 'qcloud/cos-sdk-v5' => - array ( - 'pretty_version' => 'v1.3.5', - 'version' => '1.3.5.0', - 'aliases' => - array ( - ), - 'reference' => 'e67ad8143695192ee206bcbcafc78c08da92c621', - ), - 'qiniu/php-sdk' => - array ( - 'pretty_version' => 'v7.4.0', - 'version' => '7.4.0.0', - 'aliases' => - array ( - ), - 'reference' => '1c6bc89166e524a40ee42bf516fb99ffc6401c82', - ), - 'ralouphie/getallheaders' => - array ( - 'pretty_version' => '3.0.3', - 'version' => '3.0.3.0', - 'aliases' => - array ( - ), - 'reference' => '120b605dfeb996808c31b6477290a714d356e822', - ), - 'symfony/polyfill-intl-idn' => - array ( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'aliases' => - array ( - ), - 'reference' => '65bd267525e82759e7d8c4e8ceea44f398838e65', - ), - 'symfony/polyfill-intl-normalizer' => - array ( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'aliases' => - array ( - ), - 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', - ), - 'symfony/polyfill-php72' => - array ( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'aliases' => - array ( - ), - 'reference' => '9a142215a36a3888e30d0a9eeea9766764e96976', - ), - 'topthink/framework' => - array ( - 'pretty_version' => 'v5.1.41', - 'version' => '5.1.41.0', - 'aliases' => - array ( - ), - 'reference' => '7137741a323a4a60cfca334507cd1812fac91bb2', - ), - 'topthink/think-captcha' => - array ( - 'pretty_version' => 'v2.0.2', - 'version' => '2.0.2.0', - 'aliases' => - array ( - ), - 'reference' => '54c8a51552f99ff9ea89ea9c272383a8f738ceee', - ), - 'topthink/think-image' => - array ( - 'pretty_version' => 'v1.0.7', - 'version' => '1.0.7.0', - 'aliases' => - array ( - ), - 'reference' => '8586cf47f117481c6d415b20f7dedf62e79d5512', - ), - 'topthink/think-installer' => - array ( - 'pretty_version' => 'v2.0.5', - 'version' => '2.0.5.0', - 'aliases' => - array ( - ), - 'reference' => '38ba647706e35d6704b5d370c06f8a160b635f88', - ), - 'upyun/sdk' => - array ( - 'pretty_version' => '3.5.0', - 'version' => '3.5.0.0', - 'aliases' => - array ( - ), - 'reference' => 'c9f824626552c32b987de4ac7f136e0e21cca962', - ), - 'wisp-x/lsky-pro' => - array ( - 'pretty_version' => 'dev-master', - 'version' => 'dev-master', - 'aliases' => - array ( - ), - 'reference' => '5565b029919bcfd187d42087447f9ae473f501b5', - ), - ), -); - - - - - - - -public static function getInstalledPackages() -{ -return array_keys(self::$installed['versions']); -} - - - - - - - - - -public static function isInstalled($packageName) -{ -return isset(self::$installed['versions'][$packageName]); -} - - - - - - - - - - - - - - -public static function satisfies(VersionParser $parser, $packageName, $constraint) -{ -$constraint = $parser->parseConstraints($constraint); -$provided = $parser->parseConstraints(self::getVersionRanges($packageName)); - -return $provided->matches($constraint); -} - - - - - - - - - - -public static function getVersionRanges($packageName) -{ -if (!isset(self::$installed['versions'][$packageName])) { -throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); -} - -$ranges = array(); -if (isset(self::$installed['versions'][$packageName]['pretty_version'])) { -$ranges[] = self::$installed['versions'][$packageName]['pretty_version']; -} -if (array_key_exists('aliases', self::$installed['versions'][$packageName])) { -$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']); -} -if (array_key_exists('replaced', self::$installed['versions'][$packageName])) { -$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']); -} -if (array_key_exists('provided', self::$installed['versions'][$packageName])) { -$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']); -} - -return implode(' || ', $ranges); -} - - - - - -public static function getVersion($packageName) -{ -if (!isset(self::$installed['versions'][$packageName])) { -throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); -} - -if (!isset(self::$installed['versions'][$packageName]['version'])) { -return null; -} - -return self::$installed['versions'][$packageName]['version']; -} - - - - - -public static function getPrettyVersion($packageName) -{ -if (!isset(self::$installed['versions'][$packageName])) { -throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); -} - -if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) { -return null; -} - -return self::$installed['versions'][$packageName]['pretty_version']; -} - - - - - -public static function getReference($packageName) -{ -if (!isset(self::$installed['versions'][$packageName])) { -throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); -} - -if (!isset(self::$installed['versions'][$packageName]['reference'])) { -return null; -} - -return self::$installed['versions'][$packageName]['reference']; -} - - - - - -public static function getRootPackage() -{ -return self::$installed['root']; -} - - - - - - - -public static function getRawData() -{ -return self::$installed; -} - - - - - - - - - - - - - - - - - - - -public static function reload($data) -{ -self::$installed = $data; -} -} diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE deleted file mode 100644 index f27399a0..00000000 --- a/vendor/composer/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - -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 deleted file mode 100644 index fd407a3a..00000000 --- a/vendor/composer/autoload_classmap.php +++ /dev/null @@ -1,11 +0,0 @@ - $vendorDir . '/composer/InstalledVersions.php', - 'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', -); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php deleted file mode 100644 index 6be21e22..00000000 --- a/vendor/composer/autoload_files.php +++ /dev/null @@ -1,19 +0,0 @@ - $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', - 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', - 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', - '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', - 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', - 'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php', - '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', - '1cfd2761b63b0a29ed23657ea394cb2d' => $vendorDir . '/topthink/think-captcha/src/helper.php', - 'f67964341ef83e59f1cc6a3916599312' => $vendorDir . '/qcloud/cos-sdk-v5/src/Qcloud/Cos/Common.php', - '841780ea2e1d6545ea3a253239d59c05' => $vendorDir . '/qiniu/php-sdk/src/Qiniu/functions.php', -); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php deleted file mode 100644 index bb48cd01..00000000 --- a/vendor/composer/autoload_namespaces.php +++ /dev/null @@ -1,10 +0,0 @@ - array($vendorDir . '/nicolab/php-ftp-client/src'), -); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php deleted file mode 100644 index b693d0fe..00000000 --- a/vendor/composer/autoload_psr4.php +++ /dev/null @@ -1,27 +0,0 @@ - array($vendorDir . '/topthink/think-installer/src'), - 'think\\captcha\\' => array($vendorDir . '/topthink/think-captcha/src'), - 'think\\' => array($vendorDir . '/topthink/think-image/src'), - 'app\\' => array($baseDir . '/application'), - 'Upyun\\' => array($vendorDir . '/upyun/sdk/src/Upyun'), - 'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'), - 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'), - 'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'), - 'Qiniu\\' => array($vendorDir . '/qiniu/php-sdk/src/Qiniu'), - 'Qcloud\\Cos\\' => array($vendorDir . '/qcloud/cos-sdk-v5/src/Qcloud/Cos'), - 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), - 'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'), - 'OSS\\' => array($vendorDir . '/aliyuncs/oss-sdk-php/src/OSS'), - 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), - 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), - 'GuzzleHttp\\Command\\Guzzle\\' => array($vendorDir . '/guzzlehttp/guzzle-services/src'), - 'GuzzleHttp\\Command\\' => array($vendorDir . '/guzzlehttp/command/src'), - 'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'), -); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php deleted file mode 100644 index e1cc1c6e..00000000 --- a/vendor/composer/autoload_real.php +++ /dev/null @@ -1,75 +0,0 @@ -= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); - if ($useStaticLoader) { - require __DIR__ . '/autoload_static.php'; - - call_user_func(\Composer\Autoload\ComposerStaticInitf1a511e38c2f284964a16f1eeccf1745::getInitializer($loader)); - } else { - $map = require __DIR__ . '/autoload_namespaces.php'; - foreach ($map as $namespace => $path) { - $loader->set($namespace, $path); - } - - $map = require __DIR__ . '/autoload_psr4.php'; - foreach ($map as $namespace => $path) { - $loader->setPsr4($namespace, $path); - } - - $classMap = require __DIR__ . '/autoload_classmap.php'; - if ($classMap) { - $loader->addClassMap($classMap); - } - } - - $loader->register(true); - - if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitf1a511e38c2f284964a16f1eeccf1745::$files; - } else { - $includeFiles = require __DIR__ . '/autoload_files.php'; - } - foreach ($includeFiles as $fileIdentifier => $file) { - composerRequiref1a511e38c2f284964a16f1eeccf1745($fileIdentifier, $file); - } - - return $loader; - } -} - -function composerRequiref1a511e38c2f284964a16f1eeccf1745($fileIdentifier, $file) -{ - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { - require $file; - - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; - } -} diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php deleted file mode 100644 index 1d9cde43..00000000 --- a/vendor/composer/autoload_static.php +++ /dev/null @@ -1,167 +0,0 @@ - __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', - 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', - 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', - '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php', - 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', - 'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php', - '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', - '1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php', - 'f67964341ef83e59f1cc6a3916599312' => __DIR__ . '/..' . '/qcloud/cos-sdk-v5/src/Qcloud/Cos/Common.php', - '841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php', - ); - - public static $prefixLengthsPsr4 = array ( - 't' => - array ( - 'think\\composer\\' => 15, - 'think\\captcha\\' => 14, - 'think\\' => 6, - ), - 'a' => - array ( - 'app\\' => 4, - ), - 'U' => - array ( - 'Upyun\\' => 6, - ), - 'S' => - array ( - 'Symfony\\Polyfill\\Php72\\' => 23, - 'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33, - 'Symfony\\Polyfill\\Intl\\Idn\\' => 26, - ), - 'Q' => - array ( - 'Qiniu\\' => 6, - 'Qcloud\\Cos\\' => 11, - ), - 'P' => - array ( - 'Psr\\Http\\Message\\' => 17, - 'PHPMailer\\PHPMailer\\' => 20, - ), - 'O' => - array ( - 'OSS\\' => 4, - ), - 'G' => - array ( - 'GuzzleHttp\\Psr7\\' => 16, - 'GuzzleHttp\\Promise\\' => 19, - 'GuzzleHttp\\Command\\Guzzle\\' => 26, - 'GuzzleHttp\\Command\\' => 19, - 'GuzzleHttp\\' => 11, - ), - ); - - public static $prefixDirsPsr4 = array ( - 'think\\composer\\' => - array ( - 0 => __DIR__ . '/..' . '/topthink/think-installer/src', - ), - 'think\\captcha\\' => - array ( - 0 => __DIR__ . '/..' . '/topthink/think-captcha/src', - ), - 'think\\' => - array ( - 0 => __DIR__ . '/..' . '/topthink/think-image/src', - ), - 'app\\' => - array ( - 0 => __DIR__ . '/../..' . '/application', - ), - 'Upyun\\' => - array ( - 0 => __DIR__ . '/..' . '/upyun/sdk/src/Upyun', - ), - 'Symfony\\Polyfill\\Php72\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-php72', - ), - 'Symfony\\Polyfill\\Intl\\Normalizer\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer', - ), - 'Symfony\\Polyfill\\Intl\\Idn\\' => - array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-idn', - ), - 'Qiniu\\' => - array ( - 0 => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu', - ), - 'Qcloud\\Cos\\' => - array ( - 0 => __DIR__ . '/..' . '/qcloud/cos-sdk-v5/src/Qcloud/Cos', - ), - 'Psr\\Http\\Message\\' => - array ( - 0 => __DIR__ . '/..' . '/psr/http-message/src', - ), - 'PHPMailer\\PHPMailer\\' => - array ( - 0 => __DIR__ . '/..' . '/phpmailer/phpmailer/src', - ), - 'OSS\\' => - array ( - 0 => __DIR__ . '/..' . '/aliyuncs/oss-sdk-php/src/OSS', - ), - 'GuzzleHttp\\Psr7\\' => - array ( - 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', - ), - 'GuzzleHttp\\Promise\\' => - array ( - 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', - ), - 'GuzzleHttp\\Command\\Guzzle\\' => - array ( - 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle-services/src', - ), - 'GuzzleHttp\\Command\\' => - array ( - 0 => __DIR__ . '/..' . '/guzzlehttp/command/src', - ), - 'GuzzleHttp\\' => - array ( - 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', - ), - ); - - public static $prefixesPsr0 = array ( - 'F' => - array ( - 'FtpClient' => - array ( - 0 => __DIR__ . '/..' . '/nicolab/php-ftp-client/src', - ), - ), - ); - - public static $classMap = array ( - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', - 'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', - ); - - public static function getInitializer(ClassLoader $loader) - { - return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitf1a511e38c2f284964a16f1eeccf1745::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitf1a511e38c2f284964a16f1eeccf1745::$prefixDirsPsr4; - $loader->prefixesPsr0 = ComposerStaticInitf1a511e38c2f284964a16f1eeccf1745::$prefixesPsr0; - $loader->classMap = ComposerStaticInitf1a511e38c2f284964a16f1eeccf1745::$classMap; - - }, null, ClassLoader::class); - } -} diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json deleted file mode 100644 index ed4d0dcc..00000000 --- a/vendor/composer/installed.json +++ /dev/null @@ -1,1361 +0,0 @@ -{ - "packages": [ - { - "name": "aliyuncs/oss-sdk-php", - "version": "v2.4.2", - "version_normalized": "2.4.2.0", - "source": { - "type": "git", - "url": "https://github.com/aliyun/aliyun-oss-php-sdk.git", - "reference": "0c9d902c33847c07efc66c4cdf823deaea8fc2b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aliyun/aliyun-oss-php-sdk/zipball/0c9d902c33847c07efc66c4cdf823deaea8fc2b6", - "reference": "0c9d902c33847c07efc66c4cdf823deaea8fc2b6", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=5.3" - }, - "require-dev": { - "phpunit/phpunit": "*", - "satooshi/php-coveralls": "*" - }, - "time": "2021-06-04T06:55:06+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "OSS\\": "src/OSS" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aliyuncs", - "homepage": "http://www.aliyun.com" - } - ], - "description": "Aliyun OSS SDK for PHP", - "homepage": "http://www.aliyun.com/product/oss/", - "support": { - "issues": "https://github.com/aliyun/aliyun-oss-php-sdk/issues", - "source": "https://github.com/aliyun/aliyun-oss-php-sdk/tree/v2.4.2" - }, - "install-path": "../aliyuncs/oss-sdk-php" - }, - { - "name": "guzzlehttp/command", - "version": "1.0.0", - "version_normalized": "1.0.0.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/command.git", - "reference": "2aaa2521a8f8269d6f5dfc13fe2af12c76921034" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/command/zipball/2aaa2521a8f8269d6f5dfc13fe2af12c76921034", - "reference": "2aaa2521a8f8269d6f5dfc13fe2af12c76921034", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "guzzlehttp/guzzle": "^6.2", - "guzzlehttp/promises": "~1.3", - "guzzlehttp/psr7": "~1.0", - "php": ">=5.5.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" - }, - "time": "2016-11-24T13:34:15+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.9-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "GuzzleHttp\\Command\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Jeremy Lindblom", - "email": "jeremeamia@gmail.com", - "homepage": "https://github.com/jeremeamia" - } - ], - "description": "Provides the foundation for building command-based web service clients", - "support": { - "issues": "https://github.com/guzzle/command/issues", - "source": "https://github.com/guzzle/command/tree/1.0.0" - }, - "install-path": "../guzzlehttp/command" - }, - { - "name": "guzzlehttp/guzzle", - "version": "6.5.5", - "version_normalized": "6.5.5.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle.git", - "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", - "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "ext-json": "*", - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.6.1", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.17.0" - }, - "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.1" - }, - "suggest": { - "psr/log": "Required for using the Log middleware" - }, - "time": "2020-06-16T21:01:06+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "GuzzleHttp\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "rest", - "web service" - ], - "install-path": "../guzzlehttp/guzzle" - }, - { - "name": "guzzlehttp/guzzle-services", - "version": "1.1.3", - "version_normalized": "1.1.3.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/guzzle-services.git", - "reference": "9e3abf20161cbf662d616cbb995f2811771759f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle-services/zipball/9e3abf20161cbf662d616cbb995f2811771759f7", - "reference": "9e3abf20161cbf662d616cbb995f2811771759f7", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "guzzlehttp/command": "~1.0", - "guzzlehttp/guzzle": "^6.2", - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "suggest": { - "gimler/guzzle-description-loader": "^0.0.4" - }, - "time": "2017-10-06T14:32:02+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "GuzzleHttp\\Command\\Guzzle\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "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": "Stefano Kowalke", - "email": "blueduck@mail.org", - "homepage": "https://github.com/konafets" - } - ], - "description": "Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.", - "support": { - "issues": "https://github.com/guzzle/guzzle-services/issues", - "source": "https://github.com/guzzle/guzzle-services/tree/1.1.3" - }, - "install-path": "../guzzlehttp/guzzle-services" - }, - { - "name": "guzzlehttp/promises", - "version": "1.4.1", - "version_normalized": "1.4.1.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/promises.git", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d", - "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=5.5" - }, - "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" - }, - "time": "2021-03-07T09:25:29+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "Guzzle promises library", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.4.1" - }, - "install-path": "../guzzlehttp/promises" - }, - { - "name": "guzzlehttp/psr7", - "version": "1.8.2", - "version_normalized": "1.8.2.0", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91", - "reference": "dc960a912984efb74d0a90222870c72c87f10c91", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" - }, - "provide": { - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "time": "2021-04-26T09:17:50+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" - } - ], - "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/1.8.2" - }, - "install-path": "../guzzlehttp/psr7" - }, - { - "name": "nicolab/php-ftp-client", - "version": "v1.6.0", - "version_normalized": "1.6.0.0", - "source": { - "type": "git", - "url": "https://github.com/Nicolab/php-ftp-client.git", - "reference": "a02f966fa3ac700a0ea412fcb37b537ef1a24c9f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Nicolab/php-ftp-client/zipball/a02f966fa3ac700a0ea412fcb37b537ef1a24c9f", - "reference": "a02f966fa3ac700a0ea412fcb37b537ef1a24c9f", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "ext-ftp": "*", - "php": ">=5.4" - }, - "time": "2021-06-28T13:28:11+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "FtpClient": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Tallefourtane", - "email": "dev@nicolab.net", - "homepage": "http://nicolab.net" - } - ], - "description": "A flexible FTP and SSL-FTP client for PHP. This lib provides helpers easy to use to manage the remote files.", - "homepage": "https://github.com/Nicolab/php-ftp-client", - "keywords": [ - "file", - "ftp", - "helper", - "lib", - "server", - "sftp", - "ssl", - "ssl-ftp" - ], - "support": { - "source": "https://github.com/Nicolab/php-ftp-client/tree/v1.6.0" - }, - "install-path": "../nicolab/php-ftp-client" - }, - { - "name": "phpmailer/phpmailer", - "version": "v6.5.0", - "version_normalized": "6.5.0.0", - "source": { - "type": "git", - "url": "https://github.com/PHPMailer/PHPMailer.git", - "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPMailer/PHPMailer/zipball/a5b5c43e50b7fba655f793ad27303cd74c57363c", - "reference": "a5b5c43e50b7fba655f793ad27303cd74c57363c", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "ext-ctype": "*", - "ext-filter": "*", - "ext-hash": "*", - "php": ">=5.5.0" - }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.2", - "phpcompatibility/php-compatibility": "^9.3.5", - "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.5.6", - "yoast/phpunit-polyfills": "^0.2.0" - }, - "suggest": { - "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", - "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", - "league/oauth2-google": "Needed for Google XOAUTH2 authentication", - "psr/log": "For optional PSR-3 debug logging", - "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", - "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" - }, - "time": "2021-06-16T14:33:43+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "PHPMailer\\PHPMailer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-2.1-only" - ], - "authors": [ - { - "name": "Marcus Bointon", - "email": "phpmailer@synchromedia.co.uk" - }, - { - "name": "Jim Jagielski", - "email": "jimjag@gmail.com" - }, - { - "name": "Andy Prevost", - "email": "codeworxtech@users.sourceforge.net" - }, - { - "name": "Brent R. Matzelle" - } - ], - "description": "PHPMailer is a full-featured email creation and transfer class for PHP", - "support": { - "issues": "https://github.com/PHPMailer/PHPMailer/issues", - "source": "https://github.com/PHPMailer/PHPMailer/tree/v6.5.0" - }, - "funding": [ - { - "url": "https://github.com/Synchro", - "type": "github" - } - ], - "install-path": "../phpmailer/phpmailer" - }, - { - "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": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "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" - ], - "install-path": "../psr/http-message" - }, - { - "name": "qcloud/cos-sdk-v5", - "version": "v1.3.5", - "version_normalized": "1.3.5.0", - "source": { - "type": "git", - "url": "https://github.com/tencentyun/cos-php-sdk-v5.git", - "reference": "e67ad8143695192ee206bcbcafc78c08da92c621" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tencentyun/cos-php-sdk-v5/zipball/e67ad8143695192ee206bcbcafc78c08da92c621", - "reference": "e67ad8143695192ee206bcbcafc78c08da92c621", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "guzzlehttp/guzzle": "~6.3", - "guzzlehttp/guzzle-services": "~1.1", - "php": ">=5.3.0" - }, - "time": "2021-05-18T12:47:31+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "Qcloud\\Cos\\": "src/Qcloud/Cos/" - }, - "files": [ - "src/Qcloud/Cos/Common.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "yaozongyou", - "email": "yaozongyou@vip.qq.com" - }, - { - "name": "lewzylu", - "email": "327874225@qq.com" - } - ], - "description": "PHP SDK for QCloud COS", - "keywords": [ - "cos", - "php", - "qcloud" - ], - "support": { - "issues": "https://github.com/tencentyun/cos-php-sdk-v5/issues", - "source": "https://github.com/tencentyun/cos-php-sdk-v5/tree/v2.2.0" - }, - "install-path": "../qcloud/cos-sdk-v5" - }, - { - "name": "qiniu/php-sdk", - "version": "v7.4.0", - "version_normalized": "7.4.0.0", - "source": { - "type": "git", - "url": "https://github.com/qiniu/php-sdk.git", - "reference": "1c6bc89166e524a40ee42bf516fb99ffc6401c82" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/qiniu/php-sdk/zipball/1c6bc89166e524a40ee42bf516fb99ffc6401c82", - "reference": "1c6bc89166e524a40ee42bf516fb99ffc6401c82", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~3.6" - }, - "time": "2021-07-19T07:41:36+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "Qiniu\\": "src/Qiniu" - }, - "files": [ - "src/Qiniu/functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Qiniu", - "email": "sdk@qiniu.com", - "homepage": "http://www.qiniu.com" - } - ], - "description": "Qiniu Resource (Cloud) Storage SDK for PHP", - "homepage": "http://developer.qiniu.com/", - "keywords": [ - "cloud", - "qiniu", - "sdk", - "storage" - ], - "support": { - "issues": "https://github.com/qiniu/php-sdk/issues", - "source": "https://github.com/qiniu/php-sdk/tree/v7.4.0" - }, - "install-path": "../qiniu/php-sdk" - }, - { - "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": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "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.", - "install-path": "../ralouphie/getallheaders" - }, - { - "name": "symfony/polyfill-intl-idn", - "version": "v1.23.0", - "version_normalized": "1.23.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/65bd267525e82759e7d8c4e8ceea44f398838e65", - "reference": "65bd267525e82759e7d8c4e8ceea44f398838e65", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "time": "2021-05-27T09:27:20+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Idn\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Laurent Bassin", - "email": "laurent@bassin.info" - }, - { - "name": "Trevor Rowbotham", - "email": "trevor.rowbotham@pm.me" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "idn", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.23.0" - }, - "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/polyfill-intl-idn" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.23.0", - "version_normalized": "1.23.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "time": "2021-02-19T12:13:01+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "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": "Symfony polyfill for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0" - }, - "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/polyfill-intl-normalizer" - }, - { - "name": "symfony/polyfill-php72", - "version": "v1.23.0", - "version_normalized": "1.23.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=7.1" - }, - "time": "2021-05-27T09:17:38+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - }, - "files": [ - "bootstrap.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": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0" - }, - "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/polyfill-php72" - }, - { - "name": "topthink/framework", - "version": "v5.1.41", - "version_normalized": "5.1.41.0", - "source": { - "type": "git", - "url": "https://github.com/top-think/framework.git", - "reference": "7137741a323a4a60cfca334507cd1812fac91bb2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/top-think/framework/zipball/7137741a323a4a60cfca334507cd1812fac91bb2", - "reference": "7137741a323a4a60cfca334507cd1812fac91bb2", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "php": ">=5.6.0", - "topthink/think-installer": "2.*" - }, - "require-dev": { - "johnkary/phpunit-speedtrap": "^1.0", - "mikey179/vfsstream": "~1.6", - "phpdocumentor/reflection-docblock": "^2.0", - "phploc/phploc": "2.*", - "phpunit/phpunit": "^5.0|^6.0", - "sebastian/phpcpd": "2.*", - "squizlabs/php_codesniffer": "2.*" - }, - "time": "2021-01-11T02:51:29+00:00", - "type": "think-framework", - "installation-source": "dist", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "liu21st", - "email": "liu21st@gmail.com" - }, - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "description": "the new thinkphp framework", - "homepage": "http://thinkphp.cn/", - "keywords": [ - "framework", - "orm", - "thinkphp" - ], - "support": { - "issues": "https://github.com/top-think/framework/issues", - "source": "https://github.com/top-think/framework/tree/v5.1.41" - }, - "install-path": "../../thinkphp" - }, - { - "name": "topthink/think-captcha", - "version": "v2.0.2", - "version_normalized": "2.0.2.0", - "source": { - "type": "git", - "url": "https://github.com/top-think/think-captcha.git", - "reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/top-think/think-captcha/zipball/54c8a51552f99ff9ea89ea9c272383a8f738ceee", - "reference": "54c8a51552f99ff9ea89ea9c272383a8f738ceee", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "topthink/framework": "5.1.*" - }, - "time": "2017-12-31T16:37:49+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "think\\captcha\\": "src/" - }, - "files": [ - "src/helper.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "description": "captcha package for thinkphp5", - "install-path": "../topthink/think-captcha" - }, - { - "name": "topthink/think-image", - "version": "v1.0.7", - "version_normalized": "1.0.7.0", - "source": { - "type": "git", - "url": "https://github.com/top-think/think-image.git", - "reference": "8586cf47f117481c6d415b20f7dedf62e79d5512" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/top-think/think-image/zipball/8586cf47f117481c6d415b20f7dedf62e79d5512", - "reference": "8586cf47f117481c6d415b20f7dedf62e79d5512", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "ext-gd": "*" - }, - "require-dev": { - "phpunit/phpunit": "4.8.*", - "topthink/framework": "^5.0" - }, - "time": "2016-09-29T06:05:43+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "think\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "description": "The ThinkPHP5 Image Package", - "install-path": "../topthink/think-image" - }, - { - "name": "topthink/think-installer", - "version": "v2.0.5", - "version_normalized": "2.0.5.0", - "source": { - "type": "git", - "url": "https://github.com/top-think/think-installer.git", - "reference": "38ba647706e35d6704b5d370c06f8a160b635f88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/top-think/think-installer/zipball/38ba647706e35d6704b5d370c06f8a160b635f88", - "reference": "38ba647706e35d6704b5d370c06f8a160b635f88", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "composer-plugin-api": "^1.0||^2.0" - }, - "require-dev": { - "composer/composer": "^1.0||^2.0" - }, - "time": "2021-01-14T12:12:14+00:00", - "type": "composer-plugin", - "extra": { - "class": "think\\composer\\Plugin" - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "think\\composer\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "support": { - "issues": "https://github.com/top-think/think-installer/issues", - "source": "https://github.com/top-think/think-installer/tree/v2.0.5" - }, - "install-path": "../topthink/think-installer" - }, - { - "name": "upyun/sdk", - "version": "3.5.0", - "version_normalized": "3.5.0.0", - "source": { - "type": "git", - "url": "https://github.com/upyun/php-sdk.git", - "reference": "c9f824626552c32b987de4ac7f136e0e21cca962" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/upyun/php-sdk/zipball/c9f824626552c32b987de4ac7f136e0e21cca962", - "reference": "c9f824626552c32b987de4ac7f136e0e21cca962", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "ext-curl": "*", - "guzzlehttp/guzzle": "~6.0", - "php": ">=5.5.0" - }, - "require-dev": { - "consolidation/robo": "^1.0", - "phpdocumentor/phpdocumentor": "^2.9", - "phpunit/phpunit": "~4.0" - }, - "time": "2020-04-22T06:08:39+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "Upyun\\": "src/Upyun/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "lfeng", - "email": "bonevv@gmail.com" - }, - { - "name": "lvtongda", - "email": "riyao.lyu@gmail.com" - }, - { - "name": "totoleo", - "email": "totoleo@163.com" - }, - { - "name": "sabakugaara", - "email": "senellise@gmail.com" - } - ], - "description": "UPYUN sdk for php", - "homepage": "https://github.com/upyun/php-sdk/", - "keywords": [ - "sdk", - "upyun" - ], - "install-path": "../upyun/sdk" - } - ], - "dev": true -} diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php deleted file mode 100644 index b8560674..00000000 --- a/vendor/composer/installed.php +++ /dev/null @@ -1,211 +0,0 @@ - - array ( - 'pretty_version' => 'dev-master', - 'version' => 'dev-master', - 'aliases' => - array ( - ), - 'reference' => '5565b029919bcfd187d42087447f9ae473f501b5', - 'name' => 'wisp-x/lsky-pro', - ), - 'versions' => - array ( - 'aliyuncs/oss-sdk-php' => - array ( - 'pretty_version' => 'v2.4.2', - 'version' => '2.4.2.0', - 'aliases' => - array ( - ), - 'reference' => '0c9d902c33847c07efc66c4cdf823deaea8fc2b6', - ), - 'guzzlehttp/command' => - array ( - 'pretty_version' => '1.0.0', - 'version' => '1.0.0.0', - 'aliases' => - array ( - ), - 'reference' => '2aaa2521a8f8269d6f5dfc13fe2af12c76921034', - ), - 'guzzlehttp/guzzle' => - array ( - 'pretty_version' => '6.5.5', - 'version' => '6.5.5.0', - 'aliases' => - array ( - ), - 'reference' => '9d4290de1cfd701f38099ef7e183b64b4b7b0c5e', - ), - 'guzzlehttp/guzzle-services' => - array ( - 'pretty_version' => '1.1.3', - 'version' => '1.1.3.0', - 'aliases' => - array ( - ), - 'reference' => '9e3abf20161cbf662d616cbb995f2811771759f7', - ), - 'guzzlehttp/promises' => - array ( - 'pretty_version' => '1.4.1', - 'version' => '1.4.1.0', - 'aliases' => - array ( - ), - 'reference' => '8e7d04f1f6450fef59366c399cfad4b9383aa30d', - ), - 'guzzlehttp/psr7' => - array ( - 'pretty_version' => '1.8.2', - 'version' => '1.8.2.0', - 'aliases' => - array ( - ), - 'reference' => 'dc960a912984efb74d0a90222870c72c87f10c91', - ), - 'nicolab/php-ftp-client' => - array ( - 'pretty_version' => 'v1.6.0', - 'version' => '1.6.0.0', - 'aliases' => - array ( - ), - 'reference' => 'a02f966fa3ac700a0ea412fcb37b537ef1a24c9f', - ), - 'phpmailer/phpmailer' => - array ( - 'pretty_version' => 'v6.5.0', - 'version' => '6.5.0.0', - 'aliases' => - array ( - ), - 'reference' => 'a5b5c43e50b7fba655f793ad27303cd74c57363c', - ), - 'psr/http-message' => - array ( - 'pretty_version' => '1.0.1', - 'version' => '1.0.1.0', - 'aliases' => - array ( - ), - 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', - ), - 'psr/http-message-implementation' => - array ( - 'provided' => - array ( - 0 => '1.0', - ), - ), - 'qcloud/cos-sdk-v5' => - array ( - 'pretty_version' => 'v1.3.5', - 'version' => '1.3.5.0', - 'aliases' => - array ( - ), - 'reference' => 'e67ad8143695192ee206bcbcafc78c08da92c621', - ), - 'qiniu/php-sdk' => - array ( - 'pretty_version' => 'v7.4.0', - 'version' => '7.4.0.0', - 'aliases' => - array ( - ), - 'reference' => '1c6bc89166e524a40ee42bf516fb99ffc6401c82', - ), - 'ralouphie/getallheaders' => - array ( - 'pretty_version' => '3.0.3', - 'version' => '3.0.3.0', - 'aliases' => - array ( - ), - 'reference' => '120b605dfeb996808c31b6477290a714d356e822', - ), - 'symfony/polyfill-intl-idn' => - array ( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'aliases' => - array ( - ), - 'reference' => '65bd267525e82759e7d8c4e8ceea44f398838e65', - ), - 'symfony/polyfill-intl-normalizer' => - array ( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'aliases' => - array ( - ), - 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', - ), - 'symfony/polyfill-php72' => - array ( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'aliases' => - array ( - ), - 'reference' => '9a142215a36a3888e30d0a9eeea9766764e96976', - ), - 'topthink/framework' => - array ( - 'pretty_version' => 'v5.1.41', - 'version' => '5.1.41.0', - 'aliases' => - array ( - ), - 'reference' => '7137741a323a4a60cfca334507cd1812fac91bb2', - ), - 'topthink/think-captcha' => - array ( - 'pretty_version' => 'v2.0.2', - 'version' => '2.0.2.0', - 'aliases' => - array ( - ), - 'reference' => '54c8a51552f99ff9ea89ea9c272383a8f738ceee', - ), - 'topthink/think-image' => - array ( - 'pretty_version' => 'v1.0.7', - 'version' => '1.0.7.0', - 'aliases' => - array ( - ), - 'reference' => '8586cf47f117481c6d415b20f7dedf62e79d5512', - ), - 'topthink/think-installer' => - array ( - 'pretty_version' => 'v2.0.5', - 'version' => '2.0.5.0', - 'aliases' => - array ( - ), - 'reference' => '38ba647706e35d6704b5d370c06f8a160b635f88', - ), - 'upyun/sdk' => - array ( - 'pretty_version' => '3.5.0', - 'version' => '3.5.0.0', - 'aliases' => - array ( - ), - 'reference' => 'c9f824626552c32b987de4ac7f136e0e21cca962', - ), - 'wisp-x/lsky-pro' => - array ( - 'pretty_version' => 'dev-master', - 'version' => 'dev-master', - 'aliases' => - array ( - ), - 'reference' => '5565b029919bcfd187d42087447f9ae473f501b5', - ), - ), -); diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php deleted file mode 100644 index 84ce05e4..00000000 --- a/vendor/composer/platform_check.php +++ /dev/null @@ -1,27 +0,0 @@ -= 70100)) { - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.1.0". You are running ' . PHP_VERSION . '.'; -} - -$missingExtensions = array(); -extension_loaded('ctype') || $missingExtensions[] = 'ctype'; -extension_loaded('curl') || $missingExtensions[] = 'curl'; -extension_loaded('filter') || $missingExtensions[] = 'filter'; -extension_loaded('ftp') || $missingExtensions[] = 'ftp'; -extension_loaded('gd') || $missingExtensions[] = 'gd'; -extension_loaded('hash') || $missingExtensions[] = 'hash'; -extension_loaded('json') || $missingExtensions[] = 'json'; - -if ($missingExtensions) { - $issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions); -} - -if ($issues) { - echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues); - exit(104); -} diff --git a/vendor/guzzlehttp/command/LICENSE b/vendor/guzzlehttp/command/LICENSE deleted file mode 100644 index 581d95f9..00000000 --- a/vendor/guzzlehttp/command/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling - -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/command/README.md b/vendor/guzzlehttp/command/README.md deleted file mode 100644 index e68772ce..00000000 --- a/vendor/guzzlehttp/command/README.md +++ /dev/null @@ -1,134 +0,0 @@ -# Guzzle Commands - -[![License](https://poser.pugx.org/guzzlehttp/command/license)](https://packagist.org/packages/guzzlehttp/command) -[![Build Status](https://travis-ci.org/guzzle/command.svg?branch=master)](https://travis-ci.org/guzzle/command) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/guzzle/command/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/guzzle/command/?branch=master) -[![Code Coverage](https://scrutinizer-ci.com/g/guzzle/command/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/guzzle/command/?branch=master) -[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7a93338e-50cd-42f7-9299-17c44d92148f/mini.png)](https://insight.sensiolabs.com/projects/7a93338e-50cd-42f7-9299-17c44d92148f) -[![Latest Stable Version](https://poser.pugx.org/guzzlehttp/command/v/stable)](https://packagist.org/packages/guzzlehttp/command) -[![Latest Unstable Version](https://poser.pugx.org/guzzlehttp/command/v/unstable)](https://packagist.org/packages/guzzlehttp/command) -[![Total Downloads](https://poser.pugx.org/guzzlehttp/command/downloads)](https://packagist.org/packages/guzzlehttp/command) - -This library uses Guzzle (``guzzlehttp/guzzle``, version 6.x) and provides the -foundations to create fully-featured web service clients by abstracting Guzzle -HTTP **requests** and **responses** into higher-level **commands** and -**results**. A **middleware** system, analogous to — but separate from — the one -in the HTTP layer may be used to customize client behavior when preparing -commands into requests and processing responses into results. - -### Commands - -Key-value pair objects representing an operation of a web service. Commands have a name and a set of parameters. - -### Results - -Key-value pair objects representing the processed result of executing an operation of a web service. - -## Installing - -This project can be installed using Composer: - -``composer require guzzlehttp/command`` - -For **Guzzle 5**, use ``composer require guzzlehttp/command:0.8.*``. The source -code for the Guzzle 5 version is available on the -`0.8 branch `_. - -**Note:** If Composer is not -`installed globally `_, -then you may need to run the preceding Composer commands using -``php composer.phar`` (where ``composer.phar`` is the path to your copy of -Composer), instead of just ``composer``. - -## Service Clients - -Service Clients are web service clients that implement the -``GuzzleHttp\Command\ServiceClientInterface`` and use an underlying Guzzle HTTP -client (``GuzzleHttp\Client``) to communicate with the service. Service clients -create and execute **commands** (``GuzzleHttp\Command\CommandInterface``), -which encapsulate operations within the web service, including the operation -name and parameters. This library provides a generic implementation of a service -client: the ``GuzzleHttp\Command\ServiceClient`` class. - -## Instantiating a Service Client - -@TODO Add documentation - -* ``ServiceClient``'s constructor -* Transformer functions (``$commandToRequestTransformer`` and ``$responseToResultTransformer``) -* The ``HandlerStack`` - -## Executing Commands - -Service clients create command objects using the ``getCommand()`` method. - -```php -$commandName = 'foo'; -$arguments = ['baz' => 'bar']; -$command = $client->getCommand($commandName, $arguments); - -``` - -After creating a command, you may execute the command using the ``execute()`` -method of the client. - -```php -$result = $client->execute($command); -``` - -The result of executing a command will be a ``GuzzleHttp\Command\ResultInterface`` -object. Result objects are ``ArrayAccess``-ible and contain the data parsed from -HTTP response. - -Service clients have magic methods that act as shortcuts to executing commands -by name without having to create the ``Command`` object in a separate step -before executing it. - -```php -$result = $client->foo(['baz' => 'bar']); -``` - -## Asynchronous Commands - -@TODO Add documentation - -* ``-Async`` suffix for client methods -* Promises - -```php -// Create and execute an asynchronous command. -$command = $command = $client->getCommand('foo', ['baz' => 'bar']); -$promise = $client->executeAsync($command); - -// Use asynchronous commands with magic methods. -$promise = $client->fooAsync(['baz' => 'bar']); -``` - -@TODO Add documentation - -* ``wait()``-ing on promises. - -```php -$result = $promise->wait(); - -echo $result['fizz']; //> 'buzz' -``` - -## Concurrent Requests - -@TODO Add documentation - -* ``executeAll()`` -* ``executeAllAsync()``. -* Options (``fulfilled``, ``rejected``, ``concurrency``) - -## Middleware: Extending the Client - -Middleware can be added to the service client or underlying HTTP client to -implement additional behavior and customize the ``Command``-to-``Result`` and -``Request``-to-``Response`` lifecycles, respectively. - -## Todo - -* Middleware system and command vs request layers -* The ``HandlerStack`` diff --git a/vendor/guzzlehttp/command/composer.json b/vendor/guzzlehttp/command/composer.json deleted file mode 100644 index 3886e324..00000000 --- a/vendor/guzzlehttp/command/composer.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "guzzlehttp/command", - "description": "Provides the foundation for building command-based web service clients", - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Jeremy Lindblom", - "email": "jeremeamia@gmail.com", - "homepage": "https://github.com/jeremeamia" - } - ], - "require": { - "php": ">=5.5.0", - "guzzlehttp/guzzle": "^6.2", - "guzzlehttp/promises": "~1.3", - "guzzlehttp/psr7": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Command\\": "src/" - } - }, - "extra": { - "branch-alias": { - "dev-master": "0.9-dev" - } - } -} diff --git a/vendor/guzzlehttp/command/src/Command.php b/vendor/guzzlehttp/command/src/Command.php deleted file mode 100644 index cff70a2b..00000000 --- a/vendor/guzzlehttp/command/src/Command.php +++ /dev/null @@ -1,55 +0,0 @@ -name = $name; - $this->data = $args; - $this->handlerStack = $handlerStack; - } - - public function getHandlerStack() - { - return $this->handlerStack; - } - - public function getName() - { - return $this->name; - } - - public function hasParam($name) - { - return array_key_exists($name, $this->data); - } - - public function __clone() - { - if ($this->handlerStack) { - $this->handlerStack = clone $this->handlerStack; - } - } -} diff --git a/vendor/guzzlehttp/command/src/CommandInterface.php b/vendor/guzzlehttp/command/src/CommandInterface.php deleted file mode 100644 index 5d23c993..00000000 --- a/vendor/guzzlehttp/command/src/CommandInterface.php +++ /dev/null @@ -1,39 +0,0 @@ -getCommand()) { - return $prev; - } - - // If the exception is a RequestException, get the Request and Response. - $request = $response = null; - if ($prev instanceof RequestException) { - $request = $prev->getRequest(); - $response = $prev->getResponse(); - } - - // Throw a more specific exception for 4XX or 5XX responses. - $class = self::class; - $statusCode = $response ? $response->getStatusCode() : 0; - if ($statusCode >= 400 && $statusCode < 500) { - $class = CommandClientException::class; - } elseif ($statusCode >= 500 && $statusCode < 600) { - $class = CommandServerException::class; - } - - // Prepare the message. - $message = 'There was an error executing the ' . $command->getName() - . ' command: ' . $prev->getMessage(); - - // Create the exception. - return new $class($message, $command, $prev, $request, $response); - } - - /** - * @param string $message Exception message - * @param CommandInterface $command - * @param \Exception $previous Previous exception (if any) - * @param RequestInterface $request - * @param ResponseInterface $response - */ - public function __construct( - $message, - CommandInterface $command, - \Exception $previous = null, - RequestInterface $request = null, - ResponseInterface $response = null - ) { - $this->command = $command; - $this->request = $request; - $this->response = $response; - parent::__construct($message, 0, $previous); - } - - /** - * Gets the command that failed. - * - * @return CommandInterface - */ - public function getCommand() - { - return $this->command; - } - - /** - * Gets the request that caused the exception - * - * @return RequestInterface|null - */ - public function getRequest() - { - return $this->request; - } - - /** - * Gets the associated response - * - * @return ResponseInterface|null - */ - public function getResponse() - { - return $this->response; - } -} diff --git a/vendor/guzzlehttp/command/src/Exception/CommandServerException.php b/vendor/guzzlehttp/command/src/Exception/CommandServerException.php deleted file mode 100644 index 22356b52..00000000 --- a/vendor/guzzlehttp/command/src/Exception/CommandServerException.php +++ /dev/null @@ -1,7 +0,0 @@ -data; - } - - public function offsetExists($offset) - { - return array_key_exists($offset, $this->data); - } - - public function offsetGet($offset) - { - return isset($this->data[$offset]) ? $this->data[$offset] : null; - } - - public function offsetSet($offset, $value) - { - $this->data[$offset] = $value; - } - - public function offsetUnset($offset) - { - unset($this->data[$offset]); - } - - public function count() - { - return count($this->data); - } - - public function getIterator() - { - return new \ArrayIterator($this->data); - } - - public function toArray() - { - return $this->data; - } -} diff --git a/vendor/guzzlehttp/command/src/Result.php b/vendor/guzzlehttp/command/src/Result.php deleted file mode 100644 index 3041caf2..00000000 --- a/vendor/guzzlehttp/command/src/Result.php +++ /dev/null @@ -1,18 +0,0 @@ -data = $data; - } -} diff --git a/vendor/guzzlehttp/command/src/ResultInterface.php b/vendor/guzzlehttp/command/src/ResultInterface.php deleted file mode 100644 index 4ae49a8d..00000000 --- a/vendor/guzzlehttp/command/src/ResultInterface.php +++ /dev/null @@ -1,9 +0,0 @@ -httpClient = $httpClient; - $this->commandToRequestTransformer = $commandToRequestTransformer; - $this->responseToResultTransformer = $responseToResultTransformer; - $this->handlerStack = $commandHandlerStack ?: new HandlerStack(); - $this->handlerStack->setHandler($this->createCommandHandler()); - } - - public function getHttpClient() - { - return $this->httpClient; - } - - public function getHandlerStack() - { - return $this->handlerStack; - } - - public function getCommand($name, array $params = []) - { - return new Command($name, $params, clone $this->handlerStack); - } - - public function execute(CommandInterface $command) - { - return $this->executeAsync($command)->wait(); - } - - public function executeAsync(CommandInterface $command) - { - $stack = $command->getHandlerStack() ?: $this->handlerStack; - $handler = $stack->resolve(); - - return $handler($command); - } - - public function executeAll($commands, array $options = []) - { - // Modify provided callbacks to track results. - $results = []; - $options['fulfilled'] = function ($v, $k) use (&$results, $options) { - if (isset($options['fulfilled'])) { - $options['fulfilled']($v, $k); - } - $results[$k] = $v; - }; - $options['rejected'] = function ($v, $k) use (&$results, $options) { - if (isset($options['rejected'])) { - $options['rejected']($v, $k); - } - $results[$k] = $v; - }; - - // Execute multiple commands synchronously, then sort and return the results. - return $this->executeAllAsync($commands, $options) - ->then(function () use (&$results) { - ksort($results); - return $results; - }) - ->wait(); - } - - public function executeAllAsync($commands, array $options = []) - { - // Apply default concurrency. - if (!isset($options['concurrency'])) { - $options['concurrency'] = 25; - } - - // Convert the iterator of commands to a generator of promises. - $commands = Promise\iter_for($commands); - $promises = function () use ($commands) { - foreach ($commands as $key => $command) { - if (!$command instanceof CommandInterface) { - throw new \InvalidArgumentException('The iterator must ' - . 'yield instances of ' . CommandInterface::class); - } - yield $key => $this->executeAsync($command); - } - }; - - // Execute the commands using a pool. - return (new Promise\EachPromise($promises(), $options))->promise(); - } - - /** - * Creates and executes a command for an operation by name. - * - * @param string $name Name of the command to execute. - * @param array $args Arguments to pass to the getCommand method. - * - * @return ResultInterface|PromiseInterface - * @see \GuzzleHttp\Command\ServiceClientInterface::getCommand - */ - public function __call($name, array $args) - { - $args = isset($args[0]) ? $args[0] : []; - if (substr($name, -5) === 'Async') { - $command = $this->getCommand(substr($name, 0, -5), $args); - return $this->executeAsync($command); - } else { - return $this->execute($this->getCommand($name, $args)); - } - } - - /** - * Defines the main handler for commands that uses the HTTP client. - * - * @return callable - */ - private function createCommandHandler() - { - return function (CommandInterface $command) { - return Promise\coroutine(function () use ($command) { - // Prepare the HTTP options. - $opts = $command['@http'] ?: []; - unset($command['@http']); - - try { - // Prepare the request from the command and send it. - $request = $this->transformCommandToRequest($command); - $promise = $this->httpClient->sendAsync($request, $opts); - - // Create a result from the response. - $response = (yield $promise); - yield $this->transformResponseToResult($response, $request, $command); - } catch (\Exception $e) { - throw CommandException::fromPrevious($command, $e); - } - }); - }; - } - - /** - * Transforms a Command object into a Request object. - * - * @param CommandInterface $command - * @return RequestInterface - */ - private function transformCommandToRequest(CommandInterface $command) - { - $transform = $this->commandToRequestTransformer; - - return $transform($command); - } - - - /** - * Transforms a Response object, also using data from the Request object, - * into a Result object. - * - * @param ResponseInterface $response - * @param RequestInterface $request - * @param CommandInterface $command - * @return ResultInterface - */ - private function transformResponseToResult( - ResponseInterface $response, - RequestInterface $request, - CommandInterface $command - ) { - $transform = $this->responseToResultTransformer; - - return $transform($response, $request, $command); - } -} diff --git a/vendor/guzzlehttp/command/src/ServiceClientInterface.php b/vendor/guzzlehttp/command/src/ServiceClientInterface.php deleted file mode 100644 index 1f418377..00000000 --- a/vendor/guzzlehttp/command/src/ServiceClientInterface.php +++ /dev/null @@ -1,92 +0,0 @@ -getConfig\('defaults'\) [\#84](https://github.com/guzzle/guzzle-services/pull/84) ([fuhry](https://github.com/fuhry)) - -- Fixing issue \#82 to address regression for handling elements with the sa... [\#83](https://github.com/guzzle/guzzle-services/pull/83) ([sprak3000](https://github.com/sprak3000)) - -- Fix for specified property but no value in json \(notice for undefined in... [\#76](https://github.com/guzzle/guzzle-services/pull/76) ([rfink](https://github.com/rfink)) - -- Add ErrorHandler subscriber [\#67](https://github.com/guzzle/guzzle-services/pull/67) ([bakura10](https://github.com/bakura10)) - -- Fix combine base url and command uri [\#108](https://github.com/guzzle/guzzle-services/pull/108) ([vlastv](https://github.com/vlastv)) - -- Fixing JsonLocation::visit\(\) not returning a request \#106 [\#107](https://github.com/guzzle/guzzle-services/pull/107) ([Pinolo](https://github.com/Pinolo)) - -- Fix call to undefined method "GuzzleHttp\Psr7\Uri::combine" [\#105](https://github.com/guzzle/guzzle-services/pull/105) ([horrorin](https://github.com/horrorin)) - -- fix description for get request example [\#87](https://github.com/guzzle/guzzle-services/pull/87) ([snoek09](https://github.com/snoek09)) - -- Allow raw values \(non array/object\) for root model definitions [\#74](https://github.com/guzzle/guzzle-services/pull/74) ([rfink](https://github.com/rfink)) - -- Allow shortened definition of properties by assigning them directly to a type [\#72](https://github.com/guzzle/guzzle-services/pull/72) ([rfink](https://github.com/rfink)) - -## [0.5.0](https://github.com/guzzle/guzzle-services/tree/0.5.0) (2014-12-23) - -[Full Changelog](https://github.com/guzzle/guzzle-services/compare/0.4.0...0.5.0) - -**Closed issues:** - -- Does it supports custom class instantiate to define an operation using a service description [\#62](https://github.com/guzzle/guzzle-services/issues/62) - -- Tag version 0.4.0 [\#61](https://github.com/guzzle/guzzle-services/issues/61) - -- XmlLocation not adding attributes to non-leaf child nodes [\#52](https://github.com/guzzle/guzzle-services/issues/52) - -- XmlLocation response not handling multiple tags of the same name correctly [\#51](https://github.com/guzzle/guzzle-services/issues/51) - -- Validation Bug [\#47](https://github.com/guzzle/guzzle-services/issues/47) - -- CommandException doesn't contain response data [\#44](https://github.com/guzzle/guzzle-services/issues/44) - -- \[Fix included\] XmlLocation requires text value to have attributes [\#37](https://github.com/guzzle/guzzle-services/issues/37) - -- Question: Mocking a Response does not throw exception [\#35](https://github.com/guzzle/guzzle-services/issues/35) - -- allow default 'location' on Model [\#26](https://github.com/guzzle/guzzle-services/issues/26) - -- create mock subscriber requests from descriptions [\#25](https://github.com/guzzle/guzzle-services/issues/25) - -**Merged pull requests:** - -- Documentation: Add 'boolean-string' as a supported "format" value [\#63](https://github.com/guzzle/guzzle-services/pull/63) ([jwcobb](https://github.com/jwcobb)) - -## [0.4.0](https://github.com/guzzle/guzzle-services/tree/0.4.0) (2014-11-03) - -[Full Changelog](https://github.com/guzzle/guzzle-services/compare/0.3.0...0.4.0) - -**Closed issues:** - -- Exceptions Thrown From Subscribers Are Ignored? [\#58](https://github.com/guzzle/guzzle-services/issues/58) - -- Totally Broken With Guzzle 5 [\#57](https://github.com/guzzle/guzzle-services/issues/57) - -- GuzzleHTTP/Command Dependency fail [\#50](https://github.com/guzzle/guzzle-services/issues/50) - -- Request parameter PathLocation [\#46](https://github.com/guzzle/guzzle-services/issues/46) - -- Requesting a new version tag [\#45](https://github.com/guzzle/guzzle-services/issues/45) - -- CommandException expects second parameter to be CommandTransaction instance [\#43](https://github.com/guzzle/guzzle-services/issues/43) - -- Cannot add Autorization header to my requests [\#39](https://github.com/guzzle/guzzle-services/issues/39) - -- Resouce Itterators [\#36](https://github.com/guzzle/guzzle-services/issues/36) - -- Question [\#33](https://github.com/guzzle/guzzle-services/issues/33) - -- query location array can be comma separated [\#31](https://github.com/guzzle/guzzle-services/issues/31) - -- Automatically returns array from command? [\#30](https://github.com/guzzle/guzzle-services/issues/30) - -- Arrays nested under objects in JSON response broken? [\#27](https://github.com/guzzle/guzzle-services/issues/27) - -- Question? [\#23](https://github.com/guzzle/guzzle-services/issues/23) - -**Merged pull requests:** - -- Bump the version in the readme [\#60](https://github.com/guzzle/guzzle-services/pull/60) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Bump the next version to 0.4 [\#56](https://github.com/guzzle/guzzle-services/pull/56) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Fixed the guzzlehttp/command version constraint [\#55](https://github.com/guzzle/guzzle-services/pull/55) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Work with latest Guzzle 5 and Command updates [\#54](https://github.com/guzzle/guzzle-services/pull/54) ([mtdowling](https://github.com/mtdowling)) - -- Addressing Issue \#51 & Issue \#52 [\#53](https://github.com/guzzle/guzzle-services/pull/53) ([sprak3000](https://github.com/sprak3000)) - -- added description interface to extend it [\#49](https://github.com/guzzle/guzzle-services/pull/49) ([danieledangeli](https://github.com/danieledangeli)) - -- Update readme to improve documentation \(\#46\) [\#48](https://github.com/guzzle/guzzle-services/pull/48) ([bonndan](https://github.com/bonndan)) - -- Fixed the readme version constraint [\#42](https://github.com/guzzle/guzzle-services/pull/42) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Update .travis.yml [\#41](https://github.com/guzzle/guzzle-services/pull/41) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Added a branch alias [\#40](https://github.com/guzzle/guzzle-services/pull/40) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Fixes Response\XmlLocation requires text value [\#38](https://github.com/guzzle/guzzle-services/pull/38) ([magnetik](https://github.com/magnetik)) - -- Removing unnecessary \(\) from docblock [\#32](https://github.com/guzzle/guzzle-services/pull/32) ([jamiehannaford](https://github.com/jamiehannaford)) - -- Fix JSON response location so that both is supported: arrays nested unde... [\#28](https://github.com/guzzle/guzzle-services/pull/28) ([ukautz](https://github.com/ukautz)) - -- Throw Any Exceptions On Process [\#59](https://github.com/guzzle/guzzle-services/pull/59) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Allow extension to work recursively over models [\#34](https://github.com/guzzle/guzzle-services/pull/34) ([jamiehannaford](https://github.com/jamiehannaford)) - -- A custom class can be configured for command instances. [\#29](https://github.com/guzzle/guzzle-services/pull/29) ([robinvdvleuten](https://github.com/robinvdvleuten)) - -- \[WIP\] doing some experimentation [\#24](https://github.com/guzzle/guzzle-services/pull/24) ([cordoval](https://github.com/cordoval)) - -## [0.3.0](https://github.com/guzzle/guzzle-services/tree/0.3.0) (2014-06-01) - -[Full Changelog](https://github.com/guzzle/guzzle-services/compare/0.2.0...0.3.0) - -**Closed issues:** - -- Testing Guzzle Services doesn't work [\#19](https://github.com/guzzle/guzzle-services/issues/19) - -- Description factory [\#18](https://github.com/guzzle/guzzle-services/issues/18) - -- support to load service description from file [\#15](https://github.com/guzzle/guzzle-services/issues/15) - -- Update dependency on guzzlehttp/command [\#11](https://github.com/guzzle/guzzle-services/issues/11) - -**Merged pull requests:** - -- Add license file [\#22](https://github.com/guzzle/guzzle-services/pull/22) ([siwinski](https://github.com/siwinski)) - -- Fix 'Invalid argument supplied for foreach\(\)' [\#21](https://github.com/guzzle/guzzle-services/pull/21) ([Olden](https://github.com/Olden)) - -- Fixed string zero \('0'\) values not being filtered in XML. [\#20](https://github.com/guzzle/guzzle-services/pull/20) ([dragonwize](https://github.com/dragonwize)) - -- baseUrl can be a string or an uri template [\#16](https://github.com/guzzle/guzzle-services/pull/16) ([robinvdvleuten](https://github.com/robinvdvleuten)) - -## [0.2.0](https://github.com/guzzle/guzzle-services/tree/0.2.0) (2014-03-30) - -[Full Changelog](https://github.com/guzzle/guzzle-services/compare/0.1.0...0.2.0) - -**Closed issues:** - -- please remove wiki [\#13](https://github.com/guzzle/guzzle-services/issues/13) - -- Parameter validation fails for union types [\#12](https://github.com/guzzle/guzzle-services/issues/12) - -- question on integration with Guzzle4 [\#8](https://github.com/guzzle/guzzle-services/issues/8) - -- typehints for operations property [\#6](https://github.com/guzzle/guzzle-services/issues/6) - -- improve exception message [\#5](https://github.com/guzzle/guzzle-services/issues/5) - -**Merged pull requests:** - -- Update composer.json [\#14](https://github.com/guzzle/guzzle-services/pull/14) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Update composer.json [\#9](https://github.com/guzzle/guzzle-services/pull/9) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- some fixes [\#4](https://github.com/guzzle/guzzle-services/pull/4) ([cordoval](https://github.com/cordoval)) - -- Fix the CommandException path used in ValidateInput [\#2](https://github.com/guzzle/guzzle-services/pull/2) ([mookle](https://github.com/mookle)) - -- Minor improvements [\#1](https://github.com/guzzle/guzzle-services/pull/1) ([GrahamCampbell](https://github.com/GrahamCampbell)) - -- Use latest guzzlehttp/command to fix dependencies [\#10](https://github.com/guzzle/guzzle-services/pull/10) ([sbward](https://github.com/sbward)) - -- some collaboration using Gush :\) [\#3](https://github.com/guzzle/guzzle-services/pull/3) ([cordoval](https://github.com/cordoval)) - -## [0.1.0](https://github.com/guzzle/guzzle-services/tree/0.1.0) (2014-03-15) - - - -\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/vendor/guzzlehttp/guzzle-services/LICENSE b/vendor/guzzlehttp/guzzle-services/LICENSE deleted file mode 100644 index 71d3b783..00000000 --- a/vendor/guzzlehttp/guzzle-services/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2014 Michael Dowling, https://github.com/mtdowling - -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-services/Makefile b/vendor/guzzlehttp/guzzle-services/Makefile deleted file mode 100644 index cfb82e45..00000000 --- a/vendor/guzzlehttp/guzzle-services/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -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/* - -.PHONY: coverage diff --git a/vendor/guzzlehttp/guzzle-services/README.md b/vendor/guzzlehttp/guzzle-services/README.md deleted file mode 100644 index 196c8a9b..00000000 --- a/vendor/guzzlehttp/guzzle-services/README.md +++ /dev/null @@ -1,129 +0,0 @@ -# Guzzle Services - -[![License](https://poser.pugx.org/guzzlehttp/guzzle-services/license)](https://packagist.org/packages/guzzlehttp/guzzle-services) -[![Build Status](https://travis-ci.org/guzzle/guzzle-services.svg?branch=master)](https://travis-ci.org/guzzle/guzzle-services) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/guzzle/guzzle-services/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/guzzle/guzzle-services/?branch=master) -[![Code Coverage](https://scrutinizer-ci.com/g/guzzle/guzzle-services/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/guzzle/guzzle-services/?branch=master) -[![SensioLabsInsight](https://insight.sensiolabs.com/projects/b08be676-b209-40b7-a6df-b6d13e8dff62/mini.png)](https://insight.sensiolabs.com/projects/b08be676-b209-40b7-a6df-b6d13e8dff62) -[![Latest Stable Version](https://poser.pugx.org/guzzlehttp/guzzle-services/v/stable)](https://packagist.org/packages/guzzlehttp/guzzle-services) -[![Latest Unstable Version](https://poser.pugx.org/guzzlehttp/guzzle-services/v/unstable)](https://packagist.org/packages/guzzlehttp/guzzle-services) -[![Total Downloads](https://poser.pugx.org/guzzlehttp/guzzle-services/downloads)](https://packagist.org/packages/guzzlehttp/guzzle-services) - -Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures. - -```php -use GuzzleHttp\Client; -use GuzzleHttp\Command\Guzzle\GuzzleClient; -use GuzzleHttp\Command\Guzzle\Description; - -$client = new Client(); -$description = new Description([ - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'testing' => [ - 'httpMethod' => 'GET', - 'uri' => '/get{?foo}', - 'responseModel' => 'getResponse', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'location' => 'uri' - ], - 'bar' => [ - 'type' => 'string', - 'location' => 'query' - ] - ] - ] - ], - 'models' => [ - 'getResponse' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] -]); - -$guzzleClient = new GuzzleClient($client, $description); - -$result = $guzzleClient->testing(['foo' => 'bar']); -echo $result['args']['foo']; -// bar -``` - -## Installing - -This project can be installed using Composer: - -``composer require guzzlehttp/guzzle-services`` - -For **Guzzle 5**, use ``composer require guzzlehttp/guzzle-services:0.6``. - -**Note:** If Composer is not installed [globally](https://getcomposer.org/doc/00-intro.md#globally) then you may need to run the preceding Composer commands using ``php composer.phar`` (where ``composer.phar`` is the path to your copy of Composer), instead of just ``composer``. - -## Plugins - -* Load Service description from file [https://github.com/gimler/guzzle-description-loader] - -## Transition guide from Guzzle 5.0 to 6.0 - -### Change regarding PostField and PostFile - -The request locations `postField` and `postFile` were removed in favor of `formParam` and `multipart`. If your description looks like - -```php -[ - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'testing' => [ - 'httpMethod' => 'GET', - 'uri' => '/get{?foo}', - 'responseModel' => 'getResponse', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'location' => 'postField' - ], - 'bar' => [ - 'type' => 'string', - 'location' => 'postFile' - ] - ] - ] - ], -] -``` - -you need to change `postField` to `formParam` and `postFile` to `multipart`. - -More documentation coming soon. - -## Cookbook - -### Changing the way query params are serialized - -By default, query params are serialized using strict RFC3986 rules, using `http_build_query` method. With this, array params are serialized this way: - -```php -$client->myMethod(['foo' => ['bar', 'baz']]); - -// Query params will be foo[0]=bar&foo[1]=baz -``` - -However, a lot of APIs in the wild require the numeric indices to be removed, so that the query params end up being `foo[]=bar&foo[]=baz`. You -can easily change the behaviour by creating your own serializer and overriding the "query" request location: - -```php -use GuzzleHttp\Command\Guzzle\GuzzleClient; -use GuzzleHttp\Command\Guzzle\RequestLocation\QueryLocation; -use GuzzleHttp\Command\Guzzle\QuerySerializer\Rfc3986Serializer; -use GuzzleHttp\Command\Guzzle\Serializer; - -$queryLocation = new QueryLocation('query', new Rfc3986Serializer(true)); -$serializer = new Serializer($description, ['query' => $queryLocation]); -$guzzleClient = new GuzzleClient($client, $description, $serializer); -``` - -You can also create your own serializer if you have specific needs. \ No newline at end of file diff --git a/vendor/guzzlehttp/guzzle-services/composer.json b/vendor/guzzlehttp/guzzle-services/composer.json deleted file mode 100644 index 645e44b2..00000000 --- a/vendor/guzzlehttp/guzzle-services/composer.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "guzzlehttp/guzzle-services", - "description": "Provides an implementation of the Guzzle Command library that uses Guzzle service descriptions to describe web services, serialize requests, and parse responses into easy to use model structures.", - "type": "library", - "license": "MIT", - "authors": [ - { - "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": "Stefano Kowalke", - "email": "blueduck@mail.org", - "homepage": "https://github.com/konafets" - } - ], - "require": { - "php": ">=5.5", - "guzzlehttp/guzzle": "^6.2", - "guzzlehttp/command": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0" - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Command\\Guzzle\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "GuzzleHttp\\Tests\\Command\\Guzzle\\": "tests/" - } - }, - "suggest": { - "gimler/guzzle-description-loader": "^0.0.4" - }, - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - } -} diff --git a/vendor/guzzlehttp/guzzle-services/phpunit.xml.dist b/vendor/guzzlehttp/guzzle-services/phpunit.xml.dist deleted file mode 100644 index 994e1584..00000000 --- a/vendor/guzzlehttp/guzzle-services/phpunit.xml.dist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - tests - - - - - src - - - diff --git a/vendor/guzzlehttp/guzzle-services/src/Description.php b/vendor/guzzlehttp/guzzle-services/src/Description.php deleted file mode 100644 index b8d060ea..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/Description.php +++ /dev/null @@ -1,265 +0,0 @@ -{$key} = $config[$key]; - } - } - - // Set the baseUri - // Account for the old style of using baseUrl - if (isset($config['baseUrl'])) { - $config['baseUri'] = $config['baseUrl']; - } - $this->baseUri = isset($config['baseUri']) ? new Uri($config['baseUri']) : new Uri(); - - // Ensure that the models and operations properties are always arrays - $this->models = (array) $this->models; - $this->operations = (array) $this->operations; - - // We want to add operations differently than adding the other properties - $defaultKeys[] = 'operations'; - - // Create operations for each operation - if (isset($config['operations'])) { - foreach ($config['operations'] as $name => $operation) { - if (!is_array($operation)) { - throw new \InvalidArgumentException('Operations must be arrays'); - } - $this->operations[$name] = $operation; - } - } - - // Get all of the additional properties of the service description and - // store them in a data array - foreach (array_diff(array_keys($config), $defaultKeys) as $key) { - $this->extraData[$key] = $config[$key]; - } - - // Configure the schema formatter - if (isset($options['formatter'])) { - $this->formatter = $options['formatter']; - } else { - static $defaultFormatter; - if (!$defaultFormatter) { - $defaultFormatter = new SchemaFormatter(); - } - $this->formatter = $defaultFormatter; - } - } - - /** - * Get the basePath/baseUri of the description - * - * @return Uri - */ - public function getBaseUri() - { - return $this->baseUri; - } - - /** - * Get the API operations of the service - * - * @return Operation[] Returns an array of {@see Operation} objects - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Check if the service has an operation by name - * - * @param string $name Name of the operation to check - * - * @return bool - */ - public function hasOperation($name) - { - return isset($this->operations[$name]); - } - - /** - * Get an API operation by name - * - * @param string $name Name of the command - * - * @return Operation - * @throws \InvalidArgumentException if the operation is not found - */ - public function getOperation($name) - { - if (!$this->hasOperation($name)) { - throw new \InvalidArgumentException("No operation found named $name"); - } - - // Lazily create operations as they are retrieved - if (!($this->operations[$name] instanceof Operation)) { - $this->operations[$name]['name'] = $name; - $this->operations[$name] = new Operation($this->operations[$name], $this); - } - - return $this->operations[$name]; - } - - /** - * Get a shared definition structure. - * - * @param string $id ID/name of the model to retrieve - * - * @return Parameter - * @throws \InvalidArgumentException if the model is not found - */ - public function getModel($id) - { - if (!$this->hasModel($id)) { - throw new \InvalidArgumentException("No model found named $id"); - } - - // Lazily create models as they are retrieved - if (!($this->models[$id] instanceof Parameter)) { - $this->models[$id] = new Parameter( - $this->models[$id], - ['description' => $this] - ); - } - - return $this->models[$id]; - } - - /** - * Get all models of the service description. - * - * @return array - */ - public function getModels() - { - $models = []; - foreach ($this->models as $name => $model) { - $models[$name] = $this->getModel($name); - } - - return $models; - } - - /** - * Check if the service description has a model by name. - * - * @param string $id Name/ID of the model to check - * - * @return bool - */ - public function hasModel($id) - { - return isset($this->models[$id]); - } - - /** - * Get the API version of the service - * - * @return string - */ - public function getApiVersion() - { - return $this->apiVersion; - } - - /** - * Get the name of the API - * - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Get a summary of the purpose of the API - * - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Format a parameter using named formats. - * - * @param string $format Format to convert it to - * @param mixed $input Input string - * - * @return mixed - */ - public function format($format, $input) - { - return $this->formatter->format($format, $input); - } - - /** - * Get arbitrary data from the service description that is not part of the - * Guzzle service description specification. - * - * @param string $key Data key to retrieve or null to retrieve all extra - * - * @return null|mixed - */ - public function getData($key = null) - { - if ($key === null) { - return $this->extraData; - } elseif (isset($this->extraData[$key])) { - return $this->extraData[$key]; - } else { - return null; - } - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/DescriptionInterface.php b/vendor/guzzlehttp/guzzle-services/src/DescriptionInterface.php deleted file mode 100644 index 6b3adba6..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/DescriptionInterface.php +++ /dev/null @@ -1,107 +0,0 @@ - new BodyLocation(), - 'header' => new HeaderLocation(), - 'reasonPhrase' => new ReasonPhraseLocation(), - 'statusCode' => new StatusCodeLocation(), - 'xml' => new XmlLocation(), - 'json' => new JsonLocation(), - ]; - } - - $this->responseLocations = $responseLocations + $defaultResponseLocations; - $this->description = $description; - $this->process = $process; - } - - /** - * Deserialize the response into the specified result representation - * - * @param ResponseInterface $response - * @param RequestInterface|null $request - * @param CommandInterface $command - * @return Result|ResultInterface|void|ResponseInterface - */ - public function __invoke(ResponseInterface $response, RequestInterface $request, CommandInterface $command) - { - // If the user don't want to process the result, just return the plain response here - if ($this->process === false) { - return $response; - } - - $name = $command->getName(); - $operation = $this->description->getOperation($name); - - $this->handleErrorResponses($response, $request, $command, $operation); - - // Add a default Model as the result if no matching schema was found - if (!($modelName = $operation->getResponseModel())) { - // Not sure if this should be empty or contains the response. - // Decided to do it how it was in the old version for now. - return new Result(); - } - - $model = $operation->getServiceDescription()->getModel($modelName); - if (!$model) { - throw new \RuntimeException("Unknown model: {$modelName}"); - } - - return $this->visit($model, $response); - } - - /** - * Handles visit() and after() methods of the Response locations - * - * @param Parameter $model - * @param ResponseInterface $response - * @return Result|ResultInterface|void - */ - protected function visit(Parameter $model, ResponseInterface $response) - { - $result = new Result(); - $context = ['visitors' => []]; - - if ($model->getType() === 'object') { - $result = $this->visitOuterObject($model, $result, $response, $context); - } elseif ($model->getType() === 'array') { - $result = $this->visitOuterArray($model, $result, $response, $context); - } else { - throw new \InvalidArgumentException('Invalid response model: ' . $model->getType()); - } - - // Call the after() method of each found visitor - /** @var ResponseLocationInterface $visitor */ - foreach ($context['visitors'] as $visitor) { - $result = $visitor->after($result, $response, $model); - } - - return $result; - } - - /** - * Handles the before() method of Response locations - * - * @param string $location - * @param Parameter $model - * @param ResultInterface $result - * @param ResponseInterface $response - * @param array $context - * @return ResultInterface - */ - private function triggerBeforeVisitor( - $location, - Parameter $model, - ResultInterface $result, - ResponseInterface $response, - array &$context - ) { - if (!isset($this->responseLocations[$location])) { - throw new \RuntimeException("Unknown location: $location"); - } - - $context['visitors'][$location] = $this->responseLocations[$location]; - - $result = $this->responseLocations[$location]->before( - $result, - $response, - $model - ); - - return $result; - } - - /** - * Visits the outer object - * - * @param Parameter $model - * @param ResultInterface $result - * @param ResponseInterface $response - * @param array $context - * @return ResultInterface - */ - private function visitOuterObject( - Parameter $model, - ResultInterface $result, - ResponseInterface $response, - array &$context - ) { - $parentLocation = $model->getLocation(); - - // If top-level additionalProperties is a schema, then visit it - $additional = $model->getAdditionalProperties(); - if ($additional instanceof Parameter) { - // Use the model location if none set on additionalProperties. - $location = $additional->getLocation() ?: $parentLocation; - $result = $this->triggerBeforeVisitor($location, $model, $result, $response, $context); - } - - // Use 'location' from all individual defined properties, but fall back - // to the model location if no per-property location is set. Collect - // the properties that need to be visited into an array. - $visitProperties = []; - foreach ($model->getProperties() as $schema) { - $location = $schema->getLocation() ?: $parentLocation; - if ($location) { - $visitProperties[] = [$location, $schema]; - // Trigger the before method on each unique visitor location - if (!isset($context['visitors'][$location])) { - $result = $this->triggerBeforeVisitor($location, $model, $result, $response, $context); - } - } - } - - // Actually visit each response element - foreach ($visitProperties as $property) { - $result = $this->responseLocations[$property[0]]->visit($result, $response, $property[1]); - } - - return $result; - } - - /** - * Visits the outer array - * - * @param Parameter $model - * @param ResultInterface $result - * @param ResponseInterface $response - * @param array $context - * @return ResultInterface|void - */ - private function visitOuterArray( - Parameter $model, - ResultInterface $result, - ResponseInterface $response, - array &$context - ) { - // Use 'location' defined on the top of the model - if (!($location = $model->getLocation())) { - return; - } - - // Trigger the before method on each unique visitor location - if (!isset($context['visitors'][$location])) { - $result = $this->triggerBeforeVisitor($location, $model, $result, $response, $context); - } - - // Visit each item in the response - $result = $this->responseLocations[$location]->visit($result, $response, $model); - - return $result; - } - - /** - * Reads the "errorResponses" from commands, and trigger appropriate exceptions - * - * In order for the exception to be properly triggered, all your exceptions must be instance - * of "GuzzleHttp\Command\Exception\CommandException". If that's not the case, your exceptions will be wrapped - * around a CommandException - * - * @param ResponseInterface $response - * @param RequestInterface $request - * @param CommandInterface $command - * @param Operation $operation - */ - protected function handleErrorResponses( - ResponseInterface $response, - RequestInterface $request, - CommandInterface $command, - Operation $operation - ) { - $errors = $operation->getErrorResponses(); - - // We iterate through each errors in service description. If the descriptor contains both a phrase and - // status code, there must be an exact match of both. Otherwise, a match of status code is enough - $bestException = null; - - foreach ($errors as $error) { - $code = (int) $error['code']; - - if ($response->getStatusCode() !== $code) { - continue; - } - - if (isset($error['phrase']) && ! ($error['phrase'] === $response->getReasonPhrase())) { - continue; - } - - $bestException = $error['class']; - - // If there is an exact match of phrase + code, then we cannot find a more specialized exception in - // the array, so we can break early instead of iterating the remaining ones - if (isset($error['phrase'])) { - break; - } - } - - if (null !== $bestException) { - throw new $bestException($response->getReasonPhrase(), $command, null, $request, $response); - } - - // If we reach here, no exception could be match from descriptor, and Guzzle exception will propagate if - // option "http_errors" is set to true, which is the default setting. - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/GuzzleClient.php b/vendor/guzzlehttp/guzzle-services/src/GuzzleClient.php deleted file mode 100644 index f419b54e..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/GuzzleClient.php +++ /dev/null @@ -1,169 +0,0 @@ -config = $config; - $this->description = $description; - $serializer = $this->getSerializer($commandToRequestTransformer); - $deserializer = $this->getDeserializer($responseToResultTransformer); - - parent::__construct($client, $serializer, $deserializer, $commandHandlerStack); - $this->processConfig($config); - } - - /** - * Returns the command if valid; otherwise an Exception - * @param string $name - * @param array $args - * @return CommandInterface - * @throws \InvalidArgumentException - */ - public function getCommand($name, array $args = []) - { - if (!$this->description->hasOperation($name)) { - $name = ucfirst($name); - if (!$this->description->hasOperation($name)) { - throw new \InvalidArgumentException( - "No operation found named {$name}" - ); - } - } - - // Merge in default command options - $args += $this->getConfig('defaults'); - - return parent::getCommand($name, $args); - } - - /** - * Return the description - * - * @return DescriptionInterface - */ - public function getDescription() - { - return $this->description; - } - - /** - * Returns the passed Serializer when set, a new instance otherwise - * - * @param callable|null $commandToRequestTransformer - * @return \GuzzleHttp\Command\Guzzle\Serializer - */ - private function getSerializer($commandToRequestTransformer) - { - return $commandToRequestTransformer ==! null - ? $commandToRequestTransformer - : new Serializer($this->description); - } - - /** - * Returns the passed Deserializer when set, a new instance otherwise - * - * @param callable|null $responseToResultTransformer - * @return \GuzzleHttp\Command\Guzzle\Deserializer - */ - private function getDeserializer($responseToResultTransformer) - { - $process = (! isset($this->config['process']) || $this->config['process'] === true); - - return $responseToResultTransformer ==! null - ? $responseToResultTransformer - : new Deserializer($this->description, $process); - } - - /** - * Get the config of the client - * - * @param array|string $option - * @return mixed - */ - public function getConfig($option = null) - { - return $option === null - ? $this->config - : (isset($this->config[$option]) ? $this->config[$option] : []); - } - - /** - * @param $option - * @param $value - */ - public function setConfig($option, $value) - { - $this->config[$option] = $value; - } - - /** - * Prepares the client based on the configuration settings of the client. - * - * @param array $config Constructor config as an array - */ - protected function processConfig(array $config) - { - // set defaults as an array if not provided - if (!isset($config['defaults'])) { - $config['defaults'] = []; - } - - // Add the handlers based on the configuration option - $stack = $this->getHandlerStack(); - - if (!isset($config['validate']) || $config['validate'] === true) { - $stack->push(new ValidatedDescriptionHandler($this->description), 'validate_description'); - } - - if (!isset($config['process']) || $config['process'] === true) { - // TODO: This belongs to the Deserializer and should be handled there. - // Question: What is the result when the Deserializer is bypassed? - // Possible answer: The raw response. - } - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/Handler/ValidatedDescriptionHandler.php b/vendor/guzzlehttp/guzzle-services/src/Handler/ValidatedDescriptionHandler.php deleted file mode 100644 index c5ec2d6e..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/Handler/ValidatedDescriptionHandler.php +++ /dev/null @@ -1,82 +0,0 @@ - - */ -class ValidatedDescriptionHandler -{ - /** @var SchemaValidator $validator */ - private $validator; - - /** @var DescriptionInterface $description */ - private $description; - - /** - * ValidatedDescriptionHandler constructor. - * - * @param DescriptionInterface $description - * @param SchemaValidator|null $schemaValidator - */ - public function __construct(DescriptionInterface $description, SchemaValidator $schemaValidator = null) - { - $this->description = $description; - $this->validator = $schemaValidator ?: new SchemaValidator(); - } - - /** - * @param callable $handler - * @return \Closure - */ - public function __invoke(callable $handler) - { - return function (CommandInterface $command) use ($handler) { - $errors = []; - $operation = $this->description->getOperation($command->getName()); - - foreach ($operation->getParams() as $name => $schema) { - $value = $command[$name]; - - if ($value) { - $value = $schema->filter($value); - } - - if (! $this->validator->validate($schema, $value)) { - $errors = array_merge($errors, $this->validator->getErrors()); - } elseif ($value !== $command[$name]) { - // Update the config value if it changed and no validation errors were encountered. - // This happen when the user extending an operation - // See https://github.com/guzzle/guzzle-services/issues/145 - $command[$name] = $value; - } - } - - if ($params = $operation->getAdditionalParameters()) { - foreach ($command->toArray() as $name => $value) { - // It's only additional if it isn't defined in the schema - if (! $operation->hasParam($name)) { - // Always set the name so that error messages are useful - $params->setName($name); - if (! $this->validator->validate($params, $value)) { - $errors = array_merge($errors, $this->validator->getErrors()); - } elseif ($value !== $command[$name]) { - $command[$name] = $value; - } - } - } - } - - if ($errors) { - throw new CommandException('Validation errors: ' . implode("\n", $errors), $command); - } - - return $handler($command); - }; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/Operation.php b/vendor/guzzlehttp/guzzle-services/src/Operation.php deleted file mode 100644 index 57b75ca2..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/Operation.php +++ /dev/null @@ -1,312 +0,0 @@ - '', - 'httpMethod' => '', - 'uri' => '', - 'responseModel' => null, - 'notes' => '', - 'summary' => '', - 'documentationUrl' => null, - 'deprecated' => false, - 'data' => [], - 'parameters' => [], - 'additionalParameters' => null, - 'errorResponses' => [] - ]; - - $this->description = $description === null ? new Description([]) : $description; - - if (isset($config['extends'])) { - $config = $this->resolveExtends($config['extends'], $config); - } - - $this->config = $config + $defaults; - - // Account for the old style of using responseClass - if (isset($config['responseClass'])) { - $this->config['responseModel'] = $config['responseClass']; - } - - $this->resolveParameters(); - } - - /** - * @return array - */ - public function toArray() - { - return $this->config; - } - - /** - * Get the service description that the operation belongs to - * - * @return Description - */ - public function getServiceDescription() - { - return $this->description; - } - - /** - * Get the params of the operation - * - * @return Parameter[] - */ - public function getParams() - { - return $this->parameters; - } - - /** - * Get additionalParameters of the operation - * - * @return Parameter|null - */ - public function getAdditionalParameters() - { - return $this->additionalParameters; - } - - /** - * Check if the operation has a specific parameter by name - * - * @param string $name Name of the param - * - * @return bool - */ - public function hasParam($name) - { - return isset($this->parameters[$name]); - } - - /** - * Get a single parameter of the operation - * - * @param string $name Parameter to retrieve by name - * - * @return Parameter|null - */ - public function getParam($name) - { - return isset($this->parameters[$name]) - ? $this->parameters[$name] - : null; - } - - /** - * Get the HTTP method of the operation - * - * @return string|null - */ - public function getHttpMethod() - { - return $this->config['httpMethod']; - } - - /** - * Get the name of the operation - * - * @return string|null - */ - public function getName() - { - return $this->config['name']; - } - - /** - * Get a short summary of what the operation does - * - * @return string|null - */ - public function getSummary() - { - return $this->config['summary']; - } - - /** - * Get a longer text field to explain the behavior of the operation - * - * @return string|null - */ - public function getNotes() - { - return $this->config['notes']; - } - - /** - * Get the documentation URL of the operation - * - * @return string|null - */ - public function getDocumentationUrl() - { - return $this->config['documentationUrl']; - } - - /** - * Get the name of the model used for processing the response. - * - * @return string - */ - public function getResponseModel() - { - return $this->config['responseModel']; - } - - /** - * Get whether or not the operation is deprecated - * - * @return bool - */ - public function getDeprecated() - { - return $this->config['deprecated']; - } - - /** - * Get the URI that will be merged into the generated request - * - * @return string - */ - public function getUri() - { - return $this->config['uri']; - } - - /** - * Get the errors that could be encountered when executing the operation - * - * @return array - */ - public function getErrorResponses() - { - return $this->config['errorResponses']; - } - - /** - * Get extra data from the operation - * - * @param string $name Name of the data point to retrieve or null to - * retrieve all of the extra data. - * - * @return mixed|null - */ - public function getData($name = null) - { - if ($name === null) { - return $this->config['data']; - } elseif (isset($this->config['data'][$name])) { - return $this->config['data'][$name]; - } else { - return null; - } - } - - /** - * @param $name - * @param array $config - * @return array - */ - private function resolveExtends($name, array $config) - { - if (!$this->description->hasOperation($name)) { - throw new \InvalidArgumentException('No operation named ' . $name); - } - - // Merge parameters together one level deep - $base = $this->description->getOperation($name)->toArray(); - $result = $config + $base; - - if (isset($base['parameters']) && isset($config['parameters'])) { - $result['parameters'] = $config['parameters'] + $base['parameters']; - } - - return $result; - } - - /** - * Process the description and extract the parameter config - * - * @return void - */ - private function resolveParameters() - { - // Parameters need special handling when adding - foreach ($this->config['parameters'] as $name => $param) { - if (!is_array($param)) { - throw new \InvalidArgumentException( - "Parameters must be arrays, {$this->config['name']}.$name is ".gettype($param) - ); - } - $param['name'] = $name; - $this->parameters[$name] = new Parameter( - $param, - ['description' => $this->description] - ); - } - - if ($this->config['additionalParameters']) { - if (is_array($this->config['additionalParameters'])) { - $this->additionalParameters = new Parameter( - $this->config['additionalParameters'], - ['description' => $this->description] - ); - } else { - $this->additionalParameters = $this->config['additionalParameters']; - } - } - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/Parameter.php b/vendor/guzzlehttp/guzzle-services/src/Parameter.php deleted file mode 100644 index 8b3c39f2..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/Parameter.php +++ /dev/null @@ -1,655 +0,0 @@ -originalData = $data; - - if (isset($options['description'])) { - $this->serviceDescription = $options['description']; - if (!($this->serviceDescription instanceof DescriptionInterface)) { - throw new \InvalidArgumentException('description must be a Description'); - } - if (isset($data['$ref'])) { - if ($model = $this->serviceDescription->getModel($data['$ref'])) { - $name = isset($data['name']) ? $data['name'] : null; - $data = $model->toArray() + $data; - if ($name) { - $data['name'] = $name; - } - } - } elseif (isset($data['extends'])) { - // If this parameter extends from another parameter then start - // with the actual data union in the parent's data (e.g. actual - // supersedes parent) - if ($extends = $this->serviceDescription->getModel($data['extends'])) { - $data += $extends->toArray(); - } - } - } - - // Pull configuration data into the parameter - foreach ($data as $key => $value) { - $this->{$key} = $value; - } - - $this->required = (bool) $this->required; - $this->data = (array) $this->data; - - if ($this->filters) { - $this->setFilters((array) $this->filters); - } - - if ($this->type == 'object' && $this->additionalProperties === null) { - $this->additionalProperties = true; - } - } - - /** - * Convert the object to an array - * - * @return array - */ - public function toArray() - { - return $this->originalData; - } - - /** - * Get the default or static value of the command based on a value - * - * @param string $value Value that is currently set - * - * @return mixed Returns the value, a static value if one is present, or a default value - */ - public function getValue($value) - { - if ($this->static || ($this->default !== null && $value === null)) { - return $this->default; - } - - return $value; - } - - /** - * Run a value through the filters OR format attribute associated with the - * parameter. - * - * @param mixed $value Value to filter - * - * @return mixed Returns the filtered value - * @throws \RuntimeException when trying to format when no service - * description is available. - */ - public function filter($value) - { - // Formats are applied exclusively and supersed filters - if ($this->format) { - if (!$this->serviceDescription) { - throw new \RuntimeException('No service description was set so ' - . 'the value cannot be formatted.'); - } - return $this->serviceDescription->format($this->format, $value); - } - - // Convert Boolean values - if ($this->type == 'boolean' && !is_bool($value)) { - $value = filter_var($value, FILTER_VALIDATE_BOOLEAN); - } - - // Apply filters to the value - if ($this->filters) { - foreach ($this->filters as $filter) { - if (is_array($filter)) { - // Convert complex filters that hold value place holders - foreach ($filter['args'] as &$data) { - if ($data == '@value') { - $data = $value; - } elseif ($data == '@api') { - $data = $this; - } - } - $value = call_user_func_array( - $filter['method'], - $filter['args'] - ); - } else { - $value = call_user_func($filter, $value); - } - } - } - - return $value; - } - - /** - * Get the name of the parameter - * - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Set the name of the parameter - * - * @param string $name Name to set - */ - public function setName($name) - { - $this->name = $name; - } - - /** - * Get the key of the parameter, where sentAs will supersede name if it is - * set. - * - * @return string - */ - public function getWireName() - { - return $this->sentAs ?: $this->name; - } - - /** - * Get the type(s) of the parameter - * - * @return string|array - */ - public function getType() - { - return $this->type; - } - - /** - * Get if the parameter is required - * - * @return bool - */ - public function isRequired() - { - return $this->required; - } - - /** - * Get the default value of the parameter - * - * @return string|null - */ - public function getDefault() - { - return $this->default; - } - - /** - * Get the description of the parameter - * - * @return string|null - */ - public function getDescription() - { - return $this->description; - } - - /** - * Get the minimum acceptable value for an integer - * - * @return int|null - */ - public function getMinimum() - { - return $this->minimum; - } - - /** - * Get the maximum acceptable value for an integer - * - * @return int|null - */ - public function getMaximum() - { - return $this->maximum; - } - - /** - * Get the minimum allowed length of a string value - * - * @return int - */ - public function getMinLength() - { - return $this->minLength; - } - - /** - * Get the maximum allowed length of a string value - * - * @return int|null - */ - public function getMaxLength() - { - return $this->maxLength; - } - - /** - * Get the maximum allowed number of items in an array value - * - * @return int|null - */ - public function getMaxItems() - { - return $this->maxItems; - } - - /** - * Get the minimum allowed number of items in an array value - * - * @return int - */ - public function getMinItems() - { - return $this->minItems; - } - - /** - * Get the location of the parameter - * - * @return string|null - */ - public function getLocation() - { - return $this->location; - } - - /** - * Get the sentAs attribute of the parameter that used with locations to - * sentAs an attribute when it is being applied to a location. - * - * @return string|null - */ - public function getSentAs() - { - return $this->sentAs; - } - - /** - * Retrieve a known property from the parameter by name or a data property - * by name. When no specific name value is passed, all data properties - * will be returned. - * - * @param string|null $name Specify a particular property name to retrieve - * - * @return array|mixed|null - */ - public function getData($name = null) - { - if (!$name) { - return $this->data; - } elseif (isset($this->data[$name])) { - return $this->data[$name]; - } elseif (isset($this->{$name})) { - return $this->{$name}; - } - - return null; - } - - /** - * Get whether or not the default value can be changed - * - * @return bool - */ - public function isStatic() - { - return $this->static; - } - - /** - * Get an array of filters used by the parameter - * - * @return array - */ - public function getFilters() - { - return $this->filters ?: []; - } - - /** - * Get the properties of the parameter - * - * @return Parameter[] - */ - public function getProperties() - { - if (!$this->propertiesCache) { - $this->propertiesCache = []; - foreach (array_keys($this->properties) as $name) { - $this->propertiesCache[$name] = $this->getProperty($name); - } - } - - return $this->propertiesCache; - } - - /** - * Get a specific property from the parameter - * - * @param string $name Name of the property to retrieve - * - * @return null|Parameter - */ - public function getProperty($name) - { - if (!isset($this->properties[$name])) { - return null; - } - - if (!($this->properties[$name] instanceof self)) { - $this->properties[$name]['name'] = $name; - $this->properties[$name] = new static( - $this->properties[$name], - ['description' => $this->serviceDescription] - ); - } - - return $this->properties[$name]; - } - - /** - * Get the additionalProperties value of the parameter - * - * @return bool|Parameter|null - */ - public function getAdditionalProperties() - { - if (is_array($this->additionalProperties)) { - $this->additionalProperties = new static( - $this->additionalProperties, - ['description' => $this->serviceDescription] - ); - } - - return $this->additionalProperties; - } - - /** - * Get the item data of the parameter - * - * @return Parameter - */ - public function getItems() - { - if (is_array($this->items)) { - $this->items = new static( - $this->items, - ['description' => $this->serviceDescription] - ); - } - - return $this->items; - } - - /** - * Get the enum of strings that are valid for the parameter - * - * @return array|null - */ - public function getEnum() - { - return $this->enum; - } - - /** - * Get the regex pattern that must match a value when the value is a string - * - * @return string - */ - public function getPattern() - { - return $this->pattern; - } - - /** - * Get the format attribute of the schema - * - * @return string - */ - public function getFormat() - { - return $this->format; - } - - /** - * Set the array of filters used by the parameter - * - * @param array $filters Array of functions to use as filters - * - * @return self - */ - private function setFilters(array $filters) - { - $this->filters = []; - foreach ($filters as $filter) { - $this->addFilter($filter); - } - - return $this; - } - - /** - * Add a filter to the parameter - * - * @param string|array $filter Method to filter the value through - * - * @return self - * @throws \InvalidArgumentException - */ - private function addFilter($filter) - { - if (is_array($filter)) { - if (!isset($filter['method'])) { - throw new \InvalidArgumentException( - 'A [method] value must be specified for each complex filter' - ); - } - } - - if (!$this->filters) { - $this->filters = [$filter]; - } else { - $this->filters[] = $filter; - } - - return $this; - } - - /** - * Check if a parameter has a specific variable and if it set. - * - * @param string $var - * @return bool - */ - public function has($var) - { - if (!is_string($var)) { - throw new \InvalidArgumentException('Expected a string. Got: ' . (is_object($var) ? get_class($var) : gettype($var))); - } - return isset($this->{$var}) && !empty($this->{$var}); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/QuerySerializer/QuerySerializerInterface.php b/vendor/guzzlehttp/guzzle-services/src/QuerySerializer/QuerySerializerInterface.php deleted file mode 100644 index ad7fb113..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/QuerySerializer/QuerySerializerInterface.php +++ /dev/null @@ -1,13 +0,0 @@ -removeNumericIndices = $removeNumericIndices; - } - - /** - * {@inheritDoc} - */ - public function aggregate(array $queryParams) - { - $queryString = http_build_query($queryParams, null, '&', PHP_QUERY_RFC3986); - - if ($this->removeNumericIndices) { - $queryString = preg_replace('/%5B[0-9]+%5D/simU', '%5B%5D', $queryString); - } - - return $queryString; - } -} \ No newline at end of file diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/AbstractLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/AbstractLocation.php deleted file mode 100644 index 29b484b0..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/AbstractLocation.php +++ /dev/null @@ -1,101 +0,0 @@ -locationName = $locationName; - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Parameter $param - * @return RequestInterface - */ - public function visit( - CommandInterface $command, - RequestInterface $request, - Parameter $param - ) { - return $request; - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * @return RequestInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - return $request; - } - - /** - * Prepare (filter and set desired name for request item) the value for - * request. - * - * @param mixed $value - * @param Parameter $param - * - * @return array|mixed - */ - protected function prepareValue($value, Parameter $param) - { - return is_array($value) - ? $this->resolveRecursively($value, $param) - : $param->filter($value); - } - - /** - * Recursively prepare and filter nested values. - * - * @param array $value Value to map - * @param Parameter $param Parameter related to the current key. - * - * @return array Returns the mapped array - */ - protected function resolveRecursively(array $value, Parameter $param) - { - foreach ($value as $name => &$v) { - switch ($param->getType()) { - case 'object': - if ($subParam = $param->getProperty($name)) { - $key = $subParam->getWireName(); - $value[$key] = $this->prepareValue($v, $subParam); - if ($name != $key) { - unset($value[$name]); - } - } elseif ($param->getAdditionalProperties() instanceof Parameter) { - $v = $this->prepareValue($v, $param->getAdditionalProperties()); - } - break; - case 'array': - if ($items = $param->getItems()) { - $v = $this->prepareValue($v, $items); - } - break; - } - } - - return $param->filter($value); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/BodyLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/BodyLocation.php deleted file mode 100644 index aef4eb00..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/BodyLocation.php +++ /dev/null @@ -1,49 +0,0 @@ -getBody()->getContents(); - - $value = $command[$param->getName()]; - $value = $param->getName() . '=' . $param->filter($value); - - if ($oldValue !== '') { - $value = $oldValue . '&' . $value; - } - - return $request->withBody(Psr7\stream_for($value)); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/FormParamLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/FormParamLocation.php deleted file mode 100644 index 83005366..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/FormParamLocation.php +++ /dev/null @@ -1,84 +0,0 @@ -formParamsData['form_params'][$param->getWireName()] = $this->prepareValue( - $command[$param->getName()], - $param - ); - - return $request; - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * - * @return RequestInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - $data = $this->formParamsData; - $this->formParamsData = []; - $modify = []; - - // Add additional parameters to the form_params array - $additional = $operation->getAdditionalParameters(); - if ($additional && $additional->getLocation() == $this->locationName) { - foreach ($command->toArray() as $key => $value) { - if (!$operation->hasParam($key)) { - $data['form_params'][$key] = $this->prepareValue($value, $additional); - } - } - } - - $body = http_build_query($data['form_params'], '', '&'); - $modify['body'] = Psr7\stream_for($body); - $modify['set_headers']['Content-Type'] = $this->contentType; - $request = Psr7\modify_request($request, $modify); - - return $request; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/HeaderLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/HeaderLocation.php deleted file mode 100644 index cb067c46..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/HeaderLocation.php +++ /dev/null @@ -1,67 +0,0 @@ -getName()]; - - return $request->withHeader($param->getWireName(), $param->filter($value)); - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * - * @return RequestInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - /** @var Parameter $additional */ - $additional = $operation->getAdditionalParameters(); - if ($additional && ($additional->getLocation() === $this->locationName)) { - foreach ($command->toArray() as $key => $value) { - if (!$operation->hasParam($key)) { - $request = $request->withHeader($key, $additional->filter($value)); - } - } - } - - return $request; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/JsonLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/JsonLocation.php deleted file mode 100644 index f3a2a52a..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/JsonLocation.php +++ /dev/null @@ -1,85 +0,0 @@ -jsonContentType = $contentType; - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Parameter $param - * - * @return RequestInterface - */ - public function visit( - CommandInterface $command, - RequestInterface $request, - Parameter $param - ) { - $this->jsonData[$param->getWireName()] = $this->prepareValue( - $command[$param->getName()], - $param - ); - - return $request->withBody(Psr7\stream_for(\GuzzleHttp\json_encode($this->jsonData))); - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * - * @return MessageInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - $data = $this->jsonData; - $this->jsonData = []; - - // Add additional parameters to the JSON document - $additional = $operation->getAdditionalParameters(); - if ($additional && ($additional->getLocation() === $this->locationName)) { - foreach ($command->toArray() as $key => $value) { - if (!$operation->hasParam($key)) { - $data[$key] = $this->prepareValue($value, $additional); - } - } - } - - // Don't overwrite the Content-Type if one is set - if ($this->jsonContentType && !$request->hasHeader('Content-Type')) { - $request = $request->withHeader('Content-Type', $this->jsonContentType); - } - - return $request->withBody(Psr7\stream_for(\GuzzleHttp\json_encode($data))); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/MultiPartLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/MultiPartLocation.php deleted file mode 100644 index 7bde5db4..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/MultiPartLocation.php +++ /dev/null @@ -1,76 +0,0 @@ -multipartData[] = [ - 'name' => $param->getWireName(), - 'contents' => $this->prepareValue($command[$param->getName()], $param) - ]; - - return $request; - } - - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * @return RequestInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - $data = $this->multipartData; - $this->multipartData = []; - $modify = []; - - $body = new Psr7\MultipartStream($data); - $modify['body'] = Psr7\stream_for($body); - $request = Psr7\modify_request($request, $modify); - if ($request->getBody() instanceof Psr7\MultipartStream) { - // Use a multipart/form-data POST if a Content-Type is not set. - $request->withHeader('Content-Type', $this->contentType . $request->getBody()->getBoundary()); - } - - return $request; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/QueryLocation.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/QueryLocation.php deleted file mode 100644 index 1e7a342f..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/QueryLocation.php +++ /dev/null @@ -1,92 +0,0 @@ -querySerializer = $querySerializer ?: new Rfc3986Serializer(); - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Parameter $param - * - * @return RequestInterface - */ - public function visit( - CommandInterface $command, - RequestInterface $request, - Parameter $param - ) { - $uri = $request->getUri(); - $query = Psr7\parse_query($uri->getQuery()); - - $query[$param->getWireName()] = $this->prepareValue( - $command[$param->getName()], - $param - ); - - $uri = $uri->withQuery($this->querySerializer->aggregate($query)); - - return $request->withUri($uri); - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * - * @return RequestInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - $additional = $operation->getAdditionalParameters(); - if ($additional && $additional->getLocation() == $this->locationName) { - foreach ($command->toArray() as $key => $value) { - if (!$operation->hasParam($key)) { - $uri = $request->getUri(); - $query = Psr7\parse_query($uri->getQuery()); - - $query[$key] = $this->prepareValue( - $value, - $additional - ); - - $uri = $uri->withQuery($this->querySerializer->aggregate($query)); - $request = $request->withUri($uri); - } - } - } - - return $request; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/RequestLocationInterface.php b/vendor/guzzlehttp/guzzle-services/src/RequestLocation/RequestLocationInterface.php deleted file mode 100644 index c0350ff3..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/RequestLocation/RequestLocationInterface.php +++ /dev/null @@ -1,44 +0,0 @@ -contentType = $contentType; - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Parameter $param - * - * @return RequestInterface - */ - public function visit( - CommandInterface $command, - RequestInterface $request, - Parameter $param - ) { - // Buffer and order the parameters to visit based on if they are - // top-level attributes or child nodes. - // @link https://github.com/guzzle/guzzle/pull/494 - if ($param->getData('xmlAttribute')) { - array_unshift($this->buffered, $param); - } else { - $this->buffered[] = $param; - } - - return $request; - } - - /** - * @param CommandInterface $command - * @param RequestInterface $request - * @param Operation $operation - * - * @return RequestInterface - */ - public function after( - CommandInterface $command, - RequestInterface $request, - Operation $operation - ) { - foreach ($this->buffered as $param) { - $this->visitWithValue( - $command[$param->getName()], - $param, - $operation - ); - } - - $this->buffered = []; - - $additional = $operation->getAdditionalParameters(); - if ($additional && $additional->getLocation() == $this->locationName) { - foreach ($command->toArray() as $key => $value) { - if (!$operation->hasParam($key)) { - $additional->setName($key); - $this->visitWithValue($value, $additional, $operation); - } - } - $additional->setName(null); - } - - // If data was found that needs to be serialized, then do so - $xml = ''; - if ($this->writer) { - $xml = $this->finishDocument($this->writer); - } elseif ($operation->getData('xmlAllowEmpty')) { - // Check if XML should always be sent for the command - $writer = $this->createRootElement($operation); - $xml = $this->finishDocument($writer); - } - - if ($xml !== '') { - $request = $request->withBody(Psr7\stream_for($xml)); - // Don't overwrite the Content-Type if one is set - if ($this->contentType && !$request->hasHeader('Content-Type')) { - $request = $request->withHeader('Content-Type', $this->contentType); - } - } - - $this->writer = null; - - return $request; - } - - /** - * Create the root XML element to use with a request - * - * @param Operation $operation Operation object - * - * @return \XMLWriter - */ - protected function createRootElement(Operation $operation) - { - static $defaultRoot = ['name' => 'Request']; - // If no root element was specified, then just wrap the XML in 'Request' - $root = $operation->getData('xmlRoot') ?: $defaultRoot; - // Allow the XML declaration to be customized with xmlEncoding - $encoding = $operation->getData('xmlEncoding'); - $writer = $this->startDocument($encoding); - $writer->startElement($root['name']); - - // Create the wrapping element with no namespaces if no namespaces were present - if (!empty($root['namespaces'])) { - // Create the wrapping element with an array of one or more namespaces - foreach ((array) $root['namespaces'] as $prefix => $uri) { - $nsLabel = 'xmlns'; - if (!is_numeric($prefix)) { - $nsLabel .= ':'.$prefix; - } - $writer->writeAttribute($nsLabel, $uri); - } - } - - return $writer; - } - - /** - * Recursively build the XML body - * - * @param \XMLWriter $writer XML to modify - * @param Parameter $param API Parameter - * @param mixed $value Value to add - */ - protected function addXml(\XMLWriter $writer, Parameter $param, $value) - { - $value = $param->filter($value); - $type = $param->getType(); - $name = $param->getWireName(); - $prefix = null; - $namespace = $param->getData('xmlNamespace'); - if (false !== strpos($name, ':')) { - list($prefix, $name) = explode(':', $name, 2); - } - - if ($type == 'object' || $type == 'array') { - if (!$param->getData('xmlFlattened')) { - if ($namespace) { - $writer->startElementNS(null, $name, $namespace); - } else { - $writer->startElement($name); - } - } - if ($param->getType() == 'array') { - $this->addXmlArray($writer, $param, $value); - } elseif ($param->getType() == 'object') { - $this->addXmlObject($writer, $param, $value); - } - if (!$param->getData('xmlFlattened')) { - $writer->endElement(); - } - return; - } - if ($param->getData('xmlAttribute')) { - $this->writeAttribute($writer, $prefix, $name, $namespace, $value); - } else { - $this->writeElement($writer, $prefix, $name, $namespace, $value); - } - } - - /** - * Write an attribute with namespace if used - * - * @param \XMLWriter $writer XMLWriter instance - * @param string $prefix Namespace prefix if any - * @param string $name Attribute name - * @param string $namespace The uri of the namespace - * @param string $value The attribute content - */ - protected function writeAttribute($writer, $prefix, $name, $namespace, $value) - { - if ($namespace) { - $writer->writeAttributeNS($prefix, $name, $namespace, $value); - } else { - $writer->writeAttribute($name, $value); - } - } - - /** - * Write an element with namespace if used - * - * @param \XMLWriter $writer XML writer resource - * @param string $prefix Namespace prefix if any - * @param string $name Element name - * @param string $namespace The uri of the namespace - * @param string $value The element content - */ - protected function writeElement(\XMLWriter $writer, $prefix, $name, $namespace, $value) - { - if ($namespace) { - $writer->startElementNS($prefix, $name, $namespace); - } else { - $writer->startElement($name); - } - if (strpbrk($value, '<>&')) { - $writer->writeCData($value); - } else { - $writer->writeRaw($value); - } - $writer->endElement(); - } - - /** - * Create a new xml writer and start a document - * - * @param string $encoding document encoding - * - * @return \XMLWriter the writer resource - * @throws \RuntimeException if the document cannot be started - */ - protected function startDocument($encoding) - { - $this->writer = new \XMLWriter(); - if (!$this->writer->openMemory()) { - throw new \RuntimeException('Unable to open XML document in memory'); - } - if (!$this->writer->startDocument('1.0', $encoding)) { - throw new \RuntimeException('Unable to start XML document'); - } - - return $this->writer; - } - - /** - * End the document and return the output - * - * @param \XMLWriter $writer - * - * @return string the writer resource - */ - protected function finishDocument($writer) - { - $writer->endDocument(); - - return $writer->outputMemory(); - } - - /** - * Add an array to the XML - * - * @param \XMLWriter $writer - * @param Parameter $param - * @param $value - */ - protected function addXmlArray(\XMLWriter $writer, Parameter $param, &$value) - { - if ($items = $param->getItems()) { - foreach ($value as $v) { - $this->addXml($writer, $items, $v); - } - } - } - - /** - * Add an object to the XML - * - * @param \XMLWriter $writer - * @param Parameter $param - * @param $value - */ - protected function addXmlObject(\XMLWriter $writer, Parameter $param, &$value) - { - $noAttributes = []; - - // add values which have attributes - foreach ($value as $name => $v) { - if ($property = $param->getProperty($name)) { - if ($property->getData('xmlAttribute')) { - $this->addXml($writer, $property, $v); - } else { - $noAttributes[] = ['value' => $v, 'property' => $property]; - } - } - } - - // now add values with no attributes - foreach ($noAttributes as $element) { - $this->addXml($writer, $element['property'], $element['value']); - } - } - - /** - * @param $value - * @param Parameter $param - * @param Operation $operation - */ - private function visitWithValue( - $value, - Parameter $param, - Operation $operation - ) { - if (!$this->writer) { - $this->createRootElement($operation); - } - - $this->addXml($this->writer, $param, $value); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/AbstractLocation.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/AbstractLocation.php deleted file mode 100644 index 97adc72f..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/AbstractLocation.php +++ /dev/null @@ -1,69 +0,0 @@ -locationName = $locationName; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $model - * @return ResultInterface - */ - public function before( - ResultInterface $result, - ResponseInterface $response, - Parameter $model - ) { - return $result; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $model - * @return ResultInterface - */ - public function after( - ResultInterface $result, - ResponseInterface $response, - Parameter $model - ) { - return $result; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $param - * @return ResultInterface - */ - public function visit( - ResultInterface $result, - ResponseInterface $response, - Parameter $param - ) { - return $result; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/BodyLocation.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/BodyLocation.php deleted file mode 100644 index f21d60a8..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/BodyLocation.php +++ /dev/null @@ -1,39 +0,0 @@ -getName()] = $param->filter($response->getBody()); - - return $result; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/HeaderLocation.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/HeaderLocation.php deleted file mode 100644 index d156aff1..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/HeaderLocation.php +++ /dev/null @@ -1,47 +0,0 @@ -getName(); - if ($header = $response->getHeader($param->getWireName())) { - if (is_array($header)) { - $header = array_shift($header); - } - $result[$name] = $param->filter($header); - } - - return $result; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/JsonLocation.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/JsonLocation.php deleted file mode 100644 index f94c7844..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/JsonLocation.php +++ /dev/null @@ -1,176 +0,0 @@ -getBody(); - $body = $body ?: "{}"; - $this->json = \GuzzleHttp\json_decode($body, true); - // relocate named arrays, so that they have the same structure as - // arrays nested in objects and visit can work on them in the same way - if ($model->getType() === 'array' && ($name = $model->getName())) { - $this->json = [$name => $this->json]; - } - - return $result; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $model - * @return ResultInterface - */ - public function after( - ResultInterface $result, - ResponseInterface $response, - Parameter $model - ) { - // Handle additional, undefined properties - $additional = $model->getAdditionalProperties(); - if (!($additional instanceof Parameter)) { - return $result; - } - - // Use the model location as the default if one is not set on additional - $addLocation = $additional->getLocation() ?: $model->getLocation(); - if ($addLocation == $this->locationName) { - foreach ($this->json as $prop => $val) { - if (!isset($result[$prop])) { - // Only recurse if there is a type specified - $result[$prop] = $additional->getType() - ? $this->recurse($additional, $val) - : $val; - } - } - } - - $this->json = []; - - return $result; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $param - * @return Result|ResultInterface - */ - public function visit( - ResultInterface $result, - ResponseInterface $response, - Parameter $param - ) { - $name = $param->getName(); - $key = $param->getWireName(); - - // Check if the result should be treated as a list - if ($param->getType() == 'array') { - // Treat as javascript array - if ($name) { - // name provided, store it under a key in the array - $subArray = isset($this->json[$key]) ? $this->json[$key] : null; - $result[$name] = $this->recurse($param, $subArray); - } else { - // top-level `array` or an empty name - $result = new Result(array_merge( - $result->toArray(), - $this->recurse($param, $this->json) - )); - } - } elseif (isset($this->json[$key])) { - $result[$name] = $this->recurse($param, $this->json[$key]); - } - - return $result; - } - - /** - * Recursively process a parameter while applying filters - * - * @param Parameter $param API parameter being validated - * @param mixed $value Value to process. - * @return mixed|null - */ - private function recurse(Parameter $param, $value) - { - if (!is_array($value)) { - return $param->filter($value); - } - - $result = []; - $type = $param->getType(); - - if ($type == 'array') { - $items = $param->getItems(); - foreach ($value as $val) { - $result[] = $this->recurse($items, $val); - } - } elseif ($type == 'object' && !isset($value[0])) { - // On the above line, we ensure that the array is associative and - // not numerically indexed - if ($properties = $param->getProperties()) { - foreach ($properties as $property) { - $key = $property->getWireName(); - if (array_key_exists($key, $value)) { - $result[$property->getName()] = $this->recurse( - $property, - $value[$key] - ); - // Remove from the value so that AP can later be handled - unset($value[$key]); - } - } - } - // Only check additional properties if everything wasn't already - // handled - if ($value) { - $additional = $param->getAdditionalProperties(); - if ($additional === null || $additional === true) { - // Merge the JSON under the resulting array - $result += $value; - } elseif ($additional instanceof Parameter) { - // Process all child elements according to the given schema - foreach ($value as $prop => $val) { - $result[$prop] = $this->recurse($additional, $val); - } - } - } - } - - return $param->filter($result); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/ReasonPhraseLocation.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/ReasonPhraseLocation.php deleted file mode 100644 index 1cb590ff..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/ReasonPhraseLocation.php +++ /dev/null @@ -1,41 +0,0 @@ -getName()] = $param->filter( - $response->getReasonPhrase() - ); - - return $result; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/ResponseLocationInterface.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/ResponseLocationInterface.php deleted file mode 100644 index 8669dff8..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/ResponseLocationInterface.php +++ /dev/null @@ -1,61 +0,0 @@ -getName()] = $param->filter($response->getStatusCode()); - - return $result; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/XmlLocation.php b/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/XmlLocation.php deleted file mode 100644 index 94509098..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/ResponseLocation/XmlLocation.php +++ /dev/null @@ -1,311 +0,0 @@ -xml = simplexml_load_string((string) $response->getBody()); - - return $result; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $model - * @return Result|ResultInterface - */ - public function after( - ResultInterface $result, - ResponseInterface $response, - Parameter $model - ) { - // Handle additional, undefined properties - $additional = $model->getAdditionalProperties(); - if ($additional instanceof Parameter && - $additional->getLocation() == $this->locationName - ) { - $result = new Result(array_merge( - $result->toArray(), - self::xmlToArray($this->xml) - )); - } - - $this->xml = null; - - return $result; - } - - /** - * @param ResultInterface $result - * @param ResponseInterface $response - * @param Parameter $param - * @return ResultInterface - */ - public function visit( - ResultInterface $result, - ResponseInterface $response, - Parameter $param - ) { - $sentAs = $param->getWireName(); - $ns = null; - if (strstr($sentAs, ':')) { - list($ns, $sentAs) = explode(':', $sentAs); - } - - // Process the primary property - if (count($this->xml->children($ns, true)->{$sentAs})) { - $result[$param->getName()] = $this->recursiveProcess( - $param, - $this->xml->children($ns, true)->{$sentAs} - ); - } - - return $result; - } - - /** - * Recursively process a parameter while applying filters - * - * @param Parameter $param API parameter being processed - * @param \SimpleXMLElement $node Node being processed - * @return array - */ - private function recursiveProcess( - Parameter $param, - \SimpleXMLElement $node - ) { - $result = []; - $type = $param->getType(); - - if ($type == 'object') { - $result = $this->processObject($param, $node); - } elseif ($type == 'array') { - $result = $this->processArray($param, $node); - } else { - // We are probably handling a flat data node (i.e. string or - // integer), so let's check if it's childless, which indicates a - // node containing plain text. - if ($node->children()->count() == 0) { - // Retrieve text from node - $result = (string) $node; - } - } - - // Filter out the value - if (isset($result)) { - $result = $param->filter($result); - } - - return $result; - } - - /** - * @param Parameter $param - * @param \SimpleXMLElement $node - * @return array - */ - private function processArray(Parameter $param, \SimpleXMLElement $node) - { - // Cast to an array if the value was a string, but should be an array - $items = $param->getItems(); - $sentAs = $items->getWireName(); - $result = []; - $ns = null; - - if (strstr($sentAs, ':')) { - // Get namespace from the wire name - list($ns, $sentAs) = explode(':', $sentAs); - } else { - // Get namespace from data - $ns = $items->getData('xmlNs'); - } - - if ($sentAs === null) { - // A general collection of nodes - foreach ($node as $child) { - $result[] = $this->recursiveProcess($items, $child); - } - } else { - // A collection of named, repeating nodes - // (i.e. ) - $children = $node->children($ns, true)->{$sentAs}; - foreach ($children as $child) { - $result[] = $this->recursiveProcess($items, $child); - } - } - - return $result; - } - - /** - * Process an object - * - * @param Parameter $param API parameter being parsed - * @param \SimpleXMLElement $node Value to process - * @return array - */ - private function processObject(Parameter $param, \SimpleXMLElement $node) - { - $result = $knownProps = $knownAttributes = []; - - // Handle known properties - if ($properties = $param->getProperties()) { - foreach ($properties as $property) { - $name = $property->getName(); - $sentAs = $property->getWireName(); - $knownProps[$sentAs] = 1; - if (strpos($sentAs, ':')) { - list($ns, $sentAs) = explode(':', $sentAs); - } else { - $ns = $property->getData('xmlNs'); - } - - if ($property->getData('xmlAttribute')) { - // Handle XML attributes - $result[$name] = (string) $node->attributes($ns, true)->{$sentAs}; - $knownAttributes[$sentAs] = 1; - } elseif (count($node->children($ns, true)->{$sentAs})) { - // Found a child node matching wire name - $childNode = $node->children($ns, true)->{$sentAs}; - $result[$name] = $this->recursiveProcess( - $property, - $childNode - ); - } - } - } - - // Handle additional, undefined properties - $additional = $param->getAdditionalProperties(); - if ($additional instanceof Parameter) { - // Process all child elements according to the given schema - foreach ($node->children($additional->getData('xmlNs'), true) as $childNode) { - $sentAs = $childNode->getName(); - if (!isset($knownProps[$sentAs])) { - $result[$sentAs] = $this->recursiveProcess( - $additional, - $childNode - ); - } - } - } elseif ($additional === null || $additional === true) { - // Blindly transform the XML into an array preserving as much data - // as possible. Remove processed, aliased properties. - $array = array_diff_key(self::xmlToArray($node), $knownProps); - // Remove @attributes that were explicitly plucked from the - // attributes list. - if (isset($array['@attributes']) && $knownAttributes) { - $array['@attributes'] = array_diff_key($array['@attributes'], $knownProps); - if (!$array['@attributes']) { - unset($array['@attributes']); - } - } - - // Merge it together with the original result - $result = array_merge($array, $result); - } - - return $result; - } - - /** - * Convert an XML document to an array. - * - * @param \SimpleXMLElement $xml - * @param int $nesting - * @param null $ns - * - * @return array - */ - private static function xmlToArray( - \SimpleXMLElement $xml, - $ns = null, - $nesting = 0 - ) { - $result = []; - $children = $xml->children($ns, true); - - foreach ($children as $name => $child) { - $attributes = (array) $child->attributes($ns, true); - if (!isset($result[$name])) { - $childArray = self::xmlToArray($child, $ns, $nesting + 1); - $result[$name] = $attributes - ? array_merge($attributes, $childArray) - : $childArray; - continue; - } - // A child element with this name exists so we're assuming - // that the node contains a list of elements - if (!is_array($result[$name])) { - $result[$name] = [$result[$name]]; - } elseif (!isset($result[$name][0])) { - // Convert the first child into the first element of a numerically indexed array - $firstResult = $result[$name]; - $result[$name] = []; - $result[$name][] = $firstResult; - } - $childArray = self::xmlToArray($child, $ns, $nesting + 1); - if ($attributes) { - $result[$name][] = array_merge($attributes, $childArray); - } else { - $result[$name][] = $childArray; - } - } - - // Extract text from node - $text = trim((string) $xml); - if ($text === '') { - $text = null; - } - - // Process attributes - $attributes = (array) $xml->attributes($ns, true); - if ($attributes) { - if ($text !== null) { - $result['value'] = $text; - } - $result = array_merge($attributes, $result); - } elseif ($text !== null) { - $result = $text; - } - - // Make sure we're always returning an array - if ($nesting == 0 && !is_array($result)) { - $result = [$result]; - } - - return $result; - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/SchemaFormatter.php b/vendor/guzzlehttp/guzzle-services/src/SchemaFormatter.php deleted file mode 100644 index 34f7a884..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/SchemaFormatter.php +++ /dev/null @@ -1,141 +0,0 @@ -formatDateTime($value); - case 'date-time-http': - return $this->formatDateTimeHttp($value); - case 'date': - return $this->formatDate($value); - case 'time': - return $this->formatTime($value); - case 'timestamp': - return $this->formatTimestamp($value); - case 'boolean-string': - return $this->formatBooleanAsString($value); - default: - return $value; - } - } - - /** - * Perform the actual DateTime formatting - * - * @param int|string|\DateTime $dateTime Date time value - * @param string $format Format of the result - * - * @return string - * @throws \InvalidArgumentException - */ - protected function dateFormatter($dateTime, $format) - { - if (is_numeric($dateTime)) { - return gmdate($format, (int) $dateTime); - } - - if (is_string($dateTime)) { - $dateTime = new \DateTime($dateTime); - } - - if ($dateTime instanceof \DateTimeInterface) { - static $utc; - if (!$utc) { - $utc = new \DateTimeZone('UTC'); - } - return $dateTime->setTimezone($utc)->format($format); - } - - throw new \InvalidArgumentException('Date/Time values must be either ' - . 'be a string, integer, or DateTime object'); - } - - /** - * Create a ISO 8601 (YYYY-MM-DDThh:mm:ssZ) formatted date time value in - * UTC time. - * - * @param string|integer|\DateTime $value Date time value - * - * @return string - */ - private function formatDateTime($value) - { - return $this->dateFormatter($value, 'Y-m-d\TH:i:s\Z'); - } - - /** - * Create an HTTP date (RFC 1123 / RFC 822) formatted UTC date-time string - * - * @param string|integer|\DateTime $value Date time value - * - * @return string - */ - private function formatDateTimeHttp($value) - { - return $this->dateFormatter($value, 'D, d M Y H:i:s \G\M\T'); - } - - /** - * Create a YYYY-MM-DD formatted string - * - * @param string|integer|\DateTime $value Date time value - * - * @return string - */ - private function formatDate($value) - { - return $this->dateFormatter($value, 'Y-m-d'); - } - - /** - * Create a hh:mm:ss formatted string - * - * @param string|integer|\DateTime $value Date time value - * - * @return string - */ - private function formatTime($value) - { - return $this->dateFormatter($value, 'H:i:s'); - } - - /** - * Formats a boolean value as a string - * - * @param string|integer|bool $value Value to convert to a boolean - * 'true' / 'false' value - * - * @return string - */ - private function formatBooleanAsString($value) - { - return filter_var($value, FILTER_VALIDATE_BOOLEAN) ? 'true' : 'false'; - } - - /** - * Return a UNIX timestamp in the UTC timezone - * - * @param string|integer|\DateTime $value Time value - * - * @return int - */ - private function formatTimestamp($value) - { - return (int) $this->dateFormatter($value, 'U'); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/SchemaValidator.php b/vendor/guzzlehttp/guzzle-services/src/SchemaValidator.php deleted file mode 100644 index 4a2833f3..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/SchemaValidator.php +++ /dev/null @@ -1,297 +0,0 @@ -castIntegerToStringType = $castIntegerToStringType; - } - - /** - * @param Parameter $param - * @param $value - * @return bool - */ - public function validate(Parameter $param, &$value) - { - $this->errors = []; - $this->recursiveProcess($param, $value); - - if (empty($this->errors)) { - return true; - } else { - sort($this->errors); - return false; - } - } - - /** - * Get the errors encountered while validating - * - * @return array - */ - public function getErrors() - { - return $this->errors ?: []; - } - - /** - * From the allowable types, determine the type that the variable matches - * - * @param string|array $type Parameter type - * @param mixed $value Value to determine the type - * - * @return string|false Returns the matching type on - */ - protected function determineType($type, $value) - { - foreach ((array) $type as $t) { - if ($t == 'string' - && (is_string($value) || (is_object($value) && method_exists($value, '__toString'))) - ) { - return 'string'; - } elseif ($t == 'object' && (is_array($value) || is_object($value))) { - return 'object'; - } elseif ($t == 'array' && is_array($value)) { - return 'array'; - } elseif ($t == 'integer' && is_integer($value)) { - return 'integer'; - } elseif ($t == 'boolean' && is_bool($value)) { - return 'boolean'; - } elseif ($t == 'number' && is_numeric($value)) { - return 'number'; - } elseif ($t == 'numeric' && is_numeric($value)) { - return 'numeric'; - } elseif ($t == 'null' && !$value) { - return 'null'; - } elseif ($t == 'any') { - return 'any'; - } - } - - return false; - } - - /** - * Recursively validate a parameter - * - * @param Parameter $param API parameter being validated - * @param mixed $value Value to validate and validate. The value may - * change during this validate. - * @param string $path Current validation path (used for error reporting) - * @param int $depth Current depth in the validation validate - * - * @return bool Returns true if valid, or false if invalid - */ - protected function recursiveProcess( - Parameter $param, - &$value, - $path = '', - $depth = 0 - ) { - // Update the value by adding default or static values - $value = $param->getValue($value); - - $required = $param->isRequired(); - // if the value is null and the parameter is not required or is static, - // then skip any further recursion - if ((null === $value && !$required) || $param->isStatic()) { - return true; - } - - $type = $param->getType(); - // Attempt to limit the number of times is_array is called by tracking - // if the value is an array - $valueIsArray = is_array($value); - // If a name is set then update the path so that validation messages - // are more helpful - if ($name = $param->getName()) { - $path .= "[{$name}]"; - } - - if ($type == 'object') { - // Determine whether or not this "value" has properties and should - // be traversed - $traverse = $temporaryValue = false; - - // Convert the value to an array - if (!$valueIsArray && $value instanceof ToArrayInterface) { - $value = $value->toArray(); - } - - if ($valueIsArray) { - // Ensure that the array is associative and not numerically - // indexed - if (isset($value[0])) { - $this->errors[] = "{$path} must be an array of properties. Got a numerically indexed array."; - return false; - } - $traverse = true; - } elseif ($value === null) { - // Attempt to let the contents be built up by default values if - // possible - $value = []; - $temporaryValue = $valueIsArray = $traverse = true; - } - - if ($traverse) { - if ($properties = $param->getProperties()) { - // if properties were found, validate each property - foreach ($properties as $property) { - $name = $property->getName(); - if (isset($value[$name])) { - $this->recursiveProcess($property, $value[$name], $path, $depth + 1); - } else { - $current = null; - $this->recursiveProcess($property, $current, $path, $depth + 1); - // Only set the value if it was populated - if (null !== $current) { - $value[$name] = $current; - } - } - } - } - - $additional = $param->getAdditionalProperties(); - if ($additional !== true) { - // If additional properties were found, then validate each - // against the additionalProperties attr. - $keys = array_keys($value); - // Determine the keys that were specified that were not - // listed in the properties of the schema - $diff = array_diff($keys, array_keys($properties)); - if (!empty($diff)) { - // Determine which keys are not in the properties - if ($additional instanceof Parameter) { - foreach ($diff as $key) { - $this->recursiveProcess($additional, $value[$key], "{$path}[{$key}]", $depth); - } - } else { - // if additionalProperties is set to false and there - // are additionalProperties in the values, then fail - foreach ($diff as $prop) { - $this->errors[] = sprintf('%s[%s] is not an allowed property', $path, $prop); - } - } - } - } - - // A temporary value will be used to traverse elements that - // have no corresponding input value. This allows nested - // required parameters with default values to bubble up into the - // input. Here we check if we used a temp value and nothing - // bubbled up, then we need to remote the value. - if ($temporaryValue && empty($value)) { - $value = null; - $valueIsArray = false; - } - } - - } elseif ($type == 'array' && $valueIsArray && $param->getItems()) { - foreach ($value as $i => &$item) { - // Validate each item in an array against the items attribute of the schema - $this->recursiveProcess($param->getItems(), $item, $path . "[{$i}]", $depth + 1); - } - } - - // If the value is required and the type is not null, then there is an - // error if the value is not set - if ($required && $value === null && $type != 'null') { - $message = "{$path} is " . ($param->getType() - ? ('a required ' . implode(' or ', (array) $param->getType())) - : 'required'); - if ($param->has('description')) { - $message .= ': ' . $param->getDescription(); - } - $this->errors[] = $message; - return false; - } - - // Validate that the type is correct. If the type is string but an - // integer was passed, the class can be instructed to cast the integer - // to a string to pass validation. This is the default behavior. - if ($type && (!$type = $this->determineType($type, $value))) { - if ($this->castIntegerToStringType - && $param->getType() == 'string' - && is_integer($value) - ) { - $value = (string) $value; - } else { - $this->errors[] = "{$path} must be of type " . implode(' or ', (array) $param->getType()); - } - } - - // Perform type specific validation for strings, arrays, and integers - if ($type == 'string') { - // Strings can have enums which are a list of predefined values - if (($enum = $param->getEnum()) && !in_array($value, $enum)) { - $this->errors[] = "{$path} must be one of " . implode(' or ', array_map(function ($s) { - return '"' . addslashes($s) . '"'; - }, $enum)); - } - // Strings can have a regex pattern that the value must match - if (($pattern = $param->getPattern()) && !preg_match($pattern, $value)) { - $this->errors[] = "{$path} must match the following regular expression: {$pattern}"; - } - - $strLen = null; - if ($min = $param->getMinLength()) { - $strLen = strlen($value); - if ($strLen < $min) { - $this->errors[] = "{$path} length must be greater than or equal to {$min}"; - } - } - if ($max = $param->getMaxLength()) { - if (($strLen ?: strlen($value)) > $max) { - $this->errors[] = "{$path} length must be less than or equal to {$max}"; - } - } - - } elseif ($type == 'array') { - $size = null; - if ($min = $param->getMinItems()) { - $size = count($value); - if ($size < $min) { - $this->errors[] = "{$path} must contain {$min} or more elements"; - } - } - if ($max = $param->getMaxItems()) { - if (($size ?: count($value)) > $max) { - $this->errors[] = "{$path} must contain {$max} or fewer elements"; - } - } - - } elseif ($type == 'integer' || $type == 'number' || $type == 'numeric') { - if (($min = $param->getMinimum()) && $value < $min) { - $this->errors[] = "{$path} must be greater than or equal to {$min}"; - } - if (($max = $param->getMaximum()) && $value > $max) { - $this->errors[] = "{$path} must be less than or equal to {$max}"; - } - } - - return empty($this->errors); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/src/Serializer.php b/vendor/guzzlehttp/guzzle-services/src/Serializer.php deleted file mode 100644 index 160fbc25..00000000 --- a/vendor/guzzlehttp/guzzle-services/src/Serializer.php +++ /dev/null @@ -1,164 +0,0 @@ - new BodyLocation(), - 'query' => new QueryLocation(), - 'header' => new HeaderLocation(), - 'json' => new JsonLocation(), - 'xml' => new XmlLocation(), - 'formParam' => new FormParamLocation(), - 'multipart' => new MultiPartLocation(), - ]; - } - - $this->locations = $requestLocations + $defaultRequestLocations; - $this->description = $description; - } - - /** - * @param CommandInterface $command - * @return RequestInterface - */ - public function __invoke(CommandInterface $command) - { - $request = $this->createRequest($command); - return $this->prepareRequest($command, $request); - } - - /** - * Prepares a request for sending using location visitors - * - * @param CommandInterface $command - * @param RequestInterface $request Request being created - * @return RequestInterface - * @throws \RuntimeException If a location cannot be handled - */ - protected function prepareRequest( - CommandInterface $command, - RequestInterface $request - ) { - $visitedLocations = []; - $operation = $this->description->getOperation($command->getName()); - - // Visit each actual parameter - foreach ($operation->getParams() as $name => $param) { - /* @var Parameter $param */ - $location = $param->getLocation(); - // Skip parameters that have not been set or are URI location - if ($location == 'uri' || !$command->hasParam($name)) { - continue; - } - if (!isset($this->locations[$location])) { - throw new \RuntimeException("No location registered for $name"); - } - $visitedLocations[$location] = true; - $request = $this->locations[$location]->visit($command, $request, $param); - } - - // Ensure that the after() method is invoked for additionalParameters - /** @var Parameter $additional */ - if ($additional = $operation->getAdditionalParameters()) { - $visitedLocations[$additional->getLocation()] = true; - } - - // Call the after() method for each visited location - foreach (array_keys($visitedLocations) as $location) { - $request = $this->locations[$location]->after($command, $request, $operation); - } - - return $request; - } - - /** - * Create a request for the command and operation - * - * @param CommandInterface $command - * - * @return RequestInterface - * @throws \RuntimeException - */ - protected function createRequest(CommandInterface $command) - { - $operation = $this->description->getOperation($command->getName()); - - // If command does not specify a template, assume the client's base URL. - if (null === $operation->getUri()) { - return new Request( - $operation->getHttpMethod(), - $this->description->getBaseUri() - ); - } - - return $this->createCommandWithUri($operation, $command); - } - - /** - * Create a request for an operation with a uri merged onto a base URI - * - * @param \GuzzleHttp\Command\Guzzle\Operation $operation - * @param \GuzzleHttp\Command\CommandInterface $command - * - * @return \GuzzleHttp\Psr7\Request - */ - private function createCommandWithUri( - Operation $operation, - CommandInterface $command - ) { - // Get the path values and use the client config settings - $variables = []; - foreach ($operation->getParams() as $name => $arg) { - /* @var Parameter $arg */ - if ($arg->getLocation() == 'uri') { - if (isset($command[$name])) { - $variables[$name] = $arg->filter($command[$name]); - if (!is_array($variables[$name])) { - $variables[$name] = (string) $variables[$name]; - } - } - } - } - - // Expand the URI template. - $uri = \GuzzleHttp\uri_template($operation->getUri(), $variables); - - return new Request( - $operation->getHttpMethod(), - Uri::resolve($this->description->getBaseUri(), $uri) - ); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/Asset/Exception/CustomCommandException.php b/vendor/guzzlehttp/guzzle-services/tests/Asset/Exception/CustomCommandException.php deleted file mode 100644 index f9dfe6dd..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/Asset/Exception/CustomCommandException.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Title - - - - - \ No newline at end of file diff --git a/vendor/guzzlehttp/guzzle-services/tests/DescriptionTest.php b/vendor/guzzlehttp/guzzle-services/tests/DescriptionTest.php deleted file mode 100644 index 9f73cf3d..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/DescriptionTest.php +++ /dev/null @@ -1,184 +0,0 @@ -operations = [ - 'test_command' => [ - 'name' => 'test_command', - 'description' => 'documentationForCommand', - 'httpMethod' => 'DELETE', - 'class' => 'FooModel', - 'parameters' => [ - 'bucket' => ['required' => true], - 'key' => ['required' => true] - ] - ] - ]; - } - - public function testConstructor() - { - $service = new Description(['operations' => $this->operations]); - $this->assertEquals(1, count($service->getOperations())); - $this->assertFalse($service->hasOperation('foobar')); - $this->assertTrue($service->hasOperation('test_command')); - } - - public function testContainsModels() - { - $d = new Description([ - 'operations' => ['foo' => []], - 'models' => [ - 'Tag' => ['type' => 'object'], - 'Person' => ['type' => 'object'] - ] - ]); - $this->assertTrue($d->hasModel('Tag')); - $this->assertTrue($d->hasModel('Person')); - $this->assertFalse($d->hasModel('Foo')); - $this->assertInstanceOf(Parameter::class, $d->getModel('Tag')); - $this->assertEquals(['Tag', 'Person'], array_keys($d->getModels())); - } - - public function testCanUseResponseClass() - { - $d = new Description([ - 'operations' => [ - 'foo' => ['responseClass' => 'Tag'] - ], - 'models' => ['Tag' => ['type' => 'object']] - ]); - $op = $d->getOperation('foo'); - $this->assertNotNull($op->getResponseModel()); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testRetrievingMissingModelThrowsException() - { - $d = new Description([]); - $d->getModel('foo'); - } - - public function testHasAttributes() - { - $d = new Description([ - 'operations' => [], - 'name' => 'Name', - 'description' => 'Description', - 'apiVersion' => '1.24' - ]); - - $this->assertEquals('Name', $d->getName()); - $this->assertEquals('Description', $d->getDescription()); - $this->assertEquals('1.24', $d->getApiVersion()); - } - - public function testPersistsCustomAttributes() - { - $data = [ - 'operations' => ['foo' => ['class' => 'foo', 'parameters' => []]], - 'name' => 'Name', - 'description' => 'Test', - 'apiVersion' => '1.24', - 'auth' => 'foo', - 'keyParam' => 'bar' - ]; - $d = new Description($data); - $this->assertEquals('foo', $d->getData('auth')); - $this->assertEquals('bar', $d->getData('keyParam')); - $this->assertEquals(['auth' => 'foo', 'keyParam' => 'bar'], $d->getData()); - $this->assertNull($d->getData('missing')); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testThrowsExceptionForMissingOperation() - { - $s = new Description([]); - $this->assertNull($s->getOperation('foo')); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testValidatesOperationTypes() - { - new Description([ - 'operations' => ['foo' => new \stdClass()] - ]); - } - - public function testHasbaseUrl() - { - $description = new Description(['baseUrl' => 'http://foo.com']); - $this->assertEquals('http://foo.com', $description->getBaseUri()); - } - - public function testHasbaseUri() - { - $description = new Description(['baseUri' => 'http://foo.com']); - $this->assertEquals('http://foo.com', $description->getBaseUri()); - } - - public function testModelsHaveNames() - { - $desc = [ - 'models' => [ - 'date' => ['type' => 'string'], - 'user'=> [ - 'type' => 'object', - 'properties' => [ - 'dob' => ['$ref' => 'date'] - ] - ] - ] - ]; - - $s = new Description($desc); - $this->assertEquals('string', $s->getModel('date')->getType()); - $this->assertEquals('dob', $s->getModel('user')->getProperty('dob')->getName()); - } - - public function testHasOperations() - { - $desc = ['operations' => ['foo' => ['parameters' => ['foo' => [ - 'name' => 'foo' - ]]]]]; - $s = new Description($desc); - $this->assertInstanceOf(Operation::class, $s->getOperation('foo')); - $this->assertSame($s->getOperation('foo'), $s->getOperation('foo')); - } - - public function testHasFormatter() - { - $s = new Description([]); - $this->assertNotEmpty($s->format('date', 'now')); - } - - public function testCanUseCustomFormatter() - { - $formatter = $this->getMockBuilder(SchemaFormatter::class) - ->setMethods(['format']) - ->getMock(); - $formatter->expects($this->once()) - ->method('format'); - $s = new Description([], ['formatter' => $formatter]); - $s->format('time', 'now'); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/DeserializerTest.php b/vendor/guzzlehttp/guzzle-services/tests/DeserializerTest.php deleted file mode 100644 index a44f9802..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/DeserializerTest.php +++ /dev/null @@ -1,386 +0,0 @@ -serviceClient = $this->getMockBuilder(GuzzleClient::class) - ->disableOriginalConstructor() - ->getMock(); - $this->command = $this->getMockBuilder(CommandInterface::class)->getMock(); - } - - protected function prepareErrorResponses($commandName, array $errors = []) - { - $this->command->expects($this->once())->method('getName')->will($this->returnValue($commandName)); - - $description = $this->getMockBuilder(DescriptionInterface::class)->getMock(); - $operation = new Operation(['errorResponses' => $errors], $description); - - $description->expects($this->once()) - ->method('getOperation') - ->with($commandName) - ->will($this->returnValue($operation)); - - $this->serviceClient->expects($this->once()) - ->method('getDescription') - ->will($this->returnValue($description)); - } - - public function testDoNothingIfNoException() - { - $mock = new MockHandler([new Response(200)]); - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org/{foo}', - 'httpMethod' => 'GET', - 'responseModel' => 'j', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true, - 'location' => 'uri' - ] - ] - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object' - ] - ] - ]); - $httpClient = new HttpClient(['handler' => $mock]); - $client = new GuzzleClient($httpClient, $description); - $client->foo(['bar' => 'baz']); - } - - /** - * @expectedException \GuzzleHttp\Tests\Command\Guzzle\Asset\Exception\CustomCommandException - */ - public function testCreateExceptionWithCode() - { - $response = new Response(404); - $mock = new MockHandler([$response]); - - $description = new Description([ - 'name' => 'Test API', - 'baseUri' => 'http://httpbin.org', - 'operations' => [ - 'foo' => [ - 'uri' => '/{foo}', - 'httpMethod' => 'GET', - 'responseClass' => 'Foo', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'Unique user name (alphanumeric)', - 'location' => 'json' - ], - ], - 'errorResponses' => [ - ['code' => 404, 'class' => CustomCommandException::class] - ] - ] - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - - $httpClient = new HttpClient(['handler' => $mock]); - $client = new GuzzleClient($httpClient, $description); - $client->foo(['bar' => 'baz']); - } - - public function testNotCreateExceptionIfDoesNotMatchCode() - { - $response = new Response(401); - $mock = new MockHandler([$response]); - - $description = new Description([ - 'name' => 'Test API', - 'baseUri' => 'http://httpbin.org', - 'operations' => [ - 'foo' => [ - 'uri' => '/{foo}', - 'httpMethod' => 'GET', - 'responseClass' => 'Foo', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'Unique user name (alphanumeric)', - 'location' => 'json' - ], - ], - 'errorResponses' => [ - ['code' => 404, 'class' => CustomCommandException::class] - ] - ] - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - - $httpClient = new HttpClient(['handler' => $mock]); - $client = new GuzzleClient($httpClient, $description); - $client->foo(['bar' => 'baz']); - } - - /** - * @expectedException \GuzzleHttp\Tests\Command\Guzzle\Asset\Exception\CustomCommandException - */ - public function testCreateExceptionWithExactMatchOfReasonPhrase() - { - $response = new Response(404, [], null, '1.1', 'Bar'); - $mock = new MockHandler([$response]); - - $description = new Description([ - 'name' => 'Test API', - 'baseUri' => 'http://httpbin.org', - 'operations' => [ - 'foo' => [ - 'uri' => '/{foo}', - 'httpMethod' => 'GET', - 'responseClass' => 'Foo', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'Unique user name (alphanumeric)', - 'location' => 'json' - ], - ], - 'errorResponses' => [ - ['code' => 404, 'phrase' => 'Bar', 'class' => CustomCommandException::class] - ] - ] - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - - $httpClient = new HttpClient(['handler' => $mock]); - $client = new GuzzleClient($httpClient, $description); - $client->foo(['bar' => 'baz']); - } - - /** - * @expectedException \GuzzleHttp\Tests\Command\Guzzle\Asset\Exception\OtherCustomCommandException - */ - public function testFavourMostPreciseMatch() - { - $response = new Response(404, [], null, '1.1', 'Bar'); - $mock = new MockHandler([$response]); - - $description = new Description([ - 'name' => 'Test API', - 'baseUri' => 'http://httpbin.org', - 'operations' => [ - 'foo' => [ - 'uri' => '/{foo}', - 'httpMethod' => 'GET', - 'responseClass' => 'Foo', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'Unique user name (alphanumeric)', - 'location' => 'json' - ], - ], - 'errorResponses' => [ - ['code' => 404, 'class' => CustomCommandException::class], - ['code' => 404, 'phrase' => 'Bar', 'class' => OtherCustomCommandException::class], - ] - ] - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - - $httpClient = new HttpClient(['handler' => $mock]); - $client = new GuzzleClient($httpClient, $description); - $client->foo(['bar' => 'baz']); - } - - /** - * @expectedException \GuzzleHttp\Command\Exception\CommandException - * @expectedExceptionMessage 404 - */ - public function testDoesNotAddResultWhenExceptionIsPresent() - { - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org/{foo}', - 'httpMethod' => 'GET', - 'responseModel' => 'j', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true, - 'location' => 'uri' - ] - ] - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object' - ] - ] - ]); - - $mock = new MockHandler([new Response(404)]); - $stack = HandlerStack::create($mock); - $httpClient = new HttpClient(['handler' => $stack]); - $client = new GuzzleClient($httpClient, $description); - $client->foo(['bar' => 'baz']); - } - - public function testReturnsExpectedResult() - { - $loginResponse = new Response( - 200, - [], - '{ - "LoginResponse":{ - "result":{ - "type":4, - "username":{ - "uid":38664492, - "content":"skyfillers-api-test" - }, - "token":"3FB1F21014D630481D35CBC30CBF4043" - }, - "status":{ - "code":200, - "content":"OK" - } - } - }' - ); - $mock = new MockHandler([$loginResponse]); - - $description = new Description([ - 'name' => 'Test API', - 'baseUri' => 'http://httpbin.org', - 'operations' => [ - 'Login' => [ - 'uri' => '/{foo}', - 'httpMethod' => 'POST', - 'responseClass' => 'LoginResponse', - 'parameters' => [ - 'username' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'Unique user name (alphanumeric)', - 'location' => 'json' - ], - 'password' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'User\'s password', - 'location' => 'json' - ], - 'response' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Determines the response type: xml = result content will be xml formatted (default); plain = result content will be simple text, without structure; json = result content will be json formatted', - 'location' => 'json' - ], - 'token' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Provides the authentication token', - 'location' => 'json' - ] - ] - ] - ], - 'models' => [ - 'LoginResponse' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - - $httpClient = new HttpClient(['handler' => $mock]); - $client = new GuzzleClient($httpClient, $description); - $result = $client->Login([ - 'username' => 'test', - 'password' => 'test', - 'response' => 'json', - ]); - - $expected = [ - 'result' => [ - 'type' => 4, - 'username' => [ - 'uid' => 38664492, - 'content' => 'skyfillers-api-test' - ], - 'token' => '3FB1F21014D630481D35CBC30CBF4043' - ], - 'status' => [ - 'code' => 200, - 'content' => 'OK' - ] - ]; - $this->assertArraySubset($expected, $result['LoginResponse']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/GuzzleClientTest.php b/vendor/guzzlehttp/guzzle-services/tests/GuzzleClientTest.php deleted file mode 100644 index 0e5c9d9c..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/GuzzleClientTest.php +++ /dev/null @@ -1,1037 +0,0 @@ -getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foofoo":"barbar"}'), - ], - null, - $this->commandToRequestTransformer() - ); - - // Synchronous - $result1 = $client->doThatThingYouDo(['fizz' => 'buzz']); - $this->assertEquals('bar', $result1['foo']); - $this->assertEquals('buzz', $result1['_request']['fizz']); - $this->assertEquals('doThatThingYouDo', $result1['_request']['action']); - - // Asynchronous - $result2 = $client->doThatThingOtherYouDoAsync(['fizz' => 'buzz'])->wait(); - $this->assertEquals('barbar', $result2['foofoo']); - $this->assertEquals('doThatThingOtherYouDo', $result2['_request']['action']); - } - - public function testExecuteWithQueryLocation() - { - $mock = new MockHandler(); - $client = $this->getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}') - ], - $mock - ); - - $client->doQueryLocation(['foo' => 'Foo']); - $this->assertEquals('foo=Foo', $mock->getLastRequest()->getUri()->getQuery()); - - $client->doQueryLocation([ - 'foo' => 'Foo', - 'bar' => 'Bar', - 'baz' => 'Baz' - ]); - $last = $mock->getLastRequest(); - $this->assertEquals('foo=Foo&bar=Bar&baz=Baz', $last->getUri()->getQuery()); - } - - public function testExecuteWithBodyLocation() - { - $mock = new MockHandler(); - - $client = $this->getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}') - ], - $mock - ); - - $client->doBodyLocation(['foo' => 'Foo']); - $this->assertEquals('foo=Foo', (string) $mock->getLastRequest()->getBody()); - - $client->doBodyLocation([ - 'foo' => 'Foo', - 'bar' => 'Bar', - 'baz' => 'Baz' - ]); - $this->assertEquals('foo=Foo&bar=Bar&baz=Baz', (string) $mock->getLastRequest()->getBody()); - } - - public function testExecuteWithJsonLocation() - { - $mock = new MockHandler(); - - $client = $this->getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}') - ], - $mock - ); - - $client->doJsonLocation(['foo' => 'Foo']); - $this->assertEquals('{"foo":"Foo"}', (string) $mock->getLastRequest()->getBody()); - - $client->doJsonLocation([ - 'foo' => 'Foo', - 'bar' => 'Bar', - 'baz' => 'Baz' - ]); - $this->assertEquals('{"foo":"Foo","bar":"Bar","baz":"Baz"}', (string) $mock->getLastRequest()->getBody()); - } - - public function testExecuteWithHeaderLocation() - { - $mock = new MockHandler(); - - $client = $this->getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}') - ], - $mock - ); - - $client->doHeaderLocation(['foo' => 'Foo']); - $this->assertEquals(['Foo'], $mock->getLastRequest()->getHeader('foo')); - - $client->doHeaderLocation([ - 'foo' => 'Foo', - 'bar' => 'Bar', - 'baz' => 'Baz' - ]); - $this->assertEquals(['Foo'], $mock->getLastRequest()->getHeader('foo')); - $this->assertEquals(['Bar'], $mock->getLastRequest()->getHeader('bar')); - $this->assertEquals(['Baz'], $mock->getLastRequest()->getHeader('baz')); - } - - public function testExecuteWithXmlLocation() - { - $mock = new MockHandler(); - - $client = $this->getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}') - ], - $mock - ); - - $client->doXmlLocation(['foo' => 'Foo']); - $this->assertEquals( - "\nFoo\n", - (string) $mock->getLastRequest()->getBody() - ); - - $client->doXmlLocation([ - 'foo' => 'Foo', - 'bar' => 'Bar', - 'baz' => 'Baz' - ]); - $this->assertEquals( - "\nFooBarBaz\n", - $mock->getLastRequest()->getBody() - ); - } - - public function testExecuteWithMultiPartLocation() - { - $mock = new MockHandler(); - - $client = $this->getServiceClient( - [ - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}'), - new Response(200, [], '{"foo":"bar"}') - ], - $mock - ); - - $client->doMultiPartLocation(['foo' => 'Foo']); - $multiPartRequestBody = (string) $mock->getLastRequest()->getBody(); - $this->assertContains('name="foo"', $multiPartRequestBody); - $this->assertContains('Foo', $multiPartRequestBody); - - $client->doMultiPartLocation([ - 'foo' => 'Foo', - 'bar' => 'Bar', - 'baz' => 'Baz' - ]); - - $multiPartRequestBody = (string) $mock->getLastRequest()->getBody(); - $this->assertContains('name="foo"', $multiPartRequestBody); - $this->assertContains('Foo', $multiPartRequestBody); - $this->assertContains('name="bar"', $multiPartRequestBody); - $this->assertContains('Bar', $multiPartRequestBody); - $this->assertContains('name="baz"', $multiPartRequestBody); - $this->assertContains('Baz', $multiPartRequestBody); - - $client->doMultiPartLocation([ - 'file' => fopen(dirname(__FILE__) . '/Asset/test.html', 'r'), - ]); - $multiPartRequestBody = (string) $mock->getLastRequest()->getBody(); - $this->assertContains('name="file"', $multiPartRequestBody); - $this->assertContains('filename="test.html"', $multiPartRequestBody); - $this->assertContains('Title', $multiPartRequestBody); - } - - public function testHasConfig() - { - $client = new HttpClient(); - $description = new Description([]); - $guzzle = new GuzzleClient( - $client, - $description, - $this->commandToRequestTransformer(), - $this->responseToResultTransformer(), - null, - ['foo' => 'bar'] - ); - - $this->assertSame($client, $guzzle->getHttpClient()); - $this->assertSame($description, $guzzle->getDescription()); - $this->assertEquals('bar', $guzzle->getConfig('foo')); - $this->assertEquals([], $guzzle->getConfig('defaults')); - $guzzle->setConfig('abc', 'listen'); - $this->assertEquals('listen', $guzzle->getConfig('abc')); - } - - public function testAddsValidateHandlerWhenTrue() - { - $client = new HttpClient(); - $description = new Description([]); - $guzzle = new GuzzleClient( - $client, - $description, - $this->commandToRequestTransformer(), - $this->responseToResultTransformer(), - null, - [ - 'validate' => true, - 'process' => false - ] - ); - - $handlers = explode("\n", $guzzle->getHandlerStack()->__toString()); - $handlers = array_filter($handlers); - $this->assertCount(3, $handlers); - } - - public function testDisablesHandlersWhenFalse() - { - $client = new HttpClient(); - $description = new Description([]); - $guzzle = new GuzzleClient( - $client, - $description, - $this->commandToRequestTransformer(), - $this->responseToResultTransformer(), - null, - [ - 'validate' => false, - 'process' => false - ] - ); - - $handlers = explode("\n", $guzzle->getHandlerStack()->__toString()); - $handlers = array_filter($handlers); - $this->assertCount(1, $handlers); - } - - public function testValidateDescription() - { - $client = new HttpClient(); - $description = new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'Foo' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Bar', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'baz', - 'location' => 'query' - ], - ], - 'responseModel' => 'Foo' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'location' => 'json', - 'type' => 'string' - ], - 'location' => [ - 'location' => 'header', - 'sentAs' => 'Location', - 'type' => 'string' - ], - 'age' => [ - 'location' => 'json', - 'type' => 'integer' - ], - 'statusCode' => [ - 'location' => 'statusCode', - 'type' => 'integer' - ], - ], - ], - ], - ] - ); - - $guzzle = new GuzzleClient( - $client, - $description, - null, - null, - null, - [ - 'validate' => true, - 'process' => false - ] - ); - - $command = $guzzle->getCommand('Foo', ['baz' => 'BAZ']); - /** @var ResponseInterface $response */ - $response = $guzzle->execute($command); - $this->assertInstanceOf(Response::class, $response); - $this->assertEquals(200, $response->getStatusCode()); - } - - /** - * @expectedException \GuzzleHttp\Command\Exception\CommandException - * @expectedExceptionMessage Validation errors: [baz] is a required string: baz - */ - public function testValidateDescriptionFailsDueMissingRequiredParameter() - { - $client = new HttpClient(); - $description = new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'Foo' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Bar', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'baz', - 'location' => 'query' - ], - ], - 'responseModel' => 'Foo' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'location' => 'json', - 'type' => 'string' - ], - 'location' => [ - 'location' => 'header', - 'sentAs' => 'Location', - 'type' => 'string' - ], - 'age' => [ - 'location' => 'json', - 'type' => 'integer' - ], - 'statusCode' => [ - 'location' => 'statusCode', - 'type' => 'integer' - ], - ], - ], - ], - ] - ); - - $guzzle = new GuzzleClient( - $client, - $description, - null, - null, - null, - [ - 'validate' => true, - 'process' => false - ] - ); - - $command = $guzzle->getCommand('Foo'); - /** @var ResultInterface $result */ - $result = $guzzle->execute($command); - $this->assertInstanceOf(Result::class, $result); - $result = $result->toArray(); - $this->assertEquals(200, $result['statusCode']); - } - - /** - * @expectedException \GuzzleHttp\Command\Exception\CommandException - * @expectedExceptionMessage Validation errors: [baz] must be of type integer - */ - public function testValidateDescriptionFailsDueTypeMismatch() - { - $client = new HttpClient(); - $description = new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'Foo' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Bar', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'integer', - 'required' => true, - 'description' => 'baz', - 'location' => 'query' - ], - ], - 'responseModel' => 'Foo' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'location' => 'json', - 'type' => 'string' - ], - 'location' => [ - 'location' => 'header', - 'sentAs' => 'Location', - 'type' => 'string' - ], - 'age' => [ - 'location' => 'json', - 'type' => 'integer' - ], - 'statusCode' => [ - 'location' => 'statusCode', - 'type' => 'integer' - ], - ], - ], - ], - ] - ); - - $guzzle = new GuzzleClient( - $client, - $description, - null, - null, - null, - [ - 'validate' => true, - 'process' => false - ] - ); - - $command = $guzzle->getCommand('Foo', ['baz' => 'Hello']); - /** @var ResultInterface $result */ - $result = $guzzle->execute($command); - $this->assertInstanceOf(Result::class, $result); - $result = $result->toArray(); - $this->assertEquals(200, $result['statusCode']); - } - - public function testValidateDescriptionDoesNotFailWhenSendingIntegerButExpectingString() - { - $client = new HttpClient(); - $description = new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'Foo' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Bar', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'baz', - 'location' => 'query' - ], - ], - 'responseModel' => 'Foo' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'location' => 'json', - 'type' => 'string' - ], - 'location' => [ - 'location' => 'header', - 'sentAs' => 'Location', - 'type' => 'string' - ], - 'age' => [ - 'location' => 'json', - 'type' => 'integer' - ], - 'statusCode' => [ - 'location' => 'statusCode', - 'type' => 'integer' - ], - ], - ], - ], - ] - ); - - $guzzle = new GuzzleClient($client, $description); - - $command = $guzzle->getCommand('Foo', ['baz' => 42]); - /** @var ResultInterface $result */ - $result = $guzzle->execute($command); - $this->assertInstanceOf(Result::class, $result); - $result = $result->toArray(); - $this->assertEquals(200, $result['statusCode']); - } - - public function testMagicMethodExecutesCommands() - { - $client = new HttpClient(); - $description = new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'Foo' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Bar', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'baz', - 'location' => 'query' - ], - ], - 'responseModel' => 'Foo' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'location' => 'json', - 'type' => 'string' - ], - 'location' => [ - 'location' => 'header', - 'sentAs' => 'Location', - 'type' => 'string' - ], - 'age' => [ - 'location' => 'json', - 'type' => 'integer' - ], - 'statusCode' => [ - 'location' => 'statusCode', - 'type' => 'integer' - ], - ], - ], - ], - ] - ); - - $guzzle = $this->getMockBuilder(GuzzleClient::class) - ->setConstructorArgs([ - $client, - $description - ]) - ->setMethods(['execute']) - ->getMock(); - - $guzzle->expects($this->once()) - ->method('execute') - ->will($this->returnValue('foo')); - - $this->assertEquals('foo', $guzzle->foo([])); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage No operation found named Foo - */ - public function testThrowsWhenOperationNotFoundInDescription() - { - $client = new HttpClient(); - $description = new Description([]); - $guzzle = new GuzzleClient( - $client, - $description, - $this->commandToRequestTransformer(), - $this->responseToResultTransformer() - ); - $guzzle->getCommand('foo'); - } - - public function testReturnsProcessedResponse() - { - $client = new HttpClient(); - - $description = new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'Foo' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Bar', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'string', - 'required' => true, - 'description' => 'baz', - 'location' => 'query' - ], - ], - 'responseModel' => 'Foo' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'id' => [ - 'location' => 'json', - 'type' => 'string' - ], - 'location' => [ - 'location' => 'header', - 'sentAs' => 'Location', - 'type' => 'string' - ], - 'age' => [ - 'location' => 'json', - 'type' => 'integer' - ], - 'statusCode' => [ - 'location' => 'statusCode', - 'type' => 'integer' - ], - ], - ], - ], - ] - ); - - $guzzle = new GuzzleClient($client, $description, null, null); - $command = $guzzle->getCommand('foo', ['baz' => 'BAZ']); - - /** @var ResultInterface $result */ - $result = $guzzle->execute($command); - $this->assertInstanceOf(Result::class, $result); - $result = $result->toArray(); - $this->assertEquals(200, $result['statusCode']); - } - - private function getServiceClient( - array $responses, - MockHandler $mock = null, - callable $commandToRequestTransformer = null - ) { - $mock = $mock ?: new MockHandler(); - - foreach ($responses as $response) { - $mock->append($response); - } - - return new GuzzleClient( - new HttpClient([ - 'handler' => $mock - ]), - $this->getDescription(), - $commandToRequestTransformer, - $this->responseToResultTransformer(), - null, - ['foo' => 'bar'] - ); - } - - private function commandToRequestTransformer() - { - return function (CommandInterface $command) { - $data = $command->toArray(); - $data['action'] = $command->getName(); - - return new Request('POST', '/', [], http_build_query($data)); - }; - } - - private function responseToResultTransformer() - { - return function (ResponseInterface $response, RequestInterface $request, CommandInterface $command) { - $data = \GuzzleHttp\json_decode($response->getBody(), true); - parse_str($request->getBody(), $data['_request']); - - return new Result($data); - }; - } - - private function getDescription() - { - return new Description( - [ - 'name' => 'Testing API ', - 'baseUri' => 'http://httpbin.org/', - 'operations' => [ - 'doThatThingYouDo' => [ - 'responseModel' => 'Bar' - ], - 'doThatThingOtherYouDo' => [ - 'responseModel' => 'Foo' - ], - 'doQueryLocation' => [ - 'httpMethod' => 'GET', - 'uri' => '/queryLocation', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing query request location', - 'location' => 'query' - ], - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing query request location', - 'location' => 'query' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing query request location', - 'location' => 'query' - ] - ], - 'responseModel' => 'QueryResponse' - ], - 'doBodyLocation' => [ - 'httpMethod' => 'GET', - 'uri' => '/bodyLocation', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing body request location', - 'location' => 'body' - ], - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing body request location', - 'location' => 'body' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing body request location', - 'location' => 'body' - ] - ], - 'responseModel' => 'BodyResponse' - ], - 'doJsonLocation' => [ - 'httpMethod' => 'GET', - 'uri' => '/jsonLocation', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing json request location', - 'location' => 'json' - ], - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing json request location', - 'location' => 'json' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing json request location', - 'location' => 'json' - ] - ], - 'responseModel' => 'JsonResponse' - ], - 'doHeaderLocation' => [ - 'httpMethod' => 'GET', - 'uri' => '/headerLocation', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing header request location', - 'location' => 'header' - ], - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing header request location', - 'location' => 'header' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing header request location', - 'location' => 'header' - ] - ], - 'responseModel' => 'HeaderResponse' - ], - 'doXmlLocation' => [ - 'httpMethod' => 'GET', - 'uri' => '/xmlLocation', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing xml request location', - 'location' => 'xml' - ], - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing xml request location', - 'location' => 'xml' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing xml request location', - 'location' => 'xml' - ] - ], - 'responseModel' => 'XmlResponse' - ], - 'doMultiPartLocation' => [ - 'httpMethod' => 'POST', - 'uri' => '/multipartLocation', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing multipart request location', - 'location' => 'multipart' - ], - 'bar' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing multipart request location', - 'location' => 'multipart' - ], - 'baz' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'Testing multipart request location', - 'location' => 'multipart' - ], - 'file' => [ - 'type' => 'any', - 'required' => false, - 'description' => 'Testing multipart request location', - 'location' => 'multipart' - ] - ], - 'responseModel' => 'MultipartResponse' - ], - ], - 'models' => [ - 'Foo' => [ - 'type' => 'object', - 'properties' => [ - 'code' => [ - 'location' => 'statusCode' - ] - ] - ], - 'Bar' => [ - 'type' => 'object', - 'properties' => [ - 'code' => [' - location' => 'statusCode' - ] - ] - ] - ] - ] - ); - } - - public function testDocumentationExampleFromReadme() - { - $client = new HttpClient(); - $description = new Description([ - 'baseUrl' => 'http://httpbin.org/', - 'operations' => [ - 'testing' => [ - 'httpMethod' => 'GET', - 'uri' => '/get{?foo}', - 'responseModel' => 'getResponse', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'location' => 'uri' - ], - 'bar' => [ - 'type' => 'string', - 'location' => 'query' - ] - ] - ] - ], - 'models' => [ - 'getResponse' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - - $guzzle = new GuzzleClient($client, $description); - - $result = $guzzle->testing(['foo' => 'bar']); - $this->assertEquals('bar', $result['args']['foo']); - } - - public function testDescriptionWithExtends() - { - $client = new HttpClient(); - $description = new Description([ - 'baseUrl' => 'http://httpbin.org/', - 'operations' => [ - 'testing' => [ - 'httpMethod' => 'GET', - 'uri' => '/get', - 'responseModel' => 'getResponse', - 'parameters' => [ - 'foo' => [ - 'type' => 'string', - 'default' => 'foo', - 'location' => 'query' - ] - ] - ], - 'testing_extends' => [ - 'extends' => 'testing', - 'responseModel' => 'getResponse', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'location' => 'query' - ] - ] - ], - ], - 'models' => [ - 'getResponse' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'location' => 'json' - ] - ] - ] - ]); - $guzzle = new GuzzleClient($client, $description); - $result = $guzzle->testing_extends(['bar' => 'bar']); - $this->assertEquals('bar', $result['args']['bar']); - $this->assertEquals('foo', $result['args']['foo']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/Handler/ValidatedDescriptionHandlerTest.php b/vendor/guzzlehttp/guzzle-services/tests/Handler/ValidatedDescriptionHandlerTest.php deleted file mode 100644 index f02396c5..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/Handler/ValidatedDescriptionHandlerTest.php +++ /dev/null @@ -1,112 +0,0 @@ - [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j', - 'parameters' => [ - 'bar' => [ - 'type' => 'string', - 'required' => true - ] - ] - ] - ] - ]); - - $client = new GuzzleClient(new HttpClient(), $description); - $client->foo([]); - } - - public function testSuccessfulValidationDoesNotThrow() - { - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j', - 'parameters' => [] - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object' - ] - ] - ]); - - $client = new GuzzleClient(new HttpClient(), $description); - $client->foo([]); - } - - /** - * @expectedException \GuzzleHttp\Command\Exception\CommandException - * @expectedExceptionMessage Validation errors: [bar] must be of type string - */ - public function testValidatesAdditionalParameters() - { - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j', - 'additionalParameters' => [ - 'type' => 'string' - ] - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object' - ] - ] - ]); - - $client = new GuzzleClient(new HttpClient(), $description); - $client->foo(['bar' => new \stdClass()]); - } - - public function testFilterBeforeValidate() - { - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'parameters' => [ - 'bar' => [ - 'location' => 'uri', - 'type' => 'string', - 'format' => 'date-time', - 'required' => true - ] - ] - ] - ] - ]); - - $client = new GuzzleClient(new HttpClient(), $description); - $client->foo(['bar' => new \DateTimeImmutable()]); // Should not throw any exception - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/OperationTest.php b/vendor/guzzlehttp/guzzle-services/tests/OperationTest.php deleted file mode 100644 index 04313dd7..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/OperationTest.php +++ /dev/null @@ -1,227 +0,0 @@ - 'test', - 'summary' => 'doc', - 'notes' => 'notes', - 'documentationUrl' => 'http://www.example.com', - 'httpMethod' => 'POST', - 'uri' => '/api/v1', - 'responseModel' => 'abc', - 'deprecated' => true, - 'parameters' => [ - 'key' => [ - 'required' => true, - 'type' => 'string', - 'maxLength' => 10, - 'name' => 'key' - ], - 'key_2' => [ - 'required' => true, - 'type' => 'integer', - 'default' => 10, - 'name' => 'key_2' - ] - ] - ]); - - $this->assertEquals('test', $c->getName()); - $this->assertEquals('doc', $c->getSummary()); - $this->assertEquals('http://www.example.com', $c->getDocumentationUrl()); - $this->assertEquals('POST', $c->getHttpMethod()); - $this->assertEquals('/api/v1', $c->getUri()); - $this->assertEquals('abc', $c->getResponseModel()); - $this->assertTrue($c->getDeprecated()); - - $params = array_map(function ($c) { - return $c->toArray(); - }, $c->getParams()); - - $this->assertEquals([ - 'key' => [ - 'required' => true, - 'type' => 'string', - 'maxLength' => 10, - 'name' => 'key' - ], - 'key_2' => [ - 'required' => true, - 'type' => 'integer', - 'default' => 10, - 'name' => 'key_2' - ] - ], $params); - - $this->assertEquals([ - 'required' => true, - 'type' => 'integer', - 'default' => 10, - 'name' => 'key_2' - ], $c->getParam('key_2')->toArray()); - - $this->assertNull($c->getParam('afefwef')); - $this->assertArrayNotHasKey('parent', $c->getParam('key_2')->toArray()); - } - - public function testDeterminesIfHasParam() - { - $command = $this->getTestCommand(); - $this->assertTrue($command->hasParam('data')); - $this->assertFalse($command->hasParam('baz')); - } - - protected function getTestCommand() - { - return new Operation([ - 'parameters' => [ - 'data' => ['type' => 'string'] - ] - ]); - } - - public function testAddsNameToParametersIfNeeded() - { - $command = new Operation(['parameters' => ['foo' => []]]); - $this->assertEquals('foo', $command->getParam('foo')->getName()); - } - - public function testContainsApiErrorInformation() - { - $command = $this->getOperation(); - $this->assertEquals(1, count($command->getErrorResponses())); - } - - public function testHasNotes() - { - $o = new Operation(['notes' => 'foo']); - $this->assertEquals('foo', $o->getNotes()); - } - - public function testHasData() - { - $o = new Operation(['data' => ['foo' => 'baz', 'bar' => 123]]); - $this->assertEquals('baz', $o->getData('foo')); - $this->assertEquals(123, $o->getData('bar')); - $this->assertNull($o->getData('wfefwe')); - $this->assertEquals(['foo' => 'baz', 'bar' => 123], $o->getData()); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMesssage Parameters must be arrays - */ - public function testEnsuresParametersAreArrays() - { - new Operation(['parameters' => ['foo' => true]]); - } - - public function testHasDescription() - { - $s = new Description([]); - $o = new Operation([], $s); - $this->assertSame($s, $o->getServiceDescription()); - } - - public function testHasAdditionalParameters() - { - $o = new Operation([ - 'additionalParameters' => [ - 'type' => 'string', 'name' => 'binks', - ], - 'parameters' => [ - 'foo' => ['type' => 'integer'], - ], - ]); - $this->assertEquals('string', $o->getAdditionalParameters()->getType()); - } - - /** - * @return Operation - */ - protected function getOperation() - { - return new Operation([ - 'name' => 'OperationTest', - 'class' => get_class($this), - 'parameters' => [ - 'test' => ['type' => 'object'], - 'bool_1' => ['default' => true, 'type' => 'boolean'], - 'bool_2' => ['default' => false], - 'float' => ['type' => 'numeric'], - 'int' => ['type' => 'integer'], - 'date' => ['type' => 'string'], - 'timestamp' => ['type' => 'string'], - 'string' => ['type' => 'string'], - 'username' => ['type' => 'string', 'required' => true, 'filters' => 'strtolower'], - 'test_function' => ['type' => 'string', 'filters' => __CLASS__ . '::strtoupper'], - ], - 'errorResponses' => [ - [ - 'code' => 503, - 'reason' => 'InsufficientCapacity', - 'class' => 'Guzzle\\Exception\\RuntimeException', - ], - ], - ]); - } - - public function testCanExtendFromOtherOperations() - { - $d = new Description([ - 'operations' => [ - 'A' => [ - 'parameters' => [ - 'A' => [ - 'type' => 'object', - 'properties' => ['foo' => ['type' => 'string']] - ], - 'B' => ['type' => 'string'] - ], - 'summary' => 'foo' - ], - 'B' => [ - 'extends' => 'A', - 'summary' => 'Bar' - ], - 'C' => [ - 'extends' => 'B', - 'summary' => 'Bar', - 'parameters' => [ - 'B' => ['type' => 'number'] - ] - ] - ] - ]); - - $a = $d->getOperation('A'); - $this->assertEquals('foo', $a->getSummary()); - $this->assertTrue($a->hasParam('A')); - $this->assertEquals('string', $a->getParam('B')->getType()); - - $b = $d->getOperation('B'); - $this->assertTrue($a->hasParam('A')); - $this->assertEquals('Bar', $b->getSummary()); - $this->assertEquals('string', $a->getParam('B')->getType()); - - $c = $d->getOperation('C'); - $this->assertTrue($a->hasParam('A')); - $this->assertEquals('Bar', $c->getSummary()); - $this->assertEquals('number', $c->getParam('B')->getType()); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ParameterTest.php b/vendor/guzzlehttp/guzzle-services/tests/ParameterTest.php deleted file mode 100644 index 7bc937f3..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ParameterTest.php +++ /dev/null @@ -1,378 +0,0 @@ - 'foo', - 'type' => 'bar', - 'required' => true, - 'default' => '123', - 'description' => '456', - 'minLength' => 2, - 'maxLength' => 5, - 'location' => 'body', - 'static' => true, - 'filters' => ['trim', 'json_encode'] - ]; - - public function testCreatesParamFromArray() - { - $p = new Parameter($this->data); - $this->assertEquals('foo', $p->getName()); - $this->assertEquals('bar', $p->getType()); - $this->assertTrue($p->isRequired()); - $this->assertEquals('123', $p->getDefault()); - $this->assertEquals('456', $p->getDescription()); - $this->assertEquals(2, $p->getMinLength()); - $this->assertEquals(5, $p->getMaxLength()); - $this->assertEquals('body', $p->getLocation()); - $this->assertTrue($p->isStatic()); - $this->assertEquals(['trim', 'json_encode'], $p->getFilters()); - $p->setName('abc'); - $this->assertEquals('abc', $p->getName()); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testValidatesDescription() - { - new Parameter($this->data, ['description' => 'foo']); - } - - public function testCanConvertToArray() - { - $p = new Parameter($this->data); - $this->assertEquals($this->data, $p->toArray()); - } - - public function testUsesStatic() - { - $d = $this->data; - $d['default'] = 'booboo'; - $d['static'] = true; - $p = new Parameter($d); - $this->assertEquals('booboo', $p->getValue('bar')); - } - - public function testUsesDefault() - { - $d = $this->data; - $d['default'] = 'foo'; - $d['static'] = null; - $p = new Parameter($d); - $this->assertEquals('foo', $p->getValue(null)); - } - - public function testReturnsYourValue() - { - $d = $this->data; - $d['static'] = null; - $p = new Parameter($d); - $this->assertEquals('foo', $p->getValue('foo')); - } - - public function testZeroValueDoesNotCauseDefaultToBeReturned() - { - $d = $this->data; - $d['default'] = '1'; - $d['static'] = null; - $p = new Parameter($d); - $this->assertEquals('0', $p->getValue('0')); - } - - public function testFiltersValues() - { - $d = $this->data; - $d['static'] = null; - $d['filters'] = 'strtoupper'; - $p = new Parameter($d); - $this->assertEquals('FOO', $p->filter('foo')); - } - - /** - * @expectedException \RuntimeException - * @expectedExceptionMessage No service description - */ - public function testRequiresServiceDescriptionForFormatting() - { - $d = $this->data; - $d['format'] = 'foo'; - $p = new Parameter($d); - $p->filter('bar'); - } - - public function testConvertsBooleans() - { - $p = new Parameter(['type' => 'boolean']); - $this->assertEquals(true, $p->filter('true')); - $this->assertEquals(false, $p->filter('false')); - } - - public function testUsesArrayByDefaultForFilters() - { - $d = $this->data; - $d['filters'] = null; - $p = new Parameter($d); - $this->assertEquals([], $p->getFilters()); - } - - public function testAllowsSimpleLocationValue() - { - $p = new Parameter(['name' => 'myname', 'location' => 'foo', 'sentAs' => 'Hello']); - $this->assertEquals('foo', $p->getLocation()); - $this->assertEquals('Hello', $p->getSentAs()); - } - - public function testParsesTypeValues() - { - $p = new Parameter(['type' => 'foo']); - $this->assertEquals('foo', $p->getType()); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage A [method] value must be specified for each complex filter - */ - public function testValidatesComplexFilters() - { - $p = new Parameter(['filters' => [['args' => 'foo']]]); - } - - public function testAllowsComplexFilters() - { - $that = $this; - $param = new Parameter([ - 'filters' => [ - [ - 'method' => function ($a, $b, $c, $d) use ($that, &$param) { - $that->assertEquals('test', $a); - $that->assertEquals('my_value!', $b); - $that->assertEquals('bar', $c); - $that->assertSame($param, $d); - return 'abc' . $b; - }, - 'args' => ['test', '@value', 'bar', '@api'] - ] - ] - ]); - - $this->assertEquals('abcmy_value!', $param->filter('my_value!')); - } - - public function testAddsAdditionalProperties() - { - $p = new Parameter([ - 'type' => 'object', - 'additionalProperties' => ['type' => 'string'] - ]); - $this->assertInstanceOf('GuzzleHttp\Command\Guzzle\Parameter', $p->getAdditionalProperties()); - $this->assertNull($p->getAdditionalProperties()->getAdditionalProperties()); - $p = new Parameter(['type' => 'object']); - $this->assertTrue($p->getAdditionalProperties()); - } - - public function testAddsItems() - { - $p = new Parameter([ - 'type' => 'array', - 'items' => ['type' => 'string'] - ]); - $this->assertInstanceOf('GuzzleHttp\Command\Guzzle\Parameter', $p->getItems()); - $out = $p->toArray(); - $this->assertEquals('array', $out['type']); - $this->assertInternalType('array', $out['items']); - } - - public function testCanRetrieveKnownPropertiesUsingDataMethod() - { - $p = new Parameter(['data' => ['name' => 'test'], 'extra' => 'hi!']); - $this->assertEquals('test', $p->getData('name')); - $this->assertEquals(['name' => 'test'], $p->getData()); - $this->assertNull($p->getData('fjnweefe')); - $this->assertEquals('hi!', $p->getData('extra')); - } - - public function testHasPattern() - { - $p = new Parameter(['pattern' => '/[0-9]+/']); - $this->assertEquals('/[0-9]+/', $p->getPattern()); - } - - public function testHasEnum() - { - $p = new Parameter(['enum' => ['foo', 'bar']]); - $this->assertEquals(['foo', 'bar'], $p->getEnum()); - } - - public function testSerializesItems() - { - $p = new Parameter([ - 'type' => 'object', - 'additionalProperties' => ['type' => 'string'] - ]); - $this->assertEquals([ - 'type' => 'object', - 'additionalProperties' => ['type' => 'string'] - ], $p->toArray()); - } - - public function testResolvesRefKeysRecursively() - { - $description = new Description([ - 'models' => [ - 'JarJar' => ['type' => 'string', 'default' => 'Mesa address tha senate!'], - 'Anakin' => ['type' => 'array', 'items' => ['$ref' => 'JarJar']] - ], - ]); - $p = new Parameter(['$ref' => 'Anakin', 'description' => 'added'], ['description' => $description]); - $this->assertEquals([ - 'description' => 'added', - '$ref' => 'Anakin' - ], $p->toArray()); - } - - public function testResolvesExtendsRecursively() - { - $jarJar = ['type' => 'string', 'default' => 'Mesa address tha senate!', 'description' => 'a']; - $anakin = ['type' => 'array', 'items' => ['extends' => 'JarJar', 'description' => 'b']]; - $description = new Description([ - 'models' => ['JarJar' => $jarJar, 'Anakin' => $anakin] - ]); - // Description attribute will be updated, and format added - $p = new Parameter(['extends' => 'Anakin', 'format' => 'date'], ['description' => $description]); - $this->assertEquals([ - 'format' => 'date', - 'extends' => 'Anakin' - ], $p->toArray()); - } - - public function testHasKeyMethod() - { - $p = new Parameter(['name' => 'foo', 'sentAs' => 'bar']); - $this->assertEquals('bar', $p->getWireName()); - } - - public function testIncludesNameInToArrayWhenItemsAttributeHasName() - { - $p = new Parameter([ - 'type' => 'array', - 'name' => 'Abc', - 'items' => [ - 'name' => 'Foo', - 'type' => 'object' - ] - ]); - $result = $p->toArray(); - $this->assertEquals([ - 'type' => 'array', - 'name' => 'Abc', - 'items' => [ - 'name' => 'Foo', - 'type' => 'object' - ] - ], $result); - } - - public function dateTimeProvider() - { - $d = 'October 13, 2012 16:15:46 UTC'; - - return [ - [$d, 'date-time', '2012-10-13T16:15:46Z'], - [$d, 'date', '2012-10-13'], - [$d, 'timestamp', strtotime($d)], - [new \DateTime($d), 'timestamp', strtotime($d)] - ]; - } - - /** - * @dataProvider dateTimeProvider - */ - public function testAppliesFormat($d, $format, $result) - { - $p = new Parameter(['format' => $format], ['description' => new Description([])]); - $this->assertEquals($format, $p->getFormat()); - $this->assertEquals($result, $p->filter($d)); - } - - public function testHasMinAndMax() - { - $p = new Parameter([ - 'minimum' => 2, - 'maximum' => 3, - 'minItems' => 4, - 'maxItems' => 5, - ]); - $this->assertEquals(2, $p->getMinimum()); - $this->assertEquals(3, $p->getMaximum()); - $this->assertEquals(4, $p->getMinItems()); - $this->assertEquals(5, $p->getMaxItems()); - } - - public function testHasProperties() - { - $data = [ - 'type' => 'object', - 'properties' => [ - 'foo' => ['type' => 'string'], - 'bar' => ['type' => 'string'], - ] - ]; - $p = new Parameter($data); - $this->assertInstanceOf('GuzzleHttp\\Command\\Guzzle\\Parameter', $p->getProperty('foo')); - $this->assertSame($p->getProperty('foo'), $p->getProperty('foo')); - $this->assertNull($p->getProperty('wefwe')); - - $properties = $p->getProperties(); - $this->assertInternalType('array', $properties); - foreach ($properties as $prop) { - $this->assertInstanceOf('GuzzleHttp\\Command\\Guzzle\\Parameter', $prop); - } - - $this->assertEquals($data, $p->toArray()); - } - - /** - * @expectedException \InvalidArgumentException - * @expectedExceptionMessage Expected a string. Got: array - */ - public function testThrowsWhenNotPassString() - { - $emptyParam = new Parameter(); - $this->assertFalse($emptyParam->has([])); - $this->assertFalse($emptyParam->has(new \stdClass())); - $this->assertFalse($emptyParam->has('1')); - $this->assertFalse($emptyParam->has(1)); - } - - public function testHasReturnsFalseForWrongOrEmptyValues() - { - $emptyParam = new Parameter(); - $this->assertFalse($emptyParam->has('')); - $this->assertFalse($emptyParam->has('description')); - $this->assertFalse($emptyParam->has('noExisting')); - } - - public function testHasReturnsTrueForCorrectValues() - { - $p = new Parameter([ - 'minimum' => 2, - 'maximum' => 3, - 'minItems' => 4, - 'maxItems' => 5, - ]); - - $this->assertTrue($p->has('minimum')); - $this->assertTrue($p->has('maximum')); - $this->assertTrue($p->has('minItems')); - $this->assertTrue($p->has('maxItems')); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/QuerySerializer/Rfc3986SerializerTest.php b/vendor/guzzlehttp/guzzle-services/tests/QuerySerializer/Rfc3986SerializerTest.php deleted file mode 100644 index 66ec75f2..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/QuerySerializer/Rfc3986SerializerTest.php +++ /dev/null @@ -1,35 +0,0 @@ - 'bar'], 'foo=bar'], - [['foo' => [1, 2]], 'foo[0]=1&foo[1]=2'], - [['foo' => ['bar' => 'baz', 'bim' => [4, 5]]], 'foo[bar]=baz&foo[bim][0]=4&foo[bim][1]=5'] - ]; - } - - /** - * @dataProvider queryProvider - */ - public function testSerializeQueryParams(array $params, $expectedResult) - { - $serializer = new Rfc3986Serializer(); - $result = $serializer->aggregate($params); - - $this->assertEquals($expectedResult, urldecode($result)); - } - - public function testCanRemoveNumericIndices() - { - $serializer = new Rfc3986Serializer(true); - $result = $serializer->aggregate(['foo' => ['bar', 'baz'], 'bar' => ['bim' => [4, 5]]]); - - $this->assertEquals('foo[]=bar&foo[]=baz&bar[bim][]=4&bar[bim][]=5', urldecode($result)); - } -} \ No newline at end of file diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/BodyLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/BodyLocationTest.php deleted file mode 100644 index 2a6418e5..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/BodyLocationTest.php +++ /dev/null @@ -1,26 +0,0 @@ - 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - $this->assertEquals('foo=bar', $request->getBody()->getContents()); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/FormParamLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/FormParamLocationTest.php deleted file mode 100644 index 016ad6b8..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/FormParamLocationTest.php +++ /dev/null @@ -1,52 +0,0 @@ - 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - $operation = new Operation(); - $request = $location->after($command, $request, $operation); - $this->assertEquals('foo=bar', $request->getBody()->getContents()); - $this->assertArraySubset([0 => 'application/x-www-form-urlencoded; charset=utf-8'], $request->getHeader('Content-Type')); - } - - /** - * @group RequestLocation - */ - public function testAddsAdditionalProperties() - { - $location = new FormParamLocation(); - $command = new Command('foo', ['foo' => 'bar']); - $command['add'] = 'props'; - $request = new Request('POST', 'http://httbin.org', []); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - $operation = new Operation([ - 'additionalParameters' => [ - 'location' => 'formParam' - ] - ]); - $request = $location->after($command, $request, $operation); - $this->assertEquals('foo=bar&add=props', $request->getBody()->getContents()); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/HeaderLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/HeaderLocationTest.php deleted file mode 100644 index 2ebc2835..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/HeaderLocationTest.php +++ /dev/null @@ -1,52 +0,0 @@ - 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - - $header = $request->getHeader('foo'); - $this->assertTrue(is_array($header)); - $this->assertArraySubset([0 => 'bar'], $request->getHeader('foo')); - } - - /** - * @group RequestLocation - */ - public function testAddsAdditionalProperties() - { - $location = new HeaderLocation('header'); - $command = new Command('foo', ['foo' => 'bar']); - $command['add'] = 'props'; - $operation = new Operation([ - 'additionalParameters' => [ - 'location' => 'header' - ] - ]); - $request = new Request('POST', 'http://httbin.org'); - $request = $location->after($command, $request, $operation); - - $header = $request->getHeader('add'); - $this->assertTrue(is_array($header)); - $this->assertArraySubset([0 => 'props'], $header); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/JsonLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/JsonLocationTest.php deleted file mode 100644 index 359b7e29..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/JsonLocationTest.php +++ /dev/null @@ -1,91 +0,0 @@ - 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $location->visit($command, $request, $param); - $operation = new Operation(); - $request = $location->after($command, $request, $operation); - $this->assertEquals('{"foo":"bar"}', $request->getBody()->getContents()); - $this->assertArraySubset([0 => 'application/json'], $request->getHeader('Content-Type')); - } - - /** - * @group RequestLocation - */ - public function testVisitsAdditionalProperties() - { - $location = new JsonLocation('json', 'foo'); - $command = new Command('foo', ['foo' => 'bar']); - $command['baz'] = ['bam' => [1]]; - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $location->visit($command, $request, $param); - $operation = new Operation([ - 'additionalParameters' => [ - 'location' => 'json' - ] - ]); - $request = $location->after($command, $request, $operation); - $this->assertEquals('{"foo":"bar","baz":{"bam":[1]}}', $request->getBody()->getContents()); - $this->assertEquals([0 => 'foo'], $request->getHeader('Content-Type')); - } - - /** - * @group RequestLocation - */ - public function testVisitsNestedLocation() - { - $location = new JsonLocation('json'); - $command = new Command('foo', ['foo' => 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'properties' => [ - 'baz' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'filters' => ['strtoupper'] - ] - ] - ], - 'additionalProperties' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'filters' => ['strtolower'] - ] - ] - ]); - $command['foo'] = [ - 'baz' => ['a', 'b'], - 'bam' => ['A', 'B'], - ]; - $location->visit($command, $request, $param); - $operation = new Operation(); - $request = $location->after($command, $request, $operation); - $this->assertEquals('{"foo":{"baz":["A","B"],"bam":["a","b"]}}', (string) $request->getBody()->getContents()); - $this->assertEquals([0 => 'application/json'], $request->getHeader('Content-Type')); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/MultiPartLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/MultiPartLocationTest.php deleted file mode 100644 index a2e7faf6..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/MultiPartLocationTest.php +++ /dev/null @@ -1,33 +0,0 @@ - 'bar']); - $request = new Request('POST', 'http://httbin.org', []); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - $operation = new Operation(); - $request = $location->after($command, $request, $operation); - $actual = $request->getBody()->getContents(); - - $this->assertNotFalse(strpos($actual, 'name="foo"')); - $this->assertNotFalse(strpos($actual, 'bar')); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/QueryLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/QueryLocationTest.php deleted file mode 100644 index 7ccfbd8a..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/QueryLocationTest.php +++ /dev/null @@ -1,77 +0,0 @@ - 'bar'], 'foo=bar'], - [['foo' => [1, 2]], 'foo[0]=1&foo[1]=2'], - [['foo' => ['bar' => 'baz', 'bim' => [4, 5]]], 'foo[bar]=baz&foo[bim][0]=4&foo[bim][1]=5'] - ]; - } - - /** - * @group RequestLocation - */ - public function testVisitsLocation() - { - $location = new QueryLocation(); - $command = new Command('foo', ['foo' => 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - - $this->assertEquals('foo=bar', urldecode($request->getUri()->getQuery())); - } - - public function testVisitsMultipleLocations() - { - $request = new Request('POST', 'http://httbin.org'); - - // First location - $location = new QueryLocation(); - $command = new Command('foo', ['foo' => 'bar']); - $param = new Parameter(['name' => 'foo']); - $request = $location->visit($command, $request, $param); - - // Second location - $location = new QueryLocation(); - $command = new Command('baz', ['baz' => [6, 7]]); - $param = new Parameter(['name' => 'baz']); - $request = $location->visit($command, $request, $param); - - $this->assertEquals('foo=bar&baz[0]=6&baz[1]=7', urldecode($request->getUri()->getQuery())); - } - - /** - * @group RequestLocation - */ - public function testAddsAdditionalProperties() - { - $location = new QueryLocation(); - $command = new Command('foo', ['foo' => 'bar']); - $command['add'] = 'props'; - $operation = new Operation([ - 'additionalParameters' => [ - 'location' => 'query' - ] - ]); - $request = new Request('POST', 'http://httbin.org'); - $request = $location->after($command, $request, $operation); - - $this->assertEquals('props', Psr7\parse_query($request->getUri()->getQuery())['add']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/XmlLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/XmlLocationTest.php deleted file mode 100644 index ce789d4e..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/RequestLocation/XmlLocationTest.php +++ /dev/null @@ -1,525 +0,0 @@ - 'bar']); - $command['bar'] = 'test'; - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $location->visit($command, $request, $param); - $param = new Parameter(['name' => 'bar']); - $location->visit($command, $request, $param); - $operation = new Operation(); - $request = $location->after($command, $request, $operation); - $xml = $request->getBody()->getContents(); - - $this->assertEquals('' . "\n" - . 'bartest' . "\n", $xml); - $header = $request->getHeader('Content-Type'); - $this->assertArraySubset([0 => 'application/xml'], $header); - } - - /** - * @group RequestLocation - */ - public function testCreatesBodyForEmptyDocument() - { - $location = new XmlLocation(); - $command = new Command('foo', ['foo' => 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $operation = new Operation([ - 'data' => ['xmlAllowEmpty' => true] - ]); - $request = $location->after($command, $request, $operation); - $xml = $request->getBody()->getContents(); - $this->assertEquals('' . "\n" - . '' . "\n", $xml); - - $header = $request->getHeader('Content-Type'); - $this->assertArraySubset([0 => 'application/xml'], $header); - } - - /** - * @group RequestLocation - */ - public function testAddsAdditionalParameters() - { - $location = new XmlLocation('xml', 'test'); - $command = new Command('foo', ['foo' => 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $command['foo'] = 'bar'; - $location->visit($command, $request, $param); - $operation = new Operation([ - 'additionalParameters' => [ - 'location' => 'xml' - ] - ]); - $command['bam'] = 'boo'; - $request = $location->after($command, $request, $operation); - $xml = $request->getBody()->getContents(); - $this->assertEquals('' . "\n" - . 'barbarboo' . "\n", $xml); - $header = $request->getHeader('Content-Type'); - $this->assertArraySubset([0 => 'test'], $header); - } - - /** - * @group RequestLocation - */ - public function testAllowsXmlEncoding() - { - $location = new XmlLocation(); - $operation = new Operation([ - 'data' => ['xmlEncoding' => 'UTF-8'] - ]); - $command = new Command('foo', ['foo' => 'bar']); - $request = new Request('POST', 'http://httbin.org'); - $param = new Parameter(['name' => 'foo']); - $command['foo'] = 'bar'; - $location->visit($command, $request, $param); - $request = $location->after($command, $request, $operation); - $xml = $request->getBody()->getContents(); - $this->assertEquals('' . "\n" - . 'bar' . "\n", $xml); - } - - public function xmlProvider() - { - return [ - [ - [ - 'data' => [ - 'xmlRoot' => [ - 'name' => 'test', - 'namespaces' => 'http://foo.com' - ] - ], - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string' - ], - 'Baz' => [ - 'location' => 'xml', - 'type' => 'string' - ] - ] - ], - [ - 'Foo' => 'test', - 'Baz' => 'bar' - ], - 'testbar' - ], - // Ensure that the content-type is not added - [ - [ - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string' - ] - ] - ], - [], - '' - ], - // Test with adding attributes and no namespace - [ - [ - 'data' => [ - 'xmlRoot' => [ - 'name' => 'test' - ] - ], - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string', - 'data' => ['xmlAttribute' => true] - ] - ] - ], - [ - 'Foo' => 'test', - 'Baz' => 'bar' - ], - '' - ], - // Test adding with an array - [ - [ - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string' - ], - 'Baz' => [ - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'type' => 'numeric', - 'sentAs' => 'Bar' - ] - ] - ] - ], - ['Foo' => 'test', 'Baz' => [1, 2]], - 'test12' - ], - // Test adding an object - [ - [ - 'parameters' => [ - 'Foo' => ['location' => 'xml', 'type' => 'string'], - 'Baz' => [ - 'type' => 'object', - 'location' => 'xml', - 'properties' => [ - 'Bar' => ['type' => 'string'], - 'Bam' => [] - ] - ] - ] - ], - [ - 'Foo' => 'test', - 'Baz' => [ - 'Bar' => 'abc', - 'Bam' => 'foo' - ] - ], - 'testabcfoo' - ], - // Add an array that contains an object - [ - [ - 'parameters' => [ - 'Baz' => [ - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'type' => 'object', - 'sentAs' => 'Bar', - 'properties' => ['A' => [], 'B' => []] - ] - ] - ] - ], - ['Baz' => [ - [ - 'A' => '1', - 'B' => '2' - ], - [ - 'A' => '3', - 'B' => '4' - ] - ]], - '1234' - ], - // Add an object of attributes - [ - [ - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string' - ], - 'Baz' => [ - 'type' => 'object', - 'location' => 'xml', - 'properties' => [ - 'Bar' => [ - 'type' => 'string', - 'data' => [ - 'xmlAttribute' => true - ] - ], - 'Bam' => [] - ] - ] - ] - ], - [ - 'Foo' => 'test', - 'Baz' => [ - 'Bar' => 'abc', - 'Bam' => 'foo' - ] - ], - 'testfoo' - ], - // Check order doesn't matter - [ - [ - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string' - ], - 'Baz' => [ - 'type' => 'object', - 'location' => 'xml', - 'properties' => [ - 'Bar' => [ - 'type' => 'string', - 'data' => [ - 'xmlAttribute' => true - ] - ], - 'Bam' => [] - ] - ] - ] - ], - [ - 'Foo' => 'test', - 'Baz' => [ - 'Bam' => 'foo', - 'Bar' => 'abc' - ] - ], - 'testfoo' - ], - // Add values with custom namespaces - [ - [ - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string', - 'data' => [ - 'xmlNamespace' => 'http://foo.com' - ] - ] - ] - ], - ['Foo' => 'test'], - 'test' - ], - // Add attributes with custom namespace prefix - [ - [ - 'parameters' => [ - 'Wrap' => [ - 'type' => 'object', - 'location' => 'xml', - 'properties' => [ - 'Foo' => [ - 'type' => 'string', - 'sentAs' => 'xsi:baz', - 'data' => [ - 'xmlNamespace' => 'http://foo.com', - 'xmlAttribute' => true - ] - ] - ] - ], - ] - ], - ['Wrap' => [ - 'Foo' => 'test' - ]], - '' - ], - // Add nodes with custom namespace prefix - [ - [ - 'parameters' => [ - 'Wrap' => [ - 'type' => 'object', - 'location' => 'xml', - 'properties' => [ - 'Foo' => [ - 'type' => 'string', - 'sentAs' => 'xsi:Foo', - 'data' => [ - 'xmlNamespace' => 'http://foobar.com' - ] - ] - ] - ], - ] - ], - ['Wrap' => [ - 'Foo' => 'test' - ]], - 'test' - ], - [ - [ - 'parameters' => [ - 'Foo' => [ - 'location' => 'xml', - 'type' => 'string', - 'data' => [ - 'xmlNamespace' => 'http://foo.com' - ] - ] - ] - ], - ['Foo' => '

          This is a title

          '], - 'This is a title]]>' - ], - // Flat array at top level - [ - [ - 'parameters' => [ - 'Bars' => [ - 'type' => 'array', - 'data' => ['xmlFlattened' => true], - 'location' => 'xml', - 'items' => [ - 'type' => 'object', - 'sentAs' => 'Bar', - 'properties' => [ - 'A' => [], - 'B' => [] - ] - ] - ], - 'Boos' => [ - 'type' => 'array', - 'data' => ['xmlFlattened' => true], - 'location' => 'xml', - 'items' => [ - 'sentAs' => 'Boo', - 'type' => 'string' - ] - ] - ] - ], - [ - 'Bars' => [ - ['A' => '1', 'B' => '2'], - ['A' => '3', 'B' => '4'] - ], - 'Boos' => ['test', '123'] - ], - '1234test123' - ], - // Nested flat arrays - [ - [ - 'parameters' => [ - 'Delete' => [ - 'type' => 'object', - 'location' => 'xml', - 'properties' => [ - 'Items' => [ - 'type' => 'array', - 'data' => ['xmlFlattened' => true], - 'items' => [ - 'type' => 'object', - 'sentAs' => 'Item', - 'properties' => [ - 'A' => [], - 'B' => [] - ] - ] - ] - ] - ] - ] - ], - [ - 'Delete' => [ - 'Items' => [ - ['A' => '1', 'B' => '2'], - ['A' => '3', 'B' => '4'] - ] - ] - ], - '1234' - ], - // Test adding root node attributes after nodes - [ - [ - 'data' => [ - 'xmlRoot' => [ - 'name' => 'test' - ] - ], - 'parameters' => [ - 'Foo' => ['location' => 'xml', 'type' => 'string'], - 'Baz' => ['location' => 'xml', 'type' => 'string', 'data' => ['xmlAttribute' => true]], - ] - ], - ['Foo' => 'test', 'Baz' => 'bar'], - 'test' - ], - ]; - } - - /** - * @param array $operation - * @param array $input - * @param string $xml - * @dataProvider xmlProvider - * @group RequestLocation - */ - public function testSerializesXml(array $operation, array $input, $xml) - { - $container = []; - $history = Middleware::history($container); - $mock = new MockHandler([new Response(200)]); - - $stack = new HandlerStack($mock); - $stack->push($history); - $operation['uri'] = 'http://httpbin.org'; - $client = new GuzzleClient( - new Client(['handler' => $stack]), - new Description([ - 'operations' => [ - 'foo' => $operation - ] - ]) - ); - - $command = $client->getCommand('foo', $input); - - $client->execute($command); - - $this->assertCount(1, $container); - - foreach ($container as $transaction) { - /** @var Request $request */ - $request = $transaction['request']; - if (empty($input)) { - if ($request->hasHeader('Content-Type')) { - $this->assertArraySubset([0 => ''], $request->getHeader('Content-Type')); - } - } else { - $this->assertArraySubset([0 => 'application/xml'], $request->getHeader('Content-Type')); - } - - $body = str_replace(["\n", ""], '', (string) $request->getBody()); - $this->assertEquals($xml, $body); - } - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/BodyLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/BodyLocationTest.php deleted file mode 100644 index 36eda588..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/BodyLocationTest.php +++ /dev/null @@ -1,30 +0,0 @@ - 'val', - 'filters' => ['strtoupper'] - ]); - $response = new Response(200, [], 'foo'); - $result = new Result(); - $result = $location->visit($result, $response, $parameter); - $this->assertEquals('FOO', $result['val']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/HeaderLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/HeaderLocationTest.php deleted file mode 100644 index 763af38a..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/HeaderLocationTest.php +++ /dev/null @@ -1,31 +0,0 @@ - 'val', - 'sentAs' => 'X-Foo', - 'filters' => ['strtoupper'] - ]); - $response = new Response(200, ['X-Foo' => 'bar']); - $result = new Result(); - $result = $location->visit($result, $response, $parameter); - $this->assertEquals('BAR', $result['val']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/JsonLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/JsonLocationTest.php deleted file mode 100644 index 52a44a8d..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/JsonLocationTest.php +++ /dev/null @@ -1,581 +0,0 @@ - 'val', - 'sentAs' => 'vim', - 'filters' => ['strtoupper'] - ]); - $response = new Response(200, [], '{"vim":"bar"}'); - $result = new Result(); - $result = $location->before($result, $response, $parameter); - $result = $location->visit($result, $response, $parameter); - $this->assertEquals('BAR', $result['val']); - } - /** - * @group ResponseLocation - * @param $name - * @param $expected - */ - public function testVisitsWiredArray() - { - $json = ['car_models' => ['ferrari', 'aston martin']]; - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $guzzle = new Client(['handler' => $mock]); - - $description = new Description([ - 'operations' => [ - 'getCars' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'Cars' - ] - ], - 'models' => [ - 'Cars' => [ - 'type' => 'object', - 'location' => 'json', - 'properties' => [ - 'cars' => [ - 'type' => 'array', - 'sentAs' => 'car_models', - 'items' => [ - 'type' => 'object', - ] - ] - ], - ] - ] - ]); - - $guzzle = new GuzzleClient($guzzle, $description); - $result = $guzzle->getCars(); - - $this->assertEquals(['cars' => ['ferrari', 'aston martin']], $result->toArray()); - } - - /** - * @group ResponseLocation - */ - public function testVisitsAdditionalProperties() - { - $location = new JsonLocation(); - $parameter = new Parameter(); - $model = new Parameter(['additionalProperties' => ['location' => 'json']]); - $response = new Response(200, [], '{"vim":"bar","qux":[1,2]}'); - $result = new Result(); - $result = $location->before($result, $response, $parameter); - $result = $location->visit($result, $response, $parameter); - $result = $location->after($result, $response, $model); - $this->assertEquals('bar', $result['vim']); - $this->assertEquals([1, 2], $result['qux']); - } - - /** - * @group ResponseLocation - */ - public function testVisitsAdditionalPropertiesWithEmptyResponse() - { - $location = new JsonLocation(); - $parameter = new Parameter(); - $model = new Parameter(['additionalProperties' => ['location' => 'json']]); - $response = new Response(204); - $result = new Result(); - $result = $location->before($result, $response, $parameter); - $result = $location->visit($result, $response, $parameter); - $result = $location->after($result, $response, $model); - $this->assertEquals([], $result->toArray()); - } - - public function jsonProvider() - { - return [ - [null, [['foo' => 'BAR'], ['baz' => 'BAM']]], - ['under_me', ['under_me' => [['foo' => 'BAR'], ['baz' => 'BAM']]]], - ]; - } - - /** - * @dataProvider jsonProvider - * @group ResponseLocation - * @param $name - * @param $expected - */ - public function testVisitsTopLevelArrays($name, $expected) - { - $json = [ - ['foo' => 'bar'], - ['baz' => 'bam'], - ]; - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $guzzle = new Client(['handler' => $mock]); - - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'array', - 'location' => 'json', - 'name' => $name, - 'items' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'filters' => ['strtoupper'] - ] - ] - ] - ] - ]); - $guzzle = new GuzzleClient($guzzle, $description); - /** @var ResultInterface $result */ - $result = $guzzle->foo(); - $this->assertEquals($expected, $result->toArray()); - } - - /** - * @group ResponseLocation - */ - public function testVisitsNestedArrays() - { - $json = [ - 'scalar' => 'foo', - 'nested' => [ - 'bar', - 'baz' - ] - ]; - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $httpClient = new Client(['handler' => $mock]); - - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object', - 'location' => 'json', - 'properties' => [ - 'scalar' => ['type' => 'string'], - 'nested' => [ - 'type' => 'array', - 'items' => ['type' => 'string'] - ] - ] - ] - ] - ]); - $guzzle = new GuzzleClient($httpClient, $description); - /** @var ResultInterface $result */ - $result = $guzzle->foo(); - $expected = [ - 'scalar' => 'foo', - 'nested' => [ - 'bar', - 'baz' - ] - ]; - $this->assertEquals($expected, $result->toArray()); - } - - public function nestedProvider() - { - return [ - [ - [ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object', - 'properties' => [ - 'nested' => [ - 'location' => 'json', - 'type' => 'object', - 'properties' => [ - 'foo' => ['type' => 'string'], - 'bar' => ['type' => 'number'], - 'bam' => [ - 'type' => 'object', - 'properties' => [ - 'abc' => [ - 'type' => 'number' - ] - ] - ] - ] - ] - ], - 'additionalProperties' => [ - 'location' => 'json', - 'type' => 'string', - 'filters' => ['strtoupper'] - ] - ] - ] - ] - ], - [ - [ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object', - 'location' => 'json', - 'properties' => [ - 'nested' => [ - 'type' => 'object', - 'properties' => [ - 'foo' => ['type' => 'string'], - 'bar' => ['type' => 'number'], - 'bam' => [ - 'type' => 'object', - 'properties' => [ - 'abc' => [ - 'type' => 'number' - ] - ] - ] - ] - ] - ], - 'additionalProperties' => [ - 'type' => 'string', - 'filters' => ['strtoupper'] - ] - ] - ] - ] - ] - ]; - } - - /** - * @dataProvider nestedProvider - * @group ResponseLocation - */ - public function testVisitsNestedProperties($desc) - { - $json = [ - 'nested' => [ - 'foo' => 'abc', - 'bar' => 123, - 'bam' => [ - 'abc' => 456 - ] - ], - 'baz' => 'boo' - ]; - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $httpClient = new Client(['handler' => $mock]); - - $description = new Description($desc); - $guzzle = new GuzzleClient($httpClient, $description); - /** @var ResultInterface $result */ - $result = $guzzle->foo(); - $expected = [ - 'nested' => [ - 'foo' => 'abc', - 'bar' => 123, - 'bam' => [ - 'abc' => 456 - ] - ], - 'baz' => 'BOO' - ]; - - $this->assertEquals($expected, $result->toArray()); - } - - /** - * @group ResponseLocation - */ - public function testVisitsNullResponseProperties() - { - - $json = [ - 'data' => [ - 'link' => null - ] - ]; - - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $httpClient = new Client(['handler' => $mock]); - - $description = new Description( - [ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object', - 'location' => 'json', - 'properties' => [ - 'scalar' => ['type' => 'string'], - 'data' => [ - 'type' => 'object', - 'location' => 'json', - 'properties' => [ - 'link' => [ - 'name' => 'val', - 'type' => 'string', - 'location' => 'json' - ], - ], - 'additionalProperties' => false - ] - ] - ] - ] - ] - ); - $guzzle = new GuzzleClient($httpClient, $description); - /** @var ResultInterface $result */ - $result = $guzzle->foo(); - - $expected = [ - 'data' => [ - 'link' => null - ] - ]; - - $this->assertEquals($expected, $result->toArray()); - } - - /** - * @group ResponseLocation - */ - public function testVisitsNestedArrayOfArrays() - { - $json = [ - 'scalar' => 'foo', - 'nested' => [ - [ - 'bar' => 123, - 'baz' => false, - ], - [ - 'bar' => 345, - 'baz' => true, - ], - [ - 'bar' => 678, - 'baz' => true, - ], - ] - ]; - - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $httpClient = new Client(['handler' => $mock]); - - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object', - 'properties' => [ - 'scalar' => [ - // for some reason (probably because location is also set on array of arrays) - // array of arrays sibling elements must have location set to `json` - // otherwise JsonLocation ignores them - 'location' => 'json', - 'type' => 'string' - ], - 'nested' => [ - // array of arrays type must be set to `array` - // without that JsonLocation throws an exception - 'type' => 'array', - // for array of arrays `location` must be set to `json` - // otherwise JsonLocation returns an empty array - 'location' => 'json', - 'items' => [ - // although this is array of arrays, array items type - // must be set as `object` - 'type' => 'object', - 'properties' => [ - 'bar' => [ - 'type' => 'integer', - ], - 'baz' => [ - 'type' => 'boolean', - ], - ], - ] - ] - ] - ] - ] - ]); - - $guzzle = new GuzzleClient($httpClient, $description); - /** @var ResultInterface $result */ - $result = $guzzle->foo(); - $expected = [ - 'scalar' => 'foo', - 'nested' => [ - [ - 'bar' => 123, - 'baz' => false, - ], - [ - 'bar' => 345, - 'baz' => true, - ], - [ - 'bar' => 678, - 'baz' => true, - ], - ] - ]; - - $this->assertEquals($expected, $result->toArray()); - } - - /** - * @group ResponseLocation - */ - public function testVisitsNestedArrayOfObjects() - { - $json = json_decode('{"scalar":"foo","nested":[{"bar":123,"baz":false},{"bar":345,"baz":true},{"bar":678,"baz":true}]}'); - - $body = \GuzzleHttp\json_encode($json); - $response = new Response(200, ['Content-Type' => 'application/json'], $body); - $mock = new MockHandler([$response]); - - $httpClient = new Client(['handler' => $mock]); - - $description = new Description([ - 'operations' => [ - 'foo' => [ - 'uri' => 'http://httpbin.org', - 'httpMethod' => 'GET', - 'responseModel' => 'j' - ] - ], - 'models' => [ - 'j' => [ - 'type' => 'object', - 'location' => 'json', - 'properties' => [ - 'scalar' => [ - 'type' => 'string' - ], - 'nested' => [ - // array of objects type must be set to `array` - // without that JsonLocation throws an exception - 'type' => 'array', - 'items' => [ - // array elements type must be set to `object` - 'type' => 'object', - 'properties' => [ - 'bar' => [ - 'type' => 'integer', - ], - 'baz' => [ - 'type' => 'boolean', - ], - ], - ] - ] - ] - ] - ] - ]); - - $guzzle = new GuzzleClient($httpClient, $description); - /** @var ResultInterface $result */ - $result = $guzzle->foo(); - $expected = [ - 'scalar' => 'foo', - 'nested' => [ - [ - 'bar' => 123, - 'baz' => false, - ], - [ - 'bar' => 345, - 'baz' => true, - ], - [ - 'bar' => 678, - 'baz' => true, - ], - ] - ]; - $this->assertEquals($expected, $result->toArray()); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/ReasonPhraseLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/ReasonPhraseLocationTest.php deleted file mode 100644 index bfe77172..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/ReasonPhraseLocationTest.php +++ /dev/null @@ -1,30 +0,0 @@ - 'val', - 'filters' => ['strtolower'] - ]); - $response = new Response(200); - $result = new Result(); - $result = $location->visit($result, $response, $parameter); - $this->assertEquals('ok', $result['val']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/StatusCodeLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/StatusCodeLocationTest.php deleted file mode 100644 index 1946e62b..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/StatusCodeLocationTest.php +++ /dev/null @@ -1,27 +0,0 @@ - 'val']); - $response = new Response(200); - $result = new Result(); - $result = $location->visit($result, $response, $parameter); - $this->assertEquals(200, $result['val']); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/XmlLocationTest.php b/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/XmlLocationTest.php deleted file mode 100644 index 4e398ba9..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/ResponseLocation/XmlLocationTest.php +++ /dev/null @@ -1,795 +0,0 @@ - 'val', - 'sentAs' => 'vim', - 'filters' => ['strtoupper'] - ]); - $model = new Parameter(); - $response = new Response(200, [], \GuzzleHttp\Psr7\stream_for('bar')); - $result = new Result(); - $result = $location->before($result, $response, $model); - $result = $location->visit($result, $response, $parameter); - $result = $location->after($result, $response, $model); - $this->assertEquals('BAR', $result['val']); - } - - /** - * @group ResponseLocation - */ - public function testVisitsAdditionalProperties() - { - $location = new XmlLocation(); - $parameter = new Parameter(); - $model = new Parameter(['additionalProperties' => ['location' => 'xml']]); - $response = new Response(200, [], \GuzzleHttp\Psr7\stream_for('bar')); - $result = new Result(); - $result = $location->before($result, $response, $parameter); - $result = $location->visit($result, $response, $parameter); - $result = $location->after($result, $response, $model); - $this->assertEquals('bar', $result['vim']); - } - - /** - * @group ResponseLocation - */ - public function testEnsuresFlatArraysAreFlat() - { - $param = new Parameter([ - 'location' => 'xml', - 'name' => 'foo', - 'type' => 'array', - 'items' => ['type' => 'string'], - ]); - - $xml = 'barbaz'; - $this->xmlTest($param, $xml, ['foo' => ['bar', 'baz']]); - $this->xmlTest($param, 'bar', ['foo' => ['bar']]); - } - - public function xmlDataProvider() - { - $param = new Parameter([ - 'location' => 'xml', - 'name' => 'Items', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'name' => 'Item', - 'properties' => [ - 'Bar' => ['type' => 'string'], - 'Baz' => ['type' => 'string'], - ], - ], - ]); - - return [ - [$param, '12', [ - 'Items' => [ - ['Bar' => 1], - ['Bar' => 2], - ], - ]], - [$param, '1', [ - 'Items' => [ - ['Bar' => 1], - ] - ]], - [$param, '', [ - 'Items' => [], - ]] - ]; - } - - /** - * @dataProvider xmlDataProvider - * @group ResponseLocation - */ - public function testEnsuresWrappedArraysAreInCorrectLocations($param, $xml, $expected) - { - $location = new XmlLocation(); - $model = new Parameter(); - $response = new Response(200, [], \GuzzleHttp\Psr7\stream_for($xml)); - $result = new Result(); - $result = $location->before($result, $response, $param); - $result = $location->visit($result, $response, $param); - $result = $location->after($result, $response, $model); - $this->assertEquals($expected, $result->toArray()); - } - - /** - * @group ResponseLocation - */ - public function testCanRenameValues() - { - $param = new Parameter([ - 'name' => 'TerminatingInstances', - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'instancesSet', - 'items' => [ - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => [ - 'InstanceId' => [ - 'type' => 'string', - 'sentAs' => 'instanceId', - ], - 'CurrentState' => [ - 'type' => 'object', - 'sentAs' => 'currentState', - 'properties' => [ - 'Code' => [ - 'type' => 'numeric', - 'sentAs' => 'code', - ], - 'Name' => [ - 'type' => 'string', - 'sentAs' => 'name', - ], - ], - ], - 'PreviousState' => [ - 'type' => 'object', - 'sentAs' => 'previousState', - 'properties' => [ - 'Code' => [ - 'type' => 'numeric', - 'sentAs' => 'code', - ], - 'Name' => [ - 'type' => 'string', - 'sentAs' => 'name', - ], - ], - ], - ], - ] - ]); - - $xml = ' - - - - i-3ea74257 - - 32 - shutting-down - - - 16 - running - - - - - '; - - $this->xmlTest($param, $xml, [ - 'TerminatingInstances' => [ - [ - 'InstanceId' => 'i-3ea74257', - 'CurrentState' => [ - 'Code' => '32', - 'Name' => 'shutting-down', - ], - 'PreviousState' => [ - 'Code' => '16', - 'Name' => 'running', - ], - ], - ], - ]); - } - - /** - * @group ResponseLocation - */ - public function testCanRenameAttributes() - { - $param = new Parameter([ - 'name' => 'RunningQueues', - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => [ - 'QueueId' => [ - 'type' => 'string', - 'sentAs' => 'queue_id', - 'data' => [ - 'xmlAttribute' => true, - ], - ], - 'CurrentState' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'type' => 'numeric', - 'sentAs' => 'code', - 'data' => [ - 'xmlAttribute' => true, - ], - ], - 'Name' => [ - 'sentAs' => 'name', - 'data' => [ - 'xmlAttribute' => true, - ], - ], - ], - ], - 'PreviousState' => [ - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'type' => 'numeric', - 'sentAs' => 'code', - 'data' => [ - 'xmlAttribute' => true, - ], - ], - 'Name' => [ - 'sentAs' => 'name', - 'data' => [ - 'xmlAttribute' => true, - ], - ], - ], - ], - ], - ] - ]); - - $xml = ' - - - - - - - - '; - - $this->xmlTest($param, $xml, [ - 'RunningQueues' => [ - [ - 'QueueId' => 'q-3ea74257', - 'CurrentState' => [ - 'Code' => '32', - 'Name' => 'processing', - ], - 'PreviousState' => [ - 'Code' => '16', - 'Name' => 'wait', - ], - ], - ], - ]); - } - - /** - * @group ResponseLocation - */ - public function testAddsEmptyArraysWhenValueIsMissing() - { - $param = new Parameter([ - 'name' => 'Foo', - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Baz' => ['type' => 'array'], - 'Bar' => [ - 'type' => 'object', - 'properties' => [ - 'Baz' => ['type' => 'array'], - ], - ], - ], - ], - ]); - - $xml = ''; - - $this->xmlTest($param, $xml, [ - 'Foo' => [ - [ - 'Bar' => [], - ] - ], - ]); - } - - /** - * @group issue-399, ResponseLocation - * @link https://github.com/guzzle/guzzle/issues/399 - */ - public function testDiscardingUnknownProperties() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'additionalProperties' => false, - 'properties' => [ - 'bar' => [ - 'type' => 'string', - 'name' => 'bar', - ], - ], - ]); - - $xml = ' - - - 15 - discard me - - - '; - - $this->xmlTest($param, $xml, [ - 'foo' => [ - 'bar' => 15 - ] - ]); - } - - /** - * @group issue-399, ResponseLocation - * @link https://github.com/guzzle/guzzle/issues/399 - */ - public function testDiscardingUnknownPropertiesWithAliasing() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'additionalProperties' => false, - 'properties' => [ - 'bar' => [ - 'name' => 'bar', - 'sentAs' => 'baz', - ], - ], - ]); - - $xml = ' - - - 15 - discard me - - - '; - - $this->xmlTest($param, $xml, [ - 'foo' => [ - 'bar' => 15, - ], - ]); - } - - /** - * @group ResponseLocation - */ - public function testProcessingOfNestedAdditionalProperties() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => [ - 'bar' => [ - 'name' => 'bar', - 'sentAs' => 'baz', - ], - 'nestedNoAdditional' => [ - 'type' => 'object', - 'additionalProperties' => false, - 'properties' => [ - 'id' => [ - 'type' => 'integer', - ], - ], - ], - 'nestedWithAdditional' => [ - 'type' => 'object', - 'additionalProperties' => true, - ], - 'nestedWithAdditionalSchema' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - ]); - - $xml = ' - - - 15 - include me - - 15 - discard me - - - 15 - include me - - - - 1 - 2 - 3 - - - A - B - C - - - - - '; - - $this->xmlTest($param, $xml, [ - 'foo' => [ - 'bar' => '15', - 'additional' => 'include me', - 'nestedNoAdditional' => [ - 'id' => '15', - ], - 'nestedWithAdditional' => [ - 'id' => '15', - 'additional' => 'include me', - ], - 'nestedWithAdditionalSchema' => [ - 'arrayA' => ['1', '2', '3'], - 'arrayB' => ['A', 'B', 'C'], - ], - ], - ]); - } - - /** - * @group ResponseLocation - */ - public function testConvertsMultipleAssociativeElementsToArray() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'additionalProperties' => true, - ]); - - $xml = ' - - - 15 - 25 - hi - test - - - - '; - - $this->xmlTest($param, $xml, [ - 'foo' => [ - 'baz' => ['15', '25'], - 'bar' => 'hi', - 'bam' => [ - 'test', - ['@attributes' => ['attr' => 'hi']] - ] - ] - ]); - } - - /** - * @group ResponseLocation - */ - public function testUnderstandsNamespaces() - { - $param = new Parameter([ - 'name' => 'nstest', - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'properties' => [ - 'id' => [ - 'type' => 'string', - ], - 'isbn:number' => [ - 'type' => 'string', - ], - 'meta' => [ - 'type' => 'object', - 'sentAs' => 'abstract:meta', - 'properties' => [ - 'foo' => [ - 'type' => 'numeric', - ], - 'bar' => [ - 'type' => 'object', - 'properties' =>[ - 'attribute' => [ - 'type' => 'string', - 'data' => [ - 'xmlAttribute' => true, - 'xmlNs' => 'abstract', - ], - ], - ], - ], - ], - ], - 'gamma' => [ - 'type' => 'object', - 'data' => [ - 'xmlNs' => 'abstract', - ], - 'additionalProperties' => true, - ], - 'nonExistent' => [ - 'type' => 'object', - 'data' => [ - 'xmlNs' => 'abstract', - ], - 'additionalProperties' => true, - ], - 'nonExistent2' => [ - 'type' => 'object', - 'additionalProperties' => true, - ], - ], - ], - ]); - - $xml = ' - - - - 101 - 1568491379 - - 10 - - - - bar - - - - 102 - 1568491999 - - 20 - - - - baz - - - - - '; - - $this->xmlTest($param, $xml, [ - 'nstest' => [ - [ - 'id' => '101', - 'isbn:number' => 1568491379, - 'meta' => [ - 'foo' => 10, - 'bar' => [ - 'attribute' => 'foo', - ], - ], - 'gamma' => [ - 'foo' => 'bar', - ], - ], - [ - 'id' => '102', - 'isbn:number' => 1568491999, - 'meta' => [ - 'foo' => 20, - 'bar' => [ - 'attribute' => 'bar' - ], - ], - 'gamma' => [ - 'foo' => 'baz', - ], - ], - ], - ]); - } - - /** - * @group ResponseLocation - */ - public function testCanWalkUndefinedPropertiesWithNamespace() - { - $param = new Parameter([ - 'name' => 'nstest', - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'name' => 'item', - 'type' => 'object', - 'sentAs' => 'item', - 'additionalProperties' => [ - 'type' => 'object', - 'data' => [ - 'xmlNs' => 'abstract' - ], - ], - 'properties' => [ - 'id' => [ - 'type' => 'string', - ], - 'isbn:number' => [ - 'type' => 'string', - ], - ], - ], - ]); - - $xml = ' - - - - 101 - 1568491379 - - 10 - baz - - - - 102 - 1568491999 - - 20 - foo - - - - - '; - - $this->xmlTest($param, $xml, [ - 'nstest' => [ - [ - 'id' => '101', - 'isbn:number' => 1568491379, - 'meta' => [ - 'foo' => 10, - 'bar' => 'baz', - ], - ], - [ - 'id' => '102', - 'isbn:number' => 1568491999, - 'meta' => [ - 'foo' => 20, - 'bar' => 'foo', - ], - ], - ] - ]); - } - - /** - * @group ResponseLocation - */ - public function testCanWalkSimpleArrayWithNamespace() - { - $param = new Parameter([ - 'name' => 'nstest', - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'type' => 'string', - 'sentAs' => 'number', - 'data' => [ - 'xmlNs' => 'isbn' - ], - ], - ]); - - $xml = ' - - - 1568491379 - 1568491999 - 1568492999 - - - '; - - $this->xmlTest($param, $xml, [ - 'nstest' => [ - 1568491379, - 1568491999, - 1568492999, - ], - ]); - } - - /** - * @group ResponseLocation - */ - public function testCanWalkSimpleArrayWithNamespace2() - { - $param = new Parameter([ - 'name' => 'nstest', - 'type' => 'array', - 'location' => 'xml', - 'items' => [ - 'type' => 'string', - 'sentAs' => 'isbn:number', - ] - ]); - - $xml = ' - - - 1568491379 - 1568491999 - 1568492999 - - - '; - - $this->xmlTest($param, $xml, [ - 'nstest' => [ - 1568491379, - 1568491999, - 1568492999, - ], - ]); - } - - private function xmlTest(Parameter $param, $xml, $expected) - { - $location = new XmlLocation(); - $model = new Parameter(); - $response = new Response(200, [], \GuzzleHttp\Psr7\stream_for($xml)); - $result = new Result(); - $result = $location->before($result, $response, $param); - $result = $location->visit($result, $response, $param); - $result = $location->after($result, $response, $model); - $this->assertEquals($expected, $result->toArray()); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/SchemaFormatterTest.php b/vendor/guzzlehttp/guzzle-services/tests/SchemaFormatterTest.php deleted file mode 100644 index a8e051ac..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/SchemaFormatterTest.php +++ /dev/null @@ -1,60 +0,0 @@ -assertEquals($result, (new SchemaFormatter)->format($format, $value)); - } - - /** - * @expectedException \InvalidArgumentException - */ - public function testValidatesDateTimeInput() - { - (new SchemaFormatter)->format('date-time', false); - } - - public function testEnsuresTimestampsAreIntegers() - { - $t = time(); - $result = (new SchemaFormatter)->format('timestamp', $t); - $this->assertSame($t, $result); - $this->assertInternalType('int', $result); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/SchemaValidatorTest.php b/vendor/guzzlehttp/guzzle-services/tests/SchemaValidatorTest.php deleted file mode 100644 index 6db3d24c..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/SchemaValidatorTest.php +++ /dev/null @@ -1,330 +0,0 @@ -validator = new SchemaValidator(); - } - - public function testValidatesArrayListsAreNumericallyIndexed() - { - $value = [[1]]; - $this->assertFalse($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals( - ['[Foo][0] must be an array of properties. Got a numerically indexed array.'], - $this->validator->getErrors() - ); - } - - public function testValidatesArrayListsContainProperItems() - { - $value = [true]; - $this->assertFalse($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals( - ['[Foo][0] must be of type object'], - $this->validator->getErrors() - ); - } - - public function testAddsDefaultValuesInLists() - { - $value = [[]]; - $this->assertTrue($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals([['Bar' => true]], $value); - } - - public function testMergesDefaultValuesInLists() - { - $value = [ - ['Baz' => 'hello!'], - ['Bar' => false], - ]; - $this->assertTrue($this->validator->validate($this->getComplexParam(), $value)); - $this->assertEquals([ - [ - 'Baz' => 'hello!', - 'Bar' => true, - ], - ['Bar' => false], - ], $value); - } - - public function testCorrectlyConvertsParametersToArrayWhenArraysArePresent() - { - $param = $this->getComplexParam(); - $result = $param->toArray(); - $this->assertInternalType('array', $result['items']); - $this->assertEquals('array', $result['type']); - $this->assertInstanceOf('GuzzleHttp\Command\Guzzle\Parameter', $param->getItems()); - } - - public function testEnforcesInstanceOfOnlyWhenObject() - { - $p = new Parameter([ - 'name' => 'foo', - 'type' => ['object', 'string'], - 'instanceOf' => get_class($this) - ]); - $this->assertTrue($this->validator->validate($p, $this)); - $s = 'test'; - $this->assertTrue($this->validator->validate($p, $s)); - } - - public function testConvertsObjectsToArraysWhenToArrayInterface() - { - $o = $this->getMockBuilder(ToArrayInterface::class) - ->setMethods(['toArray']) - ->getMockForAbstractClass(); - $o->expects($this->once()) - ->method('toArray') - ->will($this->returnValue(['foo' => 'bar'])); - $p = new Parameter([ - 'name' => 'test', - 'type' => 'object', - 'properties' => [ - 'foo' => ['required' => 'true'], - ], - ]); - $this->assertTrue($this->validator->validate($p, $o)); - } - - public function testMergesValidationErrorsInPropertiesWithParent() - { - $p = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'properties' => [ - 'bar' => ['type' => 'string', 'required' => true, 'description' => 'This is what it does'], - 'test' => ['type' => 'string', 'minLength' => 2, 'maxLength' => 5], - 'test2' => ['type' => 'string', 'minLength' => 2, 'maxLength' => 2], - 'test3' => ['type' => 'integer', 'minimum' => 100], - 'test4' => ['type' => 'integer', 'maximum' => 10], - 'test5' => ['type' => 'array', 'maxItems' => 2], - 'test6' => ['type' => 'string', 'enum' => ['a', 'bc']], - 'test7' => ['type' => 'string', 'pattern' => '/[0-9]+/'], - 'test8' => ['type' => 'number'], - 'baz' => [ - 'type' => 'array', - 'minItems' => 2, - 'required' => true, - "items" => ["type" => "string"], - ], - ], - ]); - - $value = [ - 'test' => 'a', - 'test2' => 'abc', - 'baz' => [false], - 'test3' => 10, - 'test4' => 100, - 'test5' => [1, 3, 4], - 'test6' => 'Foo', - 'test7' => 'abc', - 'test8' => 'abc', - ]; - - $this->assertFalse($this->validator->validate($p, $value)); - $this->assertEquals([ - '[foo][bar] is a required string: This is what it does', - '[foo][baz] must contain 2 or more elements', - '[foo][baz][0] must be of type string', - '[foo][test2] length must be less than or equal to 2', - '[foo][test3] must be greater than or equal to 100', - '[foo][test4] must be less than or equal to 10', - '[foo][test5] must contain 2 or fewer elements', - '[foo][test6] must be one of "a" or "bc"', - '[foo][test7] must match the following regular expression: /[0-9]+/', - '[foo][test8] must be of type number', - '[foo][test] length must be greater than or equal to 2', - ], $this->validator->getErrors()); - } - - public function testHandlesNullValuesInArraysWithDefaults() - { - $p = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'bar' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'foo' => ['default' => 'hi'], - ], - ], - ], - ]); - $value = []; - $this->assertTrue($this->validator->validate($p, $value)); - $this->assertEquals(['bar' => ['foo' => 'hi']], $value); - } - - public function testFailsWhenNullValuesInArraysWithNoDefaults() - { - $p = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'bar' => [ - 'type' => 'object', - 'required' => true, - 'properties' => [ - 'foo' => ['type' => 'string'], - ], - ], - ], - ]); - $value = []; - $this->assertFalse($this->validator->validate($p, $value)); - $this->assertEquals(['[foo][bar] is a required object'], $this->validator->getErrors()); - } - - public function testChecksTypes() - { - $p = new SchemaValidator(); - $r = new \ReflectionMethod($p, 'determineType'); - $r->setAccessible(true); - $this->assertEquals('any', $r->invoke($p, 'any', 'hello')); - $this->assertEquals(false, $r->invoke($p, 'foo', 'foo')); - $this->assertEquals('string', $r->invoke($p, 'string', 'hello')); - $this->assertEquals(false, $r->invoke($p, 'string', false)); - $this->assertEquals('integer', $r->invoke($p, 'integer', 1)); - $this->assertEquals(false, $r->invoke($p, 'integer', 'abc')); - $this->assertEquals('numeric', $r->invoke($p, 'numeric', 1)); - $this->assertEquals('numeric', $r->invoke($p, 'numeric', '1')); - $this->assertEquals('number', $r->invoke($p, 'number', 1)); - $this->assertEquals('number', $r->invoke($p, 'number', '1')); - $this->assertEquals(false, $r->invoke($p, 'numeric', 'a')); - $this->assertEquals('boolean', $r->invoke($p, 'boolean', true)); - $this->assertEquals('boolean', $r->invoke($p, 'boolean', false)); - $this->assertEquals(false, $r->invoke($p, 'boolean', 'false')); - $this->assertEquals('null', $r->invoke($p, 'null', null)); - $this->assertEquals(false, $r->invoke($p, 'null', 'abc')); - $this->assertEquals('array', $r->invoke($p, 'array', [])); - $this->assertEquals(false, $r->invoke($p, 'array', 'foo')); - } - - public function testValidatesFalseAdditionalProperties() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'properties' => [ - 'bar' => ['type' => 'string'], - ], - 'additionalProperties' => false, - ]); - $value = ['test' => '123']; - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(['[foo][test] is not an allowed property'], $this->validator->getErrors()); - $value = ['bar' => '123']; - $this->assertTrue($this->validator->validate($param, $value)); - } - - public function testAllowsUndefinedAdditionalProperties() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'properties' => [ - 'bar' => ['type' => 'string'], - ] - ]); - $value = ['test' => '123']; - $this->assertTrue($this->validator->validate($param, $value)); - } - - public function testValidatesAdditionalProperties() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'properties' => [ - 'bar' => ['type' => 'string'], - ], - 'additionalProperties' => ['type' => 'integer'], - ]); - $value = ['test' => 'foo']; - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(['[foo][test] must be of type integer'], $this->validator->getErrors()); - } - - public function testValidatesAdditionalPropertiesThatArrayArrays() - { - $param = new Parameter([ - 'name' => 'foo', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'array', - 'items' => ['type' => 'string'], - ], - ]); - $value = ['test' => [true]]; - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(['[foo][test][0] must be of type string'], $this->validator->getErrors()); - } - - public function testIntegersCastToStringWhenTypeMismatch() - { - $param = new Parameter([ - 'name' => 'test', - 'type' => 'string', - ]); - $value = 12; - $this->assertTrue($this->validator->validate($param, $value)); - $this->assertEquals('12', $value); - } - - public function testRequiredMessageIncludesType() - { - $param = new Parameter([ - 'name' => 'test', - 'type' => [ - 'string', - 'boolean', - ], - 'required' => true, - ]); - $value = null; - $this->assertFalse($this->validator->validate($param, $value)); - $this->assertEquals(['[test] is a required string or boolean'], $this->validator->getErrors()); - } - - protected function getComplexParam() - { - return new Parameter([ - 'name' => 'Foo', - 'type' => 'array', - 'required' => true, - 'min' => 1, - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Baz' => [ - 'type' => 'string', - ], - 'Bar' => [ - 'required' => true, - 'type' => 'boolean', - 'default' => true, - ], - ], - ], - ]); - } -} diff --git a/vendor/guzzlehttp/guzzle-services/tests/SerializerTest.php b/vendor/guzzlehttp/guzzle-services/tests/SerializerTest.php deleted file mode 100644 index 1d3a5a1e..00000000 --- a/vendor/guzzlehttp/guzzle-services/tests/SerializerTest.php +++ /dev/null @@ -1,39 +0,0 @@ - 'http://test.com', - 'operations' => [ - 'test' => [ - 'httpMethod' => 'GET', - 'uri' => '/api/{key}/foo', - 'parameters' => [ - 'key' => [ - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ], - ] - ] - ] - ]); - - $command = new Command('test', ['key' => 'bar']); - $serializer = new Serializer($description); - /** @var Request $request */ - $request = $serializer($command); - $this->assertEquals('http://test.com/api/bar/foo', $request->getUri()); - } -} diff --git a/vendor/guzzlehttp/guzzle/.php_cs b/vendor/guzzlehttp/guzzle/.php_cs deleted file mode 100644 index 2dd5036c..00000000 --- a/vendor/guzzlehttp/guzzle/.php_cs +++ /dev/null @@ -1,23 +0,0 @@ -setRiskyAllowed(true) - ->setRules([ - '@PSR2' => true, - 'array_syntax' => ['syntax' => 'short'], - 'declare_strict_types' => false, - 'concat_space' => ['spacing'=>'one'], - 'php_unit_test_case_static_method_calls' => ['call_type' => 'self'], - 'ordered_imports' => true, - // 'phpdoc_align' => ['align'=>'vertical'], - // 'native_function_invocation' => true, - ]) - ->setFinder( - PhpCsFixer\Finder::create() - ->in(__DIR__.'/src') - ->in(__DIR__.'/tests') - ->name('*.php') - ) -; - -return $config; diff --git a/vendor/guzzlehttp/guzzle/CHANGELOG.md b/vendor/guzzlehttp/guzzle/CHANGELOG.md deleted file mode 100644 index 464cf1c5..00000000 --- a/vendor/guzzlehttp/guzzle/CHANGELOG.md +++ /dev/null @@ -1,1338 +0,0 @@ -# Change Log - -## 6.5.5 - 2020-06-16 - -* Unpin version constraint for `symfony/polyfill-intl-idn` [#2678](https://github.com/guzzle/guzzle/pull/2678) - -## 6.5.4 - 2020-05-25 - -* Fix various intl icu issues [#2626](https://github.com/guzzle/guzzle/pull/2626) - -## 6.5.3 - 2020-04-18 - -* Use Symfony intl-idn polyfill [#2550](https://github.com/guzzle/guzzle/pull/2550) -* Remove use of internal functions [#2548](https://github.com/guzzle/guzzle/pull/2548) - -## 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 retries due unit mismatch. [#2132](https://github.com/guzzle/guzzle/pull/2132) - Previously, `RetryMiddleware` would sleep for 1 millisecond, then 2 milliseconds, then 4 milliseconds. - **After this change, `RetryMiddleware` will sleep for 1 second, then 2 seconds, then 4 seconds.** - `Middleware::retry()` accepts a second callback parameter to override the default timeouts if needed. -* 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 http://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: http://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 more information on the 4.0 transition, see: - http://mtdowling.com/blog/2014/03/15/guzzle-4-rc/ -* 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 http://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/Dockerfile b/vendor/guzzlehttp/guzzle/Dockerfile deleted file mode 100644 index f6a09523..00000000 --- a/vendor/guzzlehttp/guzzle/Dockerfile +++ /dev/null @@ -1,18 +0,0 @@ -FROM composer:latest as setup - -RUN mkdir /guzzle - -WORKDIR /guzzle - -RUN set -xe \ - && composer init --name=guzzlehttp/test --description="Simple project for testing Guzzle scripts" --author="Márk Sági-Kazár " --no-interaction \ - && composer require guzzlehttp/guzzle - - -FROM php:7.3 - -RUN mkdir /guzzle - -WORKDIR /guzzle - -COPY --from=setup /guzzle /guzzle diff --git a/vendor/guzzlehttp/guzzle/LICENSE b/vendor/guzzlehttp/guzzle/LICENSE deleted file mode 100644 index 50a177b0..00000000 --- a/vendor/guzzlehttp/guzzle/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2011-2018 Michael Dowling, https://github.com/mtdowling - -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 deleted file mode 100644 index 5fdb6c5f..00000000 --- a/vendor/guzzlehttp/guzzle/README.md +++ /dev/null @@ -1,90 +0,0 @@ -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/travis/guzzle/guzzle.svg?style=flat-square)](https://travis-ci.org/guzzle/guzzle) -[![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. -- 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 - -- [Documentation](http://guzzlephp.org/) -- [Stack Overflow](http://stackoverflow.com/questions/tagged/guzzle) -- [Gitter](https://gitter.im/guzzle/guzzle) - - -## Installing Guzzle - -The recommended way to install Guzzle is through -[Composer](http://getcomposer.org). - -```bash -# Install Composer -curl -sS https://getcomposer.org/installer | php -``` - -Next, run the Composer command to install the latest stable version of Guzzle: - -```bash -composer require guzzlehttp/guzzle -``` - -After installing, you need to require Composer's autoloader: - -```php -require 'vendor/autoload.php'; -``` - -You can then later update Guzzle using composer: - - ```bash -composer update - ``` - - -## 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 | -| 4.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >= 5.4 | -| 5.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >= 5.4 | -| 6.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >= 5.5 | - -[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 -[guzzle-3-docs]: http://guzzle3.readthedocs.org -[guzzle-5-docs]: http://guzzle.readthedocs.org/en/5.3/ -[guzzle-6-docs]: http://guzzle.readthedocs.org/en/latest/ diff --git a/vendor/guzzlehttp/guzzle/UPGRADING.md b/vendor/guzzlehttp/guzzle/UPGRADING.md deleted file mode 100644 index 91d1dcc9..00000000 --- a/vendor/guzzlehttp/guzzle/UPGRADING.md +++ /dev/null @@ -1,1203 +0,0 @@ -Guzzle Upgrade Guide -==================== - -5.0 to 6.0 ----------- - -Guzzle now uses [PSR-7](http://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](http://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 http://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 deleted file mode 100644 index c01864f0..00000000 --- a/vendor/guzzlehttp/guzzle/composer.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "guzzlehttp/guzzle", - "type": "library", - "description": "Guzzle is a PHP HTTP client library", - "keywords": [ - "framework", - "http", - "rest", - "web service", - "curl", - "client", - "HTTP client" - ], - "homepage": "http://guzzlephp.org/", - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "require": { - "php": ">=5.5", - "ext-json": "*", - "symfony/polyfill-intl-idn": "^1.17.0", - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.6.1" - }, - "require-dev": { - "ext-curl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.1" - }, - "suggest": { - "psr/log": "Required for using the Log middleware" - }, - "config": { - "sort-packages": true - }, - "extra": { - "branch-alias": { - "dev-master": "6.5-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/Client.php b/vendor/guzzlehttp/guzzle/src/Client.php deleted file mode 100644 index 315a022c..00000000 --- a/vendor/guzzlehttp/guzzle/src/Client.php +++ /dev/null @@ -1,501 +0,0 @@ - '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\uri_for($config['base_uri']); - } - - $this->configureDefaults($config); - } - - /** - * @param string $method - * @param array $args - * - * @return Promise\PromiseInterface - */ - 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 = isset($args[1]) ? $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. - * - * @return Promise\PromiseInterface - */ - public function sendAsync(RequestInterface $request, array $options = []) - { - // 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. - * - * @return ResponseInterface - * @throws GuzzleException - */ - public function send(RequestInterface $request, array $options = []) - { - $options[RequestOptions::SYNCHRONOUS] = true; - 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. - * - * @return Promise\PromiseInterface - */ - public function requestAsync($method, $uri = '', array $options = []) - { - $options = $this->prepareDefaults($options); - // Remove request modifying parameter because it can be done up-front. - $headers = isset($options['headers']) ? $options['headers'] : []; - $body = isset($options['body']) ? $options['body'] : null; - $version = isset($options['version']) ? $options['version'] : '1.1'; - // Merge the URI into the base URI. - $uri = $this->buildUri($uri, $options); - if (is_array($body)) { - $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. - * - * @return ResponseInterface - * @throws GuzzleException - */ - public function request($method, $uri = '', array $options = []) - { - $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 - */ - public function getConfig($option = null) - { - return $option === null - ? $this->config - : (isset($this->config[$option]) ? $this->config[$option] : null); - } - - /** - * @param string|null $uri - * - * @return UriInterface - */ - private function buildUri($uri, array $config) - { - // for BC we accept null which would otherwise fail in uri_for - $uri = Psr7\uri_for($uri === null ? '' : $uri); - - if (isset($config['base_uri'])) { - $uri = Psr7\UriResolver::resolve(Psr7\uri_for($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. - * - * @param array $config - * @return void - */ - private function configureDefaults(array $config) - { - $defaults = [ - 'allow_redirects' => RedirectMiddleware::$defaultSettings, - 'http_errors' => true, - 'decode_content' => true, - 'verify' => true, - 'cookies' => false, - 'idn_conversion' => true, - ]; - - // 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_name() === 'cli' && getenv('HTTP_PROXY')) { - $defaults['proxy']['http'] = getenv('HTTP_PROXY'); - } - - if ($proxy = getenv('HTTPS_PROXY')) { - $defaults['proxy']['https'] = $proxy; - } - - if ($noProxy = 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' => default_user_agent()]; - } 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'] = default_user_agent(); - } - } - - /** - * Merges default options into the array. - * - * @param array $options Options to modify by reference - * - * @return array - */ - private function prepareDefaults(array $options) - { - $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. - * - * @return Promise\PromiseInterface - */ - private function transfer(RequestInterface $request, array $options) - { - // save_to -> sink - if (isset($options['save_to'])) { - $options['sink'] = $options['save_to']; - unset($options['save_to']); - } - - // exceptions -> http_errors - if (isset($options['exceptions'])) { - $options['http_errors'] = $options['exceptions']; - unset($options['exceptions']); - } - - $request = $this->applyOptions($request, $options); - /** @var HandlerStack $handler */ - $handler = $options['handler']; - - try { - return Promise\promise_for($handler($request, $options)); - } catch (\Exception $e) { - return Promise\rejection_for($e); - } - } - - /** - * Applies the array of request options to a request. - * - * @param RequestInterface $request - * @param array $options - * - * @return RequestInterface - */ - private function applyOptions(RequestInterface $request, array &$options) - { - $modify = [ - 'set_headers' => [], - ]; - - if (isset($options['headers'])) { - $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\_caseless_remove(['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'] = \GuzzleHttp\json_encode($options['json']); - unset($options['json']); - // Ensure that we don't have the header in different case and set the new value. - $options['_conditional'] = Psr7\_caseless_remove(['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\_caseless_remove(['Accept-Encoding'], $options['_conditional']); - $modify['set_headers']['Accept-Encoding'] = $options['decode_content']; - } - - if (isset($options['body'])) { - if (is_array($options['body'])) { - $this->invalidBody(); - } - $modify['body'] = Psr7\stream_for($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\_caseless_remove(['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, null, '&', 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\modify_request($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\_caseless_remove(['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\modify_request($request, $modify); - // Don't pass this internal value along to middleware/handlers. - unset($options['_conditional']); - } - - return $request; - } - - /** - * Throw Exception with pre-set message. - * @return void - * @throws \InvalidArgumentException Invalid body. - */ - private function invalidBody() - { - throw new \InvalidArgumentException('Passing in the "body" request ' - . 'option as an array to send a POST request has been deprecated. ' - . '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 deleted file mode 100644 index 638b75dc..00000000 --- a/vendor/guzzlehttp/guzzle/src/ClientInterface.php +++ /dev/null @@ -1,87 +0,0 @@ -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 - * - * @return self - */ - public static function fromArray(array $cookies, $domain) - { - $cookieJar = new self(); - foreach ($cookies as $name => $value) { - $cookieJar->setCookie(new SetCookie([ - 'Domain' => $domain, - 'Name' => $name, - 'Value' => $value, - 'Discard' => true - ])); - } - - return $cookieJar; - } - - /** - * @deprecated - */ - public static function getCookieValue($value) - { - return $value; - } - - /** - * 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 - * @return bool - */ - public static function shouldPersist( - SetCookie $cookie, - $allowSessionCookies = false - ) { - 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($name) - { - // don't allow a non string name - if ($name === null || !is_scalar($name)) { - return null; - } - foreach ($this->cookies as $cookie) { - if ($cookie->getName() !== null && strcasecmp($cookie->getName(), $name) === 0) { - return $cookie; - } - } - - return null; - } - - public function toArray() - { - return array_map(function (SetCookie $cookie) { - return $cookie->toArray(); - }, $this->getIterator()->getArrayCopy()); - } - - public function clear($domain = null, $path = null, $name = null) - { - if (!$domain) { - $this->cookies = []; - return; - } elseif (!$path) { - $this->cookies = array_filter( - $this->cookies, - function (SetCookie $cookie) use ($domain) { - return !$cookie->matchesDomain($domain); - } - ); - } elseif (!$name) { - $this->cookies = array_filter( - $this->cookies, - function (SetCookie $cookie) use ($path, $domain) { - return !($cookie->matchesPath($path) && - $cookie->matchesDomain($domain)); - } - ); - } else { - $this->cookies = array_filter( - $this->cookies, - function (SetCookie $cookie) use ($path, $domain, $name) { - return !($cookie->getName() == $name && - $cookie->matchesPath($path) && - $cookie->matchesDomain($domain)); - } - ); - } - } - - public function clearSessionCookies() - { - $this->cookies = array_filter( - $this->cookies, - function (SetCookie $cookie) { - return !$cookie->getDiscard() && $cookie->getExpires(); - } - ); - } - - public function setCookie(SetCookie $cookie) - { - // 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); - } else { - $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() - { - return count($this->cookies); - } - - public function getIterator() - { - return new \ArrayIterator(array_values($this->cookies)); - } - - public function extractCookies( - RequestInterface $request, - ResponseInterface $response - ) { - 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)); - } - $this->setCookie($sc); - } - } - } - - /** - * Computes cookie path following RFC 6265 section 5.1.4 - * - * @link https://tools.ietf.org/html/rfc6265#section-5.1.4 - * - * @param RequestInterface $request - * @return string - */ - private function getCookiePathFromRequest(RequestInterface $request) - { - $uriPath = $request->getUri()->getPath(); - if ('' === $uriPath) { - return '/'; - } - if (0 !== strpos($uriPath, '/')) { - return '/'; - } - if ('/' === $uriPath) { - return '/'; - } - if (0 === $lastSlashPos = strrpos($uriPath, '/')) { - return '/'; - } - - return substr($uriPath, 0, $lastSlashPos); - } - - public function withCookieHeader(RequestInterface $request) - { - $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. - * - * @param SetCookie $cookie - */ - private function removeCookieIfEmpty(SetCookie $cookie) - { - $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 deleted file mode 100644 index 6ee11885..00000000 --- a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php +++ /dev/null @@ -1,84 +0,0 @@ -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($filename) - { - $json = []; - foreach ($this as $cookie) { - /** @var SetCookie $cookie */ - if (CookieJar::shouldPersist($cookie, $this->storeSessionCookies)) { - $json[] = $cookie->toArray(); - } - } - - $jsonStr = \GuzzleHttp\json_encode($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($filename) - { - $json = file_get_contents($filename); - if (false === $json) { - throw new \RuntimeException("Unable to load file {$filename}"); - } elseif ($json === '') { - return; - } - - $data = \GuzzleHttp\json_decode($json, true); - if (is_array($data)) { - foreach (json_decode($json, true) as $cookie) { - $this->setCookie(new SetCookie($cookie)); - } - } elseif (strlen($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 deleted file mode 100644 index 0224a244..00000000 --- a/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php +++ /dev/null @@ -1,72 +0,0 @@ -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() - { - $json = []; - foreach ($this as $cookie) { - /** @var SetCookie $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() - { - 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 deleted file mode 100644 index 3d776a70..00000000 --- a/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php +++ /dev/null @@ -1,403 +0,0 @@ - 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 - * - * @return self - */ - public static function fromString($cookie) - { - // 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 (empty($pieces[0]) || !strpos($pieces[0], '=')) { - 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 (empty($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 = []) - { - $this->data = array_replace(self::$defaults, $data); - // 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 ($this->getExpires() && !is_numeric($this->getExpires())) { - $this->setExpires($this->getExpires()); - } - } - - 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() - { - 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) - { - $this->data['Name'] = $name; - } - - /** - * Get the cookie value - * - * @return string - */ - public function getValue() - { - return $this->data['Value']; - } - - /** - * Set the cookie value - * - * @param string $value Cookie value - */ - public function setValue($value) - { - $this->data['Value'] = $value; - } - - /** - * Get the domain - * - * @return string|null - */ - public function getDomain() - { - return $this->data['Domain']; - } - - /** - * Set the domain of the cookie - * - * @param string $domain - */ - public function setDomain($domain) - { - $this->data['Domain'] = $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) - { - $this->data['Path'] = $path; - } - - /** - * Maximum lifetime of the cookie in seconds - * - * @return int|null - */ - public function getMaxAge() - { - return $this->data['Max-Age']; - } - - /** - * Set the max-age of the cookie - * - * @param int $maxAge Max age of the cookie in seconds - */ - public function setMaxAge($maxAge) - { - $this->data['Max-Age'] = $maxAge; - } - - /** - * The UNIX timestamp when the cookie Expires - * - * @return mixed - */ - public function getExpires() - { - return $this->data['Expires']; - } - - /** - * Set the unix timestamp for which the cookie will expire - * - * @param int $timestamp Unix timestamp - */ - public function setExpires($timestamp) - { - $this->data['Expires'] = is_numeric($timestamp) - ? (int) $timestamp - : strtotime($timestamp); - } - - /** - * Get whether or not this is a secure cookie - * - * @return bool|null - */ - 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) - { - $this->data['Secure'] = $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) - { - $this->data['Discard'] = $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) - { - $this->data['HttpOnly'] = $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 - * - * @return bool - */ - public function matchesPath($requestPath) - { - $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 - * - * @return bool - */ - public function matchesDomain($domain) - { - // Remove the leading '.' as per spec in RFC 6265. - // http://tools.ietf.org/html/rfc6265#section-5.2.3 - $cookieDomain = ltrim($this->getDomain(), '.'); - - // Domain not set or exact match. - if (!$cookieDomain || !strcasecmp($domain, $cookieDomain)) { - return true; - } - - // Matching the subdomain according to RFC 6265. - // http://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 - * - * @return bool - */ - public function isExpired() - { - 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() - { - // Names must not be empty, but can be 0 - $name = $this->getName(); - if (empty($name) && !is_numeric($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 empty, but can be 0 - $value = $this->getValue(); - if (empty($value) && !is_numeric($value)) { - return 'The cookie value must not be empty'; - } - - // Domains must not be empty, but can be 0 - // A "0" is not a valid internet domain, but may be used as server name - // in a private network. - $domain = $this->getDomain(); - if (empty($domain) && !is_numeric($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 deleted file mode 100644 index 427d896f..00000000 --- a/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php +++ /dev/null @@ -1,27 +0,0 @@ -getStatusCode() - : 0; - parent::__construct($message, $code, $previous); - $this->request = $request; - $this->response = $response; - $this->handlerContext = $handlerContext; - } - - /** - * Wrap non-RequestExceptions with a RequestException - * - * @param RequestInterface $request - * @param \Exception $e - * - * @return RequestException - */ - public static function wrapException(RequestInterface $request, \Exception $e) - { - 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 - * @param ResponseInterface $response Response received - * @param \Exception $previous Previous exception - * @param array $ctx Optional handler context. - * - * @return self - */ - public static function create( - RequestInterface $request, - ResponseInterface $response = null, - \Exception $previous = null, - array $ctx = [] - ) { - if (!$response) { - return new self( - 'Error completing request', - $request, - null, - $previous, - $ctx - ); - } - - $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, - $response->getStatusCode(), - $response->getReasonPhrase() - ); - - $summary = static::getResponseBodySummary($response); - - if ($summary !== null) { - $message .= ":\n{$summary}\n"; - } - - return new $className($message, $request, $response, $previous, $ctx); - } - - /** - * Get a short summary of the response - * - * Will return `null` if the response is not printable. - * - * @param ResponseInterface $response - * - * @return string|null - */ - public static function getResponseBodySummary(ResponseInterface $response) - { - return \GuzzleHttp\Psr7\get_message_body_summary($response); - } - - /** - * Obfuscates URI if there is a username and a password present - * - * @param UriInterface $uri - * - * @return UriInterface - */ - private static function obfuscateUri(UriInterface $uri) - { - $userInfo = $uri->getUserInfo(); - - if (false !== ($pos = strpos($userInfo, ':'))) { - return $uri->withUserInfo(substr($userInfo, 0, $pos), '***'); - } - - return $uri; - } - - /** - * Get the request that caused the exception - * - * @return RequestInterface - */ - public function getRequest() - { - return $this->request; - } - - /** - * Get the associated response - * - * @return ResponseInterface|null - */ - public function getResponse() - { - return $this->response; - } - - /** - * Check if a response was received - * - * @return bool - */ - public function hasResponse() - { - 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. - * - * @return array - */ - public function getHandlerContext() - { - return $this->handlerContext; - } -} diff --git a/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php b/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php deleted file mode 100644 index a77c2892..00000000 --- a/vendor/guzzlehttp/guzzle/src/Exception/SeekException.php +++ /dev/null @@ -1,27 +0,0 @@ -stream = $stream; - $msg = $msg ?: 'Could not seek the stream to position ' . $pos; - parent::__construct($msg); - } - - /** - * @return StreamInterface - */ - public function getStream() - { - return $this->stream; - } -} diff --git a/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php b/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php deleted file mode 100644 index 127094c1..00000000 --- a/vendor/guzzlehttp/guzzle/src/Exception/ServerException.php +++ /dev/null @@ -1,9 +0,0 @@ -maxHandles = $maxHandles; - } - - public function create(RequestInterface $request, array $options) - { - 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) - { - $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 $handler - * @param EasyHandle $easy - * @param CurlFactoryInterface $factory Dictates how the handle is released - * - * @return \GuzzleHttp\Promise\PromiseInterface - */ - public static function finish( - callable $handler, - EasyHandle $easy, - CurlFactoryInterface $factory - ) { - 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) - { - $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 - ); - call_user_func($easy->options['on_stats'], $stats); - } - - private static function finishError( - callable $handler, - EasyHandle $easy, - CurlFactoryInterface $factory - ) { - // 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) - { - 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 an exception was encountered during the onHeaders event, then - // return a rejected promise that wraps that exception. - if ($easy->onHeadersException) { - return \GuzzleHttp\Promise\rejection_for( - new RequestException( - 'An error was encountered during the on_headers event', - $easy->request, - $easy->response, - $easy->onHeadersException, - $ctx - ) - ); - } - if (version_compare($ctx[self::CURL_VERSION_STR], self::LOW_CURL_VERSION_NUMBER)) { - $message = sprintf( - 'cURL error %s: %s (%s)', - $ctx['errno'], - $ctx['error'], - 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html' - ); - } else { - $message = sprintf( - 'cURL error %s: %s (%s) for %s', - $ctx['errno'], - $ctx['error'], - 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html', - $easy->request->getUri() - ); - } - - // 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 \GuzzleHttp\Promise\rejection_for($error); - } - - private function getDefaultConf(EasyHandle $easy) - { - $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) - { - $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 http://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) - { - $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] = 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) - { - 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($name, array &$options) - { - foreach (array_keys($options['_headers']) as $key) { - if (!strcasecmp($key, $name)) { - unset($options['_headers'][$key]); - return; - } - } - } - - private function applyHandlerOptions(EasyHandle $easy, array &$conf) - { - $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']) && is_dir(readlink($options['verify'])))) { - $conf[CURLOPT_CAPATH] = $options['verify']; - } else { - $conf[CURLOPT_CAINFO] = $options['verify']; - } - } - } - } - - if (!empty($options['decode_content'])) { - $accept = $easy->request->getHeaderLine('Accept-Encoding'); - if ($accept) { - $conf[CURLOPT_ENCODING] = $accept; - } else { - $conf[CURLOPT_ENCODING] = ''; - // Don't let curl send the header over the wire - $conf[CURLOPT_HTTPHEADER][] = 'Accept-Encoding:'; - } - } - - if (isset($options['sink'])) { - $sink = $options['sink']; - if (!is_string($sink)) { - $sink = \GuzzleHttp\Psr7\stream_for($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] = function ($ch, $write) use ($sink) { - return $sink->write($write); - }; - } else { - // Use a default temp stream if no sink was set. - $conf[CURLOPT_FILE] = fopen('php://temp', 'w+'); - $easy->sink = Psr7\stream_for($conf[CURLOPT_FILE]); - } - $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']) || - !\GuzzleHttp\is_host_in_noproxy($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}" - ); - } - $conf[CURLOPT_SSLCERT] = $cert; - } - - if (isset($options['ssl_key'])) { - if (is_array($options['ssl_key'])) { - if (count($options['ssl_key']) === 2) { - list($sslKey, $conf[CURLOPT_SSLKEYPASSWD]) = $options['ssl_key']; - } else { - list($sslKey) = $options['ssl_key']; - } - } - - $sslKey = isset($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] = function () use ($progress) { - $args = func_get_args(); - // PHP 5.5 pushed the handle onto the start of the args - if (is_resource($args[0])) { - array_shift($args); - } - call_user_func_array($progress, $args); - }; - } - - if (!empty($options['debug'])) { - $conf[CURLOPT_STDERR] = \GuzzleHttp\debug_resource($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. - */ - private static function retryFailedRewind( - callable $handler, - EasyHandle $easy, - array $ctx - ) { - 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) - { - 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 function ($ch, $h) use ( - $onHeaders, - $easy, - &$startingResponse - ) { - $value = trim($h); - if ($value === '') { - $startingResponse = true; - $easy->createResponse(); - 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 deleted file mode 100644 index b0fc2368..00000000 --- a/vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php +++ /dev/null @@ -1,27 +0,0 @@ -factory = isset($options['handle_factory']) - ? $options['handle_factory'] - : new CurlFactory(3); - } - - public function __invoke(RequestInterface $request, array $options) - { - 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 deleted file mode 100644 index 564c95f4..00000000 --- a/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php +++ /dev/null @@ -1,219 +0,0 @@ -factory = isset($options['handle_factory']) - ? $options['handle_factory'] : new CurlFactory(50); - - if (isset($options['select_timeout'])) { - $this->selectTimeout = $options['select_timeout']; - } elseif ($selectTimeout = getenv('GUZZLE_CURL_SELECT_TIMEOUT')) { - $this->selectTimeout = $selectTimeout; - } else { - $this->selectTimeout = 1; - } - - $this->options = isset($options['options']) ? $options['options'] : []; - } - - public function __get($name) - { - if ($name === '_mh') { - $this->_mh = curl_multi_init(); - - foreach ($this->options as $option => $value) { - // A warning is raised in case of a wrong option. - curl_multi_setopt($this->_mh, $option, $value); - } - - // Further calls to _mh will return the value directly, without entering the - // __get() method at all. - return $this->_mh; - } - - throw new \BadMethodCallException(); - } - - public function __destruct() - { - if (isset($this->_mh)) { - curl_multi_close($this->_mh); - unset($this->_mh); - } - } - - public function __invoke(RequestInterface $request, array $options) - { - $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() - { - // 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\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() - { - $queue = P\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) - { - $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) - { - // 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() - { - while ($done = curl_multi_info_read($this->_mh)) { - $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() - { - $currentTime = Utils::currentTime(); - $nextTime = PHP_INT_MAX; - foreach ($this->delays as $time) { - if ($time < $nextTime) { - $nextTime = $time; - } - } - - return max(0, $nextTime - $currentTime) * 1000000; - } -} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php b/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php deleted file mode 100644 index 7754e911..00000000 --- a/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php +++ /dev/null @@ -1,92 +0,0 @@ -headers)) { - throw new \RuntimeException('No headers have been received'); - } - - // HTTP-version SP status-code SP reason-phrase - $startLine = explode(' ', array_shift($this->headers), 3); - $headers = \GuzzleHttp\headers_from_lines($this->headers); - $normalizedKeys = \GuzzleHttp\normalize_header_keys($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( - $startLine[1], - $headers, - $this->sink, - substr($startLine[0], 5), - isset($startLine[2]) ? (string) $startLine[2] : null - ); - } - - 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/MockHandler.php b/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php deleted file mode 100644 index 5b312bc0..00000000 --- a/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php +++ /dev/null @@ -1,195 +0,0 @@ -onFulfilled = $onFulfilled; - $this->onRejected = $onRejected; - - if ($queue) { - call_user_func_array([$this, 'append'], $queue); - } - } - - public function __invoke(RequestInterface $request, array $options) - { - if (!$this->queue) { - throw new \OutOfBoundsException('Mock queue is empty'); - } - - if (isset($options['delay']) && is_numeric($options['delay'])) { - usleep($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 = call_user_func($response, $request, $options); - } - - $response = $response instanceof \Exception - ? \GuzzleHttp\Promise\rejection_for($response) - : \GuzzleHttp\Promise\promise_for($response); - - return $response->then( - function ($value) use ($request, $options) { - $this->invokeStats($request, $options, $value); - if ($this->onFulfilled) { - call_user_func($this->onFulfilled, $value); - } - if (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 \Psr\Http\Message\StreamInterface) { - $sink->write($contents); - } - } - - return $value; - }, - function ($reason) use ($request, $options) { - $this->invokeStats($request, $options, null, $reason); - if ($this->onRejected) { - call_user_func($this->onRejected, $reason); - } - return \GuzzleHttp\Promise\rejection_for($reason); - } - ); - } - - /** - * Adds one or more variadic requests, exceptions, callables, or promises - * to the queue. - */ - public function append() - { - foreach (func_get_args() as $value) { - if ($value instanceof ResponseInterface - || $value instanceof \Exception - || $value instanceof PromiseInterface - || is_callable($value) - ) { - $this->queue[] = $value; - } else { - throw new \InvalidArgumentException('Expected a response or ' - . 'exception. Found ' . \GuzzleHttp\describe_type($value)); - } - } - } - - /** - * Get the last received request. - * - * @return RequestInterface - */ - public function getLastRequest() - { - return $this->lastRequest; - } - - /** - * Get the last received request options. - * - * @return array - */ - public function getLastOptions() - { - return $this->lastOptions; - } - - /** - * Returns the number of remaining items in the queue. - * - * @return int - */ - public function count() - { - return count($this->queue); - } - - public function reset() - { - $this->queue = []; - } - - private function invokeStats( - RequestInterface $request, - array $options, - ResponseInterface $response = null, - $reason = null - ) { - if (isset($options['on_stats'])) { - $transferTime = isset($options['transfer_time']) ? $options['transfer_time'] : 0; - $stats = new TransferStats($request, $response, $transferTime, $reason); - call_user_func($options['on_stats'], $stats); - } - } -} diff --git a/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php b/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php deleted file mode 100644 index f8b00be0..00000000 --- a/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php +++ /dev/null @@ -1,55 +0,0 @@ -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 (strpos($message, 'getaddrinfo') // DNS lookup failed - || strpos($message, 'Connection refused') - || strpos($message, "couldn't connect to host") // error on HHVM - || strpos($message, "connection attempt failed") - ) { - $e = new ConnectException($e->getMessage(), $request, $e); - } - $e = RequestException::wrapException($request, $e); - $this->invokeStats($options, $request, $startTime, null, $e); - - return \GuzzleHttp\Promise\rejection_for($e); - } - } - - private function invokeStats( - array $options, - RequestInterface $request, - $startTime, - ResponseInterface $response = null, - $error = null - ) { - if (isset($options['on_stats'])) { - $stats = new TransferStats( - $request, - $response, - Utils::currentTime() - $startTime, - $error, - [] - ); - call_user_func($options['on_stats'], $stats); - } - } - - private function createResponse( - RequestInterface $request, - array $options, - $stream, - $startTime - ) { - $hdrs = $this->lastHeaders; - $this->lastHeaders = []; - $parts = explode(' ', array_shift($hdrs), 3); - $ver = explode('/', $parts[0])[1]; - $status = $parts[1]; - $reason = isset($parts[2]) ? $parts[2] : null; - $headers = \GuzzleHttp\headers_from_lines($hdrs); - list($stream, $headers) = $this->checkDecode($options, $headers, $stream); - $stream = Psr7\stream_for($stream); - $sink = $stream; - - if (strcasecmp('HEAD', $request->getMethod())) { - $sink = $this->createSink($stream, $options); - } - - $response = new Psr7\Response($status, $headers, $sink, $ver, $reason); - - if (isset($options['on_headers'])) { - try { - $options['on_headers']($response); - } catch (\Exception $e) { - $msg = 'An error was encountered during the on_headers event'; - $ex = new RequestException($msg, $request, $response, $e); - return \GuzzleHttp\Promise\rejection_for($ex); - } - } - - // 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) - { - if (!empty($options['stream'])) { - return $stream; - } - - $sink = isset($options['sink']) - ? $options['sink'] - : fopen('php://temp', 'r+'); - - return is_string($sink) - ? new Psr7\LazyOpenStream($sink, 'w+') - : Psr7\stream_for($sink); - } - - private function checkDecode(array $options, array $headers, $stream) - { - // Automatically decode responses when instructed. - if (!empty($options['decode_content'])) { - $normalizedKeys = \GuzzleHttp\normalize_header_keys($headers); - if (isset($normalizedKeys['content-encoding'])) { - $encoding = $headers[$normalizedKeys['content-encoding']]; - if ($encoding[0] === 'gzip' || $encoding[0] === 'deflate') { - $stream = new Psr7\InflateStream( - Psr7\stream_for($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 StreamInterface $source - * @param StreamInterface $sink - * @param string $contentLength Header specifying the amount of - * data to read. - * - * @return StreamInterface - * @throws \RuntimeException when the sink option is invalid. - */ - private function drain( - StreamInterface $source, - StreamInterface $sink, - $contentLength - ) { - // 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\copy_to_stream( - $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 = null; - set_error_handler(function ($_, $msg, $file, $line) use (&$errors) { - $errors[] = [ - 'message' => $msg, - 'file' => $file, - 'line' => $line - ]; - return true; - }); - - $resource = $callback(); - 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; - } - - private function createStream(RequestInterface $request, array $options) - { - static $methods; - if (!$methods) { - $methods = array_flip(get_class_methods(__CLASS__)); - } - - // 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']) - && is_array($options['auth']) - && isset($options['auth'][2]) - && 'ntlm' == $options['auth'][2] - ) { - throw new \InvalidArgumentException('Microsoft NTLM authentication only supported with curl handler'); - } - - $uri = $this->resolveHost($request, $options); - - $context = $this->createResource( - function () use ($context, $params) { - return stream_context_create($context, $params); - } - ); - - return $this->createResource( - function () use ($uri, &$http_response_header, $context, $options) { - $resource = fopen((string) $uri, 'r', null, $context); - $this->lastHeaders = $http_response_header; - - 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) - { - $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 (!isset($records[0]['ip'])) { - throw new ConnectException( - sprintf( - "Could not resolve IPv4 address for host '%s'", - $uri->getHost() - ), - $request - ); - } - $uri = $uri->withHost($records[0]['ip']); - } elseif ('v6' === $options['force_ip_resolve']) { - $records = dns_get_record($uri->getHost(), DNS_AAAA); - if (!isset($records[0]['ipv6'])) { - throw new ConnectException( - sprintf( - "Could not resolve IPv6 address for host '%s'", - $uri->getHost() - ), - $request - ); - } - $uri = $uri->withHost('[' . $records[0]['ipv6'] . ']'); - } - } - - return $uri; - } - - private function getDefaultContext(RequestInterface $request) - { - $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, - ], - ]; - - $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; - } - - private function add_proxy(RequestInterface $request, &$options, $value, &$params) - { - if (!is_array($value)) { - $options['http']['proxy'] = $value; - } else { - $scheme = $request->getUri()->getScheme(); - if (isset($value[$scheme])) { - if (!isset($value['no']) - || !\GuzzleHttp\is_host_in_noproxy( - $request->getUri()->getHost(), - $value['no'] - ) - ) { - $options['http']['proxy'] = $value[$scheme]; - } - } - } - } - - private function add_timeout(RequestInterface $request, &$options, $value, &$params) - { - if ($value > 0) { - $options['http']['timeout'] = $value; - } - } - - private function add_verify(RequestInterface $request, &$options, $value, &$params) - { - if ($value === true) { - // PHP 5.6 or greater will find the system cert by default. When - // < 5.6, use the Guzzle bundled cacert. - if (PHP_VERSION_ID < 50600) { - $options['ssl']['cafile'] = \GuzzleHttp\default_ca_bundle(); - } - } elseif (is_string($value)) { - $options['ssl']['cafile'] = $value; - if (!file_exists($value)) { - throw new \RuntimeException("SSL CA bundle not found: $value"); - } - } elseif ($value === false) { - $options['ssl']['verify_peer'] = false; - $options['ssl']['verify_peer_name'] = false; - return; - } else { - throw new \InvalidArgumentException('Invalid verify request option'); - } - - $options['ssl']['verify_peer'] = true; - $options['ssl']['verify_peer_name'] = true; - $options['ssl']['allow_self_signed'] = false; - } - - private function add_cert(RequestInterface $request, &$options, $value, &$params) - { - 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; - } - - private function add_progress(RequestInterface $request, &$options, $value, &$params) - { - $this->addNotification( - $params, - function ($code, $a, $b, $c, $transferred, $total) use ($value) { - if ($code == STREAM_NOTIFY_PROGRESS) { - $value($total, $transferred, null, null); - } - } - ); - } - - private function add_debug(RequestInterface $request, &$options, $value, &$params) - { - 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 = \GuzzleHttp\debug_resource($value); - $ident = $request->getMethod() . ' ' . $request->getUri()->withFragment(''); - $this->addNotification( - $params, - function () use ($ident, $value, $map, $args) { - $passed = func_get_args(); - $code = array_shift($passed); - fprintf($value, '<%s> [%s] ', $ident, $map[$code]); - foreach (array_filter($passed) as $i => $v) { - fwrite($value, $args[$i] . ': "' . $v . '" '); - } - fwrite($value, "\n"); - } - ); - } - - private function addNotification(array &$params, callable $notify) - { - // Wrap the existing function if needed. - if (!isset($params['notification'])) { - $params['notification'] = $notify; - } else { - $params['notification'] = $this->callArray([ - $params['notification'], - $notify - ]); - } - } - - private function callArray(array $functions) - { - return function () use ($functions) { - $args = func_get_args(); - foreach ($functions as $fn) { - call_user_func_array($fn, $args); - } - }; - } -} diff --git a/vendor/guzzlehttp/guzzle/src/HandlerStack.php b/vendor/guzzlehttp/guzzle/src/HandlerStack.php deleted file mode 100644 index 6a49cc06..00000000 --- a/vendor/guzzlehttp/guzzle/src/HandlerStack.php +++ /dev/null @@ -1,277 +0,0 @@ -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 $handler Underlying HTTP handler. - */ - public function __construct(callable $handler = null) - { - $this->handler = $handler; - } - - /** - * Invokes the handler stack as a composed handler - * - * @param RequestInterface $request - * @param array $options - * - * @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) { - $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 $handler Accepts a request and array of options and - * returns a Promise. - */ - public function setHandler(callable $handler) - { - $this->handler = $handler; - $this->cached = null; - } - - /** - * Returns true if the builder has a handler. - * - * @return bool - */ - public function hasHandler() - { - return (bool) $this->handler; - } - - /** - * Unshift a middleware to the bottom of the stack. - * - * @param callable $middleware Middleware function - * @param string $name Name to register for this middleware. - */ - public function unshift(callable $middleware, $name = null) - { - array_unshift($this->stack, [$middleware, $name]); - $this->cached = null; - } - - /** - * Push a middleware to the top of the stack. - * - * @param callable $middleware Middleware function - * @param string $name Name to register for this middleware. - */ - public function push(callable $middleware, $name = '') - { - $this->stack[] = [$middleware, $name]; - $this->cached = null; - } - - /** - * Add a middleware before another middleware by name. - * - * @param string $findName Middleware to find - * @param callable $middleware Middleware function - * @param string $withName Name to register for this middleware. - */ - public function before($findName, callable $middleware, $withName = '') - { - $this->splice($findName, $withName, $middleware, true); - } - - /** - * Add a middleware after another middleware by name. - * - * @param string $findName Middleware to find - * @param callable $middleware Middleware function - * @param string $withName Name to register for this middleware. - */ - public function after($findName, callable $middleware, $withName = '') - { - $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) - { - $this->cached = null; - $idx = is_callable($remove) ? 0 : 1; - $this->stack = array_values(array_filter( - $this->stack, - function ($tuple) use ($idx, $remove) { - return $tuple[$idx] !== $remove; - } - )); - } - - /** - * Compose the middleware and handler into a single callable function. - * - * @return callable - */ - public function resolve() - { - if (!$this->cached) { - if (!($prev = $this->handler)) { - throw new \LogicException('No handler has been specified'); - } - - foreach (array_reverse($this->stack) as $fn) { - $prev = $fn[0]($prev); - } - - $this->cached = $prev; - } - - return $this->cached; - } - - /** - * @param string $name - * @return int - */ - private function findByName($name) - { - 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. - * - * @param string $findName - * @param string $withName - * @param callable $middleware - * @param bool $before - */ - private function splice($findName, $withName, callable $middleware, $before) - { - $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 array|callable $fn Function to write as a string. - * - * @return string - */ - private function debugCallable($fn) - { - 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]}'])"; - } - - return 'callable(' . spl_object_hash($fn) . ')'; - } -} diff --git a/vendor/guzzlehttp/guzzle/src/MessageFormatter.php b/vendor/guzzlehttp/guzzle/src/MessageFormatter.php deleted file mode 100644 index dc36bb52..00000000 --- a/vendor/guzzlehttp/guzzle/src/MessageFormatter.php +++ /dev/null @@ -1,185 +0,0 @@ ->>>>>>>\n{request}\n<<<<<<<<\n{response}\n--------\n{error}"; - 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($template = self::CLF) - { - $this->template = $template ?: self::CLF; - } - - /** - * Returns a formatted message string. - * - * @param RequestInterface $request Request that was sent - * @param ResponseInterface $response Response that was received - * @param \Exception $error Exception that was received - * - * @return string - */ - public function format( - RequestInterface $request, - ResponseInterface $response = null, - \Exception $error = null - ) { - $cache = []; - - 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\str($request); - break; - case 'response': - $result = $response ? Psr7\str($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(); - break; - case 'res_body': - $result = $response ? $response->getBody() : 'NULL'; - 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(); - 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 - * - * @return string - */ - private function headers(MessageInterface $message) - { - $result = ''; - foreach ($message->getHeaders() as $name => $values) { - $result .= $name . ': ' . implode(', ', $values) . "\r\n"; - } - - return trim($result); - } -} diff --git a/vendor/guzzlehttp/guzzle/src/Middleware.php b/vendor/guzzlehttp/guzzle/src/Middleware.php deleted file mode 100644 index bffc1974..00000000 --- a/vendor/guzzlehttp/guzzle/src/Middleware.php +++ /dev/null @@ -1,254 +0,0 @@ -withCookieHeader($request); - return $handler($request, $options) - ->then( - function ($response) use ($cookieJar, $request) { - $cookieJar->extractCookies($request, $response); - return $response; - } - ); - }; - }; - } - - /** - * Middleware that throws exceptions for 4xx or 5xx responses when the - * "http_error" request option is set to true. - * - * @return callable Returns a function that accepts the next handler. - */ - public static function httpErrors() - { - return function (callable $handler) { - return function ($request, array $options) use ($handler) { - if (empty($options['http_errors'])) { - return $handler($request, $options); - } - return $handler($request, $options)->then( - function (ResponseInterface $response) use ($request) { - $code = $response->getStatusCode(); - if ($code < 400) { - return $response; - } - throw RequestException::create($request, $response); - } - ); - }; - }; - } - - /** - * Middleware that pushes history data to an ArrayAccess container. - * - * @param array|\ArrayAccess $container Container to hold the history (by reference). - * - * @return callable Returns a function that accepts the next handler. - * @throws \InvalidArgumentException if container is not an array or ArrayAccess. - */ - public static function history(&$container) - { - if (!is_array($container) && !$container instanceof \ArrayAccess) { - throw new \InvalidArgumentException('history container must be an array or object implementing ArrayAccess'); - } - - return function (callable $handler) use (&$container) { - return function ($request, array $options) use ($handler, &$container) { - return $handler($request, $options)->then( - function ($value) use ($request, &$container, $options) { - $container[] = [ - 'request' => $request, - 'response' => $value, - 'error' => null, - 'options' => $options - ]; - return $value; - }, - function ($reason) use ($request, &$container, $options) { - $container[] = [ - 'request' => $request, - 'response' => null, - 'error' => $reason, - 'options' => $options - ]; - return \GuzzleHttp\Promise\rejection_for($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) - { - return function (callable $handler) use ($before, $after) { - return function ($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() - { - return function (callable $handler) { - 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) - { - return function (callable $handler) use ($decider, $delay) { - return new RetryMiddleware($decider, $handler, $delay); - }; - } - - /** - * Middleware that logs requests, responses, and errors using a message - * formatter. - * - * @param LoggerInterface $logger Logs messages. - * @param 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, MessageFormatter $formatter, $logLevel = 'info' /* \Psr\Log\LogLevel::INFO */) - { - return function (callable $handler) use ($logger, $formatter, $logLevel) { - return function ($request, array $options) use ($handler, $logger, $formatter, $logLevel) { - return $handler($request, $options)->then( - function ($response) use ($logger, $request, $formatter, $logLevel) { - $message = $formatter->format($request, $response); - $logger->log($logLevel, $message); - return $response; - }, - function ($reason) use ($logger, $request, $formatter) { - $response = $reason instanceof RequestException - ? $reason->getResponse() - : null; - $message = $formatter->format($request, $response, $reason); - $logger->notice($message); - return \GuzzleHttp\Promise\rejection_for($reason); - } - ); - }; - }; - } - - /** - * This middleware adds a default content-type if possible, a default - * content-length or transfer-encoding header, and the expect header. - * - * @return callable - */ - public static function prepareBody() - { - return function (callable $handler) { - 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. - * @return callable - */ - public static function mapRequest(callable $fn) - { - return function (callable $handler) use ($fn) { - return function ($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. - * @return callable - */ - public static function mapResponse(callable $fn) - { - return function (callable $handler) use ($fn) { - return function ($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 deleted file mode 100644 index 5838db4f..00000000 --- a/vendor/guzzlehttp/guzzle/src/Pool.php +++ /dev/null @@ -1,134 +0,0 @@ - $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 - * - * @return PromiseInterface - */ - public function promise() - { - 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 = [] - ) { - $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) - * - * @return void - */ - private static function cmpCallback(array &$options, $name, array &$results) - { - if (!isset($options[$name])) { - $options[$name] = function ($v, $k) use (&$results) { - $results[$k] = $v; - }; - } else { - $currentFn = $options[$name]; - $options[$name] = 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 deleted file mode 100644 index 568a1e90..00000000 --- a/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php +++ /dev/null @@ -1,111 +0,0 @@ -nextHandler = $nextHandler; - } - - /** - * @param RequestInterface $request - * @param array $options - * - * @return PromiseInterface - */ - public function __invoke(RequestInterface $request, array $options) - { - $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 ($type = Psr7\mimetype_from_filename($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\modify_request($request, $modify), $options); - } - - /** - * Add expect header - * - * @return void - */ - private function addExpectHeader( - RequestInterface $request, - array $options, - array &$modify - ) { - // Determine if the Expect header should be used - if ($request->hasHeader('Expect')) { - return; - } - - $expect = isset($options['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 deleted file mode 100644 index e4644b7a..00000000 --- a/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php +++ /dev/null @@ -1,255 +0,0 @@ - 5, - 'protocols' => ['http', 'https'], - 'strict' => false, - 'referer' => false, - 'track_redirects' => false, - ]; - - /** @var callable */ - private $nextHandler; - - /** - * @param callable $nextHandler Next handler to invoke. - */ - public function __construct(callable $nextHandler) - { - $this->nextHandler = $nextHandler; - } - - /** - * @param RequestInterface $request - * @param array $options - * - * @return PromiseInterface - */ - public function __invoke(RequestInterface $request, array $options) - { - $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); - }); - } - - /** - * @param RequestInterface $request - * @param array $options - * @param ResponseInterface $response - * - * @return ResponseInterface|PromiseInterface - */ - public function checkRedirect( - RequestInterface $request, - array $options, - ResponseInterface $response - ) { - if (substr($response->getStatusCode(), 0, 1) != '3' - || !$response->hasHeader('Location') - ) { - return $response; - } - - $this->guardMax($request, $options); - $nextRequest = $this->modifyRequest($request, $options, $response); - - if (isset($options['allow_redirects']['on_redirect'])) { - call_user_func( - $options['allow_redirects']['on_redirect'], - $request, - $response, - $nextRequest->getUri() - ); - } - - /** @var PromiseInterface|ResponseInterface $promise */ - $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. - * - * @return PromiseInterface - */ - private function withTracking(PromiseInterface $promise, $uri, $statusCode) - { - return $promise->then( - 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, $statusCode); - return $response->withHeader(self::HISTORY_HEADER, $historyHeader) - ->withHeader(self::STATUS_HISTORY_HEADER, $statusHeader); - } - ); - } - - /** - * Check for too many redirects - * - * @return void - * - * @throws TooManyRedirectsException Too many redirects. - */ - private function guardMax(RequestInterface $request, array &$options) - { - $current = isset($options['__redirect_count']) - ? $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 - ); - } - } - - /** - * @param RequestInterface $request - * @param array $options - * @param ResponseInterface $response - * - * @return RequestInterface - */ - public function modifyRequest( - RequestInterface $request, - array $options, - ResponseInterface $response - ) { - // 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']) - ) { - $modify['method'] = '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\rewind_body($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\modify_request($request, $modify); - } - - /** - * Set the appropriate URL on the request based on the location header - * - * @param RequestInterface $request - * @param ResponseInterface $response - * @param array $protocols - * - * @return UriInterface - */ - private function redirectUri( - RequestInterface $request, - ResponseInterface $response, - array $protocols - ) { - $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 deleted file mode 100644 index 355f658f..00000000 --- a/vendor/guzzlehttp/guzzle/src/RequestOptions.php +++ /dev/null @@ -1,263 +0,0 @@ -decider = $decider; - $this->nextHandler = $nextHandler; - $this->delay = $delay ?: __CLASS__ . '::exponentialDelay'; - } - - /** - * Default exponential backoff delay function. - * - * @param int $retries - * - * @return int milliseconds. - */ - public static function exponentialDelay($retries) - { - return (int) pow(2, $retries - 1) * 1000; - } - - /** - * @param RequestInterface $request - * @param array $options - * - * @return PromiseInterface - */ - public function __invoke(RequestInterface $request, array $options) - { - 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 - * - * @return mixed - */ - private function onFulfilled(RequestInterface $req, array $options) - { - return function ($value) use ($req, $options) { - if (!call_user_func( - $this->decider, - $options['retries'], - $req, - $value, - null - )) { - return $value; - } - return $this->doRetry($req, $options, $value); - }; - } - - /** - * Execute rejected closure - * - * @return callable - */ - private function onRejected(RequestInterface $req, array $options) - { - return function ($reason) use ($req, $options) { - if (!call_user_func( - $this->decider, - $options['retries'], - $req, - null, - $reason - )) { - return \GuzzleHttp\Promise\rejection_for($reason); - } - return $this->doRetry($req, $options); - }; - } - - /** - * @return self - */ - private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null) - { - $options['delay'] = call_user_func($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 deleted file mode 100644 index 87fb3c00..00000000 --- a/vendor/guzzlehttp/guzzle/src/TransferStats.php +++ /dev/null @@ -1,126 +0,0 @@ -request = $request; - $this->response = $response; - $this->transferTime = $transferTime; - $this->handlerErrorData = $handlerErrorData; - $this->handlerStats = $handlerStats; - } - - /** - * @return RequestInterface - */ - public function getRequest() - { - return $this->request; - } - - /** - * Returns the response that was received (if any). - * - * @return ResponseInterface|null - */ - public function getResponse() - { - return $this->response; - } - - /** - * Returns true if a response was received. - * - * @return bool - */ - public function hasResponse() - { - 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. - * - * @return UriInterface - */ - public function getEffectiveUri() - { - 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() - { - return $this->transferTime; - } - - /** - * Gets an array of all of the handler specific transfer data. - * - * @return array - */ - public function getHandlerStats() - { - 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($stat) - { - return isset($this->handlerStats[$stat]) - ? $this->handlerStats[$stat] - : null; - } -} diff --git a/vendor/guzzlehttp/guzzle/src/UriTemplate.php b/vendor/guzzlehttp/guzzle/src/UriTemplate.php deleted file mode 100644 index 96dcfd09..00000000 --- a/vendor/guzzlehttp/guzzle/src/UriTemplate.php +++ /dev/null @@ -1,237 +0,0 @@ - ['prefix' => '', 'joiner' => ',', 'query' => false], - '+' => ['prefix' => '', 'joiner' => ',', 'query' => false], - '#' => ['prefix' => '#', 'joiner' => ',', 'query' => false], - '.' => ['prefix' => '.', 'joiner' => '.', 'query' => false], - '/' => ['prefix' => '/', 'joiner' => '/', 'query' => false], - ';' => ['prefix' => ';', 'joiner' => ';', 'query' => true], - '?' => ['prefix' => '?', 'joiner' => '&', 'query' => true], - '&' => ['prefix' => '&', 'joiner' => '&', 'query' => true] - ]; - - /** @var array Delimiters */ - private static $delims = [':', '/', '?', '#', '[', ']', '@', '!', '$', - '&', '\'', '(', ')', '*', '+', ',', ';', '=']; - - /** @var array Percent encoded delimiters */ - private static $delimsPct = ['%3A', '%2F', '%3F', '%23', '%5B', '%5D', - '%40', '%21', '%24', '%26', '%27', '%28', '%29', '%2A', '%2B', '%2C', - '%3B', '%3D']; - - public function expand($template, array $variables) - { - if (false === strpos($template, '{')) { - return $template; - } - - $this->template = $template; - $this->variables = $variables; - - return preg_replace_callback( - '/\{([^\}]+)\}/', - [$this, 'expandMatch'], - $this->template - ); - } - - /** - * Parse an expression into parts - * - * @param string $expression Expression to parse - * - * @return array Returns an associative array of parts - */ - private function parseExpression($expression) - { - $result = []; - - if (isset(self::$operatorHash[$expression[0]])) { - $result['operator'] = $expression[0]; - $expression = substr($expression, 1); - } else { - $result['operator'] = ''; - } - - foreach (explode(',', $expression) as $value) { - $value = trim($value); - $varspec = []; - if ($colonPos = strpos($value, ':')) { - $varspec['value'] = substr($value, 0, $colonPos); - $varspec['modifier'] = ':'; - $varspec['position'] = (int) substr($value, $colonPos + 1); - } elseif (substr($value, -1) === '*') { - $varspec['modifier'] = '*'; - $varspec['value'] = substr($value, 0, -1); - } else { - $varspec['value'] = (string) $value; - $varspec['modifier'] = ''; - } - $result['values'][] = $varspec; - } - - return $result; - } - - /** - * Process an expansion - * - * @param array $matches Matches met in the preg_replace_callback - * - * @return string Returns the replacement string - */ - private function expandMatch(array $matches) - { - static $rfc1738to3986 = ['+' => '%20', '%7e' => '~']; - - $replacements = []; - $parsed = self::parseExpression($matches[1]); - $prefix = self::$operatorHash[$parsed['operator']]['prefix']; - $joiner = self::$operatorHash[$parsed['operator']]['joiner']; - $useQuery = self::$operatorHash[$parsed['operator']]['query']; - - foreach ($parsed['values'] as $value) { - if (!isset($this->variables[$value['value']])) { - continue; - } - - $variable = $this->variables[$value['value']]; - $actuallyUseQuery = $useQuery; - $expanded = ''; - - if (is_array($variable)) { - $isAssoc = $this->isAssoc($variable); - $kvp = []; - foreach ($variable as $key => $var) { - if ($isAssoc) { - $key = rawurlencode($key); - $isNestedArray = is_array($var); - } else { - $isNestedArray = false; - } - - if (!$isNestedArray) { - $var = rawurlencode($var); - if ($parsed['operator'] === '+' || - $parsed['operator'] === '#' - ) { - $var = $this->decodeReserved($var); - } - } - - if ($value['modifier'] === '*') { - if ($isAssoc) { - if ($isNestedArray) { - // Nested arrays must allow for deeply nested - // structures. - $var = strtr( - http_build_query([$key => $var]), - $rfc1738to3986 - ); - } else { - $var = $key . '=' . $var; - } - } elseif ($key > 0 && $actuallyUseQuery) { - $var = $value['value'] . '=' . $var; - } - } - - $kvp[$key] = $var; - } - - if (empty($variable)) { - $actuallyUseQuery = false; - } elseif ($value['modifier'] === '*') { - $expanded = implode($joiner, $kvp); - if ($isAssoc) { - // Don't prepend the value name when using the explode - // modifier with an associative array. - $actuallyUseQuery = false; - } - } else { - if ($isAssoc) { - // When an associative array is encountered and the - // explode modifier is not set, then the result must be - // a comma separated list of keys followed by their - // respective values. - foreach ($kvp as $k => &$v) { - $v = $k . ',' . $v; - } - } - $expanded = implode(',', $kvp); - } - } else { - if ($value['modifier'] === ':') { - $variable = substr($variable, 0, $value['position']); - } - $expanded = rawurlencode($variable); - if ($parsed['operator'] === '+' || $parsed['operator'] === '#') { - $expanded = $this->decodeReserved($expanded); - } - } - - if ($actuallyUseQuery) { - if (!$expanded && $joiner !== '&') { - $expanded = $value['value']; - } else { - $expanded = $value['value'] . '=' . $expanded; - } - } - - $replacements[] = $expanded; - } - - $ret = implode($joiner, $replacements); - if ($ret && $prefix) { - return $prefix . $ret; - } - - return $ret; - } - - /** - * Determines if an array is associative. - * - * This makes the assumption that input arrays are sequences or hashes. - * This assumption is a tradeoff for accuracy in favor of speed, but it - * should work in almost every case where input is supplied for a URI - * template. - * - * @param array $array Array to check - * - * @return bool - */ - private function isAssoc(array $array) - { - return $array && array_keys($array)[0] !== 0; - } - - /** - * Removes percent encoding on reserved characters (used with + and # - * modifiers). - * - * @param string $string String to fix - * - * @return string - */ - private function decodeReserved($string) - { - return str_replace(self::$delimsPct, self::$delims, $string); - } -} diff --git a/vendor/guzzlehttp/guzzle/src/Utils.php b/vendor/guzzlehttp/guzzle/src/Utils.php deleted file mode 100644 index c698acbf..00000000 --- a/vendor/guzzlehttp/guzzle/src/Utils.php +++ /dev/null @@ -1,92 +0,0 @@ -getHost()) { - $asciiHost = self::idnToAsci($uri->getHost(), $options, $info); - if ($asciiHost === false) { - $errorBitSet = isset($info['errors']) ? $info['errors'] : 0; - - $errorConstants = array_filter(array_keys(get_defined_constants()), function ($name) { - 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); - } else { - if ($uri->getHost() !== $asciiHost) { - // Replace URI only if the ASCII version is different - $uri = $uri->withHost($asciiHost); - } - } - } - - return $uri; - } - - /** - * @param string $domain - * @param int $options - * @param array $info - * - * @return string|false - */ - private static function idnToAsci($domain, $options, &$info = []) - { - if (\preg_match('%^[ -~]+$%', $domain) === 1) { - return $domain; - } - - if (\extension_loaded('intl') && defined('INTL_IDNA_VARIANT_UTS46')) { - return \idn_to_ascii($domain, $options, INTL_IDNA_VARIANT_UTS46, $info); - } - - /* - * The Idn class is marked as @internal. Verify that class and method exists. - */ - if (method_exists(Idn::class, 'idn_to_ascii')) { - return Idn::idn_to_ascii($domain, $options, Idn::INTL_IDNA_VARIANT_UTS46, $info); - } - - throw new \RuntimeException('ext-intl 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 deleted file mode 100644 index c2afd8c7..00000000 --- a/vendor/guzzlehttp/guzzle/src/functions.php +++ /dev/null @@ -1,334 +0,0 @@ -expand($template, $variables); -} - -/** - * Debug function used to describe the provided value type and class. - * - * @param mixed $input - * - * @return string Returns a string containing the type of the variable and - * if a class is provided, the class name. - */ -function describe_type($input) -{ - switch (gettype($input)) { - case 'object': - return 'object(' . get_class($input) . ')'; - case 'array': - return 'array(' . count($input) . ')'; - default: - ob_start(); - var_dump($input); - // normalize float vs double - return str_replace('double(', 'float(', rtrim(ob_get_clean())); - } -} - -/** - * Parses an array of header lines into an associative array of headers. - * - * @param iterable $lines Header lines array of strings in the following - * format: "Name: Value" - * @return array - */ -function headers_from_lines($lines) -{ - $headers = []; - - foreach ($lines as $line) { - $parts = explode(':', $line, 2); - $headers[trim($parts[0])][] = isset($parts[1]) - ? trim($parts[1]) - : null; - } - - return $headers; -} - -/** - * Returns a debug stream based on the provided variable. - * - * @param mixed $value Optional value - * - * @return resource - */ -function debug_resource($value = null) -{ - if (is_resource($value)) { - return $value; - } elseif (defined('STDOUT')) { - return STDOUT; - } - - return fopen('php://output', 'w'); -} - -/** - * Chooses and creates a default handler to use based on the environment. - * - * The returned handler is not wrapped by any default middlewares. - * - * @return callable Returns the best handler for the given system. - * @throws \RuntimeException if no viable Handler is available. - */ -function choose_handler() -{ - $handler = null; - if (function_exists('curl_multi_exec') && function_exists('curl_exec')) { - $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler()); - } elseif (function_exists('curl_exec')) { - $handler = new CurlHandler(); - } elseif (function_exists('curl_multi_exec')) { - $handler = new CurlMultiHandler(); - } - - if (ini_get('allow_url_fopen')) { - $handler = $handler - ? Proxy::wrapStreaming($handler, new StreamHandler()) - : new StreamHandler(); - } elseif (!$handler) { - throw new \RuntimeException('GuzzleHttp requires cURL, the ' - . 'allow_url_fopen ini setting, or a custom HTTP handler.'); - } - - return $handler; -} - -/** - * Get the default User-Agent string to use with Guzzle - * - * @return string - */ -function default_user_agent() -{ - static $defaultAgent = ''; - - if (!$defaultAgent) { - $defaultAgent = 'GuzzleHttp/' . Client::VERSION; - if (extension_loaded('curl') && function_exists('curl_version')) { - $defaultAgent .= ' curl/' . \curl_version()['version']; - } - $defaultAgent .= ' PHP/' . PHP_VERSION; - } - - return $defaultAgent; -} - -/** - * Returns the default cacert bundle for the current system. - * - * First, the openssl.cafile and curl.cainfo php.ini settings are checked. - * If those settings are not configured, then the common locations for - * bundles found on Red Hat, CentOS, Fedora, Ubuntu, Debian, FreeBSD, OS X - * and Windows are checked. If any of these file locations are found on - * disk, they will be utilized. - * - * Note: the result of this function is cached for subsequent calls. - * - * @return string - * @throws \RuntimeException if no bundle can be found. - */ -function default_ca_bundle() -{ - static $cached = null; - static $cafiles = [ - // Red Hat, CentOS, Fedora (provided by the ca-certificates package) - '/etc/pki/tls/certs/ca-bundle.crt', - // Ubuntu, Debian (provided by the ca-certificates package) - '/etc/ssl/certs/ca-certificates.crt', - // FreeBSD (provided by the ca_root_nss package) - '/usr/local/share/certs/ca-root-nss.crt', - // SLES 12 (provided by the ca-certificates package) - '/var/lib/ca-certificates/ca-bundle.pem', - // OS X provided by homebrew (using the default path) - '/usr/local/etc/openssl/cert.pem', - // Google app engine - '/etc/ca-certificates.crt', - // Windows? - 'C:\\windows\\system32\\curl-ca-bundle.crt', - 'C:\\windows\\curl-ca-bundle.crt', - ]; - - if ($cached) { - return $cached; - } - - if ($ca = ini_get('openssl.cafile')) { - return $cached = $ca; - } - - if ($ca = ini_get('curl.cainfo')) { - return $cached = $ca; - } - - foreach ($cafiles as $filename) { - if (file_exists($filename)) { - return $cached = $filename; - } - } - - throw new \RuntimeException( - <<< EOT -No system CA bundle could be found in any of the the common system locations. -PHP versions earlier than 5.6 are not properly configured to use the system's -CA bundle by default. In order to verify peer certificates, you will need to -supply the path on disk to a certificate bundle to the 'verify' request -option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not -need a specific certificate bundle, then Mozilla provides a commonly used CA -bundle which can be downloaded here (provided by the maintainer of cURL): -https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt. Once -you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP -ini setting to point to the path to the file, allowing you to omit the 'verify' -request option. See http://curl.haxx.se/docs/sslcerts.html for more -information. -EOT - ); -} - -/** - * Creates an associative array of lowercase header names to the actual - * header casing. - * - * @param array $headers - * - * @return array - */ -function normalize_header_keys(array $headers) -{ - $result = []; - foreach (array_keys($headers) as $key) { - $result[strtolower($key)] = $key; - } - - return $result; -} - -/** - * Returns true if the provided host matches any of the no proxy areas. - * - * This method will strip a port from the host if it is present. Each pattern - * can be matched with an exact match (e.g., "foo.com" == "foo.com") or a - * partial match: (e.g., "foo.com" == "baz.foo.com" and ".foo.com" == - * "baz.foo.com", but ".foo.com" != "foo.com"). - * - * Areas are matched in the following cases: - * 1. "*" (without quotes) always matches any hosts. - * 2. An exact match. - * 3. The area starts with "." and the area is the last part of the host. e.g. - * '.mit.edu' will match any host that ends with '.mit.edu'. - * - * @param string $host Host to check against the patterns. - * @param array $noProxyArray An array of host patterns. - * - * @return bool - */ -function is_host_in_noproxy($host, array $noProxyArray) -{ - if (strlen($host) === 0) { - throw new \InvalidArgumentException('Empty host provided'); - } - - // Strip port if present. - if (strpos($host, ':')) { - $host = explode($host, ':', 2)[0]; - } - - foreach ($noProxyArray as $area) { - // Always match on wildcards. - if ($area === '*') { - return true; - } elseif (empty($area)) { - // Don't match on empty values. - continue; - } elseif ($area === $host) { - // Exact matches. - return true; - } else { - // Special match if the area when prefixed with ".". Remove any - // existing leading "." and add a new leading ".". - $area = '.' . ltrim($area, '.'); - if (substr($host, -(strlen($area))) === $area) { - return true; - } - } - } - - return false; -} - -/** - * Wrapper for json_decode that throws when an error occurs. - * - * @param string $json JSON data to parse - * @param bool $assoc When true, returned objects will be converted - * into associative arrays. - * @param int $depth User specified recursion depth. - * @param int $options Bitmask of JSON decode options. - * - * @return mixed - * @throws Exception\InvalidArgumentException if the JSON cannot be decoded. - * @link http://www.php.net/manual/en/function.json-decode.php - */ -function json_decode($json, $assoc = false, $depth = 512, $options = 0) -{ - $data = \json_decode($json, $assoc, $depth, $options); - if (JSON_ERROR_NONE !== json_last_error()) { - throw new Exception\InvalidArgumentException( - 'json_decode error: ' . json_last_error_msg() - ); - } - - return $data; -} - -/** - * Wrapper for JSON encoding that throws when an error occurs. - * - * @param mixed $value The value being encoded - * @param int $options JSON encode option bitmask - * @param int $depth Set the maximum depth. Must be greater than zero. - * - * @return string - * @throws Exception\InvalidArgumentException if the JSON cannot be encoded. - * @link http://www.php.net/manual/en/function.json-encode.php - */ -function json_encode($value, $options = 0, $depth = 512) -{ - $json = \json_encode($value, $options, $depth); - if (JSON_ERROR_NONE !== json_last_error()) { - throw new Exception\InvalidArgumentException( - 'json_encode error: ' . json_last_error_msg() - ); - } - - return $json; -} diff --git a/vendor/guzzlehttp/guzzle/src/functions_include.php b/vendor/guzzlehttp/guzzle/src/functions_include.php deleted file mode 100644 index a93393ac..00000000 --- a/vendor/guzzlehttp/guzzle/src/functions_include.php +++ /dev/null @@ -1,6 +0,0 @@ - - -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 deleted file mode 100644 index 8d5b3ef9..00000000 --- a/vendor/guzzlehttp/promises/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -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 deleted file mode 100644 index a95c6059..00000000 --- a/vendor/guzzlehttp/promises/README.md +++ /dev/null @@ -1,532 +0,0 @@ -# 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` | diff --git a/vendor/guzzlehttp/promises/composer.json b/vendor/guzzlehttp/promises/composer.json deleted file mode 100644 index db44d9e3..00000000 --- a/vendor/guzzlehttp/promises/composer.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "guzzlehttp/promises", - "description": "Guzzle promises library", - "keywords": ["promise"], - "license": "MIT", - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "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.4-dev" - } - } -} diff --git a/vendor/guzzlehttp/promises/src/AggregateException.php b/vendor/guzzlehttp/promises/src/AggregateException.php deleted file mode 100644 index d2b5712b..00000000 --- a/vendor/guzzlehttp/promises/src/AggregateException.php +++ /dev/null @@ -1,17 +0,0 @@ -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 deleted file mode 100644 index 8d038e9c..00000000 --- a/vendor/guzzlehttp/promises/src/Create.php +++ /dev/null @@ -1,84 +0,0 @@ -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 deleted file mode 100644 index 1dda3549..00000000 --- a/vendor/guzzlehttp/promises/src/Each.php +++ /dev/null @@ -1,90 +0,0 @@ - $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 deleted file mode 100644 index 748f4712..00000000 --- a/vendor/guzzlehttp/promises/src/EachPromise.php +++ /dev/null @@ -1,254 +0,0 @@ -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(); - if (!$this->checkIfFinished()) { - $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 () { - 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 deleted file mode 100644 index 98f72a62..00000000 --- a/vendor/guzzlehttp/promises/src/FulfilledPromise.php +++ /dev/null @@ -1,84 +0,0 @@ -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 deleted file mode 100644 index c3ed8d01..00000000 --- a/vendor/guzzlehttp/promises/src/Is.php +++ /dev/null @@ -1,46 +0,0 @@ -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 deleted file mode 100644 index 75939057..00000000 --- a/vendor/guzzlehttp/promises/src/Promise.php +++ /dev/null @@ -1,278 +0,0 @@ -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 deleted file mode 100644 index e5983314..00000000 --- a/vendor/guzzlehttp/promises/src/PromiseInterface.php +++ /dev/null @@ -1,97 +0,0 @@ -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 deleted file mode 100644 index e2f13770..00000000 --- a/vendor/guzzlehttp/promises/src/RejectionException.php +++ /dev/null @@ -1,48 +0,0 @@ -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 deleted file mode 100644 index f0fba2c5..00000000 --- a/vendor/guzzlehttp/promises/src/TaskQueue.php +++ /dev/null @@ -1,67 +0,0 @@ -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 deleted file mode 100644 index 723d4d54..00000000 --- a/vendor/guzzlehttp/promises/src/TaskQueueInterface.php +++ /dev/null @@ -1,24 +0,0 @@ - - * 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 { - $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 deleted file mode 100644 index c03d39d0..00000000 --- a/vendor/guzzlehttp/promises/src/functions.php +++ /dev/null @@ -1,363 +0,0 @@ - - * 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 deleted file mode 100644 index 34cd1710..00000000 --- a/vendor/guzzlehttp/promises/src/functions_include.php +++ /dev/null @@ -1,6 +0,0 @@ -setRiskyAllowed(true) - ->setRules([ - '@PSR2' => true, - 'array_syntax' => ['syntax' => 'short'], - 'concat_space' => ['spacing' => 'one'], - 'declare_strict_types' => false, - 'final_static_access' => true, - 'fully_qualified_strict_types' => true, - 'header_comment' => false, - 'is_null' => ['use_yoda_style' => true], - 'list_syntax' => ['syntax' => 'long'], - 'lowercase_cast' => true, - 'magic_method_casing' => true, - 'modernize_types_casting' => true, - 'multiline_comment_opening_closing' => true, - 'no_alias_functions' => true, - 'no_alternative_syntax' => true, - 'no_blank_lines_after_phpdoc' => true, - 'no_empty_comment' => true, - 'no_empty_phpdoc' => true, - 'no_empty_statement' => true, - 'no_extra_blank_lines' => true, - 'no_leading_import_slash' => true, - 'no_trailing_comma_in_singleline_array' => true, - 'no_unset_cast' => true, - 'no_unused_imports' => true, - 'no_whitespace_in_blank_line' => true, - 'ordered_imports' => true, - 'php_unit_ordered_covers' => true, - 'php_unit_test_annotation' => ['style' => 'prefix'], - 'php_unit_test_case_static_method_calls' => ['call_type' => 'self'], - 'phpdoc_align' => ['align' => 'vertical'], - 'phpdoc_no_useless_inheritdoc' => true, - 'phpdoc_scalar' => true, - 'phpdoc_separation' => true, - 'phpdoc_single_line_var_spacing' => true, - 'phpdoc_trim' => true, - 'phpdoc_trim_consecutive_blank_line_separation' => true, - 'phpdoc_types' => true, - 'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'], - 'phpdoc_var_without_name' => true, - 'single_trait_insert_per_statement' => true, - 'standardize_not_equals' => true, - ]) - ->setFinder( - PhpCsFixer\Finder::create() - ->in(__DIR__.'/src') - ->in(__DIR__.'/tests') - ->name('*.php') - ) -; - -return $config; diff --git a/vendor/guzzlehttp/psr7/CHANGELOG.md b/vendor/guzzlehttp/psr7/CHANGELOG.md deleted file mode 100644 index 6a6b7bf9..00000000 --- a/vendor/guzzlehttp/psr7/CHANGELOG.md +++ /dev/null @@ -1,294 +0,0 @@ -# Change Log - - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - - -## Unreleased - -## 1.8.2 - 2021-04-26 - -### Fixed - -- Handle possibly unset `url` in `stream_get_meta_data` - -## 1.8.1 - 2021-03-21 - -### Fixed - -- Issue parsing IPv6 URLs -- Issue modifying ServerRequest lost all its attributes - -## 1.8.0 - 2021-03-21 - -### Added - -- Locale independent URL parsing -- Most classes got a `@final` annotation to prepare for 2.0 - -### Fixed - -- Issue when creating stream from `php://input` and curl-ext is not installed -- Broken `Utils::tryFopen()` on PHP 8 - -## 1.7.0 - 2020-09-30 - -### Added - -- Replaced functions by static methods - -### Fixed - -- Converting a non-seekable stream to a string -- Handle multiple Set-Cookie correctly -- Ignore array keys in header values when merging -- Allow multibyte characters to be parsed in `Message:bodySummary()` - -### Changed - -- Restored partial HHVM 3 support - - -## [1.6.1] - 2019-07-02 - -### Fixed - -- Accept null and bool header values again - - -## [1.6.0] - 2019-06-30 - -### Added - -- Allowed version `^3.0` of `ralouphie/getallheaders` dependency (#244) -- Added MIME type for WEBP image format (#246) -- Added more validation of values according to PSR-7 and RFC standards, e.g. status code range (#250, #272) - -### Changed - -- Tests don't pass with HHVM 4.0, so HHVM support got dropped. Other libraries like composer have done the same. (#262) -- Accept port number 0 to be valid (#270) - -### Fixed - -- Fixed subsequent reads from `php://input` in ServerRequest (#247) -- Fixed readable/writable detection for certain stream modes (#248) -- Fixed encoding of special characters in the `userInfo` component of an URI (#253) - - -## [1.5.2] - 2018-12-04 - -### Fixed - -- Check body size when getting the message summary - - -## [1.5.1] - 2018-12-04 - -### Fixed - -- Get the summary of a body only if it is readable - - -## [1.5.0] - 2018-12-03 - -### Added - -- Response first-line to response string exception (fixes #145) -- A test for #129 behavior -- `get_message_body_summary` function in order to get the message summary -- `3gp` and `mkv` mime types - -### Changed - -- Clarify exception message when stream is detached - -### Deprecated - -- Deprecated parsing folded header lines as per RFC 7230 - -### Fixed - -- Fix `AppendStream::detach` to not close streams -- `InflateStream` preserves `isSeekable` attribute of the underlying stream -- `ServerRequest::getUriFromGlobals` to support URLs in query parameters - - -Several other fixes and improvements. - - -## [1.4.2] - 2017-03-20 - -### Fixed - -- Reverted BC break to `Uri::resolve` and `Uri::removeDotSegments` by removing - calls to `trigger_error` when deprecated methods are invoked. - - -## [1.4.1] - 2017-02-27 - -### Added - -- Rriggering of silenced deprecation warnings. - -### Fixed - -- Reverted BC break by reintroducing behavior to automagically fix a URI with a - relative path and an authority by adding a leading slash to the path. It's only - deprecated now. - - -## [1.4.0] - 2017-02-21 - -### Added - -- Added common URI utility methods based on RFC 3986 (see documentation in the readme): - - `Uri::isDefaultPort` - - `Uri::isAbsolute` - - `Uri::isNetworkPathReference` - - `Uri::isAbsolutePathReference` - - `Uri::isRelativePathReference` - - `Uri::isSameDocumentReference` - - `Uri::composeComponents` - - `UriNormalizer::normalize` - - `UriNormalizer::isEquivalent` - - `UriResolver::relativize` - -### Changed - -- Ensure `ServerRequest::getUriFromGlobals` returns a URI in absolute form. -- Allow `parse_response` to parse a response without delimiting space and reason. -- Ensure each URI modification results in a valid URI according to PSR-7 discussions. - Invalid modifications will throw an exception instead of returning a wrong URI or - doing some magic. - - `(new Uri)->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 deleted file mode 100644 index 581d95f9..00000000 --- a/vendor/guzzlehttp/psr7/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling - -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 deleted file mode 100644 index acfabfdc..00000000 --- a/vendor/guzzlehttp/psr7/README.md +++ /dev/null @@ -1,809 +0,0 @@ -# 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. - - -[![Build Status](https://travis-ci.org/guzzle/psr7.svg?branch=master)](https://travis-ci.org/guzzle/psr7) - - -# 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 deflate or gzipped content. - -This stream decorator skips the first 10 bytes of the given stream to remove -the gzip header, 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 will be 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. diff --git a/vendor/guzzlehttp/psr7/composer.json b/vendor/guzzlehttp/psr7/composer.json deleted file mode 100644 index 58dcb07e..00000000 --- a/vendor/guzzlehttp/psr7/composer.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "guzzlehttp/psr7", - "type": "library", - "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": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Schultze", - "homepage": "https://github.com/Tobion" - } - ], - "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10", - "ext-zlib": "*" - }, - "provide": { - "psr/http-message-implementation": "1.0" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - }, - "files": ["src/functions_include.php"] - }, - "autoload-dev": { - "psr-4": { - "GuzzleHttp\\Tests\\Psr7\\": "tests/" - } - }, - "extra": { - "branch-alias": { - "dev-master": "1.7-dev" - } - } -} diff --git a/vendor/guzzlehttp/psr7/src/AppendStream.php b/vendor/guzzlehttp/psr7/src/AppendStream.php deleted file mode 100644 index fa9153d7..00000000 --- a/vendor/guzzlehttp/psr7/src/AppendStream.php +++ /dev/null @@ -1,246 +0,0 @@ -addStream($stream); - } - } - - public function __toString() - { - try { - $this->rewind(); - return $this->getContents(); - } catch (\Exception $e) { - 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) - { - 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() - { - return Utils::copyToString($this); - } - - /** - * Closes each attached stream. - * - * {@inheritdoc} - */ - public function close() - { - $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. - * - * {@inheritdoc} - */ - 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() - { - 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. - * - * {@inheritdoc} - */ - public function getSize() - { - $size = 0; - - foreach ($this->streams as $stream) { - $s = $stream->getSize(); - if ($s === null) { - return null; - } - $size += $s; - } - - return $size; - } - - public function eof() - { - return !$this->streams || - ($this->current >= count($this->streams) - 1 && - $this->streams[$this->current]->eof()); - } - - public function rewind() - { - $this->seek(0); - } - - /** - * Attempts to seek to the given position. Only supports SEEK_SET. - * - * {@inheritdoc} - */ - public function seek($offset, $whence = SEEK_SET) - { - 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. - * - * {@inheritdoc} - */ - public function read($length) - { - $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); - - // Using a loose comparison here to match on '', false, and null - if ($result == null) { - $progressToNext = true; - continue; - } - - $buffer .= $result; - $remaining = $length - strlen($buffer); - } - - $this->pos += strlen($buffer); - - return $buffer; - } - - public function isReadable() - { - return true; - } - - public function isWritable() - { - return false; - } - - public function isSeekable() - { - return $this->seekable; - } - - public function write($string) - { - throw new \RuntimeException('Cannot write to an AppendStream'); - } - - public function getMetadata($key = null) - { - return $key ? null : []; - } -} diff --git a/vendor/guzzlehttp/psr7/src/BufferStream.php b/vendor/guzzlehttp/psr7/src/BufferStream.php deleted file mode 100644 index 783859c1..00000000 --- a/vendor/guzzlehttp/psr7/src/BufferStream.php +++ /dev/null @@ -1,142 +0,0 @@ -hwm = $hwm; - } - - public function __toString() - { - return $this->getContents(); - } - - public function getContents() - { - $buffer = $this->buffer; - $this->buffer = ''; - - return $buffer; - } - - public function close() - { - $this->buffer = ''; - } - - public function detach() - { - $this->close(); - - return null; - } - - public function getSize() - { - return strlen($this->buffer); - } - - public function isReadable() - { - return true; - } - - public function isWritable() - { - return true; - } - - public function isSeekable() - { - return false; - } - - public function rewind() - { - $this->seek(0); - } - - public function seek($offset, $whence = SEEK_SET) - { - throw new \RuntimeException('Cannot seek a BufferStream'); - } - - public function eof() - { - return strlen($this->buffer) === 0; - } - - public function tell() - { - throw new \RuntimeException('Cannot determine the position of a BufferStream'); - } - - /** - * Reads data from the buffer. - */ - public function read($length) - { - $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) - { - $this->buffer .= $string; - - // TODO: What should happen here? - if (strlen($this->buffer) >= $this->hwm) { - return false; - } - - return strlen($string); - } - - 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 deleted file mode 100644 index fe749e98..00000000 --- a/vendor/guzzlehttp/psr7/src/CachingStream.php +++ /dev/null @@ -1,141 +0,0 @@ -remoteStream = $stream; - $this->stream = $target ?: new Stream(Utils::tryFopen('php://temp', 'r+')); - } - - public function getSize() - { - return max($this->stream->getSize(), $this->remoteStream->getSize()); - } - - public function rewind() - { - $this->seek(0); - } - - public function seek($offset, $whence = SEEK_SET) - { - 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) - { - // 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) - { - // 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() - { - return $this->stream->eof() && $this->remoteStream->eof(); - } - - /** - * Close both the remote stream and buffer stream - */ - public function close() - { - $this->remoteStream->close() && $this->stream->close(); - } - - private function cacheEntireStream() - { - $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 deleted file mode 100644 index 9f7420c4..00000000 --- a/vendor/guzzlehttp/psr7/src/DroppingStream.php +++ /dev/null @@ -1,45 +0,0 @@ -stream = $stream; - $this->maxLength = $maxLength; - } - - public function write($string) - { - $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/FnStream.php b/vendor/guzzlehttp/psr7/src/FnStream.php deleted file mode 100644 index 76a8cc7b..00000000 --- a/vendor/guzzlehttp/psr7/src/FnStream.php +++ /dev/null @@ -1,163 +0,0 @@ -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($name) - { - 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() - { - 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) { - $methods[$diff] = [$stream, $diff]; - } - - return new self($methods); - } - - public function __toString() - { - return call_user_func($this->_fn___toString); - } - - public function close() - { - return call_user_func($this->_fn_close); - } - - public function detach() - { - return call_user_func($this->_fn_detach); - } - - public function getSize() - { - return call_user_func($this->_fn_getSize); - } - - public function tell() - { - return call_user_func($this->_fn_tell); - } - - public function eof() - { - return call_user_func($this->_fn_eof); - } - - public function isSeekable() - { - return call_user_func($this->_fn_isSeekable); - } - - public function rewind() - { - call_user_func($this->_fn_rewind); - } - - public function seek($offset, $whence = SEEK_SET) - { - call_user_func($this->_fn_seek, $offset, $whence); - } - - public function isWritable() - { - return call_user_func($this->_fn_isWritable); - } - - public function write($string) - { - return call_user_func($this->_fn_write, $string); - } - - public function isReadable() - { - return call_user_func($this->_fn_isReadable); - } - - public function read($length) - { - return call_user_func($this->_fn_read, $length); - } - - public function getContents() - { - return call_user_func($this->_fn_getContents); - } - - 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 deleted file mode 100644 index 865d7421..00000000 --- a/vendor/guzzlehttp/psr7/src/Header.php +++ /dev/null @@ -1,71 +0,0 @@ -]+>|[^=]+/', $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. - * - * @return array Returns the normalized header field values. - */ - public static function normalize($header) - { - if (!is_array($header)) { - return array_map('trim', explode(',', $header)); - } - - $result = []; - foreach ($header as $value) { - foreach ((array) $value as $v) { - if (strpos($v, ',') === false) { - $result[] = $v; - continue; - } - foreach (preg_split('/,(?=([^"]*"[^"]*")*[^"]*$)/', $v) as $vv) { - $result[] = trim($vv); - } - } - } - - return $result; - } -} diff --git a/vendor/guzzlehttp/psr7/src/InflateStream.php b/vendor/guzzlehttp/psr7/src/InflateStream.php deleted file mode 100644 index 0cbd2cce..00000000 --- a/vendor/guzzlehttp/psr7/src/InflateStream.php +++ /dev/null @@ -1,56 +0,0 @@ -read(10); - $filenameHeaderLength = $this->getLengthOfPossibleFilenameHeader($stream, $header); - // Skip the header, that is 10 + length of filename + 1 (nil) bytes - $stream = new LimitStream($stream, -1, 10 + $filenameHeaderLength); - $resource = StreamWrapper::getResource($stream); - stream_filter_append($resource, 'zlib.inflate', STREAM_FILTER_READ); - $this->stream = $stream->isSeekable() ? new Stream($resource) : new NoSeekStream(new Stream($resource)); - } - - /** - * @param StreamInterface $stream - * @param $header - * - * @return int - */ - private function getLengthOfPossibleFilenameHeader(StreamInterface $stream, $header) - { - $filename_header_length = 0; - - if (substr(bin2hex($header), 6, 2) === '08') { - // we have a filename, read until nil - $filename_header_length = 1; - while ($stream->read(1) !== chr(0)) { - $filename_header_length++; - } - } - - return $filename_header_length; - } -} diff --git a/vendor/guzzlehttp/psr7/src/LazyOpenStream.php b/vendor/guzzlehttp/psr7/src/LazyOpenStream.php deleted file mode 100644 index 911e127d..00000000 --- a/vendor/guzzlehttp/psr7/src/LazyOpenStream.php +++ /dev/null @@ -1,42 +0,0 @@ -filename = $filename; - $this->mode = $mode; - } - - /** - * Creates the underlying stream lazily when required. - * - * @return StreamInterface - */ - protected function createStream() - { - 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 deleted file mode 100644 index 1173ec40..00000000 --- a/vendor/guzzlehttp/psr7/src/LimitStream.php +++ /dev/null @@ -1,157 +0,0 @@ -stream = $stream; - $this->setLimit($limit); - $this->setOffset($offset); - } - - public function eof() - { - // 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 - * {@inheritdoc} - */ - public function getSize() - { - 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 - * {@inheritdoc} - */ - public function seek($offset, $whence = SEEK_SET) - { - 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() - * {@inheritdoc} - */ - public function tell() - { - 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($offset) - { - $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($limit) - { - $this->limit = $limit; - } - - public function read($length) - { - 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 deleted file mode 100644 index 516d1cb8..00000000 --- a/vendor/guzzlehttp/psr7/src/Message.php +++ /dev/null @@ -1,252 +0,0 @@ -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 - * - * @return string|null - */ - public static function bodySummary(MessageInterface $message, $truncateAt = 120) - { - $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) - { - $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. - * - * @return array - */ - public static function parseMessage($message) - { - 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'); - } - - list($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'); - } - - list($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). - * - * @return string - */ - public static function parseRequestUri($path, array $headers) - { - $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. - * - * @return Request - */ - public static function parseRequest($message) - { - $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. - * - * @return Response - */ - public static function parseResponse($message) - { - $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], - isset($parts[2]) ? $parts[2] : null - ); - } -} diff --git a/vendor/guzzlehttp/psr7/src/MessageTrait.php b/vendor/guzzlehttp/psr7/src/MessageTrait.php deleted file mode 100644 index 99203bb4..00000000 --- a/vendor/guzzlehttp/psr7/src/MessageTrait.php +++ /dev/null @@ -1,214 +0,0 @@ - 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() - { - return $this->protocol; - } - - public function withProtocolVersion($version) - { - if ($this->protocol === $version) { - return $this; - } - - $new = clone $this; - $new->protocol = $version; - return $new; - } - - public function getHeaders() - { - return $this->headers; - } - - public function hasHeader($header) - { - return isset($this->headerNames[strtolower($header)]); - } - - public function getHeader($header) - { - $header = strtolower($header); - - if (!isset($this->headerNames[$header])) { - return []; - } - - $header = $this->headerNames[$header]; - - return $this->headers[$header]; - } - - public function getHeaderLine($header) - { - return implode(', ', $this->getHeader($header)); - } - - public function withHeader($header, $value) - { - $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) - { - $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) - { - $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() - { - if (!$this->stream) { - $this->stream = Utils::streamFor(''); - } - - return $this->stream; - } - - public function withBody(StreamInterface $body) - { - if ($body === $this->stream) { - return $this; - } - - $new = clone $this; - $new->stream = $body; - return $new; - } - - private function setHeaders(array $headers) - { - $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; - } - } - } - - private function normalizeHeaderValue($value) - { - if (!is_array($value)) { - return $this->trimHeaderValues([$value]); - } - - if (count($value) === 0) { - throw new \InvalidArgumentException('Header value can not be an empty array.'); - } - - return $this->trimHeaderValues($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 string[] $values Header values - * - * @return string[] Trimmed header values - * - * @see https://tools.ietf.org/html/rfc7230#section-3.2.4 - */ - private function trimHeaderValues(array $values) - { - 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) - )); - } - - return trim((string) $value, " \t"); - }, array_values($values)); - } - - private function assertHeader($header) - { - 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 ($header === '') { - throw new \InvalidArgumentException('Header name can not be empty.'); - } - } -} diff --git a/vendor/guzzlehttp/psr7/src/MimeType.php b/vendor/guzzlehttp/psr7/src/MimeType.php deleted file mode 100644 index 205c7b1f..00000000 --- a/vendor/guzzlehttp/psr7/src/MimeType.php +++ /dev/null @@ -1,140 +0,0 @@ - 'video/3gpp', - '7z' => 'application/x-7z-compressed', - 'aac' => 'audio/x-aac', - 'ai' => 'application/postscript', - 'aif' => 'audio/x-aiff', - 'asc' => 'text/plain', - 'asf' => 'video/x-ms-asf', - 'atom' => 'application/atom+xml', - 'avi' => 'video/x-msvideo', - 'bmp' => 'image/bmp', - 'bz2' => 'application/x-bzip2', - 'cer' => 'application/pkix-cert', - 'crl' => 'application/pkix-crl', - 'crt' => 'application/x-x509-ca-cert', - 'css' => 'text/css', - 'csv' => 'text/csv', - 'cu' => 'application/cu-seeme', - 'deb' => 'application/x-debian-package', - 'doc' => 'application/msword', - 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', - 'dvi' => 'application/x-dvi', - 'eot' => 'application/vnd.ms-fontobject', - 'eps' => 'application/postscript', - 'epub' => 'application/epub+zip', - 'etx' => 'text/x-setext', - 'flac' => 'audio/flac', - 'flv' => 'video/x-flv', - 'gif' => 'image/gif', - 'gz' => 'application/gzip', - 'htm' => 'text/html', - 'html' => 'text/html', - 'ico' => 'image/x-icon', - 'ics' => 'text/calendar', - 'ini' => 'text/plain', - 'iso' => 'application/x-iso9660-image', - 'jar' => 'application/java-archive', - 'jpe' => 'image/jpeg', - 'jpeg' => 'image/jpeg', - 'jpg' => 'image/jpeg', - 'js' => 'text/javascript', - 'json' => 'application/json', - 'latex' => 'application/x-latex', - 'log' => 'text/plain', - 'm4a' => 'audio/mp4', - 'm4v' => 'video/mp4', - 'mid' => 'audio/midi', - 'midi' => 'audio/midi', - 'mov' => 'video/quicktime', - 'mkv' => 'video/x-matroska', - 'mp3' => 'audio/mpeg', - 'mp4' => 'video/mp4', - 'mp4a' => 'audio/mp4', - 'mp4v' => 'video/mp4', - 'mpe' => 'video/mpeg', - 'mpeg' => 'video/mpeg', - 'mpg' => 'video/mpeg', - 'mpg4' => 'video/mp4', - 'oga' => 'audio/ogg', - 'ogg' => 'audio/ogg', - 'ogv' => 'video/ogg', - 'ogx' => 'application/ogg', - 'pbm' => 'image/x-portable-bitmap', - 'pdf' => 'application/pdf', - 'pgm' => 'image/x-portable-graymap', - 'png' => 'image/png', - 'pnm' => 'image/x-portable-anymap', - 'ppm' => 'image/x-portable-pixmap', - 'ppt' => 'application/vnd.ms-powerpoint', - 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', - 'ps' => 'application/postscript', - 'qt' => 'video/quicktime', - 'rar' => 'application/x-rar-compressed', - 'ras' => 'image/x-cmu-raster', - 'rss' => 'application/rss+xml', - 'rtf' => 'application/rtf', - 'sgm' => 'text/sgml', - 'sgml' => 'text/sgml', - 'svg' => 'image/svg+xml', - 'swf' => 'application/x-shockwave-flash', - 'tar' => 'application/x-tar', - 'tif' => 'image/tiff', - 'tiff' => 'image/tiff', - 'torrent' => 'application/x-bittorrent', - 'ttf' => 'application/x-font-ttf', - 'txt' => 'text/plain', - 'wav' => 'audio/x-wav', - 'webm' => 'video/webm', - 'webp' => 'image/webp', - 'wma' => 'audio/x-ms-wma', - 'wmv' => 'video/x-ms-wmv', - 'woff' => 'application/x-font-woff', - 'wsdl' => 'application/wsdl+xml', - 'xbm' => 'image/x-xbitmap', - 'xls' => 'application/vnd.ms-excel', - 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'xml' => 'application/xml', - 'xpm' => 'image/x-xpixmap', - 'xwd' => 'image/x-xwindowdump', - 'yaml' => 'text/yaml', - 'yml' => 'text/yaml', - 'zip' => 'application/zip', - ]; - - $extension = strtolower($extension); - - return isset($mimetypes[$extension]) - ? $mimetypes[$extension] - : null; - } -} diff --git a/vendor/guzzlehttp/psr7/src/MultipartStream.php b/vendor/guzzlehttp/psr7/src/MultipartStream.php deleted file mode 100644 index 5a6079a8..00000000 --- a/vendor/guzzlehttp/psr7/src/MultipartStream.php +++ /dev/null @@ -1,158 +0,0 @@ -boundary = $boundary ?: sha1(uniqid('', true)); - $this->stream = $this->createStream($elements); - } - - /** - * Get the boundary - * - * @return string - */ - public function getBoundary() - { - return $this->boundary; - } - - public function isWritable() - { - return false; - } - - /** - * Get the headers needed before transferring the content of a POST file - */ - private function getHeaders(array $headers) - { - $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) - { - $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) - { - 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 (substr($uri, 0, 6) !== 'php://') { - $element['filename'] = $uri; - } - } - - list($body, $headers) = $this->createElement( - $element['name'], - $element['contents'], - isset($element['filename']) ? $element['filename'] : null, - isset($element['headers']) ? $element['headers'] : [] - ); - - $stream->addStream(Utils::streamFor($this->getHeaders($headers))); - $stream->addStream($body); - $stream->addStream(Utils::streamFor("\r\n")); - } - - /** - * @return array - */ - private function createElement($name, StreamInterface $stream, $filename, array $headers) - { - // 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, $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 deleted file mode 100644 index d66bdde4..00000000 --- a/vendor/guzzlehttp/psr7/src/NoSeekStream.php +++ /dev/null @@ -1,25 +0,0 @@ -source = $source; - $this->size = isset($options['size']) ? $options['size'] : null; - $this->metadata = isset($options['metadata']) ? $options['metadata'] : []; - $this->buffer = new BufferStream(); - } - - public function __toString() - { - try { - return Utils::copyToString($this); - } catch (\Exception $e) { - return ''; - } - } - - public function close() - { - $this->detach(); - } - - public function detach() - { - $this->tellPos = false; - $this->source = null; - - return null; - } - - public function getSize() - { - return $this->size; - } - - public function tell() - { - return $this->tellPos; - } - - public function eof() - { - return !$this->source; - } - - public function isSeekable() - { - return false; - } - - public function rewind() - { - $this->seek(0); - } - - public function seek($offset, $whence = SEEK_SET) - { - throw new \RuntimeException('Cannot seek a PumpStream'); - } - - public function isWritable() - { - return false; - } - - public function write($string) - { - throw new \RuntimeException('Cannot write to a PumpStream'); - } - - public function isReadable() - { - return true; - } - - public function read($length) - { - $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() - { - $result = ''; - while (!$this->eof()) { - $result .= $this->read(1000000); - } - - return $result; - } - - public function getMetadata($key = null) - { - if (!$key) { - return $this->metadata; - } - - return isset($this->metadata[$key]) ? $this->metadata[$key] : null; - } - - private function pump($length) - { - 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 deleted file mode 100644 index 5a7cc035..00000000 --- a/vendor/guzzlehttp/psr7/src/Query.php +++ /dev/null @@ -1,113 +0,0 @@ - '1', 'foo[b]' => '2'])`. - * - * @param string $str Query string to parse - * @param int|bool $urlEncoding How the query string is encoded - * - * @return array - */ - public static function parse($str, $urlEncoding = true) - { - $result = []; - - if ($str === '') { - return $result; - } - - if ($urlEncoding === true) { - $decoder = function ($value) { - return rawurldecode(str_replace('+', ' ', $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 (!isset($result[$key])) { - $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. - * - * @return string - */ - public static function build(array $params, $encoding = PHP_QUERY_RFC3986) - { - if (!$params) { - return ''; - } - - if ($encoding === false) { - $encoder = function ($str) { - 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($k); - if (!is_array($v)) { - $qs .= $k; - if ($v !== null) { - $qs .= '=' . $encoder($v); - } - $qs .= '&'; - } else { - foreach ($v as $vv) { - $qs .= $k; - if ($vv !== null) { - $qs .= '=' . $encoder($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 deleted file mode 100644 index c1cdaebf..00000000 --- a/vendor/guzzlehttp/psr7/src/Request.php +++ /dev/null @@ -1,152 +0,0 @@ -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() - { - 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) - { - 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() - { - return $this->method; - } - - public function withMethod($method) - { - $this->assertMethod($method); - $new = clone $this; - $new->method = strtoupper($method); - return $new; - } - - public function getUri() - { - return $this->uri; - } - - public function withUri(UriInterface $uri, $preserveHost = false) - { - 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() - { - $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; - } - - private function assertMethod($method) - { - 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 deleted file mode 100644 index 8c01a0f5..00000000 --- a/vendor/guzzlehttp/psr7/src/Response.php +++ /dev/null @@ -1,155 +0,0 @@ - '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', - 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', - 511 => 'Network Authentication Required', - ]; - - /** @var string */ - private $reasonPhrase = ''; - - /** @var int */ - private $statusCode = 200; - - /** - * @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( - $status = 200, - array $headers = [], - $body = null, - $version = '1.1', - $reason = null - ) { - $this->assertStatusCodeIsInteger($status); - $status = (int) $status; - $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() - { - return $this->statusCode; - } - - public function getReasonPhrase() - { - return $this->reasonPhrase; - } - - public function withStatus($code, $reasonPhrase = '') - { - $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; - } - - private function assertStatusCodeIsInteger($statusCode) - { - if (filter_var($statusCode, FILTER_VALIDATE_INT) === false) { - throw new \InvalidArgumentException('Status code must be an integer value.'); - } - } - - private function assertStatusCodeRange($statusCode) - { - 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 deleted file mode 100644 index 51b571f2..00000000 --- a/vendor/guzzlehttp/psr7/src/Rfc7230.php +++ /dev/null @@ -1,19 +0,0 @@ -@,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"; - const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"; -} diff --git a/vendor/guzzlehttp/psr7/src/ServerRequest.php b/vendor/guzzlehttp/psr7/src/ServerRequest.php deleted file mode 100644 index e6d26f5f..00000000 --- a/vendor/guzzlehttp/psr7/src/ServerRequest.php +++ /dev/null @@ -1,379 +0,0 @@ -serverParams = $serverParams; - - parent::__construct($method, $uri, $headers, $body, $version); - } - - /** - * Return an UploadedFile instance array. - * - * @param array $files A array which respect $_FILES structure - * - * @return array - * - * @throws InvalidArgumentException for unrecognized values - */ - public static function normalizeFiles(array $files) - { - $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 array|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. - * - * @param array $files - * - * @return UploadedFileInterface[] - */ - private static function normalizeNestedFileSpec(array $files = []) - { - $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 - * - * @return ServerRequestInterface - */ - public static function fromGlobals() - { - $method = isset($_SERVER['REQUEST_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($authority) - { - $uri = 'http://' . $authority; - $parts = parse_url($uri); - if (false === $parts) { - return [null, null]; - } - - $host = isset($parts['host']) ? $parts['host'] : null; - $port = isset($parts['port']) ? $parts['port'] : null; - - return [$host, $port]; - } - - /** - * Get a Uri populated with values from $_SERVER. - * - * @return UriInterface - */ - public static function getUriFromGlobals() - { - $uri = new Uri(''); - - $uri = $uri->withScheme(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' ? 'https' : 'http'); - - $hasPort = false; - if (isset($_SERVER['HTTP_HOST'])) { - list($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; - } - - /** - * {@inheritdoc} - */ - public function getServerParams() - { - return $this->serverParams; - } - - /** - * {@inheritdoc} - */ - public function getUploadedFiles() - { - return $this->uploadedFiles; - } - - /** - * {@inheritdoc} - */ - public function withUploadedFiles(array $uploadedFiles) - { - $new = clone $this; - $new->uploadedFiles = $uploadedFiles; - - return $new; - } - - /** - * {@inheritdoc} - */ - public function getCookieParams() - { - return $this->cookieParams; - } - - /** - * {@inheritdoc} - */ - public function withCookieParams(array $cookies) - { - $new = clone $this; - $new->cookieParams = $cookies; - - return $new; - } - - /** - * {@inheritdoc} - */ - public function getQueryParams() - { - return $this->queryParams; - } - - /** - * {@inheritdoc} - */ - public function withQueryParams(array $query) - { - $new = clone $this; - $new->queryParams = $query; - - return $new; - } - - /** - * {@inheritdoc} - */ - public function getParsedBody() - { - return $this->parsedBody; - } - - /** - * {@inheritdoc} - */ - public function withParsedBody($data) - { - $new = clone $this; - $new->parsedBody = $data; - - return $new; - } - - /** - * {@inheritdoc} - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * {@inheritdoc} - */ - public function getAttribute($attribute, $default = null) - { - if (false === array_key_exists($attribute, $this->attributes)) { - return $default; - } - - return $this->attributes[$attribute]; - } - - /** - * {@inheritdoc} - */ - public function withAttribute($attribute, $value) - { - $new = clone $this; - $new->attributes[$attribute] = $value; - - return $new; - } - - /** - * {@inheritdoc} - */ - public function withoutAttribute($attribute) - { - 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 deleted file mode 100644 index 3865d6d6..00000000 --- a/vendor/guzzlehttp/psr7/src/Stream.php +++ /dev/null @@ -1,270 +0,0 @@ -size = $options['size']; - } - - $this->customMetadata = isset($options['metadata']) - ? $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() - { - try { - if ($this->isSeekable()) { - $this->seek(0); - } - return $this->getContents(); - } catch (\Exception $e) { - return ''; - } - } - - public function getContents() - { - 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() - { - 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() - { - 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 (isset($stats['size'])) { - $this->size = $stats['size']; - return $this->size; - } - - return null; - } - - public function isReadable() - { - return $this->readable; - } - - public function isWritable() - { - return $this->writable; - } - - public function isSeekable() - { - return $this->seekable; - } - - public function eof() - { - if (!isset($this->stream)) { - throw new \RuntimeException('Stream is detached'); - } - - return feof($this->stream); - } - - public function tell() - { - 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() - { - $this->seek(0); - } - - public function seek($offset, $whence = SEEK_SET) - { - $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) - { - 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) - { - 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; - } - - 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 isset($meta[$key]) ? $meta[$key] : null; - } -} diff --git a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php b/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php deleted file mode 100644 index 5025dd67..00000000 --- a/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php +++ /dev/null @@ -1,152 +0,0 @@ -stream = $stream; - } - - /** - * Magic method used to create a new stream if streams are not added in - * the constructor of a decorator (e.g., LazyOpenStream). - * - * @param string $name Name of the property (allows "stream" only). - * - * @return StreamInterface - */ - public function __get($name) - { - if ($name == 'stream') { - $this->stream = $this->createStream(); - return $this->stream; - } - - throw new \UnexpectedValueException("$name not found on class"); - } - - public function __toString() - { - try { - if ($this->isSeekable()) { - $this->seek(0); - } - return $this->getContents(); - } catch (\Exception $e) { - // Really, PHP? https://bugs.php.net/bug.php?id=53648 - trigger_error('StreamDecorator::__toString exception: ' - . (string) $e, E_USER_ERROR); - return ''; - } - } - - public function getContents() - { - return Utils::copyToString($this); - } - - /** - * Allow decorators to implement custom methods - * - * @param string $method Missing method name - * @param array $args Method arguments - * - * @return mixed - */ - public function __call($method, array $args) - { - $result = call_user_func_array([$this->stream, $method], $args); - - // Always return the wrapped object if the result is a return $this - return $result === $this->stream ? $this : $result; - } - - public function close() - { - $this->stream->close(); - } - - public function getMetadata($key = null) - { - return $this->stream->getMetadata($key); - } - - public function detach() - { - return $this->stream->detach(); - } - - public function getSize() - { - return $this->stream->getSize(); - } - - public function eof() - { - return $this->stream->eof(); - } - - public function tell() - { - return $this->stream->tell(); - } - - public function isReadable() - { - return $this->stream->isReadable(); - } - - public function isWritable() - { - return $this->stream->isWritable(); - } - - public function isSeekable() - { - return $this->stream->isSeekable(); - } - - public function rewind() - { - $this->seek(0); - } - - public function seek($offset, $whence = SEEK_SET) - { - $this->stream->seek($offset, $whence); - } - - public function read($length) - { - return $this->stream->read($length); - } - - public function write($string) - { - return $this->stream->write($string); - } - - /** - * Implement in subclasses to dynamically create streams when requested. - * - * @return StreamInterface - * - * @throws \BadMethodCallException - */ - protected function createStream() - { - throw new \BadMethodCallException('Not implemented'); - } -} diff --git a/vendor/guzzlehttp/psr7/src/StreamWrapper.php b/vendor/guzzlehttp/psr7/src/StreamWrapper.php deleted file mode 100644 index fc7cb969..00000000 --- a/vendor/guzzlehttp/psr7/src/StreamWrapper.php +++ /dev/null @@ -1,165 +0,0 @@ -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, null, self::createStreamContext($stream)); - } - - /** - * Creates a stream context that can be used to open a stream as a php stream resource. - * - * @param StreamInterface $stream - * - * @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() - { - if (!in_array('guzzle', stream_get_wrappers())) { - stream_wrapper_register('guzzle', __CLASS__); - } - } - - public function stream_open($path, $mode, $options, &$opened_path) - { - $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($count) - { - return $this->stream->read($count); - } - - public function stream_write($data) - { - return (int) $this->stream->write($data); - } - - public function stream_tell() - { - return $this->stream->tell(); - } - - public function stream_eof() - { - return $this->stream->eof(); - } - - public function stream_seek($offset, $whence) - { - $this->stream->seek($offset, $whence); - - return true; - } - - public function stream_cast($cast_as) - { - $stream = clone($this->stream); - - return $stream->detach(); - } - - public function stream_stat() - { - 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 - ]; - } - - public function url_stat($path, $flags) - { - 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 deleted file mode 100644 index bf342c4d..00000000 --- a/vendor/guzzlehttp/psr7/src/UploadedFile.php +++ /dev/null @@ -1,328 +0,0 @@ -setError($errorStatus); - $this->setSize($size); - $this->setClientFilename($clientFilename); - $this->setClientMediaType($clientMediaType); - - if ($this->isOk()) { - $this->setStreamOrFile($streamOrFile); - } - } - - /** - * Depending on the value set file or stream variable - * - * @param mixed $streamOrFile - * - * @throws InvalidArgumentException - */ - private function setStreamOrFile($streamOrFile) - { - 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' - ); - } - } - - /** - * @param int $error - * - * @throws InvalidArgumentException - */ - private function setError($error) - { - if (false === is_int($error)) { - throw new InvalidArgumentException( - 'Upload file error status must be an integer' - ); - } - - if (false === in_array($error, UploadedFile::$errors)) { - throw new InvalidArgumentException( - 'Invalid error status for UploadedFile' - ); - } - - $this->error = $error; - } - - /** - * @param int $size - * - * @throws InvalidArgumentException - */ - private function setSize($size) - { - if (false === is_int($size)) { - throw new InvalidArgumentException( - 'Upload file size must be an integer' - ); - } - - $this->size = $size; - } - - /** - * @param mixed $param - * - * @return bool - */ - private function isStringOrNull($param) - { - return in_array(gettype($param), ['string', 'NULL']); - } - - /** - * @param mixed $param - * - * @return bool - */ - private function isStringNotEmpty($param) - { - return is_string($param) && false === empty($param); - } - - /** - * @param string|null $clientFilename - * - * @throws InvalidArgumentException - */ - private function setClientFilename($clientFilename) - { - if (false === $this->isStringOrNull($clientFilename)) { - throw new InvalidArgumentException( - 'Upload file client filename must be a string or null' - ); - } - - $this->clientFilename = $clientFilename; - } - - /** - * @param string|null $clientMediaType - * - * @throws InvalidArgumentException - */ - private function setClientMediaType($clientMediaType) - { - if (false === $this->isStringOrNull($clientMediaType)) { - throw new InvalidArgumentException( - 'Upload file client media type must be a string or null' - ); - } - - $this->clientMediaType = $clientMediaType; - } - - /** - * Return true if there is no upload error - * - * @return bool - */ - private function isOk() - { - return $this->error === UPLOAD_ERR_OK; - } - - /** - * @return bool - */ - public function isMoved() - { - return $this->moved; - } - - /** - * @throws RuntimeException if is moved or not ok - */ - private function validateActive() - { - 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'); - } - } - - /** - * {@inheritdoc} - * - * @throws RuntimeException if the upload was not successful. - */ - public function getStream() - { - $this->validateActive(); - - if ($this->stream instanceof StreamInterface) { - return $this->stream; - } - - return new LazyOpenStream($this->file, 'r+'); - } - - /** - * {@inheritdoc} - * - * @see http://php.net/is_uploaded_file - * @see http://php.net/move_uploaded_file - * - * @param string $targetPath Path to which to move the uploaded file. - * - * @throws RuntimeException if the upload was not successful. - * @throws InvalidArgumentException if the $path specified is invalid. - * @throws RuntimeException on any error during the move operation, or on - * the second or subsequent call to the method. - */ - public function moveTo($targetPath) - { - $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_name() == '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) - ); - } - } - - /** - * {@inheritdoc} - * - * @return int|null The file size in bytes or null if unknown. - */ - public function getSize() - { - return $this->size; - } - - /** - * {@inheritdoc} - * - * @see http://php.net/manual/en/features.file-upload.errors.php - * - * @return int One of PHP's UPLOAD_ERR_XXX constants. - */ - public function getError() - { - return $this->error; - } - - /** - * {@inheritdoc} - * - * @return string|null The filename sent by the client or null if none - * was provided. - */ - public function getClientFilename() - { - return $this->clientFilename; - } - - /** - * {@inheritdoc} - */ - public function getClientMediaType() - { - return $this->clientMediaType; - } -} diff --git a/vendor/guzzlehttp/psr7/src/Uri.php b/vendor/guzzlehttp/psr7/src/Uri.php deleted file mode 100644 index 0f9f020d..00000000 --- a/vendor/guzzlehttp/psr7/src/Uri.php +++ /dev/null @@ -1,810 +0,0 @@ - 80, - 'https' => 443, - 'ftp' => 21, - 'gopher' => 70, - 'nntp' => 119, - 'news' => 119, - 'telnet' => 23, - 'tn3270' => 23, - 'imap' => 143, - 'pop' => 110, - 'ldap' => 389, - ]; - - private static $charUnreserved = 'a-zA-Z0-9_\-\.~'; - private static $charSubDelims = '!\$&\'\(\)\*\+,;='; - private static $replaceQuery = ['=' => '%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 = ''; - - /** - * @param string $uri URI to parse - */ - public function __construct($uri = '') - { - // weak type check to also accept null until we can add scalar type hints - if ($uri != '') { - $parts = self::parse($uri); - if ($parts === false) { - throw new \InvalidArgumentException("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 - * - * @param string $url - * - * @return array|false - */ - private static function parse($url) - { - // If IPv6 - $prefix = ''; - if (preg_match('%^(.*://\[[0-9:a-f]+\])(.*?)$%', $url, $matches)) { - $prefix = $matches[1]; - $url = $matches[2]; - } - - $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() - { - return self::composeComponents( - $this->scheme, - $this->getAuthority(), - $this->path, - $this->query, - $this->fragment - ); - } - - /** - * 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). - * - * @param string $scheme - * @param string $authority - * @param string $path - * @param string $query - * @param string $fragment - * - * @return string - * - * @link https://tools.ietf.org/html/rfc3986#section-5.3 - */ - public static function composeComponents($scheme, $authority, $path, $query, $fragment) - { - $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. - * - * @param UriInterface $uri - * - * @return bool - */ - public static function isDefaultPort(UriInterface $uri) - { - return $uri->getPort() === null - || (isset(self::$defaultPorts[$uri->getScheme()]) && $uri->getPort() === self::$defaultPorts[$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' - * - * @param UriInterface $uri - * - * @return bool - * - * @see Uri::isNetworkPathReference - * @see Uri::isAbsolutePathReference - * @see Uri::isRelativePathReference - * @link https://tools.ietf.org/html/rfc3986#section-4 - */ - public static function isAbsolute(UriInterface $uri) - { - 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. - * - * @param UriInterface $uri - * - * @return bool - * - * @link https://tools.ietf.org/html/rfc3986#section-4.2 - */ - public static function isNetworkPathReference(UriInterface $uri) - { - 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. - * - * @param UriInterface $uri - * - * @return bool - * - * @link https://tools.ietf.org/html/rfc3986#section-4.2 - */ - public static function isAbsolutePathReference(UriInterface $uri) - { - 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. - * - * @param UriInterface $uri - * - * @return bool - * - * @link https://tools.ietf.org/html/rfc3986#section-4.2 - */ - public static function isRelativePathReference(UriInterface $uri) - { - 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 - * - * @return bool - * - * @link https://tools.ietf.org/html/rfc3986#section-4.4 - */ - public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null) - { - 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() === ''; - } - - /** - * Removes dot segments from a path and returns the new path. - * - * @param string $path - * - * @return string - * - * @deprecated since version 1.4. Use UriResolver::removeDotSegments instead. - * @see UriResolver::removeDotSegments - */ - public static function removeDotSegments($path) - { - return UriResolver::removeDotSegments($path); - } - - /** - * Converts the relative URI into a new URI that is resolved against the base URI. - * - * @param UriInterface $base Base URI - * @param string|UriInterface $rel Relative URI - * - * @return UriInterface - * - * @deprecated since version 1.4. Use UriResolver::resolve instead. - * @see UriResolver::resolve - */ - public static function resolve(UriInterface $base, $rel) - { - if (!($rel instanceof UriInterface)) { - $rel = new self($rel); - } - - return UriResolver::resolve($base, $rel); - } - - /** - * 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. - * - * @return UriInterface - */ - public static function withoutQueryValue(UriInterface $uri, $key) - { - $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 - * - * @return UriInterface - */ - public static function withQueryValue(UriInterface $uri, $key, $value) - { - $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 - * - * @return UriInterface - */ - public static function withQueryValues(UriInterface $uri, array $keyValueArray) - { - $result = self::getFilteredQueryString($uri, array_keys($keyValueArray)); - - foreach ($keyValueArray as $key => $value) { - $result[] = self::generateQueryString($key, $value); - } - - return $uri->withQuery(implode('&', $result)); - } - - /** - * Creates a URI from a hash of `parse_url` components. - * - * @param array $parts - * - * @return UriInterface - * - * @link http://php.net/manual/en/function.parse-url.php - * - * @throws \InvalidArgumentException If the components do not form a valid URI. - */ - public static function fromParts(array $parts) - { - $uri = new self(); - $uri->applyParts($parts); - $uri->validateState(); - - return $uri; - } - - public function getScheme() - { - return $this->scheme; - } - - public function getAuthority() - { - $authority = $this->host; - if ($this->userInfo !== '') { - $authority = $this->userInfo . '@' . $authority; - } - - if ($this->port !== null) { - $authority .= ':' . $this->port; - } - - return $authority; - } - - public function getUserInfo() - { - return $this->userInfo; - } - - public function getHost() - { - return $this->host; - } - - public function getPort() - { - return $this->port; - } - - public function getPath() - { - return $this->path; - } - - public function getQuery() - { - return $this->query; - } - - public function getFragment() - { - return $this->fragment; - } - - public function withScheme($scheme) - { - $scheme = $this->filterScheme($scheme); - - if ($this->scheme === $scheme) { - return $this; - } - - $new = clone $this; - $new->scheme = $scheme; - $new->removeDefaultPort(); - $new->validateState(); - - return $new; - } - - public function withUserInfo($user, $password = null) - { - $info = $this->filterUserInfoComponent($user); - if ($password !== null) { - $info .= ':' . $this->filterUserInfoComponent($password); - } - - if ($this->userInfo === $info) { - return $this; - } - - $new = clone $this; - $new->userInfo = $info; - $new->validateState(); - - return $new; - } - - public function withHost($host) - { - $host = $this->filterHost($host); - - if ($this->host === $host) { - return $this; - } - - $new = clone $this; - $new->host = $host; - $new->validateState(); - - return $new; - } - - public function withPort($port) - { - $port = $this->filterPort($port); - - if ($this->port === $port) { - return $this; - } - - $new = clone $this; - $new->port = $port; - $new->removeDefaultPort(); - $new->validateState(); - - return $new; - } - - public function withPath($path) - { - $path = $this->filterPath($path); - - if ($this->path === $path) { - return $this; - } - - $new = clone $this; - $new->path = $path; - $new->validateState(); - - return $new; - } - - public function withQuery($query) - { - $query = $this->filterQueryAndFragment($query); - - if ($this->query === $query) { - return $this; - } - - $new = clone $this; - $new->query = $query; - - return $new; - } - - public function withFragment($fragment) - { - $fragment = $this->filterQueryAndFragment($fragment); - - if ($this->fragment === $fragment) { - return $this; - } - - $new = clone $this; - $new->fragment = $fragment; - - return $new; - } - - /** - * Apply parse_url parts to a URI. - * - * @param array $parts Array of parse_url parts to apply. - */ - private function applyParts(array $parts) - { - $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 string $scheme - * - * @return string - * - * @throws \InvalidArgumentException If the scheme is invalid. - */ - private function filterScheme($scheme) - { - if (!is_string($scheme)) { - throw new \InvalidArgumentException('Scheme must be a string'); - } - - return \strtr($scheme, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'); - } - - /** - * @param string $component - * - * @return string - * - * @throws \InvalidArgumentException If the user info is invalid. - */ - private function filterUserInfoComponent($component) - { - if (!is_string($component)) { - throw new \InvalidArgumentException('User info must be a string'); - } - - return preg_replace_callback( - '/(?:[^%' . self::$charUnreserved . self::$charSubDelims . ']+|%(?![A-Fa-f0-9]{2}))/', - [$this, 'rawurlencodeMatchZero'], - $component - ); - } - - /** - * @param string $host - * - * @return string - * - * @throws \InvalidArgumentException If the host is invalid. - */ - private function filterHost($host) - { - if (!is_string($host)) { - throw new \InvalidArgumentException('Host must be a string'); - } - - return \strtr($host, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'); - } - - /** - * @param int|null $port - * - * @return int|null - * - * @throws \InvalidArgumentException If the port is invalid. - */ - private function filterPort($port) - { - 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 UriInterface $uri - * @param array $keys - * - * @return array - */ - private static function getFilteredQueryString(UriInterface $uri, array $keys) - { - $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); - }); - } - - /** - * @param string $key - * @param string|null $value - * - * @return string - */ - private static function generateQueryString($key, $value) - { - // 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::$replaceQuery); - - if ($value !== null) { - $queryString .= '=' . strtr($value, self::$replaceQuery); - } - - return $queryString; - } - - private function removeDefaultPort() - { - if ($this->port !== null && self::isDefaultPort($this)) { - $this->port = null; - } - } - - /** - * Filters the path of a URI - * - * @param string $path - * - * @return string - * - * @throws \InvalidArgumentException If the path is invalid. - */ - private function filterPath($path) - { - if (!is_string($path)) { - throw new \InvalidArgumentException('Path must be a string'); - } - - return preg_replace_callback( - '/(?:[^' . self::$charUnreserved . self::$charSubDelims . '%:@\/]++|%(?![A-Fa-f0-9]{2}))/', - [$this, 'rawurlencodeMatchZero'], - $path - ); - } - - /** - * Filters the query string or fragment of a URI. - * - * @param string $str - * - * @return string - * - * @throws \InvalidArgumentException If the query or fragment is invalid. - */ - private function filterQueryAndFragment($str) - { - if (!is_string($str)) { - throw new \InvalidArgumentException('Query and fragment must be a string'); - } - - return preg_replace_callback( - '/(?:[^' . self::$charUnreserved . self::$charSubDelims . '%:@\/\?]++|%(?![A-Fa-f0-9]{2}))/', - [$this, 'rawurlencodeMatchZero'], - $str - ); - } - - private function rawurlencodeMatchZero(array $match) - { - return rawurlencode($match[0]); - } - - private function validateState() - { - 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 \InvalidArgumentException('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 \InvalidArgumentException('A relative URI must not have a path beginning with a segment containing a colon'); - } - } elseif (isset($this->path[0]) && $this->path[0] !== '/') { - @trigger_error( - 'The path of a URI with an authority must start with a slash "/" or be empty. Automagically fixing the URI ' . - 'by adding a leading slash to the path is deprecated since version 1.4 and will throw an exception instead.', - E_USER_DEPRECATED - ); - $this->path = '/' . $this->path; - //throw new \InvalidArgumentException('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 deleted file mode 100644 index 81419ead..00000000 --- a/vendor/guzzlehttp/psr7/src/UriNormalizer.php +++ /dev/null @@ -1,219 +0,0 @@ -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 - * - * @return bool - * - * @link https://tools.ietf.org/html/rfc3986#section-6.1 - */ - public static function isEquivalent(UriInterface $uri1, UriInterface $uri2, $normalizations = self::PRESERVING_NORMALIZATIONS) - { - return (string) self::normalize($uri1, $normalizations) === (string) self::normalize($uri2, $normalizations); - } - - private static function capitalizePercentEncoding(UriInterface $uri) - { - $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) - { - $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 deleted file mode 100644 index a3cb15d5..00000000 --- a/vendor/guzzlehttp/psr7/src/UriResolver.php +++ /dev/null @@ -1,222 +0,0 @@ -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 - * - * @param UriInterface $base Base URI - * @param UriInterface $target Target URI - * - * @return UriInterface The relative URI reference - */ - public static function relativize(UriInterface $base, UriInterface $target) - { - 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()); - $lastSegment = end($segments); - - return $emptyPathUri->withPath($lastSegment === '' ? './' : $lastSegment); - } - - return $emptyPathUri; - } - - private static function getRelativePath(UriInterface $base, UriInterface $target) - { - $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 deleted file mode 100644 index 6b6c8cce..00000000 --- a/vendor/guzzlehttp/psr7/src/Utils.php +++ /dev/null @@ -1,428 +0,0 @@ - $keys - * - * @return array - */ - public static function caselessRemove($keys, array $data) - { - $result = []; - - foreach ($keys as &$key) { - $key = strtolower($key); - } - - foreach ($data as $k => $v) { - if (!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, $maxLen = -1) - { - $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. - * - * @return string - * - * @throws \RuntimeException on error. - */ - public static function copyToString(StreamInterface $stream, $maxLen = -1) - { - $buffer = ''; - - if ($maxLen === -1) { - while (!$stream->eof()) { - $buf = $stream->read(1048576); - // Using a loose equality here to match on '' and false. - if ($buf == null) { - break; - } - $buffer .= $buf; - } - return $buffer; - } - - $len = 0; - while (!$stream->eof() && $len < $maxLen) { - $buf = $stream->read($maxLen - $len); - // Using a loose equality here to match on '' and false. - if ($buf == null) { - 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 - * - * @return string Returns the hash of the stream - * - * @throws \RuntimeException on error. - */ - public static function hash(StreamInterface $stream, $algo, $rawOutput = false) - { - $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, (bool) $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. - * - * @return RequestInterface - */ - public static function modifyRequest(RequestInterface $request, array $changes) - { - 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( - isset($changes['method']) ? $changes['method'] : $request->getMethod(), - $uri, - $headers, - isset($changes['body']) ? $changes['body'] : $request->getBody(), - isset($changes['version']) - ? $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( - isset($changes['method']) ? $changes['method'] : $request->getMethod(), - $uri, - $headers, - isset($changes['body']) ? $changes['body'] : $request->getBody(), - isset($changes['version']) - ? $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 - * - * @return string - */ - public static function readLine(StreamInterface $stream, $maxLength = null) - { - $buffer = ''; - $size = 0; - - while (!$stream->eof()) { - // Using a loose equality here to match on '' and false. - if (null == ($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 $options Additional options - * - * @return StreamInterface - * - * @throws \InvalidArgumentException if the $resource arg is not valid. - */ - public static function streamFor($resource = '', array $options = []) - { - if (is_scalar($resource)) { - $stream = self::tryFopen('php://temp', 'r+'); - if ($resource !== '') { - fwrite($stream, $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 - */ - $metaData = \stream_get_meta_data($resource); - if (isset($metaData['uri']) && $metaData['uri'] === 'php://input') { - $stream = self::tryFopen('php://temp', 'w+'); - fwrite($stream, stream_get_contents($resource)); - fseek($stream, 0); - $resource = $stream; - } - return new Stream($resource, $options); - case 'object': - 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 Utils::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($filename, $mode) - { - $ex = null; - set_error_handler(function () use ($filename, $mode, &$ex) { - $ex = new \RuntimeException(sprintf( - 'Unable to open "%s" using mode "%s": %s', - $filename, - $mode, - func_get_args()[1] - )); - - return true; - }); - - try { - $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 - * - * @return UriInterface - * - * @throws \InvalidArgumentException - */ - public static function uriFor($uri) - { - 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/guzzlehttp/psr7/src/functions.php b/vendor/guzzlehttp/psr7/src/functions.php deleted file mode 100644 index b0901fad..00000000 --- a/vendor/guzzlehttp/psr7/src/functions.php +++ /dev/null @@ -1,422 +0,0 @@ - '1', 'foo[b]' => '2'])`. - * - * @param string $str Query string to parse - * @param int|bool $urlEncoding How the query string is encoded - * - * @return array - * - * @deprecated parse_query will be removed in guzzlehttp/psr7:2.0. Use Query::parse instead. - */ -function parse_query($str, $urlEncoding = true) -{ - return Query::parse($str, $urlEncoding); -} - -/** - * Build a query string from an array of key value pairs. - * - * This function can use the return value of `parse_query()` 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. - * - * @return string - * - * @deprecated build_query will be removed in guzzlehttp/psr7:2.0. Use Query::build instead. - */ -function build_query(array $params, $encoding = PHP_QUERY_RFC3986) -{ - return Query::build($params, $encoding); -} - -/** - * Determines the mimetype of a file by looking at its extension. - * - * @param string $filename - * - * @return string|null - * - * @deprecated mimetype_from_filename will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromFilename instead. - */ -function mimetype_from_filename($filename) -{ - return MimeType::fromFilename($filename); -} - -/** - * Maps a file extensions to a mimetype. - * - * @param $extension string The file extension. - * - * @return string|null - * - * @link http://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x/conf/mime.types - * @deprecated mimetype_from_extension will be removed in guzzlehttp/psr7:2.0. Use MimeType::fromExtension instead. - */ -function mimetype_from_extension($extension) -{ - return MimeType::fromExtension($extension); -} - -/** - * 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. - * - * @return array - * - * @internal - * - * @deprecated _parse_message will be removed in guzzlehttp/psr7:2.0. Use Message::parseMessage instead. - */ -function _parse_message($message) -{ - return Message::parseMessage($message); -} - -/** - * 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). - * - * @return string - * - * @internal - * - * @deprecated _parse_request_uri will be removed in guzzlehttp/psr7:2.0. Use Message::parseRequestUri instead. - */ -function _parse_request_uri($path, array $headers) -{ - return Message::parseRequestUri($path, $headers); -} - -/** - * 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 - * - * @return string|null - * - * @deprecated get_message_body_summary will be removed in guzzlehttp/psr7:2.0. Use Message::bodySummary instead. - */ -function get_message_body_summary(MessageInterface $message, $truncateAt = 120) -{ - return Message::bodySummary($message, $truncateAt); -} - -/** - * Remove the items given by the keys, case insensitively from the data. - * - * @param iterable $keys - * - * @return array - * - * @internal - * - * @deprecated _caseless_remove will be removed in guzzlehttp/psr7:2.0. Use Utils::caselessRemove instead. - */ -function _caseless_remove($keys, array $data) -{ - return Utils::caselessRemove($keys, $data); -} diff --git a/vendor/guzzlehttp/psr7/src/functions_include.php b/vendor/guzzlehttp/psr7/src/functions_include.php deleted file mode 100644 index 96a4a83a..00000000 --- a/vendor/guzzlehttp/psr7/src/functions_include.php +++ /dev/null @@ -1,6 +0,0 @@ - BSD 3-Clause License. -- `Krizalys\Onedrive\Client::createFolder()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::createFile()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::createFile()`: `$content` is automatically closed - if it is a resource. -- `Krizalys\Onedrive\Client::fetchDriveItem()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchRoot()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchCameraRoll()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchDocs()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchPics()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchProperties()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchDriveItems()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::updateDriveItem()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::moveDriveItem()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::copyFile()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::deleteDriveItem()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchQuota()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchRecentDocs()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Client::fetchShared()`: deprecated & logs a warning. -- `Krizalys\Onedrive\DriveItem::move()`: deprecated & logs a warning. -- `Krizalys\Onedrive\File::fetchContent()`: deprecated & logs a warning. -- `Krizalys\Onedrive\File::copy()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Folder::fetchDriveItems()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Folder::fetchChildDriveItems()`: deprecated & logs a - warning. -- `Krizalys\Onedrive\Folder::createFolder()`: deprecated & logs a warning. -- `Krizalys\Onedrive\Folder::createFile()`: deprecated & logs a warning. - -### Removed - -- Support for PHP 5.4 and PHP 5.5. -- Example application. -- `Krizalys\Onedrive\Folder::fetchDescendantDriveItems()`. -- `Krizalys\Onedrive\Client::apiDelete()`. -- `Krizalys\Onedrive\Client::apiPost()`. -- `Krizalys\Onedrive\Client::apiPut()`. -- `Krizalys\Onedrive\Client::apiMove()`. -- `Krizalys\Onedrive\Client::apiCopy()`. -- `Krizalys\Onedrive\Client::fetchPublicDocs`. -- `Krizalys\Onedrive\Client::fetchAccountInfo`. - -[1.2.0] - 2017-12-09 --------------------- - -### Added - -- Support for PHP 7.1. -- Support for PHP 7.2. -- Functional test suite. - -[1.1.1] - 2017-03-26 --------------------- - -### Fixed - -- Support for SSL. - -[1.1.0] - 2016-07-10 --------------------- - -### Added - -- Support for refresh tokens. -- Support for multiple naming conflict behaviors when uploading files. -- Support for multiple PHP stream back ends when uploading files. -- Standalone autoloader. -- Unit test suite & code coverage. - -### Removed - -- Support for PHP 5.3. - -[1.0.1] - 2017-03-26 --------------------- - -### Fixed - -- Support for SSL. - -[unreleased]: https://github.com/krizalys/onedrive-php-sdk/compare/2.7.0...HEAD -[2.7.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.6.0...2.7.0 -[2.6.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.5.1...2.6.0 -[2.5.1]: https://github.com/krizalys/onedrive-php-sdk/compare/2.5.0...2.5.1 -[2.5.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.4.2...2.5.0 -[2.4.2]: https://github.com/krizalys/onedrive-php-sdk/compare/2.4.1...2.4.2 -[2.4.1]: https://github.com/krizalys/onedrive-php-sdk/compare/2.4.0...2.4.1 -[2.4.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.3.0...2.4.0 -[2.3.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.2.0...2.3.0 -[2.2.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.1.2...2.2.0 -[2.1.2]: https://github.com/krizalys/onedrive-php-sdk/compare/2.1.1...2.1.2 -[2.1.1]: https://github.com/krizalys/onedrive-php-sdk/compare/2.1.0...2.1.1 -[2.1.0]: https://github.com/krizalys/onedrive-php-sdk/compare/2.0.2...2.1.0 -[2.0.2]: https://github.com/krizalys/onedrive-php-sdk/compare/2.0.1...2.0.2 -[2.0.1]: https://github.com/krizalys/onedrive-php-sdk/compare/2.0.0...2.0.1 -[2.0.0]: https://github.com/krizalys/onedrive-php-sdk/compare/1.2.0...2.0.0 -[1.2.0]: https://github.com/krizalys/onedrive-php-sdk/compare/1.1.1...1.2.0 -[1.1.1]: https://github.com/krizalys/onedrive-php-sdk/compare/1.1.0...1.1.1 -[1.1.0]: https://github.com/krizalys/onedrive-php-sdk/compare/1.0.0...1.1.0 -[1.0.1]: https://github.com/krizalys/onedrive-php-sdk/compare/1.0.0...1.0.1 -[api-reference]: https://github.com/krizalys/onedrive-php-sdk/wiki/ApiIndex -[monolog]: https://github.com/seldaek/monolog diff --git a/vendor/krizalys/onedrive-php-sdk/LICENSE b/vendor/krizalys/onedrive-php-sdk/LICENSE deleted file mode 100644 index 439b5082..00000000 --- a/vendor/krizalys/onedrive-php-sdk/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2008-2021, Krizalys -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/krizalys/onedrive-php-sdk/README.md b/vendor/krizalys/onedrive-php-sdk/README.md deleted file mode 100644 index 2cb51090..00000000 --- a/vendor/krizalys/onedrive-php-sdk/README.md +++ /dev/null @@ -1,271 +0,0 @@ -OneDrive SDK for PHP -==================== - -[![Latest Stable Version](https://poser.pugx.org/krizalys/onedrive-php-sdk/v/stable)](https://packagist.org/packages/krizalys/onedrive-php-sdk) -[![Total Downloads](https://poser.pugx.org/krizalys/onedrive-php-sdk/d/total.svg)](https://packagist.org/packages/krizalys/onedrive-php-sdk) -[![Build Status](https://travis-ci.org/krizalys/onedrive-php-sdk.svg?branch=master)](https://travis-ci.org/krizalys/onedrive-php-sdk) -[![Code Coverage](https://codecov.io/gh/krizalys/onedrive-php-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/krizalys/onedrive-php-sdk) -[![StyleCI](https://styleci.io/repos/23994489/shield?style=flat)](https://styleci.io/repos/23994489) - -The **OneDrive SDK for PHP** is an open source library that allows [PHP][php] -applications to interact programmatically with the [OneDrive REST -API][onedrive-rest-api]. - -It supports operations such as creating, reading, updating, deleting (CRUD) -files and folders, as well as moving or copying them to other folders. - -Requirements ------------- - -Using the OneDrive SDK for PHP requires the following: - -* [PHP][php] 5.6 or newer ; -* [Composer][composer] or a manual install of the dependencies mentioned in - `composer.json`. - -### Testing - -Running its functional tests also require: - -* A OneDrive web application configured with `http://localhost:7777/` as its - redirect URI ; -* A WebDriver server, for example the [Selenium's Java standalone - server][selenium-server-standalone] ; -* A Chrome browser & ChromeDriver, and they must be usable by the WebDriver - server. - -Installation ------------- - -The recommended way to install OneDrive SDK for PHP is to install it using -[Composer][composer]: - -```sh -composer require krizalys/onedrive-php-sdk -``` - -If you are not already using Composer in your PHP project, refer to [the -Composer documentation][composer] to learn how to set it up. - -Quick start ------------ - -To use the OneDrive SDK for PHP, you require a web application exposing a URL -initiating the authorization flow. Typically, this URL, referred to as your web -application's ***Redirect URI***, is a PHP script requesting an authorization -token. This token is required whenever your web application interacts with your -users' OneDrive contents and may be reused across multiple calls. An example of -such a web application is our [functional test suite][functional-test-suite]. - -You also require a OneDrive application. To register such an application, first -[sign in to Microsoft Azure][microsoft-azure-login], then visit [App -registrations][app-registration-portal] and add a *registration* for your -application. While registering your application, you need to set its *Redirect -URI*, explained above. **We currently only support *Web* redirect -URIs.** - -Once created, your application is assigned an *Application (client) ID*, -referred to as its ***Client ID***. In *Certificate & secrets*, you also need to -add at least one ***Client secret***. **Warning: *Client Secrets* are similar to -passwords or private keys by allowing an application to identify as yours: -therefore, *Client Secrets* should be kept private.** - -Once you have a *Redirect URI*, a *Client ID*, and a *Client Secret*, your web -application can start using the OneDrive SDK for PHP in three steps. - -### Step 1: create your configuration - -As you may need them from several scripts, we recommend saving your *Client ID*, -*Client secret* and *Redirect URI* in a configuration file, for example: - -#### `config.php` - -```php - '', - - /** - * Your OneDrive client secret. - */ - 'ONEDRIVE_CLIENT_SECRET' => '', - - /** - * Your OneDrive redirect URI. - */ - 'ONEDRIVE_REDIRECT_URI' => 'http://your.domain.com/redirect.php', -]; -``` - -### Step 2: direct your users to the sign in page - -This script is responsible for, given a set of privileges, fetching a log in URL -from the OneDrive API. It needs to direct users to this URL to initiate their -log in and privilege granting process. The script should look like this: - -#### `index.php` - -```php -getLogInUrl([ - 'files.read', - 'files.read.all', - 'files.readwrite', - 'files.readwrite.all', - 'offline_access', -], $config['ONEDRIVE_REDIRECT_URI']); - -session_start(); - -// Persist the OneDrive client' state for next API requests. -$_SESSION['onedrive.client.state'] = $client->getState(); - -// Redirect the user to the log in URL. -header('HTTP/1.1 302 Found', true, 302); -header("Location: $url"); -``` - -### Step 3: get an OAuth access token - -After the users follow this URL, they are required to sign into their -Microsoft account, and they are asked whether they agree to allow your web -application to access their OneDrive account. - -If they do, they are redirected to your *Redirect URI* and a `code` is passed in -the query string of this URL. The script at this URL essentially: - -1. Instantiates a `Client` from your configuration and the state from previous - instantiations ; -2. Obtains an OAuth access token using `Client::obtainAccessToken()`, - passing it the `code` received ; -3. Starts interacting with the files and folders stored in their OneDrive - account, or delegates this responsibility to other scripts which in turn may - spawn other `Client` instances from the same state. - -It typically looks like this (replace `/path/to` by the appropriate values): - -#### `redirect.php` - -```php - $_SESSION['onedrive.client.state'], - ] -); - -// Obtain the token using the code received by the OneDrive API. -$client->obtainAccessToken($config['ONEDRIVE_CLIENT_SECRET'], $_GET['code']); - -// Persist the OneDrive client' state for next API requests. -$_SESSION['onedrive.client.state'] = $client->getState(); - -// Past this point, you can start using file/folder functions from the SDK, eg: -$file = $client->getRoot()->upload('hello.txt', 'Hello World!'); -echo $file->download(); -// => Hello World! - -$file->delete(); -``` - -For details about classes and methods available, see the [API -reference][api-reference] or the [project page][onedrive-php-sdk] on -[Krizalys][krizalys]. - -Versioning ----------- - -OneDrive SDK for PHP adheres to [Semantic Versioning][semver]: we are committed -not to introduce breaking changes to the public API without incrementing the -major version number. We also try to document such changes in the -[changelog][changelog]. - -However, we only consider symbols marked with the `@api` annotation to be -part of the public API and subject to Semantic Versioning requirements. **Other -symbols are considered internal and may change or get removed without a major -version increment.** To avoid breaking changes, use only symbols from the public -API in your code. - -Testing -------- - -To run the functional test suite: - -1. Set your application configuration at `test/functional/config.php` ; -2. Run your WebDriver server, for example: - - ```sh - java -jar selenium-server-standalone-3.141.59.jar - ``` - -3. Run the functional test suite (it assumes that WebDriver listening on port - 4444): - - ```sh - vendor/bin/phpunit --configuration test --testsuite 'Functional tests' --bootstrap test/functional/bootstrap.php - ``` - -4. Repeat step 3 as needed. - -License -------- - -The OneDrive SDK for PHP is licensed under the [3-Clause -BSD License][bsd-3-clause]. - -Credits -------- - -The OneDrive SDK for PHP is developed and maintained by Christophe Vidal. - -[php]: http://php.net/ -[onedrive-rest-api]: https://docs.microsoft.com/en-us/onedrive/developer/rest-api/?view=odsp-graph-online -[composer]: https://getcomposer.org/ -[selenium-server-standalone]: http://selenium-release.storage.googleapis.com/index.html -[functional-test-suite]: https://github.com/krizalys/onedrive-php-sdk/tree/readme/test/functional -[microsoft-azure-login]: https://login.microsoftonline.com/ -[app-registration-portal]: https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade -[api-reference]: https://github.com/krizalys/onedrive-php-sdk/wiki/ApiIndex -[onedrive-php-sdk]: http://www.krizalys.com/software/onedrive-php-sdk -[krizalys]: http://www.krizalys.com/ -[semver]: https://semver.org/ -[changelog]: https://github.com/krizalys/onedrive-php-sdk/blob/master/CHANGELOG.md -[bsd-3-clause]: https://opensource.org/licenses/BSD-3-Clause diff --git a/vendor/krizalys/onedrive-php-sdk/autoload.php b/vendor/krizalys/onedrive-php-sdk/autoload.php deleted file mode 100644 index b040984b..00000000 --- a/vendor/krizalys/onedrive-php-sdk/autoload.php +++ /dev/null @@ -1,45 +0,0 @@ -=5.7.13 <8.0.0", - "psr/log": "^1.0.2", - "symfony/process": "^3.4.1" - }, - "autoload": { - "psr-4": { - "Krizalys\\Onedrive\\": "src/" - } - }, - "scripts": { - "test:functional": "vendor/bin/phpunit --configuration test --testsuite 'Functional tests' --bootstrap test/functional/bootstrap.php", - "test:functional:parallel": "vendor/bin/phpunit --configuration test --testsuite 'Functional tests' --bootstrap test/functional/bootstrap.php test/functional/KrizalysOnedriveTest.php & vendor/bin/phpunit --configuration test --testsuite 'Functional tests' --bootstrap test/functional/bootstrap.php test/functional/ClientTest.php & vendor/bin/phpunit --configuration test --testsuite 'Functional tests' --bootstrap test/functional/bootstrap.php test/functional/Proxy/DriveProxyTest.php & vendor/bin/phpunit --configuration test --testsuite 'Functional tests' --bootstrap test/functional/bootstrap.php test/functional/Proxy/DriveItemProxyTest.php & wait", - "test:unit": "vendor/bin/phpunit --configuration test --testsuite 'Unit tests' --bootstrap test/unit/bootstrap.php", - "test:unit:coverage": "vendor/bin/phpunit --configuration test --testsuite 'Unit tests' --bootstrap test/unit/bootstrap.php --coverage-clover coverage.xml" - }, - "config": { - "platform": { - "ext-zip": "1.12.5" - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/doc/CodingStyle.md b/vendor/krizalys/onedrive-php-sdk/doc/CodingStyle.md deleted file mode 100644 index 6a98a8ec..00000000 --- a/vendor/krizalys/onedrive-php-sdk/doc/CodingStyle.md +++ /dev/null @@ -1,12 +0,0 @@ -Coding style -============ - -This project uses a slighly modified variant of the [Symfony Coding -Standards][symfony-coding-standards]. [StyleCI][style-ci] is used to enforce -them. - -When in doubt, check out the StyleCI configuration, or fall back to the coding -style used elsewhere in the codebase. - -[style-ci]: https://github.styleci.io/repos/23994489 -[symfony-coding-standards]: https://symfony.com/doc/current/contributing/code/standards.html diff --git a/vendor/krizalys/onedrive-php-sdk/doc/ContributorRules.md b/vendor/krizalys/onedrive-php-sdk/doc/ContributorRules.md deleted file mode 100644 index 0e44667d..00000000 --- a/vendor/krizalys/onedrive-php-sdk/doc/ContributorRules.md +++ /dev/null @@ -1,9 +0,0 @@ -Contributor rules -================= - -This project expects any contributor to follow these rules, along with their -rationale. - -| Rule | Rationale | -| ------------------------------------------------------ | -------------------------------------- | -| Verify that stubbed methods are called via `expects()` | Helps detecting unused stubbed methods | diff --git a/vendor/krizalys/onedrive-php-sdk/src/Client.php b/vendor/krizalys/onedrive-php-sdk/src/Client.php deleted file mode 100644 index e86e46ef..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Client.php +++ /dev/null @@ -1,1684 +0,0 @@ -getRoot()->upload('hello.txt', 'Hello World!'); - * ``` - * - * Applications are managed via the Microsoft identity platform (v2.0); see - * {@link https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade "App registrations" in Microsoft Azure}. - * - * @since 1.0.0 - * - * @api - */ -class Client -{ - /** - * @var string - * The base URL for authorization requests. - */ - const AUTH_URL = 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize'; - - /** - * @var string - * The base URL for token requests. - */ - const TOKEN_URL = 'https://login.microsoftonline.com/common/oauth2/v2.0/token'; - - /** - * @var string - * The legacy date/time format. - * - * @deprecated 2.0.0 Non-standard format. Use ISO-8601 date/times instead. - */ - const LEGACY_DATETIME_FORMAT = 'Y-m-d\TH:i:sO'; - - /** - * @var string - * The client ID. - */ - private $clientId; - - /** - * @var \Microsoft\Graph\Graph - * The Microsoft Graph. - */ - private $graph; - - /** - * @var \GuzzleHttp\ClientInterface - * The Guzzle HTTP client. - */ - private $httpClient; - - /** - * @var \Krizalys\Onedrive\Definition\ServiceDefinitionInterface - * The service definition. - */ - private $serviceDefinition; - - /** - * @var object - * The OAuth state (token, etc...). - */ - private $state; - - /** - * Constructor. - * - * @param string $clientId - * The client ID. - * @param \Microsoft\Graph\Graph $graph - * The Microsoft Graph. - * @param \GuzzleHttp\ClientInterface $httpClient - * The Guzzle HTTP client. - * @param mixed $serviceDefinition - * The service definition. Not passing a - * \Krizalys\Onedrive\Definition\ServiceDefinitionInterface via this - * parameter is deprecated and will be disallowed in version 3. - * Passing a logger via this parameter is deprecated and will be - * disallowed in version 3. - * @param mixed[string] $options - * The options to use while creating this object. Supported options: - * - `'state'` *(object)*: the OneDrive client state, as returned - * by `getState()`. Default: `[]`. - * - * @throws \Exception - * Thrown if `$clientId` is `null`. - * - * @since 1.0.0 - */ - public function __construct( - $clientId, - Graph $graph, - ClientInterface $httpClient, - $serviceDefinition = null, - array $options = [] - ) { - switch (func_num_args()) { - case 3: - $serviceDefinition = null; - break; - - case 4: - if (is_array($serviceDefinition)) { - $options = $serviceDefinition; - $logger = null; - $serviceDefinition = null; - } elseif ($serviceDefinition instanceof ServiceDefinitionInterface) { - $logger = null; - } else { - $logger = $serviceDefinition; - $serviceDefinition = null; - } - - break; - - case 5: - if ($serviceDefinition instanceof ServiceDefinitionInterface) { - $logger = null; - } else { - $logger = $serviceDefinition; - $serviceDefinition = null; - } - - break; - } - - if ($serviceDefinition === null) { - $message = 'Not passing a' - . ' \Krizalys\Onedrive\Definition\ServiceDefinitionInterface' - . ' instance via $serviceDefinition is deprecated and will be' - . ' disallowed in version 3; pass this parameter'; - - @trigger_error($message, E_USER_DEPRECATED); - - $serviceDefinition = Onedrive::buildServiceDefinition(); - } - - if ($logger !== null) { - $message = 'Passing a logger via $serviceDefinition is deprecated' - . ' and will be disallowed in version 3; omit this parameter,' - . ' or pass null or options instead'; - - @trigger_error($message, E_USER_DEPRECATED); - } - - if ($clientId === null) { - throw new \Exception('The client ID must be set'); - } - - $this->clientId = $clientId; - $this->graph = $graph; - $this->httpClient = $httpClient; - $this->serviceDefinition = $serviceDefinition; - - $this->state = array_key_exists('state', $options) - ? $options['state'] : (object) [ - 'redirect_uri' => null, - 'token' => null, - ]; - - if ($this->state->token !== null) { - $this->graph->setAccessToken($this->state->token->data->access_token); - } - } - - /** - * Gets the current state of this Client instance. - * - * Typically saved in the session and passed back to the `Client` - * constructor for further requests. - * - * @return object - * The state of this `Client` instance. - * - * @since 1.0.0 - * - * @api - */ - public function getState() - { - return $this->state; - } - - /** - * Gets the URL of the log in form. - * - * Users should visit this URL in their browser to first be presented a form - * where the user is first allowed to log in to their OneDrive account, and - * then to grant the requested permissions to the OneDrive application. - * - * After login, the browser is redirected to the given redirect URI, and a - * code is passed as a query string parameter to this URI. - * - * A user-defined value may also be passed back to this URI as a query - * string parameter via the `$state` parameter; see - * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reply-url#use-a-state-parameter "Use a state parameter" in Microsoft Azure documentation} - * for example use - * cases. - * - * The browser is also directly redirected to the given redirect URI if the - * user is already logged in. - * - * @param string[] $scopes - * The OneDrive scopes requested by the application. Supported - * values: - * - `'offline_access'` ; - * - `'files.read'` ; - * - `'files.read.all'` ; - * - `'files.readwrite'` ; - * - `'files.readwrite.all'`. - * @param string $redirectUri - * The URI to which to redirect to upon successful log in. - * @param string $state - * The state to pass as a query string value to the redirect URI - * upon successful log in. - * - * @return string - * The log in URL. - * - * @since 1.0.0 - * - * @api - */ - public function getLogInUrl(array $scopes, $redirectUri, $state = null) - { - $redirectUri = (string) $redirectUri; - $this->state->redirect_uri = $redirectUri; - - $values = [ - 'client_id' => $this->clientId, - 'response_type' => 'code', - 'redirect_uri' => $redirectUri, - 'scope' => implode(' ', $scopes), - 'response_mode' => 'query', - ]; - - if ($state !== null) { - $values['state'] = (string) $state; - } - - $query = http_build_query($values, '', '&', PHP_QUERY_RFC3986); - - // When visiting this URL and authenticating successfully, the agent is - // redirected to the redirect URI, with a code passed in the query - // string (the name of the variable is "code"). This is suitable for - // PHP. - return self::AUTH_URL . "?$query"; - } - - /** - * Gets the access token expiration delay. - * - * @return int - * The token expiration delay, in seconds. - * - * @since 1.0.0 - * - * @api - */ - public function getTokenExpire() - { - return $this->state->token->obtained - + $this->state->token->data->expires_in - time(); - } - - /** - * Gets the status of the current access token. - * - * See {@see \Krizalys\Onedrive\Constant\AccessTokenStatus - * AccessTokenStatus} for the possible values returned. - * - * @return int - * The status of the current access token. - * - * @since 1.0.0 - * - * @api - */ - public function getAccessTokenStatus() - { - if ($this->state->token === null) { - return AccessTokenStatus::MISSING; - } - - $remaining = $this->getTokenExpire(); - - if ($remaining <= 0) { - return AccessTokenStatus::EXPIRED; - } - - if ($remaining <= 60) { - return AccessTokenStatus::EXPIRING; - } - - return AccessTokenStatus::VALID; - } - - /** - * Obtains a new access token from OAuth. - * - * This token is valid for one hour. - * - * @param string $clientSecret - * The OneDrive client secret. - * @param string $code - * The code returned by OneDrive after successful log in. - * - * @throws \Exception - * Thrown if the redirect URI of this `Client` instance's state is - * not set. - * @throws \Exception - * Thrown if the HTTP response body cannot be JSON-decoded. - * - * @since 1.0.0 - * - * @api - */ - public function obtainAccessToken($clientSecret, $code) - { - if ($this->state->redirect_uri === null) { - throw new \Exception( - 'The state\'s redirect URI must be set to call' - . ' obtainAccessToken()' - ); - } - - $values = [ - 'client_id' => $this->clientId, - 'redirect_uri' => $this->state->redirect_uri, - 'client_secret' => (string) $clientSecret, - 'code' => (string) $code, - 'grant_type' => 'authorization_code', - ]; - - $response = $this->httpClient->post( - self::TOKEN_URL, - ['form_params' => $values] - ); - - $body = (string) $response->getBody(); - $data = json_decode($body); - - if ($data === null) { - throw new \Exception('json_decode() failed'); - } - - $this->state->redirect_uri = null; - - $this->state->token = (object) [ - 'obtained' => time(), - 'data' => $data, - ]; - - $this->graph->setAccessToken($this->state->token->data->access_token); - } - - /** - * Renews the access token from OAuth. - * - * This token is valid for one hour. - * - * @param string $clientSecret - * The client secret. - * - * @since 1.1.0 - * - * @api - */ - public function renewAccessToken($clientSecret) - { - if ($this->state->token->data->refresh_token === null) { - throw new \Exception( - 'The refresh token is not set or no permission for' - . ' \'offline_access\' was given to renew the token' - ); - } - - $values = [ - 'client_id' => $this->clientId, - 'client_secret' => $clientSecret, - 'grant_type' => 'refresh_token', - 'refresh_token' => $this->state->token->data->refresh_token, - ]; - - $response = $this->httpClient->post( - self::TOKEN_URL, - ['form_params' => $values] - ); - - $body = (string) $response->getBody(); - $data = json_decode($body); - - if ($data === null) { - throw new \Exception('json_decode() failed'); - } - - $this->state->token = (object) [ - 'obtained' => time(), - 'data' => $data, - ]; - - $this->graph->setAccessToken($this->state->token->data->access_token); - } - - /** - * Gets the current user's drive. - * - * @return \Krizalys\Onedrive\Proxy\DriveProxy[] - * The drives. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_list?view=odsp-graph-online#list-the-current-users-drives - * List the current user's drives - */ - public function getDrives() - { - $driveLocator = '/me/drives'; - $endpoint = "$driveLocator"; - - $response = $this - ->graph - ->createCollectionRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $drives = $response->getResponseAsObject(Model\Drive::class); - - if (!is_array($drives)) { - return []; - } - - return array_map(function (Model\Drive $drive) { - return new DriveProxy( - $this->graph, - $drive, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - }, $drives); - } - - /** - * Gets the signed in user's drive. - * - * @return \Krizalys\Onedrive\Proxy\DriveProxy - * The drive. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get?view=odsp-graph-online#get-current-users-onedrive - * Get current user's OneDrive - */ - public function getMyDrive() - { - $driveLocator = '/me/drive'; - $endpoint = "$driveLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $drive = $response->getResponseAsObject(Model\Drive::class); - - return new DriveProxy( - $this->graph, - $drive, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets a drive by ID. - * - * @param string $driveId - * The drive ID. - * - * @return \Krizalys\Onedrive\Proxy\DriveProxy - * The drive. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get?view=odsp-graph-online#get-a-drive-by-id - * Get a drive by ID - */ - public function getDriveById($driveId) - { - $driveLocator = "/drives/$driveId"; - $endpoint = "$driveLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $drive = $response->getResponseAsObject(Model\Drive::class); - - return new DriveProxy( - $this->graph, - $drive, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets a user's OneDrive. - * - * @param string $idOrUserPrincipalName - * The ID or user principal name. - * - * @return \Krizalys\Onedrive\Proxy\DriveProxy - * The drive. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get?view=odsp-graph-online#get-a-users-onedrive - * Get a user's OneDrive - */ - public function getDriveByUser($idOrUserPrincipalName) - { - $userLocator = "/users/$idOrUserPrincipalName"; - $driveLocator = '/drive'; - $endpoint = "$userLocator$driveLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $drive = $response->getResponseAsObject(Model\Drive::class); - - return new DriveProxy( - $this->graph, - $drive, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets the document library associated with a group. - * - * @param string $groupId - * The group ID. - * - * @return \Krizalys\Onedrive\Proxy\DriveProxy - * The drive. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get?view=odsp-graph-online#get-the-document-library-associated-with-a-group - * Get the document library associated with a group - */ - public function getDriveByGroup($groupId) - { - $groupLocator = "/groups/$groupId"; - $driveLocator = '/drive'; - $endpoint = "$groupLocator$driveLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $drive = $response->getResponseAsObject(Model\Drive::class); - - return new DriveProxy( - $this->graph, - $drive, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets the document library for a site. - * - * @param string $siteId - * The site ID. - * - * @return \Krizalys\Onedrive\Proxy\DriveProxy - * The drive. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get?view=odsp-graph-online#get-the-document-library-for-a-site - * Get the document library for a site - */ - public function getDriveBySite($siteId) - { - $siteLocator = "/sites/$siteId"; - $driveLocator = '/drive'; - $endpoint = "$siteLocator$driveLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $drive = $response->getResponseAsObject(Model\Drive::class); - - return new DriveProxy( - $this->graph, - $drive, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets a drive item by ID. - * - * @param string $driveId - * The drive ID. Deprecated and will change in version 3; pass the - * drive item ID instead. - * @param mixed $itemId - * The drive item ID. Deprecated and will be removed in version 3; - * Omit this parameter. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get?view=odsp-graph-online - * Get a DriveItem resource - */ - public function getDriveItemById($driveId, $itemId = null) - { - if (func_num_args() == 1) { - $itemId = $driveId; - $driveId = null; - } - - if ($driveId === null) { - $driveLocator = '/me/drive'; - } else { - $message = sprintf( - '%s()\'s behavior will change in version 3: the $driveId' - . ' argument will be removed and the method will get a' - . ' drive item from the default drive;' - . ' use' - . ' \Krizalys\Onedrive\Proxy\DriveProxy::getDriveItemById()' - . ' for to retrieve a drive item ID from a given drive', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $driveLocator = "/drives/$driveId"; - } - - $itemLocator = "/items/$itemId"; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(Model\DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets a drive item by path. - * - * The path is given as an absolute path from the root of the drive, for - * example: - * - * ```php - * $driveItem = $client->getDriveItemByPath('/path/to/file.txt'); - * ``` - * - * @param string $path - * The path. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item. - * - * @since 2.2.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get?view=odsp-graph-online - * Get a DriveItem resource - */ - public function getDriveItemByPath($path) - { - $driveLocator = '/me/drive'; - $itemLocator = "/root:$path"; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(Model\DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets the root drive item. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The root drive item. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get?view=odsp-graph-online - * Get a DriveItem resource - */ - public function getRoot() - { - $driveLocator = '/me/drive'; - $itemLocator = '/root'; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(Model\DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets a special folder by name. - * - * See {@see \Krizalys\Onedrive\Constant\SpecialFolderName SpecialFolderName} - * for the parameter `$specialFolderName`' supported values. - * - * @param string $specialFolderName - * The special folder name. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The root drive item. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get_specialfolder?view=odsp-graph-online - * Get a special folder by name - */ - public function getSpecialFolder($specialFolderName) - { - $driveLocator = '/me/drive'; - $specialFolderLocator = "/special/$specialFolderName"; - $endpoint = "$driveLocator$specialFolderLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(Model\DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - } - - /** - * Gets items shared with the signed-in user. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy[] - * The shared drive items. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_sharedwithme?view=odsp-graph-online - * List items shared with the signed-in user - */ - public function getShared() - { - $driveLocator = '/me/drive'; - $endpoint = "$driveLocator/sharedWithMe"; - - $response = $this - ->graph - ->createCollectionRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItems = $response->getResponseAsObject(Model\DriveItem::class); - - if (!is_array($driveItems)) { - return []; - } - - return array_map(function (Model\DriveItem $driveItem) { - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - }, $driveItems); - } - - /** - * Gets recent files. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy[] - * The recent drive items. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_recent?view=odsp-graph-online - * List recent files - */ - public function getRecent() - { - $driveLocator = '/me/drive'; - $endpoint = "$driveLocator/recent"; - - $response = $this - ->graph - ->createCollectionRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItems = $response->getResponseAsObject(Model\DriveItem::class); - - if (!is_array($driveItems)) { - return []; - } - - return array_map(function (Model\DriveItem $driveItem) { - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->serviceDefinition->getResourceDefinition('driveItem') - ); - }, $driveItems); - } - - // Legacy support ////////////////////////////////////////////////////////// - - /** - * Creates a folder in the current OneDrive account. - * - * This operation is supported only on folders (as opposed to files): it - * fails if `$parentId` does not refer to a folder. - * - * @param string $name - * The name of the OneDrive folder to be created. - * @param null|string $parentId - * The ID of the OneDrive folder into which to create the OneDrive - * folder, or `null` to create it in the OneDrive root folder. - * Default: `null`. - * @param null|string $description - * The description of the OneDrive folder to be created, or `null` to - * create it without a description. Default: `null`. - * - * @return \Krizalys\Onedrive\Folder - * The folder created, as a Folder instance referencing to the - * OneDrive folder created. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder() - */ - public function createFolder($name, $parentId = null, $description = null) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder()' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - - $item = $parentId !== null ? - $this->getDriveItemById($drive->id, $parentId) - : $drive->getRoot(); - - $options = []; - - if ($description !== null) { - $options += [ - 'description' => (string) $description, - ]; - } - - $item = $item->createFolder($name, $options); - $options = $this->buildOptions($item, ['parent_id' => $parentId]); - - return new Folder($this, $item->id, $options); - } - - /** - * Creates a file in the current OneDrive account. - * - * This operation is supported only on folders (as opposed to files): it - * fails if `$parentId` does not refer to a folder. - * - * @param string $name - * The name of the OneDrive file to be created. - * @param null|string $parentId - * The ID of the OneDrive folder into which to create the OneDrive - * file, or `null` to create it in the OneDrive root folder. Default: - * `null`. - * @param string|resource|\GuzzleHttp\Psr7\Stream $content - * The content of the OneDrive file to be created, as a string or as - * a resource to an already opened file. Default: `''`. - * @param mixed[string] $options - * The options. Unused. - * - * @return \Krizalys\Onedrive\File - * The file created, as File instance referencing to the OneDrive - * file created. - * - * @throws \Exception - * Thrown on I/O errors. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::upload(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::upload() - * - * @todo Support name conflict behavior. - * @todo Support content type in options. - */ - public function createFile( - $name, - $parentId = null, - $content = '', - array $options = [] - ) { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::upload()' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - - $item = $parentId !== null ? - $this->getDriveItemById($drive->id, $parentId) - : $drive->getRoot(); - - $item = $item->upload($name, $content); - $options = $this->buildOptions($item, ['parent_id' => $parentId]); - - return new File($this, $item->id, $options); - } - - /** - * Fetches a drive item from the current OneDrive account. - * - * @param null|string $driveItemId - * The unique ID of the OneDrive drive item to fetch, or `null` to - * fetch the OneDrive root folder. Default: `null`. - * - * @return object - * The drive item fetched, as a DriveItem instance referencing to - * the OneDrive drive item fetched. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getDriveItemById().. - * - * @see \Krizalys\Onedrive\Client::getDriveItemById() - */ - public function fetchDriveItem($driveItemId = null) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Client::getDriveItemById() instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - - $item = $driveItemId !== null ? - $this->getDriveItemById($drive->id, $driveItemId) - : $drive->getRoot(); - - $options = $this->buildOptions($item, ['parent_id' => $driveItemId]); - - return $this->isFolder($item) ? - new Folder($this, $item->id, $options) - : new File($this, $item->id, $options); - } - - /** - * Fetches the root folder from the current OneDrive account. - * - * @return \Krizalys\Onedrive\Folder - * The root folder, as a Folder instance referencing to the OneDrive - * root folder. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getRoot(). - * - * @see \Krizalys\Onedrive\Client::getRoot() - */ - public function fetchRoot() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Client::getRoot() instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $item = $this->getRoot(); - $options = $this->buildOptions($item); - - return new Folder($this, $item->id, $options); - } - - /** - * Fetches the "Camera Roll" folder from the current OneDrive account. - * - * @return \Krizalys\Onedrive\Folder - * The "Camera Roll" folder, as a Folder instance referencing to the - * OneDrive "Camera Roll" folder. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getSpecialFolder(\Krizalys\Onedrive\Constant\SpecialFolderName::CAMERA_ROLL). - * - * @see \Krizalys\Onedrive\Client::getSpecialFolder() - */ - public function fetchCameraRoll() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3; use' - . ' \Krizalys\Onedrive\Client::getSpecialFolder(\Krizalys\Onedrive\Constant\SpecialFolderName::CAMERA_ROLL)' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $item = $this->getSpecialFolder(SpecialFolderName::CAMERA_ROLL); - $options = $this->buildOptions($item); - - return new Folder($this, $item->id, $options); - } - - /** - * Fetches the "Documents" folder from the current OneDrive account. - * - * @return \Krizalys\Onedrive\Folder - * The "Documents" folder, as a Folder instance referencing to the - * OneDrive "Documents" folder. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getSpecialFolder(\Krizalys\Onedrive\Constant\SpecialFolderName::DOCUMENTS). - * - * @see \Krizalys\Onedrive\Client::getSpecialFolder() - */ - public function fetchDocs() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3; use' - . ' \Krizalys\Onedrive\Client::getSpecialFolder(\Krizalys\Onedrive\Constant\SpecialFolderName::DOCUMENTS)' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $item = $this->getSpecialFolder(SpecialFolderName::DOCUMENTS); - $options = $this->buildOptions($item); - - return new Folder($this, $item->id, $options); - } - - /** - * Fetches the "Pictures" folder from the current OneDrive account. - * - * @return \Krizalys\Onedrive\Folder - * The "Pictures" folder, as a Folder instance referencing to the - * OneDrive "Pictures" folder. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getSpecialFolder(\Krizalys\Onedrive\Constant\SpecialFolderName::PHOTOS). - * - * @see \Krizalys\Onedrive\Client::getSpecialFolder() - */ - public function fetchPics() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3; use' - . ' \Krizalys\Onedrive\Client::getSpecialFolder(\Krizalys\Onedrive\Constant\SpecialFolderName::PHOTOS)' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $item = $this->getSpecialFolder(SpecialFolderName::PHOTOS); - $options = $this->buildOptions($item); - - return new Folder($this, $item->id, $options); - } - - /** - * Fetches the properties of a drive item in the current OneDrive account. - * - * @param null|string $driveItemId - * The drive item ID, or `null` to fetch the OneDrive root folder. - * Default: `null`. - * - * @return object - * The properties of the drive item fetched. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getDriveItemById(). - * - * @see \Krizalys\Onedrive\Client::getDriveItemById() - */ - public function fetchProperties($driveItemId = null) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Client::getDriveItemById() instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - - $item = $driveItemId !== null ? - $this->getDriveItemById($drive->id, $driveItemId) - : $drive->getRoot(); - - $options = $this->buildOptions( - $item, - [ - 'id' => $item->id, - 'parent_id' => $driveItemId, - ] - ); - - return (object) $options; - } - - /** - * Fetches the drive items in a folder in the current OneDrive account. - * - * This operation is supported only on folders (as opposed to files): it - * fails if `$parentId` does not refer to a folder. - * - * @param null|string $driveItemId - * The drive item ID, or `null` to fetch the OneDrive root folder. - * Default: `null`. - * - * @return \Krizalys\Onedrive\DriveItem - * The drive items in the folder fetched, as DriveItem instances - * referencing OneDrive drive items. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::children. - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::children - */ - public function fetchDriveItems($driveItemId = null) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::children' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - - $item = $driveItemId !== null ? - $this->getDriveItemById($drive->id, $driveItemId) - : $drive->getRoot(); - - return array_map(function (DriveItemProxy $item) use ($driveItemId) { - $options = $this->buildOptions($item, ['parent_id' => $driveItemId]); - - return $this->isFolder($item) ? - new Folder($this, $item->id, $options) - : new File($this, $item->id, $options); - }, $item->children); - } - - /** - * Updates the properties of a drive item in the current OneDrive account. - * - * @param string $driveItemId - * The unique ID of the drive item to update. - * @param mixed[]|object $properties - * The properties to update. Default: `[]`. - * @param bool $temp - * Option to allow save to a temporary file in case of large files. - * - * @throws \Exception - * Thrown on I/O errors. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::rename(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::rename() - */ - public function updateDriveItem($driveItemId, $properties = [], $temp = false) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::rename()' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - - $item = $driveItemId !== null ? - $this->getDriveItemById($drive->id, $driveItemId) - : $drive->getRoot(); - - $options = (array) $properties; - - if (array_key_exists('name', $options)) { - $name = $options['name']; - unset($options['name']); - } else { - $name = $item->name; - } - - $item = $item->rename($name, $options); - $options = $this->buildOptions($item, ['parent_id' => $driveItemId]); - - return new Folder($this, $item->id, $options); - } - - /** - * Moves a drive item into another folder. - * - * `$destinationId` must refer to a folder. - * - * @param string $driveItemId - * The unique ID of the drive item to move. - * @param null|string $destinationId - * The unique ID of the folder into which to move the drive item, or - * `null` to move it to the OneDrive root folder. Default: `null`. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::move(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::move() - */ - public function moveDriveItem($driveItemId, $destinationId = null) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::move()' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - $item = $this->getDriveItemById($drive->id, $driveItemId); - - $destination = $destinationId !== null ? - $this->getDriveItemById($drive->id, $destinationId) - : $drive->getRoot(); - - $item->move($destination); - } - - /** - * Copies a file into another folder. - * - * This operation is supported only on files (as opposed to folders): it - * fails if `$driveItemId` does not refer to a file. - * - * Additionally, `$destinationId` must refer to a folder. - * - * @param string $driveItemId - * The unique ID of the file to copy. - * @param null|string $destinationId - * The unique ID of the folder into which to copy the file, or `null` - * to copy it to the OneDrive root folder. Default: `null`. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::copy(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::copy() - */ - public function copyFile($driveItemId, $destinationId = null) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::copy()' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - $item = $this->getDriveItemById($drive->id, $driveItemId); - - $destination = $destinationId !== null ? - $this->getDriveItemById($drive->id, $destinationId) - : $drive->getRoot(); - - $item->copy($destination); - } - - /** - * Deletes a drive item in the current OneDrive account. - * - * @param string $driveItemId - * The unique ID of the drive item to delete. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::delete(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::delete() - */ - public function deleteDriveItem($driveItemId) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::delete()' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - $item = $this->getDriveItemById($drive->id, $driveItemId); - $item->delete(); - } - - /** - * Fetches the quota of the current OneDrive account. - * - * @return object - * An object with the following properties: - * - 'quota' (int) The total space, in bytes ; - * - 'available' (int) The available space, in bytes. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveProxy::quota. - * - * @see \Krizalys\Onedrive\Proxy\DriveProxy::quota - */ - public function fetchQuota() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveProxy::quota instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $this->getMyDrive(); - $quota = $drive->quota; - - return (object) [ - 'quota' => $quota->total, - 'available' => $quota->remaining, - ]; - } - - /** - * Fetches the recent documents uploaded to the current OneDrive account. - * - * @return object - * An object with the following properties: - * - 'data' (array) The list of the recent documents uploaded. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getRecent(). - * - * @see \Krizalys\Onedrive\Client::getRecent() - */ - public function fetchRecentDocs() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Client::getRecent() instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $items = $this->getRecent(); - - return (object) [ - 'data' => array_map(function (DriveItemProxy $item) { - return (object) $this->buildOptions($item); - }, $items), - ]; - } - - /** - * Fetches the drive items shared with the current OneDrive account. - * - * @return object - * An object with the following properties: - * - 'data' (array) The list of the shared drive items. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Client::getShared(). - * - * @see \Krizalys\Onedrive\Client::getShared() - */ - public function fetchShared() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Client::getShared() instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $items = $this->getShared(); - - return (object) [ - 'data' => array_map(function (DriveItemProxy $item) { - return (object) $this->buildOptions($item); - }, $items), - ]; - } - - /** - * Checks whether a given drive item is a folder. - * - * @param \Krizalys\Onedrive\Proxy\DriveItemProxy $item - * The drive item. - * - * @return bool - * Whether the drive item is a folder. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Deprecated dependency. - */ - public function isFolder(DriveItemProxy $item) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - return $item->folder !== null || $item->specialFolder !== null; - } - - /** - * Builds options for legacy File and Folder constructors. - * - * @param \Krizalys\Onedrive\Proxy\DriveItemProxy $item - * The drive item. - * @param mixed[string] $options - * The options. - * - * @return mixed[] - * The options. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Deprecated dependency. - */ - public function buildOptions(DriveItemProxy $item, array $options = []) - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - $defaultOptions = [ - 'from' => (object) [ - 'name' => null, - 'id' => null, - ], - ]; - - if ($item->id !== null) { - $defaultOptions['id'] = $item->id; - } - - if ($item->parentReference->id !== null) { - $defaultOptions['parent_id'] = $item->parentReference->id; - } - - if ($item->name !== null) { - $defaultOptions['name'] = $item->name; - } - - if ($item->description !== null) { - $defaultOptions['description'] = $item->description; - } - - if ($item->size !== null) { - $defaultOptions['size'] = $item->size; - } - - if ($item->createdDateTime !== null) { - $defaultOptions['created_time'] = $item->createdDateTime->format(self::LEGACY_DATETIME_FORMAT); - } - - if ($item->lastModifiedDateTime !== null) { - $defaultOptions['updated_time'] = $item->lastModifiedDateTime->format(self::LEGACY_DATETIME_FORMAT); - } - - return $defaultOptions + $options; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/ConflictBehavior.php b/vendor/krizalys/onedrive-php-sdk/src/ConflictBehavior.php deleted file mode 100644 index 51938159..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/ConflictBehavior.php +++ /dev/null @@ -1,60 +0,0 @@ - 1", incrementing the - * trailing number until an available file name is discovered. - * - * @since 2.4.0 - * - * @api - */ - const RENAME = 'rename'; - - /** - * @var string - * Replace behavior: replace the drive item if it already exists. - * - * @since 2.4.0 - * - * @api - */ - const REPLACE = 'replace'; -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Constant/AccessTokenStatus.php b/vendor/krizalys/onedrive-php-sdk/src/Constant/AccessTokenStatus.php deleted file mode 100644 index 14394347..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Constant/AccessTokenStatus.php +++ /dev/null @@ -1,65 +0,0 @@ - 1", incrementing the - * trailing number until an available file name is discovered. - * - * @since 2.4.1 - * - * @api - */ - const RENAME = 'rename'; - - /** - * @var string - * Replace behavior: replace the drive item if it already exists. - * - * @since 2.4.1 - * - * @api - */ - const REPLACE = 'replace'; -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Constant/DriveType.php b/vendor/krizalys/onedrive-php-sdk/src/Constant/DriveType.php deleted file mode 100644 index a6d677cd..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Constant/DriveType.php +++ /dev/null @@ -1,55 +0,0 @@ -bodyParameterDefinitions = $bodyParameterDefinitions; - $this->headerParameterDefinitions = $headerParameterDefinitions; - $this->queryStringParameterDefinitions = $queryStringParameterDefinitions; - } - - /** - * {@inheritDoc} - * - * Gets the body parameter definitions. - * - * @return \Krizalys\Onedrive\Parameter\ParameterDefinitionCollectionInterface - * The body parameter definitions. - * - * @since 2.5.0 - */ - public function getBodyParameterDefinitions() - { - return $this->bodyParameterDefinitions; - } - - /** - * {@inheritDoc} - * - * Gets the header parameter definitions. - * - * @return \Krizalys\Onedrive\Parameter\ParameterDefinitionCollectionInterface - * The header parameter definitions. - * - * @since 2.5.0 - */ - public function getHeaderParameterDefinitions() - { - return $this->headerParameterDefinitions; - } - - /** - * {@inheritDoc} - * - * @return \Krizalys\Onedrive\Parameter\ParameterDefinitionCollectionInterface - * The query string parameter definitions. - * - * @since 2.5.0 - */ - public function getQueryStringParameterDefinitions() - { - return $this->queryStringParameterDefinitions; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Definition/OperationDefinitionInterface.php b/vendor/krizalys/onedrive-php-sdk/src/Definition/OperationDefinitionInterface.php deleted file mode 100644 index 739a2132..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Definition/OperationDefinitionInterface.php +++ /dev/null @@ -1,53 +0,0 @@ -injector = $injector; - $this->serializer = $serializer; - } - - /** - * {@inheritDoc} - * - * @param mixed $value - * The value to serialize. - * - * @return string - * The serialized value. - * - * @since 2.3.0 - */ - public function serializeValue($value) - { - return $this->serializer->serialize($value); - } - - /** - * {@inheritDoc} - * - * @param mixed[string] $values - * The array of values. - * @param mixed $value - * The value to inject. - * - * @return mixed[string] - * The resulting array of values. - * - * @since 2.4.0 - */ - public function injectValue(array $values, $value) - { - return $this->injector->inject($values, $value); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Definition/Parameter/BodyParameterDefinition.php b/vendor/krizalys/onedrive-php-sdk/src/Definition/Parameter/BodyParameterDefinition.php deleted file mode 100644 index 5db56ae4..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Definition/Parameter/BodyParameterDefinition.php +++ /dev/null @@ -1,24 +0,0 @@ -operationDefinitions = $operationDefinitions; - $this->resourceDefinitions = $resourceDefinitions; - } - - /** - * {@inheritDoc} - * - * @param string $name - * The name. - * - * @return \Krizalys\Onedrive\Definition\OperationDefinitionInterface - * The operation definition. - * - * @since 2.5.0 - */ - public function getOperationDefinition($name) - { - return $this->operationDefinitions[$name]; - } - - /** - * {@inheritDoc} - * - * @param string $name - * The name. - * - * @return \Krizalys\Onedrive\Definition\ResourceDefinitionInterface - * The resource definition. - * - * @since 2.5.0 - */ - public function getResourceDefinition($name) - { - return $this->resourceDefinitions[$name]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Definition/ResourceDefinitionInterface.php b/vendor/krizalys/onedrive-php-sdk/src/Definition/ResourceDefinitionInterface.php deleted file mode 100644 index 37364492..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Definition/ResourceDefinitionInterface.php +++ /dev/null @@ -1,49 +0,0 @@ -resourceDefinitions = $resourceDefinitions; - } - - /** - * {@inheritDoc} - * - * @param string $name - * The name. - * - * @return \Krizalys\Onedrive\Definition\ResourceDefinitionInterface - * The resource definition. - * - * @since 2.5.0 - */ - public function getResourceDefinition($name) - { - return $this->resourceDefinitions[$name]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Definition/ServiceDefinitionInterface.php b/vendor/krizalys/onedrive-php-sdk/src/Definition/ServiceDefinitionInterface.php deleted file mode 100644 index 4d9af416..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Definition/ServiceDefinitionInterface.php +++ /dev/null @@ -1,36 +0,0 @@ -client = $client; - $this->id = $id !== null ? (string) $id : null; - - $this->parentId = property_exists($options, 'parent_id') ? - (string) $options->parent_id : null; - - $this->name = property_exists($options, 'name') ? - (string) $options->name : null; - - $this->description = property_exists($options, 'description') ? - (string) $options->description : null; - - $this->size = property_exists($options, 'size') ? - (int) $options->size : null; - - $this->source = property_exists($options, 'source') ? - (string) $options->source : null; - - $this->createdTime = property_exists($options, 'created_time') ? - strtotime($options->created_time) : null; - - $this->updatedTime = property_exists($options, 'updated_time') ? - strtotime($options->updated_time) : null; - } - - /** - * Determines whether the OneDrive drive item referenced by this DriveItem - * instance is a folder. - * - * @return bool - * `true` if the OneDrive drive item referenced by this `DriveItem` - * instance is a folder, `false` otherwise. - * - * @since 1.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::folder. - */ - public function isFolder() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::folder instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - return false; - } - - /** - * Fetches the properties of the OneDrive drive item referenced by this - * DriveItem instance. - * - * Some properties are cached for faster subsequent access. - * - * @return mixed[] - * The properties of the OneDrive drive item referenced by this - * `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Deprecated dependency. - */ - public function fetchProperties() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $result = $this->client->fetchProperties($this->id); - - $this->parentId = property_exists($result, 'parent_id') ? - (string) $result->parent_id : null; - - $this->name = $result->name; - - $this->description = property_exists($result, 'description') ? - (string) $result->description : null; - - $this->size = (int) $result->size; - - /** @todo Handle volatile existence (eg. present only for files). */ - $this->source = property_exists($result, 'source') ? - (string) $result->source : null; - - $this->createdTime = strtotime($result->created_time); - $this->updatedTime = strtotime($result->updated_time); - - return $result; - } - - /** - * Gets the unique ID of the OneDrive drive item referenced by this - * DriveItem instance. - * - * @return string - * The unique ID of the OneDrive drive item referenced by this - * `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\EntityProxy::id. - */ - public function getId() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::id instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - return $this->id; - } - - /** - * Gets the unique ID of the parent folder of the OneDrive drive item - * referenced by this DriveItem instance. - * - * @return string - * The unique ID of the OneDrive folder containing the drive item - * referenced by this `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::parentReference. - */ - public function getParentId() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::parentReference' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->parentId === null) { - $this->fetchProperties(); - } - - return $this->parentId; - } - - /** - * Gets the name of the OneDrive drive item referenced by this DriveItem - * instance. - * - * @return string - * The name of the OneDrive drive item referenced by this - * `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\BaseItemProxy::name. - */ - public function getName() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\BaseItemProxy::name instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->name === null) { - $this->fetchProperties(); - } - - return $this->name; - } - - /** - * Gets the description of the OneDrive drive item referenced by this - * DriveItem instance. - * - * @return string - * The description of the OneDrive drive item referenced by this - * `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\BaseItemProxy::description. - */ - public function getDescription() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\BaseItemProxy::description', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->description === null) { - $this->fetchProperties(); - } - - return $this->description; - } - - /** - * Gets the size of the OneDrive drive item referenced by this DriveItem - * instance. - * - * @return int - * The size of the OneDrive drive item referenced by this - * `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::size. - */ - public function getSize() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::size instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->size === null) { - $this->fetchProperties(); - } - - return $this->size; - } - - /** - * Gets the source link of the OneDrive drive item referenced by this - * DriveItem instance. - * - * @return string - * The source link of the OneDrive drive item referenced by this - * `DriveItem` instance. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 - */ - public function getSource() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->source === null) { - $this->fetchProperties(); - } - - return $this->source; - } - - /** - * Gets the creation time of the OneDrive drive item referenced by this - * DriveItem instance. - * - * @return int - * The creation time of the drive item referenced by this - * `DriveItem` instance, in seconds since UNIX epoch. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\BaseItemProxy::createdDateTime. - */ - public function getCreatedTime() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\BaseItemProxy::createdDateTime' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->createdTime === null) { - $this->fetchProperties(); - } - - return $this->createdTime; - } - - /** - * Gets the last modification time of the OneDrive drive item referenced by - * this DriveItem instance. - * - * @return int - * The last modification time of the drive item referenced by this - * `DriveItem` instance, in seconds since UNIX epoch. - * - * @since 2.0.0 - * - * @deprecated 2.7.0 Superseded by - * \Krizalys\Onedrive\Proxy\BaseItemProxy::lastModifiedDateTime. - */ - public function getUpdatedTime() - { - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\BaseItemProxy::lastModifiedDateTime' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - - if ($this->updatedTime === null) { - $this->fetchProperties(); - } - - return $this->updatedTime; - } - - /** - * Moves the OneDrive drive item referenced by this DriveItem instance into - * another OneDrive folder. - * - * `$destinationId` must refer to a folder. - * - * @param null|string $destinationId - * The unique ID of the OneDrive folder into which to move the - * OneDrive drive item referenced by this `DriveItem` instance, or - * null to move it to the OneDrive root folder. Default: `null`. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::move(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::move() - */ - public function move($destinationId = null) - { - $client = $this->client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::move()' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - $destinationItem = $client->getDriveItemById($drive->id, $destinationId); - - return $item->move($destinationItem); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Exception/ConflictException.php b/vendor/krizalys/onedrive-php-sdk/src/Exception/ConflictException.php deleted file mode 100644 index c4835557..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Exception/ConflictException.php +++ /dev/null @@ -1,26 +0,0 @@ -client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::content' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - - return (string) $item->content; - } - - /** - * Copies the OneDrive file referenced by this File instance into another - * OneDrive folder. - * - * `$destinationId` must refer to a folder. - * - * @param null|string $destinationId - * The unique ID of the OneDrive folder into which to copy the - * OneDrive file referenced by this `File` instance, or `null` to - * copy it in the OneDrive root folder. Default: `null`. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::copy(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::copy() - */ - public function copy($destinationId = null) - { - $client = $this->client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::copy()' - . ' instead.', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - $destinationItem = $client->getDriveItemById($drive->id, $destinationId); - - return $item->copy($destinationItem); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Folder.php b/vendor/krizalys/onedrive-php-sdk/src/Folder.php deleted file mode 100644 index 099aad51..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Folder.php +++ /dev/null @@ -1,254 +0,0 @@ -client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::children' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - - return array_map(function (DriveItemProxy $item) use ($client) { - $options = $client->buildOptions($item, ['parent_id' => $this->id]); - - return $client->isFolder($item) ? - new self($client, $item->id, $options) - : new File($client, $item->id, $options); - }, $item->children); - } - - /** - * Gets the child drive items in the OneDrive folder referenced by this - * Folder instance. - * - * @return \Krizalys\Onedrive\DriveItem[] - * The drive items in the OneDrive folder referenced by this - * `Folder` instance, as DriveItem instances. - * - * @since 2.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::children. - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::children - */ - public function fetchChildDriveItems() - { - $client = $this->client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::children' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - - return array_map(function (DriveItemProxy $item) use ($client) { - $options = $client->buildOptions($item, ['parent_id' => $this->id]); - - return $client->isFolder($item) ? - new self($client, $item->id, $options) - : new File($client, $item->id, $options); - }, $item->children); - } - - /** - * Creates a folder in the OneDrive folder referenced by this Folder - * instance. - * - * @param string $name - * The name of the OneDrive folder to be created. - * @param null|string $description - * The description of the OneDrive folder to be created, or `null` to - * create it without a description. Default: `null`. - * - * @return \Krizalys\Onedrive\Folder - * The folder created, as a `Folder` instance. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder() - */ - public function createFolder($name, $description = null) - { - $client = $this->client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder()' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - $options = []; - - if ($description !== null) { - $options += [ - 'description' => (string) $description, - ]; - } - - $item = $item->createFolder($name, $options); - $options = $client->buildOptions($item, ['parent_id' => $this->id]); - - return new self($client, $item->id, $options); - } - - /** - * Creates a file in the OneDrive folder referenced by this Folder instance. - * - * @param string $name - * The name of the OneDrive file to be created. - * @param string|resource $content - * The content of the OneDrive file to be created, as a string or - * handle to an already opened file. In the latter case, the - * responsibility to close the handle is is left to the calling - * function. Default: `''`. - * @param mixed[string] $options - * The options. Unused. - * - * @return \Krizalys\Onedrive\File - * The file created, as a File instance. - * - * @throws \Exception - * Thrown on I/O errors. - * - * @since 1.0.0 - * - * @deprecated 2.0.0 Superseded by - * \Krizalys\Onedrive\Proxy\DriveItemProxy::upload(). - * - * @see \Krizalys\Onedrive\Proxy\DriveItemProxy::upload() - */ - public function createFile($name, $content = '', array $options = []) - { - $client = $this->client; - - $message = sprintf( - '%s() is deprecated and will be removed in version 3;' - . ' use \Krizalys\Onedrive\Proxy\DriveItemProxy::upload()' - . ' instead', - __METHOD__ - ); - - @trigger_error($message, E_USER_DEPRECATED); - $drive = $client->getMyDrive(); - $item = $client->getDriveItemById($drive->id, $this->id); - $options = []; - $item = $item->upload($name, $content, $options); - $options = $client->buildOptions($item, ['parent_id' => $this->id]); - - return new File($client, $item->id, $options); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/NameConflictBehavior.php b/vendor/krizalys/onedrive-php-sdk/src/NameConflictBehavior.php deleted file mode 100644 index 2de985fa..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/NameConflictBehavior.php +++ /dev/null @@ -1,52 +0,0 @@ - 1", incrementing the - * trailing number until an available file name is discovered. - * - * @since 1.1.0 - */ - const RENAME = 2; - - /** - * @var int - * Replace behavior: replace the drive item if it already exists. - * - * @since 1.1.0 - */ - const REPLACE = 3; -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Onedrive.php b/vendor/krizalys/onedrive-php-sdk/src/Onedrive.php deleted file mode 100644 index 40763664..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Onedrive.php +++ /dev/null @@ -1,178 +0,0 @@ -'); - * ``` - * - * @since 2.3.0 - * - * @api - */ -class Onedrive -{ - /** - * Creates a Client instance and its dependencies. - * - * @param string $clientId - * The client ID. - * @param mixed[string] $options - * The options to use while creating this object. Supported options: - * - `'state'` *(object)*: the OneDrive client state, as returned - * by {@see Client::getState() getState()}. Default: `[]`. - * - * @return \Krizalys\Onedrive\Client - * The client created. - * - * @api - */ - public static function client($clientId, array $options = []) - { - $graph = new Graph(); - $httpClient = new GuzzleHttpClient(); - $serviceDefinition = self::buildServiceDefinition(); - - return new Client( - $clientId, - $graph, - $httpClient, - $serviceDefinition, - $options - ); - } - - /** - * Builds a service definition. - * - * @return \Krizalys\Onedrive\Definition\ServiceDefinitionInterface - * The service definition. - * - * @since 2.5.0 - */ - public static function buildServiceDefinition() - { - $orderBySerializer = new OrderBySerializer(); - $scalarSerializer = new ScalarSerializer(); - $parameterBuilder = new ParameterBuilder(); - - return new ServiceDefinition([ - 'driveItem' => new ResourceDefinition([], [ - 'children' => new ResourceDefinition([ - 'get' => new OperationDefinition( - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, [ - 'top' => new QueryStringParameterDefinition( - new FlatInjector('$top'), - $scalarSerializer - ), - 'orderBy' => new QueryStringParameterDefinition( - new FlatInjector('$orderby'), - $orderBySerializer - ), - ]) - ), - 'post' => new OperationDefinition( - new ParameterDefinitionCollection($parameterBuilder, [ - 'conflictBehavior' => new BodyParameterDefinition( - new HierarchicalInjector(['@microsoft.graph.conflictBehavior']), - $scalarSerializer - ), - 'description' => new BodyParameterDefinition( - new HierarchicalInjector(['description']), - $scalarSerializer - ), - ]), - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, []) - ), - ], []), - 'content' => new ResourceDefinition([ - 'put' => new OperationDefinition( - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, [ - 'conflictBehavior' => new QueryStringParameterDefinition( - new FlatInjector('@microsoft.graph.conflictBehavior'), - $scalarSerializer - ), - ]) - ), - ], []), - 'createUploadSession' => new ResourceDefinition([ - 'post' => new OperationDefinition( - new ParameterDefinitionCollection($parameterBuilder, [ - 'conflictBehavior' => new BodyParameterDefinition( - new HierarchicalInjector(['item', '@microsoft.graph.conflictBehavior']), - $scalarSerializer - ), - 'description' => new BodyParameterDefinition( - new HierarchicalInjector(['item', 'description']), - $scalarSerializer - ), - ]), - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, []) - ), - ], []), - 'invite' => new ResourceDefinition([ - 'post' => new OperationDefinition( - new ParameterDefinitionCollection($parameterBuilder, [ - 'message' => new BodyParameterDefinition( - new HierarchicalInjector(['message']), - $scalarSerializer - ), - 'requireSignIn' => new BodyParameterDefinition( - new HierarchicalInjector(['requireSignIn']), - $scalarSerializer - ), - 'sendInvitation' => new BodyParameterDefinition( - new HierarchicalInjector(['sendInvitation']), - $scalarSerializer - ), - ]), - new ParameterDefinitionCollection($parameterBuilder, []), - new ParameterDefinitionCollection($parameterBuilder, []) - ), - ], []), - ]), - ]); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/FlatInjector.php b/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/FlatInjector.php deleted file mode 100644 index 42b6c2d1..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/FlatInjector.php +++ /dev/null @@ -1,62 +0,0 @@ -name = $name; - } - - /** - * {@inheritDoc} - * - * @param mixed[string] $values - * The array of values. - * @param mixed $value - * The value to inject. - * - * @return mixed[string] - * The resulting array of values. - * - * @since 2.4.0 - */ - public function inject(array $values, $value) - { - return $values + [ - $this->name => $value, - ]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/HierarchicalInjector.php b/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/HierarchicalInjector.php deleted file mode 100644 index 66ba9017..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/HierarchicalInjector.php +++ /dev/null @@ -1,80 +0,0 @@ -path = $path; - } - - /** - * {@inheritDoc} - * - * @param mixed[string] $values - * The array of values. - * @param mixed $value - * The value to inject. - * - * @return mixed[string] - * The resulting array of values. - * - * @throws \Exception - * Thrown if the path is empty. - * - * @since 2.4.0 - */ - public function inject(array $values, $value) - { - if (empty($this->path)) { - throw new \Exception('A hierarchical injector path cannot be empty'); - } - - $keys = array_reverse($this->path); - $key = array_shift($keys); - - $root = [ - $key => $value, - ]; - - foreach ($keys as $key) { - $root = [ - $key => $root, - ]; - } - - return array_replace_recursive($values, $root); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/InjectorInterface.php b/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/InjectorInterface.php deleted file mode 100644 index b37a439f..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Parameter/Injector/InjectorInterface.php +++ /dev/null @@ -1,38 +0,0 @@ - $def) { - $value = $options[$key]; - $value = $def->serializeValue($value); - $opts = $def->injectValue($opts, $value); - } - - return $opts; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Parameter/ParameterBuilderInterface.php b/vendor/krizalys/onedrive-php-sdk/src/Parameter/ParameterBuilderInterface.php deleted file mode 100644 index ab426d01..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Parameter/ParameterBuilderInterface.php +++ /dev/null @@ -1,38 +0,0 @@ -parameterBuilder = $parameterBuilder; - $this->parameterDefinitions = $parameterDefinitions; - } - - /** - * {@inheritDoc} - * - * @param mixed[string] $options - * The options. - * - * @return mixed[string] - * The options. - * - * @since 2.5.0 - */ - public function buildOptions(array $options) - { - return $this - ->parameterBuilder - ->build($this->parameterDefinitions, $options); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Parameter/ParameterDefinitionCollectionInterface.php b/vendor/krizalys/onedrive-php-sdk/src/Parameter/ParameterDefinitionCollectionInterface.php deleted file mode 100644 index 976570f5..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Parameter/ParameterDefinitionCollectionInterface.php +++ /dev/null @@ -1,36 +0,0 @@ -entity; - - switch ($name) { - case 'album': - return $audio->getAlbum(); - - case 'albumArtist': - return $audio->getAlbumArtist(); - - case 'artist': - return $audio->getArtist(); - - case 'bitrate': - return $audio->getBitrate(); - - case 'composers': - return $audio->getComposers(); - - case 'copyright': - return $audio->getCopyright(); - - case 'disc': - return $audio->getDisc(); - - case 'discCount': - return $audio->getDiscCount(); - - case 'duration': - return $audio->getDuration(); - - case 'genre': - return $audio->getGenre(); - - case 'hasDrm': - return $audio->getHasDrm(); - - case 'isVariableBitrate': - return $audio->getIsVariableBitrate(); - - case 'title': - return $audio->getTitle(); - - case 'track': - return $audio->getTrack(); - - case 'trackCount': - return $audio->getTrackCount(); - - case 'year': - return $audio->getYear(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/BaseItemProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/BaseItemProxy.php deleted file mode 100644 index bfe0d045..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/BaseItemProxy.php +++ /dev/null @@ -1,127 +0,0 @@ -entity; - - switch ($name) { - case 'createdBy': - $createdBy = $baseItem->getCreatedBy(); - return $createdBy !== null ? new IdentitySetProxy($this->graph, $createdBy) : null; - - case 'createdDateTime': - return $baseItem->getCreatedDateTime(); - - case 'description': - return $baseItem->getDescription(); - - case 'eTag': - return $baseItem->getETag(); - - case 'lastModifiedBy': - $lastModifiedBy = $baseItem->getLastModifiedBy(); - return $lastModifiedBy !== null ? new IdentitySetProxy($this->graph, $lastModifiedBy) : null; - - case 'lastModifiedDateTime': - return $baseItem->getLastModifiedDateTime(); - - case 'name': - return $baseItem->getName(); - - case 'parentReference': - $parentReference = $baseItem->getParentReference(); - return $parentReference !== null ? new ItemReferenceProxy($this->graph, $parentReference) : null; - - case 'webUrl': - return $baseItem->getWebUrl(); - - case 'createdByUser': - $createdByUser = $baseItem->getCreatedByUser(); - return $createdByUser !== null ? new UserProxy($this->graph, $createdByUser) : null; - - case 'lastModifiedByUser': - $lastModifiedByUser = $baseItem->getLastModifiedByUser(); - return $lastModifiedByUser !== null ? new UserProxy($this->graph, $lastModifiedByUser) : null; - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/BaseItemVersionProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/BaseItemVersionProxy.php deleted file mode 100644 index 3a62a5f3..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/BaseItemVersionProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -resourceDefinition = $resourceDefinition; - } - - /** - * Getter. - * - * @param string $name - * The name. - * - * @return mixed - * The value. - * - * @since 2.0.0 - */ - public function __get($name) - { - $driveItem = $this->entity; - - switch ($name) { - case 'audio': - $audio = $driveItem->getAudio(); - return $audio !== null ? new AudioProxy($this->graph, $audio) : null; - - case 'content': - return $this->download(); - - case 'cTag': - return $driveItem->getCTag(); - - case 'deleted': - $deleted = $driveItem->getDeleted(); - return $deleted !== null ? new DeletedProxy($this->graph, $deleted) : null; - - case 'file': - $file = $driveItem->getFile(); - return $file !== null ? new FileProxy($this->graph, $file) : null; - - case 'fileSystemInfo': - $fileSystemInfo = $driveItem->getFileSystemInfo(); - return $fileSystemInfo !== null ? new FileSystemInfoProxy($this->graph, $fileSystemInfo) : null; - - case 'folder': - $folder = $driveItem->getFolder(); - return $folder !== null ? new FolderProxy($this->graph, $folder) : null; - - case 'image': - $image = $driveItem->getImage(); - return $image !== null ? new ImageProxy($this->graph, $image) : null; - - case 'location': - $location = $driveItem->getLocation(); - return $location !== null ? new GeoCoordinatesProxy($this->graph, $location) : null; - - case 'package': - $package = $driveItem->getPackage(); - return $package !== null ? new PackageProxy($this->graph, $package) : null; - - case 'photo': - $photo = $driveItem->getPhoto(); - return $photo !== null ? new PhotoProxy($this->graph, $photo) : null; - - case 'publication': - $publication = $driveItem->getPublication(); - return $publication !== null ? new PublicationFacetProxy($this->graph, $publication) : null; - - case 'remoteItem': - $remoteItem = $driveItem->getRemoteItem(); - return $remoteItem !== null ? new RemoteItemProxy($this->graph, $remoteItem) : null; - - case 'root': - $root = $driveItem->getRoot(); - return $root !== null ? new RootProxy($this->graph, $root) : null; - - case 'searchResult': - $searchResult = $driveItem->getSearchResult(); - return $searchResult !== null ? new SearchResultProxy($this->graph, $searchResult) : null; - - case 'shared': - $shared = $driveItem->getShared(); - return $shared !== null ? new SharedProxy($this->graph, $shared) : null; - - case 'sharepointIds': - $sharepointIds = $driveItem->getSharepointIds(); - return $sharepointIds !== null ? new SharepointIdsProxy($this->graph, $sharepointIds) : null; - - case 'size': - return $driveItem->getSize(); - - case 'specialFolder': - $specialFolder = $driveItem->getSpecialFolder(); - return $specialFolder !== null ? new SpecialFolderProxy($this->graph, $specialFolder) : null; - - case 'video': - $video = $driveItem->getVideo(); - return $video !== null ? new VideoProxy($this->graph, $video) : null; - - case 'webDavUrl': - return $driveItem->getWebDavUrl(); - - case 'children': - return $this->getChildren(); - - case 'listItem': - $listItem = $driveItem->getListItem(); - return $listItem !== null ? new ListItemProxy($this->graph, $listItem) : null; - - case 'permissions': - $permissions = $driveItem->getPermissions(); - - return $permissions !== null ? array_map(function (Permission $permission) { - return new PermissionProxy($this->graph, $permission); - }, $permissions) : null; - - case 'thumbnails': - $thumbnails = $driveItem->getThumbnails(); - - return $thumbnails !== null ? array_map(function (Thumbnail $thumbnail) { - return new ThumbnailProxy($this->graph, $thumbnail); - }, $thumbnails) : null; - - case 'versions': - $versions = $driveItem->getVersions(); - - return $versions !== null ? array_map(function (DriveItemVersion $driveItemVersion) { - return new DriveItemVersionProxy($this->graph, $driveItemVersion); - }, $versions) : null; - - case 'workbook': - $workbook = $driveItem->getWorkbook(); - return $workbook !== null ? new WorkbookProxy($this->graph, $workbook) : null; - - default: - return parent::__get($name); - } - } - - /** - * Creates a folder under this folder drive item. - * - * This operation is supported only on folders (as opposed to files): it - * fails if this `DriveItemProxy` instance does not refer to a folder. - * - * The conflict behavior may be given as an option, for example: - * - * ```php - * $driveItem->createFolder('folder'); - * // => Folder 'folder' created under $driveItem. - * - * $childDriveItem1 = $driveItem->createFolder( - * 'folder', - * ['conflictBehavior' => ConflictBehavior::RENAME] - * ); - * // => Folder 'folder 1' created under $driveItem. - * ``` - * - * @param string $name - * The name. - * @param mixed[string] $options - * The options. Supported options: - * - `'description'` *(string)*: the description of the folder - * created ; - * - `'conflictBehavior'` *(string)*: the conflict behavior. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item created. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_post_children?view=odsp-graph-online - * Create a new folder in a drive - */ - public function createFolder($name, array $options = []) - { - $opDef = $this->resourceDefinition - ->getResourceDefinition('children') - ->getOperationDefinition('post'); - - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator/children"; - - $bodyParams = $opDef - ->getBodyParameterDefinitions() - ->buildOptions($options); - - $body = array_replace_recursive([ - 'folder' => [ - '@odata.type' => 'microsoft.graph.folder', - ], - 'name' => (string) $name, - ], $bodyParams); - - try { - $response = $this - ->graph - ->createRequest('POST', $endpoint) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200 && $status != 201) { - throw new \Exception("Unexpected status code produced by 'POST $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new self( - $this->graph, - $driveItem, - $this->resourceDefinition - ); - } catch (ClientException $exception) { - $status = $exception - ->getResponse() - ->getStatusCode(); - - if ($status == 409) { - $message = sprintf( - 'There is already a drive item named "%s" in this folder', - $name - ); - - throw new ConflictException($message); - } - - throw $exception; - } - } - - /** - * Gets this folder drive item's children. - * - * This operation is supported only on folders (as opposed to files): it - * fails if this `DriveItemProxy` instance does not refer to a folder. - * - * The retrieved result set may be refined via the `$options` parameter. For - * example, to retrieve the first ten children sorted by name in descending - * order: - * - * ```php - * $childDriveItems = $driveItem->getChildren([ - * 'top' => 10, - * 'orderBy' => [ - * ['name', 'desc'], - * ], - * ]); - * ``` - * - * @param mixed[string] $options - * The options. Supported options: - * - `'top'` *(number)*: The number of items to retrieve. Default: - * `200` ; - * - `'orderBy'` *(string[][])*: The list of property-direction - * tuples to use to sort retrieved items. Each tuple consists of - * a property and a direction, separated from each other by - * whitespace. - * Although the official OneDrive documentation claims to support - * sorting by multiple properties, we did not acknowledge this - * behavior, yet, and instead got Bad Request errors from the - * OneDrive API. We do not recommend relying on this feature. - * This option anticipates a related change in the OneDrive API - * and is designed to support this feature without introducing - * breaking changes. - * Supported properties: - * - `'name'`: sorts by name ; - * - `'size'`: sorts by size ; - * - `'lastModifiedDateTime'`: sorts by last modified date; - * - `'url'`: sorts by URL. - * Some properties are supported only on some versions of - * OneDrive. See - * {@link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/optional-query-parameters?view=odsp-graph-online#sorting-collections} - * for the reference. - * The direction defaults to ascending if not given. Supported - * directions: - * - `'asc'`: sorts by the given property in ascending in - * order ; - * - `'desc'`: sorts by the given property in descending in - * order. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy[] - * The child drive items. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_list_children?view=odsp-graph-online - * List children of a driveItem - * - * @todo Support pagination using a native iterator. - * @todo Support more query string parameters. - */ - public function getChildren(array $options = []) - { - $opDef = $this->resourceDefinition - ->getResourceDefinition('children') - ->getOperationDefinition('get'); - - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator/children"; - - $queryParams = $opDef - ->getQueryStringParameterDefinitions() - ->buildOptions($options); - - if (!empty($queryParams)) { - $queryString = http_build_query($queryParams, '', '&', PHP_QUERY_RFC3986); - $endpoint = "$endpoint?$queryString"; - } - - $response = $this - ->graph - ->createCollectionRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItems = $response->getResponseAsObject(DriveItem::class); - - if (!is_array($driveItems)) { - return []; - } - - return array_map(function (DriveItem $driveItem) { - return new self( - $this->graph, - $driveItem, - $this->resourceDefinition - ); - }, $driveItems); - } - - /** - * Deletes this drive item. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_delete?view=odsp-graph-online - * Delete a DriveItem - */ - public function delete() - { - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('DELETE', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 204) { - throw new \Exception("Unexpected status code produced by 'DELETE $endpoint': $status"); - } - } - - /** - * Uploads a file under this folder drive item. - * - * This operation is supported only on folders (as opposed to files): it - * fails if this `DriveItemProxy` instance does not refer to a folder. - * - * The conflict behavior and the MIME type of the drive item may be given as - * options, for example: - * - * ```php - * $driveItem->upload('file.txt', 'Some content'); - * // => Text file 'file.txt' created under $driveItem. - * - * $childDriveItem1 = $driveItem->upload( - * 'file.txt', - * 'Some other content', - * ['conflictBehavior' => ConflictBehavior::RENAME] - * ); - * // => Text file 'file 1.txt' created under $driveItem. - * ``` - * - * @param string $name - * The name. - * @param string|resource|\GuzzleHttp\Psr7\Stream $content - * The content. - * @param mixed[string] $options - * The options. Supported options: - * - `'conflictBehavior'` *(string)*: the conflict behavior ; - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item created. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_put_content?view=odsp-graph-online - * Upload or replace the contents of a DriveItem - * - * @todo Support content type in options. - */ - public function upload($name, $content, array $options = []) - { - if (array_key_exists('contentType', $options)) { - $message = 'The \'contentType\' option is deprecated and will be' - . ' removed in version 3; omit this option'; - - @trigger_error($message, E_USER_DEPRECATED); - } - - if (array_key_exists('Content-Type', $options)) { - $message = 'The \'Content-Type\' option is deprecated and will be' - . ' removed in version 3; omit this option'; - - @trigger_error($message, E_USER_DEPRECATED); - } - - $opDef = $this->resourceDefinition - ->getResourceDefinition('content') - ->getOperationDefinition('put'); - - $name = rawurlencode($name); - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator:/$name:/content"; - - $headerParams = $opDef - ->getHeaderParameterDefinitions() - ->buildOptions($options); - - $queryParams = $opDef - ->getQueryStringParameterDefinitions() - ->buildOptions($options); - - if (!empty($queryParams)) { - $queryString = http_build_query($queryParams, '', '&', PHP_QUERY_RFC3986); - $endpoint = "$endpoint?$queryString"; - } - - $body = $content instanceof Stream ? - $content - : Psr7\stream_for($content); - - try { - $response = $this - ->graph - ->createRequest('PUT', $endpoint) - ->addHeaders($headerParams) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200 && $status != 201) { - throw new \Exception("Unexpected status code produced by 'PUT $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new self( - $this->graph, - $driveItem, - $this->resourceDefinition - ); - } catch (ClientException $exception) { - $status = $exception - ->getResponse() - ->getStatusCode(); - - if ($status == 409) { - $message = sprintf( - 'There is already a drive item named "%s" in this folder', - $name - ); - - throw new ConflictException($message); - } - - throw $exception; - } - } - - /** - * Creates an upload session to upload a large file in multiple ranges under - * this folder drive item. - * - * This operation is supported only on folders (as opposed to files): it - * fails if this `DriveItemProxy` instance does not refer to a folder. - * - * Uploading files using this method involves two steps: - * 1. first, create the upload session for a given file using this - * method ; - * 2. then, complete it using - * {@see \Krizalys\Onedrive\Proxy\UploadSessionProxy::complete() complete()} - * on the instance it returns. - * - * For example: - * - * ```php - * $driveItem->upload('file.txt', 'Some content'); - * // => Text file 'file.txt' created under $driveItem. - * - * $uploadSession1 = $driveItem->startUpload( - * 'file.txt', - * 'Some other content', - * ['conflictBehavior' => ConflictBehavior::RENAME] - * ); - * - * $childDriveItem = $uploadSession1->complete(); - * // => Text file 'file 1.txt' created under $driveItem. - * ``` - * - * @param string $name - * The name. - * @param string|resource|\GuzzleHttp\Psr7\Stream $content - * The content. - * @param mixed[string] $options - * The options. See UploadSession::__construct for supported options. - * - * @return \Krizalys\Onedrive\Proxy\UploadSessionProxy - * The upload session created. - * - * @since 2.1.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online - * Upload large files with an upload session - * - * @todo Support content type in options. - */ - public function startUpload($name, $content, array $options = []) - { - $opDef = $this->resourceDefinition - ->getResourceDefinition('createUploadSession') - ->getOperationDefinition('post'); - - $name = rawurlencode($name); - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator:/$name:/createUploadSession"; - - $bodyParams = $opDef - ->getBodyParameterDefinitions() - ->buildOptions($options); - - try { - $response = $this - ->graph - ->createRequest('POST', $endpoint) - ->attachBody($bodyParams) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'POST $endpoint': $status"); - } - - $uploadSession = $response->getResponseAsObject(UploadSession::class); - - return new UploadSessionProxy( - $this->graph, - $uploadSession, - $content, - $this->resourceDefinition, - $options - ); - } catch (ClientException $exception) { - $status = $exception - ->getResponse() - ->getStatusCode(); - - if ($status == 409) { - $message = sprintf( - 'There is already a drive item named "%s" in this folder', - $name - ); - - throw new ConflictException($message); - } - - throw $exception; - } - } - - /** - * Downloads this file drive item. - * - * This operation is supported only on files (as opposed to folders): it - * fails if this `DriveItemProxy` instance does not refer to a file. - * - * @return \GuzzleHttp\Psr7\Stream - * The content. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get_content?view=odsp-graph-online - * Download the contents of a DriveItem - */ - public function download() - { - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator/content"; - - return $this - ->graph - ->createRequest('GET', $endpoint) - ->setReturnType(Stream::class) - ->execute(); - } - - /** - * Renames this drive item. - * - * When renaming a drive item, its description may also be changed. - * - * ```php - * $driveItem = $driveItem->rename( - * 'new-name.txt', - * ['description' => 'New description'] - * ); - * ``` - * - * @param string $name - * The name. - * @param mixed[string] $options - * The options. Supported options: - * - `'description'` *(string)*: the new description to set after - * the drive item is renamed. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item renamed. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_move?view=odsp-graph-online - * Move a DriveItem to a new folder - */ - public function rename($name, array $options = []) - { - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator"; - - $body = array_replace_recursive([ - 'name' => (string) $name, - ], $options); - - $response = $this - ->graph - ->createRequest('PATCH', $endpoint) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'PATCH $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new self( - $this->graph, - $driveItem, - $this->resourceDefinition - ); - } - - /** - * Moves this drive item. - * - * The `$destinationItem` instance must refer to a folder. - * - * When moving a drive item, its name may also be changed. - * - * ```php - * $driveItem = $driveItem->move( - * $parentDriveitem, - * ['name' => 'new-name.txt'] - * ); - * ``` - * - * @param \Krizalys\Onedrive\Proxy\DriveItemProxy $destinationItem - * The destination item. - * @param mixed[string] $options - * The options. Supported options: - * - `'name'` *(string)*: the new name to set after the drive item - * is moved. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_move?view=odsp-graph-online - * Move a DriveItem to a new folder - */ - public function move(self $destinationItem, array $options = []) - { - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator"; - - $body = array_replace_recursive([ - 'parentReference' => [ - 'id' => $destinationItem->id, - ], - ], $options); - - $response = $this - ->graph - ->createRequest('PATCH', $endpoint) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'PATCH $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new self( - $this->graph, - $driveItem, - $this->resourceDefinition - ); - } - - /** - * Copies this file drive item. - * - * This operation is supported only on files (as opposed to folders): it - * fails if this `DriveItemProxy` instance does not refer to a file. - * - * Additionally, the `$destinationItem` instance must refer to a folder. - * - * When copying a file, the name of the copy may also be changed. A new name - * is required if copying to the same folder. - * - * ```php - * $driveItem = $driveItem->copy( - * $parentDriveitem, - * ['name' => 'new-name.txt'] - * ); - * ``` - * - * Copying folders is not directly supported by OneDrive. To copy a whole - * folder and its children, applications can explicitly create an empty - * folder, using - * {@see \Krizalys\Onedrive\Proxy\DriveItemProxy::createFolder() createFolder()}, - * and copy the children from the original folder to the new folder, using - * {@see \Krizalys\Onedrive\Proxy\DriveItemProxy::copy() copy()}. This - * process can be repeated recursively if support for multiple levels - * of children is needed. - * - * @param \Krizalys\Onedrive\Proxy\DriveItemProxy $destinationItem - * The destination item. - * @param mixed[string] $options - * The options. Supported options: - * - `'name'` *(string)*: the name of the copied file. - * - * @return string - * The progress URI. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_copy?view=odsp-graph-online - * Copy a DriveItem - * - * @todo Support asynchronous Graph operation. - */ - public function copy(self $destinationItem, array $options = []) - { - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator/copy"; - - $body = array_replace_recursive([ - 'parentReference' => [ - 'id' => $destinationItem->id, - ], - ], $options); - - $response = $this - ->graph - ->createRequest('POST', $endpoint) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 202) { - throw new \Exception("Unexpected status code produced by 'POST $endpoint': $status"); - } - - $headers = $response->getHeaders(); - - return $headers['Location'][0]; - } - - /** - * Creates a sharing link to this drive item. - * - * See {@see \Krizalys\Onedrive\Constant\SharingLinkType - * SharingLinkType} for supported values for the parameter `$type`. - * - * See {@see \Krizalys\Onedrive\Constant\SharingLinkScope - * SharingLinkScope} for supported values for the option `'scope'`. - * - * @param string $type - * The type. - * @param mixed[string] $options - * The options. Supported values: - * - `'scope'` *(string)*: the scope. - * - * @return \Krizalys\Onedrive\Proxy\PermissionProxy - * The permission. - * - * @since 2.4.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createlink?view=odsp-graph-online - * Create a sharing link for a DriveItem - */ - public function createLink($type, array $options = []) - { - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator/createLink"; - - $body = [ - 'type' => $type, - ]; - - $response = $this - ->graph - ->createRequest('POST', $endpoint) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200 && $status != 201) { - throw new \Exception("Unexpected status code produced by 'POST $endpoint': $status"); - } - - $permission = $response->getResponseAsObject(Permission::class); - - return new PermissionProxy($this->graph, $permission); - } - - /** - * Creates a sharing invitation to this drive item. - * - * See {@see \Krizalys\Onedrive\Constant\Role Role} for supported values for - * the parameter `$roles`. - * - * A custom message, the sign in requirement, and the send invitation option - * may be given as options. For example, to invite 2 users to get read and - * write permissions on a given drive item, send them an invitation email - * with a custom message, and require them sign in to access the drive item: - * - * ```php - * $driveItem->invite( - * [ - * 'user1@example.com', - * 'user2@example.com', - * ], - * [ - * Role::READ, - * Role::WRITE, - * ], - * [ - * 'message' => 'Custom invitation message', - * 'requireSignIn' => true, - * 'sendInvitation' => true, - * ] - * ); - * ``` - * - * @param string[] $recipients - * The recipients. - * @param string[] $roles - * The roles. - * @param mixed[string] $options - * The options. - * - * @return \Krizalys\Onedrive\Proxy\PermissionProxy[] - * The permissions. - * - * @since 2.5.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_invite?view=odsp-graph-online - * Send a sharing invitation - */ - public function invite(array $recipients, array $roles, array $options = []) - { - $opDef = $this->resourceDefinition - ->getResourceDefinition('invite') - ->getOperationDefinition('post'); - - $driveLocator = "/drives/{$this->parentReference->driveId}"; - $itemLocator = "/items/{$this->id}"; - $endpoint = "$driveLocator$itemLocator/invite"; - - $recipients = array_map(function ($recipient) { - return [ - '@odata.type' => 'microsoft.graph.driveRecipient', - 'email' => $recipient, - ]; - }, $recipients); - - $bodyParams = $opDef - ->getBodyParameterDefinitions() - ->buildOptions($options); - - $body = array_replace_recursive([ - 'roles' => $roles, - 'recipients' => $recipients, - ], $bodyParams); - - $response = $this - ->graph - ->createCollectionRequest('POST', $endpoint) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'POST $endpoint': $status"); - } - - $permissions = $response->getResponseAsObject(Permission::class); - - if (!is_array($permissions)) { - return []; - } - - return array_map(function (Permission $permission) { - return new PermissionProxy($this->graph, $permission); - }, $permissions); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/DriveItemVersionProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/DriveItemVersionProxy.php deleted file mode 100644 index e800728e..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/DriveItemVersionProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -driveItemResourceDefinition = $driveItemResourceDefinition; - } - - /** - * Getter. - * - * @param string $name - * The name. - * - * @return mixed - * The value. - * - * @since 2.0.0 - */ - public function __get($name) - { - $drive = $this->entity; - - switch ($name) { - case 'driveType': - return $drive->getDriveType(); - - case 'owner': - $owner = $drive->getOwner(); - return $owner !== null ? new IdentitySetProxy($this->graph, $owner) : null; - - case 'quota': - $quota = $drive->getQuota(); - return $quota !== null ? new QuotaProxy($this->graph, $quota) : null; - - case 'sharePointIds': - $sharePointIds = $drive->getSharePointIds(); - return $sharePointIds !== null ? new SharepointIdsProxy($this->graph, $sharePointIds) : null; - - case 'system': - $system = $drive->getSystem(); - return $system !== null ? new SystemFacetProxy($this->graph, $system) : null; - - case 'items': - $items = $drive->getItems(); - - return $items !== null ? array_map(function (DriveItem $item) { - return new DriveItemProxy( - $this->graph, - $item, - $this->driveItemResourceDefinition - ); - }, $items) : null; - - case 'list': - $list = $drive->getList(); - return $list !== null ? new GraphListProxy($this->graph, $list) : null; - - case 'root': - $root = $drive->getRoot(); - return $root !== null ? - new DriveItemProxy( - $this->graph, - $root, - $this->driveItemResourceDefinition - ) - : null; - - case 'special': - $special = $drive->getSpecial(); - return $special !== null ? - new DriveItemProxy( - $this->graph, - $special, - $this->driveItemResourceDefinition - ) - : null; - - default: - return parent::__get($name); - } - } - - /** - * Gets a drive item by ID from this instance. - * - * @param string $itemId - * The drive item ID. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item. - * - * @since 2.2.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get?view=odsp-graph-online - * Get a DriveItem resource - */ - public function getDriveItemById($itemId) - { - $driveLocator = "/drives/{$this->id}"; - $itemLocator = "/items/$itemId"; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->driveItemResourceDefinition - ); - } - - /** - * Gets a drive item by path from this instance. - * - * The path is given as an absolute path from the root of the drive, for - * example: - * - * ```php - * $driveItem = $driveItem->getDriveItemByPath('/path/to/file.txt'); - * ``` - * - * @param string $path - * The path. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item. - * - * @since 2.2.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get?view=odsp-graph-online - * Get a DriveItem resource - */ - public function getDriveItemByPath($path) - { - $driveLocator = "/drives/{$this->id}"; - $itemLocator = "/root:$path"; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->driveItemResourceDefinition - ); - } - - /** - * Gets the root of this instance. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The root. - * - * @since 2.0.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_get?view=odsp-graph-online - * Get a DriveItem resource - */ - public function getRoot() - { - $driveLocator = "/drives/{$this->id}"; - $itemLocator = '/items/root'; - $endpoint = "$driveLocator$itemLocator"; - - $response = $this - ->graph - ->createRequest('GET', $endpoint) - ->execute(); - - $status = $response->getStatus(); - - if ($status != 200) { - throw new \Exception("Unexpected status code produced by 'GET $endpoint': $status"); - } - - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->driveItemResourceDefinition - ); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/EntityProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/EntityProxy.php deleted file mode 100644 index 27cdfbf4..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/EntityProxy.php +++ /dev/null @@ -1,83 +0,0 @@ -graph = $graph; - $this->entity = $entity; - } - - /** - * Getter. - * - * @param string $name - * The name. - * - * @return mixed - * The value. - * - * @since 2.0.0 - */ - public function __get($name) - { - switch ($name) { - case 'id': - return $this->entity->getId(); - - default: - throw new \Exception("Undefined property: $name"); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FileProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/FileProxy.php deleted file mode 100644 index 5abc6744..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FileProxy.php +++ /dev/null @@ -1,78 +0,0 @@ -entity; - - switch ($name) { - case 'hashes': - $hashes = $file->getHashes(); - return $hashes !== null ? new HashesProxy($this->graph, $hashes) : null; - - case 'mimeType': - return $file->getMimeType(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FileSystemInfoProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/FileSystemInfoProxy.php deleted file mode 100644 index 351ebee2..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FileSystemInfoProxy.php +++ /dev/null @@ -1,82 +0,0 @@ -entity; - - switch ($name) { - case 'createdDateTime': - return $fileSystemInfo->getCreatedDateTime(); - - case 'lastAccessedDateTime': - return $fileSystemInfo->getLastAccessedDateTime(); - - case 'lastModifiedDateTime': - return $fileSystemInfo->getLastModifiedDateTime(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FolderProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/FolderProxy.php deleted file mode 100644 index 88498c77..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FolderProxy.php +++ /dev/null @@ -1,78 +0,0 @@ -entity; - - switch ($name) { - case 'childCount': - return $folder->getChildCount(); - - case 'view': - $view = $folder->getView(); - return $view !== null ? new FolderViewProxy($this->graph, $view) : null; - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FolderViewProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/FolderViewProxy.php deleted file mode 100644 index b4e9526b..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/FolderViewProxy.php +++ /dev/null @@ -1,82 +0,0 @@ -entity; - - switch ($name) { - case 'sortBy': - return $folderView->getSortBy(); - - case 'sortOrder': - return $folderView->getSortOrder(); - - case 'viewType': - return $folderView->getViewType(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/GeoCoordinatesProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/GeoCoordinatesProxy.php deleted file mode 100644 index 58e387a0..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/GeoCoordinatesProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -entity; - - switch ($name) { - case 'crc32Hash': - return $hashes->getCrc32Hash(); - - case 'quickXorHash': - return $hashes->getQuickXorHash(); - - case 'sha1Hash': - return $hashes->getSha1Hash(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/IdentityProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/IdentityProxy.php deleted file mode 100644 index 37333371..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/IdentityProxy.php +++ /dev/null @@ -1,72 +0,0 @@ -entity; - - switch ($name) { - case 'displayName': - return $identity->getDisplayName(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/IdentitySetProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/IdentitySetProxy.php deleted file mode 100644 index 1a67dfe0..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/IdentitySetProxy.php +++ /dev/null @@ -1,85 +0,0 @@ -entity; - - switch ($name) { - case 'application': - $application = $identitySet->getApplication(); - return $application !== null ? new IdentityProxy($this->graph, $application) : null; - - case 'device': - $device = $identitySet->getDevice(); - return $device !== null ? new IdentityProxy($this->graph, $device) : null; - - case 'user': - $user = $identitySet->getUser(); - return $user !== null ? new IdentityProxy($this->graph, $user) : null; - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/ImageProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/ImageProxy.php deleted file mode 100644 index 08247eeb..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/ImageProxy.php +++ /dev/null @@ -1,77 +0,0 @@ -entity; - - switch ($name) { - case 'height': - return $image->getHeight(); - - case 'width': - return $image->getWidth(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/ItemReferenceProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/ItemReferenceProxy.php deleted file mode 100644 index 9f4d4777..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/ItemReferenceProxy.php +++ /dev/null @@ -1,87 +0,0 @@ -entity; - - switch ($name) { - case 'id': - return $itemReference->getId(); - - case 'driveId': - return $itemReference->getDriveId(); - - case 'driveType': - return $itemReference->getDriveType(); - - case 'path': - return $itemReference->getPath(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/ListItemProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/ListItemProxy.php deleted file mode 100644 index 1c3a9e08..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/ListItemProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -entity; - - switch ($name) { - case 'type': - return $package->getType(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/PermissionProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/PermissionProxy.php deleted file mode 100644 index 586dfc8e..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/PermissionProxy.php +++ /dev/null @@ -1,76 +0,0 @@ -entity; - - /** - * @todo Support all properties. - */ - switch ($name) { - case 'link': - $link = $permission->getLink(); - return $link !== null ? new SharingLinkProxy($this->graph, $link) : null; - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/PhotoProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/PhotoProxy.php deleted file mode 100644 index bdd59011..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/PhotoProxy.php +++ /dev/null @@ -1,107 +0,0 @@ -entity; - - switch ($name) { - case 'cameraMake': - return $photo->getCameraMake(); - - case 'cameraModel': - return $photo->getCameraModel(); - - case 'exposureDenominator': - return $photo->getExposureDenominator(); - - case 'exposureNumerator': - return $photo->getExposureNumerator(); - - case 'fNumber': - return $photo->getFNumber(); - - case 'focalLength': - return $photo->getFocalLength(); - - case 'iso': - return $photo->getIso(); - - case 'takenDateTime': - return $photo->getTakenDateTime(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/PublicationFacetProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/PublicationFacetProxy.php deleted file mode 100644 index cf29727e..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/PublicationFacetProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -entity; - - switch ($name) { - case 'deleted': - return $quota->getDeleted(); - - case 'remaining': - return $quota->getRemaining(); - - case 'state': - return $quota->getState(); - - case 'total': - return $quota->getTotal(); - - case 'used': - return $quota->getUsed(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/RemoteItemProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/RemoteItemProxy.php deleted file mode 100644 index 294bc679..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/RemoteItemProxy.php +++ /dev/null @@ -1,157 +0,0 @@ -entity; - - switch ($name) { - case 'createdBy': - $createdBy = $remoteItem->getCreatedBy(); - return $createdBy !== null ? new IdentitySetProxy($this->graph, $createdBy) : null; - - case 'createdDateTime': - return $remoteItem->getCreatedDateTime(); - - case 'file': - $file = $remoteItem->getFile(); - return $file !== null ? new FileProxy($this->graph, $file) : null; - - case 'fileSystemInfo': - $fileSystemInfo = $remoteItem->getFileSystemInfo(); - return $fileSystemInfo !== null ? new FileSystemInfoProxy($this->graph, $fileSystemInfo) : null; - - case 'folder': - $folder = $remoteItem->getFolder(); - return $folder !== null ? new FolderProxy($this->graph, $folder) : null; - - case 'lastModifiedBy': - $lastModifiedBy = $remoteItem->getLastModifiedBy(); - return $lastModifiedBy !== null ? new IdentitySetProxy($this->graph, $lastModifiedBy) : null; - - case 'lastModifiedDateTime': - return $remoteItem->getLastModifiedDateTime(); - - case 'name': - return $remoteItem->getName(); - - case 'package': - $package = $remoteItem->getPackage(); - return $package !== null ? new PackageProxy($this->graph, $package) : null; - - case 'parentReference': - $parentReference = $remoteItem->getParentReference(); - return $parentReference !== null ? new ItemReferenceProxy($this->graph, $parentReference) : null; - - case 'shared': - $shared = $remoteItem->getShared(); - return $shared !== null ? new SharedProxy($this->graph, $shared) : null; - - case 'sharepointIds': - $sharepointIds = $remoteItem->getSharepointIds(); - return $sharepointIds !== null ? new SharepointIdsProxy($this->graph, $sharepointIds) : null; - - case 'size': - return $remoteItem->getSize(); - - case 'specialFolder': - $specialFolder = $remoteItem->getSpecialFolder(); - return $specialFolder !== null ? new SpecialFolderProxy($this->graph, $specialFolder) : null; - - case 'webDavUrl': - return $remoteItem->getWebDavUrl(); - - case 'webUrl': - return $remoteItem->getWebUrl(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/RootProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/RootProxy.php deleted file mode 100644 index de200398..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/RootProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -entity; - - switch ($name) { - case 'owner': - $owner = $shared->getOwner(); - return $owner !== null ? new IdentitySetProxy($this->graph, $owner) : null; - - case 'scope': - return $shared->getScope(); - - case 'sharedBy': - $sharedBy = $shared->getSharedBy(); - return $sharedBy !== null ? new IdentitySetProxy($this->graph, $sharedBy) : null; - - case 'sharedDateTime': - return $shared->getSharedDateTime(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SharepointIdsProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/SharepointIdsProxy.php deleted file mode 100644 index 86ba3e39..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SharepointIdsProxy.php +++ /dev/null @@ -1,97 +0,0 @@ -entity; - - switch ($name) { - case 'listId': - return $sharepointIds->getListId(); - - case 'listItemId': - return $sharepointIds->getListItemId(); - - case 'listItemUniqueId': - return $sharepointIds->getListItemUniqueId(); - - case 'siteId': - return $sharepointIds->getSiteId(); - - case 'siteUrl': - return $sharepointIds->getSiteUrl(); - - case 'webId': - return $sharepointIds->getWebId(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SharingLinkProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/SharingLinkProxy.php deleted file mode 100644 index b0f35203..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SharingLinkProxy.php +++ /dev/null @@ -1,88 +0,0 @@ -entity; - - switch ($name) { - case 'application': - $application = $sharingLink->getApplication(); - return $application !== null ? new IdentityProxy($this->graph, $application) : null; - - case 'scope': - return $sharingLink->getScope(); - - case 'type': - return $sharingLink->getType(); - - case 'webUrl': - return $sharingLink->getWebUrl(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SpecialFolderProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/SpecialFolderProxy.php deleted file mode 100644 index 62982822..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SpecialFolderProxy.php +++ /dev/null @@ -1,72 +0,0 @@ -entity; - - switch ($name) { - case 'name': - return $specialFolder->getName(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SystemFacetProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/SystemFacetProxy.php deleted file mode 100644 index 9d43a51f..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/SystemFacetProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -content = $content; - $this->driveItemResourceDefinition = $driveItemResourceDefinition; - - $this->rangeSize = array_key_exists('range_size', $options) ? - $options['range_size'] - : null; - } - - /** - * Getter. - * - * @param string $name - * The name. - * - * @return mixed - * The value. - * - * @since 2.1.0 - */ - public function __get($name) - { - $uploadSession = $this->entity; - - switch ($name) { - case 'expirationDateTime': - return $uploadSession->getExpirationDateTime(); - - case 'nextExpectedRanges': - return $uploadSession->getNextExpectedRanges(); - - case 'uploadUrl': - return $uploadSession->getUploadUrl(); - - default: - return parent::__get($name); - } - } - - /** - * Uploads the content in multiple ranges and completes this session. - * - * @return \Krizalys\Onedrive\Proxy\DriveItemProxy - * The drive item created. - * - * @since 2.1.0 - * - * @api - * - * @link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online#upload-bytes-to-the-upload-session - * Upload bytes to the upload session - * - * @todo Support retries on errors. - */ - public function complete() - { - $stream = $this->content instanceof Stream ? - $this->content - : Psr7\stream_for($this->content); - - if ($this->rangeSize !== null) { - $rangeSize = $this->rangeSize; - $rangeSize = $rangeSize - $rangeSize % self::RANGE_SIZE_MULTIPLE; - $rangeSize = min($rangeSize, self::MAX_RANGE_SIZE); - $rangeSize = max($rangeSize, self::MIN_RANGE_SIZE); - } else { - $rangeSize = self::RANGE_SIZE_MULTIPLE; - } - - $size = $stream->getSize(); - $offset = 0; - - while (!$stream->eof()) { - $rangeStream = new LimitStream($stream, $rangeSize, $offset); - $rangeSize = $rangeStream->getSize(); - $body = $rangeStream->getContents(); - $rangeFirst = $offset; - $offset += $rangeSize; - $rangeLast = $offset - 1; - - $headers = [ - 'Content-Length' => $rangeSize, - 'Content-Range' => "bytes $rangeFirst-$rangeLast/$size", - ]; - - $response = $this - ->graph - ->createRequest('PUT', $this->uploadUrl) - ->addHeaders($headers) - ->attachBody($body) - ->execute(); - - $status = $response->getStatus(); - - if ($status == 200 || $status == 201) { - $driveItem = $response->getResponseAsObject(DriveItem::class); - - return new DriveItemProxy( - $this->graph, - $driveItem, - $this->driveItemResourceDefinition - ); - } - - if ($status != 202) { - throw new \Exception("Unexpected status code produced by 'PUT {$this->uploadUrl}': $status"); - } - } - - throw new \Exception('OneDrive did not create a drive item for the uploaded file'); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/UserProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/UserProxy.php deleted file mode 100644 index d9bdc2a0..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/UserProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -entity; - - switch ($name) { - case 'audioBitsPerSample': - return $video->getAudioBitsPerSample(); - - case 'audioChannels': - return $video->getAudioChannels(); - - case 'audioFormat': - return $video->getAudioFormat(); - - case 'audioSamplesPerSecond': - return $video->getAudioSamplesPerSecond(); - - case 'bitrate': - return $video->getBitrate(); - - case 'duration': - return $video->getDuration(); - - case 'fourCc': - return $video->getFourCC(); - - case 'frameRate': - return $video->getFrameRate(); - - case 'height': - return $video->getHeight(); - - case 'width': - return $video->getWidth(); - - default: - return parent::__get($name); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/src/Proxy/WorkbookProxy.php b/vendor/krizalys/onedrive-php-sdk/src/Proxy/WorkbookProxy.php deleted file mode 100644 index 033179fd..00000000 --- a/vendor/krizalys/onedrive-php-sdk/src/Proxy/WorkbookProxy.php +++ /dev/null @@ -1,45 +0,0 @@ -obtainAccessToken($secret, $code); - $state = $client->getState(); - - $client = Onedrive::client( - self::$clientId, - ['state' => $state] - ); - - $drives = $client->getDrives(); - $actual = count($drives); - $this->assertGreaterThanOrEqual(1, $actual); - - foreach ($drives as $drive) { - $this->assertDriveProxy($drive); - } - } - - public function testAuthorizationRequest() - { - $client = Onedrive::client(self::$clientId); - - $values = self::authorize( - $client, - self::$username, - self::$password, - 'Test state' - ); - - $this->assertArrayHasKey('state', $values); - $this->assertSame('Test state', $values['state']); - } - - public function testGetDrives() - { - $drives = self::$client->getDrives(); - $actual = count($drives); - $this->assertGreaterThanOrEqual(1, $actual); - - foreach ($drives as $drive) { - $this->assertDriveProxy($drive); - } - } - - public function testGetMyDrive() - { - $drive = self::$client->getMyDrive(); - $this->assertDriveProxy($drive); - self::$defaultDrive = $drive; - } - - public function testGetRoot() - { - $driveItem = self::$client->getRoot(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertNull($driveItem->parentReference->id); - $this->assertNotNull($driveItem->parentReference->driveId); - $this->assertNotNull($driveItem->parentReference->driveType); - $this->assertNull($driveItem->parentReference->path); - $this->assertRootProxy($driveItem->root); - self::$root = $driveItem; - } - - /** - * @depends testGetMyDrive - */ - public function testGetDriveById() - { - $drive = self::$client->getDriveById(self::$defaultDrive->id); - $this->assertDriveProxy($drive); - } - - /** - * @depends testGetMyDrive - */ - public function testGetDriveByUser() - { - $drive = self::$client->getDriveByUser(self::$defaultDrive->owner->user->id); - $this->assertDriveProxy($drive); - } - - /** - * @depends testGetMyDrive - */ - public function testGetDriveByGroup() - { - $drive = self::$client->getDriveByGroup(self::$defaultDrive->owner->user->id); - - if ($drive == $null) { - $this->markTestSkipped('No drive by group found'); - } - - $this->assertDriveProxy($drive); - } - - /** - * @depends testGetMyDrive - */ - public function testGetDriveBySite() - { - $drive = self::$client->getDriveBySite(self::$defaultDrive->owner->user->id); - - if ($drive == $null) { - $this->markTestSkipped('No drive by site found'); - } - - $this->assertDriveProxy($drive); - } - - /** - * @depends testGetRoot - */ - public function testGetDriveItemByIdWhenNotGivenDriveId() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = self::$client->getDriveItemById($driveItem->id); - $this->assertDriveItemProxy($driveItem); - }); - } - - /** - * @depends testGetRoot - */ - public function testGetDriveItemByIdWhenGivenDriveId() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = self::$client->getDriveItemById( - $driveItem->parentReference->driveId, - $driveItem->id - ); - - $this->assertDriveItemProxy($driveItem); - }); - } - - /** - * @depends testGetRoot - */ - public function testGetDriveItemByPath() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = self::$client->getDriveItemByPath("/{$sandbox->name}/Test file"); - $this->assertDriveItemProxy($driveItem); - $this->assertEquals('Test file', $driveItem->name); - }); - } - - /** - * @dataProvider specialFolderProvider - */ - public function testGetSpecialFolder($specialFolderName) - { - $driveItem = self::$client->getSpecialFolder($specialFolderName); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertNotNull($driveItem->parentReference->id); - $this->assertNotNull($driveItem->parentReference->driveId); - $this->assertNotNull($driveItem->parentReference->driveType); - $this->assertNotNull($driveItem->parentReference->path); - - // For some reason, this special folder does not have a SpecialFolder - // facet. - if ($specialFolderName != SpecialFolderName::APP_ROOT) { - $this->assertSpecialFolderProxy($driveItem->specialFolder); - } - } - - public function testGetShared() - { - $driveItems = self::$client->getShared(); - $this->assertInternalType('array', $driveItems); - - foreach ($driveItems as $driveItem) { - $this->assertDriveItemProxy($driveItem); - } - } - - public function testGetRecent() - { - $driveItems = self::$client->getRecent(); - $this->assertInternalType('array', $driveItems); - - foreach ($driveItems as $driveItem) { - $this->assertDriveItemProxy($driveItem); - } - } - - public function specialFolderProvider() - { - return [ - [SpecialFolderName::DOCUMENTS], - [SpecialFolderName::PHOTOS], - [SpecialFolderName::CAMERA_ROLL], - [SpecialFolderName::APP_ROOT], - [SpecialFolderName::MUSIC], - ]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/KrizalysOnedriveTest.php b/vendor/krizalys/onedrive-php-sdk/test/functional/KrizalysOnedriveTest.php deleted file mode 100644 index e4acc718..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/KrizalysOnedriveTest.php +++ /dev/null @@ -1,540 +0,0 @@ -getState()->token; - sleep(1); - self::$client->renewAccessToken($secret); - $after = clone self::$client->getState()->token; - $this->assertNotEquals($before->obtained, $after->obtained); - $this->assertNotEquals($before->data->access_token, $after->data->access_token); - $this->assertNotEquals($before->data->refresh_token, $after->data->refresh_token); - } - - public function testClientCreateFolderLegacy() - { - $root = self::getRoot(); - - $folder1 = self::$client->createFolder('Test folder #1', null, null); - $this->assertInstanceOf(Folder::class, $folder1); - $this->assertEquals('Test folder #1', $folder1->getName()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $root->children); - - $this->assertContains($folder1->getId(), $children); - self::deleteLegacy($folder1); - - $folder2 = self::$client->createFolder('Test folder #2', null, 'Test description folder #2'); - $this->assertInstanceOf(Folder::class, $folder2); - $this->assertEquals('Test folder #2', $folder2->getName()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $root->children); - - $this->assertContains($folder2->getId(), $children); - $this->assertEquals('Test description folder #2', $folder2->getDescription()); - self::deleteLegacy($folder2); - - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $folder3 = self::$client->createFolder('Test folder #3', $parent->id, null); - $this->assertInstanceOf(Folder::class, $folder3); - $this->assertEquals('Test folder #3', $folder3->getName()); - $this->assertEquals($parent->id, $folder3->getParentId()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertContains($folder3->getId(), $children); - }); - } - - public function testClientCreateFileLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - // Test with a text file. - $file1 = self::$client->createFile('Test file #1.txt', $parent->id, 'Test content'); - $this->assertInstanceOf(File::class, $file1); - $this->assertEquals('Test file #1.txt', $file1->getName()); - $this->assertEquals($parent->id, $file1->getParentId()); - $this->assertEquals('Test content', $file1->fetchContent()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertContains($file1->getId(), $children); - - // Test with a binary file. - $content = base64_decode(self::PHP_LOGO_PNG_BASE64); - $file2 = self::$client->createFile('Test file #2.png', $parent->id, $content); - $this->assertInstanceOf(File::class, $file2); - $this->assertEquals('Test file #2.png', $file2->getName()); - $this->assertEquals($parent->id, $file2->getParentId()); - $this->assertEquals($content, $file2->fetchContent()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertContains($file2->getId(), $children); - }); - } - - public function testClientFetchDriveItemLegacy() - { - $root = self::getRoot(); - $item = self::$client->fetchDriveItem($root->id); - $this->assertInstanceOf(Folder::class, $item); - $this->assertContains($item->getName(), ['root', 'SkyDrive']); - $this->assertInternalType('string', $item->getParentId()); - } - - public function testClientFetchRootLegacy() - { - $root = self::$client->fetchRoot(); - $this->assertInstanceOf(Folder::class, $root); - $this->assertContains($root->getName(), ['root', 'SkyDrive']); - $this->assertInternalType('string', $root->getParentId()); - } - - public function testClientFetchCameraRollLegacy() - { - $pics = self::getPhotosFolder(); - $cameraRoll = self::$client->fetchCameraRoll(); - $this->assertInstanceOf(Folder::class, $cameraRoll); - $this->assertEquals('Camera Roll', $cameraRoll->getName()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->name; - }, $pics->children); - - $this->assertContains($cameraRoll->getName(), $children); - } - - public function testClientFetchDocsLegacy() - { - $root = self::getRoot(); - $docs = self::$client->fetchDocs(); - $this->assertInstanceOf(Folder::class, $docs); - $this->assertEquals('Documents', $docs->getName()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->name; - }, $root->children); - - $this->assertContains($docs->getName(), $children); - } - - public function testClientFetchPicsLegacy() - { - $root = self::getRoot(); - $pics = self::$client->fetchPics(); - $this->assertInstanceOf(Folder::class, $pics); - $this->assertEquals('Pictures', $pics->getName()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->name; - }, $root->children); - - $this->assertContains($pics->getName(), $children); - } - - public function testClientFetchPropertiesLegacy() - { - $root = self::getRoot(); - $properties = self::$client->fetchProperties($root->id); - $this->assertInternalType('object', $properties); - $this->assertInternalType('string', $properties->id); - $this->assertInternalType('object', $properties->from); - $this->assertNull($properties->from->name); - $this->assertNull($properties->from->id); - $this->assertContains($properties->name, ['root', 'SkyDrive']); - - if (property_exists($properties, 'description')) { - $this->fail(); - } - - $this->assertInternalType('string', $properties->parent_id); - $this->assertGreaterThanOrEqual(0, $properties->size); - $this->assertRegExp(self::DATETIME_REGEX, $properties->created_time); - $this->assertRegExp(self::DATETIME_REGEX, $properties->updated_time); - } - - public function testClientFetchDriveItemsLegacy() - { - $root = self::getRoot(); - $items = self::$client->fetchDriveItems($root->id); - $this->assertInternalType('array', $items); - - foreach ($items as $item) { - $this->assertThat( - $item, - $this->logicalOr( - $this->isInstanceOf(Folder::class, $item), - $this->isInstanceOf(File::class, $item) - ) - ); - } - } - - public function testClientUpdateDriveItemLegacy() - { - $root = self::getRoot(); - $item = self::createFolder($root, 'Test folder'); - - self::$client->updateDriveItem( - $item->id, - [ - 'name' => 'Test folder (renamed)', - 'description' => 'Test description folder', - ], - false - ); - - $item = self::getDriveItemById($item->id); - $this->assertEquals('Test folder (renamed)', $item->name); - $this->assertEquals('Test description folder', $item->description); - - self::delete($item); - } - - public function testClientMoveDriveItemLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = self::createFolder($parent, 'Test item'); - $destination = self::createFolder($parent, 'Test destination'); - self::$client->moveDriveItem($item->id, $destination->id); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertFalse(in_array($item->id, $children)); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $destination->children); - - $this->assertContains($item->id, $children); - - $item = self::getDriveItemById($item->id); - $this->assertEquals($destination->id, $item->parentReference->id); - }); - } - - public function testClientCopyDriveItemLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = self::upload($parent, 'Test item'); - $destination = self::createFolder($parent, 'Test destination'); - self::$client->copyFile($item->id, $destination->id); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertContains($item->id, $children); - $this->assertDriveItemProxyWillHaveChild($destination, 'Test item'); - }); - } - - public function testClientDeleteDriveItemLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = self::createFolder($parent, 'Test folder'); - self::$client->deleteDriveItem($item->id); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertFalse(in_array($item->id, $children)); - }); - } - - public function testClientFetchQuotaLegacy() - { - $quota = self::$client->fetchQuota(); - $this->assertInternalType('object', $quota); - $this->assertGreaterThanOrEqual(0, $quota->quota); - $this->assertGreaterThanOrEqual(0, $quota->available); - } - - public function testClientFetchRecentDocsLegacy() - { - $recentDocs = self::$client->fetchRecentDocs(); - $this->assertInternalType('object', $recentDocs); - $this->assertInternalType('array', $recentDocs->data); - - foreach ($recentDocs->data as $data) { - $this->assertInternalType('object', $data); - } - } - - public function testClientFetchSharedLegacy() - { - $shared = self::$client->fetchShared(); - $this->assertInternalType('object', $shared); - $this->assertInternalType('array', $shared->data); - - foreach ($shared->data as $data) { - $this->assertInternalType('object', $data); - } - } - - public function testDriveItemMoveLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = self::upload($parent, 'Test item'); - $destination = self::createFolder($parent, 'Test destination'); - - (new File(self::$client, $item->id))->move($destination->id); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertFalse(in_array($item->id, $children)); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $destination->children); - - $this->assertContains($item->id, $children); - - $item = self::getDriveItemById($item->id); - $this->assertEquals($destination->id, $item->parentReference->id); - }); - } - - public function testFileFetchContentLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = self::upload($parent, 'Test item', 'Test content'); - $item = new File(self::$client, $item->id); - $actual = $item->fetchContent(); - $this->assertEquals('Test content', $actual); - }); - } - - public function testFileCopyLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = self::upload($parent, 'Test item'); - $destination = self::createFolder($parent, 'Test destination'); - (new File(self::$client, $item->id))->copy($destination->id); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->name; - }, $parent->children); - - $this->assertContains($item->name, $children); - $this->assertDriveItemProxyWillHaveChild($destination, $item->name); - - $copy = array_filter($destination->children, function (DriveItemProxy $driveItem) use ($item) { - return $driveItem->name == $item->name; - }); - - $this->assertCount(1, $copy); - $copy = self::getDriveItemById($copy[0]->id); - $this->assertEquals($destination->id, $copy->parentReference->id); - }); - } - - public function testFolderFetchDriveItemsLegacy() - { - $root = self::getRoot(); - $root = new Folder(self::$client, $root->id); - $items = $root->fetchDriveItems(); - $this->assertInternalType('array', $items); - - foreach ($items as $item) { - $this->assertThat( - $item, - $this->logicalOr( - $this->isInstanceOf(Folder::class, $item), - $this->isInstanceOf(File::class, $item) - ) - ); - } - } - - public function testFolderFetchChildDriveItemsLegacy() - { - $root = self::getRoot(); - $root = new Folder(self::$client, $root->id); - $items = $root->fetchChildDriveItems(); - $this->assertInternalType('array', $items); - - foreach ($items as $item) { - $this->assertThat( - $item, - $this->logicalOr( - $this->isInstanceOf(Folder::class, $item), - $this->isInstanceOf(File::class, $item) - ) - ); - } - } - - public function testFolderCreateFolderLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = (new Folder(self::$client, $parent->id))->createFolder('Test folder', 'Test description'); - $this->assertInstanceOf(Folder::class, $item); - $this->assertEquals($parent->id, $item->getParentId()); - $this->assertEquals('Test folder', $item->getName()); - $this->assertEquals('Test description', $item->getDescription()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertContains($item->getId(), $children); - }); - } - - public function testFolderCreateFileLegacy() - { - self::withSandbox(__FUNCTION__, function (DriveItemProxy $parent) { - $item = (new Folder(self::$client, $parent->id))->createFile('Test file', 'Test content'); - $this->assertInstanceOf(File::class, $item); - $this->assertEquals($parent->id, $item->getParentId()); - $this->assertEquals('Test file', $item->getName()); - $this->assertEquals('Test content', $item->fetchContent()); - - $children = array_map(function (DriveItemProxy $driveItem) { - return $driveItem->id; - }, $parent->children); - - $this->assertContains($item->getId(), $children); - }); - } - - private function assertDriveItemProxyWillHaveChild(DriveItemProxy $item, $name) - { - $now = time(); - - $items = array_filter($item->children, function (DriveItemProxy $item) use ($name) { - return $item->name == $name; - }); - - while (count($items) != 1) { - sleep(self::ASYNC_POLL_INTERVAL); - - if (time() - $now > self::ASYNC_POLL_TIMEOUT) { - $this->fail('Assertion failed after timeout'); - } - - $items = array_filter($item->children, function (DriveItemProxy $item) use ($name) { - return $item->name == $name; - }); - } - - return $items[0]; - } - - private static function getRoot() - { - return self::$client->getRoot(); - } - - private static function getDriveItemById($id) - { - return self::$client->getDriveItemById($id); - } - - private static function getPhotosFolder() - { - return self::$client->getSpecialFolder(SpecialFolderName::PHOTOS); - } - - private static function createFolder(DriveItemProxy $item, $name) - { - return $item->createFolder($name); - } - - private static function upload(DriveItemProxy $item, $name, $content = '') - { - return $item->upload( - $name, - $content, - [] - ); - } - - private static function delete(DriveItemProxy $item) - { - $item->delete(); - } - - private static function deleteLegacy(DriveItem $item) - { - self::$client->deleteDriveItem($item->getId()); - } - - private static function withSandbox($name, callable $function) - { - $root = self::getRoot(); - $suffix = sprintf('%08X', rand(0x00000000, 0xffffffff)); - $name = $name . '_' . gmdate('YmdHis') . "_$suffix"; - $folder = self::createFolder($root, $name); - - try { - return $function($folder); - } catch (\Exception $exception) { - throw $exception; - } finally { - self::delete($folder); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Proxy/DriveItemProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Proxy/DriveItemProxyTest.php deleted file mode 100644 index 99b2affe..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Proxy/DriveItemProxyTest.php +++ /dev/null @@ -1,894 +0,0 @@ -getRoot(); - } - - public function testCreateFolderWhenNotExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->createFolder( - 'Test folder', - ['description' => 'Test description'] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test folder', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertFolderProxy($driveItem->folder); - }); - } - - /** - * @expectedException \Krizalys\Onedrive\Exception\ConflictException - * - * @expectedExceptionMessage There is already a drive item named "Test - * folder" in this folder - */ - public function testCreateFolderWhenExistingAndFailConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->createFolder('Test folder'); - - $driveItem = $sandbox->createFolder( - 'Test folder', - ['conflictBehavior' => ConflictBehavior::FAIL] - ); - }); - } - - public function testCreateFolderWhenExistingAndRenameConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->createFolder('Test folder'); - - $driveItem = $sandbox->createFolder( - 'Test folder', - [ - 'conflictBehavior' => ConflictBehavior::RENAME, - 'description' => 'Test description', - ] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test folder 1', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertFolderProxy($driveItem->folder); - - $driveItem = $sandbox->createFolder( - 'Test folder', - [ - 'conflictBehavior' => ConflictBehavior::RENAME, - 'description' => 'Test description', - ] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test folder 2', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertFolderProxy($driveItem->folder); - }); - } - - public function testCreateFolderWhenExistingAndReplaceConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->createFolder('Test folder'); - - $driveItem = $sandbox->createFolder( - 'Test folder', - [ - 'conflictBehavior' => ConflictBehavior::REPLACE, - 'description' => 'Test description', - ] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test folder', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertFolderProxy($driveItem->folder); - }); - } - - public function testGetChildren() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->createFolder('Test folder'); - - for ($i = 1; $i <= 2; ++$i) { - $sandbox->upload( - "Test file #$i", - "Test content #$i", - [] - ); - } - - $children = $sandbox->getChildren( - [ - 'top' => 2, - - 'orderBy' => [ - ['name', 'desc'], - ], - ] - ); - - foreach ($children as $child) { - $this->assertDriveItemProxy($child); - } - - $this->assertCount(2, $children); - $this->assertEquals('Test folder', $children[0]->name); - $this->assertEquals('Test file #2', $children[1]->name); - }); - } - - public function testDeleteFile() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem->delete(); - $children = $sandbox->children; - $this->assertCount(0, $children); - }); - } - - public function testDeleteFolder() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->createFolder('Test folder'); - $driveItem->delete(); - $children = $sandbox->children; - $this->assertCount(0, $children); - }); - } - - public function testUploadStringWhenNotExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test content', $driveItem->content); - $this->assertFileProxy($driveItem->file); - }); - } - - /** - * @expectedException \Krizalys\Onedrive\Exception\ConflictException - * - * @expectedExceptionMessage There is already a drive item named - * "Test%20file" in this folder - */ - public function testUploadStringWhenExistingAndFailConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - ['conflictBehavior' => ConflictBehavior::FAIL] - ); - }); - } - - public function testUploadStringWhenExistingAndRenameConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - ['conflictBehavior' => ConflictBehavior::RENAME] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file 1', $driveItem->name); - $this->assertEquals('Test content', $driveItem->content); - $this->assertFileProxy($driveItem->file); - }); - } - - public function testUploadStringWhenExistingAndReplaceConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - ['conflictBehavior' => ConflictBehavior::REPLACE] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test content', $driveItem->content); - $this->assertFileProxy($driveItem->file); - }); - } - - public function testUploadStreamWhenNotExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $content = fopen('php://memory', 'rb+'); - fwrite($content, 'Test content'); - rewind($content); - - $driveItem = $sandbox->upload( - 'Test file', - $content, - [] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test content', $driveItem->content); - $this->assertFileProxy($driveItem->file); - - // No need to fclose $content; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - /** - * @expectedException \Krizalys\Onedrive\Exception\ConflictException - * - * @expectedExceptionMessage There is already a drive item named - * "Test%20file" in this folder - */ - public function testUploadStreamWhenExistingAndFailConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $content = fopen('php://memory', 'rb+'); - fwrite($content, 'Test content'); - rewind($content); - - $driveItem = $sandbox->upload( - 'Test file', - $content, - ['conflictBehavior' => ConflictBehavior::FAIL] - ); - - // No need to fclose $content; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - public function testUploadStreamWhenExistingAndRenameConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'test-file.txt', - 'Test content', - [] - ); - - $content = fopen('php://memory', 'rb+'); - fwrite($content, 'Test content'); - rewind($content); - - $driveItem = $sandbox->upload( - 'test-file.txt', - $content, - ['conflictBehavior' => ConflictBehavior::RENAME] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('test-file 1.txt', $driveItem->name); - $this->assertEquals('Test content', $driveItem->content); - $this->assertFileProxy($driveItem->file); - - // No need to fclose $content; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - public function testUploadStreamWhenExistingAndReplaceConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $content = fopen('php://memory', 'rb+'); - fwrite($content, 'Test content'); - rewind($content); - - $driveItem = $sandbox->upload( - 'Test file', - $content, - ['conflictBehavior' => ConflictBehavior::REPLACE] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test content', $driveItem->content); - $this->assertFileProxy($driveItem->file); - - // No need to fclose $content; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - public function testStartUploadStringWhenNotExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $string = str_repeat("Test content\n", 100000); - - $uploadSession = $sandbox->startUpload( - 'Test file', - $string, - ['description' => 'Test description'] - ); - - $this->assertUploadSessionProxy($uploadSession); - $driveItem = $uploadSession->complete(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertEquals($string, $driveItem->content); - $this->assertFileProxy($driveItem->file); - }); - } - - /** - * @expectedException \Krizalys\Onedrive\Exception\ConflictException - * - * @expectedExceptionMessage There is already a drive item named - * "Test%20file" in this folder - */ - public function testStartUploadStringWhenExistingAndFailConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $string = str_repeat("Test content\n", 100000); - - $sandbox->startUpload( - 'Test file', - $string, - ['conflictBehavior' => ConflictBehavior::FAIL] - ); - }); - } - - public function testStartUploadStringWhenExistingAndRenameConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $string = str_repeat("Test content\n", 100000); - - $uploadSession = $sandbox->startUpload( - 'Test file', - $string, - [ - 'conflictBehavior' => ConflictBehavior::RENAME, - 'description' => 'Test description', - ] - ); - - $this->assertUploadSessionProxy($uploadSession); - $driveItem = $uploadSession->complete(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file 1', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertEquals($string, $driveItem->content); - $this->assertFileProxy($driveItem->file); - }); - } - - public function testStartUploadStringWhenExistingAndReplaceConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $string = str_repeat("Test content\n", 100000); - - $uploadSession = $sandbox->startUpload( - 'Test file', - $string, - [ - 'conflictBehavior' => ConflictBehavior::REPLACE, - 'description' => 'Test description', - ] - ); - - $this->assertUploadSessionProxy($uploadSession); - $driveItem = $uploadSession->complete(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertEquals($string, $driveItem->content); - $this->assertFileProxy($driveItem->file); - }); - } - - public function testStartUploadStreamWhenNotExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $content = str_repeat("Test content\n", 100000); - $stream = fopen('php://memory', 'rb+'); - fwrite($stream, $content); - rewind($stream); - - $uploadSession = $sandbox->startUpload( - 'Test file', - $stream, - ['description' => 'Test description'] - ); - - $this->assertUploadSessionProxy($uploadSession); - $driveItem = $uploadSession->complete(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertEquals($content, $driveItem->content); - $this->assertFileProxy($driveItem->file); - - // No need to fclose $stream; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - /** - * @expectedException \Krizalys\Onedrive\Exception\ConflictException - * - * @expectedExceptionMessage There is already a drive item named - * "Test%20file" in this folder - */ - public function testStartUploadStreamWhenExistingAndFailConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $content = str_repeat("Test content\n", 100000); - $stream = fopen('php://memory', 'rb+'); - fwrite($stream, $content); - rewind($stream); - - $sandbox->startUpload( - 'Test file', - $stream, - ['conflictBehavior' => ConflictBehavior::FAIL] - ); - - // No need to fclose $stream; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - public function testStartUploadStreamWhenExistingAndRenameConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $content = str_repeat("Test content\n", 100000); - $stream = fopen('php://memory', 'rb+'); - fwrite($stream, $content); - rewind($stream); - - $uploadSession = $sandbox->startUpload( - 'Test file', - $stream, - [ - 'conflictBehavior' => ConflictBehavior::RENAME, - 'description' => 'Test description', - ] - ); - - $this->assertUploadSessionProxy($uploadSession); - $driveItem = $uploadSession->complete(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file 1', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertEquals($content, $driveItem->content); - $this->assertFileProxy($driveItem->file); - - // No need to fclose $stream; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - public function testStartUploadStreamWhenExistingAndReplaceConflictBehavior() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $content = str_repeat("Test content\n", 100000); - $stream = fopen('php://memory', 'rb+'); - fwrite($stream, $content); - rewind($stream); - - $uploadSession = $sandbox->startUpload( - 'Test file', - $stream, - [ - 'conflictBehavior' => ConflictBehavior::REPLACE, - 'description' => 'Test description', - ] - ); - - $this->assertUploadSessionProxy($uploadSession); - $driveItem = $uploadSession->complete(); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file', $driveItem->name); - $this->assertEquals('Test description', $driveItem->description); - $this->assertEquals($content, $driveItem->content); - $this->assertFileProxy($driveItem->file); - - // No need to fclose $stream; it is done internally by Guzzle when - // instantiating a Guzzle stream from it. - }); - } - - public function testRename() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $destination = $sandbox->createFolder('Test destination'); - - $driveItem = $driveItem->rename( - 'Test file (renamed)', - ['description' => 'Test description (updated)'] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($sandbox->id, $driveItem->parentReference->id); - $this->assertEquals('Test file (renamed)', $driveItem->name); - $this->assertEquals('Test description (updated)', $driveItem->description); - }); - } - - public function testMoveFile() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $destination = $sandbox->createFolder('Test destination'); - - $driveItem = $driveItem->move( - $destination, - ['name' => 'Test file (moved)'] - ); - - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($destination->id, $driveItem->parentReference->id); - $this->assertEquals('Test file (moved)', $driveItem->name); - }); - } - - public function testMoveFolder() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->createFolder('Test folder'); - $destination = $sandbox->createFolder('Test destination'); - - $driveItem = $driveItem->move( - $destination, - ['name' => 'Test folder (moved)'] - ); - - $children = $sandbox->children; - $this->assertCount(1, $children); - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($destination->id, $driveItem->parentReference->id); - $this->assertEquals('Test folder (moved)', $driveItem->name); - }); - } - - public function testCopyFile() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $destination = $sandbox->createFolder('Test destination'); - - $uri = $driveItem->copy( - $destination, - ['name' => 'Test file (copied)'] - ); - - self::waitUntil(function () use ($uri) { - return $this->getAndDecode($uri)->status == 'completed'; - }); - - $this->assertRegExp(self::$uriRegex, $uri); - $driveItems = $destination->getChildren(['top' => 2]); - $this->assertCount(1, $driveItems); - $driveItem = $driveItems[0]; - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($destination->id, $driveItem->parentReference->id); - $this->assertEquals('Test file (copied)', $driveItem->name); - }); - } - - public function testCopyFolder() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->createFolder('Test folder'); - $destination = $sandbox->createFolder('Test destination'); - - $uri = $driveItem->copy( - $destination, - ['name' => 'Test folder (copied)'] - ); - - self::waitUntil(function () use ($uri) { - return $this->getAndDecode($uri)->status == 'completed'; - }); - - $this->assertRegExp(self::$uriRegex, $uri); - $driveItems = $destination->getChildren(['top' => 2]); - $this->assertCount(1, $driveItems); - $driveItem = $driveItems[0]; - $this->assertDriveItemProxy($driveItem); - $this->assertNotNull($driveItem->parentReference); - $this->assertEquals($destination->id, $driveItem->parentReference->id); - $this->assertEquals('Test folder (copied)', $driveItem->name); - }); - } - - /** - * @dataProvider provideLinkTypes - */ - public function testCreateLinkToFileWhenNotExisting($type) - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) use ($type) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $permission = $driveItem->createLink($type); - $this->assertPermissionProxy($permission); - }); - } - - /** - * @dataProvider provideLinkTypes - */ - public function testCreateLinkToFileWhenExisting($type) - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) use ($type) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem->createLink($type); - $permission = $driveItem->createLink($type); - $this->assertPermissionProxy($permission); - }); - } - - /** - * @dataProvider provideLinkTypes - */ - public function testCreateLinkToFolderWhenNotExisting($type) - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) use ($type) { - $driveItem = $sandbox->createFolder('Test folder'); - $permission = $driveItem->createLink($type); - $this->assertPermissionProxy($permission); - }); - } - - /** - * @dataProvider provideLinkTypes - */ - public function testCreateLinkToFolderWhenExisting($type) - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) use ($type) { - $driveItem = $sandbox->createFolder('Test folder'); - $driveItem->createLink($type); - $permission = $driveItem->createLink($type); - $this->assertPermissionProxy($permission); - }); - } - - public function testInviteWhenNotExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->createFolder('Test folder'); - $recipient = self::getConfig('RECIPIENT'); - - $permissions = $driveItem->invite( - [$recipient], - [Role::READ], - [ - 'message' => 'Test message', - 'requireSignIn' => true, - 'sendInvitation' => true, - ] - ); - - foreach ($permissions as $permission) { - $this->assertPermissionProxy($permission); - } - }); - } - - public function testInviteWhenExisting() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->createFolder('Test folder'); - $recipient = self::getConfig('RECIPIENT'); - - $driveItem->invite( - [$recipient], - [Role::READ] - ); - - $permissions = $driveItem->invite( - [$recipient], - [Role::READ], - [ - 'message' => 'Test message', - 'requireSignIn' => true, - 'sendInvitation' => true, - ] - ); - - foreach ($permissions as $permission) { - $this->assertPermissionProxy($permission); - } - }); - } - - public function provideLinkTypes() - { - return [ - [SharingLinkType::VIEW], - [SharingLinkType::EDIT], - [SharingLinkType::EMBED], - ]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Proxy/DriveProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Proxy/DriveProxyTest.php deleted file mode 100644 index 61ae3c80..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Proxy/DriveProxyTest.php +++ /dev/null @@ -1,72 +0,0 @@ -getMyDrive(); - self::$root = self::$defaultDrive->getRoot(); - } - - public function testGetDriveItemById() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $driveItem = $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = self::$defaultDrive->getDriveItemById($driveItem->id); - $this->assertDriveItemProxy($driveItem); - $this->assertEquals('Test file', $driveItem->name); - }); - } - - public function testGetDriveItemByPath() - { - self::withOnedriveSandbox(self::$root, __METHOD__, function (DriveItemProxy $sandbox) { - $sandbox->upload( - 'Test file', - 'Test content', - [] - ); - - $driveItem = self::$defaultDrive->getDriveItemByPath("/{$sandbox->name}/Test file"); - $this->assertDriveItemProxy($driveItem); - $this->assertEquals('Test file', $driveItem->name); - }); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Router.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Router.php deleted file mode 100644 index a929c0ad..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Router.php +++ /dev/null @@ -1,31 +0,0 @@ -assertEntityProxy($baseItem); - $this->assertInstanceOf(BaseItemProxy::class, $baseItem); - - if ($baseItem->createdBy !== null) { - $this->assertIdentitySetProxy($baseItem->createdBy); - } - - $this->assertThat( - $baseItem->createdDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - - $this->assertThat( - $baseItem->description, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - - $this->assertThat( - $baseItem->eTag, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - - if ($baseItem->createdBy !== null) { - $this->assertIdentitySetProxy($baseItem->createdBy); - } - - $this->assertThat( - $baseItem->lastModifiedDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - - $this->assertThat( - $baseItem->name, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - - if ($baseItem->parentReference !== null) { - $this->assertItemReferenceProxy($baseItem->parentReference); - } - - $this->assertThat( - $baseItem->webUrl, - $this->logicalOr( - $this->isNull(), - $this->matchesRegularExpression(self::$uriRegex) - ) - ); - - $this->assertThat( - $baseItem->createdByUser, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(UserProxy::class) - ) - ); - - $this->assertThat( - $baseItem->lastModifiedByUser, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(UserProxy::class) - ) - ); - } - - private function assertDriveItemProxy($item) - { - $this->assertBaseItemProxy($item); - $this->assertInstanceOf(DriveItemProxy::class, $item); - - $this->assertThat( - $item->audio, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(AudioProxy::class) - ) - ); - - //"content" => [ "@odata.type" => "Edm.Stream" ], - $this->assertNotNull($item->cTag); - - $this->assertThat( - $item->deleted, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(DeletedProxy::class) - ) - ); - - $this->assertThat( - $item->file, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(FileProxy::class) - ) - ); - - $this->assertFileSystemInfoProxy($item->fileSystemInfo); - - $this->assertThat( - $item->folder, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(FolderProxy::class) - ) - ); - - $this->assertThat( - $item->image, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(ImageProxy::class) - ) - ); - - $this->assertThat( - $item->location, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(GeoCoordinatesProxy::class) - ) - ); - - if ($item->package !== null) { - $this->assertPackageProxy($item->package); - } - - $this->assertThat( - $item->photo, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(PhotoProxy::class) - ) - ); - - $this->assertThat( - $item->publication, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(PublicationFacetProxy::class) - ) - ); - - if ($item->remoteItem !== null) { - $this->assertRemoteItemProxy($item->remoteItem); - } - - $this->assertThat( - $item->root, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(RootProxy::class) - ) - ); - - $this->assertThat( - $item->searchResult, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(SearchResultProxy::class) - ) - ); - - if ($item->shared !== null) { - $this->assertSharedProxy($item->shared); - } - - if ($item->sharepointIds !== null) { - $this->assertSharepointIdsProxy($item->sharepointIds); - } - - $this->assertThat( - $item->size, - $this->logicalOr( - $this->isNull(), - $this->greaterThanOrEqual(0) - ) - ); - - $this->assertThat( - $item->specialFolder, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(SpecialFolderProxy::class) - ) - ); - - $this->assertThat( - $item->video, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(VideoProxy::class) - ) - ); - - $this->assertThat( - $item->webDavUrl, - $this->logicalOr( - $this->isNull(), - $this->matchesRegularExpression(self::$uriRegex) - ) - ); - - foreach ($item->children as $child) { - // Assert safely to prevent transient items created by parallel - // processes from not being found anymore. - try { - $this->assertDriveItemProxy($child); - } catch (ClientException $exception) { - $statusCode = $exception - ->getResponse() - ->getStatusCode(); - - if ($statusCode != 404) { - throw $exception; - } - } - } - - $this->assertThat( - $item->listItem, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(ListItemProxy::class) - ) - ); - - if ($item->permissions !== null) { - foreach ($item->permissions as $permission) { - $this->assertPermissionProxy($permission); - } - } - - if ($item->thumbnails !== null) { - foreach ($item->thumbnails as $thumbnail) { - $this->assertThumbnailProxy($thumbnail); - } - } - - if ($item->versions !== null) { - foreach ($item->versions as $version) { - $this->assertInternalType('string', $version); - } - } - - $this->assertThat( - $item->workbook, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(WorkbookProxy::class) - ) - ); - } - - private function assertDriveProxy($drive) - { - $this->assertBaseItemProxy($drive); - $this->assertInstanceOf(DriveProxy::class, $drive); - - $this->assertContains($drive->driveType, [ - DriveType::PERSONAL, - DriveType::BUSINESS, - DriveType::DOCUMENT_LIBRARY, - ]); - - $this->assertIdentitySetProxy($drive->owner); - $this->assertQuotaProxy($drive->quota); - - if ($drive->sharePointIds !== null) { - $this->assertSharepointIdsProxy($drive->sharePointIds); - } - - $this->assertThat( - $drive->system, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(SystemProxy::class) - ) - ); - - if ($drive->items !== null) { - foreach ($drive->items as $item) { - $this->assertDriveItemProxy($item); - } - } - - $this->assertThat( - $drive->list, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(GraphListProxy::class) - ) - ); - - $this->assertThat( - $drive->root, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(DriveItemProxy::class) - ) - ); - - $this->assertThat( - $drive->special, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(DriveItemProxy::class) - ) - ); - } - - private function assertEntityProxy($entity) - { - $this->assertInstanceOf(EntityProxy::class, $entity); - - $this->assertThat( - $entity->id, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - } - - private function assertFileProxy($file) - { - $this->assertEntityProxy($file); - $this->assertInstanceOf(FileProxy::class, $file); - $this->assertHashesProxy($file->hashes); - $this->assertInternalType('string', $file->mimeType); - } - - private function assertFileSystemInfoProxy($fileSystemInfo) - { - $this->assertEntityProxy($fileSystemInfo); - $this->assertInstanceOf(FileSystemInfoProxy::class, $fileSystemInfo); - - $this->assertThat( - $fileSystemInfo->createdDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - - $this->assertThat( - $fileSystemInfo->lastAccessedDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - - $this->assertInstanceOf(\DateTime::class, $fileSystemInfo->lastModifiedDateTime); - } - - private function assertFolderProxy($folder) - { - $this->assertEntityProxy($folder); - $this->assertInstanceOf(FolderProxy::class, $folder); - $this->assertInternalType('int', $folder->childCount); - $this->assertGreaterThanOrEqual(0, $folder->childCount); - $this->assertFolderViewProxy($folder->view); - } - - private function assertFolderViewProxy($folderView) - { - $this->assertEntityProxy($folderView); - $this->assertInstanceOf(FolderViewProxy::class, $folderView); - $this->assertInternalType('string', $folderView->sortBy); - - $this->assertContains($folderView->sortBy, [ - FolderViewSortBy::DEFAULT_, - FolderViewSortBy::NAME, - FolderViewSortBy::TYPE, - FolderViewSortBy::SIZE, - FolderViewSortBy::TAKEN_OR_CREATED_DATE_TIME, - FolderViewSortBy::LAST_MODIFIED_DATE_TIME, - FolderViewSortBy::SEQUENCE, - ]); - - $this->assertInternalType('string', $folderView->sortOrder); - - $this->assertContains($folderView->sortOrder, [ - FolderViewSortOrder::ASCENDING, - FolderViewSortOrder::DESCENDING, - ]); - - $this->assertInternalType('string', $folderView->viewType); - - $this->assertContains($folderView->viewType, [ - FolderViewType::DEFAULT_, - FolderViewType::ICONS, - FolderViewType::DETAILS, - FolderViewType::THUMBNAILS, - ]); - } - - private function assertHashesProxy($hashes) - { - $this->assertEntityProxy($hashes); - $this->assertInstanceOf(HashesProxy::class, $hashes); - - $this->assertThat( - $hashes->crc32Hash, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - - $this->assertInternalType('string', $hashes->quickXorHash); - $this->assertInternalType('string', $hashes->sha1Hash); - } - - private function assertIdentityProxy($identity) - { - $this->assertEntityProxy($identity); - $this->assertInstanceOf(IdentityProxy::class, $identity); - - $this->assertThat( - $identity->displayName, - $this->logicalOr( - $this->isNull(), - $this->logicalAnd( - $this->isType('string'), - $this->logicalNot($this->equalTo('')) - ) - ) - ); - } - - private function assertIdentitySetProxy($identitySet) - { - $this->assertEntityProxy($identitySet); - $this->assertInstanceOf(IdentitySetProxy::class, $identitySet); - - if ($identitySet->application !== null) { - $this->assertIdentityProxy($identitySet->application); - } - - if ($identitySet->device !== null) { - $this->assertIdentityProxy($identitySet->device); - } - - $this->assertIdentityProxy($identitySet->user); - } - - private function assertItemReferenceProxy($itemReference) - { - $this->assertEntityProxy($itemReference); - $this->assertInstanceOf(ItemReferenceProxy::class, $itemReference); - - $this->assertThat( - $itemReference->id, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - - $this->assertInternalType('string', $itemReference->driveId); - $this->assertInternalType('string', $itemReference->driveType); - - $this->assertContains($itemReference->driveType, [ - DriveType::PERSONAL, - DriveType::BUSINESS, - DriveType::DOCUMENT_LIBRARY, - ]); - - $this->assertThat( - $itemReference->path, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - } - - private function assertPackageProxy($package) - { - $this->assertEntityProxy($package); - $this->assertInstanceOf(PackageProxy::class, $package); - $this->assertInternalType('string', $package->type); - - $this->assertContains($package->type, [ - PackageType::ONENOTE, - ]); - } - - private function assertPermissionProxy($permission) - { - $this->assertEntityProxy($permission); - $this->assertInstanceOf(PermissionProxy::class, $permission); - $this->assertSharingLinkProxy($permission->link); - } - - private function assertQuotaProxy($quota) - { - $this->assertEntityProxy($quota); - $this->assertInstanceOf(QuotaProxy::class, $quota); - $this->assertGreaterThanOrEqual(0, $quota->deleted); - $this->assertGreaterThanOrEqual(0, $quota->remaining); - - $this->assertContains($quota->state, [ - QuotaStatus::NORMAL, - QuotaStatus::NEARING, - QuotaStatus::CRITICAL, - QuotaStatus::EXCEEDED, - ]); - - $this->assertGreaterThanOrEqual(0, $quota->total); - $this->assertGreaterThanOrEqual(0, $quota->used); - } - - private function assertRemoteItemProxy($remoteItem) - { - $this->assertEntityProxy($remoteItem); - $this->assertInstanceOf(RemoteItemProxy::class, $remoteItem); - - if ($remoteItem->createdBy !== null) { - $this->assertIdentitySetProxy($remoteItem->createdBy); - } - - $this->assertThat( - $remoteItem->createdDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - - if ($remoteItem->file !== null) { - $this->assertFileProxy($remoteItem->file); - } - - $this->assertFileSystemInfoProxy($remoteItem->fileSystemInfo); - $this->assertFolderProxy($remoteItem->folder); - - if ($remoteItem->lastModifiedBy !== null) { - $this->assertIdentitySetProxy($remoteItem->lastModifiedBy); - } - - $this->assertThat( - $remoteItem->lastModifiedDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - - $this->assertThat( - $remoteItem->name, - $this->logicalOr( - $this->isNull(), - $this->isType('string') - ) - ); - - if ($remoteItem->package !== null) { - $this->assertPackageProxy($remoteItem->package); - } - - $this->assertItemReferenceProxy($remoteItem->parentReference); - - if ($remoteItem->shared !== null) { - $this->assertSharedProxy($remoteItem->shared); - } - - if ($remoteItem->sharepointIds !== null) { - $this->assertSharepointIdsProxy($remoteItem->sharepointIds); - } - - $this->assertInternalType('int', $remoteItem->size); - $this->assertSpecialFolderProxy($remoteItem->specialFolder); - $this->assertInternalType('string', $remoteItem->webDavUrl); - $this->assertRegExp(self::$uriRegex, $remoteItem->webDavUrl); - $this->assertInternalType('string', $remoteItem->webUrl); - $this->assertRegExp(self::$uriRegex, $remoteItem->webUrl); - } - - private function assertRootProxy($root) - { - $this->assertEntityProxy($root); - $this->assertInstanceOf(RootProxy::class, $root); - } - - private function assertSpecialFolderProxy($specialFolder) - { - $this->assertEntityProxy($specialFolder); - $this->assertInstanceOf(SpecialFolderProxy::class, $specialFolder); - $this->assertInternalType('string', $specialFolder->name); - } - - private function assertSharedProxy($shared) - { - $this->assertEntityProxy($shared); - $this->assertInstanceOf(SharedProxy::class, $shared); - $this->assertIdentitySetProxy($shared->owner); - $this->assertInternalType('string', $shared->scope); - - $this->assertContains($shared->scope, [ - SharedScope::ANONYMOUS, - SharedScope::ORGANIZATION, - SharedScope::USERS, - ]); - - if ($shared->sharedBy !== null) { - $this->assertIdentitySetProxy($shared->sharedBy); - } - - $this->assertThat( - $shared->sharedDateTime, - $this->logicalOr( - $this->isNull(), - $this->isInstanceOf(\DateTime::class) - ) - ); - } - - private function assertSharepointIdsProxy($sharepointIds) - { - $this->assertEntityProxy($sharepointIds); - $this->assertInstanceOf(SharepointIdsProxy::class, $sharepointIds); - $this->assertInternalType('string', $sharepointIds->listId); - $this->assertInternalType('string', $sharepointIds->listItemId); - $this->assertInternalType('string', $sharepointIds->listItemUniqueId); - $this->assertInternalType('string', $sharepointIds->siteId); - $this->assertInternalType('string', $sharepointIds->siteUrl); - $this->assertRegExp(self::$uriRegex, $sharepointIds->siteUrl); - $this->assertInternalType('string', $sharepointIds->webId); - } - - private function assertSharingLinkProxy($sharingLink) - { - $this->assertEntityProxy($sharingLink); - $this->assertInstanceOf(SharingLinkProxy::class, $sharingLink); - - if ($sharingLink->application !== null) { - $this->assertIdentityProxy($sharingLink->application); - } - - if ($sharingLink->scope !== null) { - $this->assertContains($sharingLink->scope, [ - SharingLinkScope::ANONYMOUS, - SharingLinkScope::ORGANIZATION, - ]); - } - - if ($sharingLink->type !== null) { - $this->assertContains($sharingLink->type, [ - SharingLinkType::VIEW, - SharingLinkType::EDIT, - SharingLinkType::EMBED, - ]); - } - - $this->assertRegExp(self::$uriRegex, $sharingLink->webUrl); - } - - private function assertThumbnailProxy($thumbnail) - { - $this->assertEntityProxy($thumbnail); - $this->assertInstanceOf(ThumbnailProxy::class, $thumbnail); - } - - private function assertUploadSessionProxy($uploadSession) - { - $this->assertEntityProxy($uploadSession); - $this->assertInstanceOf(UploadSessionProxy::class, $uploadSession); - $this->assertInstanceOf(\DateTime::class, $uploadSession->expirationDateTime); - $this->assertCount(1, $uploadSession->nextExpectedRanges); - $this->assertEquals('0-', $uploadSession->nextExpectedRanges[0]); - $this->assertRegExp(self::$uriRegex, $uploadSession->uploadUrl); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/AsynchronousTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/AsynchronousTrait.php deleted file mode 100644 index 2bd2f8bc..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/AsynchronousTrait.php +++ /dev/null @@ -1,31 +0,0 @@ - self::$pollingTimeout) { - throw new \Exception("Timed out while waiting for operation to complete: $uri"); - } - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ClientFactoryTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ClientFactoryTrait.php deleted file mode 100644 index 2e7e8576..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ClientFactoryTrait.php +++ /dev/null @@ -1,25 +0,0 @@ -obtainAccessToken($secret, $code); - - return $client; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ConfigurationTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ConfigurationTrait.php deleted file mode 100644 index e6cf4ca2..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ConfigurationTrait.php +++ /dev/null @@ -1,27 +0,0 @@ -httpClient === null) { - $this->httpClient = new GuzzleHttpClient(); - } - - $response = $this->httpClient->get($uri); - $json = (string) $response->getBody(); - - return json_decode($json); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/MicrosoftOauthAuthenticationTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/MicrosoftOauthAuthenticationTrait.php deleted file mode 100644 index f793e6bb..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/MicrosoftOauthAuthenticationTrait.php +++ /dev/null @@ -1,53 +0,0 @@ -get($authorizationRequestUri); - - $nextElementLocator = WebDriverBy::id(self::$nextElementId); - - $usernameElementLocator = WebDriverBy::id(self::$usernameElementId); - self::findElement($webdriver, $usernameElementLocator)->sendKeys($username); - - self::findElement($webdriver, $nextElementLocator)->click(); - - $passwordElementLocator = WebDriverBy::id(self::$passwordElementId); - self::findElement($webdriver, $passwordElementLocator)->sendKeys($password); - - self::findElement($webdriver, $nextElementLocator)->click(); - - $expectedUri = preg_quote($redirectUri); - $isMatching = WebDriverExpectedCondition::urlMatches("|^$expectedUri|"); - $webdriver->wait()->until($isMatching); - } - - private static function findElement(WebDriver $webdriver, WebDriverBy $locator) - { - $isPresent = WebDriverExpectedCondition::presenceOfElementLocated($locator); - $webdriver->wait()->until($isPresent); - - $isVisible = WebDriverExpectedCondition::visibilityOfElementLocated($locator); - $webdriver->wait()->until($isVisible); - - return $webdriver->findElement($locator); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/OauthAuthorizationTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/OauthAuthorizationTrait.php deleted file mode 100644 index 4046448a..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/OauthAuthorizationTrait.php +++ /dev/null @@ -1,102 +0,0 @@ -getLogInUrl(self::$scopes, $redirectUri, $state); - - $webdriverBaseUri = sprintf( - self::$webdriverBaseUriTemplate, - $webdriverBaseUriScheme, - $webdriverBaseUriHost, - $webdriverBaseUriPort - ); - - $root = dirname(__DIR__); - - $command = [ - 'php', - '--server', - sprintf('%s:%d', $redirectUriAddr, $redirectUriPort), - sprintf('%s/Router.php', $root), - ]; - - return self::withProcess($command, function (Process $process) use ($webdriverBaseUri, $authorizationRequestUri, $redirectUri, $username, $password) { - self::withWebdriver($webdriverBaseUri, function (WebDriver $webdriver) use ($authorizationRequestUri, $redirectUri, $username, $password) { - self::authenticate($webdriver, $authorizationRequestUri, $redirectUri, $username, $password); - }); - - foreach ($process as $type => $buffer) { - if ($type == Process::OUT) { - $lines = explode("\n", $buffer); - $values = self::extractRedirectUriQueryStringValues($lines); - - if ($values !== null) { - return $values; - } - } else { - throw new \Exception("Unsupported process output type: $type"); - } - } - - return null; - }); - } - - private static function extractRedirectUriQueryStringValues(array $lines) - { - foreach ($lines as $line) { - $line = json_decode($line, true); - - if ($line !== null || json_last_error() == JSON_ERROR_NONE) { - return $line; - } - } - - return null; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/OnedriveSandboxTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/OnedriveSandboxTrait.php deleted file mode 100644 index 263d06d7..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/OnedriveSandboxTrait.php +++ /dev/null @@ -1,25 +0,0 @@ -createFolder($name); - - try { - return $callback($sandbox); - } catch (\Exception $exception) { - throw $exception; - } finally { - $sandbox->delete(); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ProcessTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ProcessTrait.php deleted file mode 100644 index 4650ce87..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/ProcessTrait.php +++ /dev/null @@ -1,22 +0,0 @@ -start(); - - try { - return $callback($process); - } catch (\Exception $exception) { - throw $exception; - } finally { - $process->stop(); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/WebdriverTrait.php b/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/WebdriverTrait.php deleted file mode 100644 index 4fdda579..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/Traits/WebdriverTrait.php +++ /dev/null @@ -1,32 +0,0 @@ -addArguments(self::$arguments); - $caps = DesiredCapabilities::chrome(); - $caps->setCapability(ChromeOptions::CAPABILITY, $opts); - $webdriver = RemoteWebDriver::create($webdriverBaseUri, $caps); - - try { - return $callback($webdriver); - } catch (\Exception $exception) { - throw $exception; - } finally { - $webdriver->quit(); - } - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/functional/bootstrap.php b/vendor/krizalys/onedrive-php-sdk/test/functional/bootstrap.php deleted file mode 100644 index b32f8aea..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/functional/bootstrap.php +++ /dev/null @@ -1,21 +0,0 @@ - '', - - // A client secret. - // - // It needs to match one of the "Client secrets" values on the - // "Certificate & secrets" page. The full secret values are shown only at - // creation time. - 'SECRET' => '', - - // The account to run the functional test suite from. - // - // DANGER: Any item stored on any drive accessible to this account is - // subject to automated manipulations: it may become damaged or lost. - // DO NOT USE ACCOUNTS WITH ACCESS TO VALUABLE DATA. - - // The username of the account. - 'USERNAME' => '', - - // The password of the account. - 'PASSWORD' => '', - - // The email address to send invites to when running relevant test cases. - // - // OneDrive does not allow sending invite to the email address of the - // account signed in; a different email address must be provided. - 'RECIPIENT' => '', - - // The redirect URI. - // - // It needs to match one of the Web Redirect URIs set on the - // "Authentication" page. - - // The IP address of the redirect URI. - 'REDIRECT_URI_ADDR' => '0.0.0.0', - - // The scheme component of the redirect URI. - 'REDIRECT_URI_SCHEME' => 'http', - - // The host component of the redirect URI. - 'REDIRECT_URI_HOST' => 'localhost', - - // The WebDriver base URI. - - // The scheme component of the WebDriver base URI. - 'WEBDRIVER_BASE_URI_SCHEME' => 'http', - - // The host component of the WebDriver base URI. - 'WEBDRIVER_BASE_URI_HOST' => 'localhost', - - // The port component of the WebDriver base URI. Typically 4444. - 'WEBDRIVER_BASE_URI_PORT' => 4444, -]; diff --git a/vendor/krizalys/onedrive-php-sdk/test/phpunit.xml.dist b/vendor/krizalys/onedrive-php-sdk/test/phpunit.xml.dist deleted file mode 100644 index 069729ed..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/phpunit.xml.dist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - functional - - - unit - - - - - - legacy - - - - - - ../src - - functional - unit - - - - diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/ClientTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/ClientTest.php deleted file mode 100644 index b142ac24..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/ClientTest.php +++ /dev/null @@ -1,992 +0,0 @@ -createMock(Graph::class); - $httpClient = $this->createMock(ClientInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - new Client(null, $graph, $httpClient, $serviceDefinition, []); - } - - public function testGetLogInUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - $httpClient = $this->createMock(ClientInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $scopes = [ - 'test.scope.1', - 'test.scope.2', - ]; - - $actual = $sut->getLogInUrl($scopes, self::REDIRECT_URI, 'Test state'); - $this->assertEquals('https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=' . self::CLIENT_ID . '&response_type=code&redirect_uri=http%3A%2F%2Fho.st%2Fredirect%2Furi&scope=test.scope.1%20test.scope.2&response_mode=query&state=Test%20state', $actual); - } - - public function testGetTokenExpireShouldReturnExpectedValue() - { - \FunctionsMock::$timeCallback = function () { - return strtotime('1999-01-01T00:00:01Z'); - }; - - $options = [ - 'options' => [ - 'state' => (object) [ - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - - 'data' => (object) [ - 'access_token' => 'AcCeSs+ToKeN', - 'expires_in' => 3600, - ], - ], - ], - ], - ]; - - $graph = $this->createMock(Graph::class); - $sut = $this->createClient($graph, $options); - $actual = $sut->getTokenExpire(); - $this->assertSame(3599, $actual); - } - - public function provideGetAccessTokenStatusShouldReturnExpectedValue() - { - return [ - 'Fresh token' => [ - 'time' => strtotime('1999-01-01T00:58:59Z'), - 'expected' => AccessTokenStatus::VALID, - ], - - 'Expiring token' => [ - 'time' => strtotime('1999-01-01T00:59:00Z'), - 'expected' => AccessTokenStatus::EXPIRING, - ], - - 'Expired token' => [ - 'time' => strtotime('1999-01-01T01:00:00Z'), - 'expected' => AccessTokenStatus::EXPIRED, - ], - ]; - } - - /** - * @dataProvider provideGetAccessTokenStatusShouldReturnExpectedValue - */ - public function testGetAccessTokenStatusShouldReturnExpectedValue( - $time, - $expected - ) { - \FunctionsMock::$timeCallback = function () use ($time) { - return $time; - }; - - $options = [ - 'options' => [ - 'state' => (object) [ - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - - 'data' => (object) [ - 'access_token' => 'AcCeSs+ToKeN', - 'expires_in' => 3600, - ], - ], - ], - ], - ]; - - $graph = $this->createMock(Graph::class); - $sut = $this->createClient($graph, $options); - $actual = $sut->getAccessTokenStatus(); - $this->assertEquals($expected, $actual); - } - - public function testObtainAccessTokenShouldSetExpectedState() - { - \FunctionsMock::$timeCallback = function () { - return strtotime('1999-01-01Z'); - }; - - $httpClient = new ClientMock(); - $receivedUri = null; - $receivedOptions = null; - - $httpClient->postCallback = function ($uri, $options) use (&$receivedUri, &$receivedOptions) { - $receivedUri = $uri; - $receivedOptions = $options; - $response = $this->createMock(ResponseInterface::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getBody') - ->willReturn(json_encode([ - 'access_token' => 'AcCeSs+ToKeN', - 'key' => 'value', - ])); - - return $response; - }; - - $options = [ - 'httpClient' => $httpClient, - - 'options' => [ - 'state' => (object) [ - 'redirect_uri' => self::REDIRECT_URI, - - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - 'data' => (object) ['access_token' => 'AcCeSs+ToKeN'], - ], - ], - ], - ]; - - $graph = $this->createMock(Graph::class); - $sut = $this->createClient($graph, $options); - $sut->obtainAccessToken(self::CLIENT_SECRET, self::AUTH_CODE); - $this->assertSame('https://login.microsoftonline.com/common/oauth2/v2.0/token', $receivedUri); - - $this->assertSame( - $receivedOptions, - [ - 'form_params' => [ - 'client_id' => self::CLIENT_ID, - 'redirect_uri' => self::REDIRECT_URI, - 'client_secret' => self::CLIENT_SECRET, - 'code' => self::AUTH_CODE, - 'grant_type' => 'authorization_code', - ], - ] - ); - - $actual = $sut->getState(); - - $this->assertEquals((object) [ - 'redirect_uri' => null, - - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - - 'data' => (object) [ - 'access_token' => 'AcCeSs+ToKeN', - 'key' => 'value', - ], - ], - ], $actual); - } - - public function testRenewAccessTokenShouldSetExpectedState() - { - \FunctionsMock::$timeCallback = function () { - return strtotime('1999-01-01Z'); - }; - - $httpClient = new ClientMock(); - $receivedUri = null; - $receivedOptions = null; - - $httpClient->postCallback = function ($uri, $options) use (&$receivedUri, &$receivedOptions) { - $receivedUri = $uri; - $receivedOptions = $options; - $response = $this->createMock(ResponseInterface::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getBody') - ->willReturn(json_encode([ - 'access_token' => 'AcCeSs+ToKeN', - 'key' => 'value', - ])); - - return $response; - }; - - $options = [ - 'httpClient' => $httpClient, - - 'options' => [ - 'state' => (object) [ - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - - 'data' => (object) [ - 'access_token' => 'AcCeSs+ToKeN', - 'refresh_token' => 'ReFrEsH+ToKeN', - ], - ], - ], - ], - ]; - - $graph = $this->createMock(Graph::class); - $sut = $this->createClient($graph, $options); - $sut->renewAccessToken(self::CLIENT_SECRET); - - $this->assertSame('https://login.microsoftonline.com/common/oauth2/v2.0/token', $receivedUri); - - $this->assertSame( - $receivedOptions, - [ - 'form_params' => [ - 'client_id' => self::CLIENT_ID, - 'client_secret' => self::CLIENT_SECRET, - 'grant_type' => 'refresh_token', - 'refresh_token' => 'ReFrEsH+ToKeN', - ], - ] - ); - - $actual = $sut->getState(); - - $this->assertEquals((object) [ - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - - 'data' => (object) [ - 'access_token' => 'AcCeSs+ToKeN', - 'key' => 'value', - ], - ], - ], $actual); - } - - public function testGetDrivesShouldReturnExpectedValue() - { - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn([$drive]); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createCollectionRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getDrives(); - $this->assertInternalType('array', $actual); - $this->assertCount(1, $actual); - - foreach ($actual as $drive) { - $this->assertInstanceOf(DriveProxy::class, $drive); - $this->assertSame(self::DRIVE_ID, $drive->id); - } - } - - public function testGetMyDriveShouldReturnExpectedValue() - { - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($drive); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getMyDrive(); - $this->assertInstanceOf(DriveProxy::class, $actual); - $this->assertSame(self::DRIVE_ID, $actual->id); - } - - public function testGetDriveByIdShouldReturnExpectedValue() - { - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($drive); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getDriveById(self::DRIVE_ID); - $this->assertInstanceOf(DriveProxy::class, $actual); - $this->assertSame(self::DRIVE_ID, $actual->id); - } - - public function testGetDriveByUserShouldReturnExpectedValue() - { - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($drive); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getDriveByUser(self::USER_ID); - $this->assertInstanceOf(DriveProxy::class, $actual); - $this->assertSame(self::DRIVE_ID, $actual->id); - } - - public function testGetDriveByGroupShouldReturnExpectedValue() - { - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($drive); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getDriveByGroup(self::GROUP_ID); - $this->assertInstanceOf(DriveProxy::class, $actual); - $this->assertSame(self::DRIVE_ID, $actual->id); - } - - public function testGetDriveBySiteShouldReturnExpectedValue() - { - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($drive); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getDriveBySite(self::SITE_ID); - $this->assertInstanceOf(DriveProxy::class, $actual); - $this->assertSame(self::DRIVE_ID, $actual->id); - } - - public function testGetDriveItemByIdShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getDriveItemById(self::DRIVE_ID, self::DRIVE_ITEM_ID); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testGetRootShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getRoot(); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testGetSpecialFolderShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getSpecialFolder(SpecialFolderName::DOCUMENTS); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testGetSharedShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn([$item]); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createCollectionRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getShared(); - - foreach ($actual as $item) { - $this->assertInstanceOf(DriveItemProxy::class, $item); - $this->assertSame(self::DRIVE_ITEM_ID, $item->id); - } - } - - public function testGetRecentShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn([$item]); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createCollectionRequest') - ->willReturn($request); - - $httpClient = $this->createMock(ClientInterface::class); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $serviceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($resourceDefinition); - - $sut = new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - [] - ); - - $actual = $sut->getRecent(); - - foreach ($actual as $item) { - $this->assertInstanceOf(DriveItemProxy::class, $item); - $this->assertSame(self::DRIVE_ITEM_ID, $item->id); - } - } - - private function createClient(Graph $graph, array $options = []) - { - $httpClient = array_key_exists('httpClient', $options) ? - $options['httpClient'] - : $this->createMock(ClientInterface::class); - - $serviceDefinition = $this->createMock(ServiceDefinitionInterface::class); - - $options = array_key_exists('options', $options) ? - $options['options'] - : []; - - return new Client( - self::CLIENT_ID, - $graph, - $httpClient, - $serviceDefinition, - $options - ); - } -} - -class ClientMock extends GuzzleHttpClient -{ - public $postCallback; - - public function post($uri, array $options = []) - { - $function = $this->postCallback; - - return $function($uri, $options); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/OperationDefinitionTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/OperationDefinitionTest.php deleted file mode 100644 index 8903773d..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/OperationDefinitionTest.php +++ /dev/null @@ -1,58 +0,0 @@ -createMock(ParameterDefinitionCollectionInterface::class); - - $parameterDefinitionCollection = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $sut = new OperationDefinition( - $bodyParameterDefinitionCollection, - $parameterDefinitionCollection, - $parameterDefinitionCollection - ); - - $actual = $sut->getBodyParameterDefinitions(); - $this->assertSame($bodyParameterDefinitionCollection, $actual); - } - - public function testGetHeaderParameterDefinitionsShouldReturnExpectedValue() - { - $headerParameterDefinitionCollection = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $parameterDefinitionCollection = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $sut = new OperationDefinition( - $parameterDefinitionCollection, - $headerParameterDefinitionCollection, - $parameterDefinitionCollection - ); - - $actual = $sut->getHeaderParameterDefinitions(); - $this->assertSame($headerParameterDefinitionCollection, $actual); - } - - public function testGetQueryStringParameterDefinitionsShouldReturnExpectedValue() - { - $parameterDefinitionCollection = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $queryStringParameterDefinitionCollection = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $sut = new OperationDefinition( - $parameterDefinitionCollection, - $parameterDefinitionCollection, - $queryStringParameterDefinitionCollection - ); - - $actual = $sut->getQueryStringParameterDefinitions(); - $this->assertSame($queryStringParameterDefinitionCollection, $actual); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/Parameter/AbstractParameterDefinitionTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/Parameter/AbstractParameterDefinitionTest.php deleted file mode 100644 index bc98e803..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/Parameter/AbstractParameterDefinitionTest.php +++ /dev/null @@ -1,51 +0,0 @@ -createMock(InjectorInterface::class); - - $serializer = $this->createMock(SerializerInterface::class); - - $serializer - ->expects($this->once()) - ->method('serialize') - ->with('Value') - ->willReturn('Serialized value'); - - $sut = new TestAbstractParameterDefinition($injector, $serializer); - - $actual = $sut->serializeValue('Value'); - $this->assertSame('Serialized value', $actual); - } - - public function testInjectValueShouldInteractWithItsInjectorAsExpected() - { - $injector = $this->createMock(InjectorInterface::class); - - $injector - ->expects($this->once()) - ->method('inject') - ->with(['key' => 'value'], 'Value') - ->willReturn(['injected_key' => 'Injected value']); - - $serializer = $this->createMock(SerializerInterface::class); - - $sut = new TestAbstractParameterDefinition($injector, $serializer); - - $actual = $sut->injectValue(['key' => 'value'], 'Value'); - $this->assertSame(['injected_key' => 'Injected value'], $actual); - } -} - -class TestAbstractParameterDefinition extends AbstractParameterDefinition -{ -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/ResourceDefinitionTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/ResourceDefinitionTest.php deleted file mode 100644 index cefd250a..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/ResourceDefinitionTest.php +++ /dev/null @@ -1,49 +0,0 @@ -createMock(ResourceDefinitionInterface::class); - - $operationDefinitions = [ - 'name1' => $operationDefinition, - 'name2' => $this->createMock(ResourceDefinitionInterface::class), - ]; - - $resourceDefinitions = [ - 'name' => $this->createMock(OperationDefinitionInterface::class), - ]; - - $sut = new ResourceDefinition($operationDefinitions, $resourceDefinitions); - - $actual = $sut->getOperationDefinition('name1'); - $this->assertSame($operationDefinition, $actual); - } - - public function testGetResourceDefinitionShouldReturnExpectedValue() - { - $operationDefinitions = [ - 'name' => $this->createMock(ResourceDefinitionInterface::class), - ]; - - $resourceDefinition = $this->createMock(OperationDefinitionInterface::class); - - $resourceDefinitions = [ - 'name1' => $resourceDefinition, - 'name2' => $this->createMock(OperationDefinitionInterface::class), - ]; - - $sut = new ResourceDefinition($operationDefinitions, $resourceDefinitions); - - $actual = $sut->getResourceDefinition('name1'); - $this->assertSame($resourceDefinition, $actual); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/ServiceDefinitionTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/ServiceDefinitionTest.php deleted file mode 100644 index ec9e4c3d..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Definition/ServiceDefinitionTest.php +++ /dev/null @@ -1,25 +0,0 @@ -createMock(ResourceDefinitionInterface::class); - - $resourceDefinitions = [ - 'name1' => $resourceDefinition, - 'name2' => $this->createMock(ResourceDefinitionInterface::class), - ]; - - $sut = new ServiceDefinition($resourceDefinitions); - - $actual = $sut->getResourceDefinition('name1'); - $this->assertSame($resourceDefinition, $actual); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/ClientTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/ClientTest.php deleted file mode 100644 index 55cd1c95..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/ClientTest.php +++ /dev/null @@ -1,717 +0,0 @@ - 'bearer', - 'expires_in' => 3600, - 'scope' => 'wl.signin wl.basic wl.contacts_skydrive wl.skydrive_update wl.offline_access', - 'access_token' => "$prefix/AcCeSs+ToKeN", - 'refresh_token' => "$prefix!ReFrEsH*ToKeN", - 'authentication_token' => "$prefix.AuThEnTiCaTiOn_ToKeN", - 'user_id' => 'ffffffffffffffffffffffffffffffff', - ]; - } - - protected function setUp() - { - parent::setUp(); - $this->client = $this->getClient(); - } - - private function getClient(array $options = []) - { - $options = array_merge( - [ - 'client_id' => $this->mockClientId(), - 'state' => (object) [ - 'redirect_uri' => null, - 'token' => (object) [ - 'obtained' => strtotime('1999-01-01Z'), - 'data' => self::mockTokenData(), - ], - ], - 'ssl_verify' => true, - 'ssl_capath' => '/path/to/ca', - ], - $options - ); - - return new Client($options); - } - - private function mockClientId() - { - return '9999999999999999'; - } - - public function provideCreateFolderShouldCallOnceCurlSetoptArrayWithExpectedUrl() - { - return [ - 'Parent omitted' => [ - 'name' => 'test-folder', - 'parentId' => null, - 'description' => 'Some test description', - 'expected' => 'https://apis.live.net/v5.0/me/skydrive', - ], - - 'Parent given' => [ - 'name' => 'test-folder', - 'parentId' => 'path/to/parent', - 'description' => 'Some test description', - 'expected' => 'https://apis.live.net/v5.0/path/to/parent', - ], - ]; - } - - /** - * @dataProvider provideCreateFolderShouldCallOnceCurlSetoptArrayWithExpectedUrl - */ - public function testCreateFolderShouldCallOnceCurlSetoptArrayWithExpectedUrl( - $name, - $parentId, - $description, - $expected - ) { - GlobalNamespace::reset([ - 'curl_setopt_array' => [ - function ($expectation) { - $expectation - ->once() - ->andReturn(true); - }, - function ($expectation) use ($expected) { - $expectation - ->once() - ->withArgs(function ($ch, $options) use ($expected) { - return array_key_exists(CURLOPT_URL, $options) && $options[CURLOPT_URL] == $expected; - }); - }, - ], - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - ])); - }, - ]); - - $this - ->client - ->createFolder($name, $parentId, $description); - } - - public function provideCreateFileShouldCallOnceCurlSetoptArrayWithExpectedUrl() - { - return [ - 'Parent omitted, FAIL name conflict behavior' => [ - 'name' => 'test-file.txt', - 'parentId' => null, - 'content' => 'Some test content', - 'options' => ['name_conflict_behavior' => NameConflictBehavior::FAIL], - 'expected' => 'https://apis.live.net/v5.0/me/skydrive/files/test-file.txt?overwrite=false', - ], - - 'Parent given, FAIL name conflict behavior' => [ - 'name' => 'test-file.txt', - 'parentId' => 'path/to/parent', - 'content' => 'Some test content', - 'options' => ['name_conflict_behavior' => NameConflictBehavior::FAIL], - 'expected' => 'https://apis.live.net/v5.0/path/to/parent/files/test-file.txt?overwrite=false', - ], - - 'Parent omitted, RENAME name conflict behavior' => [ - 'name' => 'test-file.txt', - 'parentId' => null, - 'content' => 'Some test content', - 'options' => ['name_conflict_behavior' => NameConflictBehavior::RENAME], - 'expected' => 'https://apis.live.net/v5.0/me/skydrive/files/test-file.txt?overwrite=ChooseNewName', - ], - - 'Parent given, RENAME name conflict behavior' => [ - 'name' => 'test-file.txt', - 'parentId' => 'path/to/parent', - 'content' => 'Some test content', - 'options' => ['name_conflict_behavior' => NameConflictBehavior::RENAME], - 'expected' => 'https://apis.live.net/v5.0/path/to/parent/files/test-file.txt?overwrite=ChooseNewName', - ], - - 'Parent omitted, REPLACE name conflict behavior' => [ - 'name' => 'test-file.txt', - 'parentId' => null, - 'content' => 'Some test content', - 'options' => ['name_conflict_behavior' => NameConflictBehavior::REPLACE], - 'expected' => 'https://apis.live.net/v5.0/me/skydrive/files/test-file.txt?overwrite=true', - ], - - 'Parent given, REPLACE name conflict behavior' => [ - 'name' => 'test-file.txt', - 'parentId' => 'path/to/parent', - 'content' => 'Some test content', - 'options' => ['name_conflict_behavior' => NameConflictBehavior::REPLACE], - 'expected' => 'https://apis.live.net/v5.0/path/to/parent/files/test-file.txt?overwrite=true', - ], - ]; - } - - /** - * @dataProvider provideCreateFileShouldCallOnceCurlSetoptArrayWithExpectedUrl - */ - public function testCreateFileShouldCallOnceCurlSetoptArrayWithExpectedUrl( - $name, - $parentId, - $content, - $options, - $expected - ) { - GlobalNamespace::reset([ - 'curl_setopt_array' => [ - function ($expectation) { - $expectation - ->once() - ->andReturn(true); - }, - function ($expectation) use ($expected) { - $expectation - ->once() - ->withArgs(function ($ch, $options) use ($expected) { - return array_key_exists(CURLOPT_URL, $options) && $options[CURLOPT_URL] == $expected; - }); - }, - ], - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - ])); - }, - ]); - - $this - ->client - ->createFile($name, $parentId, $content, $options); - } - - public function provideFetchDriveItemShouldReturnExpectedType() - { - return [ - 'File' => [ - 'type' => 'file', - 'expected' => 'File', - ], - - 'Folder' => [ - 'type' => 'folder', - 'expected' => 'Folder', - ], - - 'Album' => [ - 'type' => 'album', - 'expected' => 'Folder', - ], - ]; - } - - /** - * @dataProvider provideFetchDriveItemShouldReturnExpectedType - */ - public function testFetchDriveItemShouldReturnExpectedType($type, $expected) - { - GlobalNamespace::reset([ - 'curl_exec' => function ($expectation) use ($type) { - $expectation->andReturn(json_encode((object) [ - 'type' => $type, - ])); - }, - ]); - - $driveItem = $this - ->client - ->fetchDriveItem('some-resource'); - - $actual = get_class($driveItem); - $this->assertEquals("Krizalys\Onedrive\\$expected", $actual); - } - - public function testFetchRootShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchRoot(); - } - - public function testFetchCameraRollShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/camera_roll?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchCameraRoll(); - } - - public function testFetchDocsShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/my_documents?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchDocs(); - } - - public function testFetchCameraPicsShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/my_photos?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchPics(); - } - - public function testFetchPublicDocsShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/public_documents?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchPublicDocs(); - } - - public function provideFetchPropertiesShouldCallOnceCurlSetoptWithExpectedUrl() - { - return [ - 'Null drive item ID' => [ - 'driveItemId' => null, - 'expected' => 'https://apis.live.net/v5.0/me/skydrive?access_token=OlD%2FAcCeSs%2BToKeN', - ], - - 'Non-null drive item ID' => [ - 'driveItemId' => 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'expected ' => 'https://apis.live.net/v5.0/file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123?access_token=OlD%2FAcCeSs%2BToKeN', - ], - ]; - } - - /** - * @dataProvider provideFetchPropertiesShouldCallOnceCurlSetoptWithExpectedUrl - */ - public function testFetchPropertiesShouldCallOnceCurlSetoptWithExpectedUrl( - $driveItemId, - $expected - ) { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) use ($expected) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) use ($expected) { - return $opt == CURLOPT_URL && $value == $expected; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [])); - }, - ]); - - $this - ->client - ->fetchProperties($driveItemId); - } - - public function provideFetchDriveItemsShouldCallOnceCurlSetoptWithExpectedUrl() - { - return [ - 'Null drive item ID' => [ - 'driveItemId' => null, - 'expected' => 'https://apis.live.net/v5.0/me/skydrive/files?access_token=OlD%2FAcCeSs%2BToKeN', - ], - - 'Non-null drive item ID' => [ - 'driveItemId' => 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'expected' => 'https://apis.live.net/v5.0/file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123/files?access_token=OlD%2FAcCeSs%2BToKeN', - ], - ]; - } - - /** - * @dataProvider provideFetchDriveItemsShouldCallOnceCurlSetoptWithExpectedUrl - */ - public function testFetchDriveItemsShouldCallOnceCurlSetoptWithExpectedUrl( - $driveItemId, - $expected - ) { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) use ($expected) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) use ($expected) { - return $opt == CURLOPT_URL && $value == $expected; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'data' => [], - ])); - }, - ]); - - $this - ->client - ->fetchDriveItems($driveItemId); - } - - public function testUpdateDriveItemShouldCallOnceCurlSetoptArrayWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt_array' => [ - function ($expectation) { - $expectation - ->once() - ->andReturn(true); - }, - function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $options) { - return array_key_exists(CURLOPT_URL, $options) && $options[CURLOPT_URL] == 'https://apis.live.net/v5.0/file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'; - }); - }, - ], - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [])); - }, - ]); - - $this - ->client - ->updateDriveItem('file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - } - - public function provideMoveDriveItemShouldCallOnceCurlSetoptArrayWithExpectedDestinationUrl() - { - return [ - 'Null destination ID' => [ - 'destinationId' => null, - 'expected' => 'me/skydrive', - ], - - 'Non-null destination ID' => [ - 'destinationId' => 'path/to/drive-item', - 'expected' => 'path/to/drive-item', - ], - ]; - } - - /** - * @dataProvider provideMoveDriveItemShouldCallOnceCurlSetoptArrayWithExpectedDestinationUrl - */ - public function testMoveDriveItemShouldCallOnceCurlSetoptArrayWithExpectedDestinationUrl( - $destinationId, - $expected - ) { - GlobalNamespace::reset([ - 'curl_setopt_array' => [ - function ($expectation) { - $expectation - ->once() - ->andReturn(true); - }, - function ($expectation) use ($expected) { - $expectation - ->once() - ->withArgs(function ($ch, $options) use ($expected) { - return array_key_exists(CURLOPT_POSTFIELDS, $options) && json_decode($options[CURLOPT_POSTFIELDS])->destination == $expected; - }); - }, - ], - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [])); - }, - ]); - - $this - ->client - ->moveDriveItem('file.ffffffffffffffff.FFFFFFFFFFFFFFFF!456', $destinationId); - } - - public function provideCopyFileShouldCallOnceCurlSetoptArrayWithExpectedDestinationUrl() - { - return [ - 'Null destination ID' => [ - 'destinationId' => null, - 'expected' => 'me/skydrive', - ], - - 'Non-null destination ID' => [ - 'destinationId' => 'path/to/drive-item', - 'expected' => 'path/to/drive-item', - ], - ]; - } - - /** - * @dataProvider provideCopyFileShouldCallOnceCurlSetoptArrayWithExpectedDestinationUrl - */ - public function testCopyFileShouldCallOnceCurlSetoptArrayWithExpectedDestinationUrl( - $destinationId, - $expected - ) { - GlobalNamespace::reset([ - 'curl_setopt_array' => [ - function ($expectation) { - $expectation - ->once() - ->andReturn(true); - }, - function ($expectation) use ($expected) { - $expectation - ->once() - ->withArgs(function ($ch, $options) use ($expected) { - return array_key_exists(CURLOPT_POSTFIELDS, $options) && json_decode($options[CURLOPT_POSTFIELDS])->destination == $expected; - }); - }, - ], - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [])); - }, - ]); - - $this - ->client - ->copyFile('file.ffffffffffffffff.FFFFFFFFFFFFFFFF!456', $destinationId); - } - - public function testDeleteDriveItemShouldCallOnceCurlSetoptArrayWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt_array' => [ - function ($expectation) { - $expectation - ->once() - ->andReturn(true); - }, - function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $options) { - return array_key_exists(CURLOPT_URL, $options) && $options[CURLOPT_URL] == 'https://apis.live.net/v5.0/file.ffffffffffffffff.FFFFFFFFFFFFFFFF!456?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - ], - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [])); - }, - ]); - - $this - ->client - ->deleteDriveItem('file.ffffffffffffffff.FFFFFFFFFFFFFFFF!456'); - } - - public function testFetchQuotaShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/quota?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchQuota(); - } - - public function testFetchAccountInfoShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchAccountInfo(); - } - - public function testFetchRecentDocsShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/recent_docs?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchRecentDocs(); - } - - public function testFetchSharedShouldCallOnceCurlSetoptWithExpectedUrl() - { - GlobalNamespace::reset([ - 'curl_setopt' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($ch, $opt, $value) { - return $opt == CURLOPT_URL && $value == 'https://apis.live.net/v5.0/me/skydrive/shared?access_token=OlD%2FAcCeSs%2BToKeN'; - }); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(json_encode((object) [ - 'id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - 'type' => 'folder', - ])); - }, - ]); - - $this - ->client - ->fetchShared(); - } - - public function testLogShouldCallOnceLoggerLogWithExpectedArguments() - { - $logger = m::mock('Psr\Log\LoggerInterface'); - - $logger - ->shouldReceive('log') - ->once() - ->with(123, 'Test record', ['key' => 'value']); - - $client = new Client(['logger' => $logger]); - $client->log(123, 'Test record', ['key' => 'value']); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/DriveItemTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/DriveItemTest.php deleted file mode 100644 index ace26a97..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/DriveItemTest.php +++ /dev/null @@ -1,274 +0,0 @@ -mockClient(); - $this->driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $this->client = $client; - } - - private function mockPayloadFolder(array $values = []) - { - return (object) array_merge([ - 'parent_id' => 'folder.0000000000000000.0000000000000000!000', - 'name' => '', - 'description' => '', - 'size' => 0, - 'source' => 'http://localhost/', - 'created_time' => '1970-01-01T00:00:00+0000', - 'updated_time' => '1970-01-01T00:00:00+0000', - ], $values); - } - - private function mockClient(array $expectations = []) - { - $names = implode(',', array_keys($expectations)); - $client = m::mock("Krizalys\Onedrive\Client[$names]"); - - foreach ($expectations as $name => $callback) { - $expectation = $client->shouldReceive($name); - $callback($expectation); - } - - return $client; - } - - public function testIsFolderShouldReturnFalse() - { - $actual = $this - ->driveItem - ->isFolder(); - - $this->assertFalse($actual); - } - - public function testGetIdShouldReturnExpectedValue() - { - $actual = $this - ->driveItem - ->getId(); - - $this->assertEquals('file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', $actual); - } - - public function testGetParentIdWithParentIdShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'parent_id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - ]); - - $actual = $driveItem->getParentId(); - $this->assertEquals('folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', $actual); - } - - public function testGetParentIdWithoutParentIdShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'parent_id' => 'folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getParentId(); - $this->assertEquals('folder.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', $actual); - } - - public function testGetNameWithNameShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'name' => 'test-drive-item', - ]); - - $actual = $driveItem->getName(); - $this->assertEquals('test-drive-item', $actual); - } - - public function testGetNameWithoutNameShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'name' => 'test-drive-item', - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getName(); - $this->assertEquals('test-drive-item', $actual); - } - - public function testGetDescriptionWithDescriptionShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'description' => 'Some test description', - ]); - - $actual = $driveItem->getDescription(); - $this->assertEquals('Some test description', $actual); - } - - public function testGetDescriptionWithoutDescriptionShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'description' => 'Some test description', - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getDescription(); - $this->assertEquals('Some test description', $actual); - } - - public function testGetSizeWithSizeShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'size' => 123, - ]); - - $actual = $driveItem->getSize(); - $this->assertEquals(123, $actual); - } - - public function testGetSizeWithoutSizeShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'size' => 123, - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getSize(); - $this->assertEquals(123, $actual); - } - - public function testGetSourceWithSourceShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'source' => 'http://te.st/123/source', - ]); - - $actual = $driveItem->getSource(); - $this->assertEquals('http://te.st/123/source', $actual); - } - - public function testGetSourceWithoutSourceShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'source' => 'http://te.st/123/source', - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getSource(); - $this->assertEquals('http://te.st/123/source', $actual); - } - - public function testGetCreatedTimeWithCreatedTimeShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'created_time' => '1999-12-31T23:59:59+0000', - ]); - - $actual = $driveItem->getCreatedTime(); - $this->assertEquals(strtotime('1999-12-31T23:59:59+0000'), $actual); - } - - public function testGetCreatedTimeWithoutCreatedTimeShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'created_time' => '1999-12-31T23:59:59+0000', - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getCreatedTime(); - $this->assertEquals(strtotime('1999-12-31T23:59:59+0000'), $actual); - } - - public function testGetUpdatedTimeWithUpdatedTimeShouldReturnExpectedValue() - { - $driveItem = new TestDriveItem($this->client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123', [ - 'updated_time' => '1999-12-31T23:59:59+0000', - ]); - - $actual = $driveItem->getUpdatedTime(); - $this->assertEquals(strtotime('1999-12-31T23:59:59+0000'), $actual); - } - - public function testGetUpdatedTimeWithoutUpdatedTimeShouldReturnExpectedValue() - { - $payload = $this->mockPayloadFolder([ - 'updated_time' => '1999-12-31T23:59:59+0000', - ]); - - $client = $this->mockClient([ - 'fetchProperties' => function ($expectation) use ($payload) { - $expectation->andReturn($payload); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $actual = $driveItem->getUpdatedTime(); - $this->assertEquals(strtotime('1999-12-31T23:59:59+0000'), $actual); - } - - public function testMoveShouldCallOnceClientMoveDriveItem() - { - $client = $this->mockClient([ - 'moveDriveItem' => function ($expectation) { - $expectation->once(); - }, - ]); - - $driveItem = new TestDriveItem($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $driveItem->move('path/to/file'); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/FileTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/FileTest.php deleted file mode 100644 index 251d33bc..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/FileTest.php +++ /dev/null @@ -1,61 +0,0 @@ - (object) [ - 'token' => (object) [ - 'data' => (object) [ - 'access_token' => 'TeSt/AcCeSs+ToKeN', - ], - ], - ], - ], - ]); - - foreach ($expectations as $name => $callback) { - $expectation = $client->shouldReceive($name); - $callback($expectation); - } - - return $client; - } - - public function testFetchContentShouldCallOnceClientApiGet() - { - $client = $this->mockClient([ - 'apiGet' => function ($expectation) { - $expectation->once(); - }, - ]); - - $file = new File($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $file->fetchContent(); - } - - public function testCopyShouldCallOnceClientCopyFile() - { - $client = $this->mockClient([ - 'copyFile' => function ($expectation) { - $expectation->once(); - }, - ]); - - $file = new File($client, 'file.ffffffffffffffff.FFFFFFFFFFFFFFFF!123'); - $file->copy('path/to/file'); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/FolderTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/FolderTest.php deleted file mode 100644 index 6bbf1dfb..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/FolderTest.php +++ /dev/null @@ -1,125 +0,0 @@ -mockClient(); - $this->folder = new Folder($client); - $this->client = $client; - } - - private function mockClient(array $expectations = []) - { - $names = implode(',', array_keys($expectations)); - $client = m::mock("Krizalys\Onedrive\Client[$names]"); - - foreach ($expectations as $name => $callback) { - $expectation = $client->shouldReceive($name); - - if (is_callable($callback)) { - $callback($expectation); - } - } - - return $client; - } - - public function testIsFolderShouldReturnExpectedValue() - { - $actual = $this - ->folder - ->isFolder(); - - $this->assertEquals(true, $actual); - } - - public function testFetchDriveItemsShouldCallOnceClientLogWithExpectedLevel() - { - $client = $this->mockClient([ - 'log' => function ($expectation) { - $expectation - ->once() - ->withArgs(function ($level, $message, $context = []) { - return $level == LogLevel::WARNING; - }); - }, - - 'fetchDriveItems' => null, - ]); - - $folder = new Folder($client); - $folder->fetchDriveItems(); - } - - public function testFetchDriveItemsShouldCallOnceClientFetchDriveItems() - { - $client = $this->mockClient([ - 'log' => null, - - 'fetchDriveItems' => function ($expectation) { - $expectation->once(); - }, - ]); - - $folder = new Folder($client); - $folder->fetchDriveItems(); - } - - public function testFetchChildDriveItemsShouldCallOnceClientFetchDriveItems() - { - $client = $this->mockClient([ - 'fetchDriveItems' => function ($expectation) { - $expectation->once(); - }, - ]); - - $folder = new Folder($client); - $folder->fetchChildDriveItems(); - } - - public function testCreateFolderShouldCallOnceClientCreateFolder() - { - $client = $this->mockClient([ - 'createFolder' => function ($expectation) { - $expectation->once(); - }, - ]); - - $folder = new Folder($client); - $folder->createFolder('test-folder', 'Some test description'); - } - - public function testCreateFileShouldCallOnceClientCreateFile() - { - $client = $this->mockClient([ - 'createFile' => function ($expectation) { - $expectation->once(); - }, - ]); - - $folder = new Folder($client); - - $folder->createFile( - 'test-file', - 'Some test content', - ['name_conflict_behavior', NameConflictBehavior::REPLACE] - ); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/Mock/GlobalNamespace.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/Mock/GlobalNamespace.php deleted file mode 100644 index 986603b8..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/Mock/GlobalNamespace.php +++ /dev/null @@ -1,93 +0,0 @@ - function ($expectation) { - $expectation->andReturn(strtotime('1970-01-01T00:00:00Z')); - }, - - 'fopen' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'fclose' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'fwrite' => function ($expectation) { - $expectation->andReturnUsing(function ($handle, $string, $length = null) { - return $length == null ? strlen($string) : $length; - }); - }, - - 'rewind' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'fstat' => function ($expectation) { - $expectation->andReturn([ - /* Size */ 7 => 0, - ]); - }, - - 'curl_init' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'curl_setopt' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'curl_setopt_array' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'curl_exec' => function ($expectation) { - $expectation->andReturn(true); - }, - - 'curl_getinfo' => function ($expectation) { - $expectation->andReturn([ - 'http_code' => 200, - 'content_type' => 'application/json', - ]); - }, - ], $expectations); - - $functions = m::mock(); - - foreach ($expectations as $name => $callbacks) { - if (!is_array($callbacks)) { - $callbacks = [$callbacks]; - } - - foreach ($callbacks as $callback) { - $expectation = $functions->shouldReceive($name); - - if (is_callable($callback)) { - $callback($expectation); - } - } - } - - self::$functions = $functions; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/functions.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/functions.php deleted file mode 100644 index 086ecfcb..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Legacy/functions.php +++ /dev/null @@ -1,64 +0,0 @@ -fopen( - $filename, - $mode, - $use_include_path, - $context - ); -} - -function fclose($handle) -{ - return GlobalNamespace::$functions->fclose($handle); -} - -function fwrite($handle, $string, $length = null) -{ - return GlobalNamespace::$functions->fwrite($handle, $string, $length); -} - -function rewind($handle) -{ - return GlobalNamespace::$functions->rewind($handle); -} - -function fstat($handle) -{ - return GlobalNamespace::$functions->fstat($handle); -} - -function curl_init($url = null) -{ - return GlobalNamespace::$functions->curl_init($url); -} - -function curl_setopt($ch, $option, $value) -{ - return GlobalNamespace::$functions->curl_setopt($ch, $option, $value); -} - -function curl_setopt_array($ch, array $options) -{ - return GlobalNamespace::$functions->curl_setopt_array($ch, $options); -} - -function curl_exec($ch) -{ - return GlobalNamespace::$functions->curl_exec($ch); -} - -function curl_getinfo($ch, $opt = 0) -{ - return GlobalNamespace::$functions->curl_getinfo($ch, $opt); -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/Injector/FlatInjectorTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/Injector/FlatInjectorTest.php deleted file mode 100644 index 3622c6f5..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/Injector/FlatInjectorTest.php +++ /dev/null @@ -1,36 +0,0 @@ -inject($values, 'Value'); - $this->assertSame($expected, $actual); - } - - public function provideInjectReturnExpectedValueTestCases() - { - return [ - [ - [], - ['key' => 'Value'], - ], - [ - ['existing_key' => 'Existing value'], - [ - 'existing_key' => 'Existing value', - 'key' => 'Value', - ], - ], - ]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/Injector/HierarchicalInjectorTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/Injector/HierarchicalInjectorTest.php deleted file mode 100644 index 4c01d826..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/Injector/HierarchicalInjectorTest.php +++ /dev/null @@ -1,75 +0,0 @@ -inject($values, 'Value'); - $this->assertSame($expected, $actual); - } - - /** - * @expectedException \Exception - * - * @expectedExceptionMessage A hierarchical injector path cannot be empty - */ - public function testInjectWithEmptyPathThrowsExpectedException() - { - $sut = new HierarchicalInjector([]); - $sut->inject([], 'Irrelevant'); - } - - public function provideInjectReturnExpectedValueTestCases() - { - return [ - [ - ['key'], - [], - ['key' => 'Value'], - ], - [ - ['key'], - ['existing_key' => 'Existing value'], - [ - 'existing_key' => 'Existing value', - 'key' => 'Value', - ], - ], - [ - ['key'], - ['key' => 'Existing value'], - ['key' => 'Value'], - ], - [ - ['path', 'to'], - [], - [ - 'path' => ['to' => 'Value'], - ], - ], - [ - ['path', 'to'], - [ - 'existing_key_1' => 'Existing value #1', - 'path' => ['existing_key_2' => 'Existing value #2'], - ], - [ - 'existing_key_1' => 'Existing value #1', - 'path' => [ - 'existing_key_2' => 'Existing value #2', - 'to' => 'Value', - ], - ], - ], - ]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/ParameterBuilderTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/ParameterBuilderTest.php deleted file mode 100644 index c38efe7b..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/ParameterBuilderTest.php +++ /dev/null @@ -1,65 +0,0 @@ -createMock(ParameterDefinitionInterface::class); - - $parameterDefinition1 - ->expects($this->atLeastOnce()) - ->method('serializeValue') - ->willReturnCallback(function ($value) { - return "Serialized $value"; - }); - - $parameterDefinition1 - ->expects($this->atLeastOnce()) - ->method('injectValue') - ->willReturnCallback(function (array $values, $value) { - return $values + [$value => $value]; - }); - - $parameterDefinition2 = $this->createMock(ParameterDefinitionInterface::class); - - $parameterDefinition2 - ->expects($this->atLeastOnce()) - ->method('serializeValue') - ->willReturnCallback(function ($value) { - return "Serialized $value"; - }); - - $parameterDefinition2 - ->expects($this->atLeastOnce()) - ->method('injectValue') - ->willReturnCallback(function (array $values, $value) { - return $values + [$value => $value]; - }); - - $sut = new ParameterBuilder(); - - $actual = $sut->build( - [ - '1' => $parameterDefinition1, - '2' => $parameterDefinition2, - '3' => $parameterDefinition2, - ], - [ - '1' => 1, - '2' => 2, - '4' => 4, - ] - ); - - $this->assertSame([ - 'Serialized 1' => 'Serialized 1', - 'Serialized 2' => 'Serialized 2', - ], $actual); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/ParameterDefinitionCollectionTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/ParameterDefinitionCollectionTest.php deleted file mode 100644 index 392340f2..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Parameter/ParameterDefinitionCollectionTest.php +++ /dev/null @@ -1,28 +0,0 @@ -createMock(ParameterBuilderInterface::class); - - $parameterBuilder - ->expects($this->atLeastOnce()) - ->method('build') - ->willReturnCallback(function (array $_, $options) { - return $options; - }); - - $sut = new ParameterDefinitionCollection($parameterBuilder, []); - - $options = ['name' => 'Value']; - $actual = $sut->buildOptions($options); - $this->assertSame($options, $actual); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/AudioProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/AudioProxyTest.php deleted file mode 100644 index 0adc0de2..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/AudioProxyTest.php +++ /dev/null @@ -1,251 +0,0 @@ -createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getAlbum') - ->willReturn('Test Album'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Album', $sut->album); - } - - public function testAlbumArtistShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getAlbumArtist') - ->willReturn('Test Album Artist'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Album Artist', $sut->albumArtist); - } - - public function testArtistShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getArtist') - ->willReturn('Test Artist'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Artist', $sut->artist); - } - - public function testBitrateShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getBitrate') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->bitrate); - } - - public function testComposersShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getComposers') - ->willReturn('Test Composers'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Composers', $sut->composers); - } - - public function testCopyrightShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getCopyright') - ->willReturn('Test Copyright'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Copyright', $sut->copyright); - } - - public function testDiscShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getDisc') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->disc); - } - - public function testDiscCountCopyrightShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getDiscCount') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->discCount); - } - - public function testDurationShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getDuration') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->duration); - } - - public function testGenreShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getGenre') - ->willReturn('Test Genre'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Genre', $sut->genre); - } - - public function testHasDrmShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getHasDrm') - ->willReturn(true); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(true, $sut->hasDrm); - } - - public function testIsVariableBitrateShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getIsVariableBitrate') - ->willReturn(true); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(true, $sut->isVariableBitrate); - } - - public function testTitleShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getTitle') - ->willReturn('Test Title'); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame('Test Title', $sut->title); - } - - public function testTrackShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getTrack') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->track); - } - - public function testTrackCountShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getTrackCount') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->trackCount); - } - - public function testYearShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $audio - ->expects($this->atLeastOnce()) - ->method('getYear') - ->willReturn(123); - - $sut = new AudioProxy($graph, $audio); - $this->assertSame(123, $sut->year); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/BaseItemProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/BaseItemProxyTest.php deleted file mode 100644 index ba38dbd1..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/BaseItemProxyTest.php +++ /dev/null @@ -1,233 +0,0 @@ -createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getUser') - ->willReturn($identity); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getCreatedBy') - ->willReturn($identitySet); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInstanceOf(IdentitySetProxy::class, $sut->createdBy); - $this->assertSame('Display Name', $sut->createdBy->user->displayName); - } - - public function testCreatedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getCreatedDateTime') - ->willReturn($dateTime); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertSame($dateTime, $sut->createdDateTime); - } - - public function testDescriptionShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getDescription') - ->willReturn('Description'); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInternalType('string', $sut->description); - $this->assertSame('Description', $sut->description); - } - - public function testETagShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getETag') - ->willReturn('1234'); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInternalType('string', $sut->eTag); - $this->assertSame('1234', $sut->eTag); - } - - public function testLastModifiedByShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getUser') - ->willReturn($identity); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getLastModifiedBy') - ->willReturn($identitySet); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInstanceOf(IdentitySetProxy::class, $sut->lastModifiedBy); - $this->assertSame('Display Name', $sut->lastModifiedBy->user->displayName); - } - - public function testLastModifiedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getLastModifiedDateTime') - ->willReturn($dateTime); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertSame($dateTime, $sut->lastModifiedDateTime); - } - - public function testNameShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getName') - ->willReturn('Name'); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInternalType('string', $sut->name); - $this->assertSame('Name', $sut->name); - } - - public function testParentReferenceShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('1234'); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInstanceOf(ItemReferenceProxy::class, $sut->parentReference); - $this->assertSame('1234', $sut->parentReference->id); - } - - public function testWebUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getWebUrl') - ->willReturn('http://w.eb/url'); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInternalType('string', $sut->webUrl); - $this->assertSame('http://w.eb/url', $sut->webUrl); - } - - public function testCreatedByUserShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $user = $this->createMock(User::class); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getCreatedByUser') - ->willReturn($user); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInstanceOf(UserProxy::class, $sut->createdByUser); - } - - public function testLastModifiedByUserShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $user = $this->createMock(User::class); - - $baseItem = $this->createMock(BaseItem::class); - - $baseItem - ->expects($this->atLeastOnce()) - ->method('getLastModifiedByUser') - ->willReturn($user); - - $sut = new BaseItemProxy($graph, $baseItem); - $this->assertInstanceOf(UserProxy::class, $sut->lastModifiedByUser); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/DriveItemProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/DriveItemProxyTest.php deleted file mode 100644 index efb2b287..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/DriveItemProxyTest.php +++ /dev/null @@ -1,1355 +0,0 @@ -createMock(Graph::class); - - $audio = $this->createMock(Audio::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getAudio') - ->willReturn($audio); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(AudioProxy::class, $sut->audio); - } - - public function testContentShouldReturnExpectedValue() - { - $this->testDownloadShouldReturnExpectedValue(); - } - - public function testCTagShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getCTag') - ->willReturn('1234'); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInternalType('string', $sut->cTag); - $this->assertSame('1234', $sut->cTag); - } - - public function testDeletedShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $deleted = $this->createMock(Deleted::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getDeleted') - ->willReturn($deleted); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(DeletedProxy::class, $sut->deleted); - } - - public function testFileShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $file = $this->createMock(File::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getFile') - ->willReturn($file); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(FileProxy::class, $sut->file); - } - - public function testFileSystemInfoShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $fileSystemInfo = $this->createMock(FileSystemInfo::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getFileSystemInfo') - ->willReturn($fileSystemInfo); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(FileSystemInfoProxy::class, $sut->fileSystemInfo); - } - - public function testFolderShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $folder = $this->createMock(Folder::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getFolder') - ->willReturn($folder); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(FolderProxy::class, $sut->folder); - } - - public function testImageShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $image = $this->createMock(Image::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getImage') - ->willReturn($image); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(ImageProxy::class, $sut->image); - } - - public function testLocationShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $geoCoordinates = $this->createMock(GeoCoordinates::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getLocation') - ->willReturn($geoCoordinates); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(GeoCoordinatesProxy::class, $sut->location); - } - - public function testPackageShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $package = $this->createMock(Package::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getPackage') - ->willReturn($package); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(PackageProxy::class, $sut->package); - } - - public function testPhotoShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getPhoto') - ->willReturn($photo); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(PhotoProxy::class, $sut->photo); - } - - public function testPublicationShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $publicationFacet = $this->createMock(PublicationFacet::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getPublication') - ->willReturn($publicationFacet); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(PublicationFacetProxy::class, $sut->publication); - } - - public function testRemoteItemShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getRemoteItem') - ->willReturn($remoteItem); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(RemoteItemProxy::class, $sut->remoteItem); - } - - public function testRootShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $root = $this->createMock(Root::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getRoot') - ->willReturn($root); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(RootProxy::class, $sut->root); - } - - public function testSearchResultShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $searchResult = $this->createMock(SearchResult::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getSearchResult') - ->willReturn($searchResult); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(SearchResultProxy::class, $sut->searchResult); - } - - public function testSharedShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $shared = $this->createMock(Shared::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getShared') - ->willReturn($shared); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(SharedProxy::class, $sut->shared); - } - - public function testSharepointIdsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getSharepointIds') - ->willReturn($sharepointIds); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(SharepointIdsProxy::class, $sut->sharepointIds); - } - - public function testSizeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getSize') - ->willReturn(1234); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInternalType('int', $sut->size); - $this->assertSame(1234, $sut->size); - } - - public function testSpecialFolderShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $specialFolder = $this->createMock(SpecialFolder::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getSpecialFolder') - ->willReturn($specialFolder); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(SpecialFolderProxy::class, $sut->specialFolder); - } - - public function testVideoShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getVideo') - ->willReturn($video); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(VideoProxy::class, $sut->video); - } - - public function testWebDavUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getWebDavUrl') - ->willReturn('http://webd.av/url'); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInternalType('string', $sut->webDavUrl); - $this->assertSame('http://webd.av/url', $sut->webDavUrl); - } - - public function testChildrenShouldReturnExpectedValue() - { - $this->testGetChildrenShouldReturnExpectedValue(); - } - - public function testListItemShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $listItem = $this->createMock(ListItem::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getListItem') - ->willReturn($listItem); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(ListItemProxy::class, $sut->listItem); - } - - public function testPermissionsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $permissions = [ - $this->createMock(Permission::class), - $this->createMock(Permission::class), - ]; - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getPermissions') - ->willReturn($permissions); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $actual = $sut->permissions; - $this->assertInternalType('array', $actual); - $this->assertCount(2, $actual); - - foreach ($actual as $permission) { - $this->assertInstanceOf(PermissionProxy::class, $permission); - } - } - - public function testThumbnailsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $thumbnails = [ - $this->createMock(Thumbnail::class), - $this->createMock(Thumbnail::class), - ]; - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getThumbnails') - ->willReturn($thumbnails); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $actual = $sut->thumbnails; - $this->assertInternalType('array', $actual); - $this->assertCount(2, $actual); - - foreach ($actual as $thumbnail) { - $this->assertInstanceOf(ThumbnailProxy::class, $thumbnail); - } - } - - public function testVersionsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $driveItemVersions = [ - $this->createMock(DriveItemVersion::class), - $this->createMock(DriveItemVersion::class), - ]; - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getVersions') - ->willReturn($driveItemVersions); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $actual = $sut->versions; - $this->assertInternalType('array', $actual); - $this->assertCount(2, $actual); - - foreach ($actual as $driveItemVersion) { - $this->assertInstanceOf(DriveItemVersionProxy::class, $driveItemVersion); - } - } - - public function testWorkbookShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $workbook = $this->createMock(Workbook::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getWorkbook') - ->willReturn($workbook); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $driveItem, $resourceDefinition); - $this->assertInstanceOf(WorkbookProxy::class, $sut->workbook); - } - - public function testCreateFolderShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $itemReference = $this->createMock(ItemReference::class); - - $childItem = $this->createMock(DriveItem::class); - - $childItem - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('201'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($childItem); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $parameterDefinitions = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $parameterDefinitions - ->expects($this->atLeastOnce()) - ->method('buildOptions') - ->willReturn([]); - - $operationDefinition = $this->createMock(OperationDefinitionInterface::class); - - $operationDefinition - ->expects($this->atLeastOnce()) - ->method('getBodyParameterDefinitions') - ->willReturn($parameterDefinitions); - - $childrenResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $childrenResourceDefinition - ->expects($this->atLeastOnce()) - ->method('getOperationDefinition') - ->willReturn($operationDefinition); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $resourceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($childrenResourceDefinition); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->createFolder('Irrelevant', []); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testGetChildrenShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $childItem1 = $this->createMock(DriveItem::class); - - $childItem1 - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('0001'); - - $childItem2 = $this->createMock(DriveItem::class); - - $childItem2 - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('0002'); - - $childItems = [ - $childItem1, - $childItem2, - ]; - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($childItems); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createCollectionRequest') - ->willReturn($request); - - $parameterDefinitions = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $operationDefinition = $this->createMock(OperationDefinitionInterface::class); - - $operationDefinition - ->expects($this->atLeastOnce()) - ->method('getQueryStringParameterDefinitions') - ->willReturn($parameterDefinitions); - - $subresourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $subresourceDefinition - ->expects($this->atLeastOnce()) - ->method('getOperationDefinition') - ->willReturn($operationDefinition); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $resourceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($subresourceDefinition); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->getChildren(); - $this->assertInternalType('array', $actual); - $this->assertCount(2, $actual); - - foreach ($actual as $child) { - $this->assertInstanceOf(DriveItemProxy::class, $child); - } - - $this->assertSame('0001', $actual[0]->id); - $this->assertSame('0002', $actual[1]->id); - } - - public function testUploadShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $itemReference = $this->createMock(ItemReference::class); - - $childItem = $this->createMock(DriveItem::class); - - $childItem - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('201'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($childItem); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('addHeaders')->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $parameterDefinitions = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $operationDefinition = $this->createMock(OperationDefinitionInterface::class); - - $operationDefinition - ->expects($this->atLeastOnce()) - ->method('getHeaderParameterDefinitions') - ->willReturn($parameterDefinitions); - - $operationDefinition - ->expects($this->atLeastOnce()) - ->method('getQueryStringParameterDefinitions') - ->willReturn($parameterDefinitions); - - $contentResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $contentResourceDefinition - ->expects($this->atLeastOnce()) - ->method('getOperationDefinition') - ->willReturn($operationDefinition); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $resourceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($contentResourceDefinition); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->upload('Irrelevant', 'Test content', []); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testStartUploadShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $uploadSession = $this->createMock(UploadSession::class); - - $uploadSession - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::UPLOAD_SESSION_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($uploadSession); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $parameterDefinitions = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $operationDefinition = $this->createMock(OperationDefinitionInterface::class); - - $operationDefinition - ->expects($this->atLeastOnce()) - ->method('getBodyParameterDefinitions') - ->willReturn($parameterDefinitions); - - $createUploadSessionResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $createUploadSessionResourceDefinition - ->expects($this->atLeastOnce()) - ->method('getOperationDefinition') - ->willReturn($operationDefinition); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $resourceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($createUploadSessionResourceDefinition); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->startUpload('Irrelevant', 'Test content', []); - $this->assertInstanceOf(UploadSessionProxy::class, $actual); - $this->assertSame(self::UPLOAD_SESSION_ID, $actual->id); - } - - public function testDownloadShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $stream = $this->createMock(Stream::class); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('setReturnType') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($stream); - - $graph = $this->createMock(Graph::class); - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->download(); - $this->assertSame($stream, $actual); - } - - public function testRenameShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $itemReference = $this->createMock(ItemReference::class); - - $renamedItem = $this->createMock(DriveItem::class); - - $renamedItem - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($renamedItem); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->rename('Irrelevant', []); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame($actual->id, self::DRIVE_ITEM_ID); - } - - public function testMoveShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $itemReference = $this->createMock(ItemReference::class); - - $movedItem = $this->createMock(DriveItem::class); - - $movedItem - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $destinationItem = $this->createMock(DriveItemProxy::class); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($movedItem); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->move($destinationItem, []); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame($actual->id, self::DRIVE_ITEM_ID); - } - - public function testCopyShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $destinationItem = $this->createMock(DriveItemProxy::class); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('202'); - - $response - ->expects($this->atLeastOnce()) - ->method('getHeaders') - ->willReturn(['Location' => ['http://progre.ss/url']]); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->copy($destinationItem, []); - $this->assertInternalType('string', $actual); - $this->assertSame('http://progre.ss/url', $actual); - } - - public function testCreateLinkShouldReturnExpectedValue() - { - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $sharingLink = $this->createMock(SharingLink::class); - - $sharingLink - ->expects($this->atLeastOnce()) - ->method('getScope') - ->willReturn(SharingLinkScope::ANONYMOUS); - - $permission = $this->createMock(Permission::class); - - $permission - ->expects($this->atLeastOnce()) - ->method('getLink') - ->willReturn($sharingLink); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('201'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($permission); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->createLink(SharingLinkType::VIEW, []); - $this->assertInstanceOf(PermissionProxy::class, $actual); - $this->assertInstanceOf(SharingLinkProxy::class, $actual->link); - $this->assertInternalType('string', $actual->link->scope); - $this->assertSame(SharingLinkScope::ANONYMOUS, $actual->link->scope); - } - - public function testInviteShouldReturnExpectedValue() - { - $permissionId1 = '1234'; - $permissionId2 = '5678'; - - $permission1 = $this->createMock(Permission::class); - - $permission1 - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn($permissionId1); - - $permission2 = $this->createMock(Permission::class); - - $permission2 - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn($permissionId2); - - $permissions = [ - $permission1, - $permission2, - ]; - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn(''); - - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($permissions); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createCollectionRequest') - ->willReturn($request); - - $parameterDefinitions = $this->createMock(ParameterDefinitionCollectionInterface::class); - - $parameterDefinitions - ->expects($this->atLeastOnce()) - ->method('buildOptions') - ->willReturn([]); - - $operationDefinition = $this->createMock(OperationDefinitionInterface::class); - - $operationDefinition - ->expects($this->atLeastOnce()) - ->method('getBodyParameterDefinitions') - ->willReturn($parameterDefinitions); - - $inviteResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $inviteResourceDefinition - ->expects($this->atLeastOnce()) - ->method('getOperationDefinition') - ->willReturn($operationDefinition); - - $resourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $resourceDefinition - ->expects($this->atLeastOnce()) - ->method('getResourceDefinition') - ->willReturn($inviteResourceDefinition); - - $sut = new DriveItemProxy($graph, $item, $resourceDefinition); - $actual = $sut->invite([], [], []); - $this->assertInternalType('array', $actual); - $this->assertCount(2, $actual); - - $this->assertInstanceOf(PermissionProxy::class, $actual[0]); - $this->assertSame($permissionId1, $actual[0]->id); - - $this->assertInstanceOf(PermissionProxy::class, $actual[1]); - $this->assertSame($permissionId2, $actual[1]->id); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/DriveProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/DriveProxyTest.php deleted file mode 100644 index b77cd821..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/DriveProxyTest.php +++ /dev/null @@ -1,391 +0,0 @@ -createMock(Graph::class); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getDriveType') - ->willReturn(DriveType::PERSONAL); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInternalType('string', $sut->driveType); - $this->assertSame(DriveType::PERSONAL, $sut->driveType); - } - - public function testOwnerShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getUser') - ->willReturn($identity); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getOwner') - ->willReturn($identitySet); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(IdentitySetProxy::class, $sut->owner); - $this->assertSame('Display Name', $sut->owner->user->displayName); - } - - public function testQuotaShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $quota = $this->createMock(Quota::class); - - $quota - ->expects($this->atLeastOnce()) - ->method('getTotal') - ->willReturn(1234); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getQuota') - ->willReturn($quota); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(QuotaProxy::class, $sut->quota); - $this->assertSame(1234, $sut->quota->total); - } - - public function testSharePointIdsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getSharePointIds') - ->willReturn($sharepointIds); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(SharepointIdsProxy::class, $sut->sharePointIds); - } - - public function testSystemShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $systemFacet = $this->createMock(SystemFacet::class); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getSystem') - ->willReturn($systemFacet); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(SystemFacetProxy::class, $sut->system); - } - - public function testItemsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $item1 = $this->createMock(DriveItem::class); - - $item1 - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('0001'); - - $item2 = $this->createMock(DriveItem::class); - - $item2 - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('0002'); - - $items = [ - $item1, - $item2, - ]; - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getItems') - ->willReturn($items); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $actual = $sut->items; - $this->assertInternalType('array', $actual); - $this->assertCount(2, $actual); - - foreach ($actual as $item) { - $this->assertInstanceOf(DriveItemProxy::class, $item); - } - - $this->assertSame('0001', $actual[0]->id); - $this->assertSame('0002', $actual[1]->id); - } - - public function testListShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $graphList = $this->createMock(GraphList::class); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getList') - ->willReturn($graphList); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(GraphListProxy::class, $sut->list); - } - - public function testRootShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('1234'); - - $drive = $this->createMock(Drive::class); - - $drive - ->expects($this->atLeastOnce()) - ->method('getRoot') - ->willReturn($driveItem); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(DriveItemProxy::class, $sut->root); - $this->assertSame('1234', $sut->root->id); - } - - public function testSpecialShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $driveItem = $this->createMock(DriveItem::class); - - $driveItem - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('1234'); - - $drive = $this->createMock(Drive::class); - $drive - ->expects($this->atLeastOnce()) - ->method('getSpecial') - ->willReturn($driveItem); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $this->assertInstanceOf(DriveItemProxy::class, $sut->special); - $this->assertSame('1234', $sut->special->id); - } - - public function testGetDriveItemByIdShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $drive = $this->createMock(Drive::class); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $actual = $sut->getDriveItemById('1234'); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testGetDriveItemByPathShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $drive = $this->createMock(Drive::class); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $actual = $sut->getDriveItemByPath('/path'); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } - - public function testGetRootShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn(self::DRIVE_ITEM_ID); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->willReturn('200'); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $drive = $this->createMock(Drive::class); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new DriveProxy($graph, $drive, $driveItemResourceDefinition); - $actual = $sut->getRoot(); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame(self::DRIVE_ITEM_ID, $actual->id); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/EntityProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/EntityProxyTest.php deleted file mode 100644 index fc10582c..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/EntityProxyTest.php +++ /dev/null @@ -1,27 +0,0 @@ -createMock(Graph::class); - - $entity = $this->createMock(Entity::class); - - $entity - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('1234'); - - $sut = new EntityProxy($graph, $entity); - $this->assertInternalType('string', $sut->id); - $this->assertSame('1234', $sut->id); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FileProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FileProxyTest.php deleted file mode 100644 index 7f80860d..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FileProxyTest.php +++ /dev/null @@ -1,52 +0,0 @@ -createMock(Graph::class); - - $hashes = $this->createMock(Hashes::class); - - $hashes - ->expects($this->atLeastOnce()) - ->method('getCrc32Hash') - ->willReturn('1234'); - - $file = $this->createMock(File::class); - - $file - ->expects($this->atLeastOnce()) - ->method('getHashes') - ->willReturn($hashes); - - $sut = new FileProxy($graph, $file); - $this->assertInstanceOf(HashesProxy::class, $sut->hashes); - $this->assertSame('1234', $sut->hashes->crc32Hash); - } - - public function testMimeTypeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $file = $this->createMock(File::class); - - $file - ->expects($this->atLeastOnce()) - ->method('getMimeType') - ->willReturn('mime/type'); - - $sut = new FileProxy($graph, $file); - $this->assertInternalType('string', $sut->mimeType); - $this->assertSame('mime/type', $sut->mimeType); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FileSystemInfoProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FileSystemInfoProxyTest.php deleted file mode 100644 index e6d4c3f3..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FileSystemInfoProxyTest.php +++ /dev/null @@ -1,62 +0,0 @@ -createMock(Graph::class); - - $dateTime = new \DateTime(); - - $fileSystemInfo = $this->createMock(FileSystemInfo::class); - - $fileSystemInfo - ->expects($this->atLeastOnce()) - ->method('getCreatedDateTime') - ->willReturn($dateTime); - - $sut = new FileSystemInfoProxy($graph, $fileSystemInfo); - $this->assertSame($dateTime, $sut->createdDateTime); - } - - public function testLastAccessedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $fileSystemInfo = $this->createMock(FileSystemInfo::class); - - $fileSystemInfo - ->expects($this->atLeastOnce()) - ->method('getLastAccessedDateTime') - ->willReturn($dateTime); - - $sut = new FileSystemInfoProxy($graph, $fileSystemInfo); - $this->assertSame($dateTime, $sut->lastAccessedDateTime); - } - - public function testLastModifiedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $fileSystemInfo = $this->createMock(FileSystemInfo::class); - - $fileSystemInfo - ->expects($this->atLeastOnce()) - ->method('getLastModifiedDateTime') - ->willReturn($dateTime); - - $sut = new FileSystemInfoProxy($graph, $fileSystemInfo); - $this->assertSame($dateTime, $sut->lastModifiedDateTime); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FolderProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FolderProxyTest.php deleted file mode 100644 index 810221b5..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FolderProxyTest.php +++ /dev/null @@ -1,52 +0,0 @@ -createMock(Graph::class); - - $folder = $this->createMock(Folder::class); - - $folder - ->expects($this->atLeastOnce()) - ->method('getChildCount') - ->willReturn(1); - - $sut = new FolderProxy($graph, $folder); - $this->assertInternalType('int', $sut->childCount); - $this->assertSame(1, $sut->childCount); - } - - public function testViewShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $folderView = $this->createMock(FolderView::class); - - $folderView - ->expects($this->atLeastOnce()) - ->method('getSortBy') - ->willReturn('sort_by'); - - $folder = $this->createMock(Folder::class); - - $folder - ->expects($this->atLeastOnce()) - ->method('getView') - ->willReturn($folderView); - - $sut = new FolderProxy($graph, $folder); - $this->assertInstanceOf(FolderViewProxy::class, $sut->view); - $this->assertSame('sort_by', $sut->view->sortBy); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FolderViewProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FolderViewProxyTest.php deleted file mode 100644 index b3696e87..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/FolderViewProxyTest.php +++ /dev/null @@ -1,59 +0,0 @@ -createMock(Graph::class); - - $folderView = $this->createMock(FolderView::class); - - $folderView - ->expects($this->atLeastOnce()) - ->method('getSortBy') - ->willReturn('sort_by'); - - $sut = new FolderViewProxy($graph, $folderView); - $this->assertInternalType('string', $sut->sortBy); - $this->assertSame('sort_by', $sut->sortBy); - } - - public function testSortOrderShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $folderView = $this->createMock(FolderView::class); - - $folderView - ->expects($this->atLeastOnce()) - ->method('getSortOrder') - ->willReturn('sort_order'); - - $sut = new FolderViewProxy($graph, $folderView); - $this->assertInternalType('string', $sut->sortOrder); - $this->assertSame('sort_order', $sut->sortOrder); - } - - public function testViewTypeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $folderView = $this->createMock(FolderView::class); - - $folderView - ->expects($this->atLeastOnce()) - ->method('getViewType') - ->willReturn('view_type'); - - $sut = new FolderViewProxy($graph, $folderView); - $this->assertInternalType('string', $sut->viewType); - $this->assertSame('view_type', $sut->viewType); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/HashesProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/HashesProxyTest.php deleted file mode 100644 index 80d1498e..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/HashesProxyTest.php +++ /dev/null @@ -1,59 +0,0 @@ -createMock(Graph::class); - - $hashes = $this->createMock(Hashes::class); - - $hashes - ->expects($this->atLeastOnce()) - ->method('getCrc32Hash') - ->willReturn('1234'); - - $sut = new HashesProxy($graph, $hashes); - $this->assertInternalType('string', $sut->crc32Hash); - $this->assertSame('1234', $sut->crc32Hash); - } - - public function testQuickXorHashShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $hashes = $this->createMock(Hashes::class); - - $hashes - ->expects($this->atLeastOnce()) - ->method('getQuickXorHash') - ->willReturn('1234'); - - $sut = new HashesProxy($graph, $hashes); - $this->assertInternalType('string', $sut->quickXorHash); - $this->assertSame('1234', $sut->quickXorHash); - } - - public function testSha1HashShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $hashes = $this->createMock(Hashes::class); - - $hashes - ->expects($this->atLeastOnce()) - ->method('getSha1Hash') - ->willReturn('1234'); - - $sut = new HashesProxy($graph, $hashes); - $this->assertInternalType('string', $sut->sha1Hash); - $this->assertSame('1234', $sut->sha1Hash); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/IdentityProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/IdentityProxyTest.php deleted file mode 100644 index 18db9099..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/IdentityProxyTest.php +++ /dev/null @@ -1,27 +0,0 @@ -createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $sut = new IdentityProxy($graph, $identity); - $this->assertInternalType('string', $sut->displayName); - $this->assertSame('Display Name', $sut->displayName); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/IdentitySetProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/IdentitySetProxyTest.php deleted file mode 100644 index 09e407ab..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/IdentitySetProxyTest.php +++ /dev/null @@ -1,82 +0,0 @@ -createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getApplication') - ->willReturn($identity); - - $sut = new IdentitySetProxy($graph, $identitySet); - $this->assertInstanceOf(IdentityProxy::class, $sut->application); - $this->assertSame('Display Name', $sut->application->displayName); - } - - public function testDeviceShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getDevice') - ->willReturn($identity); - - $sut = new IdentitySetProxy($graph, $identitySet); - $this->assertInstanceOf(IdentityProxy::class, $sut->device); - $this->assertSame('Display Name', $sut->device->displayName); - } - - public function testUserShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getUser') - ->willReturn($identity); - - $sut = new IdentitySetProxy($graph, $identitySet); - $this->assertInstanceOf(IdentityProxy::class, $sut->user); - $this->assertSame('Display Name', $sut->user->displayName); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/ImageProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/ImageProxyTest.php deleted file mode 100644 index b1d1d189..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/ImageProxyTest.php +++ /dev/null @@ -1,41 +0,0 @@ -createMock(Graph::class); - - $image = $this->createMock(Image::class); - - $image - ->expects($this->atLeastOnce()) - ->method('getHeight') - ->willReturn(123); - - $sut = new ImageProxy($graph, $image); - $this->assertSame(123, $sut->height); - } - - public function testWidthShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $image = $this->createMock(Image::class); - - $image - ->expects($this->atLeastOnce()) - ->method('getWidth') - ->willReturn(123); - - $sut = new ImageProxy($graph, $image); - $this->assertSame(123, $sut->width); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/ItemReferenceProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/ItemReferenceProxyTest.php deleted file mode 100644 index 1d74b75d..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/ItemReferenceProxyTest.php +++ /dev/null @@ -1,76 +0,0 @@ -createMock(Graph::class); - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('1234'); - - $sut = new ItemReferenceProxy($graph, $itemReference); - $this->assertInternalType('string', $sut->id); - $this->assertSame('1234', $sut->id); - } - - public function testDriveIdShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveId') - ->willReturn('1234'); - - $sut = new ItemReferenceProxy($graph, $itemReference); - $this->assertInternalType('string', $sut->driveId); - $this->assertSame('1234', $sut->driveId); - } - - public function testDriveTypeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getDriveType') - ->willReturn(DriveType::PERSONAL); - - $sut = new ItemReferenceProxy($graph, $itemReference); - $this->assertInternalType('string', $sut->driveType); - $this->assertSame(DriveType::PERSONAL, $sut->driveType); - } - - public function testPathShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getPath') - ->willReturn('/path'); - - $sut = new ItemReferenceProxy($graph, $itemReference); - $this->assertInternalType('string', $sut->path); - $this->assertSame('/path', $sut->path); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/PackageProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/PackageProxyTest.php deleted file mode 100644 index 5206f6f7..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/PackageProxyTest.php +++ /dev/null @@ -1,28 +0,0 @@ -createMock(Graph::class); - - $package = $this->createMock(Package::class); - - $package - ->expects($this->atLeastOnce()) - ->method('getType') - ->willReturn(PackageType::ONENOTE); - - $sut = new PackageProxy($graph, $package); - $this->assertInternalType('string', $sut->type); - $this->assertSame(PackageType::ONENOTE, $sut->type); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/PhotoProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/PhotoProxyTest.php deleted file mode 100644 index 369855fb..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/PhotoProxyTest.php +++ /dev/null @@ -1,133 +0,0 @@ -createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getCameraMake') - ->willReturn('Test Camera Make'); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame('Test Camera Make', $sut->cameraMake); - } - - public function testCameraModelShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getCameraModel') - ->willReturn('Test Camera Model'); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame('Test Camera Model', $sut->cameraModel); - } - - public function testExposureDenominatorShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getExposureDenominator') - ->willReturn(1.23); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame(1.23, $sut->exposureDenominator); - } - - public function testExposureNumeratorShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getExposureNumerator') - ->willReturn(1.23); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame(1.23, $sut->exposureNumerator); - } - - public function testFNumberShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getFNumber') - ->willReturn(1.23); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame(1.23, $sut->fNumber); - } - - public function testFocalLengthShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getFocalLength') - ->willReturn(1.23); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame(1.23, $sut->focalLength); - } - - public function testIsoShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getIso') - ->willReturn(123); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame(123, $sut->iso); - } - - public function testTakenDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $photo = $this->createMock(Photo::class); - - $photo - ->expects($this->atLeastOnce()) - ->method('getTakenDateTime') - ->willReturn($dateTime); - - $sut = new PhotoProxy($graph, $photo); - $this->assertSame($dateTime, $sut->takenDateTime); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/QuotaProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/QuotaProxyTest.php deleted file mode 100644 index 451e96c9..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/QuotaProxyTest.php +++ /dev/null @@ -1,91 +0,0 @@ -createMock(Graph::class); - - $quota = $this->createMock(Quota::class); - - $quota - ->expects($this->atLeastOnce()) - ->method('getDeleted') - ->willReturn(1234); - - $sut = new QuotaProxy($graph, $quota); - $this->assertInternalType('int', $sut->deleted); - $this->assertSame(1234, $sut->deleted); - } - - public function testRemainingShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $quota = $this->createMock(Quota::class); - - $quota - ->expects($this->atLeastOnce()) - ->method('getRemaining') - ->willReturn(1234); - - $sut = new QuotaProxy($graph, $quota); - $this->assertInternalType('int', $sut->remaining); - $this->assertSame(1234, $sut->remaining); - } - - public function testStateShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $quota = $this->createMock(Quota::class); - - $quota - ->expects($this->atLeastOnce()) - ->method('getState') - ->willReturn(1234); - - $sut = new QuotaProxy($graph, $quota); - $this->assertInternalType('int', $sut->state); - $this->assertSame(1234, $sut->state); - } - - public function testTotalShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $quota = $this->createMock(Quota::class); - - $quota - ->expects($this->atLeastOnce()) - ->method('getTotal') - ->willReturn(1234); - - $sut = new QuotaProxy($graph, $quota); - $this->assertInternalType('int', $sut->total); - $this->assertSame(1234, $sut->total); - } - - public function testUsedShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $quota = $this->createMock(Quota::class); - - $quota - ->expects($this->atLeastOnce()) - ->method('getUsed') - ->willReturn(1234); - - $sut = new QuotaProxy($graph, $quota); - $this->assertInternalType('int', $sut->used); - $this->assertSame(1234, $sut->used); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/RemoteItemProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/RemoteItemProxyTest.php deleted file mode 100644 index ed5129f5..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/RemoteItemProxyTest.php +++ /dev/null @@ -1,330 +0,0 @@ -createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getUser') - ->willReturn($identity); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getCreatedBy') - ->willReturn($identitySet); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(IdentitySetProxy::class, $sut->createdBy); - $this->assertSame('Display Name', $sut->createdBy->user->displayName); - } - - public function testCreatedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getCreatedDateTime') - ->willReturn($dateTime); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertSame($dateTime, $sut->createdDateTime); - } - - public function testFileShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $file = $this->createMock(File::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getFile') - ->willReturn($file); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(FileProxy::class, $sut->file); - } - - public function testFileSystemInfoShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $fileSystemInfo = $this->createMock(FileSystemInfo::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getFileSystemInfo') - ->willReturn($fileSystemInfo); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(FileSystemInfoProxy::class, $sut->fileSystemInfo); - } - - public function testFolderShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $folder = $this->createMock(Folder::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getFolder') - ->willReturn($folder); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(FolderProxy::class, $sut->folder); - } - - public function testLastModifiedByShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getUser') - ->willReturn($identity); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getLastModifiedBy') - ->willReturn($identitySet); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(IdentitySetProxy::class, $sut->lastModifiedBy); - $this->assertSame('Display Name', $sut->lastModifiedBy->user->displayName); - } - - public function testLastModifiedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getLastModifiedDateTime') - ->willReturn($dateTime); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertSame($dateTime, $sut->lastModifiedDateTime); - } - - public function testNameShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getName') - ->willReturn('Name'); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInternalType('string', $sut->name); - $this->assertSame('Name', $sut->name); - } - - public function testPackageShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $package = $this->createMock(Package::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getPackage') - ->willReturn($package); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(PackageProxy::class, $sut->package); - } - - public function testParentReferenceShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $itemReference = $this->createMock(ItemReference::class); - - $itemReference - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('1234'); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getParentReference') - ->willReturn($itemReference); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(ItemReferenceProxy::class, $sut->parentReference); - $this->assertSame('1234', $sut->parentReference->id); - } - - public function testSharedShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $shared = $this->createMock(Shared::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getShared') - ->willReturn($shared); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(SharedProxy::class, $sut->shared); - } - - public function testSharepointIdsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getSharepointIds') - ->willReturn($sharepointIds); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(SharepointIdsProxy::class, $sut->sharepointIds); - } - - public function testSizeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getSize') - ->willReturn(1234); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInternalType('int', $sut->size); - $this->assertSame(1234, $sut->size); - } - - public function testSpecialFolderShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $specialFolder = $this->createMock(SpecialFolder::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getSpecialFolder') - ->willReturn($specialFolder); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInstanceOf(SpecialFolderProxy::class, $sut->specialFolder); - } - - public function testWebDavUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getWebDavUrl') - ->willReturn('http://webd.av/url'); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInternalType('string', $sut->webDavUrl); - $this->assertSame('http://webd.av/url', $sut->webDavUrl); - } - - public function testWebUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $remoteItem = $this->createMock(RemoteItem::class); - - $remoteItem - ->expects($this->atLeastOnce()) - ->method('getWebUrl') - ->willReturn('http://w.eb/url'); - - $sut = new RemoteItemProxy($graph, $remoteItem); - $this->assertInternalType('string', $sut->webUrl); - $this->assertSame('http://w.eb/url', $sut->webUrl); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharedProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharedProxyTest.php deleted file mode 100644 index 47690ccd..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharedProxyTest.php +++ /dev/null @@ -1,107 +0,0 @@ -createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getApplication') - ->willReturn($identity); - - $shared = $this->createMock(Shared::class); - - $shared - ->expects($this->atLeastOnce()) - ->method('getOwner') - ->willReturn($identitySet); - - $sut = new SharedProxy($graph, $shared); - $this->assertInternalType('string', $sut->owner->application->displayName); - $this->assertSame('Display Name', $sut->owner->application->displayName); - } - - public function testScopeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $shared = $this->createMock(Shared::class); - - $shared - ->expects($this->atLeastOnce()) - ->method('getScope') - ->willReturn(SharedScope::ANONYMOUS); - - $sut = new SharedProxy($graph, $shared); - $this->assertInternalType('string', $sut->scope); - $this->assertSame(SharedScope::ANONYMOUS, $sut->scope); - } - - public function testSharedByShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $identitySet = $this->createMock(IdentitySet::class); - - $identitySet - ->expects($this->atLeastOnce()) - ->method('getApplication') - ->willReturn($identity); - - $shared = $this->createMock(Shared::class); - - $shared - ->expects($this->atLeastOnce()) - ->method('getSharedBy') - ->willReturn($identitySet); - - $sut = new SharedProxy($graph, $shared); - $this->assertInternalType('string', $sut->sharedBy->application->displayName); - $this->assertSame('Display Name', $sut->sharedBy->application->displayName); - } - - public function testSharedDateTimeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $dateTime = new \DateTime(); - - $shared = $this->createMock(Shared::class); - - $shared - ->expects($this->atLeastOnce()) - ->method('getSharedDateTime') - ->willReturn($dateTime); - - $sut = new SharedProxy($graph, $shared); - $this->assertSame($dateTime, $sut->sharedDateTime); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharepointIdsProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharepointIdsProxyTest.php deleted file mode 100644 index 79434505..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharepointIdsProxyTest.php +++ /dev/null @@ -1,107 +0,0 @@ -createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $sharepointIds - ->expects($this->atLeastOnce()) - ->method('getListId') - ->willReturn('1234'); - - $sut = new SharepointIdsProxy($graph, $sharepointIds); - $this->assertInternalType('string', $sut->listId); - $this->assertSame('1234', $sut->listId); - } - - public function testListItemIdShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $sharepointIds - ->expects($this->atLeastOnce()) - ->method('getListItemId') - ->willReturn('1234'); - - $sut = new SharepointIdsProxy($graph, $sharepointIds); - $this->assertInternalType('string', $sut->listItemId); - $this->assertSame('1234', $sut->listItemId); - } - - public function testListItemUniqueIdShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $sharepointIds - ->expects($this->atLeastOnce()) - ->method('getListItemUniqueId') - ->willReturn('1234'); - - $sut = new SharepointIdsProxy($graph, $sharepointIds); - $this->assertInternalType('string', $sut->listItemUniqueId); - $this->assertSame('1234', $sut->listItemUniqueId); - } - - public function testSiteIdShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $sharepointIds - ->expects($this->atLeastOnce()) - ->method('getSiteId') - ->willReturn('1234'); - - $sut = new SharepointIdsProxy($graph, $sharepointIds); - $this->assertInternalType('string', $sut->siteId); - $this->assertSame('1234', $sut->siteId); - } - - public function testSiteUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $sharepointIds - ->expects($this->atLeastOnce()) - ->method('getSiteUrl') - ->willReturn('http://si.te/url'); - - $sut = new SharepointIdsProxy($graph, $sharepointIds); - $this->assertInternalType('string', $sut->siteUrl); - $this->assertSame('http://si.te/url', $sut->siteUrl); - } - - public function testWebIdShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharepointIds = $this->createMock(SharepointIds::class); - - $sharepointIds - ->expects($this->atLeastOnce()) - ->method('getWebId') - ->willReturn('1234'); - - $sut = new SharepointIdsProxy($graph, $sharepointIds); - $this->assertInternalType('string', $sut->webId); - $this->assertSame('1234', $sut->webId); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharingLinkProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharingLinkProxyTest.php deleted file mode 100644 index 002b59d6..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SharingLinkProxyTest.php +++ /dev/null @@ -1,86 +0,0 @@ -createMock(Graph::class); - - $identity = $this->createMock(Identity::class); - - $identity - ->expects($this->atLeastOnce()) - ->method('getDisplayName') - ->willReturn('Display Name'); - - $sharingLink = $this->createMock(SharingLink::class); - - $sharingLink - ->expects($this->atLeastOnce()) - ->method('getApplication') - ->willReturn($identity); - - $sut = new SharingLinkProxy($graph, $sharingLink); - $this->assertInstanceOf(IdentityProxy::class, $sut->application); - $this->assertSame('Display Name', $sut->application->displayName); - } - - public function testScopeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharingLink = $this->createMock(SharingLink::class); - - $sharingLink - ->expects($this->atLeastOnce()) - ->method('getScope') - ->willReturn(SharingLinkScope::ANONYMOUS); - - $sut = new SharingLinkProxy($graph, $sharingLink); - $this->assertInternalType('string', $sut->scope); - $this->assertSame(SharingLinkScope::ANONYMOUS, $sut->scope); - } - - public function testTypeShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharingLink = $this->createMock(SharingLink::class); - - $sharingLink - ->expects($this->atLeastOnce()) - ->method('getType') - ->willReturn(SharingLinkType::VIEW); - - $sut = new SharingLinkProxy($graph, $sharingLink); - $this->assertInternalType('string', $sut->type); - $this->assertSame(SharingLinkType::VIEW, $sut->type); - } - - public function testWebUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $sharingLink = $this->createMock(SharingLink::class); - - $sharingLink - ->expects($this->atLeastOnce()) - ->method('getWebUrl') - ->willReturn('http://ho.st/web-url'); - - $sut = new SharingLinkProxy($graph, $sharingLink); - $this->assertInternalType('string', $sut->webUrl); - $this->assertSame('http://ho.st/web-url', $sut->webUrl); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SpecialFolderProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SpecialFolderProxyTest.php deleted file mode 100644 index e62bcc8c..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/SpecialFolderProxyTest.php +++ /dev/null @@ -1,27 +0,0 @@ -createMock(Graph::class); - - $specialFolder = $this->createMock(SpecialFolder::class); - - $specialFolder - ->expects($this->atLeastOnce()) - ->method('getName') - ->willReturn('Name'); - - $sut = new SpecialFolderProxy($graph, $specialFolder); - $this->assertInternalType('string', $sut->name); - $this->assertSame('Name', $sut->name); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/UploadSessionProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/UploadSessionProxyTest.php deleted file mode 100644 index 969c3122..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/UploadSessionProxyTest.php +++ /dev/null @@ -1,428 +0,0 @@ -createMock(Graph::class); - - $dateTime = new \DateTime(); - - $uploadSession = $this->createMock(UploadSession::class); - - $uploadSession - ->expects($this->atLeastOnce()) - ->method('getExpirationDateTime') - ->willReturn($dateTime); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - '', - $driveItemResourceDefinition - ); - - $this->assertSame($dateTime, $sut->expirationDateTime); - } - - public function testNextExpectedRangesShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $uploadSession = $this->createMock(UploadSession::class); - - $uploadSession - ->expects($this->atLeastOnce()) - ->method('getNextExpectedRanges') - ->willReturn(['0-1', '2-3']); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - '', - $driveItemResourceDefinition - ); - - $this->assertInternalType('array', $sut->nextExpectedRanges); - $this->assertSame(['0-1', '2-3'], $sut->nextExpectedRanges); - } - - public function testUploadUrlShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $uploadSession = $this->createMock(UploadSession::class); - - $uploadSession - ->expects($this->atLeastOnce()) - ->method('getUploadUrl') - ->willReturn('http://uplo.ad/url'); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - '', - $driveItemResourceDefinition - ); - - $this->assertInternalType('string', $sut->uploadUrl); - $this->assertSame('http://uplo.ad/url', $sut->uploadUrl); - } - - public function testCompleteWithStringContentShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('123abc'); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->will($this->onConsecutiveCalls(202, 201)); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('addHeaders') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $uploadSession = $this->createMock(UploadSession::class); - - $content = str_repeat('1', 327680 + 1); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $options = [ - 'range_size' => 327680, - ]; - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - $content, - $driveItemResourceDefinition, - $options - ); - - $actual = $sut->complete(); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame('123abc', $actual->id); - } - - public function testCompleteWithStreamContentShouldReturnExpectedValue() - { - $item = $this->createMock(DriveItem::class); - - $item - ->expects($this->atLeastOnce()) - ->method('getId') - ->willReturn('123abc'); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->will($this->onConsecutiveCalls(202, 201)); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('addHeaders') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $uploadSession = $this->createMock(UploadSession::class); - - $content = Psr7\stream_for(str_repeat('1', 327680 + 1)); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $options = [ - 'range_size' => 327680, - ]; - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - $content, - $driveItemResourceDefinition, - $options - ); - - $actual = $sut->complete(); - $this->assertInstanceOf(DriveItemProxy::class, $actual); - $this->assertSame('123abc', $actual->id); - } - - public function testCompleteContentShouldSendExpectedHeaders() - { - $item = $this->createMock(DriveItem::class); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->will($this->onConsecutiveCalls(202, 201)); - - $response - ->expects($this->atLeastOnce()) - ->method('getResponseAsObject') - ->willReturn($item); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $request - ->expects($this->exactly(2)) - ->method('addHeaders') - ->withConsecutive( - [$this->callback(function ($headers) { - return - $headers['Content-Length'] == '655360' - && $headers['Content-Range'] == 'bytes 0-655359/655361'; - })], - [$this->callback(function ($headers) { - return - $headers['Content-Length'] == '1' - && $headers['Content-Range'] == 'bytes 655360-655360/655361'; - })] - ) - ->willReturnSelf(); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $uploadSession = $this->createMock(UploadSession::class); - - $content = str_repeat('1', 655360 + 1); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $options = [ - 'range_size' => 655360, - ]; - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - $content, - $driveItemResourceDefinition, - $options - ); - - $sut->complete(); - } - - /** - * @expectedException \Exception - * - * @expectedExceptionMessage OneDrive did not create a drive item for the - * uploaded file - */ - public function testCompleteShouldThrowFileNotCreatedException() - { - $item = $this->createMock(DriveItem::class); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->will($this->onConsecutiveCalls(202, 202)); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('addHeaders') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $uploadSession = $this->createMock(UploadSession::class); - - $content = str_repeat('1', 327680 + 1); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $options = [ - 'range_size' => 327680, - ]; - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - $content, - $driveItemResourceDefinition, - $options - ); - - $sut->complete(); - } - - /** - * @expectedException \Exception - * - * @expectedExceptionMessage Unexpected status code produced by 'PUT - * http://uplo.ad/url': 503 - */ - public function testCompleteShouldThrowUnexpectedStatusCodeException() - { - $item = $this->createMock(DriveItem::class); - - $response = $this->createMock(GraphResponse::class); - - $response - ->expects($this->atLeastOnce()) - ->method('getStatus') - ->will($this->onConsecutiveCalls(202, 503)); - - $request = $this->createMock(GraphRequest::class); - - $request - ->expects($this->atLeastOnce()) - ->method('addHeaders') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('attachBody') - ->willReturnSelf(); - - $request - ->expects($this->atLeastOnce()) - ->method('execute') - ->willReturn($response); - - $graph = $this->createMock(Graph::class); - - $graph - ->expects($this->atLeastOnce()) - ->method('createRequest') - ->willReturn($request); - - $uploadSession = $this->createMock(UploadSession::class); - - $uploadSession - ->expects($this->atLeastOnce()) - ->method('getUploadUrl') - ->willReturn('http://uplo.ad/url'); - - $content = str_repeat('1', 327680 + 1); - - $driveItemResourceDefinition = $this->createMock(ResourceDefinitionInterface::class); - - $options = [ - 'range_size' => 327680, - ]; - - $sut = new UploadSessionProxy( - $graph, - $uploadSession, - $content, - $driveItemResourceDefinition, - $options - ); - - $sut->complete(); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/VideoProxyTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/VideoProxyTest.php deleted file mode 100644 index 0a6e8087..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Proxy/VideoProxyTest.php +++ /dev/null @@ -1,161 +0,0 @@ -createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getAudioBitsPerSample') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->audioBitsPerSample); - } - - public function testAudioChannelsShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getAudioChannels') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->audioChannels); - } - - public function testAudioFormatShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getAudioFormat') - ->willReturn('TestAudioFormat'); - - $sut = new VideoProxy($graph, $video); - $this->assertSame('TestAudioFormat', $sut->audioFormat); - } - - public function testAudioSamplesPerSecondShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getAudioSamplesPerSecond') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->audioSamplesPerSecond); - } - - public function testBitrateShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getBitrate') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->bitrate); - } - - public function testDurationShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getDuration') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->duration); - } - - public function testFourCCFormatShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getFourCC') - ->willReturn('TestFourCC'); - - $sut = new VideoProxy($graph, $video); - $this->assertSame('TestFourCC', $sut->fourCc); - } - - public function testFrameRateShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getFrameRate') - ->willReturn(1.23); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(1.23, $sut->frameRate); - } - - public function testHeightShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getHeight') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->height); - } - - public function testWidthRateShouldReturnExpectedValue() - { - $graph = $this->createMock(Graph::class); - - $video = $this->createMock(Video::class); - - $video - ->expects($this->atLeastOnce()) - ->method('getWidth') - ->willReturn(123); - - $sut = new VideoProxy($graph, $video); - $this->assertSame(123, $sut->width); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Serializer/OrderBySerializerTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Serializer/OrderBySerializerTest.php deleted file mode 100644 index d4d81d3a..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Serializer/OrderBySerializerTest.php +++ /dev/null @@ -1,21 +0,0 @@ -serialize([ - ['a', 'asc'], - ['b', 'desc'], - ]); - - $this->assertSame('a asc, b desc', $actual); - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/Serializer/ScalarSerializerTest.php b/vendor/krizalys/onedrive-php-sdk/test/unit/Serializer/ScalarSerializerTest.php deleted file mode 100644 index cb2e06e2..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/Serializer/ScalarSerializerTest.php +++ /dev/null @@ -1,30 +0,0 @@ -serialize($value); - $this->assertSame($expected, $actual); - } - - public function valueProvider() - { - return [ - ['Test', 'Test'], - [1234, '1234'], - [false, 'false'], - [true, 'true'], - ]; - } -} diff --git a/vendor/krizalys/onedrive-php-sdk/test/unit/bootstrap.php b/vendor/krizalys/onedrive-php-sdk/test/unit/bootstrap.php deleted file mode 100644 index a956ee52..00000000 --- a/vendor/krizalys/onedrive-php-sdk/test/unit/bootstrap.php +++ /dev/null @@ -1,13 +0,0 @@ -post($url, [ - 'form_params' => [ - 'client_id' => $clientId, - 'client_secret' => $clientSecret, - 'resource' => 'https://graph.microsoft.com/', - '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](https://github.com/microsoftgraph/msgraph-sdk-php/blob/master/docs/index.html) - -* [Wiki](https://github.com/microsoftgraph/msgraph-sdk-php/wiki) - -* [Examples](https://github.com/microsoftgraph/msgraph-sdk-php/wiki/Example-calls) - -* [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](https://github.com/microsoftgraph/msgraph-sdk-php/blob/master/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 deleted file mode 100644 index e9a6e84b..00000000 --- a/vendor/microsoft/microsoft-graph/THIRD PARTY NOTICES +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 9797d7eb..00000000 --- a/vendor/microsoft/microsoft-graph/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "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": "*" - }, - "require-dev": { - "phpunit/phpunit": "^8.0 || ^9.0", - "mikey179/vfsstream": "^1.2" - }, - "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 deleted file mode 100644 index 437518d0..00000000 --- a/vendor/microsoft/microsoft-graph/msgraph-sdk-php.yml +++ /dev/null @@ -1,13 +0,0 @@ -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/phpunit.xml b/vendor/microsoft/microsoft-graph/phpunit.xml deleted file mode 100644 index 6ade4e06..00000000 --- a/vendor/microsoft/microsoft-graph/phpunit.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - tests - - - - - src - src/Model - - - \ No newline at end of file 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 deleted file mode 100644 index a68e8b55..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallRecord.php +++ /dev/null @@ -1,340 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\CallRecords\Model\CallType")) { - 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 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 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 deleted file mode 100644 index 39836829..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/CallType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\CallRecords\Model\ClientPlatform")) { - 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. - * - * @return ProductFamily The productFamily - */ - public function getProductFamily() - { - if (array_key_exists("productFamily", $this->_propDict)) { - if (is_a($this->_propDict["productFamily"], "\Beta\Microsoft\Graph\CallRecords\Model\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. - * - * @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 deleted file mode 100644 index 1b1aa61e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DeviceInfo.php +++ /dev/null @@ -1,674 +0,0 @@ -_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 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 \Beta\Microsoft\Graph\Model\Single The captureNotFunctioningEventRatio - */ - public function getCaptureNotFunctioningEventRatio() - { - if (array_key_exists("captureNotFunctioningEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["captureNotFunctioningEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["captureNotFunctioningEventRatio"]; - } else { - $this->_propDict["captureNotFunctioningEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["captureNotFunctioningEventRatio"]); - return $this->_propDict["captureNotFunctioningEventRatio"]; - } - } - return null; - } - - /** - * Sets the captureNotFunctioningEventRatio - * Fraction of the call that the media endpoint detected the capture device was not working properly. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the captureNotFunctioningEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The cpuInsufficentEventRatio - */ - public function getCpuInsufficentEventRatio() - { - if (array_key_exists("cpuInsufficentEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["cpuInsufficentEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["cpuInsufficentEventRatio"]; - } else { - $this->_propDict["cpuInsufficentEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["cpuInsufficentEventRatio"]); - return $this->_propDict["cpuInsufficentEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the cpuInsufficentEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The deviceClippingEventRatio - */ - public function getDeviceClippingEventRatio() - { - if (array_key_exists("deviceClippingEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["deviceClippingEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["deviceClippingEventRatio"]; - } else { - $this->_propDict["deviceClippingEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["deviceClippingEventRatio"]); - return $this->_propDict["deviceClippingEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the deviceClippingEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The deviceGlitchEventRatio - */ - public function getDeviceGlitchEventRatio() - { - if (array_key_exists("deviceGlitchEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["deviceGlitchEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["deviceGlitchEventRatio"]; - } else { - $this->_propDict["deviceGlitchEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["deviceGlitchEventRatio"]); - return $this->_propDict["deviceGlitchEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the deviceGlitchEventRatio - * - * @return DeviceInfo The 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 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 \Beta\Microsoft\Graph\Model\Single The initialSignalLevelRootMeanSquare - */ - public function getInitialSignalLevelRootMeanSquare() - { - if (array_key_exists("initialSignalLevelRootMeanSquare", $this->_propDict)) { - if (is_a($this->_propDict["initialSignalLevelRootMeanSquare"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["initialSignalLevelRootMeanSquare"]; - } else { - $this->_propDict["initialSignalLevelRootMeanSquare"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["initialSignalLevelRootMeanSquare"]); - return $this->_propDict["initialSignalLevelRootMeanSquare"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the initialSignalLevelRootMeanSquare - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The lowSpeechLevelEventRatio - */ - public function getLowSpeechLevelEventRatio() - { - if (array_key_exists("lowSpeechLevelEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowSpeechLevelEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowSpeechLevelEventRatio"]; - } else { - $this->_propDict["lowSpeechLevelEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["lowSpeechLevelEventRatio"]); - return $this->_propDict["lowSpeechLevelEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the lowSpeechLevelEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The lowSpeechToNoiseEventRatio - */ - public function getLowSpeechToNoiseEventRatio() - { - if (array_key_exists("lowSpeechToNoiseEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowSpeechToNoiseEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowSpeechToNoiseEventRatio"]; - } else { - $this->_propDict["lowSpeechToNoiseEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["lowSpeechToNoiseEventRatio"]); - return $this->_propDict["lowSpeechToNoiseEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the lowSpeechToNoiseEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The micGlitchRate - */ - public function getMicGlitchRate() - { - if (array_key_exists("micGlitchRate", $this->_propDict)) { - if (is_a($this->_propDict["micGlitchRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["micGlitchRate"]; - } else { - $this->_propDict["micGlitchRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["micGlitchRate"]); - return $this->_propDict["micGlitchRate"]; - } - } - return null; - } - - /** - * Sets the micGlitchRate - * Glitches per 5 minute interval for the media endpoint's microphone. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the micGlitchRate - * - * @return DeviceInfo The 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 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 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 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 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 \Beta\Microsoft\Graph\Model\Single The renderMuteEventRatio - */ - public function getRenderMuteEventRatio() - { - if (array_key_exists("renderMuteEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["renderMuteEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["renderMuteEventRatio"]; - } else { - $this->_propDict["renderMuteEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["renderMuteEventRatio"]); - return $this->_propDict["renderMuteEventRatio"]; - } - } - return null; - } - - /** - * Sets the renderMuteEventRatio - * Fraction of the call that media endpoint detected device render is muted. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the renderMuteEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The renderNotFunctioningEventRatio - */ - public function getRenderNotFunctioningEventRatio() - { - if (array_key_exists("renderNotFunctioningEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["renderNotFunctioningEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["renderNotFunctioningEventRatio"]; - } else { - $this->_propDict["renderNotFunctioningEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["renderNotFunctioningEventRatio"]); - return $this->_propDict["renderNotFunctioningEventRatio"]; - } - } - return null; - } - - /** - * Sets the renderNotFunctioningEventRatio - * Fraction of the call that the media endpoint detected the render device was not working properly. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the renderNotFunctioningEventRatio - * - * @return DeviceInfo The 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 \Beta\Microsoft\Graph\Model\Single The renderZeroVolumeEventRatio - */ - public function getRenderZeroVolumeEventRatio() - { - if (array_key_exists("renderZeroVolumeEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["renderZeroVolumeEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["renderZeroVolumeEventRatio"]; - } else { - $this->_propDict["renderZeroVolumeEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["renderZeroVolumeEventRatio"]); - return $this->_propDict["renderZeroVolumeEventRatio"]; - } - } - return null; - } - - /** - * Sets the renderZeroVolumeEventRatio - * Fraction of the call that media endpoint detected device render volume is set to 0. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the renderZeroVolumeEventRatio - * - * @return DeviceInfo The 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 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 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 \Beta\Microsoft\Graph\Model\Single The speakerGlitchRate - */ - public function getSpeakerGlitchRate() - { - if (array_key_exists("speakerGlitchRate", $this->_propDict)) { - if (is_a($this->_propDict["speakerGlitchRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["speakerGlitchRate"]; - } else { - $this->_propDict["speakerGlitchRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["speakerGlitchRate"]); - return $this->_propDict["speakerGlitchRate"]; - } - } - return null; - } - - /** - * Sets the speakerGlitchRate - * Glitches per 5 minute internal for the media endpoint's loudspeaker. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the speakerGlitchRate - * - * @return DeviceInfo The 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 deleted file mode 100644 index 58cb7e58..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/DirectRoutingLogRow.php +++ /dev/null @@ -1,592 +0,0 @@ -_propDict)) { - return $this->_propDict["calleeNumber"]; - } else { - return null; - } - } - - /** - * Sets the calleeNumber - * - * @param string $val The value of the calleeNumber - * - * @return DirectRoutingLogRow - */ - public function setCalleeNumber($val) - { - $this->_propDict["calleeNumber"] = $val; - return $this; - } - /** - * Gets the callEndSubReason - * - * @return int The callEndSubReason - */ - public function getCallEndSubReason() - { - if (array_key_exists("callEndSubReason", $this->_propDict)) { - return $this->_propDict["callEndSubReason"]; - } else { - return null; - } - } - - /** - * Sets the callEndSubReason - * - * @param int $val The value of the callEndSubReason - * - * @return DirectRoutingLogRow - */ - public function setCallEndSubReason($val) - { - $this->_propDict["callEndSubReason"] = $val; - return $this; - } - /** - * Gets the callerNumber - * - * @return string The callerNumber - */ - public function getCallerNumber() - { - if (array_key_exists("callerNumber", $this->_propDict)) { - return $this->_propDict["callerNumber"]; - } else { - return null; - } - } - - /** - * Sets the callerNumber - * - * @param string $val The value of the callerNumber - * - * @return DirectRoutingLogRow - */ - public function setCallerNumber($val) - { - $this->_propDict["callerNumber"] = $val; - return $this; - } - /** - * Gets the callType - * - * @return string The callType - */ - public function getCallType() - { - if (array_key_exists("callType", $this->_propDict)) { - return $this->_propDict["callType"]; - } else { - return null; - } - } - - /** - * Sets the callType - * - * @param string $val The value of the callType - * - * @return DirectRoutingLogRow - */ - public function setCallType($val) - { - $this->_propDict["callType"] = $val; - return $this; - } - /** - * Gets the correlationId - * - * @return string The correlationId - */ - public function getCorrelationId() - { - if (array_key_exists("correlationId", $this->_propDict)) { - return $this->_propDict["correlationId"]; - } else { - return null; - } - } - - /** - * Sets the correlationId - * - * @param string $val The value of the correlationId - * - * @return DirectRoutingLogRow - */ - public function setCorrelationId($val) - { - $this->_propDict["correlationId"] = $val; - return $this; - } - /** - * Gets the duration - * - * @return int The duration - */ - public function getDuration() - { - if (array_key_exists("duration", $this->_propDict)) { - return $this->_propDict["duration"]; - } else { - return null; - } - } - - /** - * Sets the duration - * - * @param int $val The value of the duration - * - * @return DirectRoutingLogRow - */ - public function setDuration($val) - { - $this->_propDict["duration"] = $val; - return $this; - } - - /** - * Gets the endDateTime - * - * @return \DateTime The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 DirectRoutingLogRow The DirectRoutingLogRow - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the failureDateTime - * - * @return \DateTime The failureDateTime - */ - public function getFailureDateTime() - { - if (array_key_exists("failureDateTime", $this->_propDict)) { - if (is_a($this->_propDict["failureDateTime"], "\DateTime")) { - return $this->_propDict["failureDateTime"]; - } else { - $this->_propDict["failureDateTime"] = new \DateTime($this->_propDict["failureDateTime"]); - return $this->_propDict["failureDateTime"]; - } - } - return null; - } - - /** - * Sets the failureDateTime - * - * @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 - * - * @return int The finalSipCode - */ - public function getFinalSipCode() - { - if (array_key_exists("finalSipCode", $this->_propDict)) { - return $this->_propDict["finalSipCode"]; - } else { - return null; - } - } - - /** - * Sets the finalSipCode - * - * @param int $val The value of the finalSipCode - * - * @return DirectRoutingLogRow - */ - public function setFinalSipCode($val) - { - $this->_propDict["finalSipCode"] = $val; - return $this; - } - /** - * Gets the finalSipCodePhrase - * - * @return string The finalSipCodePhrase - */ - public function getFinalSipCodePhrase() - { - if (array_key_exists("finalSipCodePhrase", $this->_propDict)) { - return $this->_propDict["finalSipCodePhrase"]; - } else { - return null; - } - } - - /** - * Sets the finalSipCodePhrase - * - * @param string $val The value of the finalSipCodePhrase - * - * @return DirectRoutingLogRow - */ - public function setFinalSipCodePhrase($val) - { - $this->_propDict["finalSipCodePhrase"] = $val; - return $this; - } - /** - * Gets the id - * - * @return string 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 DirectRoutingLogRow - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - - /** - * Gets the inviteDateTime - * - * @return \DateTime The inviteDateTime - */ - public function getInviteDateTime() - { - if (array_key_exists("inviteDateTime", $this->_propDict)) { - if (is_a($this->_propDict["inviteDateTime"], "\DateTime")) { - return $this->_propDict["inviteDateTime"]; - } else { - $this->_propDict["inviteDateTime"] = new \DateTime($this->_propDict["inviteDateTime"]); - return $this->_propDict["inviteDateTime"]; - } - } - return null; - } - - /** - * Sets the inviteDateTime - * - * @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 - * - * @return bool The mediaBypassEnabled - */ - public function getMediaBypassEnabled() - { - if (array_key_exists("mediaBypassEnabled", $this->_propDict)) { - return $this->_propDict["mediaBypassEnabled"]; - } else { - return null; - } - } - - /** - * Sets the mediaBypassEnabled - * - * @param bool $val The value of the mediaBypassEnabled - * - * @return DirectRoutingLogRow - */ - public function setMediaBypassEnabled($val) - { - $this->_propDict["mediaBypassEnabled"] = $val; - return $this; - } - /** - * Gets the mediaPathLocation - * - * @return string The mediaPathLocation - */ - public function getMediaPathLocation() - { - if (array_key_exists("mediaPathLocation", $this->_propDict)) { - return $this->_propDict["mediaPathLocation"]; - } else { - return null; - } - } - - /** - * Sets the mediaPathLocation - * - * @param string $val The value of the mediaPathLocation - * - * @return DirectRoutingLogRow - */ - public function setMediaPathLocation($val) - { - $this->_propDict["mediaPathLocation"] = $val; - return $this; - } - /** - * Gets the signalingLocation - * - * @return string The signalingLocation - */ - public function getSignalingLocation() - { - if (array_key_exists("signalingLocation", $this->_propDict)) { - return $this->_propDict["signalingLocation"]; - } else { - return null; - } - } - - /** - * Sets the signalingLocation - * - * @param string $val The value of the signalingLocation - * - * @return DirectRoutingLogRow - */ - public function setSignalingLocation($val) - { - $this->_propDict["signalingLocation"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 DirectRoutingLogRow The DirectRoutingLogRow - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $val; - return $this; - } - /** - * Gets the successfulCall - * - * @return bool The successfulCall - */ - public function getSuccessfulCall() - { - if (array_key_exists("successfulCall", $this->_propDict)) { - return $this->_propDict["successfulCall"]; - } else { - return null; - } - } - - /** - * Sets the successfulCall - * - * @param bool $val The value of the successfulCall - * - * @return DirectRoutingLogRow - */ - public function setSuccessfulCall($val) - { - $this->_propDict["successfulCall"] = $val; - return $this; - } - /** - * Gets the trunkFullyQualifiedDomainName - * - * @return string The trunkFullyQualifiedDomainName - */ - public function getTrunkFullyQualifiedDomainName() - { - if (array_key_exists("trunkFullyQualifiedDomainName", $this->_propDict)) { - return $this->_propDict["trunkFullyQualifiedDomainName"]; - } else { - return null; - } - } - - /** - * Sets the trunkFullyQualifiedDomainName - * - * @param string $val The value of the trunkFullyQualifiedDomainName - * - * @return DirectRoutingLogRow - */ - public function setTrunkFullyQualifiedDomainName($val) - { - $this->_propDict["trunkFullyQualifiedDomainName"] = $val; - return $this; - } - /** - * Gets the userDisplayName - * - * @return string 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 DirectRoutingLogRow - */ - public function setUserDisplayName($val) - { - $this->_propDict["userDisplayName"] = $val; - return $this; - } - /** - * Gets the userId - * - * @return string The userId - */ - public function getUserId() - { - if (array_key_exists("userId", $this->_propDict)) { - return $this->_propDict["userId"]; - } else { - return null; - } - } - - /** - * Sets the userId - * - * @param string $val The value of the userId - * - * @return DirectRoutingLogRow - */ - public function setUserId($val) - { - $this->_propDict["userId"] = $val; - return $this; - } - /** - * Gets the userPrincipalName - * - * @return string 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 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 deleted file mode 100644 index d55a7383..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Endpoint.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["userAgent"], "\Beta\Microsoft\Graph\CallRecords\Model\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 deleted file mode 100644 index f58ddaf0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureInfo.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The stage - */ - public function getStage() - { - if (array_key_exists("stage", $this->_propDict)) { - if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\CallRecords\Model\FailureStage")) { - 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 deleted file mode 100644 index 78005968..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/FailureStage.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["calleeDevice"], "\Beta\Microsoft\Graph\CallRecords\Model\DeviceInfo")) { - 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 The calleeNetwork - */ - public function getCalleeNetwork() - { - if (array_key_exists("calleeNetwork", $this->_propDict)) { - if (is_a($this->_propDict["calleeNetwork"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkInfo")) { - 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 The callerDevice - */ - public function getCallerDevice() - { - if (array_key_exists("callerDevice", $this->_propDict)) { - if (is_a($this->_propDict["callerDevice"], "\Beta\Microsoft\Graph\CallRecords\Model\DeviceInfo")) { - 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 The callerNetwork - */ - public function getCallerNetwork() - { - if (array_key_exists("callerNetwork", $this->_propDict)) { - if (is_a($this->_propDict["callerNetwork"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkInfo")) { - 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 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 The streams - */ - public function getStreams() - { - if (array_key_exists("streams", $this->_propDict)) { - if (is_a($this->_propDict["streams"], "\Beta\Microsoft\Graph\CallRecords\Model\MediaStream")) { - 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 deleted file mode 100644 index a6792d2d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStream.php +++ /dev/null @@ -1,831 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["averageAudioDegradation"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageAudioDegradation"]; - } else { - $this->_propDict["averageAudioDegradation"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averageAudioDegradation"]); - return $this->_propDict["averageAudioDegradation"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averageAudioDegradation - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Duration The averageAudioNetworkJitter - */ - public function getAverageAudioNetworkJitter() - { - if (array_key_exists("averageAudioNetworkJitter", $this->_propDict)) { - if (is_a($this->_propDict["averageAudioNetworkJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageAudioNetworkJitter"]; - } else { - $this->_propDict["averageAudioNetworkJitter"] = new \Beta\Microsoft\Graph\Model\Duration($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 \Beta\Microsoft\Graph\Model\Duration $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 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 \Beta\Microsoft\Graph\Model\Duration The averageJitter - */ - public function getAverageJitter() - { - if (array_key_exists("averageJitter", $this->_propDict)) { - if (is_a($this->_propDict["averageJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageJitter"]; - } else { - $this->_propDict["averageJitter"] = new \Beta\Microsoft\Graph\Model\Duration($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 \Beta\Microsoft\Graph\Model\Duration $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 \Beta\Microsoft\Graph\Model\Single The averagePacketLossRate - */ - public function getAveragePacketLossRate() - { - if (array_key_exists("averagePacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["averagePacketLossRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averagePacketLossRate"]; - } else { - $this->_propDict["averagePacketLossRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averagePacketLossRate"]); - return $this->_propDict["averagePacketLossRate"]; - } - } - return null; - } - - /** - * Sets the averagePacketLossRate - * Average packet loss rate for stream. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averagePacketLossRate - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Single The averageRatioOfConcealedSamples - */ - public function getAverageRatioOfConcealedSamples() - { - if (array_key_exists("averageRatioOfConcealedSamples", $this->_propDict)) { - if (is_a($this->_propDict["averageRatioOfConcealedSamples"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageRatioOfConcealedSamples"]; - } else { - $this->_propDict["averageRatioOfConcealedSamples"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averageRatioOfConcealedSamples"]); - return $this->_propDict["averageRatioOfConcealedSamples"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averageRatioOfConcealedSamples - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Single The averageReceivedFrameRate - */ - public function getAverageReceivedFrameRate() - { - if (array_key_exists("averageReceivedFrameRate", $this->_propDict)) { - if (is_a($this->_propDict["averageReceivedFrameRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageReceivedFrameRate"]; - } else { - $this->_propDict["averageReceivedFrameRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averageReceivedFrameRate"]); - return $this->_propDict["averageReceivedFrameRate"]; - } - } - return null; - } - - /** - * Sets the averageReceivedFrameRate - * Average frames per second received for all video streams computed over the duration of the session. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averageReceivedFrameRate - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Duration The averageRoundTripTime - */ - public function getAverageRoundTripTime() - { - if (array_key_exists("averageRoundTripTime", $this->_propDict)) { - if (is_a($this->_propDict["averageRoundTripTime"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageRoundTripTime"]; - } else { - $this->_propDict["averageRoundTripTime"] = new \Beta\Microsoft\Graph\Model\Duration($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 \Beta\Microsoft\Graph\Model\Duration $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 \Beta\Microsoft\Graph\Model\Single The averageVideoFrameLossPercentage - */ - public function getAverageVideoFrameLossPercentage() - { - if (array_key_exists("averageVideoFrameLossPercentage", $this->_propDict)) { - if (is_a($this->_propDict["averageVideoFrameLossPercentage"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageVideoFrameLossPercentage"]; - } else { - $this->_propDict["averageVideoFrameLossPercentage"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averageVideoFrameLossPercentage"]); - return $this->_propDict["averageVideoFrameLossPercentage"]; - } - } - return null; - } - - /** - * Sets the averageVideoFrameLossPercentage - * Average percentage of video frames lost as displayed to the user. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averageVideoFrameLossPercentage - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Single The averageVideoFrameRate - */ - public function getAverageVideoFrameRate() - { - if (array_key_exists("averageVideoFrameRate", $this->_propDict)) { - if (is_a($this->_propDict["averageVideoFrameRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageVideoFrameRate"]; - } else { - $this->_propDict["averageVideoFrameRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averageVideoFrameRate"]); - return $this->_propDict["averageVideoFrameRate"]; - } - } - return null; - } - - /** - * Sets the averageVideoFrameRate - * Average frames per second received for a video stream, computed over the duration of the session. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averageVideoFrameRate - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Single The averageVideoPacketLossRate - */ - public function getAverageVideoPacketLossRate() - { - if (array_key_exists("averageVideoPacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["averageVideoPacketLossRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageVideoPacketLossRate"]; - } else { - $this->_propDict["averageVideoPacketLossRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["averageVideoPacketLossRate"]); - return $this->_propDict["averageVideoPacketLossRate"]; - } - } - return null; - } - - /** - * Sets the averageVideoPacketLossRate - * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the averageVideoPacketLossRate - * - * @return MediaStream The 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 \Beta\Microsoft\Graph\Model\Single The lowFrameRateRatio - */ - public function getLowFrameRateRatio() - { - if (array_key_exists("lowFrameRateRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowFrameRateRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowFrameRateRatio"]; - } else { - $this->_propDict["lowFrameRateRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["lowFrameRateRatio"]); - return $this->_propDict["lowFrameRateRatio"]; - } - } - return null; - } - - /** - * Sets the lowFrameRateRatio - * Fraction of the call where frame rate is less than 7.5 frames per second. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the lowFrameRateRatio - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Single The lowVideoProcessingCapabilityRatio - */ - public function getLowVideoProcessingCapabilityRatio() - { - if (array_key_exists("lowVideoProcessingCapabilityRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowVideoProcessingCapabilityRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowVideoProcessingCapabilityRatio"]; - } else { - $this->_propDict["lowVideoProcessingCapabilityRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["lowVideoProcessingCapabilityRatio"]); - return $this->_propDict["lowVideoProcessingCapabilityRatio"]; - } - } - return null; - } - - /** - * Sets the lowVideoProcessingCapabilityRatio - * Fraction of the call that the client is running less than 70% expected video processing capability. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the lowVideoProcessingCapabilityRatio - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Duration The maxAudioNetworkJitter - */ - public function getMaxAudioNetworkJitter() - { - if (array_key_exists("maxAudioNetworkJitter", $this->_propDict)) { - if (is_a($this->_propDict["maxAudioNetworkJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxAudioNetworkJitter"]; - } else { - $this->_propDict["maxAudioNetworkJitter"] = new \Beta\Microsoft\Graph\Model\Duration($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 \Beta\Microsoft\Graph\Model\Duration $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 \Beta\Microsoft\Graph\Model\Duration The maxJitter - */ - public function getMaxJitter() - { - if (array_key_exists("maxJitter", $this->_propDict)) { - if (is_a($this->_propDict["maxJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxJitter"]; - } else { - $this->_propDict["maxJitter"] = new \Beta\Microsoft\Graph\Model\Duration($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 \Beta\Microsoft\Graph\Model\Duration $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 \Beta\Microsoft\Graph\Model\Single The maxPacketLossRate - */ - public function getMaxPacketLossRate() - { - if (array_key_exists("maxPacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["maxPacketLossRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["maxPacketLossRate"]; - } else { - $this->_propDict["maxPacketLossRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["maxPacketLossRate"]); - return $this->_propDict["maxPacketLossRate"]; - } - } - return null; - } - - /** - * Sets the maxPacketLossRate - * Maximum packet loss rate for the stream. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the maxPacketLossRate - * - * @return MediaStream The MediaStream - */ - public function setMaxPacketLossRate($val) - { - $this->_propDict["maxPacketLossRate"] = $val; - return $this; - } - - /** - * Gets the maxRatioOfConcealedSamples - * Maximum ratio of packets concealed by the healer. - * - * @return \Beta\Microsoft\Graph\Model\Single The maxRatioOfConcealedSamples - */ - public function getMaxRatioOfConcealedSamples() - { - if (array_key_exists("maxRatioOfConcealedSamples", $this->_propDict)) { - if (is_a($this->_propDict["maxRatioOfConcealedSamples"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["maxRatioOfConcealedSamples"]; - } else { - $this->_propDict["maxRatioOfConcealedSamples"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["maxRatioOfConcealedSamples"]); - return $this->_propDict["maxRatioOfConcealedSamples"]; - } - } - return null; - } - - /** - * Sets the maxRatioOfConcealedSamples - * Maximum ratio of packets concealed by the healer. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the maxRatioOfConcealedSamples - * - * @return MediaStream The 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 \Beta\Microsoft\Graph\Model\Duration The maxRoundTripTime - */ - public function getMaxRoundTripTime() - { - if (array_key_exists("maxRoundTripTime", $this->_propDict)) { - if (is_a($this->_propDict["maxRoundTripTime"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxRoundTripTime"]; - } else { - $this->_propDict["maxRoundTripTime"] = new \Beta\Microsoft\Graph\Model\Duration($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 \Beta\Microsoft\Graph\Model\Duration $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 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 \Beta\Microsoft\Graph\Model\Single The postForwardErrorCorrectionPacketLossRate - */ - public function getPostForwardErrorCorrectionPacketLossRate() - { - if (array_key_exists("postForwardErrorCorrectionPacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["postForwardErrorCorrectionPacketLossRate"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["postForwardErrorCorrectionPacketLossRate"]; - } else { - $this->_propDict["postForwardErrorCorrectionPacketLossRate"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["postForwardErrorCorrectionPacketLossRate"]); - return $this->_propDict["postForwardErrorCorrectionPacketLossRate"]; - } - } - return null; - } - - /** - * Sets the postForwardErrorCorrectionPacketLossRate - * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. - * - * @param \Beta\Microsoft\Graph\Model\Single $val The value to assign to the postForwardErrorCorrectionPacketLossRate - * - * @return MediaStream The 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The streamDirection - */ - public function getStreamDirection() - { - if (array_key_exists("streamDirection", $this->_propDict)) { - if (is_a($this->_propDict["streamDirection"], "\Beta\Microsoft\Graph\CallRecords\Model\MediaStreamDirection")) { - 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 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 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 deleted file mode 100644 index 013313e1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/MediaStreamDirection.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["bandwidthLowEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["bandwidthLowEventRatio"]; - } else { - $this->_propDict["bandwidthLowEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["bandwidthLowEventRatio"]); - return $this->_propDict["bandwidthLowEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the bandwidthLowEventRatio - * - * @return NetworkInfo The 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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\CallRecords\Model\NetworkConnectionType")) { - 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 \Beta\Microsoft\Graph\Model\Single The delayEventRatio - */ - public function getDelayEventRatio() - { - if (array_key_exists("delayEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["delayEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["delayEventRatio"]; - } else { - $this->_propDict["delayEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["delayEventRatio"]); - return $this->_propDict["delayEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the delayEventRatio - * - * @return NetworkInfo The 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 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 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 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 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 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 \Beta\Microsoft\Graph\Model\Single The receivedQualityEventRatio - */ - public function getReceivedQualityEventRatio() - { - if (array_key_exists("receivedQualityEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["receivedQualityEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["receivedQualityEventRatio"]; - } else { - $this->_propDict["receivedQualityEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["receivedQualityEventRatio"]); - return $this->_propDict["receivedQualityEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the receivedQualityEventRatio - * - * @return NetworkInfo The 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 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 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 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 \Beta\Microsoft\Graph\Model\Single The sentQualityEventRatio - */ - public function getSentQualityEventRatio() - { - if (array_key_exists("sentQualityEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["sentQualityEventRatio"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["sentQualityEventRatio"]; - } else { - $this->_propDict["sentQualityEventRatio"] = new \Beta\Microsoft\Graph\Model\Single($this->_propDict["sentQualityEventRatio"]); - return $this->_propDict["sentQualityEventRatio"]; - } - } - 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 \Beta\Microsoft\Graph\Model\Single $val The value to assign to the sentQualityEventRatio - * - * @return NetworkInfo The 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 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 The wifiBand - */ - public function getWifiBand() - { - if (array_key_exists("wifiBand", $this->_propDict)) { - if (is_a($this->_propDict["wifiBand"], "\Beta\Microsoft\Graph\CallRecords\Model\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 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 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 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 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 The wifiRadioType - */ - public function getWifiRadioType() - { - if (array_key_exists("wifiRadioType", $this->_propDict)) { - if (is_a($this->_propDict["wifiRadioType"], "\Beta\Microsoft\Graph\CallRecords\Model\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 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 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 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 deleted file mode 100644 index 7495f150..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ParticipantEndpoint.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\CallRecords\Model\UserFeedback")) { - 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 The identity - */ - public function getIdentity() - { - if (array_key_exists("identity", $this->_propDict)) { - if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index 9e2ffb70..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ProductFamily.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - return $this->_propDict["calleeNumber"]; - } else { - return null; - } - } - - /** - * Sets the calleeNumber - * - * @param string $val The value of the calleeNumber - * - * @return PstnCallLogRow - */ - public function setCalleeNumber($val) - { - $this->_propDict["calleeNumber"] = $val; - return $this; - } - /** - * Gets the callerNumber - * - * @return string The callerNumber - */ - public function getCallerNumber() - { - if (array_key_exists("callerNumber", $this->_propDict)) { - return $this->_propDict["callerNumber"]; - } else { - return null; - } - } - - /** - * Sets the callerNumber - * - * @param string $val The value of the callerNumber - * - * @return PstnCallLogRow - */ - public function setCallerNumber($val) - { - $this->_propDict["callerNumber"] = $val; - return $this; - } - /** - * Gets the callId - * - * @return string The callId - */ - public function getCallId() - { - if (array_key_exists("callId", $this->_propDict)) { - return $this->_propDict["callId"]; - } else { - return null; - } - } - - /** - * Sets the callId - * - * @param string $val The value of the callId - * - * @return PstnCallLogRow - */ - public function setCallId($val) - { - $this->_propDict["callId"] = $val; - return $this; - } - /** - * Gets the callType - * - * @return string The callType - */ - public function getCallType() - { - if (array_key_exists("callType", $this->_propDict)) { - return $this->_propDict["callType"]; - } else { - return null; - } - } - - /** - * Sets the callType - * - * @param string $val The value of the callType - * - * @return PstnCallLogRow - */ - public function setCallType($val) - { - $this->_propDict["callType"] = $val; - return $this; - } - - /** - * Gets the charge - * - * @return \Beta\Microsoft\Graph\Model\Decimal The charge - */ - public function getCharge() - { - if (array_key_exists("charge", $this->_propDict)) { - if (is_a($this->_propDict["charge"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 - * - * @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 - * - * @return string The conferenceId - */ - public function getConferenceId() - { - if (array_key_exists("conferenceId", $this->_propDict)) { - return $this->_propDict["conferenceId"]; - } else { - return null; - } - } - - /** - * Sets the conferenceId - * - * @param string $val The value of the conferenceId - * - * @return PstnCallLogRow - */ - public function setConferenceId($val) - { - $this->_propDict["conferenceId"] = $val; - return $this; - } - - /** - * Gets the connectionCharge - * - * @return \Beta\Microsoft\Graph\Model\Decimal The connectionCharge - */ - public function getConnectionCharge() - { - if (array_key_exists("connectionCharge", $this->_propDict)) { - if (is_a($this->_propDict["connectionCharge"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 - * - * @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 - * - * @return string The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - return $this->_propDict["currency"]; - } else { - return null; - } - } - - /** - * Sets the currency - * - * @param string $val The value of the currency - * - * @return PstnCallLogRow - */ - public function setCurrency($val) - { - $this->_propDict["currency"] = $val; - return $this; - } - /** - * Gets the destinationContext - * - * @return string The destinationContext - */ - public function getDestinationContext() - { - if (array_key_exists("destinationContext", $this->_propDict)) { - return $this->_propDict["destinationContext"]; - } else { - return null; - } - } - - /** - * Sets the destinationContext - * - * @param string $val The value of the destinationContext - * - * @return PstnCallLogRow - */ - public function setDestinationContext($val) - { - $this->_propDict["destinationContext"] = $val; - return $this; - } - /** - * Gets the destinationName - * - * @return string The destinationName - */ - public function getDestinationName() - { - if (array_key_exists("destinationName", $this->_propDict)) { - return $this->_propDict["destinationName"]; - } else { - return null; - } - } - - /** - * Sets the destinationName - * - * @param string $val The value of the destinationName - * - * @return PstnCallLogRow - */ - public function setDestinationName($val) - { - $this->_propDict["destinationName"] = $val; - return $this; - } - /** - * Gets the duration - * - * @return int The duration - */ - public function getDuration() - { - if (array_key_exists("duration", $this->_propDict)) { - return $this->_propDict["duration"]; - } else { - return null; - } - } - - /** - * Sets the duration - * - * @param int $val The value of the duration - * - * @return PstnCallLogRow - */ - public function setDuration($val) - { - $this->_propDict["duration"] = $val; - return $this; - } - - /** - * Gets the endDateTime - * - * @return \DateTime The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 PstnCallLogRow The PstnCallLogRow - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - /** - * Gets the id - * - * @return string 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 PstnCallLogRow - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - /** - * Gets the inventoryType - * - * @return string The inventoryType - */ - public function getInventoryType() - { - if (array_key_exists("inventoryType", $this->_propDict)) { - return $this->_propDict["inventoryType"]; - } else { - return null; - } - } - - /** - * Sets the inventoryType - * - * @param string $val The value of the inventoryType - * - * @return PstnCallLogRow - */ - public function setInventoryType($val) - { - $this->_propDict["inventoryType"] = $val; - return $this; - } - /** - * Gets the licenseCapability - * - * @return string The licenseCapability - */ - public function getLicenseCapability() - { - if (array_key_exists("licenseCapability", $this->_propDict)) { - return $this->_propDict["licenseCapability"]; - } else { - return null; - } - } - - /** - * Sets the licenseCapability - * - * @param string $val The value of the licenseCapability - * - * @return PstnCallLogRow - */ - public function setLicenseCapability($val) - { - $this->_propDict["licenseCapability"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 PstnCallLogRow The PstnCallLogRow - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $val; - return $this; - } - /** - * Gets the tenantCountryCode - * - * @return string The tenantCountryCode - */ - public function getTenantCountryCode() - { - if (array_key_exists("tenantCountryCode", $this->_propDict)) { - return $this->_propDict["tenantCountryCode"]; - } else { - return null; - } - } - - /** - * Sets the tenantCountryCode - * - * @param string $val The value of the tenantCountryCode - * - * @return PstnCallLogRow - */ - public function setTenantCountryCode($val) - { - $this->_propDict["tenantCountryCode"] = $val; - return $this; - } - /** - * Gets the usageCountryCode - * - * @return string The usageCountryCode - */ - public function getUsageCountryCode() - { - if (array_key_exists("usageCountryCode", $this->_propDict)) { - return $this->_propDict["usageCountryCode"]; - } else { - return null; - } - } - - /** - * Sets the usageCountryCode - * - * @param string $val The value of the usageCountryCode - * - * @return PstnCallLogRow - */ - public function setUsageCountryCode($val) - { - $this->_propDict["usageCountryCode"] = $val; - return $this; - } - /** - * Gets the userDisplayName - * - * @return string 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 PstnCallLogRow - */ - public function setUserDisplayName($val) - { - $this->_propDict["userDisplayName"] = $val; - return $this; - } - /** - * Gets the userId - * - * @return string The userId - */ - public function getUserId() - { - if (array_key_exists("userId", $this->_propDict)) { - return $this->_propDict["userId"]; - } else { - return null; - } - } - - /** - * Sets the userId - * - * @param string $val The value of the userId - * - * @return PstnCallLogRow - */ - public function setUserId($val) - { - $this->_propDict["userId"] = $val; - return $this; - } - /** - * Gets the userPrincipalName - * - * @return string 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 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 deleted file mode 100644 index ed754a59..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Segment.php +++ /dev/null @@ -1,222 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["callee"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The caller - */ - public function getCaller() - { - if (array_key_exists("caller", $this->_propDict)) { - if (is_a($this->_propDict["caller"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The failureInfo - */ - public function getFailureInfo() - { - if (array_key_exists("failureInfo", $this->_propDict)) { - if (is_a($this->_propDict["failureInfo"], "\Beta\Microsoft\Graph\CallRecords\Model\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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 339abf0e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/ServiceEndpoint.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\CallRecords\Model\ServiceRole")) { - 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 deleted file mode 100644 index 639f6768..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/Session.php +++ /dev/null @@ -1,252 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["callee"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The caller - */ - public function getCaller() - { - if (array_key_exists("caller", $this->_propDict)) { - if (is_a($this->_propDict["caller"], "\Beta\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The failureInfo - */ - public function getFailureInfo() - { - if (array_key_exists("failureInfo", $this->_propDict)) { - if (is_a($this->_propDict["failureInfo"], "\Beta\Microsoft\Graph\CallRecords\Model\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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 80b9f0e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserAgent.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index f4376e08..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedback.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["rating"], "\Beta\Microsoft\Graph\CallRecords\Model\UserFeedbackRating")) { - 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 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 The tokens - */ - public function getTokens() - { - if (array_key_exists("tokens", $this->_propDict)) { - if (is_a($this->_propDict["tokens"], "\Beta\Microsoft\Graph\CallRecords\Model\FeedbackTokenSet")) { - 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 deleted file mode 100644 index 15e38086..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/CallRecords/Model/UserFeedbackRating.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 The sourceCollection - */ - public function getSourceCollection() - { - if (array_key_exists("sourceCollection", $this->_propDict)) { - if (is_a($this->_propDict["sourceCollection"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 deleted file mode 100644 index 7bd3f7fa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/AdditionalDataOptions.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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. See reviewSet: export for more details. Possible values are: originalFiles, text, pdfReplacement, fileInfo, tags. - * - * @return ExportOptions The exportOptions - */ - public function getExportOptions() - { - if (array_key_exists("exportOptions", $this->_propDict)) { - if (is_a($this->_propDict["exportOptions"], "\Beta\Microsoft\Graph\Ediscovery\Model\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. See reviewSet: export for more details. 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. See reviewSet: export for more details. Possible values are: none, directory, pst. - * - * @return ExportFileStructure The exportStructure - */ - public function getExportStructure() - { - if (array_key_exists("exportStructure", $this->_propDict)) { - if (is_a($this->_propDict["exportStructure"], "\Beta\Microsoft\Graph\Ediscovery\Model\ExportFileStructure")) { - 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. See reviewSet: export for more details. 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 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 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 The reviewSet - */ - public function getReviewSet() - { - if (array_key_exists("reviewSet", $this->_propDict)) { - if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\Ediscovery\Model\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/CaseIndexOperation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseIndexOperation.php deleted file mode 100644 index 384a9b57..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseIndexOperation.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseAction")) { - 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 - * - * @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 The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The resultInfo - */ - public function getResultInfo() - { - if (array_key_exists("resultInfo", $this->_propDict)) { - if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseOperationStatus")) { - 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 deleted file mode 100644 index e9a56236..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CaseOperationStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["acknowledgedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 deleted file mode 100644 index ad5c26c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/CustodianStatus.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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; - } - -} 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 deleted file mode 100644 index 93691402..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainer.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 lastModifiedDateTime - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The releasedDateTime - */ - public function getReleasedDateTime() - { - if (array_key_exists("releasedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["releasedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\DataSourceContainerStatus")) { - 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; - } - - /** - * Gets the lastIndexOperation - * - * @return CaseIndexOperation The lastIndexOperation - */ - public function getLastIndexOperation() - { - if (array_key_exists("lastIndexOperation", $this->_propDict)) { - if (is_a($this->_propDict["lastIndexOperation"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseIndexOperation")) { - 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 deleted file mode 100644 index 523dd78d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/DataSourceContainerStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index ca632a1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/EstimateStatisticsOperation.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 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 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 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 The sourceCollection - */ - public function getSourceCollection() - { - if (array_key_exists("sourceCollection", $this->_propDict)) { - if (is_a($this->_propDict["sourceCollection"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 deleted file mode 100644 index afb17b53..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ExportFileStructure.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["closedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 Case - */ - 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 The closedDateTime - */ - public function getClosedDateTime() - { - if (array_key_exists("closedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["closedDateTime"], "\DateTime")) { - 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 Case - */ - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 Case - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the description - * The case description. - * - * @return string 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 Case - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The case name. - * - * @return string 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 Case - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the externalId - * The external case number for customer reference. - * - * @return string 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 Case - */ - 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 Case - */ - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 Case - */ - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\CaseStatus")) { - 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 Case - */ - public function setStatus($val) - { - $this->_propDict["status"] = $val; - return $this; - } - - - /** - * Gets the custodians - * - * @return array The custodians - */ - public function getCustodians() - { - if (array_key_exists("custodians", $this->_propDict)) { - return $this->_propDict["custodians"]; - } else { - return null; - } - } - - /** - * Sets the custodians - * - * @param Custodian $val The custodians - * - * @return Case - */ - public function setCustodians($val) - { - $this->_propDict["custodians"] = $val; - return $this; - } - - - /** - * Gets the legalHolds - * - * @return array The legalHolds - */ - public function getLegalHolds() - { - if (array_key_exists("legalHolds", $this->_propDict)) { - return $this->_propDict["legalHolds"]; - } else { - return null; - } - } - - /** - * Sets the legalHolds - * - * @param LegalHold $val The legalHolds - * - * @return Case - */ - public function setLegalHolds($val) - { - $this->_propDict["legalHolds"] = $val; - return $this; - } - - - /** - * Gets the noncustodialDataSources - * - * @return array The noncustodialDataSources - */ - public function getNoncustodialDataSources() - { - if (array_key_exists("noncustodialDataSources", $this->_propDict)) { - return $this->_propDict["noncustodialDataSources"]; - } else { - return null; - } - } - - /** - * Sets the noncustodialDataSources - * - * @param NoncustodialDataSource $val The noncustodialDataSources - * - * @return Case - */ - public function setNoncustodialDataSources($val) - { - $this->_propDict["noncustodialDataSources"] = $val; - return $this; - } - - - /** - * Gets the operations - * - * @return array 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 Case - */ - public function setOperations($val) - { - $this->_propDict["operations"] = $val; - return $this; - } - - - /** - * Gets the reviewSets - * - * @return array The reviewSets - */ - public function getReviewSets() - { - if (array_key_exists("reviewSets", $this->_propDict)) { - return $this->_propDict["reviewSets"]; - } else { - return null; - } - } - - /** - * Sets the reviewSets - * - * @param ReviewSet $val The reviewSets - * - * @return Case - */ - public function setReviewSets($val) - { - $this->_propDict["reviewSets"] = $val; - return $this; - } - - /** - * Gets the settings - * - * @return Settings The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Ediscovery\Model\Settings")) { - return $this->_propDict["settings"]; - } else { - $this->_propDict["settings"] = new Settings($this->_propDict["settings"]); - return $this->_propDict["settings"]; - } - } - return null; - } - - /** - * Sets the settings - * - * @param Settings $val The settings - * - * @return Case - */ - 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 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 Case - */ - 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 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 Case - */ - 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 deleted file mode 100644 index ace5f2fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHold.php +++ /dev/null @@ -1,425 +0,0 @@ -_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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Ediscovery\Model\LegalHoldStatus")) { - 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 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 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 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 deleted file mode 100644 index 1c0d36d8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/LegalHoldStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - return $this->_propDict["applyHoldToSource"]; - } else { - return null; - } - } - - /** - * Sets the applyHoldToSource - * - * @param bool $val The applyHoldToSource - * - * @return NoncustodialDataSource - */ - public function setApplyHoldToSource($val) - { - $this->_propDict["applyHoldToSource"] = boolval($val); - return $this; - } - - /** - * Gets the dataSource - * - * @return DataSource The dataSource - */ - public function getDataSource() - { - if (array_key_exists("dataSource", $this->_propDict)) { - if (is_a($this->_propDict["dataSource"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 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 deleted file mode 100644 index f5a03d40..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/OcrSettings.php +++ /dev/null @@ -1,109 +0,0 @@ -_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 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 \Beta\Microsoft\Graph\Model\Duration The timeout - */ - public function getTimeout() - { - if (array_key_exists("timeout", $this->_propDict)) { - if (is_a($this->_propDict["timeout"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["timeout"]; - } else { - $this->_propDict["timeout"] = new \Beta\Microsoft\Graph\Model\Duration($this->_propDict["timeout"]); - return $this->_propDict["timeout"]; - } - } - return null; - } - - /** - * Sets the timeout - * - * @param \Beta\Microsoft\Graph\Model\Duration $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/RedundancyDetectionSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/RedundancyDetectionSettings.php deleted file mode 100644 index 6885c166..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/RedundancyDetectionSettings.php +++ /dev/null @@ -1,130 +0,0 @@ -_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 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 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 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/Ediscovery/Model/ReviewSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSet.php deleted file mode 100644 index fe7521f2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSet.php +++ /dev/null @@ -1,152 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index ed49c9ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/ReviewSetQuery.php +++ /dev/null @@ -1,217 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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/Settings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/Settings.php deleted file mode 100644 index 38d629a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/Settings.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["ocr"], "\Beta\Microsoft\Graph\Ediscovery\Model\OcrSettings")) { - 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 Settings - */ - public function setOcr($val) - { - $this->_propDict["ocr"] = $val; - return $this; - } - - /** - * Gets the redundancyDetection - * - * @return RedundancyDetectionSettings The redundancyDetection - */ - public function getRedundancyDetection() - { - if (array_key_exists("redundancyDetection", $this->_propDict)) { - if (is_a($this->_propDict["redundancyDetection"], "\Beta\Microsoft\Graph\Ediscovery\Model\RedundancyDetectionSettings")) { - 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 Settings - */ - public function setRedundancyDetection($val) - { - $this->_propDict["redundancyDetection"] = $val; - return $this; - } - - /** - * Gets the topicModeling - * - * @return TopicModelingSettings The topicModeling - */ - public function getTopicModeling() - { - if (array_key_exists("topicModeling", $this->_propDict)) { - if (is_a($this->_propDict["topicModeling"], "\Beta\Microsoft\Graph\Ediscovery\Model\TopicModelingSettings")) { - 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 Settings - */ - public function setTopicModeling($val) - { - $this->_propDict["topicModeling"] = $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 deleted file mode 100644 index 37a4182c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SiteSource.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["site"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index f8fa3361..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceCollection.php +++ /dev/null @@ -1,431 +0,0 @@ -_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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 - * - * @return DataSourceScopes The dataSourceScopes - */ - public function getDataSourceScopes() - { - if (array_key_exists("dataSourceScopes", $this->_propDict)) { - if (is_a($this->_propDict["dataSourceScopes"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 SourceCollection - */ - public function setDataSourceScopes($val) - { - $this->_propDict["dataSourceScopes"] = $val; - return $this; - } - - /** - * Gets the description - * The description of the sourceCollection - * - * @return string 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The addToReviewSetOperation - */ - public function getAddToReviewSetOperation() - { - if (array_key_exists("addToReviewSetOperation", $this->_propDict)) { - if (is_a($this->_propDict["addToReviewSetOperation"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 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 The lastEstimateStatisticsOperation - */ - public function getLastEstimateStatisticsOperation() - { - if (array_key_exists("lastEstimateStatisticsOperation", $this->_propDict)) { - if (is_a($this->_propDict["lastEstimateStatisticsOperation"], "\Beta\Microsoft\Graph\Ediscovery\Model\EstimateStatisticsOperation")) { - 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 - * - * @return array The noncustodialSources - */ - public function getNoncustodialSources() - { - if (array_key_exists("noncustodialSources", $this->_propDict)) { - return $this->_propDict["noncustodialSources"]; - } else { - return null; - } - } - - /** - * Sets the noncustodialSources - * - * @param DataSource $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 deleted file mode 100644 index 4efcd53f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/SourceType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["childSelectability"], "\Beta\Microsoft\Graph\Ediscovery\Model\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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The parent - */ - public function getParent() - { - if (array_key_exists("parent", $this->_propDict)) { - if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Ediscovery\Model\Tag")) { - 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 deleted file mode 100644 index cc749dbd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/TagOperation.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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/Ediscovery/Model/UnifiedGroupSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UnifiedGroupSource.php deleted file mode 100644 index 5b1b716c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UnifiedGroupSource.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["includedSources"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceType")) { - 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 The group - */ - public function getGroup() - { - if (array_key_exists("group", $this->_propDict)) { - if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index e5e92892..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Ediscovery/Model/UserSource.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The includedSources - */ - public function getIncludedSources() - { - if (array_key_exists("includedSources", $this->_propDict)) { - if (is_a($this->_propDict["includedSources"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceType")) { - 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; - } - -} 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 deleted file mode 100644 index b0c9f990..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AccessType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\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 The identitySource - */ - public function getIdentitySource() - { - if (array_key_exists("identitySource", $this->_propDict)) { - if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\IdentitySourceType")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\AclType")) { - 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 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/ExternalConnectors/Model/AclType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AclType.php deleted file mode 100644 index 97ace327..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/AclType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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; - } -} 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 deleted file mode 100644 index df9b1312..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperation.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError")) { - 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 - * - * @param \Beta\Microsoft\Graph\Model\PublicError $val The error - * - * @return ConnectionOperation - */ - public function setError($val) - { - $this->_propDict["error"] = $val; - return $this; - } - - /** - * Gets the status - * - * @return ConnectionOperationStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ConnectionOperationStatus")) { - 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/ExternalConnectors/Model/ConnectionOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperationStatus.php deleted file mode 100644 index 9d4d4fba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ConnectionOperationStatus.php +++ /dev/null @@ -1,37 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new External - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index caa52d9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalConnection.php +++ /dev/null @@ -1,258 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ConnectionState")) { - 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 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 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 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 The schema - */ - public function getSchema() - { - if (array_key_exists("schema", $this->_propDict)) { - if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\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/ExternalConnectors/Model/ExternalGroup.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroup.php deleted file mode 100644 index fa94e653..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroup.php +++ /dev/null @@ -1,109 +0,0 @@ -_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 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; - } - - - /** - * Gets the members - * - * @return array The members - */ - public function getMembers() - { - if (array_key_exists("members", $this->_propDict)) { - return $this->_propDict["members"]; - } else { - return null; - } - } - - /** - * Sets the members - * - * @param ExternalGroupMember $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/ExternalGroupMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroupMember.php deleted file mode 100644 index 36e2a18f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroupMember.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\IdentitySourceType")) { - 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 identitySource - * - * @return ExternalGroupMember - */ - public function setIdentitySource($val) - { - $this->_propDict["identitySource"] = $val; - return $this; - } - - /** - * Gets the type - * - * @return ExternalGroupMemberType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ExternalGroupMemberType")) { - return $this->_propDict["type"]; - } else { - $this->_propDict["type"] = new ExternalGroupMemberType($this->_propDict["type"]); - return $this->_propDict["type"]; - } - } - return null; - } - - /** - * Sets the type - * - * @param ExternalGroupMemberType $val The type - * - * @return ExternalGroupMember - */ - public function setType($val) - { - $this->_propDict["type"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroupMemberType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroupMemberType.php deleted file mode 100644 index 5294f63c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalGroupMemberType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The content - */ - public function getContent() - { - if (array_key_exists("content", $this->_propDict)) { - if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContent")) { - 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 The externalItemProperties - */ - public function getExternalItemProperties() - { - if (array_key_exists("properties", $this->_propDict)) { - if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\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/ExternalConnectors/Model/ExternalItemContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContent.php deleted file mode 100644 index e8717603..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContent.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\ExternalItemContentType")) { - 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 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/ExternalConnectors/Model/ExternalItemContentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContentType.php deleted file mode 100644 index e4c183c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/ExternalItemContentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 The labels - */ - public function getLabels() - { - if (array_key_exists("labels", $this->_propDict)) { - if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\Label")) { - 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\PropertyType")) { - 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/ExternalConnectors/Model/PropertyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyType.php deleted file mode 100644 index 7de76b8d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ExternalConnectors/Model/PropertyType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 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/AadUserConversationMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMember.php deleted file mode 100644 index 09c31e32..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMember.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 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 The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index d936ee07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserConversationMemberResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 95a7315d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AadUserNotificationRecipient.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 3c1e1add..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AcceptJoinResponse.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - return $this->_propDict["catalogId"]; - } else { - return null; - } - } - - /** - * Sets the catalogId - * ID 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 - * UPN of the user or identity of the subject who created this resource. Read-only. - * - * @return string 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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. - * - * @return string 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. - * - * @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 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 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 UPN of the user who last modified this resource. Read-only. - * - * @return string 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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. - * - * @return array 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. - * - * @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 The accessPackageCatalog - */ - public function getAccessPackageCatalog() - { - if (array_key_exists("accessPackageCatalog", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageCatalog"], "\Beta\Microsoft\Graph\Model\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 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; - } - -} 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 deleted file mode 100644 index 88e70345..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswer.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["answeredQuestion"], "\Beta\Microsoft\Graph\Model\AccessPackageQuestion")) { - 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 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 deleted file mode 100644 index f2c5cf8c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerChoice.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The displayValue - */ - public function getDisplayValue() - { - if (array_key_exists("displayValue", $this->_propDict)) { - if (is_a($this->_propDict["displayValue"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedContent")) { - 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 deleted file mode 100644 index ad1de94a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAnswerString.php +++ /dev/null @@ -1,63 +0,0 @@ -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 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 deleted file mode 100644 index f09991a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignment.php +++ /dev/null @@ -1,453 +0,0 @@ -_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 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. - * - * @return string 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. - * - * @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 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 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 The expiredDateTime - */ - public function getExpiredDateTime() - { - if (array_key_exists("expiredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expiredDateTime"], "\DateTime")) { - 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 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 The schedule - */ - public function getSchedule() - { - if (array_key_exists("schedule", $this->_propDict)) { - if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\RequestSchedule")) { - 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 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. - * - * @return AccessPackage The accessPackage - */ - public function getAccessPackage() - { - if (array_key_exists("accessPackage", $this->_propDict)) { - if (is_a($this->_propDict["accessPackage"], "\Beta\Microsoft\Graph\Model\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. - * - * @param AccessPackage $val The accessPackage - * - * @return AccessPackageAssignment - */ - public function setAccessPackage($val) - { - $this->_propDict["accessPackage"] = $val; - return $this; - } - - /** - * Gets the accessPackageAssignmentPolicy - * Read-only. Nullable. - * - * @return AccessPackageAssignmentPolicy The accessPackageAssignmentPolicy - */ - public function getAccessPackageAssignmentPolicy() - { - if (array_key_exists("accessPackageAssignmentPolicy", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageAssignmentPolicy"], "\Beta\Microsoft\Graph\Model\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. - * - * @param AccessPackageAssignmentPolicy $val The accessPackageAssignmentPolicy - * - * @return AccessPackageAssignment - */ - public function setAccessPackageAssignmentPolicy($val) - { - $this->_propDict["accessPackageAssignmentPolicy"] = $val; - return $this; - } - - - /** - * Gets the accessPackageAssignmentRequests - * - * @return array 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 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. - * - * @return AccessPackageSubject The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject")) { - 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. - * - * @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 deleted file mode 100644 index 0b91714e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentFilterByCurrentUserOptions.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["accessPackageId"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageId - * ID 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 The accessReviewSettings - */ - public function getAccessReviewSettings() - { - if (array_key_exists("accessReviewSettings", $this->_propDict)) { - if (is_a($this->_propDict["accessReviewSettings"], "\Beta\Microsoft\Graph\Model\AssignmentReviewSettings")) { - 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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. - * - * @return string 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. - * - * @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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 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 The requestApprovalSettings - */ - public function getRequestApprovalSettings() - { - if (array_key_exists("requestApprovalSettings", $this->_propDict)) { - if (is_a($this->_propDict["requestApprovalSettings"], "\Beta\Microsoft\Graph\Model\ApprovalSettings")) { - 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 The requestorSettings - */ - public function getRequestorSettings() - { - if (array_key_exists("requestorSettings", $this->_propDict)) { - if (is_a($this->_propDict["requestorSettings"], "\Beta\Microsoft\Graph\Model\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. - * - * @return AccessPackage The accessPackage - */ - public function getAccessPackage() - { - if (array_key_exists("accessPackage", $this->_propDict)) { - if (is_a($this->_propDict["accessPackage"], "\Beta\Microsoft\Graph\Model\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. - * - * @param AccessPackage $val The accessPackage - * - * @return AccessPackageAssignmentPolicy - */ - public function setAccessPackage($val) - { - $this->_propDict["accessPackage"] = $val; - return $this; - } - - /** - * Gets the accessPackageCatalog - * - * @return AccessPackageCatalog The accessPackageCatalog - */ - public function getAccessPackageCatalog() - { - if (array_key_exists("accessPackageCatalog", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageCatalog"], "\Beta\Microsoft\Graph\Model\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; - } - -} 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 deleted file mode 100644 index 73f096ca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequest.php +++ /dev/null @@ -1,427 +0,0 @@ -_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 The completedDate - */ - public function getCompletedDate() - { - if (array_key_exists("completedDate", $this->_propDict)) { - if (is_a($this->_propDict["completedDate"], "\DateTime")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 expirationDateTime - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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, Submitted or Scheduled. Read-only. - * - * @return string 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, 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 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 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 The schedule - */ - public function getSchedule() - { - if (array_key_exists("schedule", $this->_propDict)) { - if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\RequestSchedule")) { - 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 - * - * @return AccessPackage The accessPackage - */ - public function getAccessPackage() - { - if (array_key_exists("accessPackage", $this->_propDict)) { - if (is_a($this->_propDict["accessPackage"], "\Beta\Microsoft\Graph\Model\AccessPackage")) { - return $this->_propDict["accessPackage"]; - } else { - $this->_propDict["accessPackage"] = new AccessPackage($this->_propDict["accessPackage"]); - return $this->_propDict["accessPackage"]; - } - } - return null; - } - - /** - * Sets the accessPackage - * - * @param AccessPackage $val The accessPackage - * - * @return AccessPackageAssignmentRequest - */ - public function setAccessPackage($val) - { - $this->_propDict["accessPackage"] = $val; - return $this; - } - - /** - * Gets the accessPackageAssignment - * - * @return AccessPackageAssignment The accessPackageAssignment - */ - public function getAccessPackageAssignment() - { - if (array_key_exists("accessPackageAssignment", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageAssignment"], "\Beta\Microsoft\Graph\Model\AccessPackageAssignment")) { - return $this->_propDict["accessPackageAssignment"]; - } else { - $this->_propDict["accessPackageAssignment"] = new AccessPackageAssignment($this->_propDict["accessPackageAssignment"]); - return $this->_propDict["accessPackageAssignment"]; - } - } - return null; - } - - /** - * Sets the accessPackageAssignment - * - * @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. - * - * @return AccessPackageSubject The requestor - */ - public function getRequestor() - { - if (array_key_exists("requestor", $this->_propDict)) { - if (is_a($this->_propDict["requestor"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject")) { - 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. - * - * @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 deleted file mode 100644 index bdc72e2a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageAssignmentRequestFilterByCurrentUserOptions.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 The accessPackageResourceRole - */ - public function getAccessPackageResourceRole() - { - if (array_key_exists("accessPackageResourceRole", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResourceRole"], "\Beta\Microsoft\Graph\Model\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 The accessPackageResourceScope - */ - public function getAccessPackageResourceScope() - { - if (array_key_exists("accessPackageResourceScope", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResourceScope"], "\Beta\Microsoft\Graph\Model\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. - * - * @return AccessPackageSubject The accessPackageSubject - */ - public function getAccessPackageSubject() - { - if (array_key_exists("accessPackageSubject", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageSubject"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 deleted file mode 100644 index d0d2d6a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageCatalog.php +++ /dev/null @@ -1,412 +0,0 @@ -_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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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. - * - * @return string 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. - * - * @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 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 - * - * @return array The accessPackageResourceRoles - */ - public function getAccessPackageResourceRoles() - { - if (array_key_exists("accessPackageResourceRoles", $this->_propDict)) { - return $this->_propDict["accessPackageResourceRoles"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageResourceRoles - * - * @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 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 - * - * @return array The accessPackageResourceScopes - */ - public function getAccessPackageResourceScopes() - { - if (array_key_exists("accessPackageResourceScopes", $this->_propDict)) { - return $this->_propDict["accessPackageResourceScopes"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageResourceScopes - * - * @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. - * - * @return array 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. - * - * @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/Beta/Microsoft/Graph/Model/AccessPackageFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageFilterByCurrentUserOptions.php deleted file mode 100644 index 499b411e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageFilterByCurrentUserOptions.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The localizedTexts - */ - public function getLocalizedTexts() - { - if (array_key_exists("localizedTexts", $this->_propDict)) { - if (is_a($this->_propDict["localizedTexts"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedText")) { - 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 deleted file mode 100644 index ba810700..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageLocalizedText.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index ae32be9e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageMultipleChoiceQuestion.php +++ /dev/null @@ -1,96 +0,0 @@ -setODataType("#microsoft.graph.accessPackageMultipleChoiceQuestion"); - } - - /** - * Gets the allowsMultipleSelection - * Indicates whether requestor can select multiple choices as their answer. - * - * @return bool 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 The choices - */ - public function getChoices() - { - if (array_key_exists("choices", $this->_propDict)) { - if (is_a($this->_propDict["choices"], "\Beta\Microsoft\Graph\Model\AccessPackageAnswerChoice")) { - 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 deleted file mode 100644 index 98bb252c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageQuestion.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 isRequired - * Whether the requestor is required to supply an answer or not. - * - * @return bool 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 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 The text - */ - public function getText() - { - if (array_key_exists("text", $this->_propDict)) { - if (is_a($this->_propDict["text"], "\Beta\Microsoft\Graph\Model\AccessPackageLocalizedContent")) { - 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 deleted file mode 100644 index 7a114b13..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResource.php +++ /dev/null @@ -1,413 +0,0 @@ -_propDict)) { - return $this->_propDict["addedBy"]; - } else { - return null; - } - } - - /** - * Sets the addedBy - * 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 The addedOn - */ - public function getAddedOn() - { - if (array_key_exists("addedOn", $this->_propDict)) { - if (is_a($this->_propDict["addedOn"], "\DateTime")) { - 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 - * - * @return array The attributes - */ - public function getAttributes() - { - if (array_key_exists("attributes", $this->_propDict)) { - return $this->_propDict["attributes"]; - } else { - return null; - } - } - - /** - * Sets the attributes - * - * @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 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 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 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 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 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 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 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. - * - * @return AccessPackageResourceEnvironment The accessPackageResourceEnvironment - */ - public function getAccessPackageResourceEnvironment() - { - if (array_key_exists("accessPackageResourceEnvironment", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResourceEnvironment"], "\Beta\Microsoft\Graph\Model\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. - * - * @param AccessPackageResourceEnvironment $val The accessPackageResourceEnvironment - * - * @return AccessPackageResource - */ - public function setAccessPackageResourceEnvironment($val) - { - $this->_propDict["accessPackageResourceEnvironment"] = $val; - return $this; - } - - - /** - * Gets the accessPackageResourceRoles - * Read-only. Nullable. - * - * @return array 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. - * - * @param AccessPackageResourceRole $val The accessPackageResourceRoles - * - * @return AccessPackageResource - */ - public function setAccessPackageResourceRoles($val) - { - $this->_propDict["accessPackageResourceRoles"] = $val; - return $this; - } - - - /** - * Gets the accessPackageResourceScopes - * Read-only. Nullable. - * - * @return array 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. - * - * @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 deleted file mode 100644 index 5f957839..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttribute.php +++ /dev/null @@ -1,140 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attributeDestination"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceAttributeDestination")) { - return $this->_propDict["attributeDestination"]; - } else { - $this->_propDict["attributeDestination"] = new AccessPackageResourceAttributeDestination($this->_propDict["attributeDestination"]); - return $this->_propDict["attributeDestination"]; - } - } - return null; - } - - /** - * Sets the attributeDestination - * - * @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 - * - * @return string The attributeName - */ - public function getAttributeName() - { - if (array_key_exists("attributeName", $this->_propDict)) { - return $this->_propDict["attributeName"]; - } else { - return null; - } - } - - /** - * Sets the attributeName - * - * @param string $val The value of the attributeName - * - * @return AccessPackageResourceAttribute - */ - public function setAttributeName($val) - { - $this->_propDict["attributeName"] = $val; - return $this; - } - - /** - * Gets the attributeSource - * - * @return AccessPackageResourceAttributeSource The attributeSource - */ - public function getAttributeSource() - { - if (array_key_exists("attributeSource", $this->_propDict)) { - if (is_a($this->_propDict["attributeSource"], "\Beta\Microsoft\Graph\Model\AccessPackageResourceAttributeSource")) { - return $this->_propDict["attributeSource"]; - } else { - $this->_propDict["attributeSource"] = new AccessPackageResourceAttributeSource($this->_propDict["attributeSource"]); - return $this->_propDict["attributeSource"]; - } - } - return null; - } - - /** - * Sets the attributeSource - * - * @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 - * - * @return string 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 AccessPackageResourceAttribute - */ - public function setId($val) - { - $this->_propDict["id"] = $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 deleted file mode 100644 index aaac657b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeDestination.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["question"], "\Beta\Microsoft\Graph\Model\AccessPackageQuestion")) { - return $this->_propDict["question"]; - } else { - $this->_propDict["question"] = new AccessPackageQuestion($this->_propDict["question"]); - return $this->_propDict["question"]; - } - } - return null; - } - - /** - * Sets the question - * - * @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 deleted file mode 100644 index ac55b290..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceAttributeSource.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["connectionInfo"], "\Beta\Microsoft\Graph\Model\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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 accessPackageResourceEnvironment object. - * - * @return string 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 accessPackageResourceEnvironment 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 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 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 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 such as SharePointOnline. Supports $filter. - * - * @return string 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. Supports $filter. - * - * @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 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 deleted file mode 100644 index 867639a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRequest.php +++ /dev/null @@ -1,327 +0,0 @@ -_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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The accessPackageResource - */ - public function getAccessPackageResource() - { - if (array_key_exists("accessPackageResource", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResource"], "\Beta\Microsoft\Graph\Model\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. - * - * @return AccessPackageSubject The requestor - */ - public function getRequestor() - { - if (array_key_exists("requestor", $this->_propDict)) { - if (is_a($this->_propDict["requestor"], "\Beta\Microsoft\Graph\Model\AccessPackageSubject")) { - 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. - * - * @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 deleted file mode 100644 index 42119cdb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRole.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 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. - * - * @return string 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. - * - * @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 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 The accessPackageResource - */ - public function getAccessPackageResource() - { - if (array_key_exists("accessPackageResource", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResource"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 83539fbf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceRoleScope.php +++ /dev/null @@ -1,217 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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. - * - * @return AccessPackageResourceRole The accessPackageResourceRole - */ - public function getAccessPackageResourceRole() - { - if (array_key_exists("accessPackageResourceRole", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResourceRole"], "\Beta\Microsoft\Graph\Model\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 AccessPackageResourceRoleScope - */ - public function setAccessPackageResourceRole($val) - { - $this->_propDict["accessPackageResourceRole"] = $val; - return $this; - } - - /** - * Gets the accessPackageResourceScope - * Read-only. Nullable. - * - * @return AccessPackageResourceScope The accessPackageResourceScope - */ - public function getAccessPackageResourceScope() - { - if (array_key_exists("accessPackageResourceScope", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResourceScope"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 35e048bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageResourceScope.php +++ /dev/null @@ -1,263 +0,0 @@ -_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 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 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 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 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 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 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 The accessPackageResource - */ - public function getAccessPackageResource() - { - if (array_key_exists("accessPackageResource", $this->_propDict)) { - if (is_a($this->_propDict["accessPackageResource"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c2159013..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php +++ /dev/null @@ -1,284 +0,0 @@ -_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 - * - * @return string The connectedOrganizationId - */ - public function getConnectedOrganizationId() - { - if (array_key_exists("connectedOrganizationId", $this->_propDict)) { - return $this->_propDict["connectedOrganizationId"]; - } else { - return null; - } - } - - /** - * Sets the connectedOrganizationId - * - * @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 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 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 ID of the subject. - * - * @return string The objectId - */ - public function getObjectId() - { - if (array_key_exists("objectId", $this->_propDict)) { - return $this->_propDict["objectId"]; - } else { - return null; - } - } - - /** - * Sets the objectId - * The object ID of the subject. - * - * @param string $val The objectId - * - * @return AccessPackageSubject - */ - public function setObjectId($val) - { - $this->_propDict["objectId"] = $val; - return $this; - } - - /** - * Gets the onPremisesSecurityIdentifier - * - * @return string The onPremisesSecurityIdentifier - */ - public function getOnPremisesSecurityIdentifier() - { - if (array_key_exists("onPremisesSecurityIdentifier", $this->_propDict)) { - return $this->_propDict["onPremisesSecurityIdentifier"]; - } else { - return null; - } - } - - /** - * Sets the onPremisesSecurityIdentifier - * - * @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 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 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 - * - * @return ConnectedOrganization The connectedOrganization - */ - public function getConnectedOrganization() - { - if (array_key_exists("connectedOrganization", $this->_propDict)) { - if (is_a($this->_propDict["connectedOrganization"], "\Beta\Microsoft\Graph\Model\ConnectedOrganization")) { - return $this->_propDict["connectedOrganization"]; - } else { - $this->_propDict["connectedOrganization"] = new ConnectedOrganization($this->_propDict["connectedOrganization"]); - return $this->_propDict["connectedOrganization"]; - } - } - return null; - } - - /** - * Sets the connectedOrganization - * - * @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 deleted file mode 100644 index 75836ff7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.accessPackageTextInputQuestion"); - } - - /** - * Gets the isSingleLineQuestion - * Indicates whether the answer will be in single or multiple line format. - * - * @return bool 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 deleted file mode 100644 index 7dc622e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageUserDirectoryAttributeStore.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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 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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The reviewedEntity - */ - public function getReviewedEntity() - { - if (array_key_exists("reviewedEntity", $this->_propDict)) { - if (is_a($this->_propDict["reviewedEntity"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AccessReviewSettings")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 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 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 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 deleted file mode 100644 index 89833757..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewApplyAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 The appliedBy - */ - public function getAppliedBy() - { - if (array_key_exists("appliedBy", $this->_propDict)) { - if (is_a($this->_propDict["appliedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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 The appliedDateTime - */ - public function getAppliedDateTime() - { - if (array_key_exists("appliedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["appliedDateTime"], "\DateTime")) { - 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 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 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 The reviewedBy - */ - public function getReviewedBy() - { - if (array_key_exists("reviewedBy", $this->_propDict)) { - if (is_a($this->_propDict["reviewedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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 The reviewedDateTime - */ - public function getReviewedDateTime() - { - if (array_key_exists("reviewedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reviewedDateTime"], "\DateTime")) { - 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 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/AccessReviewInactiveUsersQueryScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInactiveUsersQueryScope.php deleted file mode 100644 index 18b14083..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInactiveUsersQueryScope.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["inactiveDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["inactiveDuration"]; - } else { - $this->_propDict["inactiveDuration"] = new Duration($this->_propDict["inactiveDuration"]); - return $this->_propDict["inactiveDuration"]; - } - } - return null; - } - - /** - * Sets the inactiveDuration - * Defines the length of the duration period of inactivity. Inactivity is based on the last sign in date of the user. - * - * @param Duration $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 deleted file mode 100644 index 5e12b2c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstance.php +++ /dev/null @@ -1,218 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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. - * - * @param \DateTime $val The endDateTime - * - * @return AccessReviewInstance - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $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. In the case of a single-group review, the scope defined at the accessReviewScheduleDefinition level applies to all instances. In the case of all groups review, scope may be different for each group. Read-only. - * - * @return AccessReviewScope The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\AccessReviewScope")) { - 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. In the case of a single-group review, the scope defined at the accessReviewScheduleDefinition level applies to all instances. In the case of all groups review, scope may be different for each group. 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. - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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. - * - * @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. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Read-only. - * - * @return string 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. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. Read-only. - * - * @param string $val The status - * - * @return AccessReviewInstance - */ - public function setStatus($val) - { - $this->_propDict["status"] = $val; - return $this; - } - - - /** - * Gets the decisions - * Each user reviewed in an accessReviewInstance has a decision item representing if their access was approved, denied, or not yet reviewed. - * - * @return array 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 their access was 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\AccessReviewScheduleDefinition")) { - 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; - } - -} 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 deleted file mode 100644 index 2840cf0b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItem.php +++ /dev/null @@ -1,457 +0,0 @@ -_propDict)) { - return $this->_propDict["accessReviewId"]; - } else { - return null; - } - } - - /** - * Sets the accessReviewId - * The identifier of the accessReviewInstance parent. - * - * @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. - * - * @return UserIdentity The appliedBy - */ - public function getAppliedBy() - { - if (array_key_exists("appliedBy", $this->_propDict)) { - if (is_a($this->_propDict["appliedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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. - * - * @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. - * - * @return \DateTime The appliedDateTime - */ - public function getAppliedDateTime() - { - if (array_key_exists("appliedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["appliedDateTime"], "\DateTime")) { - 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. - * - * @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: NotApplied, Success, Failed, NotFound, or NotSupported. - * - * @return string 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: NotApplied, Success, Failed, NotFound, or NotSupported. - * - * @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. - * - * @return string 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. - * - * @param string $val The decision - * - * @return AccessReviewInstanceDecisionItem - */ - public function setDecision($val) - { - $this->_propDict["decision"] = $val; - return $this; - } - - /** - * Gets the justification - * The review decision justification. - * - * @return string The justification - */ - public function getJustification() - { - if (array_key_exists("justification", $this->_propDict)) { - return $this->_propDict["justification"]; - } else { - return null; - } - } - - /** - * Sets the justification - * The review decision justification. - * - * @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. - * - * @return Identity The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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. - * - * @param Identity $val The principal - * - * @return AccessReviewInstanceDecisionItem - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the principalLink - * - * @return string The principalLink - */ - public function getPrincipalLink() - { - if (array_key_exists("principalLink", $this->_propDict)) { - return $this->_propDict["principalLink"]; - } else { - return null; - } - } - - /** - * Sets the principalLink - * - * @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. Possible values: Approve, Deny, or NotAvailable. - * - * @return string 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. Possible values: Approve, Deny, or NotAvailable. - * - * @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 - * - * @return AccessReviewInstanceDecisionItemResource The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemResource")) { - 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 - * - * @param AccessReviewInstanceDecisionItemResource $val The resource - * - * @return AccessReviewInstanceDecisionItem - */ - public function setResource($val) - { - $this->_propDict["resource"] = $val; - return $this; - } - - /** - * Gets the resourceLink - * - * @return string The resourceLink - */ - public function getResourceLink() - { - if (array_key_exists("resourceLink", $this->_propDict)) { - return $this->_propDict["resourceLink"]; - } else { - return null; - } - } - - /** - * Sets the resourceLink - * - * @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. - * - * @return UserIdentity The reviewedBy - */ - public function getReviewedBy() - { - if (array_key_exists("reviewedBy", $this->_propDict)) { - if (is_a($this->_propDict["reviewedBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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. - * - * @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 occurred. - * - * @return \DateTime The reviewedDateTime - */ - public function getReviewedDateTime() - { - if (array_key_exists("reviewedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reviewedDateTime"], "\DateTime")) { - 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 occurred. - * - * @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. - * - * @return AccessReviewInstanceDecisionItemTarget The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\AccessReviewInstanceDecisionItemTarget")) { - 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. - * - * @param AccessReviewInstanceDecisionItemTarget $val The target - * - * @return AccessReviewInstanceDecisionItem - */ - public function setTarget($val) - { - $this->_propDict["target"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemResource.php deleted file mode 100644 index 8d532af3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemResource.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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/AccessReviewInstanceDecisionItemServicePrincipalTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalTarget.php deleted file mode 100644 index 351a7250..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemServicePrincipalTarget.php +++ /dev/null @@ -1,117 +0,0 @@ -setODataType("#microsoft.graph.accessReviewInstanceDecisionItemServicePrincipalTarget"); - } - - /** - * Gets the appId - * The appId for the service principal entity being reviewed. - * - * @return string 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 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 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 deleted file mode 100644 index 3465776d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewInstanceDecisionItemTarget.php +++ /dev/null @@ -1,26 +0,0 @@ -setODataType("#microsoft.graph.accessReviewInstanceDecisionItemUserTarget"); - } - - /** - * Gets the userDisplayName - * The name of user. - * - * @return string 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 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 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/AccessReviewQueryScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewQueryScope.php deleted file mode 100644 index 1ba304ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewQueryScope.php +++ /dev/null @@ -1,110 +0,0 @@ -_propDict)) { - return $this->_propDict["query"]; - } else { - return null; - } - } - - /** - * Sets the query - * The query representing what will be reviewed in an access review. Examples of this include /groups/{id}/members?$filter=… - * - * @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 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 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/AccessReviewRecurrenceSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewRecurrenceSettings.php deleted file mode 100644 index b1b918fe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewRecurrenceSettings.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 3de1f3d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewer.php +++ /dev/null @@ -1,81 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * - * @param string $val The displayName - * - * @return AccessReviewReviewer - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 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 deleted file mode 100644 index bab6eaec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewReviewerScope.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 (i.e., ./manager) is specified. - * - * @return string 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 (i.e., ./manager) is specified. - * - * @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 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 deleted file mode 100644 index 6291b9f3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleDefinition.php +++ /dev/null @@ -1,431 +0,0 @@ -_propDict)) { - return $this->_propDict["backupReviewers"]; - } else { - return null; - } - } - - /** - * Sets the backupReviewers - * 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. - * - * @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. - * - * @return UserIdentity The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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. - * - * @param UserIdentity $val The createdBy - * - * @return AccessReviewScheduleDefinition - */ - public function setCreatedBy($val) - { - $this->_propDict["createdBy"] = $val; - return $this; - } - - /** - * Gets the createdDateTime - * Timestamp when review series was created. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - return $this->_propDict["createdDateTime"]; - } else { - $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); - return $this->_propDict["createdDateTime"]; - } - } - return null; - } - - /** - * Sets the createdDateTime - * Timestamp when review series was created. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @param string $val The descriptionForReviewers - * - * @return AccessReviewScheduleDefinition - */ - public function setDescriptionForReviewers($val) - { - $this->_propDict["descriptionForReviewers"] = $val; - return $this; - } - - /** - * Gets the displayName - * Name of access review series. Required on create. - * - * @return string The displayName - */ - public function getDisplayName() - { - if (array_key_exists("displayName", $this->_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * Name of access review series. Required on create. - * - * @param string $val The displayName - * - * @return AccessReviewScheduleDefinition - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the instanceEnumerationScope - * In the case of a review of guest users across all Microsoft 365 groups, this determines the scope of which groups will be reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. - * - * @return AccessReviewScope The instanceEnumerationScope - */ - public function getInstanceEnumerationScope() - { - if (array_key_exists("instanceEnumerationScope", $this->_propDict)) { - if (is_a($this->_propDict["instanceEnumerationScope"], "\Beta\Microsoft\Graph\Model\AccessReviewScope")) { - return $this->_propDict["instanceEnumerationScope"]; - } else { - $this->_propDict["instanceEnumerationScope"] = new AccessReviewScope($this->_propDict["instanceEnumerationScope"]); - return $this->_propDict["instanceEnumerationScope"]; - } - } - return null; - } - - /** - * Sets the instanceEnumerationScope - * In the case of a review of guest users across all Microsoft 365 groups, this determines the scope of which groups will be reviewed. Each group will become a unique accessReviewInstance of the access review series. For supported scopes, see accessReviewScope. - * - * @param AccessReviewScope $val The instanceEnumerationScope - * - * @return AccessReviewScheduleDefinition - */ - public function setInstanceEnumerationScope($val) - { - $this->_propDict["instanceEnumerationScope"] = $val; - return $this; - } - - /** - * Gets the lastModifiedDateTime - * Timestamp when review series was last modified. - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - return $this->_propDict["lastModifiedDateTime"]; - } else { - $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); - return $this->_propDict["lastModifiedDateTime"]; - } - } - return null; - } - - /** - * Sets the lastModifiedDateTime - * Timestamp when review series was last modified. - * - * @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. See accessReviewReviewerScope. Required on create. - * - * @return array 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. See accessReviewReviewerScope. Required on create. - * - * @param AccessReviewReviewerScope $val The reviewers - * - * @return AccessReviewScheduleDefinition - */ - public function setReviewers($val) - { - $this->_propDict["reviewers"] = $val; - return $this; - } - - /** - * Gets the scope - * Defines scope of users reviewed. For supported scopes, see accessReviewScope. Required on create. - * - * @return AccessReviewScope The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\AccessReviewScope")) { - return $this->_propDict["scope"]; - } else { - $this->_propDict["scope"] = new AccessReviewScope($this->_propDict["scope"]); - return $this->_propDict["scope"]; - } - } - return null; - } - - /** - * Sets the scope - * Defines scope of users reviewed. For supported scopes, see accessReviewScope. Required on create. - * - * @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. - * - * @return AccessReviewScheduleSettings The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AccessReviewScheduleSettings")) { - 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. - * - * @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 accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed. - * - * @return string 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 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 will be an instance for each recurrence. - * - * @return array 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 will be 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/AccessReviewScheduleSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleSettings.php deleted file mode 100644 index fb3cc72e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScheduleSettings.php +++ /dev/null @@ -1,316 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applyActions"], "\Beta\Microsoft\Graph\Model\AccessReviewApplyAction")) { - 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. See accessReviewApplyAction. - * - * @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 - * Flag to indicate whether auto-apply feature is enabled. - * - * @return bool The autoApplyDecisionsEnabled - */ - public function getAutoApplyDecisionsEnabled() - { - if (array_key_exists("autoApplyDecisionsEnabled", $this->_propDict)) { - return $this->_propDict["autoApplyDecisionsEnabled"]; - } else { - return null; - } - } - - /** - * Sets the autoApplyDecisionsEnabled - * Flag to indicate whether auto-apply feature is enabled. - * - * @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 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 - * Flag to indicate whether default decision is enabled/disabled when reviewers do not respond. - * - * @return bool The defaultDecisionEnabled - */ - public function getDefaultDecisionEnabled() - { - if (array_key_exists("defaultDecisionEnabled", $this->_propDict)) { - return $this->_propDict["defaultDecisionEnabled"]; - } else { - return null; - } - } - - /** - * Sets the defaultDecisionEnabled - * Flag to indicate whether default decision is enabled/disabled when reviewers do not respond. - * - * @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. - * - * @return int 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. - * - * @param int $val The value of the instanceDurationInDays - * - * @return AccessReviewScheduleSettings - */ - public function setInstanceDurationInDays($val) - { - $this->_propDict["instanceDurationInDays"] = $val; - return $this; - } - /** - * Gets the justificationRequiredOnApproval - * Flag to indicate whether reviewers are required to provide justification with their decision. - * - * @return bool The justificationRequiredOnApproval - */ - public function getJustificationRequiredOnApproval() - { - if (array_key_exists("justificationRequiredOnApproval", $this->_propDict)) { - return $this->_propDict["justificationRequiredOnApproval"]; - } else { - return null; - } - } - - /** - * Sets the justificationRequiredOnApproval - * Flag to indicate whether reviewers are required to provide justification with their decision. - * - * @param bool $val The value of the justificationRequiredOnApproval - * - * @return AccessReviewScheduleSettings - */ - public function setJustificationRequiredOnApproval($val) - { - $this->_propDict["justificationRequiredOnApproval"] = $val; - return $this; - } - /** - * Gets the mailNotificationsEnabled - * Flag to indicate whether emails are enabled/disabled. - * - * @return bool The mailNotificationsEnabled - */ - public function getMailNotificationsEnabled() - { - if (array_key_exists("mailNotificationsEnabled", $this->_propDict)) { - return $this->_propDict["mailNotificationsEnabled"]; - } else { - return null; - } - } - - /** - * Sets the mailNotificationsEnabled - * Flag to indicate whether emails are enabled/disabled. - * - * @param bool $val The value of the mailNotificationsEnabled - * - * @return AccessReviewScheduleSettings - */ - public function setMailNotificationsEnabled($val) - { - $this->_propDict["mailNotificationsEnabled"] = $val; - return $this; - } - /** - * Gets the recommendationsEnabled - * Flag to indicate whether decision recommendations are enabled/disabled. - * - * @return bool The recommendationsEnabled - */ - public function getRecommendationsEnabled() - { - if (array_key_exists("recommendationsEnabled", $this->_propDict)) { - return $this->_propDict["recommendationsEnabled"]; - } else { - return null; - } - } - - /** - * Sets the recommendationsEnabled - * Flag to indicate whether decision recommendations are enabled/disabled. - * - * @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 standard Outlook recurrence object. Note that dayOfMonth is not supported - use property startDate on recurrenceRange to determine the day the review will start on. - * - * @return PatternedRecurrence The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 standard Outlook recurrence object. Note that dayOfMonth is not supported - use property startDate on recurrenceRange to determine the day the review will start on. - * - * @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 - * Flag to indicate whether reminders are enabled/disabled. - * - * @return bool The reminderNotificationsEnabled - */ - public function getReminderNotificationsEnabled() - { - if (array_key_exists("reminderNotificationsEnabled", $this->_propDict)) { - return $this->_propDict["reminderNotificationsEnabled"]; - } else { - return null; - } - } - - /** - * Sets the reminderNotificationsEnabled - * Flag to indicate whether reminders are enabled/disabled. - * - * @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 deleted file mode 100644 index 41f9141d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewScope.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - return $this->_propDict["definitions"]; - } else { - return null; - } - } - - /** - * Sets the definitions - * - * @param AccessReviewScheduleDefinition $val The definitions - * - * @return AccessReviewSet - */ - public function setDefinitions($val) - { - $this->_propDict["definitions"] = $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 deleted file mode 100644 index 3c840516..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessReviewSettings.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 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 The autoReviewSettings - */ - public function getAutoReviewSettings() - { - if (array_key_exists("autoReviewSettings", $this->_propDict)) { - if (is_a($this->_propDict["autoReviewSettings"], "\Beta\Microsoft\Graph\Model\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 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 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 The recurrenceSettings - */ - public function getRecurrenceSettings() - { - if (array_key_exists("recurrenceSettings", $this->_propDict)) { - if (is_a($this->_propDict["recurrenceSettings"], "\Beta\Microsoft\Graph\Model\AccessReviewRecurrenceSettings")) { - 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 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/AccessScope.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessScope.php deleted file mode 100644 index 6131f0ca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessScope.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 205fdb4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountAlias.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 3eaf2414..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccountStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\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 The identitySource - */ - public function getIdentitySource() - { - if (array_key_exists("identitySource", $this->_propDict)) { - if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\Model\IdentitySourceType")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AclType")) { - 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 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/Model/AclType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AclType.php deleted file mode 100644 index 54a412f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AclType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError")) { - 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 deleted file mode 100644 index 75563985..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActionSource.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The domainJoinConfiguration - */ - public function getDomainJoinConfiguration() - { - if (array_key_exists("domainJoinConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["domainJoinConfiguration"], "\Beta\Microsoft\Graph\Model\WindowsDomainJoinConfiguration")) { - 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 deleted file mode 100644 index 38d73596..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityBasedTimeoutPolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastActiveDateTime - */ - public function getLastActiveDateTime() - { - if (array_key_exists("lastActiveDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActiveDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The startedDateTime - */ - public function getStartedDateTime() - { - if (array_key_exists("startedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\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 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 The activity - */ - public function getActivity() - { - if (array_key_exists("activity", $this->_propDict)) { - if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\UserActivity")) { - 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 deleted file mode 100644 index 7354a8d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityStatistics.php +++ /dev/null @@ -1,188 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\AnalyticsActivityType")) { - 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 Duration The duration - */ - public function getDuration() - { - if (array_key_exists("duration", $this->_propDict)) { - if (is_a($this->_propDict["duration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["duration"]; - } else { - $this->_propDict["duration"] = new Duration($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 Duration $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 The endDate - */ - public function getEndDate() - { - if (array_key_exists("endDate", $this->_propDict)) { - if (is_a($this->_propDict["endDate"], "\DateTime")) { - 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 The startDate - */ - public function getStartDate() - { - if (array_key_exists("startDate", $this->_propDict)) { - if (is_a($this->_propDict["startDate"], "\DateTime")) { - 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 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 deleted file mode 100644 index 6ecc0634..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ActivityType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\ContentAlignment")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index 8d9887f9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddContentHeaderAction.php +++ /dev/null @@ -1,227 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\ContentAlignment")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index 898fbca8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddFooter.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index f0778e01..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddHeader.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["alignment"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index f3b2468e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddIn.php +++ /dev/null @@ -1,109 +0,0 @@ -_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 The addInProperties - */ - public function getAddInProperties() - { - if (array_key_exists("properties", $this->_propDict)) { - if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\KeyValue")) { - 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 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/AddWatermark.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddWatermark.php deleted file mode 100644 index 94dd09c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddWatermark.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PageOrientation")) { - 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 deleted file mode 100644 index 4b620552..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AddWatermarkAction.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 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 The layout - */ - public function getLayout() - { - if (array_key_exists("layout", $this->_propDict)) { - if (is_a($this->_propDict["layout"], "\Beta\Microsoft\Graph\Model\WatermarkLayout")) { - 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 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 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/AdminConsent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsent.php deleted file mode 100644 index 5181e2cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsent.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["shareAPNSData"], "\Beta\Microsoft\Graph\Model\AdminConsentState")) { - 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 The shareUserExperienceAnalyticsData - */ - public function getShareUserExperienceAnalyticsData() - { - if (array_key_exists("shareUserExperienceAnalyticsData", $this->_propDict)) { - if (is_a($this->_propDict["shareUserExperienceAnalyticsData"], "\Beta\Microsoft\Graph\Model\AdminConsentState")) { - 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 deleted file mode 100644 index e22e96f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentRequestPolicy.php +++ /dev/null @@ -1,202 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 54933038..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdminConsentState.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * An optional description for the administrative unit. - * - * @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. - * - * @return string 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. - * - * @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 or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. - * - * @return string 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 or Public. If not set, 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 Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members). - * - * @return array 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 Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members). - * - * @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. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership). - * - * @return array 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. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership). - * - * @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 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 deleted file mode 100644 index b4520ce4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdministratorConfiguredDeviceComplianceState.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\DeviceType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index bb88e82a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AdvancedThreatProtectionOnboardingStateSummary.php +++ /dev/null @@ -1,289 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 232eb5f7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsPayable.php +++ /dev/null @@ -1,321 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["agedAsOfDate"], "\DateTime")) { - 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 The balanceDue - */ - public function getBalanceDue() - { - if (array_key_exists("balanceDue", $this->_propDict)) { - if (is_a($this->_propDict["balanceDue"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The currentAmount - */ - public function getCurrentAmount() - { - if (array_key_exists("currentAmount", $this->_propDict)) { - if (is_a($this->_propDict["currentAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The period1Amount - */ - public function getPeriod1Amount() - { - if (array_key_exists("period1Amount", $this->_propDict)) { - if (is_a($this->_propDict["period1Amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The period2Amount - */ - public function getPeriod2Amount() - { - if (array_key_exists("period2Amount", $this->_propDict)) { - if (is_a($this->_propDict["period2Amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The period3Amount - */ - public function getPeriod3Amount() - { - if (array_key_exists("period3Amount", $this->_propDict)) { - if (is_a($this->_propDict["period3Amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 deleted file mode 100644 index ed3deea2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgedAccountsReceivable.php +++ /dev/null @@ -1,321 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["agedAsOfDate"], "\DateTime")) { - 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 The balanceDue - */ - public function getBalanceDue() - { - if (array_key_exists("balanceDue", $this->_propDict)) { - if (is_a($this->_propDict["balanceDue"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The currentAmount - */ - public function getCurrentAmount() - { - if (array_key_exists("currentAmount", $this->_propDict)) { - if (is_a($this->_propDict["currentAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The period1Amount - */ - public function getPeriod1Amount() - { - if (array_key_exists("period1Amount", $this->_propDict)) { - if (is_a($this->_propDict["period1Amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The period2Amount - */ - public function getPeriod2Amount() - { - if (array_key_exists("period2Amount", $this->_propDict)) { - if (is_a($this->_propDict["period2Amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The period3Amount - */ - public function getPeriod3Amount() - { - if (array_key_exists("period3Amount", $this->_propDict)) { - if (is_a($this->_propDict["period3Amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 deleted file mode 100644 index f14b867a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgentStatus.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["bucketDefinition"], "\Beta\Microsoft\Graph\Model\BucketAggregationDefinition")) { - 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 - * Specifies the field in the schema of the specified entity type that aggregation should be computed on. Required. - * - * @return string The field - */ - public function getField() - { - if (array_key_exists("field", $this->_propDict)) { - return $this->_propDict["field"]; - } else { - return null; - } - } - - /** - * Sets the field - * Specifies the field in the schema of the specified entity type that aggregation should be computed on. 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 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 deleted file mode 100644 index f2e63b4e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Agreement.php +++ /dev/null @@ -1,273 +0,0 @@ -_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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return TermsExpiration The termsExpiration - */ - public function getTermsExpiration() - { - if (array_key_exists("termsExpiration", $this->_propDict)) { - if (is_a($this->_propDict["termsExpiration"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 Duration The userReacceptRequiredFrequency - */ - public function getUserReacceptRequiredFrequency() - { - if (array_key_exists("userReacceptRequiredFrequency", $this->_propDict)) { - if (is_a($this->_propDict["userReacceptRequiredFrequency"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["userReacceptRequiredFrequency"]; - } else { - $this->_propDict["userReacceptRequiredFrequency"] = new Duration($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 Duration $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 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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\AgreementFile")) { - 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 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 deleted file mode 100644 index e56f5a53..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptance.php +++ /dev/null @@ -1,416 +0,0 @@ -_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 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 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 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The recordedDateTime - */ - public function getRecordedDateTime() - { - if (array_key_exists("recordedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["recordedDateTime"], "\DateTime")) { - 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. - * - * @return AgreementAcceptanceState The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\AgreementAcceptanceState")) { - 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. - * - * @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 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 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 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 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 deleted file mode 100644 index 55e37d08..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementAcceptanceState.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["localizations"]; - } else { - return null; - } - } - - /** - * Sets the localizations - * - * @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 deleted file mode 100644 index 96d48775..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileData.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["data"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["data"]; - } else { - $this->_propDict["data"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["data"]); - return $this->_propDict["data"]; - } - } - return null; - } - - /** - * Sets the data - * - * @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 deleted file mode 100644 index 22ad2812..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileLocalization.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["versions"]; - } else { - return null; - } - } - - /** - * Sets the versions - * - * @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 deleted file mode 100644 index bdd018c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileProperties.php +++ /dev/null @@ -1,224 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 AgreementFileProperties - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 AgreementFileProperties - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the fileData - * - * @return AgreementFileData The fileData - */ - public function getFileData() - { - if (array_key_exists("fileData", $this->_propDict)) { - if (is_a($this->_propDict["fileData"], "\Beta\Microsoft\Graph\Model\AgreementFileData")) { - return $this->_propDict["fileData"]; - } else { - $this->_propDict["fileData"] = new AgreementFileData($this->_propDict["fileData"]); - return $this->_propDict["fileData"]; - } - } - return null; - } - - /** - * Sets the fileData - * - * @param AgreementFileData $val The fileData - * - * @return AgreementFileProperties - */ - public function setFileData($val) - { - $this->_propDict["fileData"] = $val; - return $this; - } - - /** - * Gets the fileName - * - * @return string 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 AgreementFileProperties - */ - public function setFileName($val) - { - $this->_propDict["fileName"] = $val; - return $this; - } - - /** - * Gets the isDefault - * - * @return bool 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 AgreementFileProperties - */ - public function setIsDefault($val) - { - $this->_propDict["isDefault"] = boolval($val); - return $this; - } - - /** - * Gets the isMajorVersion - * - * @return bool The isMajorVersion - */ - public function getIsMajorVersion() - { - if (array_key_exists("isMajorVersion", $this->_propDict)) { - return $this->_propDict["isMajorVersion"]; - } else { - return null; - } - } - - /** - * Sets the isMajorVersion - * - * @param bool $val The isMajorVersion - * - * @return AgreementFileProperties - */ - public function setIsMajorVersion($val) - { - $this->_propDict["isMajorVersion"] = boolval($val); - return $this; - } - - /** - * Gets the language - * - * @return string The language - */ - public function getLanguage() - { - if (array_key_exists("language", $this->_propDict)) { - return $this->_propDict["language"]; - } else { - return null; - } - } - - /** - * Sets the language - * - * @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 deleted file mode 100644 index ef4f37d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AgreementFileVersion.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index e3588df7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Album.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 4ca6f29d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alert.php +++ /dev/null @@ -1,1200 +0,0 @@ -_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 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 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 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 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 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 The closedDateTime - */ - public function getClosedDateTime() - { - if (array_key_exists("closedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["closedDateTime"], "\DateTime")) { - 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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 The feedback - */ - public function getFeedback() - { - if (array_key_exists("feedback", $this->_propDict)) { - if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\AlertFeedback")) { - 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 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 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 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 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 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 The lastEventDateTime - */ - public function getLastEventDateTime() - { - if (array_key_exists("lastEventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastEventDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The severity - */ - public function getSeverity() - { - if (array_key_exists("severity", $this->_propDict)) { - if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\AlertSeverity")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AlertStatus")) { - 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 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 deleted file mode 100644 index 888f26ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertDetection.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0ccfcdc4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertFeedback.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 The feedback - */ - public function getFeedback() - { - if (array_key_exists("feedback", $this->_propDict)) { - if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\AlertFeedback")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AlertStatus")) { - 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 The updatedDateTime - */ - public function getUpdatedDateTime() - { - if (array_key_exists("updatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["updatedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index b64381a6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlertSeverity.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 deleted file mode 100644 index 2458d715..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Alignment.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 2e9ad081..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllLicensedUsersAssignmentTarget.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 9265303e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AllowInvitesFrom.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 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/AlterationResponse.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlterationResponse.php deleted file mode 100644 index 029664e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlterationResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -_propDict)) { - return $this->_propDict["originalQueryString"]; - } else { - return null; - } - } - - /** - * Sets the originalQueryString - * - * @param string $val The value of the originalQueryString - * - * @return AlterationResponse - */ - public function setOriginalQueryString($val) - { - $this->_propDict["originalQueryString"] = $val; - return $this; - } - - /** - * Gets the queryAlteration - * - * @return SearchAlteration The queryAlteration - */ - public function getQueryAlteration() - { - if (array_key_exists("queryAlteration", $this->_propDict)) { - if (is_a($this->_propDict["queryAlteration"], "\Beta\Microsoft\Graph\Model\SearchAlteration")) { - return $this->_propDict["queryAlteration"]; - } else { - $this->_propDict["queryAlteration"] = new SearchAlteration($this->_propDict["queryAlteration"]); - return $this->_propDict["queryAlteration"]; - } - } - return null; - } - - /** - * Sets the queryAlteration - * - * @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 - * - * @return SearchAlterationType The queryAlterationType - */ - public function getQueryAlterationType() - { - if (array_key_exists("queryAlterationType", $this->_propDict)) { - if (is_a($this->_propDict["queryAlterationType"], "\Beta\Microsoft\Graph\Model\SearchAlterationType")) { - return $this->_propDict["queryAlterationType"]; - } else { - $this->_propDict["queryAlterationType"] = new SearchAlterationType($this->_propDict["queryAlterationType"]); - return $this->_propDict["queryAlterationType"]; - } - } - return null; - } - - /** - * Sets the queryAlterationType - * - * @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 deleted file mode 100644 index 89f82be7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlteredQueryToken.php +++ /dev/null @@ -1,104 +0,0 @@ -_propDict)) { - return $this->_propDict["length"]; - } else { - return null; - } - } - - /** - * Sets the length - * - * @param int $val The value of the length - * - * @return AlteredQueryToken - */ - public function setLength($val) - { - $this->_propDict["length"] = $val; - return $this; - } - /** - * Gets the offset - * - * @return int 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 AlteredQueryToken - */ - public function setOffset($val) - { - $this->_propDict["offset"] = $val; - return $this; - } - /** - * Gets the suggestion - * - * @return string The suggestion - */ - public function getSuggestion() - { - if (array_key_exists("suggestion", $this->_propDict)) { - return $this->_propDict["suggestion"]; - } else { - return null; - } - } - - /** - * Sets the suggestion - * - * @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 deleted file mode 100644 index 4f0307a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AlternativeSecurityId.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The key - */ - public function getKey() - { - if (array_key_exists("key", $this->_propDict)) { - if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["key"]; - } else { - $this->_propDict["key"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 7a9a108b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AnalyticsActivityType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidTrustedRootCertificate")) { - 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 deleted file mode 100644 index 27f82c22..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCompliancePolicy.php +++ /dev/null @@ -1,827 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 The requiredPasswordComplexity - */ - public function getRequiredPasswordComplexity() - { - if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) { - if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 3b687f75..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidCustomConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 26bbc909..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionBase.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index af60142b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceComplianceLocalActionLockDevice.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 deleted file mode 100644 index 1bda1063..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerAppAutoUpdatePolicyType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerTrustedRootCertificate")) { - 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 deleted file mode 100644 index 2c319f71..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerCompliancePolicy.php +++ /dev/null @@ -1,648 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType")) { - 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 securityRequireSafetyNetAttestationBasicIntegrity - * Require the device to pass the SafetyNet basic integrity check. - * - * @return bool 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 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 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/AndroidDeviceOwnerDefaultAppPermissionPolicyType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDefaultAppPermissionPolicyType.php deleted file mode 100644 index 8048d2d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerDefaultAppPermissionPolicyType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 deleted file mode 100644 index 4c2f53e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentMode.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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. - * - * @return AndroidDeviceOwnerEnrollmentMode The enrollmentMode - */ - public function getEnrollmentMode() - { - if (array_key_exists("enrollmentMode", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentMode"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerEnrollmentMode")) { - 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. - * - * @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 The enrollmentTokenType - */ - public function getEnrollmentTokenType() - { - if (array_key_exists("enrollmentTokenType", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentTokenType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerEnrollmentTokenType")) { - 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 lastModifiedDateTime - * Date time the enrollment profile was last modified. - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The qrCodeImage - */ - public function getQrCodeImage() - { - if (array_key_exists("qrCodeImage", $this->_propDict)) { - if (is_a($this->_propDict["qrCodeImage"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 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 The tokenCreationDateTime - */ - public function getTokenCreationDateTime() - { - if (array_key_exists("tokenCreationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["tokenCreationDateTime"], "\DateTime")) { - 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 The tokenExpirationDateTime - */ - public function getTokenExpirationDateTime() - { - if (array_key_exists("tokenExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["tokenExpirationDateTime"], "\DateTime")) { - 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 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; - } - -} 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 deleted file mode 100644 index 792ea92a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerEnrollmentProfileType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType")) { - 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 The innerAuthenticationProtocolForEapTtls - */ - public function getInnerAuthenticationProtocolForEapTtls() - { - if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 The innerAuthenticationProtocolForPeap - */ - public function getInnerAuthenticationProtocolForPeap() - { - if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap")) { - 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 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 derivedCredentialSettings - * Tenant level settings for the Derived Credentials to be used for authentication. - * - * @return DeviceManagementDerivedCredentialSettings The derivedCredentialSettings - */ - public function getDerivedCredentialSettings() - { - if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerCertificateProfileBase")) { - 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 The rootCertificateForServerValidation - */ - public function getRootCertificateForServerValidation() - { - if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerTrustedRootCertificate")) { - 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 deleted file mode 100644 index e89f6b3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGeneralDeviceConfiguration.php +++ /dev/null @@ -1,3344 +0,0 @@ -_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 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 The appsAutoUpdatePolicy - */ - public function getAppsAutoUpdatePolicy() - { - if (array_key_exists("appsAutoUpdatePolicy", $this->_propDict)) { - if (is_a($this->_propDict["appsAutoUpdatePolicy"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerAppAutoUpdatePolicyType")) { - 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 The appsDefaultPermissionPolicy - */ - public function getAppsDefaultPermissionPolicy() - { - if (array_key_exists("appsDefaultPermissionPolicy", $this->_propDict)) { - if (is_a($this->_propDict["appsDefaultPermissionPolicy"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerDefaultAppPermissionPolicyType")) { - 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 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 bluetoothBlockConfiguration - * Indicates whether or not to block a user from configuring bluetooth. - * - * @return bool 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 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 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 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 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 dataRoamingBlocked - * Indicates whether or not to block a user from data roaming. - * - * @return bool 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 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 enrollmentProfile - * Indicates which enrollment profile you want to configure. Possible values are: notConfigured, dedicatedDevice, fullyManaged. - * - * @return AndroidDeviceOwnerEnrollmentProfileType The enrollmentProfile - */ - public function getEnrollmentProfile() - { - if (array_key_exists("enrollmentProfile", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentProfile"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerEnrollmentProfileType")) { - 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 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 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 The globalProxy - */ - public function getGlobalProxy() - { - if (array_key_exists("globalProxy", $this->_propDict)) { - if (is_a($this->_propDict["globalProxy"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerGlobalProxy")) { - 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 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 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 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 The kioskCustomizationStatusBar - */ - public function getKioskCustomizationStatusBar() - { - if (array_key_exists("kioskCustomizationStatusBar", $this->_propDict)) { - if (is_a($this->_propDict["kioskCustomizationStatusBar"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskCustomizationStatusBar")) { - 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 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 The kioskCustomizationSystemNavigation - */ - public function getKioskCustomizationSystemNavigation() - { - if (array_key_exists("kioskCustomizationSystemNavigation", $this->_propDict)) { - if (is_a($this->_propDict["kioskCustomizationSystemNavigation"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskCustomizationSystemNavigation")) { - 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 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 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 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 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 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 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 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 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 The kioskModeFolderIcon - */ - public function getKioskModeFolderIcon() - { - if (array_key_exists("kioskModeFolderIcon", $this->_propDict)) { - if (is_a($this->_propDict["kioskModeFolderIcon"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeFolderIcon")) { - 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 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 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 The kioskModeIconSize - */ - public function getKioskModeIconSize() - { - if (array_key_exists("kioskModeIconSize", $this->_propDict)) { - if (is_a($this->_propDict["kioskModeIconSize"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeIconSize")) { - 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 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 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 kioskModeManagedSettingsEntryDisabled - * Whether or not to display the Managed Settings entry point on the managed home screen in Kiosk Mode. - * - * @return bool 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 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 The kioskModeScreenOrientation - */ - public function getKioskModeScreenOrientation() - { - if (array_key_exists("kioskModeScreenOrientation", $this->_propDict)) { - if (is_a($this->_propDict["kioskModeScreenOrientation"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeScreenOrientation")) { - 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 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 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 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 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 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 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 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 kioskModeVirtualHomeButtonEnabled - * Whether or not to display a virtual home button when the device is in Kiosk Mode. - * - * @return bool 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 The kioskModeVirtualHomeButtonType - */ - public function getKioskModeVirtualHomeButtonType() - { - if (array_key_exists("kioskModeVirtualHomeButtonType", $this->_propDict)) { - if (is_a($this->_propDict["kioskModeVirtualHomeButtonType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerVirtualHomeButtonType")) { - 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 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 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 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 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 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 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 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 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 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 The microsoftLauncherDockPresenceConfiguration - */ - public function getMicrosoftLauncherDockPresenceConfiguration() - { - if (array_key_exists("microsoftLauncherDockPresenceConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["microsoftLauncherDockPresenceConfiguration"], "\Beta\Microsoft\Graph\Model\MicrosoftLauncherDockPresence")) { - 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 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 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 The microsoftLauncherSearchBarPlacementConfiguration - */ - public function getMicrosoftLauncherSearchBarPlacementConfiguration() - { - if (array_key_exists("microsoftLauncherSearchBarPlacementConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["microsoftLauncherSearchBarPlacementConfiguration"], "\Beta\Microsoft\Graph\Model\MicrosoftLauncherSearchBarPlacement")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType")) { - 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 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 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 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 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 personalProfileScreenCaptureBlocked - * Indicates whether to disable the capability to take screenshots on the personal profile. - * - * @return bool 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 The playStoreMode - */ - public function getPlayStoreMode() - { - if (array_key_exists("playStoreMode", $this->_propDict)) { - if (is_a($this->_propDict["playStoreMode"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerPlayStoreMode")) { - 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 safeBootBlocked - * Indicates whether or not rebooting the device into safe boot is disabled. - * - * @return bool The safeBootBlocked - */ - public function getSafeBootBlocked() - { - if (array_key_exists("safeBootBlocked", $this->_propDict)) { - return $this->_propDict["safeBootBlocked"]; - } else { - return null; - } - } - - /** - * Sets the safeBootBlocked - * Indicates whether or not rebooting the device into safe boot is disabled. - * - * @param bool $val The safeBootBlocked - * - * @return AndroidDeviceOwnerGeneralDeviceConfiguration - */ - public function setSafeBootBlocked($val) - { - $this->_propDict["safeBootBlocked"] = boolval($val); - return $this; - } - - /** - * Gets the screenCaptureBlocked - * Indicates whether or not to disable the capability to take screenshots. - * - * @return bool 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 securityAllowDebuggingFeatures - * Indicates whether or not to block the user from enabling debugging features on the device. - * - * @return bool 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 AndroidDeviceOwnerGeneralDeviceConfiguration - */ - public function setSecurityAllowDebuggingFeatures($val) - { - $this->_propDict["securityAllowDebuggingFeatures"] = boolval($val); - return $this; - } - - /** - * Gets the securityRequireVerifyApps - * Indicates whether or not verify apps is required. - * - * @return bool 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 statusBarBlocked - * Indicates whether or the status bar is disabled, including notifications, quick settings and other screen overlays. - * - * @return bool 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 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 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 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 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 systemUpdateInstallType - * The type of system update configuration. Possible values are: deviceDefault, postpone, windowed, automatic. - * - * @return AndroidDeviceOwnerSystemUpdateInstallType The systemUpdateInstallType - */ - public function getSystemUpdateInstallType() - { - if (array_key_exists("systemUpdateInstallType", $this->_propDict)) { - if (is_a($this->_propDict["systemUpdateInstallType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerSystemUpdateInstallType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The workProfilePasswordRequiredType - */ - public function getWorkProfilePasswordRequiredType() - { - if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType")) { - 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 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 deleted file mode 100644 index bce78581..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxy.php +++ /dev/null @@ -1,26 +0,0 @@ -setODataType("#microsoft.graph.androidDeviceOwnerGlobalProxyAutoConfig"); - } - - /** - * Gets the proxyAutoConfigURL - * The proxy auto-config URL - * - * @return string 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 deleted file mode 100644 index 2b2546a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerGlobalProxyDirect.php +++ /dev/null @@ -1,119 +0,0 @@ -setODataType("#microsoft.graph.androidDeviceOwnerGlobalProxyDirect"); - } - - /** - * Gets the excludedHosts - * The excluded hosts - * - * @return string 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 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 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 deleted file mode 100644 index b93f5789..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerImportedPFXCertificateProfile.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index f13e8394..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskCustomizationStatusBar.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index 9b83d016..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeAppPositionItem.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeHomeScreenItem")) { - 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 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 deleted file mode 100644 index 056ba461..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeFolderIcon.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The items - */ - public function getItems() - { - if (array_key_exists("items", $this->_propDict)) { - if (is_a($this->_propDict["items"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerKioskModeFolderItem")) { - 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 deleted file mode 100644 index 13b94c27..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeManagedFolderReference.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c5cda8dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerKioskModeScreenOrientation.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 deleted file mode 100644 index 15237e9e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php +++ /dev/null @@ -1,298 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The certificationAuthorityType - */ - public function getCertificationAuthorityType() - { - if (array_key_exists("certificationAuthorityType", $this->_propDict)) { - if (is_a($this->_propDict["certificationAuthorityType"], "\Beta\Microsoft\Graph\Model\DeviceManagementCertificationAuthority")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 43dee55f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPlayStoreMode.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 The hashAlgorithm - */ - public function getHashAlgorithm() - { - if (array_key_exists("hashAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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/AndroidDeviceOwnerSystemUpdateInstallType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateInstallType.php deleted file mode 100644 index 9689d5d2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerSystemUpdateInstallType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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/AndroidDeviceOwnerVirtualHomeButtonType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVirtualHomeButtonType.php deleted file mode 100644 index 4adbca74..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerVirtualHomeButtonType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidVpnConnectionType")) { - 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 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 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 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 The proxyServer - */ - public function getProxyServer() - { - if (array_key_exists("proxyServer", $this->_propDict)) { - if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\VpnProxyServer")) { - 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 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 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 The derivedCredentialSettings - */ - public function getDerivedCredentialSettings() - { - if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerCertificateProfileBase")) { - 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 deleted file mode 100644 index 9b6baecb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiConfiguration.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 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 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 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 The wiFiSecurityType - */ - public function getWiFiSecurityType() - { - if (array_key_exists("wiFiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerWiFiSecurityType")) { - 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 deleted file mode 100644 index c0b6b8c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerWiFiSecurityType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The authenticationMethod - */ - public function getAuthenticationMethod() - { - if (array_key_exists("authenticationMethod", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod")) { - 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 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 The durationOfEmailToSync - */ - public function getDurationOfEmailToSync() - { - if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { - if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration")) { - 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 The emailAddressSource - */ - public function getEmailAddressSource() - { - if (array_key_exists("emailAddressSource", $this->_propDict)) { - if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 The emailSyncSchedule - */ - public function getEmailSyncSchedule() - { - if (array_key_exists("emailSyncSchedule", $this->_propDict)) { - if (is_a($this->_propDict["emailSyncSchedule"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 The userDomainNameSource - */ - public function getUserDomainNameSource() - { - if (array_key_exists("userDomainNameSource", $this->_propDict)) { - if (is_a($this->_propDict["userDomainNameSource"], "\Beta\Microsoft\Graph\Model\DomainNameSource")) { - 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 The usernameSource - */ - public function getUsernameSource() - { - if (array_key_exists("usernameSource", $this->_propDict)) { - if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\AndroidUsernameSource")) { - 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase")) { - 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 The smimeSigningCertificate - */ - public function getSmimeSigningCertificate() - { - if (array_key_exists("smimeSigningCertificate", $this->_propDict)) { - if (is_a($this->_propDict["smimeSigningCertificate"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase")) { - 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 deleted file mode 100644 index 092c6764..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnrollmentCompanyCode.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The qrCodeImage - */ - public function getQrCodeImage() - { - if (array_key_exists("qrCodeImage", $this->_propDict)) { - if (is_a($this->_propDict["qrCodeImage"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 deleted file mode 100644 index 8e320ff0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidEnterpriseWiFiConfiguration.php +++ /dev/null @@ -1,341 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType")) { - 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 The innerAuthenticationProtocolForEapTtls - */ - public function getInnerAuthenticationProtocolForEapTtls() - { - if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 The innerAuthenticationProtocolForPeap - */ - public function getInnerAuthenticationProtocolForPeap() - { - if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap")) { - 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 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 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 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 usernameFormatString - * Username format string used to build the username to connect to wifi - * - * @return string 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase")) { - 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 The rootCertificateForServerValidation - */ - public function getRootCertificateForServerValidation() - { - if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidTrustedRootCertificate")) { - 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 deleted file mode 100644 index d0c18c28..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 92ea39df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchema.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["exampleJson"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["exampleJson"]; - } else { - $this->_propDict["exampleJson"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 857fd490..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItem.php +++ /dev/null @@ -1,288 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkAppConfigurationSchemaItemDataType")) { - 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 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 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 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 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 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 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 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 The selections - */ - public function getSelections() - { - if (array_key_exists("selections", $this->_propDict)) { - if (is_a($this->_propDict["selections"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 deleted file mode 100644 index 78ea6530..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkAppConfigurationSchemaItemDataType.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidForWorkTrustedRootCertificate")) { - 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 deleted file mode 100644 index c46a4c8a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCompliancePolicy.php +++ /dev/null @@ -1,673 +0,0 @@ -_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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 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 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 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 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 securityRequireGooglePlayServices - * Require Google Play Services to be installed and enabled on the device. - * - * @return bool 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 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 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 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 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 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 deleted file mode 100644 index 2aae3a11..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkCrossProfileDataSharingType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index b9a96afe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkDefaultAppPermissionPolicyType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod")) { - 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 The durationOfEmailToSync - */ - public function getDurationOfEmailToSync() - { - if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { - if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration")) { - 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 The emailAddressSource - */ - public function getEmailAddressSource() - { - if (array_key_exists("emailAddressSource", $this->_propDict)) { - if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 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 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 The usernameSource - */ - public function getUsernameSource() - { - if (array_key_exists("usernameSource", $this->_propDict)) { - if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\AndroidUsernameSource")) { - 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCertificateProfileBase")) { - 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 deleted file mode 100644 index 1c6712a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentProfile.php +++ /dev/null @@ -1,333 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The qrCodeImage - */ - public function getQrCodeImage() - { - if (array_key_exists("qrCodeImage", $this->_propDict)) { - if (is_a($this->_propDict["qrCodeImage"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 The tokenExpirationDateTime - */ - public function getTokenExpirationDateTime() - { - if (array_key_exists("tokenExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["tokenExpirationDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index ac53d6a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkEnrollmentTarget.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType")) { - 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 The innerAuthenticationProtocolForEapTtls - */ - public function getInnerAuthenticationProtocolForEapTtls() - { - if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 The innerAuthenticationProtocolForPeap - */ - public function getInnerAuthenticationProtocolForPeap() - { - if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap")) { - 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 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 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCertificateProfileBase")) { - 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 The rootCertificateForServerValidation - */ - public function getRootCertificateForServerValidation() - { - if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidForWorkTrustedRootCertificate")) { - 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 deleted file mode 100644 index 7d6459b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGeneralDeviceConfiguration.php +++ /dev/null @@ -1,1261 +0,0 @@ -_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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The workProfileDataSharingType - */ - public function getWorkProfileDataSharingType() - { - if (array_key_exists("workProfileDataSharingType", $this->_propDict)) { - if (is_a($this->_propDict["workProfileDataSharingType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCrossProfileDataSharingType")) { - 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 The workProfileDefaultAppPermissionPolicy - */ - public function getWorkProfileDefaultAppPermissionPolicy() - { - if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) { - if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "\Beta\Microsoft\Graph\Model\AndroidForWorkDefaultAppPermissionPolicyType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The workProfilePasswordRequiredType - */ - public function getWorkProfilePasswordRequiredType() - { - if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkRequiredPasswordType")) { - 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 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 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 deleted file mode 100644 index f9ab265e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkGmailEasConfiguration.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 9647ad1a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkMobileAppConfiguration.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 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 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 The profileApplicability - */ - public function getProfileApplicability() - { - if (array_key_exists("profileApplicability", $this->_propDict)) { - if (is_a($this->_propDict["profileApplicability"], "\Beta\Microsoft\Graph\Model\AndroidProfileApplicability")) { - 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 deleted file mode 100644 index 49f801a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkNineWorkEasConfiguration.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index fbe15b3b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkPkcsCertificateProfile.php +++ /dev/null @@ -1,173 +0,0 @@ -_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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 245e8ef7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkRequiredPasswordType.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 The hashAlgorithm - */ - public function getHashAlgorithm() - { - if (array_key_exists("hashAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index bfdb9927..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSettings.php +++ /dev/null @@ -1,308 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["bindStatus"], "\Beta\Microsoft\Graph\Model\AndroidForWorkBindStatus")) { - 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 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 The enrollmentTarget - */ - public function getEnrollmentTarget() - { - if (array_key_exists("enrollmentTarget", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentTarget"], "\Beta\Microsoft\Graph\Model\AndroidForWorkEnrollmentTarget")) { - 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 The lastAppSyncDateTime - */ - public function getLastAppSyncDateTime() - { - if (array_key_exists("lastAppSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastAppSyncDateTime"], "\DateTime")) { - 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 The lastAppSyncStatus - */ - public function getLastAppSyncStatus() - { - if (array_key_exists("lastAppSyncStatus", $this->_propDict)) { - if (is_a($this->_propDict["lastAppSyncStatus"], "\Beta\Microsoft\Graph\Model\AndroidForWorkSyncStatus")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 8a3d51ae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkSyncStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 2c665e3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConfiguration.php +++ /dev/null @@ -1,332 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod")) { - 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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidForWorkVpnConnectionType")) { - 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 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 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 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 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 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 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidForWorkCertificateProfileBase")) { - 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 deleted file mode 100644 index 6e5ced80..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkVpnConnectionType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 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 The wiFiSecurityType - */ - public function getWiFiSecurityType() - { - if (array_key_exists("wiFiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidWiFiSecurityType")) { - 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/AndroidGeneralDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidGeneralDeviceConfiguration.php deleted file mode 100644 index b507fda7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidGeneralDeviceConfiguration.php +++ /dev/null @@ -1,1498 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 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 The requiredPasswordComplexity - */ - public function getRequiredPasswordComplexity() - { - if (array_key_exists("requiredPasswordComplexity", $this->_propDict)) { - if (is_a($this->_propDict["requiredPasswordComplexity"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordComplexity")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 The webBrowserCookieSettings - */ - public function getWebBrowserCookieSettings() - { - if (array_key_exists("webBrowserCookieSettings", $this->_propDict)) { - if (is_a($this->_propDict["webBrowserCookieSettings"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 8893db13..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidImportedPFXCertificateProfile.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index d36580b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidKeyguardFeature.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 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 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 deleted file mode 100644 index b4651913..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppProtection.php +++ /dev/null @@ -1,1052 +0,0 @@ -_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 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 The appActionIfAndroidDeviceManufacturerNotAllowed - */ - public function getAppActionIfAndroidDeviceManufacturerNotAllowed() - { - if (array_key_exists("appActionIfAndroidDeviceManufacturerNotAllowed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfAndroidDeviceModelNotAllowed - */ - public function getAppActionIfAndroidDeviceModelNotAllowed() - { - if (array_key_exists("appActionIfAndroidDeviceModelNotAllowed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfAndroidSafetyNetAppsVerificationFailed - */ - public function getAppActionIfAndroidSafetyNetAppsVerificationFailed() - { - if (array_key_exists("appActionIfAndroidSafetyNetAppsVerificationFailed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfAndroidSafetyNetDeviceAttestationFailed - */ - public function getAppActionIfAndroidSafetyNetDeviceAttestationFailed() - { - if (array_key_exists("appActionIfAndroidSafetyNetDeviceAttestationFailed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfDeviceLockNotSet - */ - public function getAppActionIfDeviceLockNotSet() - { - if (array_key_exists("appActionIfDeviceLockNotSet", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfDeviceLockNotSet"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 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 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 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 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 customBrowserDisplayName - * Friendly name of the preferred custom browser to open weblink on Android. - * - * @return string 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The requiredAndroidSafetyNetAppsVerificationType - */ - public function getRequiredAndroidSafetyNetAppsVerificationType() - { - if (array_key_exists("requiredAndroidSafetyNetAppsVerificationType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetAppsVerificationType")) { - 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 The requiredAndroidSafetyNetDeviceAttestationType - */ - public function getRequiredAndroidSafetyNetDeviceAttestationType() - { - if (array_key_exists("requiredAndroidSafetyNetDeviceAttestationType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetDeviceAttestationType")) { - 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 The requiredAndroidSafetyNetEvaluationType - */ - public function getRequiredAndroidSafetyNetEvaluationType() - { - if (array_key_exists("requiredAndroidSafetyNetEvaluationType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAndroidSafetyNetEvaluationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetEvaluationType")) { - 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 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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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 deleted file mode 100644 index 2fa08917..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppRegistration.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 642b77b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedAppSafetyNetAppsVerificationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The bindStatus - */ - public function getBindStatus() - { - if (array_key_exists("bindStatus", $this->_propDict)) { - if (is_a($this->_propDict["bindStatus"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountBindStatus")) { - 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 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 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 The enrollmentTarget - */ - public function getEnrollmentTarget() - { - if (array_key_exists("enrollmentTarget", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentTarget"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountEnrollmentTarget")) { - 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 The lastAppSyncDateTime - */ - public function getLastAppSyncDateTime() - { - if (array_key_exists("lastAppSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastAppSyncDateTime"], "\DateTime")) { - 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 The lastAppSyncStatus - */ - public function getLastAppSyncStatus() - { - if (array_key_exists("lastAppSyncStatus", $this->_propDict)) { - if (is_a($this->_propDict["lastAppSyncStatus"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAccountAppSyncStatus")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 ownerOrganizationName - * Organization name used when onboarding Android Enterprise - * - * @return string 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 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 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 deleted file mode 100644 index e118a773..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreApp.php +++ /dev/null @@ -1,289 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index d4c6b630..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.androidManagedStoreAppAssignmentSettings"); - } - - /** - * Gets the androidManagedStoreAppTrackIds - * The track IDs to enable for this app assignment. - * - * @return string 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; - } -} 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 deleted file mode 100644 index ef27e3f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfiguration.php +++ /dev/null @@ -1,177 +0,0 @@ -_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 packageId - * Android Enterprise app configuration package id. - * - * @return string 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 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 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 The profileApplicability - */ - public function getProfileApplicability() - { - if (array_key_exists("profileApplicability", $this->_propDict)) { - if (is_a($this->_propDict["profileApplicability"], "\Beta\Microsoft\Graph\Model\AndroidProfileApplicability")) { - 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 deleted file mode 100644 index abe07872..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchema.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["exampleJson"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["exampleJson"]; - } else { - $this->_propDict["exampleJson"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 6738aed6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItem.php +++ /dev/null @@ -1,344 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\AndroidManagedStoreAppConfigurationSchemaItemDataType")) { - 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 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 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 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 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 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 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 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 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 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 The selections - */ - public function getSelections() - { - if (array_key_exists("selections", $this->_propDict)) { - if (is_a($this->_propDict["selections"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 deleted file mode 100644 index 2cf30bf6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreAppConfigurationSchemaItemDataType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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/AndroidManagedStoreWebApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreWebApp.php deleted file mode 100644 index 78ca2c86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidManagedStoreWebApp.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index d5e1753b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidMobileAppIdentifier.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.androidMobileAppIdentifier"); - } - - /** - * Gets the packageId - * The identifier for an app, as specified in the play store. - * - * @return string 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 deleted file mode 100644 index dbdf00b3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidOmaCpConfiguration.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configurationXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["configurationXml"]; - } else { - $this->_propDict["configurationXml"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index bb2a99e1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionAction.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\AndroidPermissionActionType")) { - 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 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 deleted file mode 100644 index 4fa785a3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPermissionActionType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 94e17aef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidProfileApplicability.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index bca45dbb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidStoreApp.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 390d9577..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidTrustedRootCertificate.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index de6a80d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidUsernameSource.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod")) { - 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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidVpnConnectionType")) { - 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 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 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 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 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 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 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidCertificateProfileBase")) { - 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 deleted file mode 100644 index 85c84891..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidVpnConnectionType.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 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 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 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 The wiFiSecurityType - */ - public function getWiFiSecurityType() - { - if (array_key_exists("wiFiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidWiFiSecurityType")) { - 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 deleted file mode 100644 index 9cae67df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWiFiSecurityType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileTrustedRootCertificate")) { - 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 deleted file mode 100644 index 008bf52e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCompliancePolicy.php +++ /dev/null @@ -1,706 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 5c67cfaf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileCrossProfileDataSharingType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index c9918bd5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod")) { - 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 The durationOfEmailToSync - */ - public function getDurationOfEmailToSync() - { - if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { - if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration")) { - 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 The emailAddressSource - */ - public function getEmailAddressSource() - { - if (array_key_exists("emailAddressSource", $this->_propDict)) { - if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 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 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 The usernameSource - */ - public function getUsernameSource() - { - if (array_key_exists("usernameSource", $this->_propDict)) { - if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\AndroidUsernameSource")) { - 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCertificateProfileBase")) { - 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 deleted file mode 100644 index d7466f81..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileEnterpriseWiFiConfiguration.php +++ /dev/null @@ -1,316 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\AndroidEapType")) { - 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 The innerAuthenticationProtocolForEapTtls - */ - public function getInnerAuthenticationProtocolForEapTtls() - { - if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 The innerAuthenticationProtocolForPeap - */ - public function getInnerAuthenticationProtocolForPeap() - { - if (array_key_exists("innerAuthenticationProtocolForPeap", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForPeap"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForPeap")) { - 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 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 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 The proxySettings - */ - public function getProxySettings() - { - if (array_key_exists("proxySettings", $this->_propDict)) { - if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting")) { - 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 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCertificateProfileBase")) { - 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 The rootCertificateForServerValidation - */ - public function getRootCertificateForServerValidation() - { - if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileTrustedRootCertificate")) { - 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 deleted file mode 100644 index 8a665f72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGeneralDeviceConfiguration.php +++ /dev/null @@ -1,1290 +0,0 @@ -_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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The workProfileDataSharingType - */ - public function getWorkProfileDataSharingType() - { - if (array_key_exists("workProfileDataSharingType", $this->_propDict)) { - if (is_a($this->_propDict["workProfileDataSharingType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCrossProfileDataSharingType")) { - 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 The workProfileDefaultAppPermissionPolicy - */ - public function getWorkProfileDefaultAppPermissionPolicy() - { - if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) { - if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileDefaultAppPermissionPolicyType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The workProfilePasswordRequiredType - */ - public function getWorkProfilePasswordRequiredType() - { - if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType")) { - 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 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 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 deleted file mode 100644 index 2d859223..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileGmailEasConfiguration.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 deleted file mode 100644 index 15884de1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfilePkcsCertificateProfile.php +++ /dev/null @@ -1,265 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 7433f334..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileRequiredPasswordType.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 The hashAlgorithm - */ - public function getHashAlgorithm() - { - if (array_key_exists("hashAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index daa67a0b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileTrustedRootCertificate.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index c7392ee8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConfiguration.php +++ /dev/null @@ -1,511 +0,0 @@ -_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 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 The authenticationMethod - */ - public function getAuthenticationMethod() - { - if (array_key_exists("authenticationMethod", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod")) { - 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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileVpnConnectionType")) { - 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 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 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 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 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 The proxyServer - */ - public function getProxyServer() - { - if (array_key_exists("proxyServer", $this->_propDict)) { - if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\VpnProxyServer")) { - 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 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 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 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 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 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\AndroidWorkProfileCertificateProfileBase")) { - 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 deleted file mode 100644 index 0c938c19..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidWorkProfileVpnConnectionType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 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 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 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 The wiFiSecurityType - */ - public function getWiFiSecurityType() - { - if (array_key_exists("wiFiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\AndroidWiFiSecurityType")) { - 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/AospDeviceOwnerDeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerDeviceConfiguration.php deleted file mode 100644 index 66e6d008..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AospDeviceOwnerDeviceConfiguration.php +++ /dev/null @@ -1,553 +0,0 @@ -_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 AospDeviceOwnerDeviceConfiguration - */ - public function setAppsAllowInstallFromUnknownSources($val) - { - $this->_propDict["appsAllowInstallFromUnknownSources"] = boolval($val); - return $this; - } - - /** - * Gets the backupBlocked - * Indicates whether or not to block backup service. - * - * @return bool The backupBlocked - */ - public function getBackupBlocked() - { - if (array_key_exists("backupBlocked", $this->_propDict)) { - return $this->_propDict["backupBlocked"]; - } else { - return null; - } - } - - /** - * Sets the backupBlocked - * Indicates whether or not to block backup service. - * - * @param bool $val The backupBlocked - * - * @return AospDeviceOwnerDeviceConfiguration - */ - public function setBackupBlocked($val) - { - $this->_propDict["backupBlocked"] = boolval($val); - return $this; - } - - /** - * Gets the bluetoothBlockConfiguration - * Indicates whether or not to block a user from configuring bluetooth. - * - * @return bool 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 bluetoothBlockContactSharing - * Indicates whether or not to block a user from sharing contacts via bluetooth. - * - * @return bool 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 AospDeviceOwnerDeviceConfiguration - */ - public function setBluetoothBlockContactSharing($val) - { - $this->_propDict["bluetoothBlockContactSharing"] = 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 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 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 cellularBlockWiFiTethering - * Indicates whether or not to block Wi-Fi tethering. - * - * @return bool 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 AospDeviceOwnerDeviceConfiguration - */ - public function setCellularBlockWiFiTethering($val) - { - $this->_propDict["cellularBlockWiFiTethering"] = boolval($val); - return $this; - } - - /** - * Gets the factoryResetBlocked - * Indicates whether or not the factory reset option in settings is disabled. - * - * @return bool 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerRequiredPasswordType")) { - 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 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 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 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 storageAllowUsb - * Indicates whether or not to block USB storage. - * - * @return bool 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 block USB storage. - * - * @param bool $val The storageAllowUsb - * - * @return AospDeviceOwnerDeviceConfiguration - */ - public function setStorageAllowUsb($val) - { - $this->_propDict["storageAllowUsb"] = boolval($val); - return $this; - } - - /** - * Gets the storageBlockExternalMedia - * Indicates whether or not to block external media. - * - * @return bool 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 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 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/ApiApplication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApiApplication.php deleted file mode 100644 index 28905bf5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApiApplication.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 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 The oauth2PermissionScopes - */ - public function getOauth2PermissionScopes() - { - if (array_key_exists("oauth2PermissionScopes", $this->_propDict)) { - if (is_a($this->_propDict["oauth2PermissionScopes"], "\Beta\Microsoft\Graph\Model\PermissionScope")) { - 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 The preAuthorizedApplications - */ - public function getPreAuthorizedApplications() - { - if (array_key_exists("preAuthorizedApplications", $this->_propDict)) { - if (is_a($this->_propDict["preAuthorizedApplications"], "\Beta\Microsoft\Graph\Model\PreAuthorizedApplication")) { - 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 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 deleted file mode 100644 index cf528a50..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApiAuthenticationConfigurationBase.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["resourceSpecificApplicationPermissions"], "\Beta\Microsoft\Graph\Model\ResourceSpecificPermission")) { - 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 deleted file mode 100644 index 655b5a22..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php +++ /dev/null @@ -1,124 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new AppCatalogs - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 8c894338..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConfigurationSettingItem.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The appConfigKeyType - */ - public function getAppConfigKeyType() - { - if (array_key_exists("appConfigKeyType", $this->_propDict)) { - if (is_a($this->_propDict["appConfigKeyType"], "\Beta\Microsoft\Graph\Model\MdmAppConfigKeyType")) { - 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 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 deleted file mode 100644 index 60f8224a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentApprovalRoute.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["appConsentRequests"]; - } else { - return null; - } - } - - /** - * Sets the appConsentRequests - * - * @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 deleted file mode 100644 index 7be7028f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 89e09fb2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/AppHostedMediaConfig.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppHostedMediaConfig.php deleted file mode 100644 index 28c66c6d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppHostedMediaConfig.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.appHostedMediaConfig"); - } - - /** - * Gets the blob - * The media configuration blob generated by smart media agent. - * - * @return string 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 deleted file mode 100644 index eaf30245..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppIdentity.php +++ /dev/null @@ -1,138 +0,0 @@ -_propDict)) { - return $this->_propDict["appId"]; - } else { - return null; - } - } - - /** - * Sets the appId - * Refers to the Unique GUID 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 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 GUID indicating Service Principal Id in Azure Active Directory for the corresponding App. - * - * @return string 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 GUID 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 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 deleted file mode 100644 index 94d63716..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppInstallControlType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 5cb5599b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppListType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appLogDecryptionAlgorithm"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index cdff1e73..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogCollectionRequest.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AppLogUploadState")) { - 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 deleted file mode 100644 index 7bec6d2c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppLogDecryptionAlgorithm.php +++ /dev/null @@ -1,33 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\AppMetadataEntry")) { - 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 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 deleted file mode 100644 index dc16ebf4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppMetadataEntry.php +++ /dev/null @@ -1,83 +0,0 @@ -_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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 7066a8b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRole.php +++ /dev/null @@ -1,222 +0,0 @@ -_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 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 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 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 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 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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 8921ad72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppRoleAssignment.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 The creationTimestamp - */ - public function getCreationTimestamp() - { - if (array_key_exists("creationTimestamp", $this->_propDict)) { - if (is_a($this->_propDict["creationTimestamp"], "\DateTime")) { - 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 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 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 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 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 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 deleted file mode 100644 index a31f7851..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppScope.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 1383afed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityManagedDevice.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index ea8b242c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityMobileApp.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 91966455..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTask.php +++ /dev/null @@ -1,323 +0,0 @@ -_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 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 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 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 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 The mitigationType - */ - public function getMitigationType() - { - if (array_key_exists("mitigationType", $this->_propDict)) { - if (is_a($this->_propDict["mitigationType"], "\Beta\Microsoft\Graph\Model\AppVulnerabilityTaskMitigationType")) { - 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 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 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 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 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 deleted file mode 100644 index c559c27c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppVulnerabilityTaskMitigationType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index 45cdff3b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleEnrollmentProfileAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index ca8e4719..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleExpeditedCheckinConfigurationBase.php +++ /dev/null @@ -1,56 +0,0 @@ -_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/AppleOwnerTypeEnrollmentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleOwnerTypeEnrollmentType.php deleted file mode 100644 index 33a42020..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleOwnerTypeEnrollmentType.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["enrollmentType"], "\Beta\Microsoft\Graph\Model\AppleUserInitiatedEnrollmentType")) { - 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 The ownerType - */ - public function getOwnerType() - { - if (array_key_exists("ownerType", $this->_propDict)) { - if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\ManagedDeviceOwnerType")) { - 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 deleted file mode 100644 index a660a32e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplePushNotificationCertificate.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 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 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 0c91108b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleSubjectNameFormat.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The defaultEnrollmentType - */ - public function getDefaultEnrollmentType() - { - if (array_key_exists("defaultEnrollmentType", $this->_propDict)) { - if (is_a($this->_propDict["defaultEnrollmentType"], "\Beta\Microsoft\Graph\Model\AppleUserInitiatedEnrollmentType")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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. - * - * @return DevicePlatformType The platform - */ - public function getPlatform() - { - if (array_key_exists("platform", $this->_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType")) { - 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. - * - * @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 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 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 deleted file mode 100644 index 4c0d90ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleUserInitiatedEnrollmentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["airPrintExceptionAction"], "\Beta\Microsoft\Graph\Model\VpnServiceExceptionAction")) { - 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 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 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 The allowedCaptiveNetworkPlugins - */ - public function getAllowedCaptiveNetworkPlugins() - { - if (array_key_exists("allowedCaptiveNetworkPlugins", $this->_propDict)) { - if (is_a($this->_propDict["allowedCaptiveNetworkPlugins"], "\Beta\Microsoft\Graph\Model\SpecifiedCaptiveNetworkPlugins")) { - 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 The cellularExceptionAction - */ - public function getCellularExceptionAction() - { - if (array_key_exists("cellularExceptionAction", $this->_propDict)) { - if (is_a($this->_propDict["cellularExceptionAction"], "\Beta\Microsoft\Graph\Model\VpnServiceExceptionAction")) { - 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 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 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 The tunnelConfiguration - */ - public function getTunnelConfiguration() - { - if (array_key_exists("tunnelConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["tunnelConfiguration"], "\Beta\Microsoft\Graph\Model\VpnTunnelConfigurationType")) { - 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 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 The voicemailExceptionAction - */ - public function getVoicemailExceptionAction() - { - if (array_key_exists("voicemailExceptionAction", $this->_propDict)) { - if (is_a($this->_propDict["voicemailExceptionAction"], "\Beta\Microsoft\Graph\Model\VpnServiceExceptionAction")) { - 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 deleted file mode 100644 index e3b2b800..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConfiguration.php +++ /dev/null @@ -1,630 +0,0 @@ -_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 The authenticationMethod - */ - public function getAuthenticationMethod() - { - if (array_key_exists("authenticationMethod", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod")) { - 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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\AppleVpnConnectionType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 The providerType - */ - public function getProviderType() - { - if (array_key_exists("providerType", $this->_propDict)) { - if (is_a($this->_propDict["providerType"], "\Beta\Microsoft\Graph\Model\VpnProviderType")) { - 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 The proxyServer - */ - public function getProxyServer() - { - if (array_key_exists("proxyServer", $this->_propDict)) { - if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\VpnProxyServer")) { - 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 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 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 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 The server - */ - public function getServer() - { - if (array_key_exists("server", $this->_propDict)) { - if (is_a($this->_propDict["server"], "\Beta\Microsoft\Graph\Model\VpnServer")) { - 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 deleted file mode 100644 index 1232272c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppleVpnConnectionType.php +++ /dev/null @@ -1,51 +0,0 @@ -_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 deleted file mode 100644 index ad3be5fa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Application.php +++ /dev/null @@ -1,1120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["api"], "\Beta\Microsoft\Graph\Model\ApiApplication")) { - 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 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 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. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. - * - * @param \DateTime $val The createdDateTime - * - * @return Application - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the defaultRedirectUri - * - * @return string The defaultRedirectUri - */ - public function getDefaultRedirectUri() - { - if (array_key_exists("defaultRedirectUri", $this->_propDict)) { - return $this->_propDict["defaultRedirectUri"]; - } else { - return null; - } - } - - /** - * Sets the defaultRedirectUri - * - * @param string $val The defaultRedirectUri - * - * @return Application - */ - public function setDefaultRedirectUri($val) - { - $this->_propDict["defaultRedirectUri"] = $val; - return $this; - } - - /** - * Gets the description - * - * @return string 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 Application - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The display name for the application. - * - * @return string 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. - * - * @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 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 - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information, see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. - * - * @return string The identifierUris - */ - public function getIdentifierUris() - { - if (array_key_exists("identifierUris", $this->_propDict)) { - return $this->_propDict["identifierUris"]; - } else { - return null; - } - } - - /** - * Sets the identifierUris - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information, see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. - * - * @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. - * - * @return InformationalUrl The info - */ - public function getInfo() - { - if (array_key_exists("info", $this->_propDict)) { - if (is_a($this->_propDict["info"], "\Beta\Microsoft\Graph\Model\InformationalUrl")) { - 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. - * - * @param InformationalUrl $val The info - * - * @return Application - */ - public function setInfo($val) - { - $this->_propDict["info"] = $val; - return $this; - } - - /** - * Gets the isDeviceOnlyAuthSupported - * - * @return bool The isDeviceOnlyAuthSupported - */ - public function getIsDeviceOnlyAuthSupported() - { - if (array_key_exists("isDeviceOnlyAuthSupported", $this->_propDict)) { - return $this->_propDict["isDeviceOnlyAuthSupported"]; - } else { - return null; - } - } - - /** - * Sets the isDeviceOnlyAuthSupported - * - * @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 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. - * - * @return array 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. - * - * @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 The logo - */ - public function getLogo() - { - if (array_key_exists("logo", $this->_propDict)) { - if (is_a($this->_propDict["logo"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["logo"]; - } else { - $this->_propDict["logo"] = \GuzzleHttp\Psr7\stream_for($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 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 The optionalClaims - */ - public function getOptionalClaims() - { - if (array_key_exists("optionalClaims", $this->_propDict)) { - if (is_a($this->_propDict["optionalClaims"], "\Beta\Microsoft\Graph\Model\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 The parentalControlSettings - */ - public function getParentalControlSettings() - { - if (array_key_exists("parentalControlSettings", $this->_propDict)) { - if (is_a($this->_propDict["parentalControlSettings"], "\Beta\Microsoft\Graph\Model\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 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 The publicClient - */ - public function getPublicClient() - { - if (array_key_exists("publicClient", $this->_propDict)) { - if (is_a($this->_propDict["publicClient"], "\Beta\Microsoft\Graph\Model\PublicClientApplication")) { - 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. - * - * @return string 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. - * - * @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 OAuth permission scopes and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. Not nullable. - * - * @return array 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 OAuth permission scopes and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. Not nullable. - * - * @param RequiredResourceAccess $val The requiredResourceAccess - * - * @return Application - */ - public function setRequiredResourceAccess($val) - { - $this->_propDict["requiredResourceAccess"] = $val; - return $this; - } - - /** - * Gets the signInAudience - * Specifies the Microsoft accounts that are supported for the current application. Supported values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. See more in the table below. - * - * @return string 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. Supported values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. See more in the table below. - * - * @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 The spa - */ - public function getSpa() - { - if (array_key_exists("spa", $this->_propDict)) { - if (is_a($this->_propDict["spa"], "\Beta\Microsoft\Graph\Model\SpaApplication")) { - 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. - * - * @return string 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. - * - * @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 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 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 web - * Specifies settings for a web application. - * - * @return WebApplication The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - if (is_a($this->_propDict["web"], "\Beta\Microsoft\Graph\Model\WebApplication")) { - 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 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 The onPremisesPublishing - */ - public function getOnPremisesPublishing() - { - if (array_key_exists("onPremisesPublishing", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesPublishing"], "\Beta\Microsoft\Graph\Model\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 createdOnBehalfOf - * Read-only. - * - * @return DirectoryObject The createdOnBehalfOf - */ - public function getCreatedOnBehalfOf() - { - if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { - if (is_a($this->_propDict["createdOnBehalfOf"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - 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. - * - * @return array 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. - * - * @param ExtensionProperty $val The extensionProperties - * - * @return Application - */ - public function setExtensionProperties($val) - { - $this->_propDict["extensionProperties"] = $val; - return $this; - } - - - /** - * Gets the homeRealmDiscoveryPolicies - * - * @return array 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. - * - * @return array 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. - * - * @param DirectoryObject $val The owners - * - * @return Application - */ - public function setOwners($val) - { - $this->_propDict["owners"] = $val; - return $this; - } - - - /** - * Gets the tokenIssuancePolicies - * - * @return array 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. - * - * @return array 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. - * - * @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 The connectorGroup - */ - public function getConnectorGroup() - { - if (array_key_exists("connectorGroup", $this->_propDict)) { - if (is_a($this->_propDict["connectorGroup"], "\Beta\Microsoft\Graph\Model\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 The synchronization - */ - public function getSynchronization() - { - if (array_key_exists("synchronization", $this->_propDict)) { - if (is_a($this->_propDict["synchronization"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 6c6096c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationEnforcedRestrictionsSessionControl.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\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 The servicePrincipal - */ - public function getServicePrincipal() - { - if (array_key_exists("servicePrincipal", $this->_propDict)) { - if (is_a($this->_propDict["servicePrincipal"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 5d59c492..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInDetailedSummary.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["aggregatedEventDateTime"], "\DateTime")) { - 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SignInStatus")) { - 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 deleted file mode 100644 index b3f730ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationSignInSummary.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 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"] = $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 deleted file mode 100644 index 2460c676..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationTemplate.php +++ /dev/null @@ -1,259 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index 0d4936c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApplicationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["conditionsNotSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditions")) { - 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. Possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client. - * - * @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. Possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client. - * - * @return ConditionalAccessConditions The conditionsSatisfied - */ - public function getConditionsSatisfied() - { - if (array_key_exists("conditionsSatisfied", $this->_propDict)) { - if (is_a($this->_propDict["conditionsSatisfied"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditions")) { - 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. Possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client. - * - * @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 - * Refers to the Name of the conditional access policy (example: 'Require MFA for Salesforce'). - * - * @return string 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 conditional access policy (example: 'Require MFA for Salesforce'). - * - * @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 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 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 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 - * - * @return AppliedConditionalAccessPolicyResult The result - */ - public function getResult() - { - if (array_key_exists("result", $this->_propDict)) { - if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\AppliedConditionalAccessPolicyResult")) { - 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 - * - * @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/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicyResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicyResult.php deleted file mode 100644 index ea91c7fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppliedConditionalAccessPolicyResult.php +++ /dev/null @@ -1,42 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\InformationProtectionAction")) { - 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 The actionSource - */ - public function getActionSource() - { - if (array_key_exists("actionSource", $this->_propDict)) { - if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\Model\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 The label - */ - public function getLabel() - { - if (array_key_exists("label", $this->_propDict)) { - if (is_a($this->_propDict["label"], "\Beta\Microsoft\Graph\Model\LabelDetails")) { - 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 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 deleted file mode 100644 index 13813df2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Approval.php +++ /dev/null @@ -1,55 +0,0 @@ -_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 deleted file mode 100644 index 8a77dc47..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalFilterByCurrentUserOptions.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The approvalStages - */ - public function getApprovalStages() - { - if (array_key_exists("approvalStages", $this->_propDict)) { - if (is_a($this->_propDict["approvalStages"], "\Beta\Microsoft\Graph\Model\ApprovalStage")) { - 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 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 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 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 deleted file mode 100644 index 6fb2930c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalStage.php +++ /dev/null @@ -1,204 +0,0 @@ -_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. - * - * @return UserSet The escalationApprovers - */ - public function getEscalationApprovers() - { - if (array_key_exists("escalationApprovers", $this->_propDict)) { - if (is_a($this->_propDict["escalationApprovers"], "\Beta\Microsoft\Graph\Model\UserSet")) { - 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. - * - * @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 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 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 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. - * - * @return UserSet The primaryApprovers - */ - public function getPrimaryApprovers() - { - if (array_key_exists("primaryApprovers", $this->_propDict)) { - if (is_a($this->_propDict["primaryApprovers"], "\Beta\Microsoft\Graph\Model\UserSet")) { - 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. - * - * @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 deleted file mode 100644 index b93b599b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 The reviewedBy - */ - public function getReviewedBy() - { - if (array_key_exists("reviewedBy", $this->_propDict)) { - if (is_a($this->_propDict["reviewedBy"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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 The reviewedDateTime - */ - public function getReviewedDateTime() - { - if (array_key_exists("reviewedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reviewedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 01504e13..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ApprovalWorkflowProvider.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 2b755402..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ArchivedPrintJob.php +++ /dev/null @@ -1,443 +0,0 @@ -_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 The acquiredDateTime - */ - public function getAcquiredDateTime() - { - if (array_key_exists("acquiredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["acquiredDateTime"], "\DateTime")) { - 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 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 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 The completionDateTime - */ - public function getCompletionDateTime() - { - if (array_key_exists("completionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completionDateTime"], "\DateTime")) { - 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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The processingState - */ - public function getProcessingState() - { - if (array_key_exists("processingState", $this->_propDict)) { - if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState")) { - 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 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 deleted file mode 100644 index d6527719..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLabel.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 7567d598..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLicense.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index b33d2e4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedPlan.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignedDateTime"], "\DateTime")) { - 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 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 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. - * - * @return string 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. - * - * @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/AssignmentFilterEvaluationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationResult.php deleted file mode 100644 index f5a4f0e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationResult.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 deleted file mode 100644 index 2b895c63..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterEvaluationSummary.php +++ /dev/null @@ -1,280 +0,0 @@ -_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 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 The assignmentFilterLastModifiedDateTime - */ - public function getAssignmentFilterLastModifiedDateTime() - { - if (array_key_exists("assignmentFilterLastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["assignmentFilterLastModifiedDateTime"], "\DateTime")) { - 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 The assignmentFilterPlatform - */ - public function getAssignmentFilterPlatform() - { - if (array_key_exists("assignmentFilterPlatform", $this->_propDict)) { - if (is_a($this->_propDict["assignmentFilterPlatform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType")) { - 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 The assignmentFilterType - */ - public function getAssignmentFilterType() - { - if (array_key_exists("assignmentFilterType", $this->_propDict)) { - if (is_a($this->_propDict["assignmentFilterType"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentFilterType")) { - 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 The assignmentFilterTypeAndEvaluationResults - */ - public function getAssignmentFilterTypeAndEvaluationResults() - { - if (array_key_exists("assignmentFilterTypeAndEvaluationResults", $this->_propDict)) { - if (is_a($this->_propDict["assignmentFilterTypeAndEvaluationResults"], "\Beta\Microsoft\Graph\Model\AssignmentFilterTypeAndEvaluationResult")) { - 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 The evaluationDateTime - */ - public function getEvaluationDateTime() - { - if (array_key_exists("evaluationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["evaluationDateTime"], "\DateTime")) { - 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 The evaluationResult - */ - public function getEvaluationResult() - { - if (array_key_exists("evaluationResult", $this->_propDict)) { - if (is_a($this->_propDict["evaluationResult"], "\Beta\Microsoft\Graph\Model\AssignmentFilterEvaluationResult")) { - 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/AssignmentFilterState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterState.php deleted file mode 100644 index 16d09581..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterState.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index bfc1c02e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterStatusDetails.php +++ /dev/null @@ -1,176 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceProperties"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 The evalutionSummaries - */ - public function getEvalutionSummaries() - { - if (array_key_exists("evalutionSummaries", $this->_propDict)) { - if (is_a($this->_propDict["evalutionSummaries"], "\Beta\Microsoft\Graph\Model\AssignmentFilterEvaluationSummary")) { - 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 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 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 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/AssignmentFilterTypeAndEvaluationResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterTypeAndEvaluationResult.php deleted file mode 100644 index 81273e6b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterTypeAndEvaluationResult.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignmentFilterType"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentFilterType")) { - 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 The evaluationResult - */ - public function getEvaluationResult() - { - if (array_key_exists("evaluationResult", $this->_propDict)) { - if (is_a($this->_propDict["evaluationResult"], "\Beta\Microsoft\Graph\Model\AssignmentFilterEvaluationResult")) { - 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 deleted file mode 100644 index 8f7045af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentFilterValidationResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 4e849c9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentMethod.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index df3d8552..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignmentReviewSettings.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - return $this->_propDict["durationInDays"]; - } else { - return null; - } - } - - /** - * Sets the durationInDays - * The number of days to allow input from reviewers. - * - * @param int $val The value of the durationInDays - * - * @return AssignmentReviewSettings - */ - public function setDurationInDays($val) - { - $this->_propDict["durationInDays"] = $val; - return $this; - } - /** - * Gets the isEnabled - * If true, access reviews are required for assignments from this policy. - * - * @return bool 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 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 The reviewers - */ - public function getReviewers() - { - if (array_key_exists("reviewers", $this->_propDict)) { - if (is_a($this->_propDict["reviewers"], "\Beta\Microsoft\Graph\Model\UserSet")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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/Attachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Attachment.php deleted file mode 100644 index bfcbc7d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Attachment.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 0ec55ab8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentItem.php +++ /dev/null @@ -1,171 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attachmentType"], "\Beta\Microsoft\Graph\Model\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 contentType - * The nature of the data in the attachment. Optional. - * - * @return string 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 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 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 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 deleted file mode 100644 index 6adab67f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttachmentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["durationInSeconds"]; - } else { - return null; - } - } - - /** - * Sets the durationInSeconds - * - * @param int $val The value of the durationInSeconds - * - * @return AttendanceInterval - */ - public function setDurationInSeconds($val) - { - $this->_propDict["durationInSeconds"] = $val; - return $this; - } - - /** - * Gets the joinDateTime - * - * @return \DateTime The joinDateTime - */ - public function getJoinDateTime() - { - if (array_key_exists("joinDateTime", $this->_propDict)) { - if (is_a($this->_propDict["joinDateTime"], "\DateTime")) { - return $this->_propDict["joinDateTime"]; - } else { - $this->_propDict["joinDateTime"] = new \DateTime($this->_propDict["joinDateTime"]); - return $this->_propDict["joinDateTime"]; - } - } - return null; - } - - /** - * Sets the joinDateTime - * - * @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 - * - * @return \DateTime The leaveDateTime - */ - public function getLeaveDateTime() - { - if (array_key_exists("leaveDateTime", $this->_propDict)) { - if (is_a($this->_propDict["leaveDateTime"], "\DateTime")) { - return $this->_propDict["leaveDateTime"]; - } else { - $this->_propDict["leaveDateTime"] = new \DateTime($this->_propDict["leaveDateTime"]); - return $this->_propDict["leaveDateTime"]; - } - } - return null; - } - - /** - * Sets the leaveDateTime - * - * @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 deleted file mode 100644 index 9bbbc9db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendanceRecord.php +++ /dev/null @@ -1,166 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendanceIntervals"], "\Beta\Microsoft\Graph\Model\AttendanceInterval")) { - return $this->_propDict["attendanceIntervals"]; - } else { - $this->_propDict["attendanceIntervals"] = new AttendanceInterval($this->_propDict["attendanceIntervals"]); - return $this->_propDict["attendanceIntervals"]; - } - } - return null; - } - - /** - * Sets the attendanceIntervals - * - * @param AttendanceInterval $val The value to assign to the attendanceIntervals - * - * @return AttendanceRecord The AttendanceRecord - */ - public function setAttendanceIntervals($val) - { - $this->_propDict["attendanceIntervals"] = $val; - return $this; - } - /** - * Gets the emailAddress - * - * @return string The emailAddress - */ - public function getEmailAddress() - { - if (array_key_exists("emailAddress", $this->_propDict)) { - return $this->_propDict["emailAddress"]; - } else { - return null; - } - } - - /** - * Sets the emailAddress - * - * @param string $val The value of the emailAddress - * - * @return AttendanceRecord - */ - public function setEmailAddress($val) - { - $this->_propDict["emailAddress"] = $val; - return $this; - } - - /** - * Gets the identity - * - * @return Identity The identity - */ - public function getIdentity() - { - if (array_key_exists("identity", $this->_propDict)) { - if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["identity"]; - } else { - $this->_propDict["identity"] = new Identity($this->_propDict["identity"]); - return $this->_propDict["identity"]; - } - } - return null; - } - - /** - * Sets the identity - * - * @param Identity $val The value to assign to the identity - * - * @return AttendanceRecord The AttendanceRecord - */ - public function setIdentity($val) - { - $this->_propDict["identity"] = $val; - return $this; - } - /** - * Gets the role - * - * @return string The role - */ - public function getRole() - { - if (array_key_exists("role", $this->_propDict)) { - return $this->_propDict["role"]; - } else { - return null; - } - } - - /** - * Sets the role - * - * @param string $val The value of the role - * - * @return AttendanceRecord - */ - public function setRole($val) - { - $this->_propDict["role"] = $val; - return $this; - } - /** - * Gets the totalAttendanceInSeconds - * - * @return int The totalAttendanceInSeconds - */ - public function getTotalAttendanceInSeconds() - { - if (array_key_exists("totalAttendanceInSeconds", $this->_propDict)) { - return $this->_propDict["totalAttendanceInSeconds"]; - } else { - return null; - } - } - - /** - * Sets the totalAttendanceInSeconds - * - * @param int $val The value of the totalAttendanceInSeconds - * - * @return AttendanceRecord - */ - public function setTotalAttendanceInSeconds($val) - { - $this->_propDict["totalAttendanceInSeconds"] = $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 deleted file mode 100644 index f0bc0efb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Attendee.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["proposedNewTime"], "\Beta\Microsoft\Graph\Model\TimeSlot")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ResponseStatus")) { - 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 deleted file mode 100644 index f8af8236..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeAvailability.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendee"], "\Beta\Microsoft\Graph\Model\AttendeeBase")) { - 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 The availability - */ - public function getAvailability() - { - if (array_key_exists("availability", $this->_propDict)) { - if (is_a($this->_propDict["availability"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus")) { - 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 deleted file mode 100644 index 2fc92d65..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeBase.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttendeeType")) { - 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 deleted file mode 100644 index abba5767..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttendeeType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The apiExpressions - */ - public function getApiExpressions() - { - if (array_key_exists("apiExpressions", $this->_propDict)) { - if (is_a($this->_propDict["apiExpressions"], "\Beta\Microsoft\Graph\Model\StringKeyStringValuePair")) { - 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 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 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 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 The metadata - */ - public function getMetadata() - { - if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry")) { - 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 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 The mutability - */ - public function getMutability() - { - if (array_key_exists("mutability", $this->_propDict)) { - if (is_a($this->_propDict["mutability"], "\Beta\Microsoft\Graph\Model\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 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 The referencedObjects - */ - public function getReferencedObjects() - { - if (array_key_exists("referencedObjects", $this->_propDict)) { - if (is_a($this->_propDict["referencedObjects"], "\Beta\Microsoft\Graph\Model\ReferencedObject")) { - 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttributeType")) { - 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 deleted file mode 100644 index 9d0da5cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeFlowBehavior.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 The flowBehavior - */ - public function getFlowBehavior() - { - if (array_key_exists("flowBehavior", $this->_propDict)) { - if (is_a($this->_propDict["flowBehavior"], "\Beta\Microsoft\Graph\Model\AttributeFlowBehavior")) { - 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 The flowType - */ - public function getFlowType() - { - if (array_key_exists("flowType", $this->_propDict)) { - if (is_a($this->_propDict["flowType"], "\Beta\Microsoft\Graph\Model\AttributeFlowType")) { - 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 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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource")) { - 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 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 deleted file mode 100644 index 79395cc7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingFunctionSchema.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 48d55173..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingParameterSchema.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttributeType")) { - 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 deleted file mode 100644 index a762a34c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSource.php +++ /dev/null @@ -1,140 +0,0 @@ -_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 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 The parameters - */ - public function getParameters() - { - if (array_key_exists("parameters", $this->_propDict)) { - if (is_a($this->_propDict["parameters"], "\Beta\Microsoft\Graph\Model\StringKeyAttributeMappingSourceValuePair")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\AttributeMappingSourceType")) { - 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 deleted file mode 100644 index 64920c97..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AttributeMappingSourceType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index dbf9e516..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioConferencing.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 - * The toll-free number that connects to the Audio Conference Provider. - * - * @return string The tollFreeNumber - */ - public function getTollFreeNumber() - { - if (array_key_exists("tollFreeNumber", $this->_propDict)) { - return $this->_propDict["tollFreeNumber"]; - } else { - return null; - } - } - - /** - * Sets the tollFreeNumber - * The toll-free number that connects to the Audio Conference Provider. - * - * @param string $val The value of the tollFreeNumber - * - * @return AudioConferencing - */ - public function setTollFreeNumber($val) - { - $this->_propDict["tollFreeNumber"] = $val; - return $this; - } - /** - * Gets the tollNumber - * The toll number that connects to the Audio Conference Provider. - * - * @return string 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 connects to the Audio Conference Provider. - * - * @param string $val The value of the tollNumber - * - * @return AudioConferencing - */ - public function setTollNumber($val) - { - $this->_propDict["tollNumber"] = $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 deleted file mode 100644 index c28447eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AudioRoutingGroup.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The routingMode - */ - public function getRoutingMode() - { - if (array_key_exists("routingMode", $this->_propDict)) { - if (is_a($this->_propDict["routingMode"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 7663b445..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActivityInitiator.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\AppIdentity")) { - return $this->_propDict["app"]; - } else { - $this->_propDict["app"] = new AppIdentity($this->_propDict["app"]); - return $this->_propDict["app"]; - } - } - return null; - } - - /** - * Sets the app - * If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name. - * - * @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 resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. - * - * @return UserIdentity The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - return $this->_propDict["user"]; - } else { - $this->_propDict["user"] = new UserIdentity($this->_propDict["user"]); - return $this->_propDict["user"]; - } - } - return null; - } - - /** - * Sets the user - * If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. - * - * @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/Beta/Microsoft/Graph/Model/AuditActor.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActor.php deleted file mode 100644 index 382ba7fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditActor.php +++ /dev/null @@ -1,339 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 The userRoleScopeTags - */ - public function getUserRoleScopeTags() - { - if (array_key_exists("userRoleScopeTags", $this->_propDict)) { - if (is_a($this->_propDict["userRoleScopeTags"], "\Beta\Microsoft\Graph\Model\RoleScopeTagInfo")) { - 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 deleted file mode 100644 index 53b679d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditEvent.php +++ /dev/null @@ -1,355 +0,0 @@ -_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 The activityDateTime - */ - public function getActivityDateTime() - { - if (array_key_exists("activityDateTime", $this->_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 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 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 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 The actor - */ - public function getActor() - { - if (array_key_exists("actor", $this->_propDict)) { - if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\AuditActor")) { - 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 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 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 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 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 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 deleted file mode 100644 index 9551dc12..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditLogRoot.php +++ /dev/null @@ -1,171 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 402e6e27..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditProperty.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 8a93ba59..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuditResource.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The modifiedProperties - */ - public function getModifiedProperties() - { - if (array_key_exists("modifiedProperties", $this->_propDict)) { - if (is_a($this->_propDict["modifiedProperties"], "\Beta\Microsoft\Graph\Model\AuditProperty")) { - 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 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 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/AuthMethodsType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthMethodsType.php deleted file mode 100644 index 7aa455c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthMethodsType.php +++ /dev/null @@ -1,45 +0,0 @@ -_propDict)) { - return $this->_propDict["emailMethods"]; - } else { - return null; - } - } - - /** - * Sets the emailMethods - * - * @param EmailAuthenticationMethod $val The emailMethods - * - * @return Authentication - */ - public function setEmailMethods($val) - { - $this->_propDict["emailMethods"] = $val; - return $this; - } - - - /** - * Gets the fido2Methods - * - * @return array The fido2Methods - */ - public function getFido2Methods() - { - if (array_key_exists("fido2Methods", $this->_propDict)) { - return $this->_propDict["fido2Methods"]; - } else { - return null; - } - } - - /** - * Sets the fido2Methods - * - * @param Fido2AuthenticationMethod $val The fido2Methods - * - * @return Authentication - */ - public function setFido2Methods($val) - { - $this->_propDict["fido2Methods"] = $val; - return $this; - } - - - /** - * Gets the methods - * - * @return array The methods - */ - public function getMethods() - { - if (array_key_exists("methods", $this->_propDict)) { - return $this->_propDict["methods"]; - } else { - return null; - } - } - - /** - * Sets the methods - * - * @param AuthenticationMethod $val The methods - * - * @return Authentication - */ - public function setMethods($val) - { - $this->_propDict["methods"] = $val; - return $this; - } - - - /** - * Gets the microsoftAuthenticatorMethods - * - * @return array The microsoftAuthenticatorMethods - */ - public function getMicrosoftAuthenticatorMethods() - { - if (array_key_exists("microsoftAuthenticatorMethods", $this->_propDict)) { - return $this->_propDict["microsoftAuthenticatorMethods"]; - } else { - return null; - } - } - - /** - * Sets the microsoftAuthenticatorMethods - * - * @param MicrosoftAuthenticatorAuthenticationMethod $val The microsoftAuthenticatorMethods - * - * @return Authentication - */ - public function setMicrosoftAuthenticatorMethods($val) - { - $this->_propDict["microsoftAuthenticatorMethods"] = $val; - return $this; - } - - - /** - * Gets the operations - * - * @return array 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 - * - * @return array The passwordlessMicrosoftAuthenticatorMethods - */ - public function getPasswordlessMicrosoftAuthenticatorMethods() - { - if (array_key_exists("passwordlessMicrosoftAuthenticatorMethods", $this->_propDict)) { - return $this->_propDict["passwordlessMicrosoftAuthenticatorMethods"]; - } else { - return null; - } - } - - /** - * Sets the passwordlessMicrosoftAuthenticatorMethods - * - * @param PasswordlessMicrosoftAuthenticatorAuthenticationMethod $val The passwordlessMicrosoftAuthenticatorMethods - * - * @return Authentication - */ - public function setPasswordlessMicrosoftAuthenticatorMethods($val) - { - $this->_propDict["passwordlessMicrosoftAuthenticatorMethods"] = $val; - return $this; - } - - - /** - * Gets the passwordMethods - * - * @return array The passwordMethods - */ - public function getPasswordMethods() - { - if (array_key_exists("passwordMethods", $this->_propDict)) { - return $this->_propDict["passwordMethods"]; - } else { - return null; - } - } - - /** - * Sets the passwordMethods - * - * @param PasswordAuthenticationMethod $val The passwordMethods - * - * @return Authentication - */ - public function setPasswordMethods($val) - { - $this->_propDict["passwordMethods"] = $val; - return $this; - } - - - /** - * Gets the phoneMethods - * - * @return array The phoneMethods - */ - public function getPhoneMethods() - { - if (array_key_exists("phoneMethods", $this->_propDict)) { - return $this->_propDict["phoneMethods"]; - } else { - return null; - } - } - - /** - * Sets the phoneMethods - * - * @param PhoneAuthenticationMethod $val The phoneMethods - * - * @return Authentication - */ - public function setPhoneMethods($val) - { - $this->_propDict["phoneMethods"] = $val; - return $this; - } - - - /** - * Gets the temporaryAccessPassMethods - * - * @return array The temporaryAccessPassMethods - */ - public function getTemporaryAccessPassMethods() - { - if (array_key_exists("temporaryAccessPassMethods", $this->_propDict)) { - return $this->_propDict["temporaryAccessPassMethods"]; - } else { - return null; - } - } - - /** - * Sets the temporaryAccessPassMethods - * - * @param TemporaryAccessPassAuthenticationMethod $val The temporaryAccessPassMethods - * - * @return Authentication - */ - public function setTemporaryAccessPassMethods($val) - { - $this->_propDict["temporaryAccessPassMethods"] = $val; - return $this; - } - - - /** - * Gets the windowsHelloForBusinessMethods - * - * @return array The windowsHelloForBusinessMethods - */ - public function getWindowsHelloForBusinessMethods() - { - if (array_key_exists("windowsHelloForBusinessMethods", $this->_propDict)) { - return $this->_propDict["windowsHelloForBusinessMethods"]; - } else { - return null; - } - } - - /** - * Sets the windowsHelloForBusinessMethods - * - * @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/AuthenticationContextClassReference.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextClassReference.php deleted file mode 100644 index c7949edf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationContextClassReference.php +++ /dev/null @@ -1,108 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * - * @param string $val The description - * - * @return AuthenticationContextClassReference - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 AuthenticationContextClassReference - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the isAvailable - * - * @return bool The isAvailable - */ - public function getIsAvailable() - { - if (array_key_exists("isAvailable", $this->_propDict)) { - return $this->_propDict["isAvailable"]; - } else { - return null; - } - } - - /** - * Sets the isAvailable - * - * @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/AuthenticationDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationDetail.php deleted file mode 100644 index 4823c727..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationDetail.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 The authenticationStepDateTime - */ - public function getAuthenticationStepDateTime() - { - if (array_key_exists("authenticationStepDateTime", $this->_propDict)) { - if (is_a($this->_propDict["authenticationStepDateTime"], "\DateTime")) { - 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 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 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 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/AuthenticationFlowsPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationFlowsPolicy.php deleted file mode 100644 index 5b9d17ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationFlowsPolicy.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The selfServiceSignUp - */ - public function getSelfServiceSignUp() - { - if (array_key_exists("selfServiceSignUp", $this->_propDict)) { - if (is_a($this->_propDict["selfServiceSignUp"], "\Beta\Microsoft\Graph\Model\SelfServiceSignUpAuthenticationFlowConfiguration")) { - 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/AuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethod.php deleted file mode 100644 index bf27b50f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethod.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodState")) { - 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 deleted file mode 100644 index 27444310..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodFeature.php +++ /dev/null @@ -1,37 +0,0 @@ -_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. - * - * @return AuthenticationMethodTargetType The targetType - */ - public function getTargetType() - { - if (array_key_exists("targetType", $this->_propDict)) { - if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodTargetType")) { - 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. - * - * @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 deleted file mode 100644 index f699fc60..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodTargetType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * - * @param string $val The description - * - * @return AuthenticationMethodsPolicy - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 AuthenticationMethodsPolicy - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the lastModifiedDateTime - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 AuthenticationMethodsPolicy - */ - public function setLastModifiedDateTime($val) - { - $this->_propDict["lastModifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the policyVersion - * - * @return string The policyVersion - */ - public function getPolicyVersion() - { - if (array_key_exists("policyVersion", $this->_propDict)) { - return $this->_propDict["policyVersion"]; - } else { - return null; - } - } - - /** - * Sets the policyVersion - * - * @param string $val The policyVersion - * - * @return AuthenticationMethodsPolicy - */ - public function setPolicyVersion($val) - { - $this->_propDict["policyVersion"] = $val; - return $this; - } - - /** - * Gets the reconfirmationInDays - * - * @return int 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 authenticationMethodConfigurations - * - * @return array The authenticationMethodConfigurations - */ - public function getAuthenticationMethodConfigurations() - { - if (array_key_exists("authenticationMethodConfigurations", $this->_propDict)) { - return $this->_propDict["authenticationMethodConfigurations"]; - } else { - return null; - } - } - - /** - * Sets the authenticationMethodConfigurations - * - * @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/AuthenticationMethodsRoot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php deleted file mode 100644 index a6eb1657..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationMethodsRoot.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - return $this->_propDict["detail"]; - } else { - return null; - } - } - - /** - * Sets the detail - * - * @param string $val The value of the detail - * - * @return AuthenticationRequirementPolicy - */ - public function setDetail($val) - { - $this->_propDict["detail"] = $val; - return $this; - } - - /** - * Gets the requirementProvider - * - * @return RequirementProvider The requirementProvider - */ - public function getRequirementProvider() - { - if (array_key_exists("requirementProvider", $this->_propDict)) { - if (is_a($this->_propDict["requirementProvider"], "\Beta\Microsoft\Graph\Model\RequirementProvider")) { - return $this->_propDict["requirementProvider"]; - } else { - $this->_propDict["requirementProvider"] = new RequirementProvider($this->_propDict["requirementProvider"]); - return $this->_propDict["requirementProvider"]; - } - } - return null; - } - - /** - * Sets the requirementProvider - * - * @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/AuthenticationTransformConstant.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationTransformConstant.php deleted file mode 100644 index 3965898d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AuthenticationTransformConstant.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 The allowInvitesFrom - */ - public function getAllowInvitesFrom() - { - if (array_key_exists("allowInvitesFrom", $this->_propDict)) { - if (is_a($this->_propDict["allowInvitesFrom"], "\Beta\Microsoft\Graph\Model\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. Setting to true 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 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. Setting to true 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 The defaultUserRolePermissions - */ - public function getDefaultUserRolePermissions() - { - if (array_key_exists("defaultUserRolePermissions", $this->_propDict)) { - if (is_a($this->_propDict["defaultUserRolePermissions"], "\Beta\Microsoft\Graph\Model\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 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 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 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; - } - -} 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 deleted file mode 100644 index d430f428..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoAdmittedUsersType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index 246ce040..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutoRestartNotificationDismissalMethod.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index d19cfa21..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesMailTips.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The messageLanguage - */ - public function getMessageLanguage() - { - if (array_key_exists("messageLanguage", $this->_propDict)) { - if (is_a($this->_propDict["messageLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 The scheduledEndTime - */ - public function getScheduledEndTime() - { - if (array_key_exists("scheduledEndTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledEndTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The scheduledStartTime - */ - public function getScheduledStartTime() - { - if (array_key_exists("scheduledStartTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledStartTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index 871f0a5a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesSetting.php +++ /dev/null @@ -1,214 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["externalAudience"], "\Beta\Microsoft\Graph\Model\ExternalAudienceScope")) { - 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 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 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 The scheduledEndDateTime - */ - public function getScheduledEndDateTime() - { - if (array_key_exists("scheduledEndDateTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledEndDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The scheduledStartDateTime - */ - public function getScheduledStartDateTime() - { - if (array_key_exists("scheduledStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledStartDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AutomaticRepliesStatus")) { - 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 deleted file mode 100644 index 49e62ca0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AutomaticRepliesStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index da7e4730..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADFeatureUsage.php +++ /dev/null @@ -1,112 +0,0 @@ -_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 The snapshotDateTime - */ - public function getSnapshotDateTime() - { - if (array_key_exists("snapshotDateTime", $this->_propDict)) { - if (is_a($this->_propDict["snapshotDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index a40b22c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADLicenseType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The snapshotDateTime - */ - public function getSnapshotDateTime() - { - if (array_key_exists("snapshotDateTime", $this->_propDict)) { - if (is_a($this->_propDict["snapshotDateTime"], "\DateTime")) { - 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/AzureADUserFeatureUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADUserFeatureUsage.php deleted file mode 100644 index 04fb040a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADUserFeatureUsage.php +++ /dev/null @@ -1,229 +0,0 @@ -_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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 The licenseAssigned - */ - public function getLicenseAssigned() - { - if (array_key_exists("licenseAssigned", $this->_propDict)) { - if (is_a($this->_propDict["licenseAssigned"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType")) { - 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 The licenseRecommended - */ - public function getLicenseRecommended() - { - if (array_key_exists("licenseRecommended", $this->_propDict)) { - if (is_a($this->_propDict["licenseRecommended"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType")) { - 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 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 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 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 deleted file mode 100644 index 5ab9cec1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureADWindowsAutopilotDeploymentProfile.php +++ /dev/null @@ -1,27 +0,0 @@ -setODataType("#microsoft.graph.azureActiveDirectoryTenant"); - } - - /** - * Gets the displayName - * The name of the Azure Active Directory tenant. Read only. - * - * @return string 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 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/AzureAdRegisteredState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdRegisteredState.php deleted file mode 100644 index fec3254e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AzureAdRegisteredState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 - * - * @return bool The isPhoneOneTimePasswordAuthenticationEnabled - */ - public function getIsPhoneOneTimePasswordAuthenticationEnabled() - { - if (array_key_exists("isPhoneOneTimePasswordAuthenticationEnabled", $this->_propDict)) { - return $this->_propDict["isPhoneOneTimePasswordAuthenticationEnabled"]; - } else { - return null; - } - } - - /** - * Sets the isPhoneOneTimePasswordAuthenticationEnabled - * - * @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 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 deleted file mode 100644 index 968f585a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2cIdentityUserFlow.php +++ /dev/null @@ -1,208 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["apiConnectorConfiguration"], "\Beta\Microsoft\Graph\Model\UserFlowApiConnectorConfiguration")) { - 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 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 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 - * The identity providers included in the user flow. - * - * @return array 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 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 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 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; - } - -} 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 deleted file mode 100644 index 5ba3b063..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/B2xIdentityUserFlow.php +++ /dev/null @@ -1,150 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["apiConnectorConfiguration"], "\Beta\Microsoft\Graph\Model\UserFlowApiConnectorConfiguration")) { - 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 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 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 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; - } - -} 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 deleted file mode 100644 index 537ee4ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItem.php +++ /dev/null @@ -1,374 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The parentReference - */ - public function getParentReference() - { - if (array_key_exists("parentReference", $this->_propDict)) { - if (is_a($this->_propDict["parentReference"], "\Beta\Microsoft\Graph\Model\ItemReference")) { - 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 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 The createdByUser - */ - public function getCreatedByUser() - { - if (array_key_exists("createdByUser", $this->_propDict)) { - if (is_a($this->_propDict["createdByUser"], "\Beta\Microsoft\Graph\Model\User")) { - 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 The lastModifiedByUser - */ - public function getLastModifiedByUser() - { - if (array_key_exists("lastModifiedByUser", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedByUser"], "\Beta\Microsoft\Graph\Model\User")) { - 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 deleted file mode 100644 index 06f4c8f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BaseItemVersion.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The publication - */ - public function getPublication() - { - if (array_key_exists("publication", $this->_propDict)) { - if (is_a($this->_propDict["publication"], "\Beta\Microsoft\Graph\Model\PublicationFacet")) { - 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/BasicAuthentication.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BasicAuthentication.php deleted file mode 100644 index 885e0025..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BasicAuthentication.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.basicAuthentication"); - } - - /** - * Gets the password - * The password. It is not returned in the responses. - * - * @return string 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 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/BinaryManagementConditionExpression.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryManagementConditionExpression.php deleted file mode 100644 index dd6446aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryManagementConditionExpression.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["firstOperand"], "\Beta\Microsoft\Graph\Model\ManagementConditionExpressionModel")) { - return $this->_propDict["firstOperand"]; - } else { - $this->_propDict["firstOperand"] = new ManagementConditionExpressionModel($this->_propDict["firstOperand"]); - return $this->_propDict["firstOperand"]; - } - } - return null; - } - - /** - * Sets the firstOperand - * The first operand of the binary operation. - * - * @param ManagementConditionExpressionModel $val The value to assign to the firstOperand - * - * @return BinaryManagementConditionExpression The BinaryManagementConditionExpression - */ - public function setFirstOperand($val) - { - $this->_propDict["firstOperand"] = $val; - return $this; - } - - /** - * Gets the operator - * The operator used in the evaluation of the binary operation. Possible values are: or, and. - * - * @return BinaryManagementConditionExpressionOperatorType The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\BinaryManagementConditionExpressionOperatorType")) { - return $this->_propDict["operator"]; - } else { - $this->_propDict["operator"] = new BinaryManagementConditionExpressionOperatorType($this->_propDict["operator"]); - return $this->_propDict["operator"]; - } - } - return null; - } - - /** - * Sets the operator - * The operator used in the evaluation of the binary operation. Possible values are: or, and. - * - * @param BinaryManagementConditionExpressionOperatorType $val The value to assign to the operator - * - * @return BinaryManagementConditionExpression The BinaryManagementConditionExpression - */ - public function setOperator($val) - { - $this->_propDict["operator"] = $val; - return $this; - } - - /** - * Gets the secondOperand - * The second operand of the binary operation. - * - * @return ManagementConditionExpressionModel The secondOperand - */ - public function getSecondOperand() - { - if (array_key_exists("secondOperand", $this->_propDict)) { - if (is_a($this->_propDict["secondOperand"], "\Beta\Microsoft\Graph\Model\ManagementConditionExpressionModel")) { - return $this->_propDict["secondOperand"]; - } else { - $this->_propDict["secondOperand"] = new ManagementConditionExpressionModel($this->_propDict["secondOperand"]); - return $this->_propDict["secondOperand"]; - } - } - return null; - } - - /** - * Sets the secondOperand - * The second operand of the binary operation. - * - * @param ManagementConditionExpressionModel $val The value to assign to the secondOperand - * - * @return BinaryManagementConditionExpression The BinaryManagementConditionExpression - */ - public function setSecondOperand($val) - { - $this->_propDict["secondOperand"] = $val; - return $this; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryManagementConditionExpressionOperatorType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryManagementConditionExpressionOperatorType.php deleted file mode 100644 index 996cfa95..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BinaryManagementConditionExpressionOperatorType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\BitLockerEncryptionMethod")) { - 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 The recoveryOptions - */ - public function getRecoveryOptions() - { - if (array_key_exists("recoveryOptions", $this->_propDict)) { - if (is_a($this->_propDict["recoveryOptions"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryOptions")) { - 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 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 deleted file mode 100644 index 9bac8057..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryInformationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 The recoveryInformationToStore - */ - public function getRecoveryInformationToStore() - { - if (array_key_exists("recoveryInformationToStore", $this->_propDict)) { - if (is_a($this->_propDict["recoveryInformationToStore"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryInformationType")) { - 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 The recoveryKeyUsage - */ - public function getRecoveryKeyUsage() - { - if (array_key_exists("recoveryKeyUsage", $this->_propDict)) { - if (is_a($this->_propDict["recoveryKeyUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 The recoveryPasswordUsage - */ - public function getRecoveryPasswordUsage() - { - if (array_key_exists("recoveryPasswordUsage", $this->_propDict)) { - if (is_a($this->_propDict["recoveryPasswordUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 deleted file mode 100644 index 4fae5cd1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerRecoveryPasswordRotationType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The encryptionMethod - */ - public function getEncryptionMethod() - { - if (array_key_exists("encryptionMethod", $this->_propDict)) { - if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\BitLockerEncryptionMethod")) { - 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 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 deleted file mode 100644 index e18dd5d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitLockerSystemDrivePolicy.php +++ /dev/null @@ -1,392 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\BitLockerEncryptionMethod")) { - 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 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 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 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 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 The recoveryOptions - */ - public function getRecoveryOptions() - { - if (array_key_exists("recoveryOptions", $this->_propDict)) { - if (is_a($this->_propDict["recoveryOptions"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryOptions")) { - 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 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 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 The startupAuthenticationTpmKeyUsage - */ - public function getStartupAuthenticationTpmKeyUsage() - { - if (array_key_exists("startupAuthenticationTpmKeyUsage", $this->_propDict)) { - if (is_a($this->_propDict["startupAuthenticationTpmKeyUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 The startupAuthenticationTpmPinAndKeyUsage - */ - public function getStartupAuthenticationTpmPinAndKeyUsage() - { - if (array_key_exists("startupAuthenticationTpmPinAndKeyUsage", $this->_propDict)) { - if (is_a($this->_propDict["startupAuthenticationTpmPinAndKeyUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 The startupAuthenticationTpmPinUsage - */ - public function getStartupAuthenticationTpmPinUsage() - { - if (array_key_exists("startupAuthenticationTpmPinUsage", $this->_propDict)) { - if (is_a($this->_propDict["startupAuthenticationTpmPinUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 The startupAuthenticationTpmUsage - */ - public function getStartupAuthenticationTpmUsage() - { - if (array_key_exists("startupAuthenticationTpmUsage", $this->_propDict)) { - if (is_a($this->_propDict["startupAuthenticationTpmUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 deleted file mode 100644 index ce70d913..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bitlocker.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 6b038e94..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BitlockerRecoveryKey.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The volumeType - */ - public function getVolumeType() - { - if (array_key_exists("volumeType", $this->_propDict)) { - if (is_a($this->_propDict["volumeType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 8e9472eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BlockAccessAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - return $this->_propDict["additionalInformation"]; - } else { - return null; - } - } - - /** - * Sets the additionalInformation - * - * @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 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 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 The customerLocation - */ - public function getCustomerLocation() - { - if (array_key_exists("customerLocation", $this->_propDict)) { - if (is_a($this->_propDict["customerLocation"], "\Beta\Microsoft\Graph\Model\Location")) { - 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 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 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 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 duration - * The length of the appointment, denoted in ISO8601 format. - * - * @return Duration The duration - */ - public function getDuration() - { - if (array_key_exists("duration", $this->_propDict)) { - if (is_a($this->_propDict["duration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["duration"]; - } else { - $this->_propDict["duration"] = new Duration($this->_propDict["duration"]); - return $this->_propDict["duration"]; - } - } - return null; - } - - /** - * Sets the duration - * The length of the appointment, denoted in ISO8601 format. - * - * @param Duration $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 The end - */ - public function getEnd() - { - if (array_key_exists("end", $this->_propDict)) { - if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 invoiceAmount - * The billed amount on the invoice. - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the invoiceDate - * The date, time, and time zone of the invoice for this appointment. - * - * @return DateTimeTimeZone The invoiceDate - */ - public function getInvoiceDate() - { - if (array_key_exists("invoiceDate", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDate"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 The invoiceStatus - */ - public function getInvoiceStatus() - { - if (array_key_exists("invoiceStatus", $this->_propDict)) { - if (is_a($this->_propDict["invoiceStatus"], "\Beta\Microsoft\Graph\Model\BookingInvoiceStatus")) { - 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 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 - * - * @return bool The isLocationOnline - */ - public function getIsLocationOnline() - { - if (array_key_exists("isLocationOnline", $this->_propDict)) { - return $this->_propDict["isLocationOnline"]; - } else { - return null; - } - } - - /** - * Sets the isLocationOnline - * - * @param bool $val The isLocationOnline - * - * @return BookingAppointment - */ - public function setIsLocationOnline($val) - { - $this->_propDict["isLocationOnline"] = boolval($val); - return $this; - } - - /** - * Gets the onlineMeetingUrl - * - * @return string 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 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 Duration The postBuffer - */ - public function getPostBuffer() - { - if (array_key_exists("postBuffer", $this->_propDict)) { - if (is_a($this->_propDict["postBuffer"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["postBuffer"]; - } else { - $this->_propDict["postBuffer"] = new Duration($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 Duration $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 Duration The preBuffer - */ - public function getPreBuffer() - { - if (array_key_exists("preBuffer", $this->_propDict)) { - if (is_a($this->_propDict["preBuffer"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["preBuffer"]; - } else { - $this->_propDict["preBuffer"] = new Duration($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 Duration $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 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"] = $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. - * - * @return BookingPriceType The priceType - */ - public function getPriceType() - { - if (array_key_exists("priceType", $this->_propDict)) { - if (is_a($this->_propDict["priceType"], "\Beta\Microsoft\Graph\Model\BookingPriceType")) { - 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. - * - * @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 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 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 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 The serviceLocation - */ - public function getServiceLocation() - { - if (array_key_exists("serviceLocation", $this->_propDict)) { - if (is_a($this->_propDict["serviceLocation"], "\Beta\Microsoft\Graph\Model\Location")) { - 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 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 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 staffMemberIds - * The ID of each bookingStaffMember who is scheduled in this appointment. - * - * @return string 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 The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index 9a44eec5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingBusiness.php +++ /dev/null @@ -1,476 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 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 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 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 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 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 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 The schedulingPolicy - */ - public function getSchedulingPolicy() - { - if (array_key_exists("schedulingPolicy", $this->_propDict)) { - if (is_a($this->_propDict["schedulingPolicy"], "\Beta\Microsoft\Graph\Model\BookingSchedulingPolicy")) { - 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 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 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 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 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 services - * All the services offered by this business. Read-only. Nullable. - * - * @return array 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 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 deleted file mode 100644 index b02d145d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCurrency.php +++ /dev/null @@ -1,56 +0,0 @@ -_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/BookingCustomer.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomer.php deleted file mode 100644 index b46bd073..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingCustomer.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 deleted file mode 100644 index 80b78033..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPerson.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 47886e9b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingPriceType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 Duration The offset - */ - public function getOffset() - { - if (array_key_exists("offset", $this->_propDict)) { - if (is_a($this->_propDict["offset"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["offset"]; - } else { - $this->_propDict["offset"] = new Duration($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 Duration $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 shouold receive the reminder. Possible values are: allAttendees, staff, customer. - * - * @return BookingReminderRecipients The recipients - */ - public function getRecipients() - { - if (array_key_exists("recipients", $this->_propDict)) { - if (is_a($this->_propDict["recipients"], "\Beta\Microsoft\Graph\Model\BookingReminderRecipients")) { - 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 shouold receive the reminder. Possible values are: allAttendees, staff, customer. - * - * @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 deleted file mode 100644 index ddef806f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingReminderRecipients.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 Duration The maximumAdvance - */ - public function getMaximumAdvance() - { - if (array_key_exists("maximumAdvance", $this->_propDict)) { - if (is_a($this->_propDict["maximumAdvance"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumAdvance"]; - } else { - $this->_propDict["maximumAdvance"] = new Duration($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 Duration $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 Duration The minimumLeadTime - */ - public function getMinimumLeadTime() - { - if (array_key_exists("minimumLeadTime", $this->_propDict)) { - if (is_a($this->_propDict["minimumLeadTime"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["minimumLeadTime"]; - } else { - $this->_propDict["minimumLeadTime"] = new Duration($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 Duration $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 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 Duration The timeSlotInterval - */ - public function getTimeSlotInterval() - { - if (array_key_exists("timeSlotInterval", $this->_propDict)) { - if (is_a($this->_propDict["timeSlotInterval"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["timeSlotInterval"]; - } else { - $this->_propDict["timeSlotInterval"] = new Duration($this->_propDict["timeSlotInterval"]); - return $this->_propDict["timeSlotInterval"]; - } - } - return null; - } - - /** - * Sets the timeSlotInterval - * Duration of each time slot, denoted in ISO 8601 format. - * - * @param Duration $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 deleted file mode 100644 index 21090d56..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php +++ /dev/null @@ -1,454 +0,0 @@ -_propDict)) { - return $this->_propDict["additionalInformation"]; - } else { - return null; - } - } - - /** - * Sets the additionalInformation - * - * @param string $val The additionalInformation - * - * @return BookingService - */ - public function setAdditionalInformation($val) - { - $this->_propDict["additionalInformation"] = $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 Duration The defaultDuration - */ - public function getDefaultDuration() - { - if (array_key_exists("defaultDuration", $this->_propDict)) { - if (is_a($this->_propDict["defaultDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["defaultDuration"]; - } else { - $this->_propDict["defaultDuration"] = new Duration($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 Duration $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 The defaultLocation - */ - public function getDefaultLocation() - { - if (array_key_exists("defaultLocation", $this->_propDict)) { - if (is_a($this->_propDict["defaultLocation"], "\Beta\Microsoft\Graph\Model\Location")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the defaultPriceType - * The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet. - * - * @return BookingPriceType The defaultPriceType - */ - public function getDefaultPriceType() - { - if (array_key_exists("defaultPriceType", $this->_propDict)) { - if (is_a($this->_propDict["defaultPriceType"], "\Beta\Microsoft\Graph\Model\BookingPriceType")) { - 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. - * - * @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 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 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 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 - * - * @return bool The isLocationOnline - */ - public function getIsLocationOnline() - { - if (array_key_exists("isLocationOnline", $this->_propDict)) { - return $this->_propDict["isLocationOnline"]; - } else { - return null; - } - } - - /** - * Sets the isLocationOnline - * - * @param bool $val The isLocationOnline - * - * @return BookingService - */ - public function setIsLocationOnline($val) - { - $this->_propDict["isLocationOnline"] = boolval($val); - return $this; - } - - /** - * Gets the notes - * Additional information about this service. - * - * @return string 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 Duration The postBuffer - */ - public function getPostBuffer() - { - if (array_key_exists("postBuffer", $this->_propDict)) { - if (is_a($this->_propDict["postBuffer"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["postBuffer"]; - } else { - $this->_propDict["postBuffer"] = new Duration($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 Duration $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 Duration The preBuffer - */ - public function getPreBuffer() - { - if (array_key_exists("preBuffer", $this->_propDict)) { - if (is_a($this->_propDict["preBuffer"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["preBuffer"]; - } else { - $this->_propDict["preBuffer"] = new Duration($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 Duration $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 The schedulingPolicy - */ - public function getSchedulingPolicy() - { - if (array_key_exists("schedulingPolicy", $this->_propDict)) { - if (is_a($this->_propDict["schedulingPolicy"], "\Beta\Microsoft\Graph\Model\BookingSchedulingPolicy")) { - 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 staffMemberIds - * Represents those staff members who provide this service. - * - * @return string 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; - } - -} 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 deleted file mode 100644 index 1e3865d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffMember.php +++ /dev/null @@ -1,177 +0,0 @@ -_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 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. Required. - * - * @return BookingStaffRole The role - */ - public function getRole() - { - if (array_key_exists("role", $this->_propDict)) { - if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\BookingStaffRole")) { - 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. Required. - * - * @param BookingStaffRole $val The role - * - * @return BookingStaffMember - */ - public function setRole($val) - { - $this->_propDict["role"] = $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 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 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 deleted file mode 100644 index 7c5b701a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingStaffRole.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["day"], "\Beta\Microsoft\Graph\Model\DayOfWeek")) { - 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 The timeSlots - */ - public function getTimeSlots() - { - if (array_key_exists("timeSlots", $this->_propDict)) { - if (is_a($this->_propDict["timeSlots"], "\Beta\Microsoft\Graph\Model\BookingWorkTimeSlot")) { - 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 deleted file mode 100644 index 13a0e77e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingWorkTimeSlot.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 that work starts. For example, 08: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 that work stops. For example, 17:00:00.0000000. - * - * @return TimeOfDay The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 that work stops. For example, 17: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/BooleanColumn.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BooleanColumn.php deleted file mode 100644 index f7a62fee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BooleanColumn.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedAudience"], "\Beta\Microsoft\Graph\Model\BroadcastMeetingAudience")) { - 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 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 live event. Default value is false. - * - * @return bool 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 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 live event. Default value is false. - * - * @return bool 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 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 live event. Default value is false. - * - * @return bool 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 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 live event. Default value is false. - * - * @return bool 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 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 deleted file mode 100644 index 5ec5f013..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BrowserSyncSetting.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 The ranges - */ - public function getRanges() - { - if (array_key_exists("ranges", $this->_propDict)) { - if (is_a($this->_propDict["ranges"], "\Beta\Microsoft\Graph\Model\BucketAggregationRange")) { - 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 The sortBy - */ - public function getSortBy() - { - if (array_key_exists("sortBy", $this->_propDict)) { - if (is_a($this->_propDict["sortBy"], "\Beta\Microsoft\Graph\Model\BucketAggregationSortProperty")) { - 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 deleted file mode 100644 index b49d954b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationRange.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 98bff6df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BucketAggregationSortProperty.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["decryptedBuffer"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["decryptedBuffer"]; - } else { - $this->_propDict["decryptedBuffer"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 28e1fac6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BufferEncryptionResult.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encryptedBuffer"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["encryptedBuffer"]; - } else { - $this->_propDict["encryptedBuffer"] = \GuzzleHttp\Psr7\stream_for($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 The publishingLicense - */ - public function getPublishingLicense() - { - if (array_key_exists("publishingLicense", $this->_propDict)) { - if (is_a($this->_propDict["publishingLicense"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["publishingLicense"]; - } else { - $this->_propDict["publishingLicense"] = \GuzzleHttp\Psr7\stream_for($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/BulkManagedDeviceActionResult.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkManagedDeviceActionResult.php deleted file mode 100644 index 4daabd7e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BulkManagedDeviceActionResult.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index c18ab12e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Bundle.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["album"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 652e05cc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlow.php +++ /dev/null @@ -1,278 +0,0 @@ -_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 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 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 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 The policy - */ - public function getPolicy() - { - if (array_key_exists("policy", $this->_propDict)) { - if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\GovernancePolicy")) { - 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 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 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 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\BusinessFlowSettings")) { - 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 deleted file mode 100644 index 4ea289e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowSettings.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 910b06da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BusinessFlowTemplate.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 84e52ea1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalculatedColumn.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 684b6b5f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Calendar.php +++ /dev/null @@ -1,654 +0,0 @@ -_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 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 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 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 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 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 The color - */ - public function getColor() - { - if (array_key_exists("color", $this->_propDict)) { - if (is_a($this->_propDict["color"], "\Beta\Microsoft\Graph\Model\CalendarColor")) { - 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 The defaultOnlineMeetingProvider - */ - public function getDefaultOnlineMeetingProvider() - { - if (array_key_exists("defaultOnlineMeetingProvider", $this->_propDict)) { - if (is_a($this->_propDict["defaultOnlineMeetingProvider"], "\Beta\Microsoft\Graph\Model\OnlineMeetingProviderType")) { - 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 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 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 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 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 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 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 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 The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\EmailAddress")) { - 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 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 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 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 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 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 deleted file mode 100644 index 780bc197..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarColor.php +++ /dev/null @@ -1,43 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 374949f7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarPermission.php +++ /dev/null @@ -1,181 +0,0 @@ -_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 The emailAddress - */ - public function getEmailAddress() - { - if (array_key_exists("emailAddress", $this->_propDict)) { - if (is_a($this->_propDict["emailAddress"], "\Beta\Microsoft\Graph\Model\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 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 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 The role - */ - public function getRole() - { - if (array_key_exists("role", $this->_propDict)) { - if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\CalendarRoleType")) { - 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 deleted file mode 100644 index 5a4d2820..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarRoleType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The sharingMessageAction - */ - public function getSharingMessageAction() - { - if (array_key_exists("sharingMessageAction", $this->_propDict)) { - if (is_a($this->_propDict["sharingMessageAction"], "\Beta\Microsoft\Graph\Model\CalendarSharingMessageAction")) { - 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 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 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 deleted file mode 100644 index 0c38e8a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CalendarSharingMessageAction.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\CalendarSharingAction")) { - 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 The actionType - */ - public function getActionType() - { - if (array_key_exists("actionType", $this->_propDict)) { - if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\CalendarSharingActionType")) { - 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\CalendarSharingActionImportance")) { - 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 deleted file mode 100644 index 5742a220..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Call.php +++ /dev/null @@ -1,906 +0,0 @@ -_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 The answeredBy - */ - public function getAnsweredBy() - { - if (array_key_exists("answeredBy", $this->_propDict)) { - if (is_a($this->_propDict["answeredBy"], "\Beta\Microsoft\Graph\Model\ParticipantInfo")) { - 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 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 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 - * - * @return CallOptions The callOptions - */ - public function getCallOptions() - { - if (array_key_exists("callOptions", $this->_propDict)) { - if (is_a($this->_propDict["callOptions"], "\Beta\Microsoft\Graph\Model\CallOptions")) { - return $this->_propDict["callOptions"]; - } else { - $this->_propDict["callOptions"] = new CallOptions($this->_propDict["callOptions"]); - return $this->_propDict["callOptions"]; - } - } - return null; - } - - /** - * Sets the callOptions - * - * @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 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 The chatInfo - */ - public function getChatInfo() - { - if (array_key_exists("chatInfo", $this->_propDict)) { - if (is_a($this->_propDict["chatInfo"], "\Beta\Microsoft\Graph\Model\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 The direction - */ - public function getDirection() - { - if (array_key_exists("direction", $this->_propDict)) { - if (is_a($this->_propDict["direction"], "\Beta\Microsoft\Graph\Model\CallDirection")) { - 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 The incomingContext - */ - public function getIncomingContext() - { - if (array_key_exists("incomingContext", $this->_propDict)) { - if (is_a($this->_propDict["incomingContext"], "\Beta\Microsoft\Graph\Model\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 The mediaConfig - */ - public function getMediaConfig() - { - if (array_key_exists("mediaConfig", $this->_propDict)) { - if (is_a($this->_propDict["mediaConfig"], "\Beta\Microsoft\Graph\Model\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 The mediaState - */ - public function getMediaState() - { - if (array_key_exists("mediaState", $this->_propDict)) { - if (is_a($this->_propDict["mediaState"], "\Beta\Microsoft\Graph\Model\CallMediaState")) { - 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 The meetingCapability - */ - public function getMeetingCapability() - { - if (array_key_exists("meetingCapability", $this->_propDict)) { - if (is_a($this->_propDict["meetingCapability"], "\Beta\Microsoft\Graph\Model\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 The meetingInfo - */ - public function getMeetingInfo() - { - if (array_key_exists("meetingInfo", $this->_propDict)) { - if (is_a($this->_propDict["meetingInfo"], "\Beta\Microsoft\Graph\Model\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 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 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 The resultInfo - */ - public function getResultInfo() - { - if (array_key_exists("resultInfo", $this->_propDict)) { - if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\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 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 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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\ParticipantInfo")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\CallState")) { - 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 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 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 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 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 The toneInfo - */ - public function getToneInfo() - { - if (array_key_exists("toneInfo", $this->_propDict)) { - if (is_a($this->_propDict["toneInfo"], "\Beta\Microsoft\Graph\Model\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 The transcription - */ - public function getTranscription() - { - if (array_key_exists("transcription", $this->_propDict)) { - if (is_a($this->_propDict["transcription"], "\Beta\Microsoft\Graph\Model\CallTranscriptionInfo")) { - 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 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 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 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 deleted file mode 100644 index 4ed603aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallActivityStatistics.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["afterHours"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["afterHours"]; - } else { - $this->_propDict["afterHours"] = new Duration($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 Duration $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 deleted file mode 100644 index 06daadd9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallDirection.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["audio"], "\Beta\Microsoft\Graph\Model\MediaState")) { - 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 deleted file mode 100644 index 0c0a1db8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallOptions.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["final"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The original - */ - public function getOriginal() - { - if (array_key_exists("original", $this->_propDict)) { - if (is_a($this->_propDict["original"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The routingType - */ - public function getRoutingType() - { - if (array_key_exists("routingType", $this->_propDict)) { - if (is_a($this->_propDict["routingType"], "\Beta\Microsoft\Graph\Model\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/CallState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallState.php deleted file mode 100644 index 3912e2b7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallState.php +++ /dev/null @@ -1,43 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\CallTranscriptionState")) { - 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 deleted file mode 100644 index 7a3a8300..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CallTranscriptionState.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 9d12ea81..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CategoryColor.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["certificate"]; - } else { - $this->_propDict["certificate"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 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 deleted file mode 100644 index c5d8c09e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateBasedAuthConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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/CertificateConnectorSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorSetting.php deleted file mode 100644 index 2406d826..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateConnectorSetting.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certExpiryTime"], "\DateTime")) { - 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 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 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 The lastConnectorConnectionTime - */ - public function getLastConnectorConnectionTime() - { - if (array_key_exists("lastConnectorConnectionTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectorConnectionTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 008b0b33..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CertificateDestinationStore.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index 51f01141..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotification.php +++ /dev/null @@ -1,331 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["changeType"], "\Beta\Microsoft\Graph\Model\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 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 The encryptedContent - */ - public function getEncryptedContent() - { - if (array_key_exists("encryptedContent", $this->_propDict)) { - if (is_a($this->_propDict["encryptedContent"], "\Beta\Microsoft\Graph\Model\ChangeNotificationEncryptedContent")) { - 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 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, removed, reauthorizationRequired. - * - * @return LifecycleEventType The lifecycleEvent - */ - public function getLifecycleEvent() - { - if (array_key_exists("lifecycleEvent", $this->_propDict)) { - if (is_a($this->_propDict["lifecycleEvent"], "\Beta\Microsoft\Graph\Model\LifecycleEventType")) { - 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, removed, reauthorizationRequired. - * - * @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 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. Required. - * - * @return ResourceData The resourceData - */ - public function getResourceData() - { - if (array_key_exists("resourceData", $this->_propDict)) { - if (is_a($this->_propDict["resourceData"], "\Beta\Microsoft\Graph\Model\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. Required. - * - * @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 The subscriptionExpirationDateTime - */ - public function getSubscriptionExpirationDateTime() - { - if (array_key_exists("subscriptionExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["subscriptionExpirationDateTime"], "\DateTime")) { - 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 28d06fb5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationCollection.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\ChangeNotification")) { - 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 deleted file mode 100644 index f319b1e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeNotificationEncryptedContent.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 17fd79e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeTrackedEntity.php +++ /dev/null @@ -1,157 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index af0427a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChangeType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 cannot be changed. Default: standard. - * - * @return ChannelMembershipType The membershipType - */ - public function getMembershipType() - { - if (array_key_exists("membershipType", $this->_propDict)) { - if (is_a($this->_propDict["membershipType"], "\Beta\Microsoft\Graph\Model\ChannelMembershipType")) { - 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 cannot be changed. Default: standard. - * - * @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 The moderationSettings - */ - public function getModerationSettings() - { - if (array_key_exists("moderationSettings", $this->_propDict)) { - if (is_a($this->_propDict["moderationSettings"], "\Beta\Microsoft\Graph\Model\ChannelModerationSettings")) { - 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 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 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 The filesFolder - */ - public function getFilesFolder() - { - if (array_key_exists("filesFolder", $this->_propDict)) { - if (is_a($this->_propDict["filesFolder"], "\Beta\Microsoft\Graph\Model\DriveItem")) { - 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 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 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 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/ChannelCreationMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelCreationMode.php deleted file mode 100644 index 36a135cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelCreationMode.php +++ /dev/null @@ -1,33 +0,0 @@ -_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 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/ChannelMembershipType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembershipType.php deleted file mode 100644 index 52a92bd1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChannelMembershipType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 The replyRestriction - */ - public function getReplyRestriction() - { - if (array_key_exists("replyRestriction", $this->_propDict)) { - if (is_a($this->_propDict["replyRestriction"], "\Beta\Microsoft\Graph\Model\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 The userNewMessageRestriction - */ - public function getUserNewMessageRestriction() - { - if (array_key_exists("userNewMessageRestriction", $this->_propDict)) { - if (is_a($this->_propDict["userNewMessageRestriction"], "\Beta\Microsoft\Graph\Model\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/ChassisType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChassisType.php deleted file mode 100644 index 3dbbfd61..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChassisType.php +++ /dev/null @@ -1,41 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["chatType"], "\Beta\Microsoft\Graph\Model\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 and meeting. - * - * @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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 topic - * (Optional) Subject or topic for the chat. Only available for group chats. - * - * @return string 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 installedApps - * A collection of all the apps in the chat. Nullable. - * - * @return array 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 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 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 permissionGrants - * A collection of permissions granted to apps for the chat. - * - * @return array 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 tabs - * - * @return array The tabs - */ - public function getTabs() - { - if (array_key_exists("tabs", $this->_propDict)) { - return $this->_propDict["tabs"]; - } else { - return null; - } - } - - /** - * Sets the tabs - * - * @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 deleted file mode 100644 index bda3e283..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatActivityStatistics.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["afterHours"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["afterHours"]; - } else { - $this->_propDict["afterHours"] = new Duration($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 Duration $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 deleted file mode 100644 index 951423bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatInfo.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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/ChatMessage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessage.php deleted file mode 100644 index 055c5abc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessage.php +++ /dev/null @@ -1,710 +0,0 @@ -_propDict)) { - return $this->_propDict["attachments"]; - } else { - return null; - } - } - - /** - * Sets the attachments - * Attached files. Attachments are currently read-only – sending attachments is not supported. - * - * @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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 The channelIdentity - */ - public function getChannelIdentity() - { - if (array_key_exists("channelIdentity", $this->_propDict)) { - if (is_a($this->_propDict["channelIdentity"], "\Beta\Microsoft\Graph\Model\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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The deletedDateTime - */ - public function getDeletedDateTime() - { - if (array_key_exists("deletedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deletedDateTime"], "\DateTime")) { - 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 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 from - * Read only. Details of the sender of the chat message. - * - * @return IdentitySet The from - */ - public function getFrom() - { - if (array_key_exists("from", $this->_propDict)) { - if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["from"]; - } else { - $this->_propDict["from"] = new IdentitySet($this->_propDict["from"]); - return $this->_propDict["from"]; - } - } - return null; - } - - /** - * Sets the from - * Read only. Details of the sender of the chat message. - * - * @param IdentitySet $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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\ChatMessageImportance")) { - 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 The lastEditedDateTime - */ - public function getLastEditedDateTime() - { - if (array_key_exists("lastEditedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastEditedDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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. Currently supports user, bot, team, channel. - * - * @return array 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. Currently supports user, bot, team, channel. - * - * @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. - * - * @return ChatMessageType The messageType - */ - public function getMessageType() - { - if (array_key_exists("messageType", $this->_propDict)) { - if (is_a($this->_propDict["messageType"], "\Beta\Microsoft\Graph\Model\ChatMessageType")) { - 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. - * - * @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 The policyViolation - */ - public function getPolicyViolation() - { - if (array_key_exists("policyViolation", $this->_propDict)) { - if (is_a($this->_propDict["policyViolation"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolation")) { - 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 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 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 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 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 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 e.g. images, code snippets etc. - * - * @return array 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 e.g. images, code snippets etc. - * - * @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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index 089f40eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageAttachment.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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/ChatMessageHostedContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageHostedContent.php deleted file mode 100644 index 9380d3b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageHostedContent.php +++ /dev/null @@ -1,27 +0,0 @@ -_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. If it was a channel or team that was @mentioned, the identitySet contains a conversation property giving the ID of the team/channel, and a conversationIdentityType property that represents either the team or channel. - * - * @return IdentitySet The mentioned - */ - public function getMentioned() - { - if (array_key_exists("mentioned", $this->_propDict)) { - if (is_a($this->_propDict["mentioned"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["mentioned"]; - } else { - $this->_propDict["mentioned"] = new IdentitySet($this->_propDict["mentioned"]); - return $this->_propDict["mentioned"]; - } - } - return null; - } - - /** - * Sets the mentioned - * The entity (user, application, team, or channel) that was mentioned. If it was a channel or team that was @mentioned, the identitySet contains a conversation property giving the ID of the team/channel, and a conversationIdentityType property that represents either the team or channel. - * - * @param IdentitySet $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 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/ChatMessagePolicyViolation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolation.php deleted file mode 100644 index cceced7a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolation.php +++ /dev/null @@ -1,186 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dlpAction"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationDlpActionTypes")) { - 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 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 The policyTip - */ - public function getPolicyTip() - { - if (array_key_exists("policyTip", $this->_propDict)) { - if (is_a($this->_propDict["policyTip"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationPolicyTip")) { - 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 The userAction - */ - public function getUserAction() - { - if (array_key_exists("userAction", $this->_propDict)) { - if (is_a($this->_propDict["userAction"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationUserActionTypes")) { - 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 The verdictDetails - */ - public function getVerdictDetails() - { - if (array_key_exists("verdictDetails", $this->_propDict)) { - if (is_a($this->_propDict["verdictDetails"], "\Beta\Microsoft\Graph\Model\ChatMessagePolicyViolationVerdictDetailsTypes")) { - 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 deleted file mode 100644 index 33d5317c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationDlpActionTypes.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index fa35f755..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessagePolicyViolationUserActionTypes.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 IdentitySet The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["user"]; - } else { - $this->_propDict["user"] = new IdentitySet($this->_propDict["user"]); - return $this->_propDict["user"]; - } - } - return null; - } - - /** - * Sets the user - * The user who reacted to the message. - * - * @param IdentitySet $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/ChatMessageType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageType.php deleted file mode 100644 index 2ceefc5a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChatMessageType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 deleted file mode 100644 index f4a63115..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSDeviceProperty.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index cb72fdd7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingSettings.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastDirectorySyncDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 - * - * @return OnboardingStatus The onboardingStatus - */ - public function getOnboardingStatus() - { - if (array_key_exists("onboardingStatus", $this->_propDict)) { - if (is_a($this->_propDict["onboardingStatus"], "\Beta\Microsoft\Graph\Model\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 - * - * @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 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 deleted file mode 100644 index cb472154..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ChromeOSOnboardingStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - return $this->_propDict["latitude"]; - } else { - return null; - } - } - - /** - * Sets the latitude - * Latitude in degrees, between -90 and +90 inclusive. - * - * @param float $val The latitude - * - * @return CircularGeofenceManagementCondition - */ - public function setLatitude($val) - { - $this->_propDict["latitude"] = $val; - return $this; - } - - /** - * Gets the longitude - * Longitude in degrees, between -180 and +180 inclusive. - * - * @return float The longitude - */ - public function getLongitude() - { - if (array_key_exists("longitude", $this->_propDict)) { - return $this->_propDict["longitude"]; - } else { - return null; - } - } - - /** - * Sets the longitude - * Longitude in degrees, between -180 and +180 inclusive. - * - * @param float $val The longitude - * - * @return CircularGeofenceManagementCondition - */ - public function setLongitude($val) - { - $this->_propDict["longitude"] = $val; - return $this; - } - - /** - * Gets the radiusInMeters - * Radius in meters. - * - * @return Single The radiusInMeters - */ - public function getRadiusInMeters() - { - if (array_key_exists("radiusInMeters", $this->_propDict)) { - if (is_a($this->_propDict["radiusInMeters"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["radiusInMeters"]; - } else { - $this->_propDict["radiusInMeters"] = new Single($this->_propDict["radiusInMeters"]); - return $this->_propDict["radiusInMeters"]; - } - } - return null; - } - - /** - * Sets the radiusInMeters - * Radius in meters. - * - * @param Single $val The radiusInMeters - * - * @return CircularGeofenceManagementCondition - */ - public function setRadiusInMeters($val) - { - $this->_propDict["radiusInMeters"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMapping.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMapping.php deleted file mode 100644 index c76c5cb3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMapping.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 0ff3dffa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClaimsMappingPolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The innerError - */ - public function getInnerError() - { - if (array_key_exists("innerError", $this->_propDict)) { - if (is_a($this->_propDict["innerError"], "\Beta\Microsoft\Graph\Model\ClassificationInnerError")) { - 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 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 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 deleted file mode 100644 index 621c15c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationAttribute.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index e757187f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationError.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\ClassifcationErrorBase")) { - 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 deleted file mode 100644 index bf3148cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationInnerError.php +++ /dev/null @@ -1,135 +0,0 @@ -_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 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 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 The errorDateTime - */ - public function getErrorDateTime() - { - if (array_key_exists("errorDateTime", $this->_propDict)) { - if (is_a($this->_propDict["errorDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 09c0b345..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationJobResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\DetectedSensitiveContentWrapper")) { - 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 deleted file mode 100644 index a9e723b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClassificationMethod.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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/ClonableTeamParts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClonableTeamParts.php deleted file mode 100644 index 12ab3a68..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ClonableTeamParts.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 The permissionsRequired - */ - public function getPermissionsRequired() - { - if (array_key_exists("permissionsRequired", $this->_propDict)) { - if (is_a($this->_propDict["permissionsRequired"], "\Beta\Microsoft\Graph\Model\ApplicationPermissionsRequired")) { - 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 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 04c9b69a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControl.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["cloudAppSecurityType"], "\Beta\Microsoft\Graph\Model\CloudAppSecuritySessionControlType")) { - 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. Learn more about these values here: https://docs.microsoft.com/cloud-app-security/proxy-deployment-aad#step-1-create-an-azure-ad-conditional-access-test-policy- - * - * @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 deleted file mode 100644 index c6d86a4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudAppSecuritySessionControlType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 86aba97a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudCommunications.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 9c23e4fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPC.php +++ /dev/null @@ -1,358 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * The cloud PC display name. - * - * @param string $val The displayName - * - * @return CloudPC - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the imageDisplayName - * Name of the OS image that's on the cloud PC. - * - * @return string 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 lastModifiedDateTime - * The cloud PC's last modified date and 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - return $this->_propDict["lastModifiedDateTime"]; - } else { - $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); - return $this->_propDict["lastModifiedDateTime"]; - } - } - return null; - } - - /** - * Sets the lastModifiedDateTime - * The cloud PC's last modified date and 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 lastModifiedDateTime - * - * @return CloudPC - */ - public function setLastModifiedDateTime($val) - { - $this->_propDict["lastModifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the managedDeviceId - * The cloud PC’s Intune device ID. - * - * @return string The managedDeviceId - */ - public function getManagedDeviceId() - { - if (array_key_exists("managedDeviceId", $this->_propDict)) { - return $this->_propDict["managedDeviceId"]; - } else { - return null; - } - } - - /** - * Sets the managedDeviceId - * The cloud PC’s Intune device ID. - * - * @param string $val The managedDeviceId - * - * @return CloudPC - */ - public function setManagedDeviceId($val) - { - $this->_propDict["managedDeviceId"] = $val; - return $this; - } - - /** - * Gets the managedDeviceName - * The cloud PC’s Intune device name. - * - * @return string The managedDeviceName - */ - public function getManagedDeviceName() - { - if (array_key_exists("managedDeviceName", $this->_propDict)) { - return $this->_propDict["managedDeviceName"]; - } else { - return null; - } - } - - /** - * Sets the managedDeviceName - * The cloud PC’s Intune device name. - * - * @param string $val The managedDeviceName - * - * @return CloudPC - */ - public function setManagedDeviceName($val) - { - $this->_propDict["managedDeviceName"] = $val; - return $this; - } - - /** - * Gets the provisioningPolicyId - * The cloud PC's provisioning policy ID. - * - * @return string The provisioningPolicyId - */ - public function getProvisioningPolicyId() - { - if (array_key_exists("provisioningPolicyId", $this->_propDict)) { - return $this->_propDict["provisioningPolicyId"]; - } else { - return null; - } - } - - /** - * Sets the provisioningPolicyId - * The cloud PC's provisioning policy ID. - * - * @param string $val The provisioningPolicyId - * - * @return CloudPC - */ - public function setProvisioningPolicyId($val) - { - $this->_propDict["provisioningPolicyId"] = $val; - return $this; - } - - /** - * Gets the servicePlanId - * The cloud PC's service plan ID. - * - * @return string The servicePlanId - */ - public function getServicePlanId() - { - if (array_key_exists("servicePlanId", $this->_propDict)) { - return $this->_propDict["servicePlanId"]; - } else { - return null; - } - } - - /** - * Sets the servicePlanId - * The cloud PC's service plan ID. - * - * @param string $val The servicePlanId - * - * @return CloudPC - */ - public function setServicePlanId($val) - { - $this->_propDict["servicePlanId"] = $val; - return $this; - } - - /** - * Gets the servicePlanName - * The cloud PC's service plan name. - * - * @return string The servicePlanName - */ - public function getServicePlanName() - { - if (array_key_exists("servicePlanName", $this->_propDict)) { - return $this->_propDict["servicePlanName"]; - } else { - return null; - } - } - - /** - * Sets the servicePlanName - * The cloud PC's service plan name. - * - * @param string $val The servicePlanName - * - * @return CloudPC - */ - public function setServicePlanName($val) - { - $this->_propDict["servicePlanName"] = $val; - return $this; - } - - /** - * Gets the status - * Status of the cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, deprovisioning, failed. - * - * @return CloudPcStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcStatus")) { - return $this->_propDict["status"]; - } else { - $this->_propDict["status"] = new CloudPcStatus($this->_propDict["status"]); - return $this->_propDict["status"]; - } - } - return null; - } - - /** - * Sets the status - * Status of the cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, deprovisioning, failed. - * - * @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 The statusDetails - */ - public function getStatusDetails() - { - if (array_key_exists("statusDetails", $this->_propDict)) { - if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcStatusDetails")) { - 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 userPrincipalName - * The user principal name (UPN) of the user assigned to the cloud PC. - * - * @return string 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/CloudPcDeviceImage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImage.php deleted file mode 100644 index 764efd06..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImage.php +++ /dev/null @@ -1,271 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 sourceImageResourceId - * The ID of the source image resource on Azure. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'. - * - * @return string 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcDeviceImageStatus")) { - 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. - * - * @return CloudPcDeviceImageStatusDetails The statusDetails - */ - public function getStatusDetails() - { - if (array_key_exists("statusDetails", $this->_propDict)) { - if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcDeviceImageStatusDetails")) { - 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. - * - * @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 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/CloudPcDeviceImageStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImageStatus.php deleted file mode 100644 index b39d8690..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcDeviceImageStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.cloudPcManagementGroupAssignmentTarget"); - } - - /** - * Gets the groupId - * The id of the assignment's target group - * - * @return string 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/CloudPcOnPremisesConnection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnection.php deleted file mode 100644 index e86f0cdb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnection.php +++ /dev/null @@ -1,412 +0,0 @@ -_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. - * - * @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 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. - * - * @return string 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. - * - * @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 on-premises connection. - * - * @return string 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 on-premises 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 on-premises connection. For example, if status is 'passed', the on-premises connection has passed all checks run by the service. Possible values are: pending, running, passed, failed, unknownFutureValue. Read-only. - * - * @return CloudPcOnPremisesConnectionStatus The healthCheckStatus - */ - public function getHealthCheckStatus() - { - if (array_key_exists("healthCheckStatus", $this->_propDict)) { - if (is_a($this->_propDict["healthCheckStatus"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionStatus")) { - 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 on-premises connection. For example, if status is 'passed', the on-premises 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 on-premises connection, including healthCheckStatusDetails. Read-only. - * - * @return CloudPcOnPremisesConnectionStatusDetails The healthCheckStatusDetails - */ - public function getHealthCheckStatusDetails() - { - if (array_key_exists("healthCheckStatusDetails", $this->_propDict)) { - if (is_a($this->_propDict["healthCheckStatusDetails"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionStatusDetails")) { - 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 on-premises 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 on-premises 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 on-premises connection, including healthCheckStatusDetails. Read-only. - * - * @return bool 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 on-premises 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 on-premises 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 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 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 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 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 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 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 virtualNetworkId - * The ID of the target virtual network. Required format: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'. - * - * @return string 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 deleted file mode 100644 index c1d55ba6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheck.php +++ /dev/null @@ -1,242 +0,0 @@ -_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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The errorType - */ - public function getErrorType() - { - if (array_key_exists("errorType", $this->_propDict)) { - if (is_a($this->_propDict["errorType"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionHealthCheckErrorType")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionStatus")) { - 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 deleted file mode 100644 index ad2743f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcOnPremisesConnectionHealthCheckErrorType.php +++ /dev/null @@ -1,50 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The healthChecks - */ - public function getHealthChecks() - { - if (array_key_exists("healthChecks", $this->_propDict)) { - if (is_a($this->_propDict["healthChecks"], "\Beta\Microsoft\Graph\Model\CloudPcOnPremisesConnectionHealthCheck")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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/CloudPcProvisioningPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php deleted file mode 100644 index e1bc5f35..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicy.php +++ /dev/null @@ -1,235 +0,0 @@ -_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 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 imageDisplayName - * The display name for the OS image you’re provisioning. - * - * @return string 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}. - * - * @return string 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}. - * - * @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 The imageType - */ - public function getImageType() - { - if (array_key_exists("imageType", $this->_propDict)) { - if (is_a($this->_propDict["imageType"], "\Beta\Microsoft\Graph\Model\CloudPcProvisioningPolicyImageType")) { - 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 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 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 assignments - * A defined collection of provisioning policy assignments. Returned only on $expand. See an example of getting the assignments relationship. - * - * @return array 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. 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 deleted file mode 100644 index 4fef57ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\CloudPcManagementAssignmentTarget")) { - 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. - * - * @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 deleted file mode 100644 index de70674f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcProvisioningPolicyImageType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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; - } -} 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 deleted file mode 100644 index 81ffa03b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcStatus.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["additionalInformation"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 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 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/Code.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Code.php deleted file mode 100644 index ead4ea2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Code.php +++ /dev/null @@ -1,64 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["boolean"], "\Beta\Microsoft\Graph\Model\BooleanColumn")) { - 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 The calculated - */ - public function getCalculated() - { - if (array_key_exists("calculated", $this->_propDict)) { - if (is_a($this->_propDict["calculated"], "\Beta\Microsoft\Graph\Model\CalculatedColumn")) { - 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 The choice - */ - public function getChoice() - { - if (array_key_exists("choice", $this->_propDict)) { - if (is_a($this->_propDict["choice"], "\Beta\Microsoft\Graph\Model\ChoiceColumn")) { - 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 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 The contentApprovalStatus - */ - public function getContentApprovalStatus() - { - if (array_key_exists("contentApprovalStatus", $this->_propDict)) { - if (is_a($this->_propDict["contentApprovalStatus"], "\Beta\Microsoft\Graph\Model\ContentApprovalStatusColumn")) { - 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\CurrencyColumn")) { - 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 The dateTime - */ - public function getDateTime() - { - if (array_key_exists("dateTime", $this->_propDict)) { - if (is_a($this->_propDict["dateTime"], "\Beta\Microsoft\Graph\Model\DateTimeColumn")) { - 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 The defaultValue - */ - public function getDefaultValue() - { - if (array_key_exists("defaultValue", $this->_propDict)) { - if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DefaultColumnValue")) { - 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 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 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 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 The geolocation - */ - public function getGeolocation() - { - if (array_key_exists("geolocation", $this->_propDict)) { - if (is_a($this->_propDict["geolocation"], "\Beta\Microsoft\Graph\Model\GeolocationColumn")) { - 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 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 The hyperlinkOrPicture - */ - public function getHyperlinkOrPicture() - { - if (array_key_exists("hyperlinkOrPicture", $this->_propDict)) { - if (is_a($this->_propDict["hyperlinkOrPicture"], "\Beta\Microsoft\Graph\Model\HyperlinkOrPictureColumn")) { - 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 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 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 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 column can be changed. - * - * @return bool The isSealed - */ - public function getIsSealed() - { - if (array_key_exists("isSealed", $this->_propDict)) { - return $this->_propDict["isSealed"]; - } else { - return null; - } - } - - /** - * Sets the isSealed - * Specifies whether 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 The lookup - */ - public function getLookup() - { - if (array_key_exists("lookup", $this->_propDict)) { - if (is_a($this->_propDict["lookup"], "\Beta\Microsoft\Graph\Model\LookupColumn")) { - 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 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 The number - */ - public function getNumber() - { - if (array_key_exists("number", $this->_propDict)) { - if (is_a($this->_propDict["number"], "\Beta\Microsoft\Graph\Model\NumberColumn")) { - 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 The personOrGroup - */ - public function getPersonOrGroup() - { - if (array_key_exists("personOrGroup", $this->_propDict)) { - if (is_a($this->_propDict["personOrGroup"], "\Beta\Microsoft\Graph\Model\PersonOrGroupColumn")) { - 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 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 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 is not optional. - * - * @return bool 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 is not optional. - * - * @param bool $val The required - * - * @return ColumnDefinition - */ - public function setRequired($val) - { - $this->_propDict["required"] = boolval($val); - return $this; - } - - /** - * Gets the term - * This column stores taxonomy terms. - * - * @return TermColumn The term - */ - public function getTerm() - { - if (array_key_exists("term", $this->_propDict)) { - if (is_a($this->_propDict["term"], "\Beta\Microsoft\Graph\Model\TermColumn")) { - 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 The text - */ - public function getText() - { - if (array_key_exists("text", $this->_propDict)) { - if (is_a($this->_propDict["text"], "\Beta\Microsoft\Graph\Model\TextColumn")) { - 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 The thumbnail - */ - public function getThumbnail() - { - if (array_key_exists("thumbnail", $this->_propDict)) { - if (is_a($this->_propDict["thumbnail"], "\Beta\Microsoft\Graph\Model\ThumbnailColumn")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ColumnTypes")) { - 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 The validation - */ - public function getValidation() - { - if (array_key_exists("validation", $this->_propDict)) { - if (is_a($this->_propDict["validation"], "\Beta\Microsoft\Graph\Model\ColumnValidation")) { - 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 The sourceColumn - */ - public function getSourceColumn() - { - if (array_key_exists("sourceColumn", $this->_propDict)) { - if (is_a($this->_propDict["sourceColumn"], "\Beta\Microsoft\Graph\Model\ColumnDefinition")) { - 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 deleted file mode 100644 index a82ad5da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnLink.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 5a9e0baa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ColumnTypes.php +++ /dev/null @@ -1,51 +0,0 @@ -_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 The descriptions - */ - public function getDescriptions() - { - if (array_key_exists("descriptions", $this->_propDict)) { - if (is_a($this->_propDict["descriptions"], "\Beta\Microsoft\Graph\Model\DisplayNameLocalization")) { - 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 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 deleted file mode 100644 index d2707bda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagedDevicesSummary.php +++ /dev/null @@ -1,278 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index b8b58e07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevice.php +++ /dev/null @@ -1,602 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["clientRegistrationStatus"], "\Beta\Microsoft\Graph\Model\DeviceRegistrationState")) { - 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 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, linux, blackberry, palm, unknown, cloudPC. - * - * @return DeviceType The deviceType - */ - public function getDeviceType() - { - if (array_key_exists("deviceType", $this->_propDict)) { - if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\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, 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 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. - * - * @return ManagementAgentType The managementAgents - */ - public function getManagementAgents() - { - if (array_key_exists("managementAgents", $this->_propDict)) { - if (is_a($this->_propDict["managementAgents"], "\Beta\Microsoft\Graph\Model\ManagementAgentType")) { - 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. - * - * @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 The managementState - */ - public function getManagementState() - { - if (array_key_exists("managementState", $this->_propDict)) { - if (is_a($this->_propDict["managementState"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 The ownerType - */ - public function getOwnerType() - { - if (array_key_exists("ownerType", $this->_propDict)) { - if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComanagementEligibleType")) { - 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 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 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 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 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 deleted file mode 100644 index a59baea6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleDevicesSummary.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index c57a31cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComanagementEligibleType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 The payload - */ - public function getPayload() - { - if (array_key_exists("payload", $this->_propDict)) { - if (is_a($this->_propDict["payload"], "\Beta\Microsoft\Graph\Model\PayloadRequest")) { - 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 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 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 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 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 The responsepayload - */ - public function getResponsepayload() - { - if (array_key_exists("responsepayload", $this->_propDict)) { - if (is_a($this->_propDict["responsepayload"], "\Beta\Microsoft\Graph\Model\PayloadResponse")) { - 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 deleted file mode 100644 index 5db14e7d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommentAction.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The parentAuthor - */ - public function getParentAuthor() - { - if (array_key_exists("parentAuthor", $this->_propDict)) { - if (is_a($this->_propDict["parentAuthor"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The participants - */ - public function getParticipants() - { - if (array_key_exists("participants", $this->_propDict)) { - if (is_a($this->_propDict["participants"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index bc23dabe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsApplication.php +++ /dev/null @@ -1,152 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new CommsApplication - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 0234a57d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotification.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["changeType"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 91f7e989..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsNotifications.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\CommsNotification")) { - 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 deleted file mode 100644 index 405e0c6c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CommsOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The resultInfo - */ - public function getResultInfo() - { - if (array_key_exists("resultInfo", $this->_propDict)) { - if (is_a($this->_propDict["resultInfo"], "\Beta\Microsoft\Graph\Model\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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus")) { - 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 deleted file mode 100644 index 761a759f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Company.php +++ /dev/null @@ -1,1115 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index a6373179..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyDetail.php +++ /dev/null @@ -1,199 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 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 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 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 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 deleted file mode 100644 index 8d48fe67..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyInformation.php +++ /dev/null @@ -1,367 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 The currentFiscalYearStartDate - */ - public function getCurrentFiscalYearStartDate() - { - if (array_key_exists("currentFiscalYearStartDate", $this->_propDict)) { - if (is_a($this->_propDict["currentFiscalYearStartDate"], "\DateTime")) { - 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The picture - */ - public function getPicture() - { - if (array_key_exists("picture", $this->_propDict)) { - if (is_a($this->_propDict["picture"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["picture"]; - } else { - $this->_propDict["picture"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 0982e509..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CompanyPortalAction.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\CompanyPortalAction")) { - 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 The ownerType - */ - public function getOwnerType() - { - if (array_key_exists("ownerType", $this->_propDict)) { - if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\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 The platform - */ - public function getPlatform() - { - if (array_key_exists("platform", $this->_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType")) { - 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 deleted file mode 100644 index 240f8caf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplexExtensionValue.php +++ /dev/null @@ -1,26 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new Compliance - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 The ediscovery - */ - public function getEdiscovery() - { - if (array_key_exists("ediscovery", $this->_propDict)) { - if (is_a($this->_propDict["ediscovery"], "\Beta\Microsoft\Graph\Ediscovery\Model\Ediscoveryroot")) { - 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 3fe51fcb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceInformation.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificationControls"], "\Beta\Microsoft\Graph\Model\CertificationControl")) { - 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 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 deleted file mode 100644 index eb00128c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartner.php +++ /dev/null @@ -1,358 +0,0 @@ -_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 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 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 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 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 The lastHeartbeatDateTime - */ - public function getLastHeartbeatDateTime() - { - if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime")) { - 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 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 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 The partnerState - */ - public function getPartnerState() - { - if (array_key_exists("partnerState", $this->_propDict)) { - if (is_a($this->_propDict["partnerState"], "\Beta\Microsoft\Graph\Model\DeviceManagementPartnerTenantState")) { - 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 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 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 deleted file mode 100644 index c4d4cdfd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceManagementPartnerAssignment.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 59f3a675..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ComplianceState.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 includeUserActions - * User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice - * - * @return string 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 deleted file mode 100644 index 30fcebb1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessClientApp.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - return $this->_propDict["excludeServicePrincipals"]; - } else { - return null; - } - } - - /** - * Sets the excludeServicePrincipals - * - * @param string $val The value of the excludeServicePrincipals - * - * @return ConditionalAccessClientApplications - */ - public function setExcludeServicePrincipals($val) - { - $this->_propDict["excludeServicePrincipals"] = $val; - return $this; - } - /** - * Gets the includeServicePrincipals - * - * @return string The includeServicePrincipals - */ - public function getIncludeServicePrincipals() - { - if (array_key_exists("includeServicePrincipals", $this->_propDict)) { - return $this->_propDict["includeServicePrincipals"]; - } else { - return null; - } - } - - /** - * Sets the includeServicePrincipals - * - * @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 deleted file mode 100644 index 0e77d220..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditionSet.php +++ /dev/null @@ -1,354 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applications"], "\Beta\Microsoft\Graph\Model\ConditionalAccessApplications")) { - 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 - * - * @return ConditionalAccessClientApplications The clientApplications - */ - public function getClientApplications() - { - if (array_key_exists("clientApplications", $this->_propDict)) { - if (is_a($this->_propDict["clientApplications"], "\Beta\Microsoft\Graph\Model\ConditionalAccessClientApplications")) { - return $this->_propDict["clientApplications"]; - } else { - $this->_propDict["clientApplications"] = new ConditionalAccessClientApplications($this->_propDict["clientApplications"]); - return $this->_propDict["clientApplications"]; - } - } - return null; - } - - /** - * Sets the clientApplications - * - * @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 The clientAppTypes - */ - public function getClientAppTypes() - { - if (array_key_exists("clientAppTypes", $this->_propDict)) { - if (is_a($this->_propDict["clientAppTypes"], "\Beta\Microsoft\Graph\Model\ConditionalAccessClientApp")) { - 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 The devices - */ - public function getDevices() - { - if (array_key_exists("devices", $this->_propDict)) { - if (is_a($this->_propDict["devices"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDevices")) { - 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 The deviceStates - */ - public function getDeviceStates() - { - if (array_key_exists("deviceStates", $this->_propDict)) { - if (is_a($this->_propDict["deviceStates"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDeviceStates")) { - 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 The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\ConditionalAccessLocations")) { - 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 The platforms - */ - public function getPlatforms() - { - if (array_key_exists("platforms", $this->_propDict)) { - if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\ConditionalAccessPlatforms")) { - 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 The signInRiskLevels - */ - public function getSignInRiskLevels() - { - if (array_key_exists("signInRiskLevels", $this->_propDict)) { - if (is_a($this->_propDict["signInRiskLevels"], "\Beta\Microsoft\Graph\Model\RiskLevel")) { - 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 The userRiskLevels - */ - public function getUserRiskLevels() - { - if (array_key_exists("userRiskLevels", $this->_propDict)) { - if (is_a($this->_propDict["userRiskLevels"], "\Beta\Microsoft\Graph\Model\RiskLevel")) { - 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. Required. - * - * @return ConditionalAccessUsers The users - */ - public function getUsers() - { - if (array_key_exists("users", $this->_propDict)) { - if (is_a($this->_propDict["users"], "\Beta\Microsoft\Graph\Model\ConditionalAccessUsers")) { - 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. 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 deleted file mode 100644 index 231cca07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessConditions.php +++ /dev/null @@ -1,43 +0,0 @@ -_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 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 deleted file mode 100644 index 528bac1f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessDevices.php +++ /dev/null @@ -1,134 +0,0 @@ -_propDict)) { - return $this->_propDict["excludeDevices"]; - } else { - return null; - } - } - - /** - * Sets the excludeDevices - * States excluded from the scope of the policy. Possible values: Compliant, DomainJoined. - * - * @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 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. - * - * @return string 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. - * - * @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 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/ConditionalAccessGrantControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessGrantControl.php deleted file mode 100644 index d4d73768..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessGrantControl.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["builtInControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessGrantControl")) { - 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. Learn more about custom controls here: https://docs.microsoft.com/azure/active-directory/conditional-access/controls#custom-controls-preview - * - * @return string 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. Learn more about custom controls here: https://docs.microsoft.com/azure/active-directory/conditional-access/controls#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 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 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 deleted file mode 100644 index 720288ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessLocations.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 36971d65..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPlatforms.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["excludePlatforms"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDevicePlatform")) { - 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. - * - * @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. - * - * @return ConditionalAccessDevicePlatform The includePlatforms - */ - public function getIncludePlatforms() - { - if (array_key_exists("includePlatforms", $this->_propDict)) { - if (is_a($this->_propDict["includePlatforms"], "\Beta\Microsoft\Graph\Model\ConditionalAccessDevicePlatform")) { - 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. - * - * @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 deleted file mode 100644 index a2f4c400..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicy.php +++ /dev/null @@ -1,283 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\ConditionalAccessConditionSet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The grantControls - */ - public function getGrantControls() - { - if (array_key_exists("grantControls", $this->_propDict)) { - if (is_a($this->_propDict["grantControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessGrantControls")) { - 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 The sessionControls - */ - public function getSessionControls() - { - if (array_key_exists("sessionControls", $this->_propDict)) { - if (is_a($this->_propDict["sessionControls"], "\Beta\Microsoft\Graph\Model\ConditionalAccessSessionControls")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConditionalAccessPolicyState")) { - 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 deleted file mode 100644 index 0491dad2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessPolicyState.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["authenticationContextClassReferences"]; - } else { - return null; - } - } - - /** - * Sets the authenticationContextClassReferences - * - * @param AuthenticationContextClassReference $val The authenticationContextClassReferences - * - * @return ConditionalAccessRoot - */ - public function setAuthenticationContextClassReferences($val) - { - $this->_propDict["authenticationContextClassReferences"] = $val; - return $this; - } - - - /** - * Gets the namedLocations - * - * @return array The namedLocations - */ - public function getNamedLocations() - { - if (array_key_exists("namedLocations", $this->_propDict)) { - return $this->_propDict["namedLocations"]; - } else { - return null; - } - } - - /** - * Sets the namedLocations - * - * @param NamedLocation $val The namedLocations - * - * @return ConditionalAccessRoot - */ - public function setNamedLocations($val) - { - $this->_propDict["namedLocations"] = $val; - return $this; - } - - - /** - * Gets the policies - * - * @return array The policies - */ - public function getPolicies() - { - if (array_key_exists("policies", $this->_propDict)) { - return $this->_propDict["policies"]; - } else { - return null; - } - } - - /** - * Sets the 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/ConditionalAccessSessionControl.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControl.php deleted file mode 100644 index d6a35fa2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControl.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 47366681..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessSessionControls.php +++ /dev/null @@ -1,158 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicationEnforcedRestrictions"], "\Beta\Microsoft\Graph\Model\ApplicationEnforcedRestrictionsSessionControl")) { - 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 The cloudAppSecurity - */ - public function getCloudAppSecurity() - { - if (array_key_exists("cloudAppSecurity", $this->_propDict)) { - if (is_a($this->_propDict["cloudAppSecurity"], "\Beta\Microsoft\Graph\Model\CloudAppSecuritySessionControl")) { - 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 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 The persistentBrowser - */ - public function getPersistentBrowser() - { - if (array_key_exists("persistentBrowser", $this->_propDict)) { - if (is_a($this->_propDict["persistentBrowser"], "\Beta\Microsoft\Graph\Model\PersistentBrowserSessionControl")) { - 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 The signInFrequency - */ - public function getSignInFrequency() - { - if (array_key_exists("signInFrequency", $this->_propDict)) { - if (is_a($this->_propDict["signInFrequency"], "\Beta\Microsoft\Graph\Model\SignInFrequencySessionControl")) { - 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 deleted file mode 100644 index 2415b66e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConditionalAccessStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 92e84635..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerCollection.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 352820a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigManagerPolicySummary.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index f0ec1fd4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Configuration.php +++ /dev/null @@ -1,80 +0,0 @@ -_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 - * 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. - * - * @return string The authorizedApps - */ - public function getAuthorizedApps() - { - if (array_key_exists("authorizedApps", $this->_propDict)) { - return $this->_propDict["authorizedApps"]; - } else { - return null; - } - } - - /** - * Sets the authorizedApps - * 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 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 deleted file mode 100644 index 301f41a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerAction.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerActionType")) { - 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. - * - * @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 deleted file mode 100644 index caf0cf2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionDeliveryStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionDeliveryStatus"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerActionDeliveryStatus")) { - 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 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 deleted file mode 100644 index c6200c4c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerActionType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index fefdc7fe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientHealthState.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConfigurationManagerClientState")) { - 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 deleted file mode 100644 index 65cbc913..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientInformation.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 064a7289..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationManagerClientState.php +++ /dev/null @@ -1,38 +0,0 @@ -setODataType("#microsoft.graph.configurationManagerCollectionAssignmentTarget"); - } - - /** - * Gets the collectionId - * The collection Id that is the target of the assignment. - * - * @return string 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 deleted file mode 100644 index 9f0acc3b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConfigurationUsage.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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. - * - * @return string 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. - * - * @param string $val The displayName - * - * @return ConnectedOrganization - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - - /** - * Gets the identitySources - * - * @return array The identitySources - */ - public function getIdentitySources() - { - if (array_key_exists("identitySources", $this->_propDict)) { - return $this->_propDict["identitySources"]; - } else { - return null; - } - } - - /** - * Sets the identitySources - * - * @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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConnectedOrganizationState")) { - 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 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 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 deleted file mode 100644 index 2c6ef62a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationMembers.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index aac9043f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectedOrganizationState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 5a8c2b04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperation.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError")) { - return $this->_propDict["error"]; - } else { - $this->_propDict["error"] = new 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ConnectionOperationStatus")) { - 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/Model/ConnectionOperationStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperationStatus.php deleted file mode 100644 index 500c55da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectionOperationStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ConnectorStatus")) { - 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 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 deleted file mode 100644 index b55a1f7e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroup.php +++ /dev/null @@ -1,211 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["connectorGroupType"], "\Beta\Microsoft\Graph\Model\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 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 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 The region - */ - public function getRegion() - { - if (array_key_exists("region", $this->_propDict)) { - if (is_a($this->_propDict["region"], "\Beta\Microsoft\Graph\Model\ConnectorGroupRegion")) { - 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 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 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 deleted file mode 100644 index ee1bd489..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConnectorGroupRegion.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The birthday - */ - public function getBirthday() - { - if (array_key_exists("birthday", $this->_propDict)) { - if (is_a($this->_propDict["birthday"], "\DateTime")) { - 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 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 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 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 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 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 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 The flag - */ - public function getFlag() - { - if (array_key_exists("flag", $this->_propDict)) { - if (is_a($this->_propDict["flag"], "\Beta\Microsoft\Graph\Model\FollowupFlag")) { - 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 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 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 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 - * The contact's instant messaging (IM) addresses. - * - * @return string The imAddresses - */ - public function getImAddresses() - { - if (array_key_exists("imAddresses", $this->_propDict)) { - return $this->_propDict["imAddresses"]; - } else { - return null; - } - } - - /** - * Sets the imAddresses - * The contact's instant messaging (IM) addresses. - * - * @param string $val The imAddresses - * - * @return Contact - */ - public function setImAddresses($val) - { - $this->_propDict["imAddresses"] = $val; - return $this; - } - - /** - * Gets the initials - * The contact's initials. - * - * @return string The initials - */ - public function getInitials() - { - if (array_key_exists("initials", $this->_propDict)) { - return $this->_propDict["initials"]; - } else { - return null; - } - } - - /** - * Sets the initials - * The contact's initials. - * - * @param string $val The initials - * - * @return Contact - */ - public function setInitials($val) - { - $this->_propDict["initials"] = $val; - return $this; - } - - /** - * Gets the isFavorite - * - * @return bool 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 - * The contact’s job title. - * - * @return string The jobTitle - */ - public function getJobTitle() - { - if (array_key_exists("jobTitle", $this->_propDict)) { - return $this->_propDict["jobTitle"]; - } else { - return null; - } - } - - /** - * Sets the jobTitle - * The contact’s job title. - * - * @param string $val The jobTitle - * - * @return Contact - */ - public function setJobTitle($val) - { - $this->_propDict["jobTitle"] = $val; - return $this; - } - - /** - * Gets the manager - * The name of the contact's manager. - * - * @return string The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - return $this->_propDict["manager"]; - } else { - return null; - } - } - - /** - * Sets the manager - * The name of the contact's manager. - * - * @param string $val The manager - * - * @return Contact - */ - public function setManager($val) - { - $this->_propDict["manager"] = $val; - return $this; - } - - /** - * Gets the middleName - * The contact's middle name. - * - * @return string The middleName - */ - public function getMiddleName() - { - if (array_key_exists("middleName", $this->_propDict)) { - return $this->_propDict["middleName"]; - } else { - return null; - } - } - - /** - * Sets the middleName - * The contact's middle name. - * - * @param string $val The middleName - * - * @return Contact - */ - public function setMiddleName($val) - { - $this->_propDict["middleName"] = $val; - return $this; - } - - /** - * Gets the nickName - * The contact's nickname. - * - * @return string The nickName - */ - public function getNickName() - { - if (array_key_exists("nickName", $this->_propDict)) { - return $this->_propDict["nickName"]; - } else { - return null; - } - } - - /** - * Sets the nickName - * The contact's nickname. - * - * @param string $val The nickName - * - * @return Contact - */ - public function setNickName($val) - { - $this->_propDict["nickName"] = $val; - return $this; - } - - /** - * Gets the officeLocation - * The location of the contact's office. - * - * @return string 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 contact's office. - * - * @param string $val The officeLocation - * - * @return Contact - */ - public function setOfficeLocation($val) - { - $this->_propDict["officeLocation"] = $val; - return $this; - } - - /** - * Gets the parentFolderId - * The ID of the contact's parent folder. - * - * @return string 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 contact's parent folder. - * - * @param string $val The parentFolderId - * - * @return Contact - */ - public function setParentFolderId($val) - { - $this->_propDict["parentFolderId"] = $val; - return $this; - } - - /** - * Gets the personalNotes - * The user's notes about the contact. - * - * @return string The personalNotes - */ - public function getPersonalNotes() - { - if (array_key_exists("personalNotes", $this->_propDict)) { - return $this->_propDict["personalNotes"]; - } else { - return null; - } - } - - /** - * Sets the personalNotes - * The user's notes about the contact. - * - * @param string $val The personalNotes - * - * @return Contact - */ - public function setPersonalNotes($val) - { - $this->_propDict["personalNotes"] = $val; - return $this; - } - - - /** - * Gets the phones - * - * @return array 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 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 - * The contact's profession. - * - * @return string The profession - */ - public function getProfession() - { - if (array_key_exists("profession", $this->_propDict)) { - return $this->_propDict["profession"]; - } else { - return null; - } - } - - /** - * Sets the profession - * The contact's profession. - * - * @param string $val The profession - * - * @return Contact - */ - public function setProfession($val) - { - $this->_propDict["profession"] = $val; - return $this; - } - - /** - * Gets the spouseName - * The name of the contact's spouse/partner. - * - * @return string The spouseName - */ - public function getSpouseName() - { - if (array_key_exists("spouseName", $this->_propDict)) { - return $this->_propDict["spouseName"]; - } else { - return null; - } - } - - /** - * Sets the spouseName - * The name of the contact's spouse/partner. - * - * @param string $val The spouseName - * - * @return Contact - */ - public function setSpouseName($val) - { - $this->_propDict["spouseName"] = $val; - return $this; - } - - /** - * Gets the surname - * The contact's surname. - * - * @return string The surname - */ - public function getSurname() - { - if (array_key_exists("surname", $this->_propDict)) { - return $this->_propDict["surname"]; - } else { - return null; - } - } - - /** - * Sets the surname - * The contact's surname. - * - * @param string $val The surname - * - * @return Contact - */ - public function setSurname($val) - { - $this->_propDict["surname"] = $val; - return $this; - } - - /** - * Gets the title - * The contact's title. - * - * @return string The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - return $this->_propDict["title"]; - } else { - return null; - } - } - - /** - * Sets the title - * The contact's title. - * - * @param string $val The title - * - * @return Contact - */ - public function setTitle($val) - { - $this->_propDict["title"] = $val; - return $this; - } - - - /** - * Gets the websites - * - * @return array 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 The weddingAnniversary - */ - public function getWeddingAnniversary() - { - if (array_key_exists("weddingAnniversary", $this->_propDict)) { - if (is_a($this->_propDict["weddingAnniversary"], "\DateTime")) { - 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 - * The phonetic Japanese company name of the contact. - * - * @return string The yomiCompanyName - */ - public function getYomiCompanyName() - { - if (array_key_exists("yomiCompanyName", $this->_propDict)) { - return $this->_propDict["yomiCompanyName"]; - } else { - return null; - } - } - - /** - * Sets the yomiCompanyName - * The phonetic Japanese company name of the contact. - * - * @param string $val The yomiCompanyName - * - * @return Contact - */ - public function setYomiCompanyName($val) - { - $this->_propDict["yomiCompanyName"] = $val; - return $this; - } - - /** - * Gets the yomiGivenName - * The phonetic Japanese given name (first name) of the contact. - * - * @return string The yomiGivenName - */ - public function getYomiGivenName() - { - if (array_key_exists("yomiGivenName", $this->_propDict)) { - return $this->_propDict["yomiGivenName"]; - } else { - return null; - } - } - - /** - * Sets the yomiGivenName - * The phonetic Japanese given name (first name) of the contact. - * - * @param string $val The yomiGivenName - * - * @return Contact - */ - public function setYomiGivenName($val) - { - $this->_propDict["yomiGivenName"] = $val; - return $this; - } - - /** - * Gets the yomiSurname - * The phonetic Japanese surname (last name) of the contact. - * - * @return string The yomiSurname - */ - public function getYomiSurname() - { - if (array_key_exists("yomiSurname", $this->_propDict)) { - return $this->_propDict["yomiSurname"]; - } else { - return null; - } - } - - /** - * Sets the yomiSurname - * The phonetic Japanese surname (last name) of the contact. - * - * @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 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 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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto")) { - 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 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 deleted file mode 100644 index 87d1d58a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactFolder.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 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 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 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 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/ContactRelationship.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactRelationship.php deleted file mode 100644 index b308bb11..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContactRelationship.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The matches - */ - public function getMatches() - { - if (array_key_exists("matches", $this->_propDict)) { - if (is_a($this->_propDict["matches"], "\Beta\Microsoft\Graph\Model\MatchLocation")) { - 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 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 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 deleted file mode 100644 index b919b75a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentFormat.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\ContentFormat")) { - 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 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 The metadata - */ - public function getMetadata() - { - if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ContentState")) { - 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 deleted file mode 100644 index ebc11a1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentMetadata.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The metadata - */ - public function getMetadata() - { - if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\ContentMetadata")) { - 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/ContentState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentState.php deleted file mode 100644 index daf6b39f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The documentSet - */ - public function getDocumentSet() - { - if (array_key_exists("documentSet", $this->_propDict)) { - if (is_a($this->_propDict["documentSet"], "\Beta\Microsoft\Graph\Model\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 The documentTemplate - */ - public function getDocumentTemplate() - { - if (array_key_exists("documentTemplate", $this->_propDict)) { - if (is_a($this->_propDict["documentTemplate"], "\Beta\Microsoft\Graph\Model\DocumentSetContent")) { - 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 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 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 The inheritedFrom - */ - public function getInheritedFrom() - { - if (array_key_exists("inheritedFrom", $this->_propDict)) { - if (is_a($this->_propDict["inheritedFrom"], "\Beta\Microsoft\Graph\Model\ItemReference")) { - 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 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 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 The order - */ - public function getOrder() - { - if (array_key_exists("order", $this->_propDict)) { - if (is_a($this->_propDict["order"], "\Beta\Microsoft\Graph\Model\ContentTypeOrder")) { - 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 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 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 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 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 The base - */ - public function getBase() - { - if (array_key_exists("base", $this->_propDict)) { - if (is_a($this->_propDict["base"], "\Beta\Microsoft\Graph\Model\ContentType")) { - 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 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 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 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 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 deleted file mode 100644 index f5ed26a0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index de5978a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContentTypeOrder.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/ContinuousAccessEvaluationPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationPolicy.php deleted file mode 100644 index 7a73efe6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ContinuousAccessEvaluationPolicy.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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. - * - * @return string 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. - * - * @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. - * - * @return bool 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. - * - * @param bool $val The isEnabled - * - * @return ContinuousAccessEvaluationPolicy - */ - public function setIsEnabled($val) - { - $this->_propDict["isEnabled"] = 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. - * - * @return string 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. - * - * @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/Contract.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Contract.php deleted file mode 100644 index e8d0517b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Contract.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 7576290d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ControlScore.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 62c1f780..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Conversation.php +++ /dev/null @@ -1,206 +0,0 @@ -_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. - * - * @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 - * - * @return \DateTime The lastDeliveredDateTime - */ - public function getLastDeliveredDateTime() - { - if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime")) { - 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 - * - * @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 converstaion. - * - * @return string 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 converstaion. - * - * @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 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 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 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/ConversationIdentityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationIdentityType.php deleted file mode 100644 index e6df9786..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationIdentityType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 The visibleHistoryStartDateTime - */ - public function getVisibleHistoryStartDateTime() - { - if (array_key_exists("visibleHistoryStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["visibleHistoryStartDateTime"], "\DateTime")) { - 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/ConversationThread.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationThread.php deleted file mode 100644 index 345ff92e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConversationThread.php +++ /dev/null @@ -1,295 +0,0 @@ -_propDict)) { - return $this->_propDict["ccRecipients"]; - } else { - return null; - } - } - - /** - * Sets the ccRecipients - * The Cc: recipients for the thread. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return bool 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. - * - * @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 - * - * @return \DateTime The lastDeliveredDateTime - */ - public function getLastDeliveredDateTime() - { - if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime")) { - 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 - * - * @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. - * - * @return string 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 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. - * - * @return string 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 ConversationThread - */ - public function setTopic($val) - { - $this->_propDict["topic"] = $val; - return $this; - } - - - /** - * Gets the toRecipients - * The To: recipients for the thread. - * - * @return array 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. - * - * @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. - * - * @return string 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. - * - * @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 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 deleted file mode 100644 index bc187944..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ConvertIdResult.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["errorDetails"], "\Beta\Microsoft\Graph\Model\GenericError")) { - 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 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 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 deleted file mode 100644 index de001d43..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CopyNotebookModel.php +++ /dev/null @@ -1,446 +0,0 @@ -_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 The createdByIdentity - */ - public function getCreatedByIdentity() - { - if (array_key_exists("createdByIdentity", $this->_propDict)) { - if (is_a($this->_propDict["createdByIdentity"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdTime - */ - public function getCreatedTime() - { - if (array_key_exists("createdTime", $this->_propDict)) { - if (is_a($this->_propDict["createdTime"], "\DateTime")) { - 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 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 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 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 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 The lastModifiedByIdentity - */ - public function getLastModifiedByIdentity() - { - if (array_key_exists("lastModifiedByIdentity", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedByIdentity"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedTime - */ - public function getLastModifiedTime() - { - if (array_key_exists("lastModifiedTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedTime"], "\DateTime")) { - 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\NotebookLinks")) { - 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 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 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 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 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 The userRole - */ - public function getUserRole() - { - if (array_key_exists("userRole", $this->_propDict)) { - if (is_a($this->_propDict["userRole"], "\Beta\Microsoft\Graph\Model\OnenoteUserRole")) { - 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/CountryNamedLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryNamedLocation.php deleted file mode 100644 index 79163095..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryNamedLocation.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 includeUnknownCountriesAndRegions - * True if IP addresses that don't map to a country or region should be included in the named location. - * - * @return bool 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. - * - * @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 deleted file mode 100644 index 0555b324..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CountryRegion.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 3f6c284d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CreateAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 deleted file mode 100644 index e19c141d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialSingleSignOnExtension.php +++ /dev/null @@ -1,180 +0,0 @@ -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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 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 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 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 deleted file mode 100644 index 0ee452c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUsageSummary.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authMethod"], "\Beta\Microsoft\Graph\Model\UsageAuthMethod")) { - 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 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 The feature - */ - public function getFeature() - { - if (array_key_exists("feature", $this->_propDict)) { - if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\FeatureType")) { - 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 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 deleted file mode 100644 index a2afed72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationCount.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index 4176f8d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CredentialUserRegistrationDetails.php +++ /dev/null @@ -1,231 +0,0 @@ -_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 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 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 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 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 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 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/CryptographySuite.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CryptographySuite.php deleted file mode 100644 index 850783bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CryptographySuite.php +++ /dev/null @@ -1,224 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationTransformConstants"], "\Beta\Microsoft\Graph\Model\AuthenticationTransformConstant")) { - 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. - * - * @return VpnEncryptionAlgorithmType The cipherTransformConstants - */ - public function getCipherTransformConstants() - { - if (array_key_exists("cipherTransformConstants", $this->_propDict)) { - if (is_a($this->_propDict["cipherTransformConstants"], "\Beta\Microsoft\Graph\Model\VpnEncryptionAlgorithmType")) { - 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. - * - * @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 The dhGroup - */ - public function getDhGroup() - { - if (array_key_exists("dhGroup", $this->_propDict)) { - if (is_a($this->_propDict["dhGroup"], "\Beta\Microsoft\Graph\Model\DiffieHellmanGroup")) { - 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. - * - * @return VpnEncryptionAlgorithmType The encryptionMethod - */ - public function getEncryptionMethod() - { - if (array_key_exists("encryptionMethod", $this->_propDict)) { - if (is_a($this->_propDict["encryptionMethod"], "\Beta\Microsoft\Graph\Model\VpnEncryptionAlgorithmType")) { - 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. - * - * @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 The integrityCheckMethod - */ - public function getIntegrityCheckMethod() - { - if (array_key_exists("integrityCheckMethod", $this->_propDict)) { - if (is_a($this->_propDict["integrityCheckMethod"], "\Beta\Microsoft\Graph\Model\VpnIntegrityAlgorithmType")) { - 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 The pfsGroup - */ - public function getPfsGroup() - { - if (array_key_exists("pfsGroup", $this->_propDict)) { - if (is_a($this->_propDict["pfsGroup"], "\Beta\Microsoft\Graph\Model\PerfectForwardSecrecyGroup")) { - 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 deleted file mode 100644 index 846e2419..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Currency.php +++ /dev/null @@ -1,197 +0,0 @@ -_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 The amountRoundingPrecision - */ - public function getAmountRoundingPrecision() - { - if (array_key_exists("amountRoundingPrecision", $this->_propDict)) { - if (is_a($this->_propDict["amountRoundingPrecision"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index a734b7e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrencyColumn.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 492a6991..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CurrentLabel.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\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 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/CustomAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAction.php deleted file mode 100644 index ca8d6332..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomAction.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The customActionProperties - */ - public function getCustomActionProperties() - { - if (array_key_exists("properties", $this->_propDict)) { - if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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/CustomSubjectAlternativeName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSubjectAlternativeName.php deleted file mode 100644 index a1877315..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomSubjectAlternativeName.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The sanType - */ - public function getSanType() - { - if (array_key_exists("sanType", $this->_propDict)) { - if (is_a($this->_propDict["sanType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType")) { - 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 deleted file mode 100644 index 923b56b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomTimeZone.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The daylightOffset - */ - public function getDaylightOffset() - { - if (array_key_exists("daylightOffset", $this->_propDict)) { - if (is_a($this->_propDict["daylightOffset"], "\Beta\Microsoft\Graph\Model\DaylightTimeZoneOffset")) { - 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 The standardOffset - */ - public function getStandardOffset() - { - if (array_key_exists("standardOffset", $this->_propDict)) { - if (is_a($this->_propDict["standardOffset"], "\Beta\Microsoft\Graph\Model\StandardTimeZoneOffset")) { - 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 deleted file mode 100644 index 234e4982..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomUpdateTimeWindow.php +++ /dev/null @@ -1,158 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDay"], "\Beta\Microsoft\Graph\Model\DayOfWeek")) { - 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 The endTime - */ - public function getEndTime() - { - if (array_key_exists("endTime", $this->_propDict)) { - if (is_a($this->_propDict["endTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The startDay - */ - public function getStartDay() - { - if (array_key_exists("startDay", $this->_propDict)) { - if (is_a($this->_propDict["startDay"], "\Beta\Microsoft\Graph\Model\DayOfWeek")) { - 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index 70b85381..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Customer.php +++ /dev/null @@ -1,673 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 The paymentMethod - */ - public function getPaymentMethod() - { - if (array_key_exists("paymentMethod", $this->_propDict)) { - if (is_a($this->_propDict["paymentMethod"], "\Beta\Microsoft\Graph\Model\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 The paymentTerm - */ - public function getPaymentTerm() - { - if (array_key_exists("paymentTerm", $this->_propDict)) { - if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\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 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 The shipmentMethod - */ - public function getShipmentMethod() - { - if (array_key_exists("shipmentMethod", $this->_propDict)) { - if (is_a($this->_propDict["shipmentMethod"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index f10075b7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPayment.php +++ /dev/null @@ -1,448 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 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 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The postingDate - */ - public function getPostingDate() - { - if (array_key_exists("postingDate", $this->_propDict)) { - if (is_a($this->_propDict["postingDate"], "\DateTime")) { - 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 The customer - */ - public function getCustomer() - { - if (array_key_exists("customer", $this->_propDict)) { - if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index a11546ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CustomerPaymentJournal.php +++ /dev/null @@ -1,225 +0,0 @@ -_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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index e0a3f8cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataClassificationService.php +++ /dev/null @@ -1,335 +0,0 @@ -_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 classifyFile - * - * @return array The classifyFile - */ - public function getClassifyFile() - { - if (array_key_exists("classifyFile", $this->_propDict)) { - return $this->_propDict["classifyFile"]; - } else { - return null; - } - } - - /** - * Sets the classifyFile - * - * @param FileClassificationRequest $val The classifyFile - * - * @return DataClassificationService - */ - public function setClassifyFile($val) - { - $this->_propDict["classifyFile"] = $val; - return $this; - } - - - /** - * Gets the classifyFileJobs - * - * @return array 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 classifyText - * - * @return array The classifyText - */ - public function getClassifyText() - { - if (array_key_exists("classifyText", $this->_propDict)) { - return $this->_propDict["classifyText"]; - } else { - return null; - } - } - - /** - * Sets the classifyText - * - * @param TextClassificationRequest $val The classifyText - * - * @return DataClassificationService - */ - public function setClassifyText($val) - { - $this->_propDict["classifyText"] = $val; - return $this; - } - - - /** - * Gets the classifyTextJobs - * - * @return array 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 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 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 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 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 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 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 deleted file mode 100644 index ca1b7ea4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataLossPreventionPolicy.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 69f2d597..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperation.php +++ /dev/null @@ -1,213 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the status - * Possible values are: notStarted, running, complete, failed, unknownFutureValue. - * - * @return DataPolicyOperationStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DataPolicyOperationStatus")) { - 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 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 The submittedDateTime - */ - public function getSubmittedDateTime() - { - if (array_key_exists("submittedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["submittedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 517252e1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataPolicyOperationStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["grantDateTime"], "\DateTime")) { - 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 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 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 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 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 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 deleted file mode 100644 index 57fa0fa6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataStoreField.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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/DataType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataType.php deleted file mode 100644 index 4997f8ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DataType.php +++ /dev/null @@ -1,47 +0,0 @@ -_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 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 deleted file mode 100644 index aed909b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZone.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index b23136f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DateTimeTimeZoneType.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index b13c5655..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DayOfWeek.php +++ /dev/null @@ -1,39 +0,0 @@ -_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/DefaultColumnValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultColumnValue.php deleted file mode 100644 index 017b29a7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultColumnValue.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index fb0e1e9e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultDeviceCompliancePolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 The appActionIfAndroidDeviceManufacturerNotAllowed - */ - public function getAppActionIfAndroidDeviceManufacturerNotAllowed() - { - if (array_key_exists("appActionIfAndroidDeviceManufacturerNotAllowed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidDeviceManufacturerNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfAndroidDeviceModelNotAllowed - */ - public function getAppActionIfAndroidDeviceModelNotAllowed() - { - if (array_key_exists("appActionIfAndroidDeviceModelNotAllowed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfAndroidSafetyNetAppsVerificationFailed - */ - public function getAppActionIfAndroidSafetyNetAppsVerificationFailed() - { - if (array_key_exists("appActionIfAndroidSafetyNetAppsVerificationFailed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidSafetyNetAppsVerificationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfAndroidSafetyNetDeviceAttestationFailed - */ - public function getAppActionIfAndroidSafetyNetDeviceAttestationFailed() - { - if (array_key_exists("appActionIfAndroidSafetyNetDeviceAttestationFailed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfAndroidSafetyNetDeviceAttestationFailed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfDeviceLockNotSet - */ - public function getAppActionIfDeviceLockNotSet() - { - if (array_key_exists("appActionIfDeviceLockNotSet", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfDeviceLockNotSet"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 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 The appActionIfIosDeviceModelNotAllowed - */ - public function getAppActionIfIosDeviceModelNotAllowed() - { - if (array_key_exists("appActionIfIosDeviceModelNotAllowed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfIosDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appDataEncryptionType - */ - public function getAppDataEncryptionType() - { - if (array_key_exists("appDataEncryptionType", $this->_propDict)) { - if (is_a($this->_propDict["appDataEncryptionType"], "\Beta\Microsoft\Graph\Model\ManagedAppDataEncryptionType")) { - 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 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 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 customBrowserDisplayName - * Friendly name of the preferred custom browser to open weblink on Android. (Android only) - * - * @return string 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The requiredAndroidSafetyNetAppsVerificationType - */ - public function getRequiredAndroidSafetyNetAppsVerificationType() - { - if (array_key_exists("requiredAndroidSafetyNetAppsVerificationType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAndroidSafetyNetAppsVerificationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetAppsVerificationType")) { - 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 The requiredAndroidSafetyNetDeviceAttestationType - */ - public function getRequiredAndroidSafetyNetDeviceAttestationType() - { - if (array_key_exists("requiredAndroidSafetyNetDeviceAttestationType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAndroidSafetyNetDeviceAttestationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetDeviceAttestationType")) { - 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 The requiredAndroidSafetyNetEvaluationType - */ - public function getRequiredAndroidSafetyNetEvaluationType() - { - if (array_key_exists("requiredAndroidSafetyNetEvaluationType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAndroidSafetyNetEvaluationType"], "\Beta\Microsoft\Graph\Model\AndroidManagedAppSafetyNetEvaluationType")) { - 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 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 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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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/DefaultUserRolePermissions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php deleted file mode 100644 index 5282bbb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefaultUserRolePermissions.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 3970d86c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderAttackSurfaceType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["highSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 The lowSeverity - */ - public function getLowSeverity() - { - if (array_key_exists("lowSeverity", $this->_propDict)) { - if (is_a($this->_propDict["lowSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 The moderateSeverity - */ - public function getModerateSeverity() - { - if (array_key_exists("moderateSeverity", $this->_propDict)) { - if (is_a($this->_propDict["moderateSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 The severeSeverity - */ - public function getSevereSeverity() - { - if (array_key_exists("severeSeverity", $this->_propDict)) { - if (is_a($this->_propDict["severeSeverity"], "\Beta\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 deleted file mode 100644 index 7609fdaf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DefenderMonitorFileActivity.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\PermissionClassificationType")) { - 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 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 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 deleted file mode 100644 index 73d684f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteAction.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index be3cbca8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeleteUserFromSharedAppleDeviceActionResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 7a9affba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Deleted.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/DeletedWindowsAutopilotDeviceState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeletedWindowsAutopilotDeviceState.php deleted file mode 100644 index 06a05353..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeletedWindowsAutopilotDeviceState.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deletionState"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeviceDeletionState")) { - return $this->_propDict["deletionState"]; - } else { - $this->_propDict["deletionState"] = new WindowsAutopilotDeviceDeletionState($this->_propDict["deletionState"]); - return $this->_propDict["deletionState"]; - } - } - return null; - } - - /** - * Sets the deletionState - * Device deletion state. Possible values are: unknown, failed, accepted, error. - * - * @param WindowsAutopilotDeviceDeletionState $val The value to assign to the deletionState - * - * @return DeletedWindowsAutopilotDeviceState The DeletedWindowsAutopilotDeviceState - */ - public function setDeletionState($val) - { - $this->_propDict["deletionState"] = $val; - return $this; - } - /** - * Gets the deviceRegistrationId - * ZTD Device Registration ID . - * - * @return string The deviceRegistrationId - */ - public function getDeviceRegistrationId() - { - if (array_key_exists("deviceRegistrationId", $this->_propDict)) { - return $this->_propDict["deviceRegistrationId"]; - } else { - return null; - } - } - - /** - * Sets the deviceRegistrationId - * ZTD Device Registration ID . - * - * @param string $val The value of the deviceRegistrationId - * - * @return DeletedWindowsAutopilotDeviceState - */ - public function setDeviceRegistrationId($val) - { - $this->_propDict["deviceRegistrationId"] = $val; - return $this; - } - /** - * Gets the errorMessage - * Device deletion error message. - * - * @return string The errorMessage - */ - public function getErrorMessage() - { - if (array_key_exists("errorMessage", $this->_propDict)) { - return $this->_propDict["errorMessage"]; - } else { - return null; - } - } - - /** - * Sets the errorMessage - * Device deletion error message. - * - * @param string $val The value of the errorMessage - * - * @return DeletedWindowsAutopilotDeviceState - */ - public function setErrorMessage($val) - { - $this->_propDict["errorMessage"] = $val; - return $this; - } - /** - * Gets the serialNumber - * Autopilot Device Serial Number - * - * @return string The serialNumber - */ - public function getSerialNumber() - { - if (array_key_exists("serialNumber", $this->_propDict)) { - return $this->_propDict["serialNumber"]; - } else { - return null; - } - } - - /** - * Sets the serialNumber - * Autopilot Device Serial Number - * - * @param string $val The value of the serialNumber - * - * @return DeletedWindowsAutopilotDeviceState - */ - public function setSerialNumber($val) - { - $this->_propDict["serialNumber"] = $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 deleted file mode 100644 index 7baa32b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidth.php +++ /dev/null @@ -1,26 +0,0 @@ -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 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 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 deleted file mode 100644 index ad866ad1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthBusinessHoursLimit.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index d797a901..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthHoursWithPercentage.php +++ /dev/null @@ -1,101 +0,0 @@ -setODataType("#microsoft.graph.deliveryOptimizationBandwidthHoursWithPercentage"); - } - - - /** - * Gets the bandwidthBackgroundPercentageHours - * Background download percentage hours. - * - * @return DeliveryOptimizationBandwidthBusinessHoursLimit The bandwidthBackgroundPercentageHours - */ - public function getBandwidthBackgroundPercentageHours() - { - if (array_key_exists("bandwidthBackgroundPercentageHours", $this->_propDict)) { - if (is_a($this->_propDict["bandwidthBackgroundPercentageHours"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidthBusinessHoursLimit")) { - 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 The bandwidthForegroundPercentageHours - */ - public function getBandwidthForegroundPercentageHours() - { - if (array_key_exists("bandwidthForegroundPercentageHours", $this->_propDict)) { - if (is_a($this->_propDict["bandwidthForegroundPercentageHours"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidthBusinessHoursLimit")) { - 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 deleted file mode 100644 index 59bd7251..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationBandwidthPercentage.php +++ /dev/null @@ -1,91 +0,0 @@ -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 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 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 deleted file mode 100644 index 0ab4556f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdCustom.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deliveryOptimizationGroupIdCustom"); - } - - /** - * Gets the groupIdCustom - * Specifies an arbitrary group ID that the device belongs to - * - * @return string 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 deleted file mode 100644 index 202330ad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationGroupIdOptionsType.php +++ /dev/null @@ -1,37 +0,0 @@ -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 The groupIdSourceOption - */ - public function getGroupIdSourceOption() - { - if (array_key_exists("groupIdSourceOption", $this->_propDict)) { - if (is_a($this->_propDict["groupIdSourceOption"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationGroupIdOptionsType")) { - 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 deleted file mode 100644 index bf84a0fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSize.php +++ /dev/null @@ -1,26 +0,0 @@ -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 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 deleted file mode 100644 index 8cac5398..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationMaxCacheSizePercentage.php +++ /dev/null @@ -1,63 +0,0 @@ -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 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 deleted file mode 100644 index d9992831..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeliveryOptimizationRestrictPeerSelectionByOptions.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 6268fa85..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepEnrollmentProfile.php +++ /dev/null @@ -1,728 +0,0 @@ -_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 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 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 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 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 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 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 The iTunesPairingMode - */ - public function getITunesPairingMode() - { - if (array_key_exists("iTunesPairingMode", $this->_propDict)) { - if (is_a($this->_propDict["iTunesPairingMode"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 6e7ff1d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepIOSEnrollmentProfile.php +++ /dev/null @@ -1,699 +0,0 @@ -_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 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 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 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 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 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 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 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 homeButtonScreenDisabled - * Indicates if home button sensitivity screen is disabled - * - * @return bool 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 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 The iTunesPairingMode - */ - public function getITunesPairingMode() - { - if (array_key_exists("iTunesPairingMode", $this->_propDict)) { - if (is_a($this->_propDict["iTunesPairingMode"], "\Beta\Microsoft\Graph\Model\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 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 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 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 preferredLanguageScreenDisabled - * Indicates if Preferred language screen is disabled - * - * @return bool 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 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 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 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 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 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 updateCompleteScreenDisabled - * Indicates if Weclome screen is disabled - * - * @return bool 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 watchMigrationScreenDisabled - * Indicates if the watch migration screen is disabled - * - * @return bool 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 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 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 deleted file mode 100644 index adaf6cc5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepMacOSEnrollmentProfile.php +++ /dev/null @@ -1,259 +0,0 @@ -_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 chooseYourLockScreenDisabled - * Indicates if iCloud Documents and Desktop screen is disabled - * - * @return bool 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 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 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 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 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 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 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 deleted file mode 100644 index b8c28f62..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepOnboardingSetting.php +++ /dev/null @@ -1,521 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The lastSuccessfulSyncDateTime - */ - public function getLastSuccessfulSyncDateTime() - { - if (array_key_exists("lastSuccessfulSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSuccessfulSyncDateTime"], "\DateTime")) { - 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 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 The lastSyncTriggeredDateTime - */ - public function getLastSyncTriggeredDateTime() - { - if (array_key_exists("lastSyncTriggeredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncTriggeredDateTime"], "\DateTime")) { - 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 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 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 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 The tokenExpirationDateTime - */ - public function getTokenExpirationDateTime() - { - if (array_key_exists("tokenExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["tokenExpirationDateTime"], "\DateTime")) { - 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 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 The tokenType - */ - public function getTokenType() - { - if (array_key_exists("tokenType", $this->_propDict)) { - if (is_a($this->_propDict["tokenType"], "\Beta\Microsoft\Graph\Model\DepTokenType")) { - 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 The defaultIosEnrollmentProfile - */ - public function getDefaultIosEnrollmentProfile() - { - if (array_key_exists("defaultIosEnrollmentProfile", $this->_propDict)) { - if (is_a($this->_propDict["defaultIosEnrollmentProfile"], "\Beta\Microsoft\Graph\Model\DepIOSEnrollmentProfile")) { - 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 The defaultMacOsEnrollmentProfile - */ - public function getDefaultMacOsEnrollmentProfile() - { - if (array_key_exists("defaultMacOsEnrollmentProfile", $this->_propDict)) { - if (is_a($this->_propDict["defaultMacOsEnrollmentProfile"], "\Beta\Microsoft\Graph\Model\DepMacOSEnrollmentProfile")) { - 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 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 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 deleted file mode 100644 index df62fabe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DepTokenType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 2001b726..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContent.php +++ /dev/null @@ -1,181 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classificationAttributes"], "\Beta\Microsoft\Graph\Model\ClassificationAttribute")) { - 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 The classificationMethod - */ - public function getClassificationMethod() - { - if (array_key_exists("classificationMethod", $this->_propDict)) { - if (is_a($this->_propDict["classificationMethod"], "\Beta\Microsoft\Graph\Model\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 The matches - */ - public function getMatches() - { - if (array_key_exists("matches", $this->_propDict)) { - if (is_a($this->_propDict["matches"], "\Beta\Microsoft\Graph\Model\SensitiveContentLocation")) { - 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 The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\SensitiveTypeScope")) { - 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 The sensitiveTypeSource - */ - public function getSensitiveTypeSource() - { - if (array_key_exists("sensitiveTypeSource", $this->_propDict)) { - if (is_a($this->_propDict["sensitiveTypeSource"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index d377c44d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentBase.php +++ /dev/null @@ -1,156 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index bf50346a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DetectedSensitiveContentWrapper.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\DetectedSensitiveContent")) { - 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 deleted file mode 100644 index 90074fae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Device.php +++ /dev/null @@ -1,1238 +0,0 @@ -_propDict)) { - return $this->_propDict["accountEnabled"]; - } else { - return null; - } - } - - /** - * Sets the accountEnabled - * true if the account is enabled; otherwise, false. default is true. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return \DateTime The approximateLastSignInDateTime - */ - public function getApproximateLastSignInDateTime() - { - if (array_key_exists("approximateLastSignInDateTime", $this->_propDict)) { - if (is_a($this->_propDict["approximateLastSignInDateTime"], "\DateTime")) { - 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. - * - * @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 The complianceExpirationDateTime - */ - public function getComplianceExpirationDateTime() - { - if (array_key_exists("complianceExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["complianceExpirationDateTime"], "\DateTime")) { - 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 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. - * - * @return string 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. - * - * @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 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 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 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. - * - * @return string 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. - * - * @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 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 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 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 - * - * @return OnPremisesExtensionAttributes The extensionAttributes - */ - public function getExtensionAttributes() - { - if (array_key_exists("extensionAttributes", $this->_propDict)) { - if (is_a($this->_propDict["extensionAttributes"], "\Beta\Microsoft\Graph\Model\OnPremisesExtensionAttributes")) { - return $this->_propDict["extensionAttributes"]; - } else { - $this->_propDict["extensionAttributes"] = new OnPremisesExtensionAttributes($this->_propDict["extensionAttributes"]); - return $this->_propDict["extensionAttributes"]; - } - } - return null; - } - - /** - * Sets the extensionAttributes - * - * @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 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. - * - * @return bool 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. - * - * @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. - * - * @return bool 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. - * - * @param bool $val The isManaged - * - * @return Device - */ - public function setIsManaged($val) - { - $this->_propDict["isManaged"] = 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 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 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 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. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 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 The registrationDateTime - */ - public function getRegistrationDateTime() - { - if (array_key_exists("registrationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registrationDateTime"], "\DateTime")) { - 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. - * - * @return string 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. - * - * @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 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 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 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 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 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 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 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 - * - * @return array The usageRights - */ - public function getUsageRights() - { - if (array_key_exists("usageRights", $this->_propDict)) { - return $this->_propDict["usageRights"]; - } else { - return null; - } - } - - /** - * Sets the usageRights - * - * @param UsageRight $val The usageRights - * - * @return Device - */ - public function setUsageRights($val) - { - $this->_propDict["usageRights"] = $val; - return $this; - } - - - /** - * Gets the memberOf - * Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. - * - * @return array 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 group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @param DirectoryObject $val The registeredUsers - * - * @return Device - */ - public function setRegisteredUsers($val) - { - $this->_propDict["registeredUsers"] = $val; - return $this; - } - - - /** - * Gets the transitiveMemberOf - * - * @return array 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 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 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 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 deleted file mode 100644 index b92b2b2e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceActionResult.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The actionState - */ - public function getActionState() - { - if (array_key_exists("actionState", $this->_propDict)) { - if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 078edcc0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignedRoleDetails.php +++ /dev/null @@ -1,82 +0,0 @@ -_propDict)) { - return $this->_propDict["roleAssignmentIds"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignmentIds - * Role Assignment IDs for the specifc Role Assignments assigned to a user. - * - * @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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 9515dafd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilter.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The platform - */ - public function getPlatform() - { - if (array_key_exists("platform", $this->_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType")) { - 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 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 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 deleted file mode 100644 index 3725cbc1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementAssignmentFilterType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The deviceAndAppManagementAssignmentFilterType - */ - public function getDeviceAndAppManagementAssignmentFilterType() - { - if (array_key_exists("deviceAndAppManagementAssignmentFilterType", $this->_propDict)) { - if (is_a($this->_propDict["deviceAndAppManagementAssignmentFilterType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c1adfd38..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementData.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 5db9abd0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleAssignment.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index 46ad775c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAndAppManagementRoleDefinition.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 The microsoftStoreForBusinessLastCompletedApplicationSyncTime - */ - public function getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime() - { - if (array_key_exists("microsoftStoreForBusinessLastCompletedApplicationSyncTime", $this->_propDict)) { - if (is_a($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"], "\DateTime")) { - 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 The microsoftStoreForBusinessLastSuccessfulSyncDateTime - */ - public function getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime() - { - if (array_key_exists("microsoftStoreForBusinessLastSuccessfulSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"], "\DateTime")) { - 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 The microsoftStoreForBusinessPortalSelection - */ - public function getMicrosoftStoreForBusinessPortalSelection() - { - if (array_key_exists("microsoftStoreForBusinessPortalSelection", $this->_propDict)) { - if (is_a($this->_propDict["microsoftStoreForBusinessPortalSelection"], "\Beta\Microsoft\Graph\Model\MicrosoftStoreForBusinessPortalSelectionOptions")) { - 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 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 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 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 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 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 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 The symantecCodeSigningCertificate - */ - public function getSymantecCodeSigningCertificate() - { - if (array_key_exists("symantecCodeSigningCertificate", $this->_propDict)) { - if (is_a($this->_propDict["symantecCodeSigningCertificate"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 The windowsManagementApp - */ - public function getWindowsManagementApp() - { - if (array_key_exists("windowsManagementApp", $this->_propDict)) { - if (is_a($this->_propDict["windowsManagementApp"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 74acd59b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTask.php +++ /dev/null @@ -1,337 +0,0 @@ -_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 The category - */ - public function getCategory() - { - if (array_key_exists("category", $this->_propDict)) { - if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\DeviceAppManagementTaskCategory")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\DateTime")) { - 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 The priority - */ - public function getPriority() - { - if (array_key_exists("priority", $this->_propDict)) { - if (is_a($this->_propDict["priority"], "\Beta\Microsoft\Graph\Model\DeviceAppManagementTaskPriority")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceAppManagementTaskStatus")) { - 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 deleted file mode 100644 index d82c749d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceAppManagementTaskCategory.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 deleted file mode 100644 index 8383fd90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComanagementAuthorityConfiguration.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index 262911c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionItem.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\DeviceComplianceActionType")) { - 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 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 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 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 deleted file mode 100644 index d7f7bf12..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceActionType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index 1044c331..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceDeviceStatus.php +++ /dev/null @@ -1,271 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index bc7878dc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicy.php +++ /dev/null @@ -1,425 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The deviceStatusOverview - */ - public function getDeviceStatusOverview() - { - if (array_key_exists("deviceStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["deviceStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceComplianceDeviceOverview")) { - 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 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 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 The userStatusOverview - */ - public function getUserStatusOverview() - { - if (array_key_exists("userStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["userStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceComplianceUserOverview")) { - 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 deleted file mode 100644 index 9ea2e850..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyAssignment.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 387082e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyDeviceStateSummary.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 6cda8bbb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyGroupAssignment.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The deviceCompliancePolicy - */ - public function getDeviceCompliancePolicy() - { - if (array_key_exists("deviceCompliancePolicy", $this->_propDict)) { - if (is_a($this->_propDict["deviceCompliancePolicy"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 89f2d527..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyPolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The rulesContent - */ - public function getRulesContent() - { - if (array_key_exists("rulesContent", $this->_propDict)) { - if (is_a($this->_propDict["rulesContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["rulesContent"]; - } else { - $this->_propDict["rulesContent"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index e423dd54..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingState.php +++ /dev/null @@ -1,400 +0,0 @@ -_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 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 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 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 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 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 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 The sources - */ - public function getSources() - { - if (array_key_exists("sources", $this->_propDict)) { - if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\SettingSource")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 6fa75c63..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicySettingStateSummary.php +++ /dev/null @@ -1,351 +0,0 @@ -_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 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 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 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 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, all. - * - * @return PolicyPlatformType The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType")) { - 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, 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 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 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 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 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 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 deleted file mode 100644 index c61a45c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyState.php +++ /dev/null @@ -1,266 +0,0 @@ -_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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 deleted file mode 100644 index 7b4e44d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScheduledActionForRule.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 DeviceComplianceScheduledActionForRule - */ - public function setRuleName($val) - { - $this->_propDict["ruleName"] = $val; - return $this; - } - - - /** - * Gets the scheduledActionConfigurations - * The list of scheduled action configurations for this compliance policy. - * - * @return array 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. - * - * @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 deleted file mode 100644 index e084f32a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScript.php +++ /dev/null @@ -1,455 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The detectionScriptContent - */ - public function getDetectionScriptContent() - { - if (array_key_exists("detectionScriptContent", $this->_propDict)) { - if (is_a($this->_propDict["detectionScriptContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["detectionScriptContent"]; - } else { - $this->_propDict["detectionScriptContent"] = \GuzzleHttp\Psr7\stream_for($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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 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 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 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 The runSummary - */ - public function getRunSummary() - { - if (array_key_exists("runSummary", $this->_propDict)) { - if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRunSummary")) { - 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 deleted file mode 100644 index 181c0951..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptDeviceState.php +++ /dev/null @@ -1,250 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["detectionState"], "\Beta\Microsoft\Graph\Model\RunState")) { - 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 The expectedStateUpdateDateTime - */ - public function getExpectedStateUpdateDateTime() - { - if (array_key_exists("expectedStateUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expectedStateUpdateDateTime"], "\DateTime")) { - 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 The lastStateUpdateDateTime - */ - public function getLastStateUpdateDateTime() - { - if (array_key_exists("lastStateUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastStateUpdateDateTime"], "\DateTime")) { - 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 The managedDevice - */ - public function getManagedDevice() - { - if (array_key_exists("managedDevice", $this->_propDict)) { - if (is_a($this->_propDict["managedDevice"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index fd37c154..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptError.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["code"], "\Beta\Microsoft\Graph\Model\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 The deviceComplianceScriptRulesValidationError - */ - public function getDeviceComplianceScriptRulesValidationError() - { - if (array_key_exists("deviceComplianceScriptRulesValidationError", $this->_propDict)) { - if (is_a($this->_propDict["deviceComplianceScriptRulesValidationError"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index e2eaaa79..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulOperator.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\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 The deviceComplianceScriptRuleDataType - */ - public function getDeviceComplianceScriptRuleDataType() - { - if (array_key_exists("deviceComplianceScriptRuleDataType", $this->_propDict)) { - if (is_a($this->_propDict["deviceComplianceScriptRuleDataType"], "\Beta\Microsoft\Graph\Model\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 The deviceComplianceScriptRulOperator - */ - public function getDeviceComplianceScriptRulOperator() - { - if (array_key_exists("deviceComplianceScriptRulOperator", $this->_propDict)) { - if (is_a($this->_propDict["deviceComplianceScriptRulOperator"], "\Beta\Microsoft\Graph\Model\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 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index c88e3d9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRuleDataType.php +++ /dev/null @@ -1,47 +0,0 @@ -_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 deleted file mode 100644 index aadf7fb1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptRulesValidationError.php +++ /dev/null @@ -1,64 +0,0 @@ -_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 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 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 The lastScriptRunDateTime - */ - public function getLastScriptRunDateTime() - { - if (array_key_exists("lastScriptRunDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastScriptRunDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 867cabd8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceScriptValidationResult.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["ruleErrors"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRuleError")) { - 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 The rules - */ - public function getRules() - { - if (array_key_exists("rules", $this->_propDict)) { - if (is_a($this->_propDict["rules"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptRule")) { - 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 The scriptErrors - */ - public function getScriptErrors() - { - if (array_key_exists("scriptErrors", $this->_propDict)) { - if (is_a($this->_propDict["scriptErrors"], "\Beta\Microsoft\Graph\Model\DeviceComplianceScriptError")) { - 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 deleted file mode 100644 index d5c842a0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceSettingState.php +++ /dev/null @@ -1,387 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\DeviceType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 3485cce4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserOverview.php +++ /dev/null @@ -1,263 +0,0 @@ -_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 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index d7467e6e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceComplianceUserStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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/DeviceConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfiguration.php deleted file mode 100644 index 7d502e67..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfiguration.php +++ /dev/null @@ -1,553 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The deviceManagementApplicabilityRuleDeviceMode - */ - public function getDeviceManagementApplicabilityRuleDeviceMode() - { - if (array_key_exists("deviceManagementApplicabilityRuleDeviceMode", $this->_propDict)) { - if (is_a($this->_propDict["deviceManagementApplicabilityRuleDeviceMode"], "\Beta\Microsoft\Graph\Model\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 The deviceManagementApplicabilityRuleOsEdition - */ - public function getDeviceManagementApplicabilityRuleOsEdition() - { - if (array_key_exists("deviceManagementApplicabilityRuleOsEdition", $this->_propDict)) { - if (is_a($this->_propDict["deviceManagementApplicabilityRuleOsEdition"], "\Beta\Microsoft\Graph\Model\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 The deviceManagementApplicabilityRuleOsVersion - */ - public function getDeviceManagementApplicabilityRuleOsVersion() - { - if (array_key_exists("deviceManagementApplicabilityRuleOsVersion", $this->_propDict)) { - if (is_a($this->_propDict["deviceManagementApplicabilityRuleOsVersion"], "\Beta\Microsoft\Graph\Model\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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 The deviceStatusOverview - */ - public function getDeviceStatusOverview() - { - if (array_key_exists("deviceStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["deviceStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationDeviceOverview")) { - 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 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 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 The userStatusOverview - */ - public function getUserStatusOverview() - { - if (array_key_exists("userStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["userStatusOverview"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationUserOverview")) { - 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 deleted file mode 100644 index 5d38360d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationAssignment.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index ff8cbf07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationConflictSummary.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index 088a78b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceOverview.php +++ /dev/null @@ -1,292 +0,0 @@ -_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 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index 0aa5ea02..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStateSummary.php +++ /dev/null @@ -1,230 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 7ddd65a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationDeviceStatus.php +++ /dev/null @@ -1,271 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index b607dc4c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationGroupAssignment.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The deviceConfiguration - */ - public function getDeviceConfiguration() - { - if (array_key_exists("deviceConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["deviceConfiguration"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index e3b9a375..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationPolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 The sources - */ - public function getSources() - { - if (array_key_exists("sources", $this->_propDict)) { - if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\SettingSource")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 6932f984..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationState.php +++ /dev/null @@ -1,266 +0,0 @@ -_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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 deleted file mode 100644 index 3d6fabb6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationTargetedUserAndDevice.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 The lastCheckinDateTime - */ - public function getLastCheckinDateTime() - { - if (array_key_exists("lastCheckinDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCheckinDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 8de929c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserOverview.php +++ /dev/null @@ -1,263 +0,0 @@ -_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 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index ab07c8e1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStateSummary.php +++ /dev/null @@ -1,230 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 4e0ea97a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceConfigurationUserStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index 7d1c8567..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeShellScript.php +++ /dev/null @@ -1,490 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The customAttributeType - */ - public function getCustomAttributeType() - { - if (array_key_exists("customAttributeType", $this->_propDict)) { - if (is_a($this->_propDict["customAttributeType"], "\Beta\Microsoft\Graph\Model\DeviceCustomAttributeValueType")) { - 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 The scriptContent - */ - public function getScriptContent() - { - if (array_key_exists("scriptContent", $this->_propDict)) { - if (is_a($this->_propDict["scriptContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["scriptContent"]; - } else { - $this->_propDict["scriptContent"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The runSummary - */ - public function getRunSummary() - { - if (array_key_exists("runSummary", $this->_propDict)) { - if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementScriptRunSummary")) { - 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 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 deleted file mode 100644 index d4ff4338..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCustomAttributeValueType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index f2c114b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentConfiguration.php +++ /dev/null @@ -1,268 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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/DeviceEnrollmentFailureReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentFailureReason.php deleted file mode 100644 index e34a285b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentFailureReason.php +++ /dev/null @@ -1,44 +0,0 @@ -_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/DeviceEnrollmentPlatformRestriction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestriction.php deleted file mode 100644 index 5a509e3b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestriction.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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/DeviceEnrollmentPlatformRestrictionsConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php deleted file mode 100644 index 0ce8fb4d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php +++ /dev/null @@ -1,324 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["androidForWorkRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The androidRestriction - */ - public function getAndroidRestriction() - { - if (array_key_exists("androidRestriction", $this->_propDict)) { - if (is_a($this->_propDict["androidRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 aospRestriction - * AOSP restrictions based on platform, platform operating system version, and device ownership - * - * @return DeviceEnrollmentPlatformRestriction The aospRestriction - */ - public function getAospRestriction() - { - if (array_key_exists("aospRestriction", $this->_propDict)) { - if (is_a($this->_propDict["aospRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - return $this->_propDict["aospRestriction"]; - } else { - $this->_propDict["aospRestriction"] = new DeviceEnrollmentPlatformRestriction($this->_propDict["aospRestriction"]); - return $this->_propDict["aospRestriction"]; - } - } - return null; - } - - /** - * Sets the aospRestriction - * AOSP restrictions based on platform, platform operating system version, and device ownership - * - * @param DeviceEnrollmentPlatformRestriction $val The aospRestriction - * - * @return DeviceEnrollmentPlatformRestrictionsConfiguration - */ - public function setAospRestriction($val) - { - $this->_propDict["aospRestriction"] = $val; - return $this; - } - - /** - * Gets the iosRestriction - * Ios restrictions based on platform, platform operating system version, and device ownership - * - * @return DeviceEnrollmentPlatformRestriction The iosRestriction - */ - public function getIosRestriction() - { - if (array_key_exists("iosRestriction", $this->_propDict)) { - if (is_a($this->_propDict["iosRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The macOSRestriction - */ - public function getMacOSRestriction() - { - if (array_key_exists("macOSRestriction", $this->_propDict)) { - if (is_a($this->_propDict["macOSRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The macRestriction - */ - public function getMacRestriction() - { - if (array_key_exists("macRestriction", $this->_propDict)) { - if (is_a($this->_propDict["macRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The windowsHomeSkuRestriction - */ - public function getWindowsHomeSkuRestriction() - { - if (array_key_exists("windowsHomeSkuRestriction", $this->_propDict)) { - if (is_a($this->_propDict["windowsHomeSkuRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The windowsMobileRestriction - */ - public function getWindowsMobileRestriction() - { - if (array_key_exists("windowsMobileRestriction", $this->_propDict)) { - if (is_a($this->_propDict["windowsMobileRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The windowsRestriction - */ - public function getWindowsRestriction() - { - if (array_key_exists("windowsRestriction", $this->_propDict)) { - if (is_a($this->_propDict["windowsRestriction"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 deleted file mode 100644 index f0813092..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceEnrollmentType.php +++ /dev/null @@ -1,49 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["enhancedBiometricsState"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 The pinLowercaseCharactersUsage - */ - public function getPinLowercaseCharactersUsage() - { - if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) { - 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 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 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 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 The pinSpecialCharactersUsage - */ - public function getPinSpecialCharactersUsage() - { - if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinSpecialCharactersUsage"], "\Beta\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) { - 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 The pinUppercaseCharactersUsage - */ - public function getPinUppercaseCharactersUsage() - { - if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) { - 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 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 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 The securityKeyForSignIn - */ - public function getSecurityKeyForSignIn() - { - if (array_key_exists("securityKeyForSignIn", $this->_propDict)) { - if (is_a($this->_propDict["securityKeyForSignIn"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 deleted file mode 100644 index 835345ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceExchangeAccessStateSummary.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index ae6ea84f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGeoLocation.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 The lastCollectedDateTime - */ - public function getLastCollectedDateTime() - { - if (array_key_exists("lastCollectedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCollectedDateTime"], "\DateTime")) { - 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 The lastCollectedDateTimeUtc - */ - public function getLastCollectedDateTimeUtc() - { - if (array_key_exists("lastCollectedDateTimeUtc", $this->_propDict)) { - if (is_a($this->_propDict["lastCollectedDateTimeUtc"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index c7f9210e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceGuardLocalSystemAuthorityCredentialGuardState.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastConnectionTime"], "\DateTime")) { - 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 deleted file mode 100644 index 3e3e4c54..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthAttestationState.php +++ /dev/null @@ -1,927 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The issuedDateTime - */ - public function getIssuedDateTime() - { - if (array_key_exists("issuedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["issuedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index f3d40682..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScript.php +++ /dev/null @@ -1,606 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The detectionScriptContent - */ - public function getDetectionScriptContent() - { - if (array_key_exists("detectionScriptContent", $this->_propDict)) { - if (is_a($this->_propDict["detectionScriptContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["detectionScriptContent"]; - } else { - $this->_propDict["detectionScriptContent"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The remediationScriptContent - */ - public function getRemediationScriptContent() - { - if (array_key_exists("remediationScriptContent", $this->_propDict)) { - if (is_a($this->_propDict["remediationScriptContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["remediationScriptContent"]; - } else { - $this->_propDict["remediationScriptContent"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 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 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 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 The runSummary - */ - public function getRunSummary() - { - if (array_key_exists("runSummary", $this->_propDict)) { - if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptRunSummary")) { - 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 deleted file mode 100644 index 65411b5b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptAssignment.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The runSchedule - */ - public function getRunSchedule() - { - if (array_key_exists("runSchedule", $this->_propDict)) { - if (is_a($this->_propDict["runSchedule"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptRunSchedule")) { - 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index f52b9272..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptBooleanParameter.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceHealthScriptBooleanParameter"); - } - - /** - * Gets the defaultValue - * The default value of boolean param - * - * @return bool 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 deleted file mode 100644 index 61e2a459..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptDailySchedule.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["detectionState"], "\Beta\Microsoft\Graph\Model\RunState")) { - 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 The expectedStateUpdateDateTime - */ - public function getExpectedStateUpdateDateTime() - { - if (array_key_exists("expectedStateUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expectedStateUpdateDateTime"], "\DateTime")) { - 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 The lastStateUpdateDateTime - */ - public function getLastStateUpdateDateTime() - { - if (array_key_exists("lastStateUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastStateUpdateDateTime"], "\DateTime")) { - 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The remediationState - */ - public function getRemediationState() - { - if (array_key_exists("remediationState", $this->_propDict)) { - if (is_a($this->_propDict["remediationState"], "\Beta\Microsoft\Graph\Model\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 The managedDevice - */ - public function getManagedDevice() - { - if (array_key_exists("managedDevice", $this->_propDict)) { - if (is_a($this->_propDict["managedDevice"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index dd2b4967..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptHourlySchedule.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index d476b195..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptIntegerParameter.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceHealthScriptIntegerParameter"); - } - - /** - * Gets the defaultValue - * The default value of Integer param. Valid values -2147483648 to 2147483647 - * - * @return int 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 deleted file mode 100644 index 2f047e27..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptParameter.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 0c409aad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistory.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["historyData"], "\Beta\Microsoft\Graph\Model\DeviceHealthScriptRemediationHistoryData")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 5c28b062..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationHistoryData.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["date"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 1c141b24..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRemediationSummary.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c965dc4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunOnceSchedule.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["date"], "\DateTime")) { - 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 deleted file mode 100644 index 90f27eb7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSchedule.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 635ef6e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptRunSummary.php +++ /dev/null @@ -1,321 +0,0 @@ -_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 detectionScriptPendingDeviceCount - * Number of devices which have not yet run the latest version of the device health script - * - * @return int 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 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 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 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 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 The lastScriptRunDateTime - */ - public function getLastScriptRunDateTime() - { - if (array_key_exists("lastScriptRunDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastScriptRunDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 1ba0c62d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptStringParameter.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceHealthScriptStringParameter"); - } - - /** - * Gets the defaultValue - * The default value of string param - * - * @return string 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 deleted file mode 100644 index 6a895739..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceHealthScriptTimeSchedule.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["time"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 deleted file mode 100644 index 6cedebe2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceInstallState.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 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 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 The installState - */ - public function getInstallState() - { - if (array_key_exists("installState", $this->_propDict)) { - if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index bb7f0b2e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceKey.php +++ /dev/null @@ -1,109 +0,0 @@ -_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 The keyMaterial - */ - public function getKeyMaterial() - { - if (array_key_exists("keyMaterial", $this->_propDict)) { - if (is_a($this->_propDict["keyMaterial"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["keyMaterial"]; - } else { - $this->_propDict["keyMaterial"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index c236b7e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The templateType - */ - public function getTemplateType() - { - if (array_key_exists("templateType", $this->_propDict)) { - if (is_a($this->_propDict["templateType"], "\Beta\Microsoft\Graph\Model\DeviceLogCollectionTemplateType")) { - 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 deleted file mode 100644 index 687370af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionResponse.php +++ /dev/null @@ -1,271 +0,0 @@ -_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 The expirationDateTimeUTC - */ - public function getExpirationDateTimeUTC() - { - if (array_key_exists("expirationDateTimeUTC", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTimeUTC"], "\DateTime")) { - 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 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 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 The receivedDateTimeUTC - */ - public function getReceivedDateTimeUTC() - { - if (array_key_exists("receivedDateTimeUTC", $this->_propDict)) { - if (is_a($this->_propDict["receivedDateTimeUTC"], "\DateTime")) { - 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 The requestedDateTimeUTC - */ - public function getRequestedDateTimeUTC() - { - if (array_key_exists("requestedDateTimeUTC", $this->_propDict)) { - if (is_a($this->_propDict["requestedDateTimeUTC"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the status - * The status of the log collection request - * - * @return string 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 deleted file mode 100644 index 24c91f84..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceLogCollectionTemplateType.php +++ /dev/null @@ -1,33 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceComplianceReportSummarizationDateTime"], "\DateTime")) { - 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 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 The lastReportAggregationDateTime - */ - public function getLastReportAggregationDateTime() - { - if (array_key_exists("lastReportAggregationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportAggregationDateTime"], "\DateTime")) { - 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 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 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\DeviceManagementSettings")) { - 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 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 The intuneBrand - */ - public function getIntuneBrand() - { - if (array_key_exists("intuneBrand", $this->_propDict)) { - if (is_a($this->_propDict["intuneBrand"], "\Beta\Microsoft\Graph\Model\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 The accountMoveCompletionDateTime - */ - public function getAccountMoveCompletionDateTime() - { - if (array_key_exists("accountMoveCompletionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["accountMoveCompletionDateTime"], "\DateTime")) { - 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 The adminConsent - */ - public function getAdminConsent() - { - if (array_key_exists("adminConsent", $this->_propDict)) { - if (is_a($this->_propDict["adminConsent"], "\Beta\Microsoft\Graph\Model\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 The deviceProtectionOverview - */ - public function getDeviceProtectionOverview() - { - if (array_key_exists("deviceProtectionOverview", $this->_propDict)) { - if (is_a($this->_propDict["deviceProtectionOverview"], "\Beta\Microsoft\Graph\Model\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 The managedDeviceCleanupSettings - */ - public function getManagedDeviceCleanupSettings() - { - if (array_key_exists("managedDeviceCleanupSettings", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceCleanupSettings"], "\Beta\Microsoft\Graph\Model\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 The subscriptions - */ - public function getSubscriptions() - { - if (array_key_exists("subscriptions", $this->_propDict)) { - if (is_a($this->_propDict["subscriptions"], "\Beta\Microsoft\Graph\Model\DeviceManagementSubscriptions")) { - 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 The subscriptionState - */ - public function getSubscriptionState() - { - if (array_key_exists("subscriptionState", $this->_propDict)) { - if (is_a($this->_propDict["subscriptionState"], "\Beta\Microsoft\Graph\Model\DeviceManagementSubscriptionState")) { - 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 The userExperienceAnalyticsSettings - */ - public function getUserExperienceAnalyticsSettings() - { - if (array_key_exists("userExperienceAnalyticsSettings", $this->_propDict)) { - if (is_a($this->_propDict["userExperienceAnalyticsSettings"], "\Beta\Microsoft\Graph\Model\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 The windowsMalwareOverview - */ - public function getWindowsMalwareOverview() - { - if (array_key_exists("windowsMalwareOverview", $this->_propDict)) { - if (is_a($this->_propDict["windowsMalwareOverview"], "\Beta\Microsoft\Graph\Model\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 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 The virtualEndpoint - */ - public function getVirtualEndpoint() - { - if (array_key_exists("virtualEndpoint", $this->_propDict)) { - if (is_a($this->_propDict["virtualEndpoint"], "\Beta\Microsoft\Graph\Model\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 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 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 The androidForWorkSettings - */ - public function getAndroidForWorkSettings() - { - if (array_key_exists("androidForWorkSettings", $this->_propDict)) { - if (is_a($this->_propDict["androidForWorkSettings"], "\Beta\Microsoft\Graph\Model\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 The androidManagedStoreAccountEnterpriseSettings - */ - public function getAndroidManagedStoreAccountEnterpriseSettings() - { - if (array_key_exists("androidManagedStoreAccountEnterpriseSettings", $this->_propDict)) { - if (is_a($this->_propDict["androidManagedStoreAccountEnterpriseSettings"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 The advancedThreatProtectionOnboardingStateSummary - */ - public function getAdvancedThreatProtectionOnboardingStateSummary() - { - if (array_key_exists("advancedThreatProtectionOnboardingStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionOnboardingStateSummary"], "\Beta\Microsoft\Graph\Model\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 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 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 The deviceCompliancePolicyDeviceStateSummary - */ - public function getDeviceCompliancePolicyDeviceStateSummary() - { - if (array_key_exists("deviceCompliancePolicyDeviceStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceCompliancePolicyDeviceStateSummary"], "\Beta\Microsoft\Graph\Model\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 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 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 The deviceConfigurationDeviceStateSummaries - */ - public function getDeviceConfigurationDeviceStateSummaries() - { - if (array_key_exists("deviceConfigurationDeviceStateSummaries", $this->_propDict)) { - if (is_a($this->_propDict["deviceConfigurationDeviceStateSummaries"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationDeviceStateSummary")) { - 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 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 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 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 The deviceConfigurationUserStateSummaries - */ - public function getDeviceConfigurationUserStateSummaries() - { - if (array_key_exists("deviceConfigurationUserStateSummaries", $this->_propDict)) { - if (is_a($this->_propDict["deviceConfigurationUserStateSummaries"], "\Beta\Microsoft\Graph\Model\DeviceConfigurationUserStateSummary")) { - 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 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 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 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 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 The softwareUpdateStatusSummary - */ - public function getSoftwareUpdateStatusSummary() - { - if (array_key_exists("softwareUpdateStatusSummary", $this->_propDict)) { - if (is_a($this->_propDict["softwareUpdateStatusSummary"], "\Beta\Microsoft\Graph\Model\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 configurationCategories - * List of all Configuration Categories - * - * @return array 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 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 configurationSettings - * List of all ConfigurationSettings - * - * @return array 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 complianceManagementPartners - * The list of Compliance Management Partners configured by the tenant. - * - * @return array 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 The conditionalAccessSettings - */ - public function getConditionalAccessSettings() - { - if (array_key_exists("conditionalAccessSettings", $this->_propDict)) { - if (is_a($this->_propDict["conditionalAccessSettings"], "\Beta\Microsoft\Graph\Model\OnPremisesConditionalAccessSettings")) { - 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 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 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 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 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 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 The exchangeOnPremisesPolicy - */ - public function getExchangeOnPremisesPolicy() - { - if (array_key_exists("exchangeOnPremisesPolicy", $this->_propDict)) { - if (is_a($this->_propDict["exchangeOnPremisesPolicy"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeOnPremisesPolicy")) { - 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 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 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 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 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 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 The applePushNotificationCertificate - */ - public function getApplePushNotificationCertificate() - { - if (array_key_exists("applePushNotificationCertificate", $this->_propDict)) { - if (is_a($this->_propDict["applePushNotificationCertificate"], "\Beta\Microsoft\Graph\Model\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 comanagedDevices - * The list of co-managed devices report - * - * @return array 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 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 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 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 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 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 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 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 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 The managedDeviceOverview - */ - public function getManagedDeviceOverview() - { - if (array_key_exists("managedDeviceOverview", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceOverview"], "\Beta\Microsoft\Graph\Model\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 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 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 remoteActionAudits - * The list of device remote action audits with the tenant. - * - * @return array 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 userExperienceAnalyticsAppHealthApplicationPerformance - * User experience analytics appHealth Application Performance - * - * @return array 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 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 userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion - * User experience analytics appHealth Application Performance by OS Version - * - * @return array 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 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 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 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 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 The userExperienceAnalyticsAppHealthOverview - */ - public function getUserExperienceAnalyticsAppHealthOverview() - { - if (array_key_exists("userExperienceAnalyticsAppHealthOverview", $this->_propDict)) { - if (is_a($this->_propDict["userExperienceAnalyticsAppHealthOverview"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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 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 userExperienceAnalyticsCategories - * User experience analytics categories - * - * @return array 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 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 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 userExperienceAnalyticsDeviceStartupHistory - * User experience analytics device Startup History - * - * @return array 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 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 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 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 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 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 userExperienceAnalyticsNotAutopilotReadyDevice - * User experience analytics devices not Windows Autopilot ready. - * - * @return array 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 The userExperienceAnalyticsOverview - */ - public function getUserExperienceAnalyticsOverview() - { - if (array_key_exists("userExperienceAnalyticsOverview", $this->_propDict)) { - if (is_a($this->_propDict["userExperienceAnalyticsOverview"], "\Beta\Microsoft\Graph\Model\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 The userExperienceAnalyticsRegressionSummary - */ - public function getUserExperienceAnalyticsRegressionSummary() - { - if (array_key_exists("userExperienceAnalyticsRegressionSummary", $this->_propDict)) { - if (is_a($this->_propDict["userExperienceAnalyticsRegressionSummary"], "\Beta\Microsoft\Graph\Model\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 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 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 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 windowsMalwareInformation - * The list of affected malware in the tenant. - * - * @return array 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 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 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 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 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 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 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 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 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 The windowsAutopilotSettings - */ - public function getWindowsAutopilotSettings() - { - if (array_key_exists("windowsAutopilotSettings", $this->_propDict)) { - if (is_a($this->_propDict["windowsAutopilotSettings"], "\Beta\Microsoft\Graph\Model\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 managementConditions - * The management conditions associated with device management of the company. - * - * @return array The managementConditions - */ - public function getManagementConditions() - { - if (array_key_exists("managementConditions", $this->_propDict)) { - return $this->_propDict["managementConditions"]; - } else { - return null; - } - } - - /** - * Sets the managementConditions - * The management conditions associated with device management of the company. - * - * @param ManagementCondition $val The managementConditions - * - * @return DeviceManagement - */ - public function setManagementConditions($val) - { - $this->_propDict["managementConditions"] = $val; - return $this; - } - - - /** - * Gets the managementConditionStatements - * The management condition statements associated with device management of the company. - * - * @return array The managementConditionStatements - */ - public function getManagementConditionStatements() - { - if (array_key_exists("managementConditionStatements", $this->_propDict)) { - return $this->_propDict["managementConditionStatements"]; - } else { - return null; - } - } - - /** - * Sets the managementConditionStatements - * The management condition statements associated with device management of the company. - * - * @param ManagementConditionStatement $val The managementConditionStatements - * - * @return DeviceManagement - */ - public function setManagementConditionStatements($val) - { - $this->_propDict["managementConditionStatements"] = $val; - return $this; - } - - - /** - * Gets the groupPolicyMigrationReports - * A list of Group Policy migration reports. - * - * @return array 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The reports - */ - public function getReports() - { - if (array_key_exists("reports", $this->_propDict)) { - if (is_a($this->_propDict["reports"], "\Beta\Microsoft\Graph\Model\DeviceManagementReports")) { - 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 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 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 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 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 windowsFeatureUpdateProfiles - * A collection of windows feature update profiles - * - * @return array 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 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 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 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 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 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 userPfxCertificates - * Collection of PFX certificates associated with a user. - * - * @return array 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 deleted file mode 100644 index 0ec8052a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingDefinition.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index fef30c21..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAbstractComplexSettingInstance.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index 8c7020fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleDeviceMode.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceMode"], "\Beta\Microsoft\Graph\Model\Windows10DeviceModeType")) { - 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 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 The ruleType - */ - public function getRuleType() - { - if (array_key_exists("ruleType", $this->_propDict)) { - if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleType")) { - 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 deleted file mode 100644 index 8c9ce0e6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsEdition.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The osEditionTypes - */ - public function getOsEditionTypes() - { - if (array_key_exists("osEditionTypes", $this->_propDict)) { - if (is_a($this->_propDict["osEditionTypes"], "\Beta\Microsoft\Graph\Model\Windows10EditionType")) { - 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 The ruleType - */ - public function getRuleType() - { - if (array_key_exists("ruleType", $this->_propDict)) { - if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleType")) { - 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 deleted file mode 100644 index 4e690ae9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleOsVersion.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The ruleType - */ - public function getRuleType() - { - if (array_key_exists("ruleType", $this->_propDict)) { - if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\DeviceManagementApplicabilityRuleType")) { - 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 deleted file mode 100644 index d9863939..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementApplicabilityRuleType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accountSetupDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["accountSetupDuration"]; - } else { - $this->_propDict["accountSetupDuration"] = new Duration($this->_propDict["accountSetupDuration"]); - return $this->_propDict["accountSetupDuration"]; - } - } - return null; - } - - /** - * Sets the accountSetupDuration - * Time spent in user ESP. - * - * @param Duration $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 The accountSetupStatus - */ - public function getAccountSetupStatus() - { - if (array_key_exists("accountSetupStatus", $this->_propDict)) { - if (is_a($this->_propDict["accountSetupStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentState")) { - 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 Duration The deploymentDuration - */ - public function getDeploymentDuration() - { - if (array_key_exists("deploymentDuration", $this->_propDict)) { - if (is_a($this->_propDict["deploymentDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["deploymentDuration"]; - } else { - $this->_propDict["deploymentDuration"] = new Duration($this->_propDict["deploymentDuration"]); - return $this->_propDict["deploymentDuration"]; - } - } - return null; - } - - /** - * Sets the deploymentDuration - * Autopilot deployment duration including enrollment. - * - * @param Duration $val The deploymentDuration - * - * @return DeviceManagementAutopilotEvent - */ - public function setDeploymentDuration($val) - { - $this->_propDict["deploymentDuration"] = $val; - return $this; - } - - /** - * Gets the deploymentEndDateTime - * Deployment end time. - * - * @return \DateTime The deploymentEndDateTime - */ - public function getDeploymentEndDateTime() - { - if (array_key_exists("deploymentEndDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deploymentEndDateTime"], "\DateTime")) { - 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 The deploymentStartDateTime - */ - public function getDeploymentStartDateTime() - { - if (array_key_exists("deploymentStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deploymentStartDateTime"], "\DateTime")) { - 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 The deploymentState - */ - public function getDeploymentState() - { - if (array_key_exists("deploymentState", $this->_propDict)) { - if (is_a($this->_propDict["deploymentState"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentState")) { - 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 Duration The deploymentTotalDuration - */ - public function getDeploymentTotalDuration() - { - if (array_key_exists("deploymentTotalDuration", $this->_propDict)) { - if (is_a($this->_propDict["deploymentTotalDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["deploymentTotalDuration"]; - } else { - $this->_propDict["deploymentTotalDuration"] = new Duration($this->_propDict["deploymentTotalDuration"]); - return $this->_propDict["deploymentTotalDuration"]; - } - } - return null; - } - - /** - * Sets the deploymentTotalDuration - * Total deployment duration from enrollment to Desktop screen. - * - * @param Duration $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 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 Duration The devicePreparationDuration - */ - public function getDevicePreparationDuration() - { - if (array_key_exists("devicePreparationDuration", $this->_propDict)) { - if (is_a($this->_propDict["devicePreparationDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["devicePreparationDuration"]; - } else { - $this->_propDict["devicePreparationDuration"] = new Duration($this->_propDict["devicePreparationDuration"]); - return $this->_propDict["devicePreparationDuration"]; - } - } - return null; - } - - /** - * Sets the devicePreparationDuration - * Time spent in device enrollment. - * - * @param Duration $val The devicePreparationDuration - * - * @return DeviceManagementAutopilotEvent - */ - public function setDevicePreparationDuration($val) - { - $this->_propDict["devicePreparationDuration"] = $val; - return $this; - } - - /** - * Gets the deviceRegisteredDateTime - * Device registration date. - * - * @return \DateTime The deviceRegisteredDateTime - */ - public function getDeviceRegisteredDateTime() - { - if (array_key_exists("deviceRegisteredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deviceRegisteredDateTime"], "\DateTime")) { - 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 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 Duration The deviceSetupDuration - */ - public function getDeviceSetupDuration() - { - if (array_key_exists("deviceSetupDuration", $this->_propDict)) { - if (is_a($this->_propDict["deviceSetupDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["deviceSetupDuration"]; - } else { - $this->_propDict["deviceSetupDuration"] = new Duration($this->_propDict["deviceSetupDuration"]); - return $this->_propDict["deviceSetupDuration"]; - } - } - return null; - } - - /** - * Sets the deviceSetupDuration - * Time spent in device ESP. - * - * @param Duration $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 The deviceSetupStatus - */ - public function getDeviceSetupStatus() - { - if (array_key_exists("deviceSetupStatus", $this->_propDict)) { - if (is_a($this->_propDict["deviceSetupStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentState")) { - 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 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 The enrollmentStartDateTime - */ - public function getEnrollmentStartDateTime() - { - if (array_key_exists("enrollmentStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentStartDateTime"], "\DateTime")) { - 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 The enrollmentState - */ - public function getEnrollmentState() - { - if (array_key_exists("enrollmentState", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\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 The enrollmentType - */ - public function getEnrollmentType() - { - if (array_key_exists("enrollmentType", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentType"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotEnrollmentType")) { - 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 The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index d489b34d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyComplianceStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceStatus"], "\Beta\Microsoft\Graph\Model\DeviceManagementAutopilotPolicyComplianceStatus")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The policyType - */ - public function getPolicyType() - { - if (array_key_exists("policyType", $this->_propDict)) { - if (is_a($this->_propDict["policyType"], "\Beta\Microsoft\Graph\Model\DeviceManagementAutopilotPolicyType")) { - 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 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 deleted file mode 100644 index 081e6434..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementAutopilotPolicyType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index 5922a2f0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCachedReportConfiguration.php +++ /dev/null @@ -1,271 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The lastRefreshDateTime - */ - public function getLastRefreshDateTime() - { - if (array_key_exists("lastRefreshDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastRefreshDateTime"], "\DateTime")) { - 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 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportStatus")) { - 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 deleted file mode 100644 index 6a9e2076..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCertificationAuthority.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 882ca37c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementCollectionSettingInstance.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 99f5d205..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComparisonResult.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 deleted file mode 100644 index df4f750c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementComplexSettingInstance.php +++ /dev/null @@ -1,57 +0,0 @@ -_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/DeviceManagementConfigurationAzureAdTrustType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationAzureAdTrustType.php deleted file mode 100644 index 1cc8bfdb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationAzureAdTrustType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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, macOS, windows10X, windows10. - * - * @return DeviceManagementConfigurationPlatforms The platforms - */ - public function getPlatforms() - { - if (array_key_exists("platforms", $this->_propDict)) { - if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms")) { - 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, macOS, windows10X, windows10. - * - * @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 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. - * - * @return DeviceManagementConfigurationSettingUsage The settingUsage - */ - public function getSettingUsage() - { - if (array_key_exists("settingUsage", $this->_propDict)) { - if (is_a($this->_propDict["settingUsage"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingUsage")) { - 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. - * - * @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. - * - * @return DeviceManagementConfigurationTechnologies The technologies - */ - public function getTechnologies() - { - if (array_key_exists("technologies", $this->_propDict)) { - if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies")) { - 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. - * - * @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 deleted file mode 100644 index e7728a35..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionDefinition.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 79996615..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingCollectionInstance.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionInstance"); - } - - - /** - * Gets the choiceSettingCollectionValue - * Choice setting collection value - * - * @return DeviceManagementConfigurationChoiceSettingValue The choiceSettingCollectionValue - */ - public function getChoiceSettingCollectionValue() - { - if (array_key_exists("choiceSettingCollectionValue", $this->_propDict)) { - if (is_a($this->_propDict["choiceSettingCollectionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValue")) { - 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/DeviceManagementConfigurationChoiceSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php deleted file mode 100644 index 75e26f2a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingDefinition.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index 125b06aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingInstance.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingInstance"); - } - - - /** - * Gets the choiceSettingValue - * Choice setting value - * - * @return DeviceManagementConfigurationChoiceSettingValue The choiceSettingValue - */ - public function getChoiceSettingValue() - { - if (array_key_exists("choiceSettingValue", $this->_propDict)) { - if (is_a($this->_propDict["choiceSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValue")) { - 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/DeviceManagementConfigurationChoiceSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValue.php deleted file mode 100644 index 6697e02b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationChoiceSettingValue.php +++ /dev/null @@ -1,96 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingValue"); - } - - - /** - * Gets the children - * Child settings. - * - * @return DeviceManagementConfigurationSettingInstance The children - */ - public function getChildren() - { - if (array_key_exists("children", $this->_propDict)) { - if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance")) { - 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 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/DeviceManagementConfigurationControlType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php deleted file mode 100644 index 29aec003..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationControlType.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 deleted file mode 100644 index 9d59c95f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationDeviceMode.php +++ /dev/null @@ -1,34 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingCollectionInstance"); - } - - - /** - * Gets the groupSettingCollectionValue - * A collection of GroupSetting values - * - * @return DeviceManagementConfigurationGroupSettingValue The groupSettingCollectionValue - */ - public function getGroupSettingCollectionValue() - { - if (array_key_exists("groupSettingCollectionValue", $this->_propDict)) { - if (is_a($this->_propDict["groupSettingCollectionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValue")) { - 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/DeviceManagementConfigurationGroupSettingInstance.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstance.php deleted file mode 100644 index a49b29b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingInstance.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingInstance"); - } - - - /** - * Gets the groupSettingValue - * GroupSetting value - * - * @return DeviceManagementConfigurationGroupSettingValue The groupSettingValue - */ - public function getGroupSettingValue() - { - if (array_key_exists("groupSettingValue", $this->_propDict)) { - if (is_a($this->_propDict["groupSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValue")) { - 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/DeviceManagementConfigurationGroupSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValue.php deleted file mode 100644 index 225a81f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationGroupSettingValue.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingValue"); - } - - - /** - * Gets the children - * Collection of child setting instances contained within this GroupSetting - * - * @return DeviceManagementConfigurationSettingInstance The children - */ - public function getChildren() - { - if (array_key_exists("children", $this->_propDict)) { - if (is_a($this->_propDict["children"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance")) { - 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/DeviceManagementConfigurationIntegerSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValue.php deleted file mode 100644 index f9198aec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValue.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/DeviceManagementConfigurationIntegerSettingValueDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefinition.php deleted file mode 100644 index 8d36c199..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationIntegerSettingValueDefinition.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/DeviceManagementConfigurationOptionDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinition.php deleted file mode 100644 index 00fc8430..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationOptionDefinition.php +++ /dev/null @@ -1,265 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dependedOnBy"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingDependedOnBy")) { - 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 The dependentOn - */ - public function getDependentOn() - { - if (array_key_exists("dependentOn", $this->_propDict)) { - if (is_a($this->_propDict["dependentOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationDependentOn")) { - 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 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 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 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 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 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 The optionValue - */ - public function getOptionValue() - { - if (array_key_exists("optionValue", $this->_propDict)) { - if (is_a($this->_propDict["optionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValue")) { - 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/DeviceManagementConfigurationPlatforms.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPlatforms.php deleted file mode 100644 index 6535fbe8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPlatforms.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 DeviceManagementConfigurationPolicy - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the creationSource - * Policy creation source - * - * @return string 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 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 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. This property is read-only. - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 DeviceManagementConfigurationPolicy - */ - public function setLastModifiedDateTime($val) - { - $this->_propDict["lastModifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the name - * Policy name - * - * @return string 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, macOS, windows10X, windows10. - * - * @return DeviceManagementConfigurationPlatforms The platforms - */ - public function getPlatforms() - { - if (array_key_exists("platforms", $this->_propDict)) { - if (is_a($this->_propDict["platforms"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms")) { - 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, macOS, windows10X, windows10. - * - * @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 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. This property is read-only. - * - * @return int 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 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. - * - * @return DeviceManagementConfigurationTechnologies The technologies - */ - public function getTechnologies() - { - if (array_key_exists("technologies", $this->_propDict)) { - if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies")) { - 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. - * - * @param DeviceManagementConfigurationTechnologies $val The technologies - * - * @return DeviceManagementConfigurationPolicy - */ - public function setTechnologies($val) - { - $this->_propDict["technologies"] = $val; - return $this; - } - - - /** - * Gets the assignments - * Policy assignments - * - * @return array 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 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 deleted file mode 100644 index 277540a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationPolicyAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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/DeviceManagementConfigurationSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSetting.php deleted file mode 100644 index e2adfe06..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSetting.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["settingInstance"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingInstance")) { - 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 - * - * @return array 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 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 deleted file mode 100644 index 0eaf481c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingAccessTypes.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 The deviceMode - */ - public function getDeviceMode() - { - if (array_key_exists("deviceMode", $this->_propDict)) { - if (is_a($this->_propDict["deviceMode"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationDeviceMode")) { - 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, macOS, windows10X, windows10. - * - * @return DeviceManagementConfigurationPlatforms The platform - */ - public function getPlatform() - { - if (array_key_exists("platform", $this->_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationPlatforms")) { - 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, macOS, windows10X, windows10. - * - * @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. - * - * @return DeviceManagementConfigurationTechnologies The technologies - */ - public function getTechnologies() - { - if (array_key_exists("technologies", $this->_propDict)) { - if (is_a($this->_propDict["technologies"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationTechnologies")) { - 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. - * - * @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 deleted file mode 100644 index acd1cff5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDefinition.php +++ /dev/null @@ -1,544 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessTypes"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingAccessTypes")) { - 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 The applicability - */ - public function getApplicability() - { - if (array_key_exists("applicability", $this->_propDict)) { - if (is_a($this->_propDict["applicability"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingApplicability")) { - 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 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 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 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 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 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 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 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 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 The occurrence - */ - public function getOccurrence() - { - if (array_key_exists("occurrence", $this->_propDict)) { - if (is_a($this->_propDict["occurrence"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingOccurrence")) { - 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 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 rootDefinitionId - * Root setting definition if the setting is a child setting. - * - * @return string 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. - * - * @return DeviceManagementConfigurationSettingUsage The settingUsage - */ - public function getSettingUsage() - { - if (array_key_exists("settingUsage", $this->_propDict)) { - if (is_a($this->_propDict["settingUsage"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingUsage")) { - 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. - * - * @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 The uxBehavior - */ - public function getUxBehavior() - { - if (array_key_exists("uxBehavior", $this->_propDict)) { - if (is_a($this->_propDict["uxBehavior"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationControlType")) { - 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 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 The visibility - */ - public function getVisibility() - { - if (array_key_exists("visibility", $this->_propDict)) { - if (is_a($this->_propDict["visibility"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingVisibility")) { - 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 deleted file mode 100644 index 6eccbb52..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingDependedOnBy.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 403f65d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionDefinition.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 6c0f3582..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupCollectionInstance.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 28833a04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupDefinition.php +++ /dev/null @@ -1,116 +0,0 @@ -_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 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 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 deleted file mode 100644 index 84ad4dae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingGroupInstance.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index c09eda5b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingInstance.php +++ /dev/null @@ -1,54 +0,0 @@ -_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; - } -} 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 deleted file mode 100644 index f01af3cc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingOccurrence.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/DeviceManagementConfigurationSettingUsage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php deleted file mode 100644 index 5598f871..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSettingUsage.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index b8e0f935..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingCollectionInstance.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationSimpleSettingCollectionInstance"); - } - - - /** - * Gets the simpleSettingCollectionValue - * Simple setting collection instance value - * - * @return DeviceManagementConfigurationSimpleSettingValue The simpleSettingCollectionValue - */ - public function getSimpleSettingCollectionValue() - { - if (array_key_exists("simpleSettingCollectionValue", $this->_propDict)) { - if (is_a($this->_propDict["simpleSettingCollectionValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSimpleSettingValue")) { - 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/DeviceManagementConfigurationSimpleSettingDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php deleted file mode 100644 index d706c5dc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingDefinition.php +++ /dev/null @@ -1,153 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["defaultValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValue")) { - 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 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 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 The valueDefinition - */ - public function getValueDefinition() - { - if (array_key_exists("valueDefinition", $this->_propDict)) { - if (is_a($this->_propDict["valueDefinition"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSettingValueDefinition")) { - 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 deleted file mode 100644 index a36bb834..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingInstance.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementConfigurationSimpleSettingInstance"); - } - - - /** - * Gets the simpleSettingValue - * Simple setting instance value - * - * @return DeviceManagementConfigurationSimpleSettingValue The simpleSettingValue - */ - public function getSimpleSettingValue() - { - if (array_key_exists("simpleSettingValue", $this->_propDict)) { - if (is_a($this->_propDict["simpleSettingValue"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationSimpleSettingValue")) { - 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/DeviceManagementConfigurationSimpleSettingValue.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingValue.php deleted file mode 100644 index 64357f24..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationSimpleSettingValue.php +++ /dev/null @@ -1,26 +0,0 @@ -_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/DeviceManagementConfigurationStringSettingValueDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php deleted file mode 100644 index 5be1a8b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationStringSettingValueDefinition.php +++ /dev/null @@ -1,171 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationStringFormat")) { - 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 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 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 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 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/DeviceManagementConfigurationTechnologies.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTechnologies.php deleted file mode 100644 index 6875a65c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationTechnologies.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 The requiredAzureAdTrustType - */ - public function getRequiredAzureAdTrustType() - { - if (array_key_exists("requiredAzureAdTrustType", $this->_propDict)) { - if (is_a($this->_propDict["requiredAzureAdTrustType"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationAzureAdTrustType")) { - 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 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 The windowsSkus - */ - public function getWindowsSkus() - { - if (array_key_exists("windowsSkus", $this->_propDict)) { - if (is_a($this->_propDict["windowsSkus"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationWindowsSkus")) { - 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 deleted file mode 100644 index 0253e6ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementConfigurationWindowsSkus.php +++ /dev/null @@ -1,47 +0,0 @@ -_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 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 The issuer - */ - public function getIssuer() - { - if (array_key_exists("issuer", $this->_propDict)) { - if (is_a($this->_propDict["issuer"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialIssuer")) { - 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 The notificationType - */ - public function getNotificationType() - { - if (array_key_exists("notificationType", $this->_propDict)) { - if (is_a($this->_propDict["notificationType"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialNotificationType")) { - 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 deleted file mode 100644 index fa381c00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnector.php +++ /dev/null @@ -1,151 +0,0 @@ -_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 The lastConnectionDateTime - */ - public function getLastConnectionDateTime() - { - if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\DeviceManagementDomainJoinConnectorState")) { - 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 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 deleted file mode 100644 index 20b14deb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementDomainJoinConnectorState.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementEnumConstraint"); - } - - - /** - * Gets the values - * List of valid values for this string - * - * @return DeviceManagementEnumValue The values - */ - public function getValues() - { - if (array_key_exists("values", $this->_propDict)) { - if (is_a($this->_propDict["values"], "\Beta\Microsoft\Graph\Model\DeviceManagementEnumValue")) { - 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 deleted file mode 100644 index 1b6eeff4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementEnumValue.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index fe042856..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessLevel"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessLevel")) { - 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 The deviceClass - */ - public function getDeviceClass() - { - if (array_key_exists("deviceClass", $this->_propDict)) { - if (is_a($this->_propDict["deviceClass"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeDeviceClass")) { - 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 deleted file mode 100644 index 99eddbd0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeAccessRuleType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 The exchangeConnectorType - */ - public function getExchangeConnectorType() - { - if (array_key_exists("exchangeConnectorType", $this->_propDict)) { - if (is_a($this->_propDict["exchangeConnectorType"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeConnectorType")) { - 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeConnectorStatus")) { - 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 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 deleted file mode 100644 index 90b04f6a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeConnectorStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessRuleType")) { - 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 deleted file mode 100644 index d44f59e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExchangeOnPremisesPolicy.php +++ /dev/null @@ -1,186 +0,0 @@ -_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 The defaultAccessLevel - */ - public function getDefaultAccessLevel() - { - if (array_key_exists("defaultAccessLevel", $this->_propDict)) { - if (is_a($this->_propDict["defaultAccessLevel"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessLevel")) { - 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 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 The notificationContent - */ - public function getNotificationContent() - { - if (array_key_exists("notificationContent", $this->_propDict)) { - if (is_a($this->_propDict["notificationContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["notificationContent"]; - } else { - $this->_propDict["notificationContent"] = \GuzzleHttp\Psr7\stream_for($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 The conditionalAccessSettings - */ - public function getConditionalAccessSettings() - { - if (array_key_exists("conditionalAccessSettings", $this->_propDict)) { - if (is_a($this->_propDict["conditionalAccessSettings"], "\Beta\Microsoft\Graph\Model\OnPremisesConditionalAccessSettings")) { - 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 deleted file mode 100644 index 9d50ea07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJob.php +++ /dev/null @@ -1,337 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportFileFormat")) { - 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 The localizationType - */ - public function getLocalizationType() - { - if (array_key_exists("localizationType", $this->_propDict)) { - if (is_a($this->_propDict["localizationType"], "\Beta\Microsoft\Graph\Model\DeviceManagementExportJobLocalizationType")) { - 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 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 The requestDateTime - */ - public function getRequestDateTime() - { - if (array_key_exists("requestDateTime", $this->_propDict)) { - if (is_a($this->_propDict["requestDateTime"], "\DateTime")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportStatus")) { - 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 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 deleted file mode 100644 index 13b5dbf3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementExportJobLocalizationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index a8cdf4d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntent.php +++ /dev/null @@ -1,451 +0,0 @@ -_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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 The deviceStateSummary - */ - public function getDeviceStateSummary() - { - if (array_key_exists("deviceStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceStateSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementIntentDeviceStateSummary")) { - 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 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 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 The userStateSummary - */ - public function getUserStateSummary() - { - if (array_key_exists("userStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["userStateSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementIntentUserStateSummary")) { - 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 deleted file mode 100644 index fbf5618c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 9b0f361a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceSettingStateSummary.php +++ /dev/null @@ -1,230 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index e6beb803..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceState.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index e7903c4f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentDeviceStateSummary.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index fc277326..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingCategory.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 77baead5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentSettingSecretConstraint.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 1bddf8bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserState.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index 9e3fdcaf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementIntentUserStateSummary.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index ec5b4f86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartner.php +++ /dev/null @@ -1,375 +0,0 @@ -_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 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 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 The lastHeartbeatDateTime - */ - public function getLastHeartbeatDateTime() - { - if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime")) { - 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 The partnerAppType - */ - public function getPartnerAppType() - { - if (array_key_exists("partnerAppType", $this->_propDict)) { - if (is_a($this->_propDict["partnerAppType"], "\Beta\Microsoft\Graph\Model\DeviceManagementPartnerAppType")) { - 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 The partnerState - */ - public function getPartnerState() - { - if (array_key_exists("partnerState", $this->_propDict)) { - if (is_a($this->_propDict["partnerState"], "\Beta\Microsoft\Graph\Model\DeviceManagementPartnerTenantState")) { - 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 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 The whenPartnerDevicesWillBeMarkedAsNonCompliant - */ - public function getWhenPartnerDevicesWillBeMarkedAsNonCompliant() - { - if (array_key_exists("whenPartnerDevicesWillBeMarkedAsNonCompliant", $this->_propDict)) { - if (is_a($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliant"], "\DateTime")) { - 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 The whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime - */ - public function getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime() - { - if (array_key_exists("whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime", $this->_propDict)) { - if (is_a($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"], "\DateTime")) { - 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 The whenPartnerDevicesWillBeRemoved - */ - public function getWhenPartnerDevicesWillBeRemoved() - { - if (array_key_exists("whenPartnerDevicesWillBeRemoved", $this->_propDict)) { - if (is_a($this->_propDict["whenPartnerDevicesWillBeRemoved"], "\DateTime")) { - 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 The whenPartnerDevicesWillBeRemovedDateTime - */ - public function getWhenPartnerDevicesWillBeRemovedDateTime() - { - if (array_key_exists("whenPartnerDevicesWillBeRemovedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index f49a9882..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerAppType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 5a777b6c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementPartnerTenantState.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - return $this->_propDict["emails"]; - } else { - return null; - } - } - - /** - * Sets the emails - * Emails to which the scheduled reports are delivered - * - * @param string $val The emails - * - * @return DeviceManagementReportSchedule - */ - public function setEmails($val) - { - $this->_propDict["emails"] = $val; - return $this; - } - - /** - * Gets the endDateTime - * Time that the delivery of the scheduled reports ends - * - * @return \DateTime The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 delivery of the scheduled reports ends - * - * @param \DateTime $val The endDateTime - * - * @return DeviceManagementReportSchedule - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the filter - * Filters applied on the report - * - * @return string 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 DeviceManagementReportSchedule - */ - public function setFilter($val) - { - $this->_propDict["filter"] = $val; - return $this; - } - - /** - * Gets the format - * Format of the scheduled report. Possible values are: csv, pdf. - * - * @return DeviceManagementReportFileFormat The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\DeviceManagementReportFileFormat")) { - 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 scheduled report. Possible values are: csv, pdf. - * - * @param DeviceManagementReportFileFormat $val The format - * - * @return DeviceManagementReportSchedule - */ - public function setFormat($val) - { - $this->_propDict["format"] = $val; - return $this; - } - - /** - * Gets the orderBy - * Ordering of columns in the report - * - * @return string 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 DeviceManagementReportSchedule - */ - public function setOrderBy($val) - { - $this->_propDict["orderBy"] = $val; - return $this; - } - - /** - * Gets the recurrence - * Frequency of scheduled report delivery. Possible values are: none, daily, weekly, monthly. - * - * @return DeviceManagementScheduledReportRecurrence The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\DeviceManagementScheduledReportRecurrence")) { - return $this->_propDict["recurrence"]; - } else { - $this->_propDict["recurrence"] = new DeviceManagementScheduledReportRecurrence($this->_propDict["recurrence"]); - return $this->_propDict["recurrence"]; - } - } - return null; - } - - /** - * Sets the recurrence - * Frequency of scheduled report delivery. Possible values are: none, daily, weekly, monthly. - * - * @param DeviceManagementScheduledReportRecurrence $val The recurrence - * - * @return DeviceManagementReportSchedule - */ - public function setRecurrence($val) - { - $this->_propDict["recurrence"] = $val; - return $this; - } - - /** - * Gets the reportName - * Name of the report - * - * @return string 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 DeviceManagementReportSchedule - */ - public function setReportName($val) - { - $this->_propDict["reportName"] = $val; - return $this; - } - - /** - * Gets the reportScheduleName - * Name of the schedule - * - * @return string The reportScheduleName - */ - public function getReportScheduleName() - { - if (array_key_exists("reportScheduleName", $this->_propDict)) { - return $this->_propDict["reportScheduleName"]; - } else { - return null; - } - } - - /** - * Sets the reportScheduleName - * Name of the schedule - * - * @param string $val The reportScheduleName - * - * @return DeviceManagementReportSchedule - */ - public function setReportScheduleName($val) - { - $this->_propDict["reportScheduleName"] = $val; - return $this; - } - - /** - * Gets the select - * Columns selected from the report - * - * @return string 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 DeviceManagementReportSchedule - */ - public function setSelect($val) - { - $this->_propDict["select"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * Time that the delivery of the scheduled reports starts - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 delivery of the scheduled reports starts - * - * @param \DateTime $val The startDateTime - * - * @return DeviceManagementReportSchedule - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $val; - return $this; - } - - /** - * Gets the subject - * Subject of the scheduled reports that are delivered - * - * @return string 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 scheduled reports that are delivered - * - * @param string $val The subject - * - * @return DeviceManagementReportSchedule - */ - public function setSubject($val) - { - $this->_propDict["subject"] = $val; - return $this; - } - - /** - * Gets the userId - * The Id of the User who created the report - * - * @return string 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 who created the report - * - * @param string $val The userId - * - * @return DeviceManagementReportSchedule - */ - public function setUserId($val) - { - $this->_propDict["userId"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementReportStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementReportStatus.php deleted file mode 100644 index abd00d47..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementReportStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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; - } - - - /** - * Gets the reportSchedules - * Entity representing a schedule for which reports are delivered - * - * @return array The reportSchedules - */ - public function getReportSchedules() - { - if (array_key_exists("reportSchedules", $this->_propDict)) { - return $this->_propDict["reportSchedules"]; - } else { - return null; - } - } - - /** - * Sets the reportSchedules - * Entity representing a schedule for which reports are delivered - * - * @param DeviceManagementReportSchedule $val The reportSchedules - * - * @return DeviceManagementReports - */ - public function setReportSchedules($val) - { - $this->_propDict["reportSchedules"] = $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 deleted file mode 100644 index 5437df90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileAssignment.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\DeviceManagementResourceAccessProfileIntent")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 90172e95..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileBase.php +++ /dev/null @@ -1,239 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 81fcf5ae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementResourceAccessProfileIntent.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 The scriptContent - */ - public function getScriptContent() - { - if (array_key_exists("scriptContent", $this->_propDict)) { - if (is_a($this->_propDict["scriptContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["scriptContent"]; - } else { - $this->_propDict["scriptContent"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The runSummary - */ - public function getRunSummary() - { - if (array_key_exists("runSummary", $this->_propDict)) { - if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementScriptRunSummary")) { - 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 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 deleted file mode 100644 index 1b264e66..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 092538bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptDeviceState.php +++ /dev/null @@ -1,213 +0,0 @@ -_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 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 The lastStateUpdateDateTime - */ - public function getLastStateUpdateDateTime() - { - if (array_key_exists("lastStateUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastStateUpdateDateTime"], "\DateTime")) { - 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 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 The runState - */ - public function getRunState() - { - if (array_key_exists("runState", $this->_propDict)) { - if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\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 The managedDevice - */ - public function getManagedDevice() - { - if (array_key_exists("managedDevice", $this->_propDict)) { - if (is_a($this->_propDict["managedDevice"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 08412982..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptGroupAssignment.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 23e6bf90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptPolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index e2b31ee9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementScriptUserState.php +++ /dev/null @@ -1,144 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 195eedea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAbstractImplementationConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingAbstractImplementationConstraint"); - } - - /** - * Gets the allowedAbstractImplementationDefinitionIds - * List of value which means not configured for the setting - * - * @return string 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 deleted file mode 100644 index 56ee4af4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingAppConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingAppConstraint"); - } - - /** - * Gets the supportedTypes - * Acceptable app types to allow for this setting - * - * @return string 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 deleted file mode 100644 index 3c322bbd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingBooleanConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingBooleanConstraint"); - } - - /** - * Gets the value - * The boolean value to compare against - * - * @return bool 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 deleted file mode 100644 index fc355918..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCategory.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index a62f78e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingCollectionConstraint.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingCollectionConstraint"); - } - - /** - * Gets the maximumLength - * The maximum number of elements in the collection - * - * @return int 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 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 deleted file mode 100644 index e7c3cfd5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingComparison.php +++ /dev/null @@ -1,199 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["comparisonResult"], "\Beta\Microsoft\Graph\Model\DeviceManagementComparisonResult")) { - 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 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 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 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 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 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 deleted file mode 100644 index a061bb3a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDefinition.php +++ /dev/null @@ -1,352 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 The valueType - */ - public function getValueType() - { - if (array_key_exists("valueType", $this->_propDict)) { - if (is_a($this->_propDict["valueType"], "\Beta\Microsoft\Graph\Model\DeviceManangementIntentValueType")) { - 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 deleted file mode 100644 index 0f1cb19a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingDependency.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["constraints"], "\Beta\Microsoft\Graph\Model\DeviceManagementConstraint")) { - 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 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 deleted file mode 100644 index c17a3670..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingEnrollmentTypeConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingEnrollmentTypeConstraint"); - } - - /** - * Gets the enrollmentTypes - * List of enrollment types - * - * @return string 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 deleted file mode 100644 index d9172873..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingFileConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingFileConstraint"); - } - - /** - * Gets the supportedExtensions - * Acceptable file extensions to upload for this setting - * - * @return string 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 deleted file mode 100644 index 555e452d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingInstance.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 3104b9b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingIntegerConstraint.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingIntegerConstraint"); - } - - /** - * Gets the maximumValue - * The maximum permitted value - * - * @return int 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 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 deleted file mode 100644 index aa22277b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingProfileConstraint.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingProfileConstraint"); - } - - /** - * Gets the source - * The source of the entity - * - * @return string 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 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 deleted file mode 100644 index 249f0301..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRegexConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingRegexConstraint"); - } - - /** - * Gets the regex - * The RegEx pattern to match against - * - * @return string 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 deleted file mode 100644 index 96bf2f95..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingRequiredConstraint.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingRequiredConstraint"); - } - - /** - * Gets the notConfiguredValue - * List of value which means not configured for the setting - * - * @return string 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 deleted file mode 100644 index 88c9bdf4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingSddlConstraint.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 30c1b064..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingStringLengthConstraint.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.deviceManagementSettingStringLengthConstraint"); - } - - /** - * Gets the maximumLength - * The maximum permitted string length - * - * @return int 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 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 deleted file mode 100644 index 4a540ec2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettingXmlConstraint.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index f9ca5f57..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSettings.php +++ /dev/null @@ -1,311 +0,0 @@ -_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 The derivedCredentialProvider - */ - public function getDerivedCredentialProvider() - { - if (array_key_exists("derivedCredentialProvider", $this->_propDict)) { - if (is_a($this->_propDict["derivedCredentialProvider"], "\Beta\Microsoft\Graph\Model\DerivedCredentialProviderType")) { - 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 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 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 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 enableLogCollection - * Determines whether the log collection feature should be available for use. - * - * @return bool 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 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 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 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 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 deleted file mode 100644 index b323d19b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementStringSettingInstance.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 81381653..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementSubscriptionState.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 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 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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType")) { - 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 The publishedDateTime - */ - public function getPublishedDateTime() - { - if (array_key_exists("publishedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["publishedDateTime"], "\DateTime")) { - 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 The templateSubtype - */ - public function getTemplateSubtype() - { - if (array_key_exists("templateSubtype", $this->_propDict)) { - if (is_a($this->_propDict["templateSubtype"], "\Beta\Microsoft\Graph\Model\DeviceManagementTemplateSubtype")) { - 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 The templateType - */ - public function getTemplateType() - { - if (array_key_exists("templateType", $this->_propDict)) { - if (is_a($this->_propDict["templateType"], "\Beta\Microsoft\Graph\Model\DeviceManagementTemplateType")) { - 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 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 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 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 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/DeviceManagementTemplateSettingCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateSettingCategory.php deleted file mode 100644 index 9d9a0810..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateSettingCategory.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 41a0c06a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTemplateSubtype.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 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 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 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 The resources - */ - public function getResources() - { - if (array_key_exists("resources", $this->_propDict)) { - if (is_a($this->_propDict["resources"], "\Beta\Microsoft\Graph\Model\DeviceManagementTroubleshootingErrorResource")) { - 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 deleted file mode 100644 index 742e1431..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingErrorResource.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 71844532..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementTroubleshootingEvent.php +++ /dev/null @@ -1,181 +0,0 @@ -_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 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 The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 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 The troubleshootingErrorDetails - */ - public function getTroubleshootingErrorDetails() - { - if (array_key_exists("troubleshootingErrorDetails", $this->_propDict)) { - if (is_a($this->_propDict["troubleshootingErrorDetails"], "\Beta\Microsoft\Graph\Model\DeviceManagementTroubleshootingErrorDetails")) { - 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 deleted file mode 100644 index b582e594..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsLocalUserOrGroup.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 35d2cded..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManagementUserRightsSetting.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["localUsersOrGroups"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsLocalUserOrGroup")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 deleted file mode 100644 index 657278c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceManangementIntentValueType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 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 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 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 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 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 configMgrDeviceCount - * Number of ConfigMgr managed devices. - * - * @return int 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 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 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 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 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 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 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 deleted file mode 100644 index 43064fb5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DevicePlatformType.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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/DeviceRegistrationState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationState.php deleted file mode 100644 index ef14ddcf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceRegistrationState.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The restrictionAction - */ - public function getRestrictionAction() - { - if (array_key_exists("restrictionAction", $this->_propDict)) { - if (is_a($this->_propDict["restrictionAction"], "\Beta\Microsoft\Graph\Model\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 The triggers - */ - public function getTriggers() - { - if (array_key_exists("triggers", $this->_propDict)) { - if (is_a($this->_propDict["triggers"], "\Beta\Microsoft\Graph\Model\RestrictionTrigger")) { - 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/DeviceSetupConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceSetupConfiguration.php deleted file mode 100644 index d02f0630..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceSetupConfiguration.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 544f3b1a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceShellScript.php +++ /dev/null @@ -1,519 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 Duration The executionFrequency - */ - public function getExecutionFrequency() - { - if (array_key_exists("executionFrequency", $this->_propDict)) { - if (is_a($this->_propDict["executionFrequency"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["executionFrequency"]; - } else { - $this->_propDict["executionFrequency"] = new Duration($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 Duration $val The executionFrequency - * - * @return DeviceShellScript - */ - public function setExecutionFrequency($val) - { - $this->_propDict["executionFrequency"] = $val; - return $this; - } - - /** - * Gets the fileName - * Script file name. - * - * @return string 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 The scriptContent - */ - public function getScriptContent() - { - if (array_key_exists("scriptContent", $this->_propDict)) { - if (is_a($this->_propDict["scriptContent"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["scriptContent"]; - } else { - $this->_propDict["scriptContent"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The runSummary - */ - public function getRunSummary() - { - if (array_key_exists("runSummary", $this->_propDict)) { - if (is_a($this->_propDict["runSummary"], "\Beta\Microsoft\Graph\Model\DeviceManagementScriptRunSummary")) { - 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 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 deleted file mode 100644 index 4a719de8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceThreatProtectionLevel.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 deleted file mode 100644 index aadf93b7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiagnosticDataSubmissionMode.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index fcc064ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DimensionValue.php +++ /dev/null @@ -1,112 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 89bb59fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Directory.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - return $this->_propDict["administrativeUnits"]; - } else { - return null; - } - } - - /** - * Sets the administrativeUnits - * - * @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 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 sharedEmailDomains - * - * @return array 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 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 deleted file mode 100644 index a8e18087..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryAudit.php +++ /dev/null @@ -1,358 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 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 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 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 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 The initiatedBy - */ - public function getInitiatedBy() - { - if (array_key_exists("initiatedBy", $this->_propDict)) { - if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\AuditActivityInitiator")) { - 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 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 - * - * @return string The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - return $this->_propDict["operationType"]; - } else { - return null; - } - } - - /** - * Sets the operationType - * - * @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 The result - */ - public function getResult() - { - if (array_key_exists("result", $this->_propDict)) { - if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\OperationResult")) { - 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 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 - * Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. - * - * @return array The targetResources - */ - public function getTargetResources() - { - if (array_key_exists("targetResources", $this->_propDict)) { - return $this->_propDict["targetResources"]; - } else { - return null; - } - } - - /** - * Sets the targetResources - * Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. - * - * @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/Beta/Microsoft/Graph/Model/DirectoryDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinition.php deleted file mode 100644 index 83d198fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinition.php +++ /dev/null @@ -1,208 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["discoverabilities"], "\Beta\Microsoft\Graph\Model\DirectoryDefinitionDiscoverabilities")) { - 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 The discoveryDateTime - */ - public function getDiscoveryDateTime() - { - if (array_key_exists("discoveryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["discoveryDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index b7b4836e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryDefinitionDiscoverabilities.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deletedDateTime"], "\DateTime")) { - return $this->_propDict["deletedDateTime"]; - } else { - $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); - return $this->_propDict["deletedDateTime"]; - } - } - return null; - } - - /** - * Sets the deletedDateTime - * - * @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 deleted file mode 100644 index 7260b686..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryObjectPartnerReference.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index f90ae8f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRole.php +++ /dev/null @@ -1,174 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * The description for the directory role. Read-only. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return array 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. - * - * @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 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 deleted file mode 100644 index 499c0556..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleAccessReviewPolicy.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\AccessReviewScheduleSettings")) { - 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 deleted file mode 100644 index 58ae7d43..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectoryRoleTemplate.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 1eb7da21..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySetting.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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. Must contain and set all the settings defined in the template. - * - * @return array 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. Must contain and set all the settings defined in the template. - * - * @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 deleted file mode 100644 index 55dc7ed8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySettingTemplate.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index 99522bfe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DirectorySizeQuota.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index a4aa124c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DisableAndDeleteUserApplyAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classificationAttributes"], "\Beta\Microsoft\Graph\Model\ClassificationAttribute")) { - 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 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 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 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 deleted file mode 100644 index 678a410c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DiscoverySource.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index 6fd11b64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpAction.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\DlpAction")) { - 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 deleted file mode 100644 index 1e396079..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesJobResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\DlpPoliciesJobResult")) { - 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 deleted file mode 100644 index 9a824c0d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluatePoliciesRequest.php +++ /dev/null @@ -1,114 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["evaluationInput"], "\Beta\Microsoft\Graph\Model\DlpEvaluationInput")) { - 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 The notificationInfo - */ - public function getNotificationInfo() - { - if (array_key_exists("notificationInfo", $this->_propDict)) { - if (is_a($this->_propDict["notificationInfo"], "\Beta\Microsoft\Graph\Model\DlpNotification")) { - 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 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 deleted file mode 100644 index b6a3400c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationInput.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessScope"], "\Beta\Microsoft\Graph\Model\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 The currentLabel - */ - public function getCurrentLabel() - { - if (array_key_exists("currentLabel", $this->_propDict)) { - if (is_a($this->_propDict["currentLabel"], "\Beta\Microsoft\Graph\Model\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 The discoveredSensitiveTypes - */ - public function getDiscoveredSensitiveTypes() - { - if (array_key_exists("discoveredSensitiveTypes", $this->_propDict)) { - if (is_a($this->_propDict["discoveredSensitiveTypes"], "\Beta\Microsoft\Graph\Model\DiscoveredSensitiveType")) { - 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 deleted file mode 100644 index f08219a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpEvaluationWindowsDevicesInput.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentProperties"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 3a7e9874..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpNotification.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index f142a150..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpPoliciesJobResult.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["matchingRules"], "\Beta\Microsoft\Graph\Model\MatchingDlpRule")) { - 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 deleted file mode 100644 index 900f8997..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DlpWindowsDevicesNotification.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index db0164cc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DmaGuardDeviceEnumerationPolicyType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 99aa63f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentComment.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index f17fc1d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentCommentReply.php +++ /dev/null @@ -1,81 +0,0 @@ -_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 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 deleted file mode 100644 index 899b458d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php +++ /dev/null @@ -1,238 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedContentTypes"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo")) { - 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 The defaultContents - */ - public function getDefaultContents() - { - if (array_key_exists("defaultContents", $this->_propDict)) { - if (is_a($this->_propDict["defaultContents"], "\Beta\Microsoft\Graph\Model\DocumentSetContent")) { - 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 - * Specifies whether to push welcome page changes to inherited content types. - * - * @return bool The propagateWelcomePageChanges - */ - public function getPropagateWelcomePageChanges() - { - if (array_key_exists("propagateWelcomePageChanges", $this->_propDict)) { - return $this->_propDict["propagateWelcomePageChanges"]; - } else { - return null; - } - } - - /** - * Sets the propagateWelcomePageChanges - * Specifies whether to push welcome page changes to inherited content types. - * - * @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 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 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 The sharedColumns - */ - public function getSharedColumns() - { - if (array_key_exists("sharedColumns", $this->_propDict)) { - if (is_a($this->_propDict["sharedColumns"], "\Beta\Microsoft\Graph\Model\ColumnDefinition")) { - 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 The welcomePageColumns - */ - public function getWelcomePageColumns() - { - if (array_key_exists("welcomePageColumns", $this->_propDict)) { - if (is_a($this->_propDict["welcomePageColumns"], "\Beta\Microsoft\Graph\Model\ColumnDefinition")) { - 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 deleted file mode 100644 index 3df63d61..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSetContent.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo")) { - 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 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 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/Domain.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Domain.php deleted file mode 100644 index 8d5b882f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Domain.php +++ /dev/null @@ -1,468 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\DomainState")) { - 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 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 - * Read-only, Nullable - * - * @return array The domainNameReferences - */ - public function getDomainNameReferences() - { - if (array_key_exists("domainNameReferences", $this->_propDict)) { - return $this->_propDict["domainNameReferences"]; - } else { - return null; - } - } - - /** - * Sets the domainNameReferences - * Read-only, Nullable - * - * @param DirectoryObject $val The domainNameReferences - * - * @return Domain - */ - public function setDomainNameReferences($val) - { - $this->_propDict["domainNameReferences"] = $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 - * - * @return array 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 - * - * @param DomainDnsRecord $val The serviceConfigurationRecords - * - * @return Domain - */ - public function setServiceConfigurationRecords($val) - { - $this->_propDict["serviceConfigurationRecords"] = $val; - return $this; - } - - - /** - * Gets the sharedEmailDomainInvitations - * - * @return array 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 44c54bda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 6b42a723..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsMxRecord.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 92774c5c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsRecord.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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, TxtKey - * - * @return string 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, TxtKey - * - * @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 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 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 deleted file mode 100644 index 655032db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsSrvRecord.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 8b06c629..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsTxtRecord.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index b12da17e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsUnavailableRecord.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 52fd7e0e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainIdentitySource.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.domainIdentitySource"); - } - - /** - * Gets the displayName - * The name of the identity source, typically also the domain name. Read only. - * - * @return string 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 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 deleted file mode 100644 index 8f651e8a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainNameSource.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 0a2f8aae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainSecurityProfile.php +++ /dev/null @@ -1,426 +0,0 @@ -_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 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 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 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 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 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 The domainRegisteredDateTime - */ - public function getDomainRegisteredDateTime() - { - if (array_key_exists("domainRegisteredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["domainRegisteredDateTime"], "\DateTime")) { - 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 The firstSeenDateTime - */ - public function getFirstSeenDateTime() - { - if (array_key_exists("firstSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime")) { - 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 The registrant - */ - public function getRegistrant() - { - if (array_key_exists("registrant", $this->_propDict)) { - if (is_a($this->_propDict["registrant"], "\Beta\Microsoft\Graph\Model\DomainRegistrant")) { - 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 1f1f3f9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainState.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index aa09eccc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DowngradeJustification.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 20969403..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Drive.php +++ /dev/null @@ -1,402 +0,0 @@ -_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 The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The quota - */ - public function getQuota() - { - if (array_key_exists("quota", $this->_propDict)) { - if (is_a($this->_propDict["quota"], "\Beta\Microsoft\Graph\Model\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 The sharePointIds - */ - public function getSharePointIds() - { - if (array_key_exists("sharePointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharePointIds"], "\Beta\Microsoft\Graph\Model\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 The system - */ - public function getSystem() - { - if (array_key_exists("system", $this->_propDict)) { - if (is_a($this->_propDict["system"], "\Beta\Microsoft\Graph\Model\SystemFacet")) { - 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 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 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 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 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 The list - */ - public function getList() - { - if (array_key_exists("list", $this->_propDict)) { - if (is_a($this->_propDict["list"], "\Beta\Microsoft\Graph\Model\GraphList")) { - 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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\DriveItem")) { - 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 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 deleted file mode 100644 index 94d8cb72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItem.php +++ /dev/null @@ -1,1113 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["audio"], "\Beta\Microsoft\Graph\Model\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. - * - * @param Audio $val The audio - * - * @return DriveItem - */ - public function setAudio($val) - { - $this->_propDict["audio"] = $val; - return $this; - } - - /** - * Gets the bundle - * - * @return Bundle The bundle - */ - public function getBundle() - { - if (array_key_exists("bundle", $this->_propDict)) { - if (is_a($this->_propDict["bundle"], "\Beta\Microsoft\Graph\Model\Bundle")) { - return $this->_propDict["bundle"]; - } else { - $this->_propDict["bundle"] = new Bundle($this->_propDict["bundle"]); - return $this->_propDict["bundle"]; - } - } - return null; - } - - /** - * Sets the bundle - * - * @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 The content - */ - public function getContent() - { - if (array_key_exists("content", $this->_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 The deleted - */ - public function getDeleted() - { - if (array_key_exists("deleted", $this->_propDict)) { - if (is_a($this->_propDict["deleted"], "\Beta\Microsoft\Graph\Model\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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\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 The fileSystemInfo - */ - public function getFileSystemInfo() - { - if (array_key_exists("fileSystemInfo", $this->_propDict)) { - if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\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 The folder - */ - public function getFolder() - { - if (array_key_exists("folder", $this->_propDict)) { - if (is_a($this->_propDict["folder"], "\Beta\Microsoft\Graph\Model\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 The image - */ - public function getImage() - { - if (array_key_exists("image", $this->_propDict)) { - if (is_a($this->_propDict["image"], "\Beta\Microsoft\Graph\Model\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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\GeoCoordinates")) { - 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 media - * - * @return Media The media - */ - public function getMedia() - { - if (array_key_exists("media", $this->_propDict)) { - if (is_a($this->_propDict["media"], "\Beta\Microsoft\Graph\Model\Media")) { - return $this->_propDict["media"]; - } else { - $this->_propDict["media"] = new Media($this->_propDict["media"]); - return $this->_propDict["media"]; - } - } - return null; - } - - /** - * Sets the media - * - * @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 The package - */ - public function getPackage() - { - if (array_key_exists("package", $this->_propDict)) { - if (is_a($this->_propDict["package"], "\Beta\Microsoft\Graph\Model\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 The pendingOperations - */ - public function getPendingOperations() - { - if (array_key_exists("pendingOperations", $this->_propDict)) { - if (is_a($this->_propDict["pendingOperations"], "\Beta\Microsoft\Graph\Model\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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\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 The publication - */ - public function getPublication() - { - if (array_key_exists("publication", $this->_propDict)) { - if (is_a($this->_propDict["publication"], "\Beta\Microsoft\Graph\Model\PublicationFacet")) { - 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 The remoteItem - */ - public function getRemoteItem() - { - if (array_key_exists("remoteItem", $this->_propDict)) { - if (is_a($this->_propDict["remoteItem"], "\Beta\Microsoft\Graph\Model\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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\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 The searchResult - */ - public function getSearchResult() - { - if (array_key_exists("searchResult", $this->_propDict)) { - if (is_a($this->_propDict["searchResult"], "\Beta\Microsoft\Graph\Model\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 The shared - */ - public function getShared() - { - if (array_key_exists("shared", $this->_propDict)) { - if (is_a($this->_propDict["shared"], "\Beta\Microsoft\Graph\Model\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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\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 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 - * - * @return DriveItemSource The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DriveItemSource")) { - return $this->_propDict["source"]; - } else { - $this->_propDict["source"] = new DriveItemSource($this->_propDict["source"]); - return $this->_propDict["source"]; - } - } - return null; - } - - /** - * Sets the source - * - * @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 The specialFolder - */ - public function getSpecialFolder() - { - if (array_key_exists("specialFolder", $this->_propDict)) { - if (is_a($this->_propDict["specialFolder"], "\Beta\Microsoft\Graph\Model\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 The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - if (is_a($this->_propDict["video"], "\Beta\Microsoft\Graph\Model\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 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 The workbook - */ - public function getWorkbook() - { - if (array_key_exists("workbook", $this->_propDict)) { - if (is_a($this->_propDict["workbook"], "\Beta\Microsoft\Graph\Model\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 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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics")) { - 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 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 The listItem - */ - public function getListItem() - { - if (array_key_exists("listItem", $this->_propDict)) { - if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 deleted file mode 100644 index 8e5d3fb5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSource.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\DriveItemSourceApplication")) { - return $this->_propDict["application"]; - } else { - $this->_propDict["application"] = new DriveItemSourceApplication($this->_propDict["application"]); - return $this->_propDict["application"]; - } - } - return null; - } - - /** - * Sets the application - * - * @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 - * - * @return string 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 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 deleted file mode 100644 index 24d02860..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemSourceApplication.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 The fileSystemInfo - */ - public function getFileSystemInfo() - { - if (array_key_exists("fileSystemInfo", $this->_propDict)) { - if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index e7bf6585..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveItemVersion.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index a714013c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DriveRecipient.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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/EBookInstallSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EBookInstallSummary.php deleted file mode 100644 index 336178d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EBookInstallSummary.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index aae1c418..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EapFastConfiguration.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The userDomainNameSource - */ - public function getUserDomainNameSource() - { - if (array_key_exists("userDomainNameSource", $this->_propDict)) { - if (is_a($this->_propDict["userDomainNameSource"], "\Beta\Microsoft\Graph\Model\DomainNameSource")) { - 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 The usernameAADSource - */ - public function getUsernameAADSource() - { - if (array_key_exists("usernameAADSource", $this->_propDict)) { - if (is_a($this->_propDict["usernameAADSource"], "\Beta\Microsoft\Graph\Model\UsernameSource")) { - 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 The usernameSource - */ - public function getUsernameSource() - { - if (array_key_exists("usernameSource", $this->_propDict)) { - if (is_a($this->_propDict["usernameSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 deleted file mode 100644 index 6eb983b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EasServices.php +++ /dev/null @@ -1,38 +0,0 @@ -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 deleted file mode 100644 index 58ecb9a3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonLoadsStartPage.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index b716d6ba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensCustomURL.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.edgeHomeButtonOpensCustomURL"); - } - - /** - * Gets the homeButtonCustomURL - * The specific URL to load. - * - * @return string 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 deleted file mode 100644 index 4670fb16..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeHomeButtonOpensNewTab.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 153ce019..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeKioskModeRestrictionType.php +++ /dev/null @@ -1,37 +0,0 @@ -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 The edgeSearchEngineType - */ - public function getEdgeSearchEngineType() - { - if (array_key_exists("edgeSearchEngineType", $this->_propDict)) { - if (is_a($this->_propDict["edgeSearchEngineType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index ca5bb5d8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineBase.php +++ /dev/null @@ -1,26 +0,0 @@ -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 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 deleted file mode 100644 index 596afa84..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EdgeSearchEngineType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The licenseType - */ - public function getLicenseType() - { - if (array_key_exists("licenseType", $this->_propDict)) { - if (is_a($this->_propDict["licenseType"], "\Beta\Microsoft\Graph\Model\EditionUpgradeLicenseType")) { - 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 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 The targetEdition - */ - public function getTargetEdition() - { - if (array_key_exists("targetEdition", $this->_propDict)) { - if (is_a($this->_propDict["targetEdition"], "\Beta\Microsoft\Graph\Model\Windows10EditionType")) { - 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 The windowsSMode - */ - public function getWindowsSMode() - { - if (array_key_exists("windowsSMode", $this->_propDict)) { - if (is_a($this->_propDict["windowsSMode"], "\Beta\Microsoft\Graph\Model\WindowsSModeConfiguration")) { - 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 deleted file mode 100644 index 066fb146..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EditionUpgradeLicenseType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["addedStudentAction"], "\Beta\Microsoft\Graph\Model\EducationAddedStudentAction")) { - 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 allowLateSubmissions - * Identifies whether students can submit after the due date. If this property is not specified during create, it defaults to true. - * - * @return bool 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 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 The assignDateTime - */ - public function getAssignDateTime() - { - if (array_key_exists("assignDateTime", $this->_propDict)) { - if (is_a($this->_propDict["assignDateTime"], "\DateTime")) { - 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 The assignedDateTime - */ - public function getAssignedDateTime() - { - if (array_key_exists("assignedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["assignedDateTime"], "\DateTime")) { - 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 The assignTo - */ - public function getAssignTo() - { - if (array_key_exists("assignTo", $this->_propDict)) { - if (is_a($this->_propDict["assignTo"], "\Beta\Microsoft\Graph\Model\EducationAssignmentRecipient")) { - 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 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 The closeDateTime - */ - public function getCloseDateTime() - { - if (array_key_exists("closeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["closeDateTime"], "\DateTime")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\DateTime")) { - 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 The grading - */ - public function getGrading() - { - if (array_key_exists("grading", $this->_propDict)) { - if (is_a($this->_propDict["grading"], "\Beta\Microsoft\Graph\Model\EducationAssignmentGradeType")) { - 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 The instructions - */ - public function getInstructions() - { - if (array_key_exists("instructions", $this->_propDict)) { - if (is_a($this->_propDict["instructions"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 status - * Status of the Assignment. You can not PATCH this value. Possible values are: draft, scheduled, published, assigned. - * - * @return EducationAssignmentStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationAssignmentStatus")) { - 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 categories - * When set, enables users to easily find assignments of a given type. Read-only. Nullable. - * - * @return array 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 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 The rubric - */ - public function getRubric() - { - if (array_key_exists("rubric", $this->_propDict)) { - if (is_a($this->_propDict["rubric"], "\Beta\Microsoft\Graph\Model\EducationRubric")) { - 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 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 deleted file mode 100644 index 422000aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentClassRecipient.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index b614e4e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentDefaults.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["addedStudentAction"], "\Beta\Microsoft\Graph\Model\EducationAddedStudentAction")) { - 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 dueTime - * Class-level default value for due time field. Default value is 23:59:00. - * - * @return TimeOfDay The dueTime - */ - public function getDueTime() - { - if (array_key_exists("dueTime", $this->_propDict)) { - if (is_a($this->_propDict["dueTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 deleted file mode 100644 index 3287b7e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGrade.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["gradedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The gradedDateTime - */ - public function getGradedDateTime() - { - if (array_key_exists("gradedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["gradedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 3e00e692..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentGradeType.php +++ /dev/null @@ -1,26 +0,0 @@ -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 deleted file mode 100644 index d052e552..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentIndividualRecipient.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.educationAssignmentIndividualRecipient"); - } - - /** - * Gets the recipients - * A collection of ids of the recipients. - * - * @return string 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 deleted file mode 100644 index e272599c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGrade.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["points"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["points"]; - } else { - $this->_propDict["points"] = new Single($this->_propDict["points"]); - return $this->_propDict["points"]; - } - } - return null; - } - - /** - * Sets the points - * Number of points a teacher is giving this submission object. - * - * @param Single $val The value to assign to the points - * - * @return EducationAssignmentPointsGrade The 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 deleted file mode 100644 index f1e31504..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentPointsGradeType.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.educationAssignmentPointsGradeType"); - } - - - /** - * Gets the maxPoints - * Max points possible for this assignment. - * - * @return Single The maxPoints - */ - public function getMaxPoints() - { - if (array_key_exists("maxPoints", $this->_propDict)) { - if (is_a($this->_propDict["maxPoints"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["maxPoints"]; - } else { - $this->_propDict["maxPoints"] = new Single($this->_propDict["maxPoints"]); - return $this->_propDict["maxPoints"]; - } - } - return null; - } - - /** - * Sets the maxPoints - * Max points possible for this assignment. - * - * @param Single $val The value to assign to the maxPoints - * - * @return EducationAssignmentPointsGradeType The 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 deleted file mode 100644 index 83381913..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentRecipient.php +++ /dev/null @@ -1,26 +0,0 @@ -_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. - * - * @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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource")) { - 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 deleted file mode 100644 index e8fce076..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentSettings.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 24aa377a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationAssignmentStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index de98811c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationClass.php +++ /dev/null @@ -1,634 +0,0 @@ -_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 The course - */ - public function getCourse() - { - if (array_key_exists("course", $this->_propDict)) { - if (is_a($this->_propDict["course"], "\Beta\Microsoft\Graph\Model\EducationCourse")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 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 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 The externalSource - */ - public function getExternalSource() - { - if (array_key_exists("externalSource", $this->_propDict)) { - if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource")) { - 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 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 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 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 The term - */ - public function getTerm() - { - if (array_key_exists("term", $this->_propDict)) { - if (is_a($this->_propDict["term"], "\Beta\Microsoft\Graph\Model\EducationTerm")) { - 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 - * - * @return array The assignmentCategories - */ - public function getAssignmentCategories() - { - if (array_key_exists("assignmentCategories", $this->_propDict)) { - return $this->_propDict["assignmentCategories"]; - } else { - return null; - } - } - - /** - * Sets the assignmentCategories - * - * @param EducationCategory $val The assignmentCategories - * - * @return EducationClass - */ - public function setAssignmentCategories($val) - { - $this->_propDict["assignmentCategories"] = $val; - return $this; - } - - /** - * Gets the assignmentDefaults - * - * @return EducationAssignmentDefaults The assignmentDefaults - */ - public function getAssignmentDefaults() - { - if (array_key_exists("assignmentDefaults", $this->_propDict)) { - if (is_a($this->_propDict["assignmentDefaults"], "\Beta\Microsoft\Graph\Model\EducationAssignmentDefaults")) { - return $this->_propDict["assignmentDefaults"]; - } else { - $this->_propDict["assignmentDefaults"] = new EducationAssignmentDefaults($this->_propDict["assignmentDefaults"]); - return $this->_propDict["assignmentDefaults"]; - } - } - return null; - } - - /** - * Sets the assignmentDefaults - * - * @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 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 - * - * @return EducationAssignmentSettings The assignmentSettings - */ - public function getAssignmentSettings() - { - if (array_key_exists("assignmentSettings", $this->_propDict)) { - if (is_a($this->_propDict["assignmentSettings"], "\Beta\Microsoft\Graph\Model\EducationAssignmentSettings")) { - return $this->_propDict["assignmentSettings"]; - } else { - $this->_propDict["assignmentSettings"] = new EducationAssignmentSettings($this->_propDict["assignmentSettings"]); - return $this->_propDict["assignmentSettings"]; - } - } - return null; - } - - /** - * Sets the assignmentSettings - * - * @param EducationAssignmentSettings $val The assignmentSettings - * - * @return EducationClass - */ - public function setAssignmentSettings($val) - { - $this->_propDict["assignmentSettings"] = $val; - return $this; - } - - /** - * Gets the group - * The directory group corresponding to this class. - * - * @return Group The group - */ - public function getGroup() - { - if (array_key_exists("group", $this->_propDict)) { - if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Group")) { - return $this->_propDict["group"]; - } else { - $this->_propDict["group"] = new Group($this->_propDict["group"]); - return $this->_propDict["group"]; - } - } - return null; - } - - /** - * Sets the group - * The directory group corresponding to this class. - * - * @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 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 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 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 deleted file mode 100644 index 636d90cc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCourse.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 796aaf7b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationCsvDataProvider.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.educationCsvDataProvider"); - } - - - /** - * Gets the customizations - * Optional customizations to be applied to the synchronization profile. - * - * @return EducationSynchronizationCustomizations The customizations - */ - public function getCustomizations() - { - if (array_key_exists("customizations", $this->_propDict)) { - if (is_a($this->_propDict["customizations"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomizations")) { - 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 deleted file mode 100644 index 11682929..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExcelResource.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.educationExcelResource"); - } - - /** - * Gets the fileUrl - * Pointer to the Excel file object. - * - * @return string 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/EducationExternalSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalSource.php deleted file mode 100644 index 5780da4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationExternalSource.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["feedbackBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The feedbackDateTime - */ - public function getFeedbackDateTime() - { - if (array_key_exists("feedbackDateTime", $this->_propDict)) { - if (is_a($this->_propDict["feedbackDateTime"], "\DateTime")) { - 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 The text - */ - public function getText() - { - if (array_key_exists("text", $this->_propDict)) { - if (is_a($this->_propDict["text"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 deleted file mode 100644 index c6d339e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFeedbackOutcome.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\EducationFeedback")) { - 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 The publishedFeedback - */ - public function getPublishedFeedback() - { - if (array_key_exists("publishedFeedback", $this->_propDict)) { - if (is_a($this->_propDict["publishedFeedback"], "\Beta\Microsoft\Graph\Model\EducationFeedback")) { - 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 deleted file mode 100644 index 3d95346b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileResource.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.educationFileResource"); - } - - /** - * Gets the fileUrl - * Location on disk of the file resource. - * - * @return string 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 deleted file mode 100644 index 2e63d57b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFileSynchronizationVerificationMessage.php +++ /dev/null @@ -1,108 +0,0 @@ -_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 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 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/EducationFormResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFormResource.php deleted file mode 100644 index 6b28300c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationFormResource.php +++ /dev/null @@ -1,175 +0,0 @@ -setODataType("#microsoft.graph.educationFormResource"); - } - - /** - * Gets the editUrl - * Teacher URL for the Form. - * - * @return string The editUrl - */ - public function getEditUrl() - { - if (array_key_exists("editUrl", $this->_propDict)) { - return $this->_propDict["editUrl"]; - } else { - return null; - } - } - - /** - * Sets the editUrl - * Teacher URL for the Form. - * - * @param string $val The value of the editUrl - * - * @return EducationFormResource - */ - public function setEditUrl($val) - { - $this->_propDict["editUrl"] = $val; - return $this; - } - /** - * Gets the formId - * Id of the Form. - * - * @return string The formId - */ - public function getFormId() - { - if (array_key_exists("formId", $this->_propDict)) { - return $this->_propDict["formId"]; - } else { - return null; - } - } - - /** - * Sets the formId - * Id of the Form. - * - * @param string $val The value of the formId - * - * @return EducationFormResource - */ - public function setFormId($val) - { - $this->_propDict["formId"] = $val; - return $this; - } - /** - * Gets the isGroupForm - * Whether the Form belongs to a class group. - * - * @return bool The isGroupForm - */ - public function getIsGroupForm() - { - if (array_key_exists("isGroupForm", $this->_propDict)) { - return $this->_propDict["isGroupForm"]; - } else { - return null; - } - } - - /** - * Sets the isGroupForm - * Whether the Form belongs to a class group. - * - * @param bool $val The value of the isGroupForm - * - * @return EducationFormResource - */ - public function setIsGroupForm($val) - { - $this->_propDict["isGroupForm"] = $val; - return $this; - } - /** - * Gets the originalFormId - * Original id of the Form. - * - * @return string The originalFormId - */ - public function getOriginalFormId() - { - if (array_key_exists("originalFormId", $this->_propDict)) { - return $this->_propDict["originalFormId"]; - } else { - return null; - } - } - - /** - * Sets the originalFormId - * Original id of the Form. - * - * @param string $val The value of the originalFormId - * - * @return EducationFormResource - */ - public function setOriginalFormId($val) - { - $this->_propDict["originalFormId"] = $val; - return $this; - } - /** - * Gets the viewUrl - * Student URL for the Form. - * - * @return string The viewUrl - */ - public function getViewUrl() - { - if (array_key_exists("viewUrl", $this->_propDict)) { - return $this->_propDict["viewUrl"]; - } else { - return null; - } - } - - /** - * Sets the viewUrl - * Student URL for the Form. - * - * @param string $val The value of the viewUrl - * - * @return EducationFormResource - */ - public function setViewUrl($val) - { - $this->_propDict["viewUrl"] = $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 deleted file mode 100644 index bf27387e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationGender.php +++ /dev/null @@ -1,36 +0,0 @@ -setODataType("#microsoft.graph.educationIdentityCreationConfiguration"); - } - - - /** - * Gets the userDomains - * - * @return EducationIdentityDomain The userDomains - */ - public function getUserDomains() - { - if (array_key_exists("userDomains", $this->_propDict)) { - if (is_a($this->_propDict["userDomains"], "\Beta\Microsoft\Graph\Model\EducationIdentityDomain")) { - 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 deleted file mode 100644 index 7a4e9df2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityDomain.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole")) { - 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 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 deleted file mode 100644 index 84d533c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingConfiguration.php +++ /dev/null @@ -1,68 +0,0 @@ -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 The matchingOptions - */ - public function getMatchingOptions() - { - if (array_key_exists("matchingOptions", $this->_propDict)) { - if (is_a($this->_propDict["matchingOptions"], "\Beta\Microsoft\Graph\Model\EducationIdentityMatchingOptions")) { - 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 deleted file mode 100644 index d410c94d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentityMatchingOptions.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole")) { - 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 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 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 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 deleted file mode 100644 index 9c79c6fe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationIdentitySynchronizationConfiguration.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The contentType - */ - public function getContentType() - { - if (array_key_exists("contentType", $this->_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\BodyType")) { - 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 deleted file mode 100644 index 6c314051..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationLinkResource.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.educationLinkResource"); - } - - /** - * Gets the link - * URL to the resource. - * - * @return string 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/EducationMakeCodeResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationMakeCodeResource.php deleted file mode 100644 index 07df4fc3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationMakeCodeResource.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.educationMakeCodeResource"); - } - - /** - * Gets the hostWebUrl - * Host for the type of MakeCode resource (for example, arcade, microbit) - * - * @return string The hostWebUrl - */ - public function getHostWebUrl() - { - if (array_key_exists("hostWebUrl", $this->_propDict)) { - return $this->_propDict["hostWebUrl"]; - } else { - return null; - } - } - - /** - * Sets the hostWebUrl - * Host for the type of MakeCode resource (for example, arcade, microbit) - * - * @param string $val The value of the hostWebUrl - * - * @return EducationMakeCodeResource - */ - public function setHostWebUrl($val) - { - $this->_propDict["hostWebUrl"] = $val; - return $this; - } - /** - * Gets the projectId - * ID of the MakeCode project - * - * @return string The projectId - */ - public function getProjectId() - { - if (array_key_exists("projectId", $this->_propDict)) { - return $this->_propDict["projectId"]; - } else { - return null; - } - } - - /** - * Sets the projectId - * ID of the MakeCode project - * - * @param string $val The value of the projectId - * - * @return EducationMakeCodeResource - */ - public function setProjectId($val) - { - $this->_propDict["projectId"] = $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 deleted file mode 100644 index 726a3e21..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOnPremisesInfo.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/EducationOneNoteResource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOneNoteResource.php deleted file mode 100644 index d9de4bab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOneNoteResource.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.educationOneNoteResource"); - } - - /** - * Gets the pageUrl - * The Microsoft Graph URL to the page in OneNote. - * - * @return string The pageUrl - */ - public function getPageUrl() - { - if (array_key_exists("pageUrl", $this->_propDict)) { - return $this->_propDict["pageUrl"]; - } else { - return null; - } - } - - /** - * Sets the pageUrl - * The Microsoft Graph URL to the page in OneNote. - * - * @param string $val The value of the pageUrl - * - * @return EducationOneNoteResource - */ - public function setPageUrl($val) - { - $this->_propDict["pageUrl"] = $val; - return $this; - } - /** - * Gets the sectionName - * Section name that distributions should be copied into or were copied into. - * - * @return string The sectionName - */ - public function getSectionName() - { - if (array_key_exists("sectionName", $this->_propDict)) { - return $this->_propDict["sectionName"]; - } else { - return null; - } - } - - /** - * Sets the sectionName - * Section name that distributions should be copied into or were copied into. - * - * @param string $val The value of the sectionName - * - * @return EducationOneNoteResource - */ - public function setSectionName($val) - { - $this->_propDict["sectionName"] = $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 deleted file mode 100644 index d4db64e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOneRosterApiDataProvider.php +++ /dev/null @@ -1,201 +0,0 @@ -setODataType("#microsoft.graph.educationOneRosterApiDataProvider"); - } - - - /** - * Gets the connectionSettings - * - * @return EducationSynchronizationConnectionSettings The connectionSettings - */ - public function getConnectionSettings() - { - if (array_key_exists("connectionSettings", $this->_propDict)) { - if (is_a($this->_propDict["connectionSettings"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationConnectionSettings")) { - 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 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 The customizations - */ - public function getCustomizations() - { - if (array_key_exists("customizations", $this->_propDict)) { - if (is_a($this->_propDict["customizations"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomizations")) { - 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 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 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 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 deleted file mode 100644 index 377b4df2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOrganization.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 The externalSource - */ - public function getExternalSource() - { - if (array_key_exists("externalSource", $this->_propDict)) { - if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource")) { - 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 - * - * @return string The externalSourceDetail - */ - public function getExternalSourceDetail() - { - if (array_key_exists("externalSourceDetail", $this->_propDict)) { - return $this->_propDict["externalSourceDetail"]; - } else { - return null; - } - } - - /** - * Sets the externalSourceDetail - * - * @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 deleted file mode 100644 index 0eeb8772..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationOutcome.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["lastModifiedBy"]; - } else { - $this->_propDict["lastModifiedBy"] = new IdentitySet($this->_propDict["lastModifiedBy"]); - return $this->_propDict["lastModifiedBy"]; - } - } - return null; - } - - /** - * Sets the lastModifiedBy - * - * @param IdentitySet $val The lastModifiedBy - * - * @return EducationOutcome - */ - public function setLastModifiedBy($val) - { - $this->_propDict["lastModifiedBy"] = $val; - return $this; - } - - /** - * Gets the lastModifiedDateTime - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index ebbf7cdf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPointsOutcome.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["points"], "\Beta\Microsoft\Graph\Model\EducationAssignmentPointsGrade")) { - 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 The publishedPoints - */ - public function getPublishedPoints() - { - if (array_key_exists("publishedPoints", $this->_propDict)) { - if (is_a($this->_propDict["publishedPoints"], "\Beta\Microsoft\Graph\Model\EducationAssignmentPointsGrade")) { - 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 deleted file mode 100644 index 5a9f0115..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerPointResource.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.educationPowerPointResource"); - } - - /** - * Gets the fileUrl - * Location of the file on disk. - * - * @return string 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 deleted file mode 100644 index 07d6e4c4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationPowerSchoolDataProvider.php +++ /dev/null @@ -1,236 +0,0 @@ -setODataType("#microsoft.graph.educationPowerSchoolDataProvider"); - } - - /** - * Gets the allowTeachersInMultipleSchools - * Indicates whether the source has multiple identifiers for a single student or teacher. - * - * @return bool 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 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 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 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 The customizations - */ - public function getCustomizations() - { - if (array_key_exists("customizations", $this->_propDict)) { - if (is_a($this->_propDict["customizations"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomizations")) { - 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 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 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 deleted file mode 100644 index 66377284..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationResource.php +++ /dev/null @@ -1,186 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 3f20d14c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRoot.php +++ /dev/null @@ -1,178 +0,0 @@ -_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 - * Read-only. Nullable. - * - * @return array The classes - */ - public function getClasses() - { - if (array_key_exists("classes", $this->_propDict)) { - return $this->_propDict["classes"]; - } else { - return null; - } - } - - /** - * Sets the classes - * Read-only. Nullable. - * - * @param EducationClass $val The classes - * - * @return EducationRoot - */ - public function setClasses($val) - { - $this->_propDict["classes"] = $val; - return $this; - } - - /** - * Gets the me - * Read-only. Nullable. - * - * @return EducationUser The me - */ - public function getMe() - { - if (array_key_exists("me", $this->_propDict)) { - if (is_a($this->_propDict["me"], "\Beta\Microsoft\Graph\Model\EducationUser")) { - return $this->_propDict["me"]; - } else { - $this->_propDict["me"] = new EducationUser($this->_propDict["me"]); - return $this->_propDict["me"]; - } - } - return null; - } - - /** - * Sets the me - * Read-only. Nullable. - * - * @param EducationUser $val The me - * - * @return EducationRoot - */ - public function setMe($val) - { - $this->_propDict["me"] = $val; - return $this; - } - - - /** - * Gets the schools - * Read-only. Nullable. - * - * @return array The schools - */ - public function getSchools() - { - if (array_key_exists("schools", $this->_propDict)) { - return $this->_propDict["schools"]; - } else { - return null; - } - } - - /** - * Sets the schools - * Read-only. Nullable. - * - * @param EducationSchool $val The schools - * - * @return EducationRoot - */ - public function setSchools($val) - { - $this->_propDict["schools"] = $val; - return $this; - } - - - /** - * Gets the users - * Read-only. Nullable. - * - * @return array The users - */ - public function getUsers() - { - if (array_key_exists("users", $this->_propDict)) { - return $this->_propDict["users"]; - } else { - return null; - } - } - - /** - * Sets the users - * Read-only. Nullable. - * - * @param EducationUser $val The users - * - * @return EducationRoot - */ - public function setUsers($val) - { - $this->_propDict["users"] = $val; - return $this; - } - -} 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 deleted file mode 100644 index 02128f45..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubric.php +++ /dev/null @@ -1,314 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The description - */ - public function getDescription() - { - if (array_key_exists("description", $this->_propDict)) { - if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 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 The grading - */ - public function getGrading() - { - if (array_key_exists("grading", $this->_propDict)) { - if (is_a($this->_propDict["grading"], "\Beta\Microsoft\Graph\Model\EducationAssignmentGradeType")) { - 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index a12364ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationRubricOutcome.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 06a7748f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSchool.php +++ /dev/null @@ -1,443 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 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 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 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 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 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 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 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 - * - * @return AdministrativeUnit The administrativeUnit - */ - public function getAdministrativeUnit() - { - if (array_key_exists("administrativeUnit", $this->_propDict)) { - if (is_a($this->_propDict["administrativeUnit"], "\Beta\Microsoft\Graph\Model\AdministrativeUnit")) { - return $this->_propDict["administrativeUnit"]; - } else { - $this->_propDict["administrativeUnit"] = new AdministrativeUnit($this->_propDict["administrativeUnit"]); - return $this->_propDict["administrativeUnit"]; - } - } - return null; - } - - /** - * Sets the administrativeUnit - * - * @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 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 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 deleted file mode 100644 index a9322ef7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationStudent.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["birthDate"], "\DateTime")) { - 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 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 The gender - */ - public function getGender() - { - if (array_key_exists("gender", $this->_propDict)) { - if (is_a($this->_propDict["gender"], "\Beta\Microsoft\Graph\Model\EducationGender")) { - 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 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 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 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 deleted file mode 100644 index 77d75946..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmission.php +++ /dev/null @@ -1,476 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recipient"], "\Beta\Microsoft\Graph\Model\EducationSubmissionRecipient")) { - 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 releasedBy - * User who moved the status of this submission to released. - * - * @return IdentitySet The releasedBy - */ - public function getReleasedBy() - { - if (array_key_exists("releasedBy", $this->_propDict)) { - if (is_a($this->_propDict["releasedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["releasedBy"]; - } else { - $this->_propDict["releasedBy"] = new IdentitySet($this->_propDict["releasedBy"]); - return $this->_propDict["releasedBy"]; - } - } - return null; - } - - /** - * Sets the releasedBy - * User who moved the status of this submission to released. - * - * @param IdentitySet $val The releasedBy - * - * @return EducationSubmission - */ - public function setReleasedBy($val) - { - $this->_propDict["releasedBy"] = $val; - return $this; - } - - /** - * Gets the releasedDateTime - * Moment in time when the submission was released. The Timestamp type represents date and time information 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 The releasedDateTime - */ - public function getReleasedDateTime() - { - if (array_key_exists("releasedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["releasedDateTime"], "\DateTime")) { - return $this->_propDict["releasedDateTime"]; - } else { - $this->_propDict["releasedDateTime"] = new \DateTime($this->_propDict["releasedDateTime"]); - return $this->_propDict["releasedDateTime"]; - } - } - return null; - } - - /** - * Sets the releasedDateTime - * Moment in time when the submission was released. The Timestamp type represents date and time information 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 releasedDateTime - * - * @return EducationSubmission - */ - public function setReleasedDateTime($val) - { - $this->_propDict["releasedDateTime"] = $val; - return $this; - } - - /** - * Gets the resourcesFolderUrl - * Folder where all file resources for this submission need to be stored. - * - * @return string 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 The returnedBy - */ - public function getReturnedBy() - { - if (array_key_exists("returnedBy", $this->_propDict)) { - if (is_a($this->_propDict["returnedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The returnedDateTime - */ - public function getReturnedDateTime() - { - if (array_key_exists("returnedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["returnedDateTime"], "\DateTime")) { - 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. - * - * @return EducationSubmissionStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationSubmissionStatus")) { - 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. - * - * @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 The submittedBy - */ - public function getSubmittedBy() - { - if (array_key_exists("submittedBy", $this->_propDict)) { - if (is_a($this->_propDict["submittedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The submittedDateTime - */ - public function getSubmittedDateTime() - { - if (array_key_exists("submittedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["submittedDateTime"], "\DateTime")) { - 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 The unsubmittedBy - */ - public function getUnsubmittedBy() - { - if (array_key_exists("unsubmittedBy", $this->_propDict)) { - if (is_a($this->_propDict["unsubmittedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The unsubmittedDateTime - */ - public function getUnsubmittedDateTime() - { - if (array_key_exists("unsubmittedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["unsubmittedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index eaca7046..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionIndividualRecipient.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.educationSubmissionIndividualRecipient"); - } - - /** - * Gets the userId - * User ID of the user to whom the submission is assigned. - * - * @return string 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 deleted file mode 100644 index 355ce3bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionRecipient.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\EducationResource")) { - 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 deleted file mode 100644 index 79d2dab5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSubmissionStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - return $this->_propDict["clientId"]; - } else { - return null; - } - } - - /** - * Sets the clientId - * - * @param string $val The value of the clientId - * - * @return EducationSynchronizationConnectionSettings - */ - public function setClientId($val) - { - $this->_propDict["clientId"] = $val; - return $this; - } - /** - * Gets the clientSecret - * - * @return string The clientSecret - */ - public function getClientSecret() - { - if (array_key_exists("clientSecret", $this->_propDict)) { - return $this->_propDict["clientSecret"]; - } else { - return null; - } - } - - /** - * Sets the clientSecret - * - * @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 deleted file mode 100644 index 08f888a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomization.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The synchronizationStartDate - */ - public function getSynchronizationStartDate() - { - if (array_key_exists("synchronizationStartDate", $this->_propDict)) { - if (is_a($this->_propDict["synchronizationStartDate"], "\DateTime")) { - 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 deleted file mode 100644 index f6354e9d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizations.php +++ /dev/null @@ -1,224 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["school"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization")) { - 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 The section - */ - public function getSection() - { - if (array_key_exists("section", $this->_propDict)) { - if (is_a($this->_propDict["section"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization")) { - 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 The student - */ - public function getStudent() - { - if (array_key_exists("student", $this->_propDict)) { - if (is_a($this->_propDict["student"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization")) { - 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 The studentEnrollment - */ - public function getStudentEnrollment() - { - if (array_key_exists("studentEnrollment", $this->_propDict)) { - if (is_a($this->_propDict["studentEnrollment"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization")) { - 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 The teacher - */ - public function getTeacher() - { - if (array_key_exists("teacher", $this->_propDict)) { - if (is_a($this->_propDict["teacher"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization")) { - 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 The teacherRoster - */ - public function getTeacherRoster() - { - if (array_key_exists("teacherRoster", $this->_propDict)) { - if (is_a($this->_propDict["teacherRoster"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationCustomization")) { - 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 deleted file mode 100644 index 89d99297..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCustomizationsBase.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 The recordedDateTime - */ - public function getRecordedDateTime() - { - if (array_key_exists("recordedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["recordedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 16731f60..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationLicenseAssignment.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole")) { - 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 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 deleted file mode 100644 index b2d4cab1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationOAuth1ConnectionSettings.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index 1b32f946..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfile.php +++ /dev/null @@ -1,310 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dataProvider"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationDataProvider")) { - 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 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. When null. the profile will never expire. (optional) - * - * @return \DateTime The expirationDate - */ - public function getExpirationDate() - { - if (array_key_exists("expirationDate", $this->_propDict)) { - if (is_a($this->_propDict["expirationDate"], "\DateTime")) { - 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. When null. the profile will never expire. (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 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 The identitySynchronizationConfiguration - */ - public function getIdentitySynchronizationConfiguration() - { - if (array_key_exists("identitySynchronizationConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["identitySynchronizationConfiguration"], "\Beta\Microsoft\Graph\Model\EducationIdentitySynchronizationConfiguration")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationProfileState")) { - 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 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 The profileStatus - */ - public function getProfileStatus() - { - if (array_key_exists("profileStatus", $this->_propDict)) { - if (is_a($this->_propDict["profileStatus"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationProfileStatus")) { - 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 deleted file mode 100644 index 7f691929..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationProfileState.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastActivityDateTime"], "\DateTime")) { - return $this->_propDict["lastActivityDateTime"]; - } else { - $this->_propDict["lastActivityDateTime"] = new \DateTime($this->_propDict["lastActivityDateTime"]); - return $this->_propDict["lastActivityDateTime"]; - } - } - return null; - } - - /** - * Sets the lastActivityDateTime - * - * @param \DateTime $val The lastActivityDateTime - * - * @return EducationSynchronizationProfileStatus - */ - public function setLastActivityDateTime($val) - { - $this->_propDict["lastActivityDateTime"] = $val; - return $this; - } - - /** - * Gets the lastSynchronizationDateTime - * Represents the time when most recent changes have been observed in the directory. - * - * @return \DateTime The lastSynchronizationDateTime - */ - public function getLastSynchronizationDateTime() - { - if (array_key_exists("lastSynchronizationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSynchronizationDateTime"], "\DateTime")) { - 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 when most recent changes have been observed in the directory. - * - * @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. Possible values are: paused, inProgress, success, error, quarantined, validationError. - * - * @return EducationSynchronizationStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\EducationSynchronizationStatus")) { - 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. Possible values are: paused, inProgress, success, error, quarantined, validationError. - * - * @param EducationSynchronizationStatus $val The status - * - * @return EducationSynchronizationProfileStatus - */ - public function setStatus($val) - { - $this->_propDict["status"] = $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 deleted file mode 100644 index 1c43eca1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationStatus.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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/EducationTerm.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTerm.php deleted file mode 100644 index cd442500..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationTerm.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 The endDate - */ - public function getEndDate() - { - if (array_key_exists("endDate", $this->_propDict)) { - if (is_a($this->_propDict["endDate"], "\DateTime")) { - 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 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 The startDate - */ - public function getStartDate() - { - if (array_key_exists("startDate", $this->_propDict)) { - if (is_a($this->_propDict["startDate"], "\DateTime")) { - 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 deleted file mode 100644 index 9b70b587..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php +++ /dev/null @@ -1,1174 +0,0 @@ -_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 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 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 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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 The externalSource - */ - public function getExternalSource() - { - if (array_key_exists("externalSource", $this->_propDict)) { - if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource")) { - 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 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 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 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 The mailingAddress - */ - public function getMailingAddress() - { - if (array_key_exists("mailingAddress", $this->_propDict)) { - if (is_a($this->_propDict["mailingAddress"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 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 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 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 The onPremisesInfo - */ - public function getOnPremisesInfo() - { - if (array_key_exists("onPremisesInfo", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesInfo"], "\Beta\Microsoft\Graph\Model\EducationOnPremisesInfo")) { - 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 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 The passwordProfile - */ - public function getPasswordProfile() - { - if (array_key_exists("passwordProfile", $this->_propDict)) { - if (is_a($this->_propDict["passwordProfile"], "\Beta\Microsoft\Graph\Model\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 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 The primaryRole - */ - public function getPrimaryRole() - { - if (array_key_exists("primaryRole", $this->_propDict)) { - if (is_a($this->_propDict["primaryRole"], "\Beta\Microsoft\Graph\Model\EducationUserRole")) { - 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 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 The refreshTokensValidFromDateTime - */ - public function getRefreshTokensValidFromDateTime() - { - if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) { - if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime")) { - 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 The residenceAddress - */ - public function getResidenceAddress() - { - if (array_key_exists("residenceAddress", $this->_propDict)) { - if (is_a($this->_propDict["residenceAddress"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 - * - * @return bool The showInAddressList - */ - public function getShowInAddressList() - { - if (array_key_exists("showInAddressList", $this->_propDict)) { - return $this->_propDict["showInAddressList"]; - } else { - return null; - } - } - - /** - * Sets the showInAddressList - * - * @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 The student - */ - public function getStudent() - { - if (array_key_exists("student", $this->_propDict)) { - if (is_a($this->_propDict["student"], "\Beta\Microsoft\Graph\Model\EducationStudent")) { - 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 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 The teacher - */ - public function getTeacher() - { - if (array_key_exists("teacher", $this->_propDict)) { - if (is_a($this->_propDict["teacher"], "\Beta\Microsoft\Graph\Model\EducationTeacher")) { - 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 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 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 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 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 - * - * @return array The rubrics - */ - public function getRubrics() - { - if (array_key_exists("rubrics", $this->_propDict)) { - return $this->_propDict["rubrics"]; - } else { - return null; - } - } - - /** - * Sets the rubrics - * - * @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 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 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 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 corresponding to this user. - * - * @return User The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\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 corresponding 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 deleted file mode 100644 index 3f24c629..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUserRole.php +++ /dev/null @@ -1,37 +0,0 @@ -setODataType("#microsoft.graph.educationWordResource"); - } - - /** - * Gets the fileUrl - * Location of the file on disk. - * - * @return string 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 deleted file mode 100644 index 1dc4970e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivity.php +++ /dev/null @@ -1,192 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completionMonthYear"], "\DateTime")) { - 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 The endMonthYear - */ - public function getEndMonthYear() - { - if (array_key_exists("endMonthYear", $this->_propDict)) { - if (is_a($this->_propDict["endMonthYear"], "\DateTime")) { - 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 The institution - */ - public function getInstitution() - { - if (array_key_exists("institution", $this->_propDict)) { - if (is_a($this->_propDict["institution"], "\Beta\Microsoft\Graph\Model\InstitutionData")) { - 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 The program - */ - public function getProgram() - { - if (array_key_exists("program", $this->_propDict)) { - if (is_a($this->_propDict["program"], "\Beta\Microsoft\Graph\Model\EducationalActivityDetail")) { - 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 The startMonthYear - */ - public function getStartMonthYear() - { - if (array_key_exists("startMonthYear", $this->_propDict)) { - if (is_a($this->_propDict["startMonthYear"], "\DateTime")) { - 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 deleted file mode 100644 index 59701fc1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationalActivityDetail.php +++ /dev/null @@ -1,278 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 872ccbc4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EligibilityFilteringEnabledEntities.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["afterHours"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["afterHours"]; - } else { - $this->_propDict["afterHours"] = new Duration($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 Duration $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 Duration The readEmail - */ - public function getReadEmail() - { - if (array_key_exists("readEmail", $this->_propDict)) { - if (is_a($this->_propDict["readEmail"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["readEmail"]; - } else { - $this->_propDict["readEmail"] = new Duration($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 Duration $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 Duration The sentEmail - */ - public function getSentEmail() - { - if (array_key_exists("sentEmail", $this->_propDict)) { - if (is_a($this->_propDict["sentEmail"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["sentEmail"]; - } else { - $this->_propDict["sentEmail"] = new Duration($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 Duration $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/EmailActivitySummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailActivitySummary.php deleted file mode 100644 index 939508b3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailActivitySummary.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["read"]; - } else { - return null; - } - } - - /** - * Sets the read - * - * @param int $val The read - * - * @return EmailActivitySummary - */ - public function setRead($val) - { - $this->_propDict["read"] = intval($val); - return $this; - } - - /** - * Gets the receive - * - * @return int The receive - */ - public function getReceive() - { - if (array_key_exists("receive", $this->_propDict)) { - return $this->_propDict["receive"]; - } else { - return null; - } - } - - /** - * Sets the receive - * - * @param int $val The receive - * - * @return EmailActivitySummary - */ - public function setReceive($val) - { - $this->_propDict["receive"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return EmailActivitySummary - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return EmailActivitySummary - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return EmailActivitySummary - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the send - * - * @return int The send - */ - public function getSend() - { - if (array_key_exists("send", $this->_propDict)) { - return $this->_propDict["send"]; - } else { - return null; - } - } - - /** - * Sets the send - * - * @param int $val The send - * - * @return EmailActivitySummary - */ - public function setSend($val) - { - $this->_propDict["send"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailActivityUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailActivityUserDetail.php deleted file mode 100644 index c0407c99..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailActivityUserDetail.php +++ /dev/null @@ -1,336 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedProducts"]; - } else { - return null; - } - } - - /** - * Sets the assignedProducts - * - * @param string $val The assignedProducts - * - * @return EmailActivityUserDetail - */ - public function setAssignedProducts($val) - { - $this->_propDict["assignedProducts"] = $val; - return $this; - } - - /** - * Gets the deletedDate - * - * @return \DateTime The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return EmailActivityUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 EmailActivityUserDetail - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 EmailActivityUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return EmailActivityUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the readCount - * - * @return int The readCount - */ - public function getReadCount() - { - if (array_key_exists("readCount", $this->_propDict)) { - return $this->_propDict["readCount"]; - } else { - return null; - } - } - - /** - * Sets the readCount - * - * @param int $val The readCount - * - * @return EmailActivityUserDetail - */ - public function setReadCount($val) - { - $this->_propDict["readCount"] = intval($val); - return $this; - } - - /** - * Gets the receiveCount - * - * @return int The receiveCount - */ - public function getReceiveCount() - { - if (array_key_exists("receiveCount", $this->_propDict)) { - return $this->_propDict["receiveCount"]; - } else { - return null; - } - } - - /** - * Sets the receiveCount - * - * @param int $val The receiveCount - * - * @return EmailActivityUserDetail - */ - public function setReceiveCount($val) - { - $this->_propDict["receiveCount"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return EmailActivityUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return EmailActivityUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sendCount - * - * @return int The sendCount - */ - public function getSendCount() - { - if (array_key_exists("sendCount", $this->_propDict)) { - return $this->_propDict["sendCount"]; - } else { - return null; - } - } - - /** - * Sets the sendCount - * - * @param int $val The sendCount - * - * @return EmailActivityUserDetail - */ - public function setSendCount($val) - { - $this->_propDict["sendCount"] = intval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 EmailActivityUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $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 deleted file mode 100644 index 40e7a9a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAddress.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/EmailAppUsageAppsUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageAppsUserCounts.php deleted file mode 100644 index 627bafc2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageAppsUserCounts.php +++ /dev/null @@ -1,328 +0,0 @@ -_propDict)) { - return $this->_propDict["imap4App"]; - } else { - return null; - } - } - - /** - * Sets the imap4App - * - * @param int $val The imap4App - * - * @return EmailAppUsageAppsUserCounts - */ - public function setImap4App($val) - { - $this->_propDict["imap4App"] = intval($val); - return $this; - } - - /** - * Gets the mailForMac - * - * @return int The mailForMac - */ - public function getMailForMac() - { - if (array_key_exists("mailForMac", $this->_propDict)) { - return $this->_propDict["mailForMac"]; - } else { - return null; - } - } - - /** - * Sets the mailForMac - * - * @param int $val The mailForMac - * - * @return EmailAppUsageAppsUserCounts - */ - public function setMailForMac($val) - { - $this->_propDict["mailForMac"] = intval($val); - return $this; - } - - /** - * Gets the otherForMobile - * - * @return int The otherForMobile - */ - public function getOtherForMobile() - { - if (array_key_exists("otherForMobile", $this->_propDict)) { - return $this->_propDict["otherForMobile"]; - } else { - return null; - } - } - - /** - * Sets the otherForMobile - * - * @param int $val The otherForMobile - * - * @return EmailAppUsageAppsUserCounts - */ - public function setOtherForMobile($val) - { - $this->_propDict["otherForMobile"] = intval($val); - return $this; - } - - /** - * Gets the outlookForMac - * - * @return int The outlookForMac - */ - public function getOutlookForMac() - { - if (array_key_exists("outlookForMac", $this->_propDict)) { - return $this->_propDict["outlookForMac"]; - } else { - return null; - } - } - - /** - * Sets the outlookForMac - * - * @param int $val The outlookForMac - * - * @return EmailAppUsageAppsUserCounts - */ - public function setOutlookForMac($val) - { - $this->_propDict["outlookForMac"] = intval($val); - return $this; - } - - /** - * Gets the outlookForMobile - * - * @return int The outlookForMobile - */ - public function getOutlookForMobile() - { - if (array_key_exists("outlookForMobile", $this->_propDict)) { - return $this->_propDict["outlookForMobile"]; - } else { - return null; - } - } - - /** - * Sets the outlookForMobile - * - * @param int $val The outlookForMobile - * - * @return EmailAppUsageAppsUserCounts - */ - public function setOutlookForMobile($val) - { - $this->_propDict["outlookForMobile"] = intval($val); - return $this; - } - - /** - * Gets the outlookForWeb - * - * @return int The outlookForWeb - */ - public function getOutlookForWeb() - { - if (array_key_exists("outlookForWeb", $this->_propDict)) { - return $this->_propDict["outlookForWeb"]; - } else { - return null; - } - } - - /** - * Sets the outlookForWeb - * - * @param int $val The outlookForWeb - * - * @return EmailAppUsageAppsUserCounts - */ - public function setOutlookForWeb($val) - { - $this->_propDict["outlookForWeb"] = intval($val); - return $this; - } - - /** - * Gets the outlookForWindows - * - * @return int The outlookForWindows - */ - public function getOutlookForWindows() - { - if (array_key_exists("outlookForWindows", $this->_propDict)) { - return $this->_propDict["outlookForWindows"]; - } else { - return null; - } - } - - /** - * Sets the outlookForWindows - * - * @param int $val The outlookForWindows - * - * @return EmailAppUsageAppsUserCounts - */ - public function setOutlookForWindows($val) - { - $this->_propDict["outlookForWindows"] = intval($val); - return $this; - } - - /** - * Gets the pop3App - * - * @return int The pop3App - */ - public function getPop3App() - { - if (array_key_exists("pop3App", $this->_propDict)) { - return $this->_propDict["pop3App"]; - } else { - return null; - } - } - - /** - * Sets the pop3App - * - * @param int $val The pop3App - * - * @return EmailAppUsageAppsUserCounts - */ - public function setPop3App($val) - { - $this->_propDict["pop3App"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return EmailAppUsageAppsUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return EmailAppUsageAppsUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the smtpApp - * - * @return int The smtpApp - */ - public function getSmtpApp() - { - if (array_key_exists("smtpApp", $this->_propDict)) { - return $this->_propDict["smtpApp"]; - } else { - return null; - } - } - - /** - * Sets the smtpApp - * - * @param int $val The smtpApp - * - * @return EmailAppUsageAppsUserCounts - */ - public function setSmtpApp($val) - { - $this->_propDict["smtpApp"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageUserCounts.php deleted file mode 100644 index 7dc6ce88..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageUserCounts.php +++ /dev/null @@ -1,359 +0,0 @@ -_propDict)) { - return $this->_propDict["imap4App"]; - } else { - return null; - } - } - - /** - * Sets the imap4App - * - * @param int $val The imap4App - * - * @return EmailAppUsageUserCounts - */ - public function setImap4App($val) - { - $this->_propDict["imap4App"] = intval($val); - return $this; - } - - /** - * Gets the mailForMac - * - * @return int The mailForMac - */ - public function getMailForMac() - { - if (array_key_exists("mailForMac", $this->_propDict)) { - return $this->_propDict["mailForMac"]; - } else { - return null; - } - } - - /** - * Sets the mailForMac - * - * @param int $val The mailForMac - * - * @return EmailAppUsageUserCounts - */ - public function setMailForMac($val) - { - $this->_propDict["mailForMac"] = intval($val); - return $this; - } - - /** - * Gets the otherForMobile - * - * @return int The otherForMobile - */ - public function getOtherForMobile() - { - if (array_key_exists("otherForMobile", $this->_propDict)) { - return $this->_propDict["otherForMobile"]; - } else { - return null; - } - } - - /** - * Sets the otherForMobile - * - * @param int $val The otherForMobile - * - * @return EmailAppUsageUserCounts - */ - public function setOtherForMobile($val) - { - $this->_propDict["otherForMobile"] = intval($val); - return $this; - } - - /** - * Gets the outlookForMac - * - * @return int The outlookForMac - */ - public function getOutlookForMac() - { - if (array_key_exists("outlookForMac", $this->_propDict)) { - return $this->_propDict["outlookForMac"]; - } else { - return null; - } - } - - /** - * Sets the outlookForMac - * - * @param int $val The outlookForMac - * - * @return EmailAppUsageUserCounts - */ - public function setOutlookForMac($val) - { - $this->_propDict["outlookForMac"] = intval($val); - return $this; - } - - /** - * Gets the outlookForMobile - * - * @return int The outlookForMobile - */ - public function getOutlookForMobile() - { - if (array_key_exists("outlookForMobile", $this->_propDict)) { - return $this->_propDict["outlookForMobile"]; - } else { - return null; - } - } - - /** - * Sets the outlookForMobile - * - * @param int $val The outlookForMobile - * - * @return EmailAppUsageUserCounts - */ - public function setOutlookForMobile($val) - { - $this->_propDict["outlookForMobile"] = intval($val); - return $this; - } - - /** - * Gets the outlookForWeb - * - * @return int The outlookForWeb - */ - public function getOutlookForWeb() - { - if (array_key_exists("outlookForWeb", $this->_propDict)) { - return $this->_propDict["outlookForWeb"]; - } else { - return null; - } - } - - /** - * Sets the outlookForWeb - * - * @param int $val The outlookForWeb - * - * @return EmailAppUsageUserCounts - */ - public function setOutlookForWeb($val) - { - $this->_propDict["outlookForWeb"] = intval($val); - return $this; - } - - /** - * Gets the outlookForWindows - * - * @return int The outlookForWindows - */ - public function getOutlookForWindows() - { - if (array_key_exists("outlookForWindows", $this->_propDict)) { - return $this->_propDict["outlookForWindows"]; - } else { - return null; - } - } - - /** - * Sets the outlookForWindows - * - * @param int $val The outlookForWindows - * - * @return EmailAppUsageUserCounts - */ - public function setOutlookForWindows($val) - { - $this->_propDict["outlookForWindows"] = intval($val); - return $this; - } - - /** - * Gets the pop3App - * - * @return int The pop3App - */ - public function getPop3App() - { - if (array_key_exists("pop3App", $this->_propDict)) { - return $this->_propDict["pop3App"]; - } else { - return null; - } - } - - /** - * Sets the pop3App - * - * @param int $val The pop3App - * - * @return EmailAppUsageUserCounts - */ - public function setPop3App($val) - { - $this->_propDict["pop3App"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return EmailAppUsageUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return EmailAppUsageUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return EmailAppUsageUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the smtpApp - * - * @return int The smtpApp - */ - public function getSmtpApp() - { - if (array_key_exists("smtpApp", $this->_propDict)) { - return $this->_propDict["smtpApp"]; - } else { - return null; - } - } - - /** - * Sets the smtpApp - * - * @param int $val The smtpApp - * - * @return EmailAppUsageUserCounts - */ - public function setSmtpApp($val) - { - $this->_propDict["smtpApp"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageUserDetail.php deleted file mode 100644 index 81d8fe93..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageUserDetail.php +++ /dev/null @@ -1,471 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return EmailAppUsageUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 EmailAppUsageUserDetail - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the imap4App - * - * @return string The imap4App - */ - public function getImap4App() - { - if (array_key_exists("imap4App", $this->_propDict)) { - return $this->_propDict["imap4App"]; - } else { - return null; - } - } - - /** - * Sets the imap4App - * - * @param string $val The imap4App - * - * @return EmailAppUsageUserDetail - */ - public function setImap4App($val) - { - $this->_propDict["imap4App"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 EmailAppUsageUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return EmailAppUsageUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the mailForMac - * - * @return string The mailForMac - */ - public function getMailForMac() - { - if (array_key_exists("mailForMac", $this->_propDict)) { - return $this->_propDict["mailForMac"]; - } else { - return null; - } - } - - /** - * Sets the mailForMac - * - * @param string $val The mailForMac - * - * @return EmailAppUsageUserDetail - */ - public function setMailForMac($val) - { - $this->_propDict["mailForMac"] = $val; - return $this; - } - - /** - * Gets the otherForMobile - * - * @return string The otherForMobile - */ - public function getOtherForMobile() - { - if (array_key_exists("otherForMobile", $this->_propDict)) { - return $this->_propDict["otherForMobile"]; - } else { - return null; - } - } - - /** - * Sets the otherForMobile - * - * @param string $val The otherForMobile - * - * @return EmailAppUsageUserDetail - */ - public function setOtherForMobile($val) - { - $this->_propDict["otherForMobile"] = $val; - return $this; - } - - /** - * Gets the outlookForMac - * - * @return string The outlookForMac - */ - public function getOutlookForMac() - { - if (array_key_exists("outlookForMac", $this->_propDict)) { - return $this->_propDict["outlookForMac"]; - } else { - return null; - } - } - - /** - * Sets the outlookForMac - * - * @param string $val The outlookForMac - * - * @return EmailAppUsageUserDetail - */ - public function setOutlookForMac($val) - { - $this->_propDict["outlookForMac"] = $val; - return $this; - } - - /** - * Gets the outlookForMobile - * - * @return string The outlookForMobile - */ - public function getOutlookForMobile() - { - if (array_key_exists("outlookForMobile", $this->_propDict)) { - return $this->_propDict["outlookForMobile"]; - } else { - return null; - } - } - - /** - * Sets the outlookForMobile - * - * @param string $val The outlookForMobile - * - * @return EmailAppUsageUserDetail - */ - public function setOutlookForMobile($val) - { - $this->_propDict["outlookForMobile"] = $val; - return $this; - } - - /** - * Gets the outlookForWeb - * - * @return string The outlookForWeb - */ - public function getOutlookForWeb() - { - if (array_key_exists("outlookForWeb", $this->_propDict)) { - return $this->_propDict["outlookForWeb"]; - } else { - return null; - } - } - - /** - * Sets the outlookForWeb - * - * @param string $val The outlookForWeb - * - * @return EmailAppUsageUserDetail - */ - public function setOutlookForWeb($val) - { - $this->_propDict["outlookForWeb"] = $val; - return $this; - } - - /** - * Gets the outlookForWindows - * - * @return string The outlookForWindows - */ - public function getOutlookForWindows() - { - if (array_key_exists("outlookForWindows", $this->_propDict)) { - return $this->_propDict["outlookForWindows"]; - } else { - return null; - } - } - - /** - * Sets the outlookForWindows - * - * @param string $val The outlookForWindows - * - * @return EmailAppUsageUserDetail - */ - public function setOutlookForWindows($val) - { - $this->_propDict["outlookForWindows"] = $val; - return $this; - } - - /** - * Gets the pop3App - * - * @return string The pop3App - */ - public function getPop3App() - { - if (array_key_exists("pop3App", $this->_propDict)) { - return $this->_propDict["pop3App"]; - } else { - return null; - } - } - - /** - * Sets the pop3App - * - * @param string $val The pop3App - * - * @return EmailAppUsageUserDetail - */ - public function setPop3App($val) - { - $this->_propDict["pop3App"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return EmailAppUsageUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return EmailAppUsageUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the smtpApp - * - * @return string The smtpApp - */ - public function getSmtpApp() - { - if (array_key_exists("smtpApp", $this->_propDict)) { - return $this->_propDict["smtpApp"]; - } else { - return null; - } - } - - /** - * Sets the smtpApp - * - * @param string $val The smtpApp - * - * @return EmailAppUsageUserDetail - */ - public function setSmtpApp($val) - { - $this->_propDict["smtpApp"] = $val; - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 EmailAppUsageUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageVersionsUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageVersionsUserCounts.php deleted file mode 100644 index 640d0175..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAppUsageVersionsUserCounts.php +++ /dev/null @@ -1,274 +0,0 @@ -_propDict)) { - return $this->_propDict["outlook2007"]; - } else { - return null; - } - } - - /** - * Sets the outlook2007 - * - * @param int $val The outlook2007 - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setOutlook2007($val) - { - $this->_propDict["outlook2007"] = intval($val); - return $this; - } - - /** - * Gets the outlook2010 - * - * @return int The outlook2010 - */ - public function getOutlook2010() - { - if (array_key_exists("outlook2010", $this->_propDict)) { - return $this->_propDict["outlook2010"]; - } else { - return null; - } - } - - /** - * Sets the outlook2010 - * - * @param int $val The outlook2010 - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setOutlook2010($val) - { - $this->_propDict["outlook2010"] = intval($val); - return $this; - } - - /** - * Gets the outlook2013 - * - * @return int The outlook2013 - */ - public function getOutlook2013() - { - if (array_key_exists("outlook2013", $this->_propDict)) { - return $this->_propDict["outlook2013"]; - } else { - return null; - } - } - - /** - * Sets the outlook2013 - * - * @param int $val The outlook2013 - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setOutlook2013($val) - { - $this->_propDict["outlook2013"] = intval($val); - return $this; - } - - /** - * Gets the outlook2016 - * - * @return int The outlook2016 - */ - public function getOutlook2016() - { - if (array_key_exists("outlook2016", $this->_propDict)) { - return $this->_propDict["outlook2016"]; - } else { - return null; - } - } - - /** - * Sets the outlook2016 - * - * @param int $val The outlook2016 - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setOutlook2016($val) - { - $this->_propDict["outlook2016"] = intval($val); - return $this; - } - - /** - * Gets the outlook2019 - * - * @return int The outlook2019 - */ - public function getOutlook2019() - { - if (array_key_exists("outlook2019", $this->_propDict)) { - return $this->_propDict["outlook2019"]; - } else { - return null; - } - } - - /** - * Sets the outlook2019 - * - * @param int $val The outlook2019 - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setOutlook2019($val) - { - $this->_propDict["outlook2019"] = intval($val); - return $this; - } - - /** - * Gets the outlookM365 - * - * @return int The outlookM365 - */ - public function getOutlookM365() - { - if (array_key_exists("outlookM365", $this->_propDict)) { - return $this->_propDict["outlookM365"]; - } else { - return null; - } - } - - /** - * Sets the outlookM365 - * - * @param int $val The outlookM365 - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setOutlookM365($val) - { - $this->_propDict["outlookM365"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the undetermined - * - * @return int The undetermined - */ - public function getUndetermined() - { - if (array_key_exists("undetermined", $this->_propDict)) { - return $this->_propDict["undetermined"]; - } else { - return null; - } - } - - /** - * Sets the undetermined - * - * @param int $val The undetermined - * - * @return EmailAppUsageVersionsUserCounts - */ - public function setUndetermined($val) - { - $this->_propDict["undetermined"] = intval($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 deleted file mode 100644 index df424321..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethod.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 1197d571..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailAuthenticationMethodConfiguration.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowExternalIdToUseEmailOtp"], "\Beta\Microsoft\Graph\Model\ExternalEmailOtpState")) { - 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 March 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 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 deleted file mode 100644 index 929032aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailCertificateType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The destinationRoutingReason - */ - public function getDestinationRoutingReason() - { - if (array_key_exists("destinationRoutingReason", $this->_propDict)) { - if (is_a($this->_propDict["destinationRoutingReason"], "\Beta\Microsoft\Graph\Model\MailDestinationRoutingReason")) { - 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 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/EmailRole.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailRole.php deleted file mode 100644 index 6733737a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmailRole.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 005c4dc0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePool.php +++ /dev/null @@ -1,241 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 3211e824..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMActivationCodePoolAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 04d0dcbf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceState.php +++ /dev/null @@ -1,275 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\EmbeddedSIMDeviceStateValue")) { - 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 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 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 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 deleted file mode 100644 index c40f0331..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmbeddedSIMDeviceStateValue.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 The birthDate - */ - public function getBirthDate() - { - if (array_key_exists("birthDate", $this->_propDict)) { - if (is_a($this->_propDict["birthDate"], "\DateTime")) { - 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 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 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 The employmentDate - */ - public function getEmploymentDate() - { - if (array_key_exists("employmentDate", $this->_propDict)) { - if (is_a($this->_propDict["employmentDate"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 The terminationDate - */ - public function getTerminationDate() - { - if (array_key_exists("terminationDate", $this->_propDict)) { - if (is_a($this->_propDict["terminationDate"], "\DateTime")) { - 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 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 deleted file mode 100644 index c68e88c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EmployeeOrgData.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c8efc0ad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Enablement.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encryptWith"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 97a39224..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWith.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index 84101601..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptWithUserDefinedRights.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index 1f24827e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionReadinessState.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index 065d6ea6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EncryptionState.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 0d936485..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EndpointSecurityConfigurationApplicablePlatform.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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/EnrollmentProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentProfile.php deleted file mode 100644 index 35103a5d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentProfile.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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/EnrollmentRestrictionsConfigurationPolicySetItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentRestrictionsConfigurationPolicySetItem.php deleted file mode 100644 index efe2e4f7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentRestrictionsConfigurationPolicySetItem.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index ace23584..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnrollmentState.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The enrollmentType - */ - public function getEnrollmentType() - { - if (array_key_exists("enrollmentType", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentType"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentType")) { - 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 The failureCategory - */ - public function getFailureCategory() - { - if (array_key_exists("failureCategory", $this->_propDict)) { - if (is_a($this->_propDict["failureCategory"], "\Beta\Microsoft\Graph\Model\DeviceEnrollmentFailureReason")) { - 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 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 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 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 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 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 deleted file mode 100644 index a8171bc4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EnterpriseCodeSigningCertificate.php +++ /dev/null @@ -1,275 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CertificateStatus")) { - 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 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 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 The uploadDateTime - */ - public function getUploadDateTime() - { - if (array_key_exists("uploadDateTime", $this->_propDict)) { - if (is_a($this->_propDict["uploadDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index f173f5df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagement.php +++ /dev/null @@ -1,394 +0,0 @@ -_propDict)) { - return $this->_propDict["accessPackageAssignmentApprovals"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageAssignmentApprovals - * - * @param Approval $val The accessPackageAssignmentApprovals - * - * @return EntitlementManagement - */ - public function setAccessPackageAssignmentApprovals($val) - { - $this->_propDict["accessPackageAssignmentApprovals"] = $val; - return $this; - } - - - /** - * Gets the accessPackageAssignmentPolicies - * - * @return array The accessPackageAssignmentPolicies - */ - public function getAccessPackageAssignmentPolicies() - { - if (array_key_exists("accessPackageAssignmentPolicies", $this->_propDict)) { - return $this->_propDict["accessPackageAssignmentPolicies"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageAssignmentPolicies - * - * @param AccessPackageAssignmentPolicy $val The accessPackageAssignmentPolicies - * - * @return EntitlementManagement - */ - public function setAccessPackageAssignmentPolicies($val) - { - $this->_propDict["accessPackageAssignmentPolicies"] = $val; - return $this; - } - - - /** - * Gets the accessPackageAssignmentRequests - * - * @return array 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 EntitlementManagement - */ - public function setAccessPackageAssignmentRequests($val) - { - $this->_propDict["accessPackageAssignmentRequests"] = $val; - return $this; - } - - - /** - * Gets the accessPackageAssignmentResourceRoles - * - * @return array The accessPackageAssignmentResourceRoles - */ - public function getAccessPackageAssignmentResourceRoles() - { - if (array_key_exists("accessPackageAssignmentResourceRoles", $this->_propDict)) { - return $this->_propDict["accessPackageAssignmentResourceRoles"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageAssignmentResourceRoles - * - * @param AccessPackageAssignmentResourceRole $val The accessPackageAssignmentResourceRoles - * - * @return EntitlementManagement - */ - public function setAccessPackageAssignmentResourceRoles($val) - { - $this->_propDict["accessPackageAssignmentResourceRoles"] = $val; - return $this; - } - - - /** - * Gets the accessPackageAssignments - * - * @return array The accessPackageAssignments - */ - public function getAccessPackageAssignments() - { - if (array_key_exists("accessPackageAssignments", $this->_propDict)) { - return $this->_propDict["accessPackageAssignments"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageAssignments - * - * @param AccessPackageAssignment $val The accessPackageAssignments - * - * @return EntitlementManagement - */ - public function setAccessPackageAssignments($val) - { - $this->_propDict["accessPackageAssignments"] = $val; - return $this; - } - - - /** - * Gets the accessPackageCatalogs - * - * @return array The accessPackageCatalogs - */ - public function getAccessPackageCatalogs() - { - if (array_key_exists("accessPackageCatalogs", $this->_propDict)) { - return $this->_propDict["accessPackageCatalogs"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageCatalogs - * - * @param AccessPackageCatalog $val The accessPackageCatalogs - * - * @return EntitlementManagement - */ - public function setAccessPackageCatalogs($val) - { - $this->_propDict["accessPackageCatalogs"] = $val; - return $this; - } - - - /** - * Gets the accessPackageResourceEnvironments - * - * @return array The accessPackageResourceEnvironments - */ - public function getAccessPackageResourceEnvironments() - { - if (array_key_exists("accessPackageResourceEnvironments", $this->_propDict)) { - return $this->_propDict["accessPackageResourceEnvironments"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageResourceEnvironments - * - * @param AccessPackageResourceEnvironment $val The accessPackageResourceEnvironments - * - * @return EntitlementManagement - */ - public function setAccessPackageResourceEnvironments($val) - { - $this->_propDict["accessPackageResourceEnvironments"] = $val; - return $this; - } - - - /** - * Gets the accessPackageResourceRequests - * - * @return array The accessPackageResourceRequests - */ - public function getAccessPackageResourceRequests() - { - if (array_key_exists("accessPackageResourceRequests", $this->_propDict)) { - return $this->_propDict["accessPackageResourceRequests"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageResourceRequests - * - * @param AccessPackageResourceRequest $val The accessPackageResourceRequests - * - * @return EntitlementManagement - */ - public function setAccessPackageResourceRequests($val) - { - $this->_propDict["accessPackageResourceRequests"] = $val; - return $this; - } - - - /** - * Gets the accessPackageResourceRoleScopes - * - * @return array The accessPackageResourceRoleScopes - */ - public function getAccessPackageResourceRoleScopes() - { - if (array_key_exists("accessPackageResourceRoleScopes", $this->_propDict)) { - return $this->_propDict["accessPackageResourceRoleScopes"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageResourceRoleScopes - * - * @param AccessPackageResourceRoleScope $val The accessPackageResourceRoleScopes - * - * @return EntitlementManagement - */ - public function setAccessPackageResourceRoleScopes($val) - { - $this->_propDict["accessPackageResourceRoleScopes"] = $val; - return $this; - } - - - /** - * Gets the accessPackageResources - * - * @return array The accessPackageResources - */ - public function getAccessPackageResources() - { - if (array_key_exists("accessPackageResources", $this->_propDict)) { - return $this->_propDict["accessPackageResources"]; - } else { - return null; - } - } - - /** - * Sets the accessPackageResources - * - * @param AccessPackageResource $val The accessPackageResources - * - * @return EntitlementManagement - */ - public function setAccessPackageResources($val) - { - $this->_propDict["accessPackageResources"] = $val; - return $this; - } - - - /** - * Gets the accessPackages - * - * @return array The accessPackages - */ - public function getAccessPackages() - { - if (array_key_exists("accessPackages", $this->_propDict)) { - return $this->_propDict["accessPackages"]; - } else { - return null; - } - } - - /** - * Sets the accessPackages - * - * @param AccessPackage $val The accessPackages - * - * @return EntitlementManagement - */ - public function setAccessPackages($val) - { - $this->_propDict["accessPackages"] = $val; - return $this; - } - - - /** - * Gets the connectedOrganizations - * - * @return array The connectedOrganizations - */ - public function getConnectedOrganizations() - { - if (array_key_exists("connectedOrganizations", $this->_propDict)) { - return $this->_propDict["connectedOrganizations"]; - } else { - return null; - } - } - - /** - * Sets the connectedOrganizations - * - * @param ConnectedOrganization $val The connectedOrganizations - * - * @return EntitlementManagement - */ - public function setConnectedOrganizations($val) - { - $this->_propDict["connectedOrganizations"] = $val; - return $this; - } - - /** - * Gets the settings - * - * @return EntitlementManagementSettings The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\EntitlementManagementSettings")) { - return $this->_propDict["settings"]; - } else { - $this->_propDict["settings"] = new EntitlementManagementSettings($this->_propDict["settings"]); - return $this->_propDict["settings"]; - } - } - return null; - } - - /** - * Sets the settings - * - * @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 deleted file mode 100644 index 011d1973..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitlementManagementSettings.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 78d53cfe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Entity.php +++ /dev/null @@ -1,125 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new Entity - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 25531b99..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EntitySetNames.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The membershipRuleEvaluationDetails - */ - public function getMembershipRuleEvaluationDetails() - { - if (array_key_exists("membershipRuleEvaluationDetails", $this->_propDict)) { - if (is_a($this->_propDict["membershipRuleEvaluationDetails"], "\Beta\Microsoft\Graph\Model\ExpressionEvaluationDetails")) { - 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 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 deleted file mode 100644 index 96efd397..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["result"], "\Beta\Microsoft\Graph\Model\EvaluateLabelJobResultGroup")) { - 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 deleted file mode 100644 index 411106a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResult.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["responsiblePolicy"], "\Beta\Microsoft\Graph\Model\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 The responsibleSensitiveTypes - */ - public function getResponsibleSensitiveTypes() - { - if (array_key_exists("responsibleSensitiveTypes", $this->_propDict)) { - if (is_a($this->_propDict["responsibleSensitiveTypes"], "\Beta\Microsoft\Graph\Model\ResponsibleSensitiveType")) { - 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 The sensitivityLabel - */ - public function getSensitivityLabel() - { - if (array_key_exists("sensitivityLabel", $this->_propDict)) { - if (is_a($this->_propDict["sensitivityLabel"], "\Beta\Microsoft\Graph\Model\MatchingLabel")) { - 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 deleted file mode 100644 index fd99d2fe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateLabelJobResultGroup.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["automatic"], "\Beta\Microsoft\Graph\Model\EvaluateLabelJobResult")) { - 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 The recommended - */ - public function getRecommended() - { - if (array_key_exists("recommended", $this->_propDict)) { - if (is_a($this->_propDict["recommended"], "\Beta\Microsoft\Graph\Model\EvaluateLabelJobResult")) { - 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 deleted file mode 100644 index a9f91ac9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EvaluateSensitivityLabelsRequest.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["currentLabel"], "\Beta\Microsoft\Graph\Model\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 The discoveredSensitiveTypes - */ - public function getDiscoveredSensitiveTypes() - { - if (array_key_exists("discoveredSensitiveTypes", $this->_propDict)) { - if (is_a($this->_propDict["discoveredSensitiveTypes"], "\Beta\Microsoft\Graph\Model\DiscoveredSensitiveType")) { - 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 deleted file mode 100644 index 8beccb22..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Event.php +++ /dev/null @@ -1,1394 +0,0 @@ -_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 Event - */ - public function setAllowNewTimeProposals($val) - { - $this->_propDict["allowNewTimeProposals"] = boolval($val); - return $this; - } - - - /** - * Gets the attendees - * The collection of attendees for the event. - * - * @return array 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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 The end - */ - public function getEnd() - { - if (array_key_exists("end", $this->_propDict)) { - if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 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 - * The importance of the event. The possible values are: low, normal, high. - * - * @return Importance The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\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 event. The possible values are: low, normal, high. - * - * @param Importance $val The importance - * - * @return Event - */ - public function setImportance($val) - { - $this->_propDict["importance"] = $val; - return $this; - } - - /** - * Gets the isAllDay - * Set to true if the event lasts all day. - * - * @return bool The isAllDay - */ - public function getIsAllDay() - { - if (array_key_exists("isAllDay", $this->_propDict)) { - return $this->_propDict["isAllDay"]; - } else { - return null; - } - } - - /** - * Sets the isAllDay - * Set to true if the event lasts all day. - * - * @param bool $val The isAllDay - * - * @return Event - */ - public function setIsAllDay($val) - { - $this->_propDict["isAllDay"] = boolval($val); - return $this; - } - - /** - * Gets the isCancelled - * Set to true if the event has been canceled. - * - * @return bool The isCancelled - */ - public function getIsCancelled() - { - if (array_key_exists("isCancelled", $this->_propDict)) { - return $this->_propDict["isCancelled"]; - } else { - return null; - } - } - - /** - * Sets the isCancelled - * Set to true if the event has been canceled. - * - * @param bool $val The isCancelled - * - * @return Event - */ - public function setIsCancelled($val) - { - $this->_propDict["isCancelled"] = boolval($val); - return $this; - } - - /** - * Gets the isDraft - * Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees. - * - * @return bool The isDraft - */ - public function getIsDraft() - { - if (array_key_exists("isDraft", $this->_propDict)) { - return $this->_propDict["isDraft"]; - } else { - return null; - } - } - - /** - * Sets the isDraft - * Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees. - * - * @param bool $val The isDraft - * - * @return Event - */ - public function setIsDraft($val) - { - $this->_propDict["isDraft"] = boolval($val); - return $this; - } - - /** - * Gets the isOnlineMeeting - * True if this event has online meeting information, false otherwise. Default is false. Optional. - * - * @return bool The isOnlineMeeting - */ - public function getIsOnlineMeeting() - { - if (array_key_exists("isOnlineMeeting", $this->_propDict)) { - return $this->_propDict["isOnlineMeeting"]; - } else { - return null; - } - } - - /** - * Sets the isOnlineMeeting - * True if this event has online meeting information, false otherwise. Default is false. Optional. - * - * @param bool $val The isOnlineMeeting - * - * @return Event - */ - public function setIsOnlineMeeting($val) - { - $this->_propDict["isOnlineMeeting"] = boolval($val); - return $this; - } - - /** - * Gets the isOrganizer - * Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. - * - * @return bool The isOrganizer - */ - public function getIsOrganizer() - { - if (array_key_exists("isOrganizer", $this->_propDict)) { - return $this->_propDict["isOrganizer"]; - } else { - return null; - } - } - - /** - * Sets the isOrganizer - * Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. - * - * @param bool $val The isOrganizer - * - * @return Event - */ - public function setIsOrganizer($val) - { - $this->_propDict["isOrganizer"] = boolval($val); - return $this; - } - - /** - * Gets the isReminderOn - * Set to true if an alert is set to remind the user of the event. - * - * @return bool 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 event. - * - * @param bool $val The isReminderOn - * - * @return Event - */ - public function setIsReminderOn($val) - { - $this->_propDict["isReminderOn"] = boolval($val); - return $this; - } - - /** - * Gets the location - * The location of the event. - * - * @return Location The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\Location")) { - return $this->_propDict["location"]; - } else { - $this->_propDict["location"] = new Location($this->_propDict["location"]); - return $this->_propDict["location"]; - } - } - return null; - } - - /** - * Sets the location - * The location of the event. - * - * @param Location $val The location - * - * @return Event - */ - public function setLocation($val) - { - $this->_propDict["location"] = $val; - return $this; - } - - - /** - * Gets the locations - * The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. - * - * @return array The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - return $this->_propDict["locations"]; - } else { - return null; - } - } - - /** - * Sets the locations - * The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. - * - * @param Location $val The locations - * - * @return Event - */ - public function setLocations($val) - { - $this->_propDict["locations"] = $val; - return $this; - } - - /** - * Gets the occurrenceId - * - * @return string 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 - * Details for an attendee to join the meeting online. Read-only. - * - * @return OnlineMeetingInfo The onlineMeeting - */ - public function getOnlineMeeting() - { - if (array_key_exists("onlineMeeting", $this->_propDict)) { - if (is_a($this->_propDict["onlineMeeting"], "\Beta\Microsoft\Graph\Model\OnlineMeetingInfo")) { - return $this->_propDict["onlineMeeting"]; - } else { - $this->_propDict["onlineMeeting"] = new OnlineMeetingInfo($this->_propDict["onlineMeeting"]); - return $this->_propDict["onlineMeeting"]; - } - } - return null; - } - - /** - * Sets the onlineMeeting - * Details for an attendee to join the meeting online. Read-only. - * - * @param OnlineMeetingInfo $val The onlineMeeting - * - * @return Event - */ - public function setOnlineMeeting($val) - { - $this->_propDict["onlineMeeting"] = $val; - return $this; - } - - /** - * Gets the onlineMeetingProvider - * Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. - * - * @return OnlineMeetingProviderType The onlineMeetingProvider - */ - public function getOnlineMeetingProvider() - { - if (array_key_exists("onlineMeetingProvider", $this->_propDict)) { - if (is_a($this->_propDict["onlineMeetingProvider"], "\Beta\Microsoft\Graph\Model\OnlineMeetingProviderType")) { - return $this->_propDict["onlineMeetingProvider"]; - } else { - $this->_propDict["onlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["onlineMeetingProvider"]); - return $this->_propDict["onlineMeetingProvider"]; - } - } - return null; - } - - /** - * Sets the onlineMeetingProvider - * Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. - * - * @param OnlineMeetingProviderType $val The onlineMeetingProvider - * - * @return Event - */ - public function setOnlineMeetingProvider($val) - { - $this->_propDict["onlineMeetingProvider"] = $val; - return $this; - } - - /** - * Gets the onlineMeetingUrl - * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. - * - * @return string The onlineMeetingUrl - */ - public function getOnlineMeetingUrl() - { - if (array_key_exists("onlineMeetingUrl", $this->_propDict)) { - return $this->_propDict["onlineMeetingUrl"]; - } else { - return null; - } - } - - /** - * Sets the onlineMeetingUrl - * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. - * - * @param string $val The onlineMeetingUrl - * - * @return Event - */ - public function setOnlineMeetingUrl($val) - { - $this->_propDict["onlineMeetingUrl"] = $val; - return $this; - } - - /** - * Gets the organizer - * The organizer of the event. - * - * @return Recipient The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\Recipient")) { - return $this->_propDict["organizer"]; - } else { - $this->_propDict["organizer"] = new Recipient($this->_propDict["organizer"]); - return $this->_propDict["organizer"]; - } - } - return null; - } - - /** - * Sets the organizer - * The organizer of the event. - * - * @param Recipient $val The organizer - * - * @return Event - */ - public function setOrganizer($val) - { - $this->_propDict["organizer"] = $val; - return $this; - } - - /** - * Gets the originalEndTimeZone - * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @return string The originalEndTimeZone - */ - public function getOriginalEndTimeZone() - { - if (array_key_exists("originalEndTimeZone", $this->_propDict)) { - return $this->_propDict["originalEndTimeZone"]; - } else { - return null; - } - } - - /** - * Sets the originalEndTimeZone - * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @param string $val The originalEndTimeZone - * - * @return Event - */ - public function setOriginalEndTimeZone($val) - { - $this->_propDict["originalEndTimeZone"] = $val; - return $this; - } - - /** - * Gets the originalStart - * The Timestamp type represents date and time information 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 The originalStart - */ - public function getOriginalStart() - { - if (array_key_exists("originalStart", $this->_propDict)) { - if (is_a($this->_propDict["originalStart"], "\DateTime")) { - return $this->_propDict["originalStart"]; - } else { - $this->_propDict["originalStart"] = new \DateTime($this->_propDict["originalStart"]); - return $this->_propDict["originalStart"]; - } - } - return null; - } - - /** - * Sets the originalStart - * The Timestamp type represents date and time information 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 originalStart - * - * @return Event - */ - public function setOriginalStart($val) - { - $this->_propDict["originalStart"] = $val; - return $this; - } - - /** - * Gets the originalStartTimeZone - * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @return string The originalStartTimeZone - */ - public function getOriginalStartTimeZone() - { - if (array_key_exists("originalStartTimeZone", $this->_propDict)) { - return $this->_propDict["originalStartTimeZone"]; - } else { - return null; - } - } - - /** - * Sets the originalStartTimeZone - * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @param string $val The originalStartTimeZone - * - * @return Event - */ - public function setOriginalStartTimeZone($val) - { - $this->_propDict["originalStartTimeZone"] = $val; - return $this; - } - - /** - * Gets the recurrence - * The recurrence pattern for the event. - * - * @return PatternedRecurrence The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 event. - * - * @param PatternedRecurrence $val The recurrence - * - * @return Event - */ - public function setRecurrence($val) - { - $this->_propDict["recurrence"] = $val; - return $this; - } - - /** - * Gets the reminderMinutesBeforeStart - * The number of minutes before the event start time that the reminder alert occurs. - * - * @return int The reminderMinutesBeforeStart - */ - public function getReminderMinutesBeforeStart() - { - if (array_key_exists("reminderMinutesBeforeStart", $this->_propDict)) { - return $this->_propDict["reminderMinutesBeforeStart"]; - } else { - return null; - } - } - - /** - * Sets the reminderMinutesBeforeStart - * The number of minutes before the event start time that the reminder alert occurs. - * - * @param int $val The reminderMinutesBeforeStart - * - * @return Event - */ - public function setReminderMinutesBeforeStart($val) - { - $this->_propDict["reminderMinutesBeforeStart"] = intval($val); - return $this; - } - - /** - * Gets the responseRequested - * Default is true, which represents the organizer would like an invitee to send a response to the event. - * - * @return bool The responseRequested - */ - public function getResponseRequested() - { - if (array_key_exists("responseRequested", $this->_propDict)) { - return $this->_propDict["responseRequested"]; - } else { - return null; - } - } - - /** - * Sets the responseRequested - * Default is true, which represents the organizer would like an invitee to send a response to the event. - * - * @param bool $val The responseRequested - * - * @return Event - */ - public function setResponseRequested($val) - { - $this->_propDict["responseRequested"] = boolval($val); - return $this; - } - - /** - * Gets the responseStatus - * Indicates the type of response sent in response to an event message. - * - * @return ResponseStatus The responseStatus - */ - public function getResponseStatus() - { - if (array_key_exists("responseStatus", $this->_propDict)) { - if (is_a($this->_propDict["responseStatus"], "\Beta\Microsoft\Graph\Model\ResponseStatus")) { - return $this->_propDict["responseStatus"]; - } else { - $this->_propDict["responseStatus"] = new ResponseStatus($this->_propDict["responseStatus"]); - return $this->_propDict["responseStatus"]; - } - } - return null; - } - - /** - * Sets the responseStatus - * Indicates the type of response sent in response to an event message. - * - * @param ResponseStatus $val The responseStatus - * - * @return Event - */ - public function setResponseStatus($val) - { - $this->_propDict["responseStatus"] = $val; - return $this; - } - - /** - * Gets the sensitivity - * The possible values are: normal, personal, private, confidential. - * - * @return Sensitivity The sensitivity - */ - public function getSensitivity() - { - if (array_key_exists("sensitivity", $this->_propDict)) { - if (is_a($this->_propDict["sensitivity"], "\Beta\Microsoft\Graph\Model\Sensitivity")) { - return $this->_propDict["sensitivity"]; - } else { - $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); - return $this->_propDict["sensitivity"]; - } - } - return null; - } - - /** - * Sets the sensitivity - * The possible values are: normal, personal, private, confidential. - * - * @param Sensitivity $val The sensitivity - * - * @return Event - */ - public function setSensitivity($val) - { - $this->_propDict["sensitivity"] = $val; - return $this; - } - - /** - * Gets the seriesMasterId - * The ID for the recurring series master item, if this event is part of a recurring series. - * - * @return string The seriesMasterId - */ - public function getSeriesMasterId() - { - if (array_key_exists("seriesMasterId", $this->_propDict)) { - return $this->_propDict["seriesMasterId"]; - } else { - return null; - } - } - - /** - * Sets the seriesMasterId - * The ID for the recurring series master item, if this event is part of a recurring series. - * - * @param string $val The seriesMasterId - * - * @return Event - */ - public function setSeriesMasterId($val) - { - $this->_propDict["seriesMasterId"] = $val; - return $this; - } - - /** - * Gets the showAs - * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - * - * @return FreeBusyStatus The showAs - */ - public function getShowAs() - { - if (array_key_exists("showAs", $this->_propDict)) { - if (is_a($this->_propDict["showAs"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus")) { - return $this->_propDict["showAs"]; - } else { - $this->_propDict["showAs"] = new FreeBusyStatus($this->_propDict["showAs"]); - return $this->_propDict["showAs"]; - } - } - return null; - } - - /** - * Sets the showAs - * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - * - * @param FreeBusyStatus $val The showAs - * - * @return Event - */ - public function setShowAs($val) - { - $this->_propDict["showAs"] = $val; - return $this; - } - - /** - * Gets the start - * The date, time, and time zone that the event starts. By default, the start time is in UTC. - * - * @return DateTimeTimeZone The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 event starts. By default, the start time is in UTC. - * - * @param DateTimeTimeZone $val The start - * - * @return Event - */ - public function setStart($val) - { - $this->_propDict["start"] = $val; - return $this; - } - - /** - * Gets the subject - * The text of the event's subject line. - * - * @return string The subject - */ - public function getSubject() - { - if (array_key_exists("subject", $this->_propDict)) { - return $this->_propDict["subject"]; - } else { - return null; - } - } - - /** - * Sets the subject - * The text of the event's subject line. - * - * @param string $val The subject - * - * @return Event - */ - public function setSubject($val) - { - $this->_propDict["subject"] = $val; - return $this; - } - - /** - * Gets the transactionId - * A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional. - * - * @return string The transactionId - */ - public function getTransactionId() - { - if (array_key_exists("transactionId", $this->_propDict)) { - return $this->_propDict["transactionId"]; - } else { - return null; - } - } - - /** - * Sets the transactionId - * A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional. - * - * @param string $val The transactionId - * - * @return Event - */ - public function setTransactionId($val) - { - $this->_propDict["transactionId"] = $val; - return $this; - } - - /** - * Gets the type - * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. - * - * @return EventType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EventType")) { - return $this->_propDict["type"]; - } else { - $this->_propDict["type"] = new EventType($this->_propDict["type"]); - return $this->_propDict["type"]; - } - } - return null; - } - - /** - * Sets the type - * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. - * - * @param EventType $val The type - * - * @return Event - */ - public function setType($val) - { - $this->_propDict["type"] = $val; - return $this; - } - - /** - * Gets the uid - * - * @return string 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 - * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame. - * - * @return string The webLink - */ - public function getWebLink() - { - if (array_key_exists("webLink", $this->_propDict)) { - return $this->_propDict["webLink"]; - } else { - return null; - } - } - - /** - * Sets the webLink - * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame. - * - * @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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 deleted file mode 100644 index f7e44744..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessage.php +++ /dev/null @@ -1,333 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 - * True if this meeting request is accessible to a delegate, false otherwise. Default is false. - * - * @return bool The isDelegated - */ - public function getIsDelegated() - { - if (array_key_exists("isDelegated", $this->_propDict)) { - return $this->_propDict["isDelegated"]; - } else { - return null; - } - } - - /** - * Sets the isDelegated - * True if this meeting request is accessible to a delegate, false otherwise. Default is false. - * - * @param bool $val The isDelegated - * - * @return EventMessage - */ - public function setIsDelegated($val) - { - $this->_propDict["isDelegated"] = boolval($val); - return $this; - } - - /** - * Gets the isOutOfDate - * - * @return bool 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\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 - * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. - * - * @return MeetingMessageType The meetingMessageType - */ - public function getMeetingMessageType() - { - if (array_key_exists("meetingMessageType", $this->_propDict)) { - if (is_a($this->_propDict["meetingMessageType"], "\Beta\Microsoft\Graph\Model\MeetingMessageType")) { - return $this->_propDict["meetingMessageType"]; - } else { - $this->_propDict["meetingMessageType"] = new MeetingMessageType($this->_propDict["meetingMessageType"]); - return $this->_propDict["meetingMessageType"]; - } - } - return null; - } - - /** - * Sets the meetingMessageType - * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. - * - * @param MeetingMessageType $val The meetingMessageType - * - * @return EventMessage - */ - public function setMeetingMessageType($val) - { - $this->_propDict["meetingMessageType"] = $val; - return $this; - } - - /** - * Gets the recurrence - * - * @return PatternedRecurrence The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EventType")) { - 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 The event - */ - public function getEvent() - { - if (array_key_exists("event", $this->_propDict)) { - if (is_a($this->_propDict["event"], "\Beta\Microsoft\Graph\Model\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/EventMessageRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageRequest.php deleted file mode 100644 index a82ef177..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageRequest.php +++ /dev/null @@ -1,184 +0,0 @@ -_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 The previousEndDateTime - */ - public function getPreviousEndDateTime() - { - if (array_key_exists("previousEndDateTime", $this->_propDict)) { - if (is_a($this->_propDict["previousEndDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The previousLocation - */ - public function getPreviousLocation() - { - if (array_key_exists("previousLocation", $this->_propDict)) { - if (is_a($this->_propDict["previousLocation"], "\Beta\Microsoft\Graph\Model\Location")) { - 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 The previousStartDateTime - */ - public function getPreviousStartDateTime() - { - if (array_key_exists("previousStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["previousStartDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 deleted file mode 100644 index ea83c967..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventMessageResponse.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["proposedNewTime"], "\Beta\Microsoft\Graph\Model\TimeSlot")) { - 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 The responseType - */ - public function getResponseType() - { - if (array_key_exists("responseType", $this->_propDict)) { - if (is_a($this->_propDict["responseType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 8e4e4143..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EventType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 32e6c24f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationRequest.php +++ /dev/null @@ -1,135 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentClassifications"], "\Beta\Microsoft\Graph\Model\ContentClassification")) { - 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 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 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 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 deleted file mode 100644 index f18ccf25..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchClassificationResult.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\ExactMatchDetectedSensitiveContent")) { - 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 The errors - */ - public function getErrors() - { - if (array_key_exists("errors", $this->_propDict)) { - if (is_a($this->_propDict["errors"], "\Beta\Microsoft\Graph\Model\ClassificationError")) { - 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 deleted file mode 100644 index fd87b943..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDataStore.php +++ /dev/null @@ -1,168 +0,0 @@ -_propDict)) { - return $this->_propDict["columns"]; - } else { - return null; - } - } - - /** - * Sets the columns - * - * @param ExactDataMatchStoreColumn $val The columns - * - * @return ExactMatchDataStore - */ - public function setColumns($val) - { - $this->_propDict["columns"] = $val; - return $this; - } - - /** - * Gets the dataLastUpdatedDateTime - * - * @return \DateTime The dataLastUpdatedDateTime - */ - public function getDataLastUpdatedDateTime() - { - if (array_key_exists("dataLastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dataLastUpdatedDateTime"], "\DateTime")) { - 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 ExactMatchDataStore - */ - public function setDataLastUpdatedDateTime($val) - { - $this->_propDict["dataLastUpdatedDateTime"] = $val; - return $this; - } - - /** - * Gets the description - * - * @return string 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 ExactMatchDataStore - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 ExactMatchDataStore - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - - /** - * Gets the sessions - * - * @return array The sessions - */ - public function getSessions() - { - if (array_key_exists("sessions", $this->_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/ExactMatchDetectedSensitiveContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDetectedSensitiveContent.php deleted file mode 100644 index 0025c983..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchDetectedSensitiveContent.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["matches"], "\Beta\Microsoft\Graph\Model\ExactMatchSensitiveContentLocation")) { - return $this->_propDict["matches"]; - } else { - $this->_propDict["matches"] = new ExactMatchSensitiveContentLocation($this->_propDict["matches"]); - return $this->_propDict["matches"]; - } - } - return null; - } - - /** - * Sets the matches - * - * @param ExactMatchSensitiveContentLocation $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 deleted file mode 100644 index c136dc3b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchJobBase.php +++ /dev/null @@ -1,182 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completionDateTime"], "\DateTime")) { - 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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\ClassificationError")) { - 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 84f48292..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchLookupJob.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/ExactMatchSensitiveContentLocation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSensitiveContentLocation.php deleted file mode 100644 index d5bfe73e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchSensitiveContentLocation.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 datastoreId - * - * @return string The datastoreId - */ - public function getDatastoreId() - { - if (array_key_exists("datastoreId", $this->_propDict)) { - return $this->_propDict["datastoreId"]; - } else { - return null; - } - } - - /** - * Sets the datastoreId - * - * @param string $val The datastoreId - * - * @return ExactMatchSession - */ - public function setDatastoreId($val) - { - $this->_propDict["datastoreId"] = $val; - return $this; - } - - /** - * Gets the dataUploadURI - * - * @return string 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 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 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 processingCompletionDateTime - * - * @return \DateTime The processingCompletionDateTime - */ - public function getProcessingCompletionDateTime() - { - if (array_key_exists("processingCompletionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["processingCompletionDateTime"], "\DateTime")) { - 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 ExactMatchSession - */ - public function setProcessingCompletionDateTime($val) - { - $this->_propDict["processingCompletionDateTime"] = $val; - return $this; - } - - /** - * Gets the remainingBlockCount - * - * @return int 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 ExactMatchSession - */ - public function setRemainingBlockCount($val) - { - $this->_propDict["remainingBlockCount"] = intval($val); - return $this; - } - - /** - * Gets the remainingJobCount - * - * @return int 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 ExactMatchSession - */ - public function setRemainingJobCount($val) - { - $this->_propDict["remainingJobCount"] = intval($val); - return $this; - } - - /** - * Gets the rowsPerBlock - * - * @return int 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 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 state - * - * @return string 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 ExactMatchSession - */ - public function setState($val) - { - $this->_propDict["state"] = $val; - return $this; - } - - /** - * Gets the totalBlockCount - * - * @return int 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 ExactMatchSession - */ - public function setTotalBlockCount($val) - { - $this->_propDict["totalBlockCount"] = intval($val); - return $this; - } - - /** - * Gets the totalJobCount - * - * @return int 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 ExactMatchSession - */ - public function setTotalJobCount($val) - { - $this->_propDict["totalJobCount"] = intval($val); - return $this; - } - - /** - * Gets the uploadAgentId - * - * @return string 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 uploadCompletionDateTime - * - * @return \DateTime The uploadCompletionDateTime - */ - public function getUploadCompletionDateTime() - { - if (array_key_exists("uploadCompletionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["uploadCompletionDateTime"], "\DateTime")) { - 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 ExactMatchSession - */ - public function setUploadCompletionDateTime($val) - { - $this->_propDict["uploadCompletionDateTime"] = $val; - return $this; - } - - /** - * Gets the uploadAgent - * - * @return ExactMatchUploadAgent The uploadAgent - */ - public function getUploadAgent() - { - if (array_key_exists("uploadAgent", $this->_propDict)) { - if (is_a($this->_propDict["uploadAgent"], "\Beta\Microsoft\Graph\Model\ExactMatchUploadAgent")) { - 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/ExactMatchUploadAgent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchUploadAgent.php deleted file mode 100644 index 159a344f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExactMatchUploadAgent.php +++ /dev/null @@ -1,85 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index d4c92690..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExchangeIdFormat.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 7f7b40a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExclusionGroupAssignmentTarget.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index c9502b26..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPattern.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["duration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["duration"]; - } else { - $this->_propDict["duration"] = new Duration($this->_propDict["duration"]); - return $this->_propDict["duration"]; - } - } - return null; - } - - /** - * Sets the duration - * The requestor's desired duration of access. If specified in a request, endDateTime should not be present. - * - * @param Duration $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 - * The Timestamp type represents date and time information 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ExpirationPatternType")) { - 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 deleted file mode 100644 index 137dd455..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpirationPatternType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The expressionEvaluationDetails - */ - public function getExpressionEvaluationDetails() - { - if (array_key_exists("expressionEvaluationDetails", $this->_propDict)) { - if (is_a($this->_propDict["expressionEvaluationDetails"], "\Beta\Microsoft\Graph\Model\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 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 The propertyToEvaluate - */ - public function getPropertyToEvaluate() - { - if (array_key_exists("propertyToEvaluate", $this->_propDict)) { - if (is_a($this->_propDict["propertyToEvaluate"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 597318c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExpressionInputObject.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\ObjectDefinition")) { - 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 The expressionInputObjectProperties - */ - public function getExpressionInputObjectProperties() - { - if (array_key_exists("properties", $this->_propDict)) { - if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\StringKeyObjectValuePair")) { - 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 deleted file mode 100644 index b056e046..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtendedKeyUsage.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 4b564628..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Extension.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 sycned from onpremises directory using Azure AD Connect. Read-only. - * - * @return bool 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 sycned from onpremises 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 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 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 deleted file mode 100644 index 276cc58f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExtensionSchemaProperty.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index fb805ed3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/External.php +++ /dev/null @@ -1,55 +0,0 @@ -_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 deleted file mode 100644 index 1d17d9ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalAudienceScope.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ConnectionState")) { - 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 - * - * @return array 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 - * Read-only. Nullable. - * - * @return array 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 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 The schema - */ - public function getSchema() - { - if (array_key_exists("schema", $this->_propDict)) { - if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\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/Model/ExternalDomainFederation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainFederation.php deleted file mode 100644 index 5441d2bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalDomainFederation.php +++ /dev/null @@ -1,119 +0,0 @@ -setODataType("#microsoft.graph.externalDomainFederation"); - } - - /** - * Gets the displayName - * The name of the identity source, typically also the domain name. Read only. - * - * @return string 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 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 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/ExternalEmailOtpState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalEmailOtpState.php deleted file mode 100644 index 6637a8ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalEmailOtpState.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 ExternalGroupMember $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/Model/ExternalGroupMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalGroupMember.php deleted file mode 100644 index d3167384..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalGroupMember.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["identitySource"], "\Beta\Microsoft\Graph\Model\IdentitySourceType")) { - return $this->_propDict["identitySource"]; - } else { - $this->_propDict["identitySource"] = new IdentitySourceType($this->_propDict["identitySource"]); - return $this->_propDict["identitySource"]; - } - } - return null; - } - - /** - * Sets the identitySource - * The identity source that the member belongs to. Possible values are: azureActiveDirectory, external. - * - * @param IdentitySourceType $val The identitySource - * - * @return ExternalGroupMember - */ - public function setIdentitySource($val) - { - $this->_propDict["identitySource"] = $val; - return $this; - } - - /** - * Gets the type - * The type of member added to the external group. Possible values are: user or group when the identitySource is azureActiveDirectory and just group when the identitySource is external. - * - * @return ExternalGroupMemberType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ExternalGroupMemberType")) { - return $this->_propDict["type"]; - } else { - $this->_propDict["type"] = new ExternalGroupMemberType($this->_propDict["type"]); - return $this->_propDict["type"]; - } - } - return null; - } - - /** - * Sets the type - * The type of member added to the external group. Possible values are: user or group when the identitySource is azureActiveDirectory and just group when the identitySource is external. - * - * @param ExternalGroupMemberType $val The type - * - * @return ExternalGroupMember - */ - public function setType($val) - { - $this->_propDict["type"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalGroupMemberType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalGroupMemberType.php deleted file mode 100644 index 45f396ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalGroupMemberType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The content - */ - public function getContent() - { - if (array_key_exists("content", $this->_propDict)) { - if (is_a($this->_propDict["content"], "\Beta\Microsoft\Graph\Model\ExternalItemContent")) { - 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 The externalItemProperties - */ - public function getExternalItemProperties() - { - if (array_key_exists("properties", $this->_propDict)) { - if (is_a($this->_propDict["properties"], "\Beta\Microsoft\Graph\Model\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/Model/ExternalItemContent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContent.php deleted file mode 100644 index 2cccee02..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContent.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\ExternalItemContentType")) { - 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. 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 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/Model/ExternalItemContentType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContentType.php deleted file mode 100644 index d381b288..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalItemContentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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/ExternalSponsors.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalSponsors.php deleted file mode 100644 index 23dda93c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ExternalSponsors.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 The feature - */ - public function getFeature() - { - if (array_key_exists("feature", $this->_propDict)) { - if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\StagedFeatureName")) { - 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 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 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 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 deleted file mode 100644 index b7f3dc28..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FeatureType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The lastConfiguredDateTime - */ - public function getLastConfiguredDateTime() - { - if (array_key_exists("lastConfiguredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConfiguredDateTime"], "\DateTime")) { - 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 The lastUsedDateTime - */ - public function getLastUsedDateTime() - { - if (array_key_exists("lastUsedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUsedDateTime"], "\DateTime")) { - 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 The licenseAssigned - */ - public function getLicenseAssigned() - { - if (array_key_exists("licenseAssigned", $this->_propDict)) { - if (is_a($this->_propDict["licenseAssigned"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType")) { - 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 The licenseRequired - */ - public function getLicenseRequired() - { - if (array_key_exists("licenseRequired", $this->_propDict)) { - if (is_a($this->_propDict["licenseRequired"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType")) { - 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/Fido2AuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2AuthenticationMethod.php deleted file mode 100644 index b5235ee2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2AuthenticationMethod.php +++ /dev/null @@ -1,242 +0,0 @@ -_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 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 The attestationLevel - */ - public function getAttestationLevel() - { - if (array_key_exists("attestationLevel", $this->_propDict)) { - if (is_a($this->_propDict["attestationLevel"], "\Beta\Microsoft\Graph\Model\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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 - * The timestamp when this key was registered to the user. - * - * @return \DateTime The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 key was registered to the user. - * - * @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 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 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 deleted file mode 100644 index 1b692be0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2AuthenticationMethodConfiguration.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 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 The keyRestrictions - */ - public function getKeyRestrictions() - { - if (array_key_exists("keyRestrictions", $this->_propDict)) { - if (is_a($this->_propDict["keyRestrictions"], "\Beta\Microsoft\Graph\Model\Fido2KeyRestrictions")) { - 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 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 deleted file mode 100644 index 7e6585de..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2KeyRestrictions.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The enforcementType - */ - public function getEnforcementType() - { - if (array_key_exists("enforcementType", $this->_propDict)) { - if (is_a($this->_propDict["enforcementType"], "\Beta\Microsoft\Graph\Model\Fido2RestrictionEnforcementType")) { - 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 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 deleted file mode 100644 index 6c484532..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Fido2RestrictionEnforcementType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hashes"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index e7fcee04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAssessmentRequest.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index f83aeea3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileAttachment.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["contentBytes"]; - } else { - $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 4e77a9b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileClassificationRequest.php +++ /dev/null @@ -1,85 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["file"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["file"]; - } else { - $this->_propDict["file"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 3b2cfb2a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileEncryptionInfo.php +++ /dev/null @@ -1,247 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encryptionKey"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["encryptionKey"]; - } else { - $this->_propDict["encryptionKey"] = \GuzzleHttp\Psr7\stream_for($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 The fileDigest - */ - public function getFileDigest() - { - if (array_key_exists("fileDigest", $this->_propDict)) { - if (is_a($this->_propDict["fileDigest"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["fileDigest"]; - } else { - $this->_propDict["fileDigest"] = \GuzzleHttp\Psr7\stream_for($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 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 The initializationVector - */ - public function getInitializationVector() - { - if (array_key_exists("initializationVector", $this->_propDict)) { - if (is_a($this->_propDict["initializationVector"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["initializationVector"]; - } else { - $this->_propDict["initializationVector"] = \GuzzleHttp\Psr7\stream_for($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 The mac - */ - public function getMac() - { - if (array_key_exists("mac", $this->_propDict)) { - if (is_a($this->_propDict["mac"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["mac"]; - } else { - $this->_propDict["mac"] = \GuzzleHttp\Psr7\stream_for($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 The macKey - */ - public function getMacKey() - { - if (array_key_exists("macKey", $this->_propDict)) { - if (is_a($this->_propDict["macKey"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["macKey"]; - } else { - $this->_propDict["macKey"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 512bed2d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHash.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hashType"], "\Beta\Microsoft\Graph\Model\FileHashType")) { - 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 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 deleted file mode 100644 index fb16cda2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileHashType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 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 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 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 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 The firstSeenDateTime - */ - public function getFirstSeenDateTime() - { - if (array_key_exists("firstSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime")) { - 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 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 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 deleted file mode 100644 index 2fe6b774..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSecurityState.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fileHash"], "\Beta\Microsoft\Graph\Model\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 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 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 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 deleted file mode 100644 index e404c210..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileSystemInfo.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastAccessedDateTime - */ - public function getLastAccessedDateTime() - { - if (array_key_exists("lastAccessedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 5e0cd2ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FileVaultState.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["categoryFilterGroups"], "\Beta\Microsoft\Graph\Model\FilterGroup")) { - 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 The groups - */ - public function getGroups() - { - if (array_key_exists("groups", $this->_propDict)) { - if (is_a($this->_propDict["groups"], "\Beta\Microsoft\Graph\Model\FilterGroup")) { - 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 The inputFilterGroups - */ - public function getInputFilterGroups() - { - if (array_key_exists("inputFilterGroups", $this->_propDict)) { - if (is_a($this->_propDict["inputFilterGroups"], "\Beta\Microsoft\Graph\Model\FilterGroup")) { - 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 deleted file mode 100644 index b5f29763..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterClause.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The targetOperand - */ - public function getTargetOperand() - { - if (array_key_exists("targetOperand", $this->_propDict)) { - if (is_a($this->_propDict["targetOperand"], "\Beta\Microsoft\Graph\Model\FilterOperand")) { - 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 deleted file mode 100644 index 2e1b63bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterGroup.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["clauses"], "\Beta\Microsoft\Graph\Model\FilterClause")) { - 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 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 deleted file mode 100644 index 2e1adbed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterMode.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index bf875eed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FilterOperatorSchema.php +++ /dev/null @@ -1,123 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["arity"], "\Beta\Microsoft\Graph\Model\ScopeOperatorType")) { - 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 The multivaluedComparisonType - */ - public function getMultivaluedComparisonType() - { - if (array_key_exists("multivaluedComparisonType", $this->_propDict)) { - if (is_a($this->_propDict["multivaluedComparisonType"], "\Beta\Microsoft\Graph\Model\ScopeOperatorMultiValuedComparisonType")) { - 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 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 deleted file mode 100644 index 7dc2d756..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Financials.php +++ /dev/null @@ -1,124 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new Financials - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index c0709476..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FirewallCertificateRevocationListCheckMethodType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The view - */ - public function getView() - { - if (array_key_exists("view", $this->_propDict)) { - if (is_a($this->_propDict["view"], "\Beta\Microsoft\Graph\Model\FolderView")) { - 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 deleted file mode 100644 index 255659b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FolderProtectionType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 deleted file mode 100644 index 73932456..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlag.php +++ /dev/null @@ -1,158 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The flagStatus - */ - public function getFlagStatus() - { - if (array_key_exists("flagStatus", $this->_propDict)) { - if (is_a($this->_propDict["flagStatus"], "\Beta\Microsoft\Graph\Model\FollowupFlagStatus")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index 7cb36d64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FollowupFlagStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index eebc7137..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/FreeBusyStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 The creditAmount - */ - public function getCreditAmount() - { - if (array_key_exists("creditAmount", $this->_propDict)) { - if (is_a($this->_propDict["creditAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The debitAmount - */ - public function getDebitAmount() - { - if (array_key_exists("debitAmount", $this->_propDict)) { - if (is_a($this->_propDict["debitAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The postingDate - */ - public function getPostingDate() - { - if (array_key_exists("postingDate", $this->_propDict)) { - if (is_a($this->_propDict["postingDate"], "\DateTime")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index a8dd27f1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GenericError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 37addd5a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeoCoordinates.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 8cb36951..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GeolocationColumn.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The notificationTemplates - */ - public function getNotificationTemplates() - { - if (array_key_exists("notificationTemplates", $this->_propDict)) { - if (is_a($this->_propDict["notificationTemplates"], "\Beta\Microsoft\Graph\Model\GovernanceNotificationTemplate")) { - 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 deleted file mode 100644 index 730c2d8b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceNotificationTemplate.php +++ /dev/null @@ -1,156 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index c5fec5b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePermission.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 75a2acfc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicy.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["decisionMakerCriteria"], "\Beta\Microsoft\Graph\Model\GovernanceCriteria")) { - 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 The notificationPolicy - */ - public function getNotificationPolicy() - { - if (array_key_exists("notificationPolicy", $this->_propDict)) { - if (is_a($this->_propDict["notificationPolicy"], "\Beta\Microsoft\Graph\Model\GovernanceNotificationPolicy")) { - 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 deleted file mode 100644 index 61f73fc0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernancePolicyTemplate.php +++ /dev/null @@ -1,116 +0,0 @@ -_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 The policy - */ - public function getPolicy() - { - if (array_key_exists("policy", $this->_propDict)) { - if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\GovernancePolicy")) { - 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\BusinessFlowSettings")) { - 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 deleted file mode 100644 index 31ef317d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php +++ /dev/null @@ -1,358 +0,0 @@ -_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 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 The registeredDateTime - */ - public function getRegisteredDateTime() - { - if (array_key_exists("registeredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registeredDateTime"], "\DateTime")) { - 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 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 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 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 The parent - */ - public function getParent() - { - if (array_key_exists("parent", $this->_propDict)) { - if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\GovernanceResource")) { - 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 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 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 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 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 deleted file mode 100644 index dc6bb6db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignment.php +++ /dev/null @@ -1,455 +0,0 @@ -_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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 The linkedEligibleRoleAssignment - */ - public function getLinkedEligibleRoleAssignment() - { - if (array_key_exists("linkedEligibleRoleAssignment", $this->_propDict)) { - if (is_a($this->_propDict["linkedEligibleRoleAssignment"], "\Beta\Microsoft\Graph\Model\GovernanceRoleAssignment")) { - 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource")) { - 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 The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\GovernanceRoleDefinition")) { - 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 The subject - */ - public function getSubject() - { - if (array_key_exists("subject", $this->_propDict)) { - if (is_a($this->_propDict["subject"], "\Beta\Microsoft\Graph\Model\GovernanceSubject")) { - 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 deleted file mode 100644 index b79127b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequest.php +++ /dev/null @@ -1,428 +0,0 @@ -_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 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 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 The requestedDateTime - */ - public function getRequestedDateTime() - { - if (array_key_exists("requestedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["requestedDateTime"], "\DateTime")) { - 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 id of the resource which the role assignment request is associated with. - * - * @return string 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 request is associated with. - * - * @param string $val The resourceId - * - * @return GovernanceRoleAssignmentRequest - */ - public function setResourceId($val) - { - $this->_propDict["resourceId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * Required. The id of the role definition which the role assignment request is associated with. - * - * @return string 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 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 The schedule - */ - public function getSchedule() - { - if (array_key_exists("schedule", $this->_propDict)) { - if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\GovernanceSchedule")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\GovernanceRoleAssignmentRequestStatus")) { - 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 id of the subject which the role assignment request is associated with. - * - * @return string 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 request is associated with. - * - * @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 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource")) { - 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 The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\GovernanceRoleDefinition")) { - 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 The subject - */ - public function getSubject() - { - if (array_key_exists("subject", $this->_propDict)) { - if (is_a($this->_propDict["subject"], "\Beta\Microsoft\Graph\Model\GovernanceSubject")) { - 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 deleted file mode 100644 index c58d845d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleAssignmentRequestStatus.php +++ /dev/null @@ -1,109 +0,0 @@ -_propDict)) { - return $this->_propDict["status"]; - } else { - return null; - } - } - - /** - * Sets the status - * - * @param string $val The value of the status - * - * @return GovernanceRoleAssignmentRequestStatus - */ - public function setStatus($val) - { - $this->_propDict["status"] = $val; - return $this; - } - - /** - * Gets the statusDetails - * - * @return KeyValue The statusDetails - */ - public function getStatusDetails() - { - if (array_key_exists("statusDetails", $this->_propDict)) { - if (is_a($this->_propDict["statusDetails"], "\Beta\Microsoft\Graph\Model\KeyValue")) { - return $this->_propDict["statusDetails"]; - } else { - $this->_propDict["statusDetails"] = new KeyValue($this->_propDict["statusDetails"]); - return $this->_propDict["statusDetails"]; - } - } - return null; - } - - /** - * Sets the statusDetails - * - * @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 - * - * @return string The subStatus - */ - public function getSubStatus() - { - if (array_key_exists("subStatus", $this->_propDict)) { - return $this->_propDict["subStatus"]; - } else { - return null; - } - } - - /** - * Sets the subStatus - * - * @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 deleted file mode 100644 index 8f0c6daa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleDefinition.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 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 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource")) { - 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 The roleSetting - */ - public function getRoleSetting() - { - if (array_key_exists("roleSetting", $this->_propDict)) { - if (is_a($this->_propDict["roleSetting"], "\Beta\Microsoft\Graph\Model\GovernanceRoleSetting")) { - 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 deleted file mode 100644 index 48bd7841..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRoleSetting.php +++ /dev/null @@ -1,362 +0,0 @@ -_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 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 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 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 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 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 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 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\GovernanceResource")) { - 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 The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\GovernanceRoleDefinition")) { - 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 deleted file mode 100644 index 58111f00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceRuleSetting.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c9436ee3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSchedule.php +++ /dev/null @@ -1,153 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["duration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["duration"]; - } else { - $this->_propDict["duration"] = new Duration($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 Duration $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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 676464ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceSubject.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 80040497..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphList.php +++ /dev/null @@ -1,338 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * The displayable title of the list. - * - * @param string $val The displayName - * - * @return List - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the list - * Provides additional details about the list. - * - * @return ListInfo The list - */ - public function getList() - { - if (array_key_exists("list", $this->_propDict)) { - if (is_a($this->_propDict["list"], "\Beta\Microsoft\Graph\Model\ListInfo")) { - 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 List - */ - public function setList($val) - { - $this->_propDict["list"] = $val; - return $this; - } - - /** - * Gets the sharepointIds - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - * - * @return SharepointIds The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\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 List - */ - 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 The system - */ - public function getSystem() - { - if (array_key_exists("system", $this->_propDict)) { - if (is_a($this->_propDict["system"], "\Beta\Microsoft\Graph\Model\SystemFacet")) { - 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 List - */ - public function setSystem($val) - { - $this->_propDict["system"] = $val; - return $this; - } - - - /** - * Gets the activities - * The recent activities that took place within this list. - * - * @return array 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 List - */ - public function setActivities($val) - { - $this->_propDict["activities"] = $val; - return $this; - } - - - /** - * Gets the columns - * The collection of field definitions for this list. - * - * @return array 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 List - */ - public function setColumns($val) - { - $this->_propDict["columns"] = $val; - return $this; - } - - - /** - * Gets the contentTypes - * The collection of content types present in this list. - * - * @return array 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 List - */ - 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\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 List - */ - public function setDrive($val) - { - $this->_propDict["drive"] = $val; - return $this; - } - - - /** - * Gets the items - * All items contained in the list. - * - * @return array 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 List - */ - public function setItems($val) - { - $this->_propDict["items"] = $val; - return $this; - } - - - /** - * Gets the subscriptions - * The set of subscriptions on the list. - * - * @return array 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 List - */ - 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 deleted file mode 100644 index 7c7b417e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GraphPrint.php +++ /dev/null @@ -1,368 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new Print - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\PrintSettings")) { - 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 Print - */ - public function setSettings($val) - { - $this->_propDict["settings"] = $val; - return $this; - } - - - /** - * Gets the connectors - * The list of available print connectors. - * - * @return array 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 Print - */ - public function setConnectors($val) - { - $this->_propDict["connectors"] = $val; - return $this; - } - - - /** - * Gets the operations - * The list of print long running operations. - * - * @return array 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 Print - */ - public function setOperations($val) - { - $this->_propDict["operations"] = $val; - return $this; - } - - - /** - * Gets the printers - * The list of printers registered in the tenant. - * - * @return array 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 Print - */ - public function setPrinters($val) - { - $this->_propDict["printers"] = $val; - return $this; - } - - - /** - * Gets the printerShares - * - * @return array 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 Print - */ - public function setPrinterShares($val) - { - $this->_propDict["printerShares"] = $val; - return $this; - } - - /** - * Gets the reports - * - * @return ReportRoot The reports - */ - public function getReports() - { - if (array_key_exists("reports", $this->_propDict)) { - if (is_a($this->_propDict["reports"], "\Beta\Microsoft\Graph\Model\ReportRoot")) { - 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 Print - */ - public function setReports($val) - { - $this->_propDict["reports"] = $val; - return $this; - } - - - /** - * Gets the services - * The list of available Universal Print service endpoints. - * - * @return array 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 Print - */ - public function setServices($val) - { - $this->_propDict["services"] = $val; - return $this; - } - - - /** - * Gets the shares - * The list of printer shares registered in the tenant. - * - * @return array 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 Print - */ - 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 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 Print - */ - public function setTaskDefinitions($val) - { - $this->_propDict["taskDefinitions"] = $val; - return $this; - } - - /** - * Gets the ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index e1eb8226..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Group.php +++ /dev/null @@ -1,2295 +0,0 @@ -_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. Read-only. - * - * @return array 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. 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. Read-only. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. 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. - * - * @return string 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. - * - * @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. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby. - * - * @return string 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. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter 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. Read-only. - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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. 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. - * - * @return string 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. - * - * @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). - * - * @return bool 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). - * - * @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. - * - * @return string 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. - * - * @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 or not.This property can only be set while creating the group and is immutable. Only Global Administrator and Privileged Role Administrator roles can set this property. For more information, see Using a group to manage Azure AD role assignmentsReturned by default. - * - * @return bool 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 or not.This property can only be set while creating the group and is immutable. Only Global Administrator and Privileged Role Administrator roles can set this property. For more information, see Using a group to manage Azure AD role assignmentsReturned by default. - * - * @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 The licenseProcessingState - */ - public function getLicenseProcessingState() - { - if (array_key_exists("licenseProcessingState", $this->_propDict)) { - if (is_a($this->_propDict["licenseProcessingState"], "\Beta\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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. Returned by default. - * - * @return bool 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. Returned by default. - * - * @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 in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.&lt;&gt;,SPACE. Returned by default. Supports $filter. - * - * @return string 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 in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.&lt;&gt;,SPACE. Returned by default. Supports $filter. - * - * @param string $val The mailNickname - * - * @return Group - */ - public function setMailNickname($val) - { - $this->_propDict["mailNickname"] = $val; - return $this; - } - - /** - * Gets the mdmAppId - * - * @return string 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. - * - * @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 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. - * - * @return array 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. - * - * @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. Read-only. - * - * @return string 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. 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. Read-only. - * - * @return string 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. 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. - * - * @return bool 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. - * - * @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 group. For more information, see OneDrive Online Multi-Geo. Returned by default. - * - * @return string 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 group. For more information, see OneDrive Online Multi-Geo. 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. Read-only. - * - * @return \DateTime The renewedDateTime - */ - public function getRenewedDateTime() - { - if (array_key_exists("renewedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["renewedDateTime"], "\DateTime")) { - 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. 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 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. - * - * @return string 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. - * - * @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. Returned by default. Supports $filter. - * - * @return bool 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. Returned by default. Supports $filter. - * - * @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 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 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. See group visibility options to learn more. Returned by default. - * - * @return string 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. See group visibility options to learn more. Returned by default. - * - * @param string $val The visibility - * - * @return Group - */ - public function setVisibility($val) - { - $this->_propDict["visibility"] = $val; - return $this; - } - - /** - * Gets the accessType - * - * @return GroupAccessType The accessType - */ - public function getAccessType() - { - if (array_key_exists("accessType", $this->_propDict)) { - if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\GroupAccessType")) { - 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 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 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 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 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 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 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 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 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 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. Supports $filter. Read-only. - * - * @return MembershipRuleProcessingStatus The membershipRuleProcessingStatus - */ - public function getMembershipRuleProcessingStatus() - { - if (array_key_exists("membershipRuleProcessingStatus", $this->_propDict)) { - if (is_a($this->_propDict["membershipRuleProcessingStatus"], "\Beta\Microsoft\Graph\Model\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. Supports $filter. Read-only. - * - * @param MembershipRuleProcessingStatus $val The membershipRuleProcessingStatus - * - * @return Group - */ - public function setMembershipRuleProcessingStatus($val) - { - $this->_propDict["membershipRuleProcessingStatus"] = $val; - return $this; - } - - /** - * Gets the isArchived - * - * @return bool The isArchived - */ - public function getIsArchived() - { - if (array_key_exists("isArchived", $this->_propDict)) { - return $this->_propDict["isArchived"]; - } else { - return null; - } - } - - /** - * Sets the isArchived - * - * @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. - * - * @return array 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. - * - * @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 The createdOnBehalfOf - */ - public function getCreatedOnBehalfOf() - { - if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { - if (is_a($this->_propDict["createdOnBehalfOf"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - 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 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. - * - * @return array 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. - * - * @param DirectoryObject $val The memberOf - * - * @return Group - */ - public function setMemberOf($val) - { - $this->_propDict["memberOf"] = $val; - return $this; - } - - - /** - * Gets the members - * Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @return array The members - */ - public function getMembers() - { - if (array_key_exists("members", $this->_propDict)) { - return $this->_propDict["members"]; - } else { - return null; - } - } - - /** - * Sets the members - * Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @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 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. The owners are a set of non-admin users who are allowed to modify this object. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @return array 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. The owners are a set of non-admin users who are allowed to modify this object. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @param DirectoryObject $val The owners - * - * @return Group - */ - public function setOwners($val) - { - $this->_propDict["owners"] = $val; - return $this; - } - - - /** - * Gets the permissionGrants - * - * @return array The permissionGrants - */ - public function getPermissionGrants() - { - if (array_key_exists("permissionGrants", $this->_propDict)) { - return $this->_propDict["permissionGrants"]; - } else { - return null; - } - } - - /** - * Sets the permissionGrants - * - * @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 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 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 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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 The planner - */ - public function getPlanner() - { - if (array_key_exists("planner", $this->_propDict)) { - if (is_a($this->_propDict["planner"], "\Beta\Microsoft\Graph\Model\PlannerGroup")) { - 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 The onenote - */ - public function getOnenote() - { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "\Beta\Microsoft\Graph\Model\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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto")) { - 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 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 - * - * @return Team The team - */ - public function getTeam() - { - if (array_key_exists("team", $this->_propDict)) { - if (is_a($this->_propDict["team"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 84ce8623..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupAccessType.php +++ /dev/null @@ -1,36 +0,0 @@ -setODataType("#microsoft.graph.groupAssignmentTarget"); - } - - /** - * Gets the groupId - * The group Id that is the target of the assignment. - * - * @return string 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 deleted file mode 100644 index 8ef224b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupLifecyclePolicy.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index 781e9bd6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembers.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 8865a0ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupMembershipGovernanceCriteria.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 3ef342b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyCategory.php +++ /dev/null @@ -1,244 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The definitionFile - */ - public function getDefinitionFile() - { - if (array_key_exists("definitionFile", $this->_propDict)) { - if (is_a($this->_propDict["definitionFile"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionFile")) { - 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 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 The parent - */ - public function getParent() - { - if (array_key_exists("parent", $this->_propDict)) { - if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\GroupPolicyCategory")) { - 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 deleted file mode 100644 index 6d14eab4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfiguration.php +++ /dev/null @@ -1,240 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index bcf88fe7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationAssignment.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index be74dfb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyConfigurationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The classType - */ - public function getClassType() - { - if (array_key_exists("classType", $this->_propDict)) { - if (is_a($this->_propDict["classType"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionClassType")) { - 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 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 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 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 lastModifiedDateTime - * The date and time the entity was last modified. - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 policyType - * Specifies the type of group policy. Possible values are: admxBacked, admxIngested. - * - * @return GroupPolicyType The policyType - */ - public function getPolicyType() - { - if (array_key_exists("policyType", $this->_propDict)) { - if (is_a($this->_propDict["policyType"], "\Beta\Microsoft\Graph\Model\GroupPolicyType")) { - 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 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 category - * The group policy category associated with the definition. - * - * @return GroupPolicyCategory The category - */ - public function getCategory() - { - if (array_key_exists("category", $this->_propDict)) { - if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\GroupPolicyCategory")) { - 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 The definitionFile - */ - public function getDefinitionFile() - { - if (array_key_exists("definitionFile", $this->_propDict)) { - if (is_a($this->_propDict["definitionFile"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionFile")) { - 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 presentations - * The group policy presentations associated with the definition. - * - * @return array 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; - } - -} 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 deleted file mode 100644 index 1bd468b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionClassType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 languageCodes - * The supported language codes for the ADMX file. - * - * @return string 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The policyType - */ - public function getPolicyType() - { - if (array_key_exists("policyType", $this->_propDict)) { - if (is_a($this->_propDict["policyType"], "\Beta\Microsoft\Graph\Model\GroupPolicyType")) { - 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 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 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 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 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 deleted file mode 100644 index 7b372a3d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyDefinitionValue.php +++ /dev/null @@ -1,218 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configurationType"], "\Beta\Microsoft\Graph\Model\GroupPolicyConfigurationType")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition")) { - 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 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 deleted file mode 100644 index aba54ab8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyMigrationReadiness.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The groupPolicyCreatedDateTime - */ - public function getGroupPolicyCreatedDateTime() - { - if (array_key_exists("groupPolicyCreatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["groupPolicyCreatedDateTime"], "\DateTime")) { - 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 The groupPolicyLastModifiedDateTime - */ - public function getGroupPolicyLastModifiedDateTime() - { - if (array_key_exists("groupPolicyLastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["groupPolicyLastModifiedDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The migrationReadiness - */ - public function getMigrationReadiness() - { - if (array_key_exists("migrationReadiness", $this->_propDict)) { - if (is_a($this->_propDict["migrationReadiness"], "\Beta\Microsoft\Graph\Model\GroupPolicyMigrationReadiness")) { - 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 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 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 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 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 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 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 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 deleted file mode 100644 index 6590740d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyObjectFile.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index faa2f80d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperation.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The operationStatus - */ - public function getOperationStatus() - { - if (array_key_exists("operationStatus", $this->_propDict)) { - if (is_a($this->_propDict["operationStatus"], "\Beta\Microsoft\Graph\Model\GroupPolicyOperationStatus")) { - 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\GroupPolicyOperationType")) { - 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 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 deleted file mode 100644 index 43c1e411..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyOperationStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition")) { - 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 deleted file mode 100644 index 4d41658e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationCheckBox.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index bb436feb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationComboBox.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 1e7f9668..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDecimalTextBox.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 88fde650..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownList.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["defaultItem"], "\Beta\Microsoft\Graph\Model\GroupPolicyPresentationDropdownListItem")) { - 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 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 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 deleted file mode 100644 index 97b4c362..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationDropdownListItem.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 671e8f0d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationListBox.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index d80c5d64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationLongDecimalTextBox.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index b5bbdc3a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationMultiTextBox.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index d7a3ed5e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationText.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 deleted file mode 100644 index 02942bf3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValue.php +++ /dev/null @@ -1,159 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The definitionValue - */ - public function getDefinitionValue() - { - if (array_key_exists("definitionValue", $this->_propDict)) { - if (is_a($this->_propDict["definitionValue"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinitionValue")) { - 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 The presentation - */ - public function getPresentation() - { - if (array_key_exists("presentation", $this->_propDict)) { - if (is_a($this->_propDict["presentation"], "\Beta\Microsoft\Graph\Model\GroupPolicyPresentation")) { - 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 deleted file mode 100644 index a4918b8e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueBoolean.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 56415609..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueDecimal.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 98c0587c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueList.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index aba60adf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueLongDecimal.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index f31ba484..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueMultiText.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index d2e57071..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyPresentationValueText.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 8275707a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingMapping.php +++ /dev/null @@ -1,619 +0,0 @@ -_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 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 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 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 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 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 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 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 The mdmSupportedState - */ - public function getMdmSupportedState() - { - if (array_key_exists("mdmSupportedState", $this->_propDict)) { - if (is_a($this->_propDict["mdmSupportedState"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 The settingScope - */ - public function getSettingScope() - { - if (array_key_exists("settingScope", $this->_propDict)) { - if (is_a($this->_propDict["settingScope"], "\Beta\Microsoft\Graph\Model\GroupPolicySettingScope")) { - 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. - * - * @return GroupPolicySettingType The settingType - */ - public function getSettingType() - { - if (array_key_exists("settingType", $this->_propDict)) { - if (is_a($this->_propDict["settingType"], "\Beta\Microsoft\Graph\Model\GroupPolicySettingType")) { - 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. - * - * @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 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 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 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 deleted file mode 100644 index 741bf90e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicySettingScope.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 fileName - * The file name of the uploaded ADML file. - * - * @return string 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 fileName - * - * @return GroupPolicyUploadedDefinitionFile - */ - public function setFileName($val) - { - $this->_propDict["fileName"] = $val; - return $this; - } - - - /** - * Gets the groupPolicyUploadedLanguageFiles - * The list of ADML files associated with the uploaded ADMX file. - * - * @return array 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\GroupPolicyUploadedDefinitionFileStatus")) { - 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 The uploadDateTime - */ - public function getUploadDateTime() - { - if (array_key_exists("uploadDateTime", $this->_propDict)) { - if (is_a($this->_propDict["uploadDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index a3709c82..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPolicyUploadedDefinitionFileStatus.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index ec9c6ee2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrintUsageSummary.php +++ /dev/null @@ -1,161 +0,0 @@ -_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 The group - */ - public function getGroup() - { - if (array_key_exists("group", $this->_propDict)) { - if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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 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 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 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 deleted file mode 100644 index 29443eaa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GroupPrivacy.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 The deviceGuardLocalSystemAuthorityCredentialGuardState - */ - public function getDeviceGuardLocalSystemAuthorityCredentialGuardState() - { - if (array_key_exists("deviceGuardLocalSystemAuthorityCredentialGuardState", $this->_propDict)) { - if (is_a($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardState"], "\Beta\Microsoft\Graph\Model\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 The deviceGuardVirtualizationBasedSecurityHardwareRequirementState - */ - public function getDeviceGuardVirtualizationBasedSecurityHardwareRequirementState() - { - if (array_key_exists("deviceGuardVirtualizationBasedSecurityHardwareRequirementState", $this->_propDict)) { - if (is_a($this->_propDict["deviceGuardVirtualizationBasedSecurityHardwareRequirementState"], "\Beta\Microsoft\Graph\Model\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 The deviceGuardVirtualizationBasedSecurityState - */ - public function getDeviceGuardVirtualizationBasedSecurityState() - { - if (array_key_exists("deviceGuardVirtualizationBasedSecurityState", $this->_propDict)) { - if (is_a($this->_propDict["deviceGuardVirtualizationBasedSecurityState"], "\Beta\Microsoft\Graph\Model\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 freeStorageSpace - * Free storage space of the device. - * - * @return int 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The sharedDeviceCachedUsers - */ - public function getSharedDeviceCachedUsers() - { - if (array_key_exists("sharedDeviceCachedUsers", $this->_propDict)) { - if (is_a($this->_propDict["sharedDeviceCachedUsers"], "\Beta\Microsoft\Graph\Model\SharedAppleDeviceUser")) { - 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 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 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 totalStorageSpace - * Total storage space of the device. - * - * @return int 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 tpmSpecificationVersion - * String that specifies the specification version. - * - * @return string 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 wifiMac - * WiFi MAC address of the device - * - * @return string 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 deleted file mode 100644 index 01e1a29b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HasPayloadLinkResultItem.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The sources - */ - public function getSources() - { - if (array_key_exists("sources", $this->_propDict)) { - if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 deleted file mode 100644 index 506932da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HashAlgorithms.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index acedafea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HealthState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The firstSeenDateTime - */ - public function getFirstSeenDateTime() - { - if (array_key_exists("firstSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime")) { - 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 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 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 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 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 45e765dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HostSecurityState.php +++ /dev/null @@ -1,274 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 9365ca05..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HybridAgentUpdaterConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The deferUpdateDateTime - */ - public function getDeferUpdateDateTime() - { - if (array_key_exists("deferUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deferUpdateDateTime"], "\DateTime")) { - 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 The updateWindow - */ - public function getUpdateWindow() - { - if (array_key_exists("updateWindow", $this->_propDict)) { - if (is_a($this->_propDict["updateWindow"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c915be45..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/HyperlinkOrPictureColumn.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 47e73837..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4CidrRange.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iPv4CidrRange"); - } - - /** - * Gets the cidrAddress - * IPv4 address in CIDR notation - * - * @return string 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 - * - * @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 deleted file mode 100644 index 55b16afd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv4Range.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.iPv4Range"); - } - - /** - * Gets the lowerAddress - * Lower address. - * - * @return string 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 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 deleted file mode 100644 index 260be871..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6CidrRange.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iPv6CidrRange"); - } - - /** - * Gets the cidrAddress - * IPv6 address in CIDR notation - * - * @return string 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 - * - * @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 deleted file mode 100644 index 0fe68e79..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IPv6Range.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.iPv6Range"); - } - - /** - * Gets the lowerAddress - * Lower address. - * - * @return string 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 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 deleted file mode 100644 index 3f01f0d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ITunesPairingMode.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index 69e043e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityApiConnector.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationConfiguration"], "\Beta\Microsoft\Graph\Model\ApiAuthenticationConfigurationBase")) { - 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 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 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 deleted file mode 100644 index 4102f906..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityBuiltInUserFlowAttribute.php +++ /dev/null @@ -1,27 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new IdentityContainer - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the IdentityContainer - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - /** - * Gets the conditionalAccess - * - * @return ConditionalAccessRoot The conditionalAccess - */ - public function getConditionalAccess() - { - if (array_key_exists("conditionalAccess", $this->_propDict)) { - if (is_a($this->_propDict["conditionalAccess"], "\Beta\Microsoft\Graph\Model\ConditionalAccessRoot")) { - return $this->_propDict["conditionalAccess"]; - } else { - $this->_propDict["conditionalAccess"] = new ConditionalAccessRoot($this->_propDict["conditionalAccess"]); - return $this->_propDict["conditionalAccess"]; - } - } - return null; - } - - /** - * Sets the conditionalAccess - * - * @param ConditionalAccessRoot $val The conditionalAccess - * - * @return IdentityContainer - */ - public function setConditionalAccess($val) - { - $this->_propDict["conditionalAccess"] = $val; - return $this; - } - - - /** - * Gets the apiConnectors - * - * @return array The apiConnectors - */ - public function getApiConnectors() - { - if (array_key_exists("apiConnectors", $this->_propDict)) { - return $this->_propDict["apiConnectors"]; - } else { - return null; - } - } - - /** - * Sets the apiConnectors - * - * @param IdentityApiConnector $val The apiConnectors - * - * @return IdentityContainer - */ - public function setApiConnectors($val) - { - $this->_propDict["apiConnectors"] = $val; - return $this; - } - - - /** - * Gets the b2cUserFlows - * - * @return array The b2cUserFlows - */ - public function getB2cUserFlows() - { - if (array_key_exists("b2cUserFlows", $this->_propDict)) { - return $this->_propDict["b2cUserFlows"]; - } else { - return null; - } - } - - /** - * Sets the b2cUserFlows - * - * @param B2cIdentityUserFlow $val The b2cUserFlows - * - * @return IdentityContainer - */ - public function setB2cUserFlows($val) - { - $this->_propDict["b2cUserFlows"] = $val; - return $this; - } - - - /** - * Gets the b2xUserFlows - * - * @return array The b2xUserFlows - */ - public function getB2xUserFlows() - { - if (array_key_exists("b2xUserFlows", $this->_propDict)) { - return $this->_propDict["b2xUserFlows"]; - } else { - return null; - } - } - - /** - * Sets the b2xUserFlows - * - * @param B2xIdentityUserFlow $val The b2xUserFlows - * - * @return IdentityContainer - */ - public function setB2xUserFlows($val) - { - $this->_propDict["b2xUserFlows"] = $val; - return $this; - } - - - /** - * Gets the userFlowAttributes - * - * @return array The userFlowAttributes - */ - public function getUserFlowAttributes() - { - if (array_key_exists("userFlowAttributes", $this->_propDict)) { - return $this->_propDict["userFlowAttributes"]; - } else { - return null; - } - } - - /** - * Sets the userFlowAttributes - * - * @param IdentityUserFlowAttribute $val The userFlowAttributes - * - * @return IdentityContainer - */ - public function setUserFlowAttributes($val) - { - $this->_propDict["userFlowAttributes"] = $val; - return $this; - } - - - /** - * Gets the userFlows - * - * @return array 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 - * - * @return ContinuousAccessEvaluationPolicy The continuousAccessEvaluationPolicy - */ - public function getContinuousAccessEvaluationPolicy() - { - if (array_key_exists("continuousAccessEvaluationPolicy", $this->_propDict)) { - if (is_a($this->_propDict["continuousAccessEvaluationPolicy"], "\Beta\Microsoft\Graph\Model\ContinuousAccessEvaluationPolicy")) { - return $this->_propDict["continuousAccessEvaluationPolicy"]; - } else { - $this->_propDict["continuousAccessEvaluationPolicy"] = new ContinuousAccessEvaluationPolicy($this->_propDict["continuousAccessEvaluationPolicy"]); - return $this->_propDict["continuousAccessEvaluationPolicy"]; - } - } - return null; - } - - /** - * Sets the continuousAccessEvaluationPolicy - * - * @param ContinuousAccessEvaluationPolicy $val The continuousAccessEvaluationPolicy - * - * @return IdentityContainer - */ - public function setContinuousAccessEvaluationPolicy($val) - { - $this->_propDict["continuousAccessEvaluationPolicy"] = $val; - return $this; - } - - /** - * Gets the ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 4d1fdfa0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityCustomUserFlowAttribute.php +++ /dev/null @@ -1,27 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new IdentityGovernance - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 The accessReviews - */ - public function getAccessReviews() - { - if (array_key_exists("accessReviews", $this->_propDict)) { - if (is_a($this->_propDict["accessReviews"], "\Beta\Microsoft\Graph\Model\AccessReviewSet")) { - 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 The appConsent - */ - public function getAppConsent() - { - if (array_key_exists("appConsent", $this->_propDict)) { - if (is_a($this->_propDict["appConsent"], "\Beta\Microsoft\Graph\Model\AppConsentApprovalRoute")) { - 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 The termsOfUse - */ - public function getTermsOfUse() - { - if (array_key_exists("termsOfUse", $this->_propDict)) { - if (is_a($this->_propDict["termsOfUse"], "\Beta\Microsoft\Graph\Model\TermsOfUseContainer")) { - 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 The entitlementManagement - */ - public function getEntitlementManagement() - { - if (array_key_exists("entitlementManagement", $this->_propDict)) { - if (is_a($this->_propDict["entitlementManagement"], "\Beta\Microsoft\Graph\Model\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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index f8212ba4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProtectionRoot.php +++ /dev/null @@ -1,152 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new IdentityProtectionRoot - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the IdentityProtectionRoot - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - - /** - * Gets the riskDetections - * - * @return array The riskDetections - */ - public function getRiskDetections() - { - if (array_key_exists("riskDetections", $this->_propDict)) { - return $this->_propDict["riskDetections"]; - } else { - return null; - } - } - - /** - * Sets the riskDetections - * - * @param RiskDetection $val The riskDetections - * - * @return IdentityProtectionRoot - */ - public function setRiskDetections($val) - { - $this->_propDict["riskDetections"] = $val; - return $this; - } - - - /** - * Gets the riskyUsers - * - * @return array The riskyUsers - */ - public function getRiskyUsers() - { - if (array_key_exists("riskyUsers", $this->_propDict)) { - return $this->_propDict["riskyUsers"]; - } else { - return null; - } - } - - /** - * Sets the riskyUsers - * - * @param RiskyUser $val The riskyUsers - * - * @return IdentityProtectionRoot - */ - public function setRiskyUsers($val) - { - $this->_propDict["riskyUsers"] = $val; - return $this; - } - - /** - * Gets the ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index b1fafbd2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityProvider.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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/IdentitySecurityDefaultsEnforcementPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php deleted file mode 100644 index 089e34a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySecurityDefaultsEnforcementPolicy.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index eb511501..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySet.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["application"]; - } else { - $this->_propDict["application"] = new Identity($this->_propDict["application"]); - return $this->_propDict["application"]; - } - } - return null; - } - - /** - * Sets the application - * Optional. The application associated with this action. - * - * @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 - * Optional. The device associated with this action. - * - * @return Identity The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["device"]; - } else { - $this->_propDict["device"] = new Identity($this->_propDict["device"]); - return $this->_propDict["device"]; - } - } - return null; - } - - /** - * Sets the device - * Optional. The device associated with this action. - * - * @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 - * Optional. The user associated with this action. - * - * @return Identity The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["user"]; - } else { - $this->_propDict["user"] = new Identity($this->_propDict["user"]); - return $this->_propDict["user"]; - } - } - return null; - } - - /** - * Sets the user - * Optional. The user associated with this action. - * - * @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 deleted file mode 100644 index 362ad716..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentitySource.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["userFlowType"], "\Beta\Microsoft\Graph\Model\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 Single The userFlowTypeVersion - */ - public function getUserFlowTypeVersion() - { - if (array_key_exists("userFlowTypeVersion", $this->_propDict)) { - if (is_a($this->_propDict["userFlowTypeVersion"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["userFlowTypeVersion"]; - } else { - $this->_propDict["userFlowTypeVersion"] = new Single($this->_propDict["userFlowTypeVersion"]); - return $this->_propDict["userFlowTypeVersion"]; - } - } - return null; - } - - /** - * Sets the userFlowTypeVersion - * - * @param Single $val The userFlowTypeVersion - * - * @return IdentityUserFlow - */ - public function setUserFlowTypeVersion($val) - { - $this->_propDict["userFlowTypeVersion"] = $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 deleted file mode 100644 index 4d290549..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttribute.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dataType"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttributeDataType")) { - 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 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 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 The userFlowAttributeType - */ - public function getUserFlowAttributeType() - { - if (array_key_exists("userFlowAttributeType", $this->_propDict)) { - if (is_a($this->_propDict["userFlowAttributeType"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttributeType")) { - 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 deleted file mode 100644 index f20958f2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeAssignment.php +++ /dev/null @@ -1,210 +0,0 @@ -_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 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 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 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 The userInputType - */ - public function getUserInputType() - { - if (array_key_exists("userInputType", $this->_propDict)) { - if (is_a($this->_propDict["userInputType"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttributeInputType")) { - 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 The userAttribute - */ - public function getUserAttribute() - { - if (array_key_exists("userAttribute", $this->_propDict)) { - if (is_a($this->_propDict["userAttribute"], "\Beta\Microsoft\Graph\Model\IdentityUserFlowAttribute")) { - 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 deleted file mode 100644 index d7490966..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IdentityUserFlowAttributeDataType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 deleted file mode 100644 index 3822722f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImageInfo.php +++ /dev/null @@ -1,136 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index d40135f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImplicitGrantSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 69dd070a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Importance.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The discoverySource - */ - public function getDiscoverySource() - { - if (array_key_exists("discoverySource", $this->_propDict)) { - if (is_a($this->_propDict["discoverySource"], "\Beta\Microsoft\Graph\Model\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 The enrollmentState - */ - public function getEnrollmentState() - { - if (array_key_exists("enrollmentState", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\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 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/HT202837 - * - * @return bool 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/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 The lastContactedDateTime - */ - public function getLastContactedDateTime() - { - if (array_key_exists("lastContactedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime")) { - 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 The platform - */ - public function getPlatform() - { - if (array_key_exists("platform", $this->_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\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 The requestedEnrollmentProfileAssignmentDateTime - */ - public function getRequestedEnrollmentProfileAssignmentDateTime() - { - if (array_key_exists("requestedEnrollmentProfileAssignmentDateTime", $this->_propDict)) { - if (is_a($this->_propDict["requestedEnrollmentProfileAssignmentDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 181b0c5e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index b4970125..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentity.php +++ /dev/null @@ -1,283 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The enrollmentState - */ - public function getEnrollmentState() - { - if (array_key_exists("enrollmentState", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\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 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 The importedDeviceIdentityType - */ - public function getImportedDeviceIdentityType() - { - if (array_key_exists("importedDeviceIdentityType", $this->_propDict)) { - if (is_a($this->_propDict["importedDeviceIdentityType"], "\Beta\Microsoft\Graph\Model\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 The lastContactedDateTime - */ - public function getLastContactedDateTime() - { - if (array_key_exists("lastContactedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The platform - */ - public function getPlatform() - { - if (array_key_exists("platform", $this->_propDict)) { - if (is_a($this->_propDict["platform"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 175c30b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityResult.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 1e654a29..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedDeviceIdentityType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The hardwareIdentifier - */ - public function getHardwareIdentifier() - { - if (array_key_exists("hardwareIdentifier", $this->_propDict)) { - if (is_a($this->_propDict["hardwareIdentifier"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["hardwareIdentifier"]; - } else { - $this->_propDict["hardwareIdentifier"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityState")) { - 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 deleted file mode 100644 index 321cffa4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityImportStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The deviceImportStatus - */ - public function getDeviceImportStatus() - { - if (array_key_exists("deviceImportStatus", $this->_propDict)) { - if (is_a($this->_propDict["deviceImportStatus"], "\Beta\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityImportStatus")) { - 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 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 deleted file mode 100644 index 175369c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUpload.php +++ /dev/null @@ -1,123 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTimeUtc"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ImportedWindowsAutopilotDeviceIdentityUploadStatus")) { - 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 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 deleted file mode 100644 index a166eb2d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedWindowsAutopilotDeviceIdentityUploadStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The onBehalfOf - */ - public function getOnBehalfOf() - { - if (array_key_exists("onBehalfOf", $this->_propDict)) { - if (is_a($this->_propDict["onBehalfOf"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The transferor - */ - public function getTransferor() - { - if (array_key_exists("transferor", $this->_propDict)) { - if (is_a($this->_propDict["transferor"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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/IncompleteData.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncompleteData.php deleted file mode 100644 index 1ce967aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IncompleteData.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["missingDataBeforeDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index f99610b3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassification.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 9d252eb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationOverride.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classifyAs"], "\Beta\Microsoft\Graph\Model\InferenceClassificationType")) { - 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 The senderEmailAddress - */ - public function getSenderEmailAddress() - { - if (array_key_exists("senderEmailAddress", $this->_propDict)) { - if (is_a($this->_propDict["senderEmailAddress"], "\Beta\Microsoft\Graph\Model\EmailAddress")) { - 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 deleted file mode 100644 index c444d808..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InferenceClassificationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index e0a8c1ca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtection.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["bitlocker"], "\Beta\Microsoft\Graph\Model\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 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 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 The sensitivityPolicySettings - */ - public function getSensitivityPolicySettings() - { - if (array_key_exists("sensitivityPolicySettings", $this->_propDict)) { - if (is_a($this->_propDict["sensitivityPolicySettings"], "\Beta\Microsoft\Graph\Model\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 The policy - */ - public function getPolicy() - { - if (array_key_exists("policy", $this->_propDict)) { - if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\InformationProtectionPolicy")) { - 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 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 deleted file mode 100644 index 5f14b1ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\Model\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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 The label - */ - public function getLabel() - { - if (array_key_exists("label", $this->_propDict)) { - if (is_a($this->_propDict["label"], "\Beta\Microsoft\Graph\Model\LabelDetails")) { - 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 deleted file mode 100644 index 3ede612e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionLabel.php +++ /dev/null @@ -1,232 +0,0 @@ -_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 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 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 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 - * - * @return ParentLabelDetails The parent - */ - public function getParent() - { - if (array_key_exists("parent", $this->_propDict)) { - if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\ParentLabelDetails")) { - 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 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 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 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 deleted file mode 100644 index a254ac22..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationProtectionPolicy.php +++ /dev/null @@ -1,55 +0,0 @@ -_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 deleted file mode 100644 index 53aac94c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InformationalUrl.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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/Initiator.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Initiator.php deleted file mode 100644 index 7ce57e0e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Initiator.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * Name of the person or service that initiated the provisioning event. - * - * @param string $val The value of the displayName - * - * @return Initiator - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - /** - * Gets the id - * Uniquely identifies the person or service that initiated the provisioning event. - * - * @return string The id - */ - public function getId() - { - if (array_key_exists("id", $this->_propDict)) { - return $this->_propDict["id"]; - } else { - return null; - } - } - - /** - * Sets the id - * Uniquely identifies the person or service that initiated the provisioning event. - * - * @param string $val The value of the id - * - * @return Initiator - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - - /** - * Gets the initiatorType - * Type of initiator. Possible values are: user, app, system, unknownFutureValue. - * - * @return InitiatorType The initiatorType - */ - public function getInitiatorType() - { - if (array_key_exists("initiatorType", $this->_propDict)) { - if (is_a($this->_propDict["initiatorType"], "\Beta\Microsoft\Graph\Model\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, app, 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 deleted file mode 100644 index aa5cf05f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InitiatorType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index a5b42bec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueDouble.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 17a76118..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InsightValueInt.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/InstallIntent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstallIntent.php deleted file mode 100644 index 154eedf5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstallIntent.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["permissions"], "\Beta\Microsoft\Graph\Model\ResourcePermission")) { - 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 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 deleted file mode 100644 index 319aa8dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InstitutionData.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 deleted file mode 100644 index 0451da62..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntegerRange.php +++ /dev/null @@ -1,134 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 923a3fcf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntendedPurpose.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 deleted file mode 100644 index e3b77057..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InternetSiteSecurityLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["companyPortalBlockedActions"], "\Beta\Microsoft\Graph\Model\CompanyPortalBlockedAction")) { - 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 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 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 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 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 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 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 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 The darkBackgroundLogo - */ - public function getDarkBackgroundLogo() - { - if (array_key_exists("darkBackgroundLogo", $this->_propDict)) { - if (is_a($this->_propDict["darkBackgroundLogo"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 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 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 The enrollmentAvailability - */ - public function getEnrollmentAvailability() - { - if (array_key_exists("enrollmentAvailability", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentAvailability"], "\Beta\Microsoft\Graph\Model\EnrollmentAvailabilityOptions")) { - 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 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 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 The landingPageCustomizedImage - */ - public function getLandingPageCustomizedImage() - { - if (array_key_exists("landingPageCustomizedImage", $this->_propDict)) { - if (is_a($this->_propDict["landingPageCustomizedImage"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 The lightBackgroundLogo - */ - public function getLightBackgroundLogo() - { - if (array_key_exists("lightBackgroundLogo", $this->_propDict)) { - if (is_a($this->_propDict["lightBackgroundLogo"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 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 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 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 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 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 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 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 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 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 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 The themeColor - */ - public function getThemeColor() - { - if (array_key_exists("themeColor", $this->_propDict)) { - if (is_a($this->_propDict["themeColor"], "\Beta\Microsoft\Graph\Model\RgbColor")) { - 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 deleted file mode 100644 index 50cd51f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfile.php +++ /dev/null @@ -1,985 +0,0 @@ -_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 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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The enrollmentAvailability - */ - public function getEnrollmentAvailability() - { - if (array_key_exists("enrollmentAvailability", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentAvailability"], "\Beta\Microsoft\Graph\Model\EnrollmentAvailabilityOptions")) { - 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 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 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 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 The landingPageCustomizedImage - */ - public function getLandingPageCustomizedImage() - { - if (array_key_exists("landingPageCustomizedImage", $this->_propDict)) { - if (is_a($this->_propDict["landingPageCustomizedImage"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The lightBackgroundLogo - */ - public function getLightBackgroundLogo() - { - if (array_key_exists("lightBackgroundLogo", $this->_propDict)) { - if (is_a($this->_propDict["lightBackgroundLogo"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 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 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 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 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 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 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 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 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 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 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 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 The themeColor - */ - public function getThemeColor() - { - if (array_key_exists("themeColor", $this->_propDict)) { - if (is_a($this->_propDict["themeColor"], "\Beta\Microsoft\Graph\Model\RgbColor")) { - 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 The themeColorLogo - */ - public function getThemeColorLogo() - { - if (array_key_exists("themeColorLogo", $this->_propDict)) { - if (is_a($this->_propDict["themeColorLogo"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 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 deleted file mode 100644 index 93b99ed4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IntuneBrandingProfileAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 3c004e71..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvestigationSecurityState.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index dfc50ab6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Invitation.php +++ /dev/null @@ -1,323 +0,0 @@ -_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 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 The invitedUserMessageInfo - */ - public function getInvitedUserMessageInfo() - { - if (array_key_exists("invitedUserMessageInfo", $this->_propDict)) { - if (is_a($this->_propDict["invitedUserMessageInfo"], "\Beta\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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 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 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 - * - * @return bool The resetRedemption - */ - public function getResetRedemption() - { - if (array_key_exists("resetRedemption", $this->_propDict)) { - return $this->_propDict["resetRedemption"]; - } else { - return null; - } - } - - /** - * Sets the resetRedemption - * - * @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 or not. The default is false. - * - * @return bool 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 or not. 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 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 The invitedUser - */ - public function getInvitedUser() - { - if (array_key_exists("invitedUser", $this->_propDict)) { - if (is_a($this->_propDict["invitedUser"], "\Beta\Microsoft\Graph\Model\User")) { - 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 deleted file mode 100644 index 5d6b5071..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitationParticipantInfo.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endpointType"], "\Beta\Microsoft\Graph\Model\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. 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 identity - * The identitySet associated with this invitation. - * - * @return IdentitySet The identity - */ - public function getIdentity() - { - if (array_key_exists("identity", $this->_propDict)) { - if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 replacesCallId - * Optional. The call which the target idenity is currently a part of. This call will be dropped once the participant is added. - * - * @return string 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 idenity is currently a part of. This call will be dropped once the participant is added. - * - * @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 deleted file mode 100644 index 4ac79029..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteNewBotResponse.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 29992933..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InviteParticipantsOperation.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 52b4290f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvitedUserMessageInfo.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["ccRecipients"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 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/IosAvailableUpdateVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAvailableUpdateVersion.php deleted file mode 100644 index 0dd0ed82..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAvailableUpdateVersion.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The postingDateTime - */ - public function getPostingDateTime() - { - if (array_key_exists("postingDateTime", $this->_propDict)) { - if (is_a($this->_propDict["postingDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 93d2acc3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosAzureAdSingleSignOnExtension.php +++ /dev/null @@ -1,124 +0,0 @@ -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 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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 deleted file mode 100644 index f42f8e61..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosBookmark.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 28b92594..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCertificateProfile.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\AppleSubjectNameFormat")) { - 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 deleted file mode 100644 index 054e08db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCompliancePolicy.php +++ /dev/null @@ -1,591 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passcodeRequiredType - */ - public function getPasscodeRequiredType() - { - if (array_key_exists("passcodeRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passcodeRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 deleted file mode 100644 index 0bc02e0a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCredentialSingleSignOnExtension.php +++ /dev/null @@ -1,180 +0,0 @@ -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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 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 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 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 deleted file mode 100644 index 2e0b59ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosCustomConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["payload"]; - } else { - $this->_propDict["payload"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index d1687f33..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDerivedCredentialAuthenticationConfiguration.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 deleted file mode 100644 index aebfb7d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceFeaturesConfiguration.php +++ /dev/null @@ -1,439 +0,0 @@ -_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 The contentFilterSettings - */ - public function getContentFilterSettings() - { - if (array_key_exists("contentFilterSettings", $this->_propDict)) { - if (is_a($this->_propDict["contentFilterSettings"], "\Beta\Microsoft\Graph\Model\IosWebContentFilterBase")) { - 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 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 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 The iosSingleSignOnExtension - */ - public function getIosSingleSignOnExtension() - { - if (array_key_exists("iosSingleSignOnExtension", $this->_propDict)) { - if (is_a($this->_propDict["iosSingleSignOnExtension"], "\Beta\Microsoft\Graph\Model\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 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 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 The singleSignOnExtension - */ - public function getSingleSignOnExtension() - { - if (array_key_exists("singleSignOnExtension", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnExtension"], "\Beta\Microsoft\Graph\Model\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 The singleSignOnSettings - */ - public function getSingleSignOnSettings() - { - if (array_key_exists("singleSignOnSettings", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnSettings"], "\Beta\Microsoft\Graph\Model\IosSingleSignOnSettings")) { - 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 The wallpaperDisplayLocation - */ - public function getWallpaperDisplayLocation() - { - if (array_key_exists("wallpaperDisplayLocation", $this->_propDict)) { - if (is_a($this->_propDict["wallpaperDisplayLocation"], "\Beta\Microsoft\Graph\Model\IosWallpaperDisplayLocation")) { - 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 The wallpaperImage - */ - public function getWallpaperImage() - { - if (array_key_exists("wallpaperImage", $this->_propDict)) { - if (is_a($this->_propDict["wallpaperImage"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase")) { - 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 The singleSignOnExtensionPkinitCertificate - */ - public function getSingleSignOnExtensionPkinitCertificate() - { - if (array_key_exists("singleSignOnExtensionPkinitCertificate", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnExtensionPkinitCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase")) { - 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 deleted file mode 100644 index eaac334a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosDeviceType.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 18442c58..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEasEmailProfileConfiguration.php +++ /dev/null @@ -1,850 +0,0 @@ -_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 The authenticationMethod - */ - public function getAuthenticationMethod() - { - if (array_key_exists("authenticationMethod", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\EasAuthenticationMethod")) { - 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 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 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 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 The durationOfEmailToSync - */ - public function getDurationOfEmailToSync() - { - if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { - if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration")) { - 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 The easServices - */ - public function getEasServices() - { - if (array_key_exists("easServices", $this->_propDict)) { - if (is_a($this->_propDict["easServices"], "\Beta\Microsoft\Graph\Model\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 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 The emailAddressSource - */ - public function getEmailAddressSource() - { - if (array_key_exists("emailAddressSource", $this->_propDict)) { - if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 The encryptionCertificateType - */ - public function getEncryptionCertificateType() - { - if (array_key_exists("encryptionCertificateType", $this->_propDict)) { - if (is_a($this->_propDict["encryptionCertificateType"], "\Beta\Microsoft\Graph\Model\EmailCertificateType")) { - 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 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 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 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 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 The signingCertificateType - */ - public function getSigningCertificateType() - { - if (array_key_exists("signingCertificateType", $this->_propDict)) { - if (is_a($this->_propDict["signingCertificateType"], "\Beta\Microsoft\Graph\Model\EmailCertificateType")) { - 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 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 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 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 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 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 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 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 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 The derivedCredentialSettings - */ - public function getDerivedCredentialSettings() - { - if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase")) { - 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 The smimeEncryptionCertificate - */ - public function getSmimeEncryptionCertificate() - { - if (array_key_exists("smimeEncryptionCertificate", $this->_propDict)) { - if (is_a($this->_propDict["smimeEncryptionCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfile")) { - 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 The smimeSigningCertificate - */ - public function getSmimeSigningCertificate() - { - if (array_key_exists("smimeSigningCertificate", $this->_propDict)) { - if (is_a($this->_propDict["smimeSigningCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfile")) { - 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 deleted file mode 100644 index 5e5ed2a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduCertificateSettings.php +++ /dev/null @@ -1,260 +0,0 @@ -_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 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 The certificateValidityPeriodScale - */ - public function getCertificateValidityPeriodScale() - { - if (array_key_exists("certificateValidityPeriodScale", $this->_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 62adcc46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEduDeviceConfiguration.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceCertificateSettings"], "\Beta\Microsoft\Graph\Model\IosEduCertificateSettings")) { - 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 The studentCertificateSettings - */ - public function getStudentCertificateSettings() - { - if (array_key_exists("studentCertificateSettings", $this->_propDict)) { - if (is_a($this->_propDict["studentCertificateSettings"], "\Beta\Microsoft\Graph\Model\IosEduCertificateSettings")) { - 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 The teacherCertificateSettings - */ - public function getTeacherCertificateSettings() - { - if (array_key_exists("teacherCertificateSettings", $this->_propDict)) { - if (is_a($this->_propDict["teacherCertificateSettings"], "\Beta\Microsoft\Graph\Model\IosEduCertificateSettings")) { - 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 deleted file mode 100644 index de6cabb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosEducationDeviceConfiguration.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapFastConfiguration - */ - public function getEapFastConfiguration() - { - if (array_key_exists("eapFastConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["eapFastConfiguration"], "\Beta\Microsoft\Graph\Model\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. - * - * @return EapType The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 The innerAuthenticationProtocolForEapTtls - */ - public function getInnerAuthenticationProtocolForEapTtls() - { - if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 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 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 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 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 The derivedCredentialSettings - */ - public function getDerivedCredentialSettings() - { - if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase")) { - 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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index 7631f772..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosExpeditedCheckinConfiguration.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The appsVisibilityListType - */ - public function getAppsVisibilityListType() - { - if (array_key_exists("appsVisibilityListType", $this->_propDict)) { - if (is_a($this->_propDict["appsVisibilityListType"], "\Beta\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The kioskModeAppType - */ - public function getKioskModeAppType() - { - if (array_key_exists("kioskModeAppType", $this->_propDict)) { - if (is_a($this->_propDict["kioskModeAppType"], "\Beta\Microsoft\Graph\Model\IosKioskModeAppType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The mediaContentRatingApps - */ - public function getMediaContentRatingApps() - { - if (array_key_exists("mediaContentRatingApps", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingApps"], "\Beta\Microsoft\Graph\Model\RatingAppsType")) { - 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 The mediaContentRatingAustralia - */ - public function getMediaContentRatingAustralia() - { - if (array_key_exists("mediaContentRatingAustralia", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingAustralia"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingCanada - */ - public function getMediaContentRatingCanada() - { - if (array_key_exists("mediaContentRatingCanada", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingCanada"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingFrance - */ - public function getMediaContentRatingFrance() - { - if (array_key_exists("mediaContentRatingFrance", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingFrance"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingGermany - */ - public function getMediaContentRatingGermany() - { - if (array_key_exists("mediaContentRatingGermany", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingGermany"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingIreland - */ - public function getMediaContentRatingIreland() - { - if (array_key_exists("mediaContentRatingIreland", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingIreland"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingJapan - */ - public function getMediaContentRatingJapan() - { - if (array_key_exists("mediaContentRatingJapan", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingJapan"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingNewZealand - */ - public function getMediaContentRatingNewZealand() - { - if (array_key_exists("mediaContentRatingNewZealand", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingNewZealand"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingUnitedKingdom - */ - public function getMediaContentRatingUnitedKingdom() - { - if (array_key_exists("mediaContentRatingUnitedKingdom", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingUnitedKingdom"], "\Beta\Microsoft\Graph\Model\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 The mediaContentRatingUnitedStates - */ - public function getMediaContentRatingUnitedStates() - { - if (array_key_exists("mediaContentRatingUnitedStates", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingUnitedStates"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passcodeRequiredType - */ - public function getPasscodeRequiredType() - { - if (array_key_exists("passcodeRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passcodeRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 The safariCookieSettings - */ - public function getSafariCookieSettings() - { - if (array_key_exists("safariCookieSettings", $this->_propDict)) { - if (is_a($this->_propDict["safariCookieSettings"], "\Beta\Microsoft\Graph\Model\WebBrowserCookieSettings")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 usbRestrictedModeBlocked - * Indicates if connecting to USB accessories while the device is locked is allowed (iOS 11.4.1 and later). - * - * @return bool 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 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 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 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. - * - * @return bool 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. - * - * @param bool $val The wiFiConnectOnlyToConfiguredNetworks - * - * @return IosGeneralDeviceConfiguration - */ - public function setWiFiConnectOnlyToConfiguredNetworks($val) - { - $this->_propDict["wiFiConnectOnlyToConfiguredNetworks"] = 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 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 deleted file mode 100644 index d18f2d3d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenApp.php +++ /dev/null @@ -1,91 +0,0 @@ -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 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 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 deleted file mode 100644 index 2899ebc6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolder.php +++ /dev/null @@ -1,68 +0,0 @@ -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 The pages - */ - public function getPages() - { - if (array_key_exists("pages", $this->_propDict)) { - if (is_a($this->_propDict["pages"], "\Beta\Microsoft\Graph\Model\IosHomeScreenFolderPage")) { - 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 deleted file mode 100644 index 119fd058..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenFolderPage.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["apps"], "\Beta\Microsoft\Graph\Model\IosHomeScreenApp")) { - 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 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 deleted file mode 100644 index 811a9e90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index d468b05c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosHomeScreenPage.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The icons - */ - public function getIcons() - { - if (array_key_exists("icons", $this->_propDict)) { - if (is_a($this->_propDict["icons"], "\Beta\Microsoft\Graph\Model\IosHomeScreenItem")) { - 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 deleted file mode 100644 index ea7d4a2a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosImportedPFXCertificateProfile.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 8cf68757..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKerberosSingleSignOnExtension.php +++ /dev/null @@ -1,623 +0,0 @@ -setODataType("#microsoft.graph.iosKerberosSingleSignOnExtension"); - } - - /** - * Gets the activeDirectorySiteCode - * Gets or sets the Active Directory site. - * - * @return string 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 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 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 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 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 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 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 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 passwordBlockModification - * Enables or disables password changes. - * - * @return bool 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 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 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 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 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 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 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 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 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 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 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 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 userPrincipalName - * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. - * - * @return string 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 deleted file mode 100644 index a0b75f40..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosKioskModeAppType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index fb32f757..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppAssignmentSettings.php +++ /dev/null @@ -1,119 +0,0 @@ -setODataType("#microsoft.graph.iosLobAppAssignmentSettings"); - } - - /** - * Gets the isRemovable - * Whether or not the app can be removed by the user. - * - * @return bool 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 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 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 deleted file mode 100644 index 28272c07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfiguration.php +++ /dev/null @@ -1,424 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The payload - */ - public function getPayload() - { - if (array_key_exists("payload", $this->_propDict)) { - if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["payload"]; - } else { - $this->_propDict["payload"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 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 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 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 deleted file mode 100644 index 27c9127b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 7c2dafc7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosLobAppProvisioningConfigurationPolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The appActionIfIosDeviceModelNotAllowed - */ - public function getAppActionIfIosDeviceModelNotAllowed() - { - if (array_key_exists("appActionIfIosDeviceModelNotAllowed", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfIosDeviceModelNotAllowed"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appDataEncryptionType - */ - public function getAppDataEncryptionType() - { - if (array_key_exists("appDataEncryptionType", $this->_propDict)) { - if (is_a($this->_propDict["appDataEncryptionType"], "\Beta\Microsoft\Graph\Model\ManagedAppDataEncryptionType")) { - 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 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 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 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 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 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 faceIdBlocked - * Indicates whether use of the FaceID is allowed in place of a pin if PinRequired is set to True. - * - * @return bool 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 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 minimumRequiredSdkVersion - * Versions less than the specified version will block the managed app from accessing company data. - * - * @return string 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 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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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 deleted file mode 100644 index 335d6b29..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosManagedAppRegistration.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 915e5ca2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppConfiguration.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encodedSettingXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["encodedSettingXml"]; - } else { - $this->_propDict["encodedSettingXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index b0828475..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosMobileAppIdentifier.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iosMobileAppIdentifier"); - } - - /** - * Gets the bundleId - * The identifier for an app, as specified in the app store. - * - * @return string 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 deleted file mode 100644 index d3592d37..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNetworkUsageRule.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The managedApps - */ - public function getManagedApps() - { - if (array_key_exists("managedApps", $this->_propDict)) { - if (is_a($this->_propDict["managedApps"], "\Beta\Microsoft\Graph\Model\AppListItem")) { - 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 deleted file mode 100644 index 6551e1dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosNotificationAlertType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["alertType"], "\Beta\Microsoft\Graph\Model\IosNotificationAlertType")) { - 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 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 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 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 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 The previewVisibility - */ - public function getPreviewVisibility() - { - if (array_key_exists("previewVisibility", $this->_propDict)) { - if (is_a($this->_propDict["previewVisibility"], "\Beta\Microsoft\Graph\Model\IosNotificationPreviewVisibility")) { - 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 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 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 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 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 deleted file mode 100644 index f10b27ad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosPkcsCertificateProfile.php +++ /dev/null @@ -1,265 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index e081d61e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosRedirectSingleSignOnExtension.php +++ /dev/null @@ -1,152 +0,0 @@ -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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 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 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 deleted file mode 100644 index 8a40bc31..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosScepCertificateProfile.php +++ /dev/null @@ -1,336 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\IosTrustedRootCertificate")) { - 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 deleted file mode 100644 index 90d752ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSingleSignOnExtension.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedAppsList"], "\Beta\Microsoft\Graph\Model\AppListItem")) { - 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 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 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 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 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 deleted file mode 100644 index ff8c212f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosSoftwareUpdateScheduleType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 deleted file mode 100644 index 1450213e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosStoreAppAssignmentSettings.php +++ /dev/null @@ -1,119 +0,0 @@ -setODataType("#microsoft.graph.iosStoreAppAssignmentSettings"); - } - - /** - * Gets the isRemovable - * Whether or not the app can be removed by the user. - * - * @return bool 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 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 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 deleted file mode 100644 index f78ed00d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosTrustedRootCertificate.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index cbfcf9ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateConfiguration.php +++ /dev/null @@ -1,302 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activeHoursEnd"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The activeHoursStart - */ - public function getActiveHoursStart() - { - if (array_key_exists("activeHoursStart", $this->_propDict)) { - if (is_a($this->_propDict["activeHoursStart"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 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 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 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 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 The updateScheduleType - */ - public function getUpdateScheduleType() - { - if (array_key_exists("updateScheduleType", $this->_propDict)) { - if (is_a($this->_propDict["updateScheduleType"], "\Beta\Microsoft\Graph\Model\IosSoftwareUpdateScheduleType")) { - 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 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 deleted file mode 100644 index bfed79ba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdateDeviceStatus.php +++ /dev/null @@ -1,391 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 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 The installStatus - */ - public function getInstallStatus() - { - if (array_key_exists("installStatus", $this->_propDict)) { - if (is_a($this->_propDict["installStatus"], "\Beta\Microsoft\Graph\Model\IosUpdatesInstallStatus")) { - 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 deleted file mode 100644 index 3fe6d663..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosUpdatesInstallStatus.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 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 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 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 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 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 The derivedCredentialSettings - */ - public function getDerivedCredentialSettings() - { - if (array_key_exists("derivedCredentialSettings", $this->_propDict)) { - if (is_a($this->_propDict["derivedCredentialSettings"], "\Beta\Microsoft\Graph\Model\DeviceManagementDerivedCredentialSettings")) { - 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\IosCertificateProfileBase")) { - 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 deleted file mode 100644 index f865f5d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVpnSecurityAssociationParameters.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 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. - * - * @return VpnEncryptionAlgorithmType The securityEncryptionAlgorithm - */ - public function getSecurityEncryptionAlgorithm() - { - if (array_key_exists("securityEncryptionAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["securityEncryptionAlgorithm"], "\Beta\Microsoft\Graph\Model\VpnEncryptionAlgorithmType")) { - 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. - * - * @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 The securityIntegrityAlgorithm - */ - public function getSecurityIntegrityAlgorithm() - { - if (array_key_exists("securityIntegrityAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["securityIntegrityAlgorithm"], "\Beta\Microsoft\Graph\Model\VpnIntegrityAlgorithmType")) { - 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 deleted file mode 100644 index f383bc44..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppApp.php +++ /dev/null @@ -1,422 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The licensingType - */ - public function getLicensingType() - { - if (array_key_exists("licensingType", $this->_propDict)) { - if (is_a($this->_propDict["licensingType"], "\Beta\Microsoft\Graph\Model\VppLicensingType")) { - 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 The releaseDateTime - */ - public function getReleaseDateTime() - { - if (array_key_exists("releaseDateTime", $this->_propDict)) { - if (is_a($this->_propDict["releaseDateTime"], "\DateTime")) { - 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 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 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 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 The vppTokenAccountType - */ - public function getVppTokenAccountType() - { - if (array_key_exists("vppTokenAccountType", $this->_propDict)) { - if (is_a($this->_propDict["vppTokenAccountType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 deleted file mode 100644 index 9fb15a99..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedDeviceLicense.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 4bbf9c12..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedLicense.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 2a3a030a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppAssignedUserLicense.php +++ /dev/null @@ -1,27 +0,0 @@ -setODataType("#microsoft.graph.iosVppAppAssignmentSettings"); - } - - /** - * Gets the isRemovable - * Whether or not the app can be removed by the user. - * - * @return bool 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 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 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 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 deleted file mode 100644 index 3b119f4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppAppRevokeLicensesActionResult.php +++ /dev/null @@ -1,298 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionFailureReason"], "\Beta\Microsoft\Graph\Model\VppTokenActionFailureReason")) { - 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 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 The actionState - */ - public function getActionState() - { - if (array_key_exists("actionState", $this->_propDict)) { - if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\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 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index cb4b3aee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBook.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 35620bd2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosVppEBookAssignment.php +++ /dev/null @@ -1,27 +0,0 @@ -setODataType("#microsoft.graph.iosWebContentFilterAutoFilter"); - } - - /** - * Gets the allowedUrls - * Additional URLs allowed for access - * - * @return string 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 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 deleted file mode 100644 index fdb4885c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWebContentFilterBase.php +++ /dev/null @@ -1,26 +0,0 @@ -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 The specificWebsitesOnly - */ - public function getSpecificWebsitesOnly() - { - if (array_key_exists("specificWebsitesOnly", $this->_propDict)) { - if (is_a($this->_propDict["specificWebsitesOnly"], "\Beta\Microsoft\Graph\Model\IosBookmark")) { - 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 The websiteList - */ - public function getWebsiteList() - { - if (array_key_exists("websiteList", $this->_propDict)) { - if (is_a($this->_propDict["websiteList"], "\Beta\Microsoft\Graph\Model\IosBookmark")) { - 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 deleted file mode 100644 index 878400bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosWiFiConfiguration.php +++ /dev/null @@ -1,354 +0,0 @@ -_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 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 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 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 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 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 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 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 The proxySettings - */ - public function getProxySettings() - { - if (array_key_exists("proxySettings", $this->_propDict)) { - if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting")) { - 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 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 The wiFiSecurityType - */ - public function getWiFiSecurityType() - { - if (array_key_exists("wiFiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 11d3bc05..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IosikEv2VpnConfiguration.php +++ /dev/null @@ -1,722 +0,0 @@ -_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 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 The alwaysOnConfiguration - */ - public function getAlwaysOnConfiguration() - { - if (array_key_exists("alwaysOnConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["alwaysOnConfiguration"], "\Beta\Microsoft\Graph\Model\AppleVpnAlwaysOnConfiguration")) { - 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 The childSecurityAssociationParameters - */ - public function getChildSecurityAssociationParameters() - { - if (array_key_exists("childSecurityAssociationParameters", $this->_propDict)) { - if (is_a($this->_propDict["childSecurityAssociationParameters"], "\Beta\Microsoft\Graph\Model\IosVpnSecurityAssociationParameters")) { - 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 The clientAuthenticationType - */ - public function getClientAuthenticationType() - { - if (array_key_exists("clientAuthenticationType", $this->_propDict)) { - if (is_a($this->_propDict["clientAuthenticationType"], "\Beta\Microsoft\Graph\Model\VpnClientAuthenticationType")) { - 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 The deadPeerDetectionRate - */ - public function getDeadPeerDetectionRate() - { - if (array_key_exists("deadPeerDetectionRate", $this->_propDict)) { - if (is_a($this->_propDict["deadPeerDetectionRate"], "\Beta\Microsoft\Graph\Model\VpnDeadPeerDetectionRate")) { - 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 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 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 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 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 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 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 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 The localIdentifier - */ - public function getLocalIdentifier() - { - if (array_key_exists("localIdentifier", $this->_propDict)) { - if (is_a($this->_propDict["localIdentifier"], "\Beta\Microsoft\Graph\Model\VpnLocalIdentifier")) { - 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 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 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 The securityAssociationParameters - */ - public function getSecurityAssociationParameters() - { - if (array_key_exists("securityAssociationParameters", $this->_propDict)) { - if (is_a($this->_propDict["securityAssociationParameters"], "\Beta\Microsoft\Graph\Model\IosVpnSecurityAssociationParameters")) { - 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 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 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 The serverCertificateType - */ - public function getServerCertificateType() - { - if (array_key_exists("serverCertificateType", $this->_propDict)) { - if (is_a($this->_propDict["serverCertificateType"], "\Beta\Microsoft\Graph\Model\VpnServerCertificateType")) { - 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 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 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 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 deleted file mode 100644 index 660d3b96..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpCategory.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index c5ade052..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpNamedLocation.php +++ /dev/null @@ -1,86 +0,0 @@ -_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. - * - * @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. - * - * @return bool 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. - * - * @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 deleted file mode 100644 index c6344113..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpRange.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 1c65212b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/IpSecurityProfile.php +++ /dev/null @@ -1,392 +0,0 @@ -_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 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 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 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 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 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 The firstSeenDateTime - */ - public function getFirstSeenDateTime() - { - if (array_key_exists("firstSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime")) { - 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 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 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index a705914d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Item.php +++ /dev/null @@ -1,507 +0,0 @@ -_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 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 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 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 The inventory - */ - public function getInventory() - { - if (array_key_exists("inventory", $this->_propDict)) { - if (is_a($this->_propDict["inventory"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The unitCost - */ - public function getUnitCost() - { - if (array_key_exists("unitCost", $this->_propDict)) { - if (is_a($this->_propDict["unitCost"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The unitPrice - */ - public function getUnitPrice() - { - if (array_key_exists("unitPrice", $this->_propDict)) { - if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The itemCategory - */ - public function getItemCategory() - { - if (array_key_exists("itemCategory", $this->_propDict)) { - if (is_a($this->_propDict["itemCategory"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index aa39eb2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionSet.php +++ /dev/null @@ -1,356 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["comment"], "\Beta\Microsoft\Graph\Model\CommentAction")) { - 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 The create - */ - public function getCreate() - { - if (array_key_exists("create", $this->_propDict)) { - if (is_a($this->_propDict["create"], "\Beta\Microsoft\Graph\Model\CreateAction")) { - 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 The delete - */ - public function getDelete() - { - if (array_key_exists("delete", $this->_propDict)) { - if (is_a($this->_propDict["delete"], "\Beta\Microsoft\Graph\Model\DeleteAction")) { - 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 The edit - */ - public function getEdit() - { - if (array_key_exists("edit", $this->_propDict)) { - if (is_a($this->_propDict["edit"], "\Beta\Microsoft\Graph\Model\EditAction")) { - 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 The mention - */ - public function getMention() - { - if (array_key_exists("mention", $this->_propDict)) { - if (is_a($this->_propDict["mention"], "\Beta\Microsoft\Graph\Model\MentionAction")) { - 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 The move - */ - public function getMove() - { - if (array_key_exists("move", $this->_propDict)) { - if (is_a($this->_propDict["move"], "\Beta\Microsoft\Graph\Model\MoveAction")) { - 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 The rename - */ - public function getRename() - { - if (array_key_exists("rename", $this->_propDict)) { - if (is_a($this->_propDict["rename"], "\Beta\Microsoft\Graph\Model\RenameAction")) { - 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 The restore - */ - public function getRestore() - { - if (array_key_exists("restore", $this->_propDict)) { - if (is_a($this->_propDict["restore"], "\Beta\Microsoft\Graph\Model\RestoreAction")) { - 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 The share - */ - public function getShare() - { - if (array_key_exists("share", $this->_propDict)) { - if (is_a($this->_propDict["share"], "\Beta\Microsoft\Graph\Model\ShareAction")) { - 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 The version - */ - public function getVersion() - { - if (array_key_exists("version", $this->_propDict)) { - if (is_a($this->_propDict["version"], "\Beta\Microsoft\Graph\Model\VersionAction")) { - 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 deleted file mode 100644 index 42427256..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActionStat.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 9525a7d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivity.php +++ /dev/null @@ -1,159 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["access"], "\Beta\Microsoft\Graph\Model\AccessAction")) { - 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 The activityDateTime - */ - public function getActivityDateTime() - { - if (array_key_exists("activityDateTime", $this->_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 The actor - */ - public function getActor() - { - if (array_key_exists("actor", $this->_propDict)) { - if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c36a4e23..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityOLD.php +++ /dev/null @@ -1,182 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\ItemActionSet")) { - 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 The actor - */ - public function getActor() - { - if (array_key_exists("actor", $this->_propDict)) { - if (is_a($this->_propDict["actor"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The times - */ - public function getTimes() - { - if (array_key_exists("times", $this->_propDict)) { - if (is_a($this->_propDict["times"], "\Beta\Microsoft\Graph\Model\ItemActivityTimeSet")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\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 The listItem - */ - public function getListItem() - { - if (array_key_exists("listItem", $this->_propDict)) { - if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 306f01e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityStat.php +++ /dev/null @@ -1,350 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["access"], "\Beta\Microsoft\Graph\Model\ItemActionStat")) { - 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 The create - */ - public function getCreate() - { - if (array_key_exists("create", $this->_propDict)) { - if (is_a($this->_propDict["create"], "\Beta\Microsoft\Graph\Model\ItemActionStat")) { - 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 The delete - */ - public function getDelete() - { - if (array_key_exists("delete", $this->_propDict)) { - if (is_a($this->_propDict["delete"], "\Beta\Microsoft\Graph\Model\ItemActionStat")) { - 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 The edit - */ - public function getEdit() - { - if (array_key_exists("edit", $this->_propDict)) { - if (is_a($this->_propDict["edit"], "\Beta\Microsoft\Graph\Model\ItemActionStat")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The incompleteData - */ - public function getIncompleteData() - { - if (array_key_exists("incompleteData", $this->_propDict)) { - if (is_a($this->_propDict["incompleteData"], "\Beta\Microsoft\Graph\Model\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 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 The move - */ - public function getMove() - { - if (array_key_exists("move", $this->_propDict)) { - if (is_a($this->_propDict["move"], "\Beta\Microsoft\Graph\Model\ItemActionStat")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 91f5146a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemActivityTimeSet.php +++ /dev/null @@ -1,123 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastRecordedDateTime"], "\DateTime")) { - 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 The observedDateTime - */ - public function getObservedDateTime() - { - if (array_key_exists("observedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["observedDateTime"], "\DateTime")) { - 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 The recordedDateTime - */ - public function getRecordedDateTime() - { - if (array_key_exists("recordedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["recordedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 8b601b83..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAddress.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 The geoCoordinates - */ - public function getGeoCoordinates() - { - if (array_key_exists("geoCoordinates", $this->_propDict)) { - if (is_a($this->_propDict["geoCoordinates"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 5368cb97..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAnalytics.php +++ /dev/null @@ -1,117 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allTime"], "\Beta\Microsoft\Graph\Model\ItemActivityStat")) { - 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 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 The lastSevenDays - */ - public function getLastSevenDays() - { - if (array_key_exists("lastSevenDays", $this->_propDict)) { - if (is_a($this->_propDict["lastSevenDays"], "\Beta\Microsoft\Graph\Model\ItemActivityStat")) { - 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 deleted file mode 100644 index cbd205db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemAttachment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\OutlookItem")) { - 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 deleted file mode 100644 index dd690b0f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemBody.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The contentType - */ - public function getContentType() - { - if (array_key_exists("contentType", $this->_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\BodyType")) { - 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 deleted file mode 100644 index cfa2c9df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemCategory.php +++ /dev/null @@ -1,112 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 3c4aa4bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemEmail.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EmailType")) { - 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 deleted file mode 100644 index bee132d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemFacet.php +++ /dev/null @@ -1,285 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedAudiences"], "\Beta\Microsoft\Graph\Model\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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The inference - */ - public function getInference() - { - if (array_key_exists("inference", $this->_propDict)) { - if (is_a($this->_propDict["inference"], "\Beta\Microsoft\Graph\Model\InferenceData")) { - 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\PersonDataSources")) { - 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 deleted file mode 100644 index 37f46e43..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemInsights.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - return $this->_propDict["disabledForGroup"]; - } else { - return null; - } - } - - /** - * Sets the disabledForGroup - * The ID of an Azure AD group, of which the members' item insights are disabled. Default is empty. Optional. - * - * @param string $val The disabledForGroup - * - * @return ItemInsightsSettings - */ - public function setDisabledForGroup($val) - { - $this->_propDict["disabledForGroup"] = $val; - return $this; - } - - /** - * Gets the isEnabledInOrganization - * true if organization item insights are enabled; false if organization item insights are disabled for all users without exceptions. Default is true. Optional. - * - * @return bool The isEnabledInOrganization - */ - public function getIsEnabledInOrganization() - { - if (array_key_exists("isEnabledInOrganization", $this->_propDict)) { - return $this->_propDict["isEnabledInOrganization"]; - } else { - return null; - } - } - - /** - * Sets the isEnabledInOrganization - * true if organization item insights are enabled; false if organization item insights are disabled for all users without exceptions. Default is true. Optional. - * - * @param bool $val The isEnabledInOrganization - * - * @return ItemInsightsSettings - */ - public function setIsEnabledInOrganization($val) - { - $this->_propDict["isEnabledInOrganization"] = boolval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPatent.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPatent.php deleted file mode 100644 index b35d16f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPatent.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 The issuedDate - */ - public function getIssuedDate() - { - if (array_key_exists("issuedDate", $this->_propDict)) { - if (is_a($this->_propDict["issuedDate"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index c200f69c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPhone.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PhoneType")) { - 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 deleted file mode 100644 index 74f5d1c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPreviewInfo.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index 179025dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemPublication.php +++ /dev/null @@ -1,205 +0,0 @@ -_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 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 The publishedDate - */ - public function getPublishedDate() - { - if (array_key_exists("publishedDate", $this->_propDict)) { - if (is_a($this->_propDict["publishedDate"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 3133b94a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ItemReference.php +++ /dev/null @@ -1,255 +0,0 @@ -_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 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 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 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 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 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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 52ecfe3a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JobHistorySummaryType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\ClassificationError")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 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/JoinType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinType.php deleted file mode 100644 index 1c90005a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JoinType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index a7bd99ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JournalLine.php +++ /dev/null @@ -1,367 +0,0 @@ -_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 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 The amount - */ - public function getAmount() - { - if (array_key_exists("amount", $this->_propDict)) { - if (is_a($this->_propDict["amount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The postingDate - */ - public function getPostingDate() - { - if (array_key_exists("postingDate", $this->_propDict)) { - if (is_a($this->_propDict["postingDate"], "\DateTime")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index a8da7fc1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/JustifyAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The kerberosSignOnMappingAttributeType - */ - public function getKerberosSignOnMappingAttributeType() - { - if (array_key_exists("kerberosSignOnMappingAttributeType", $this->_propDict)) { - if (is_a($this->_propDict["kerberosSignOnMappingAttributeType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 18b787b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KerberosSingleSignOnExtension.php +++ /dev/null @@ -1,614 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index f951f8d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyBooleanValuePair.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index f4b2b4fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyCredential.php +++ /dev/null @@ -1,270 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customKeyIdentifier"]; - } else { - $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\stream_for($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 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 Timestamp type represents date and time information 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 KeyCredential The KeyCredential - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the key - * Value for the key credential. Should be a base 64 encoded value. - * - * @return \GuzzleHttp\Psr7\Stream The key - */ - public function getKey() - { - if (array_key_exists("key", $this->_propDict)) { - if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["key"]; - } else { - $this->_propDict["key"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["key"]); - return $this->_propDict["key"]; - } - } - return null; - } - - /** - * Sets the key - * 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 KeyCredential The KeyCredential - */ - public function setKey($val) - { - $this->_propDict["key"] = $val; - return $this; - } - /** - * Gets the keyId - * The unique identifier (GUID) for the key. - * - * @return string 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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'. - * - * @return string 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'. - * - * @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 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/KeyIntegerValuePair.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyIntegerValuePair.php deleted file mode 100644 index 9f099c6e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyIntegerValuePair.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index ef09d76c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyLongValuePair.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 583f5243..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyRealValuePair.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 36b1db7f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeySize.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 5ea39f51..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyTypedValuePair.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index a534b5f2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyUsages.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index 0dcd8ffd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/KeyValuePair.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/Label.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Label.php deleted file mode 100644 index feeb2951..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Label.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 deleted file mode 100644 index 5d2a0b18..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelDetails.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index d7365c00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LabelingOptions.php +++ /dev/null @@ -1,153 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignmentMethod"], "\Beta\Microsoft\Graph\Model\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 The downgradeJustification - */ - public function getDowngradeJustification() - { - if (array_key_exists("downgradeJustification", $this->_propDict)) { - if (is_a($this->_propDict["downgradeJustification"], "\Beta\Microsoft\Graph\Model\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 The extendedProperties - */ - public function getExtendedProperties() - { - if (array_key_exists("extendedProperties", $this->_propDict)) { - if (is_a($this->_propDict["extendedProperties"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 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 deleted file mode 100644 index 4e89c3f2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanManagerAuthenticationLevel.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The proficiency - */ - public function getProficiency() - { - if (array_key_exists("proficiency", $this->_propDict)) { - if (is_a($this->_propDict["proficiency"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel")) { - 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 The reading - */ - public function getReading() - { - if (array_key_exists("reading", $this->_propDict)) { - if (is_a($this->_propDict["reading"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel")) { - 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 The spoken - */ - public function getSpoken() - { - if (array_key_exists("spoken", $this->_propDict)) { - if (is_a($this->_propDict["spoken"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel")) { - 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 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 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 The written - */ - public function getWritten() - { - if (array_key_exists("written", $this->_propDict)) { - if (is_a($this->_propDict["written"], "\Beta\Microsoft\Graph\Model\LanguageProficiencyLevel")) { - 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 deleted file mode 100644 index b00bbed9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LanguageProficiencyLevel.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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. Possible values: CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Others. For more information on how to identify and resolve license assignment errors see here. - * - * @return string 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. Possible values: CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Others. 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 skuId - * The unique identifier for the SKU. Read-Only. - * - * @return string 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. Possible values: Active, ActiveWithError, Disabled and Error. - * - * @return string 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. Possible values: 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 deleted file mode 100644 index ab578ad0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseDetails.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index a3753c65..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseInfoDetail.php +++ /dev/null @@ -1,135 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["licenseType"], "\Beta\Microsoft\Graph\Model\AzureADLicenseType")) { - 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 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 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 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 deleted file mode 100644 index fbf92c17..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseProcessingState.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index c116b8e1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LicenseUnitsDetail.php +++ /dev/null @@ -1,110 +0,0 @@ -_propDict)) { - return $this->_propDict["enabled"]; - } else { - return null; - } - } - - /** - * Sets the enabled - * The number of units that are enabled. - * - * @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. - * - * @return int 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. - * - * @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. - * - * @return int 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. - * - * @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 deleted file mode 100644 index e16a770b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LifecycleEventType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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/ListInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListInfo.php deleted file mode 100644 index e50d836c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListInfo.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index dfbeadbf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItem.php +++ /dev/null @@ -1,252 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo")) { - 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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\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 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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\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 The fields - */ - public function getFields() - { - if (array_key_exists("fields", $this->_propDict)) { - if (is_a($this->_propDict["fields"], "\Beta\Microsoft\Graph\Model\FieldValueSet")) { - 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 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 deleted file mode 100644 index 492738a0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ListItemVersion.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fields"], "\Beta\Microsoft\Graph\Model\FieldValueSet")) { - 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 deleted file mode 100644 index d54149b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LobbyBypassScope.php +++ /dev/null @@ -1,37 +0,0 @@ -_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. Possible values are listed in the following table. Optional. - * - * @return LobbyBypassScope The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\LobbyBypassScope")) { - 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. Possible values are listed in the following table. 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 deleted file mode 100644 index 0b0b62b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalSecurityOptionsAdministratorElevationPromptBehaviorType.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 deleted file mode 100644 index b8ebb409..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocalizedNotificationMessage.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index e16ee9a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocateDeviceActionResult.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceLocation"], "\Beta\Microsoft\Graph\Model\DeviceGeoLocation")) { - 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 deleted file mode 100644 index ca5fe53f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Location.php +++ /dev/null @@ -1,270 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 The coordinates - */ - public function getCoordinates() - { - if (array_key_exists("coordinates", $this->_propDict)) { - if (is_a($this->_propDict["coordinates"], "\Beta\Microsoft\Graph\Model\OutlookGeoCoordinates")) { - 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 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 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 The locationType - */ - public function getLocationType() - { - if (array_key_exists("locationType", $this->_propDict)) { - if (is_a($this->_propDict["locationType"], "\Beta\Microsoft\Graph\Model\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 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 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 The uniqueIdType - */ - public function getUniqueIdType() - { - if (array_key_exists("uniqueIdType", $this->_propDict)) { - if (is_a($this->_propDict["uniqueIdType"], "\Beta\Microsoft\Graph\Model\LocationUniqueIdType")) { - 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 deleted file mode 100644 index fefbc0da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraint.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\LocationConstraintItem")) { - 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 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 deleted file mode 100644 index 62459321..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationConstraintItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/LocationManagementCondition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationManagementCondition.php deleted file mode 100644 index 25adfa07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LocationManagementCondition.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastLogOnDateTime"], "\DateTime")) { - 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 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/LogonType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogonType.php deleted file mode 100644 index 51583dba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LogonType.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 The accountType - */ - public function getAccountType() - { - if (array_key_exists("accountType", $this->_propDict)) { - if (is_a($this->_propDict["accountType"], "\Beta\Microsoft\Graph\Model\UserAccountSecurityType")) { - 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 The firstSeenDateTime - */ - public function getFirstSeenDateTime() - { - if (array_key_exists("firstSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["firstSeenDateTime"], "\DateTime")) { - 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 The logonTypes - */ - public function getLogonTypes() - { - if (array_key_exists("logonTypes", $this->_propDict)) { - if (is_a($this->_propDict["logonTypes"], "\Beta\Microsoft\Graph\Model\LogonType")) { - 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 deleted file mode 100644 index 10da8183..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperation.php +++ /dev/null @@ -1,174 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastActionDateTime - */ - public function getLastActionDateTime() - { - if (array_key_exists("lastActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\LongRunningOperationStatus")) { - 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 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 deleted file mode 100644 index ec0d316c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LongRunningOperationStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 76ba6098..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LookupResultRow.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 306ae611..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/LostModeState.php +++ /dev/null @@ -1,34 +0,0 @@ -setODataType("#microsoft.graph.macAppIdentifier"); - } - - /** - * Gets the bundleId - * The identifier for an app, as specified in the app store. - * - * @return string 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 deleted file mode 100644 index 0ac38438..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAppleEventReceiver.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The identifierType - */ - public function getIdentifierType() - { - if (array_key_exists("identifierType", $this->_propDict)) { - if (is_a($this->_propDict["identifierType"], "\Beta\Microsoft\Graph\Model\MacOSProcessIdentifierType")) { - 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 deleted file mode 100644 index b398b79f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAssociatedDomainsItem.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 31483692..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSAzureAdSingleSignOnExtension.php +++ /dev/null @@ -1,124 +0,0 @@ -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 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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 deleted file mode 100644 index 39466481..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCertificateProfileBase.php +++ /dev/null @@ -1,184 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\AppleSubjectNameFormat")) { - 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 deleted file mode 100644 index 51a8111f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCompliancePolicy.php +++ /dev/null @@ -1,619 +0,0 @@ -_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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 The gatekeeperAllowedAppSource - */ - public function getGatekeeperAllowedAppSource() - { - if (array_key_exists("gatekeeperAllowedAppSource", $this->_propDict)) { - if (is_a($this->_propDict["gatekeeperAllowedAppSource"], "\Beta\Microsoft\Graph\Model\MacOSGatekeeperAppSources")) { - 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 deleted file mode 100644 index 544ca545..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSContentCachingClientPolicy.php +++ /dev/null @@ -1,37 +0,0 @@ -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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 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 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 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 deleted file mode 100644 index 2d56d21f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomAppConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The configurationXml - */ - public function getConfigurationXml() - { - if (array_key_exists("configurationXml", $this->_propDict)) { - if (is_a($this->_propDict["configurationXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["configurationXml"]; - } else { - $this->_propDict["configurationXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 95e9a0c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSCustomConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["payload"]; - } else { - $this->_propDict["payload"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 09ecd4a3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSDeviceFeaturesConfiguration.php +++ /dev/null @@ -1,1280 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 `&gt;console&gt; special user name. - * - * @return bool 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 `&gt;console&gt; 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 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 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 The contentCachingClientPolicy - */ - public function getContentCachingClientPolicy() - { - if (array_key_exists("contentCachingClientPolicy", $this->_propDict)) { - if (is_a($this->_propDict["contentCachingClientPolicy"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingClientPolicy")) { - 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 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 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 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 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 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 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 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 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 The contentCachingParentSelectionPolicy - */ - public function getContentCachingParentSelectionPolicy() - { - if (array_key_exists("contentCachingParentSelectionPolicy", $this->_propDict)) { - if (is_a($this->_propDict["contentCachingParentSelectionPolicy"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingParentSelectionPolicy")) { - 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 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 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 The contentCachingPeerPolicy - */ - public function getContentCachingPeerPolicy() - { - if (array_key_exists("contentCachingPeerPolicy", $this->_propDict)) { - if (is_a($this->_propDict["contentCachingPeerPolicy"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingPeerPolicy")) { - 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 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 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 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 The contentCachingType - */ - public function getContentCachingType() - { - if (array_key_exists("contentCachingType", $this->_propDict)) { - if (is_a($this->_propDict["contentCachingType"], "\Beta\Microsoft\Graph\Model\MacOSContentCachingType")) { - 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 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 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 The macOSSingleSignOnExtension - */ - public function getMacOSSingleSignOnExtension() - { - if (array_key_exists("macOSSingleSignOnExtension", $this->_propDict)) { - if (is_a($this->_propDict["macOSSingleSignOnExtension"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 The singleSignOnExtension - */ - public function getSingleSignOnExtension() - { - if (array_key_exists("singleSignOnExtension", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnExtension"], "\Beta\Microsoft\Graph\Model\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 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 The singleSignOnExtensionPkinitCertificate - */ - public function getSingleSignOnExtensionPkinitCertificate() - { - if (array_key_exists("singleSignOnExtensionPkinitCertificate", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnExtensionPkinitCertificate"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase")) { - 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/MacOSEndpointProtectionConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEndpointProtectionConfiguration.php deleted file mode 100644 index 1a291650..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEndpointProtectionConfiguration.php +++ /dev/null @@ -1,752 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionAutomaticSampleSubmission"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The advancedThreatProtectionCloudDelivered - */ - public function getAdvancedThreatProtectionCloudDelivered() - { - if (array_key_exists("advancedThreatProtectionCloudDelivered", $this->_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionCloudDelivered"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The advancedThreatProtectionDiagnosticDataCollection - */ - public function getAdvancedThreatProtectionDiagnosticDataCollection() - { - if (array_key_exists("advancedThreatProtectionDiagnosticDataCollection", $this->_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionDiagnosticDataCollection"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 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 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 The advancedThreatProtectionRealTime - */ - public function getAdvancedThreatProtectionRealTime() - { - if (array_key_exists("advancedThreatProtectionRealTime", $this->_propDict)) { - if (is_a($this->_propDict["advancedThreatProtectionRealTime"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 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 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 The fileVaultInstitutionalRecoveryKeyCertificate - */ - public function getFileVaultInstitutionalRecoveryKeyCertificate() - { - if (array_key_exists("fileVaultInstitutionalRecoveryKeyCertificate", $this->_propDict)) { - if (is_a($this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"]; - } else { - $this->_propDict["fileVaultInstitutionalRecoveryKeyCertificate"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 The fileVaultSelectedRecoveryKeyTypes - */ - public function getFileVaultSelectedRecoveryKeyTypes() - { - if (array_key_exists("fileVaultSelectedRecoveryKeyTypes", $this->_propDict)) { - if (is_a($this->_propDict["fileVaultSelectedRecoveryKeyTypes"], "\Beta\Microsoft\Graph\Model\MacOSFileVaultRecoveryKeyTypes")) { - 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 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 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 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 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 The gatekeeperAllowedAppSource - */ - public function getGatekeeperAllowedAppSource() - { - if (array_key_exists("gatekeeperAllowedAppSource", $this->_propDict)) { - if (is_a($this->_propDict["gatekeeperAllowedAppSource"], "\Beta\Microsoft\Graph\Model\MacOSGatekeeperAppSources")) { - 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 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 deleted file mode 100644 index 179d4f57..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSEnterpriseWiFiConfiguration.php +++ /dev/null @@ -1,313 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapFastConfiguration - */ - public function getEapFastConfiguration() - { - if (array_key_exists("eapFastConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["eapFastConfiguration"], "\Beta\Microsoft\Graph\Model\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. - * - * @return EapType The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 The innerAuthenticationProtocolForEapTtls - */ - public function getInnerAuthenticationProtocolForEapTtls() - { - if (array_key_exists("innerAuthenticationProtocolForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 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 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase")) { - 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 The rootCertificateForServerValidation - */ - public function getRootCertificateForServerValidation() - { - if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\MacOSTrustedRootCertificate")) { - 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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index bfae2c9e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSExtensionsConfiguration.php +++ /dev/null @@ -1,233 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index ead6314d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSFileVaultRecoveryKeyTypes.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index a5f40d9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSGatekeeperAppSources.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 airPrintBlocked - * Indicates whether or not AirPrint is blocked (macOS 10.12 and later). - * - * @return bool 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 (macOS 10.12 and later). - * - * @param bool $val The airPrintBlocked - * - * @return MacOSGeneralDeviceConfiguration - */ - 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 (macOS 10.3 and later). - * - * @return bool 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 (macOS 10.3 and later). - * - * @param bool $val The airPrintBlockiBeaconDiscovery - * - * @return MacOSGeneralDeviceConfiguration - */ - public function setAirPrintBlockiBeaconDiscovery($val) - { - $this->_propDict["airPrintBlockiBeaconDiscovery"] = boolval($val); - return $this; - } - - /** - * Gets the airPrintForceTrustedTLS - * Indicates if trusted certificates are required for TLS printing communication (macOS 10.13 and later). - * - * @return bool 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 (macOS 10.13 and later). - * - * @param bool $val The airPrintForceTrustedTLS - * - * @return MacOSGeneralDeviceConfiguration - */ - public function setAirPrintForceTrustedTLS($val) - { - $this->_propDict["airPrintForceTrustedTLS"] = boolval($val); - return $this; - } - - /** - * Gets the appleWatchBlockAutoUnlock - * Indicates whether or to block users from unlocking their Mac with Apple Watch. - * - * @return bool 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 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 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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 iTunesBlockFileSharing - * Indicates whether or not to block files from being transferred using iTunes. - * - * @return bool 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 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 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 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 passwordBlockAirDropSharing - * Indicates whether or not to block sharing passwords with the AirDrop passwords feature. - * - * @return bool 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 softwareUpdatesEnforcedDelayInDays - * Sets how many days a software update will be delyed for a supervised device. Valid values 0 to 90 - * - * @return int 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 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 updateDelayPolicy - * Determines whether to delay OS and/or app updates for macOS. Possible values are: none, delayOSUpdateVisibility, delayAppUpdateVisibility. - * - * @return MacOSSoftwareUpdateDelayPolicy The updateDelayPolicy - */ - public function getUpdateDelayPolicy() - { - if (array_key_exists("updateDelayPolicy", $this->_propDict)) { - if (is_a($this->_propDict["updateDelayPolicy"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateDelayPolicy")) { - 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. - * - * @param MacOSSoftwareUpdateDelayPolicy $val The updateDelayPolicy - * - * @return MacOSGeneralDeviceConfiguration - */ - public function setUpdateDelayPolicy($val) - { - $this->_propDict["updateDelayPolicy"] = $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 deleted file mode 100644 index d02ac2e5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSImportedPFXCertificateProfile.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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/MacOSKerberosSingleSignOnExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKerberosSingleSignOnExtension.php deleted file mode 100644 index 4fa5eac6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKerberosSingleSignOnExtension.php +++ /dev/null @@ -1,623 +0,0 @@ -setODataType("#microsoft.graph.macOSKerberosSingleSignOnExtension"); - } - - /** - * Gets the activeDirectorySiteCode - * Gets or sets the Active Directory site. - * - * @return string 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 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 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 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 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 domainRealms - * Gets or sets a list of realms for custom domain-realm mapping. Realms are case sensitive. - * - * @return string 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 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 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 passwordBlockModification - * Enables or disables password changes. - * - * @return bool 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 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 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 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 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 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 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 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 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 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 realm - * Gets or sets the case-sensitive realm name for this profile. - * - * @return string 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 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 userPrincipalName - * Gets or sets the principle user name to use for this profile. The realm name does not need to be included. - * - * @return string 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; - } -} 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 deleted file mode 100644 index ebc20398..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSKernelExtension.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index f171e4a6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLaunchItem.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 7d50e64d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobApp.php +++ /dev/null @@ -1,322 +0,0 @@ -_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 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 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 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\MacOSMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 9d7d4101..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSLobChildApp.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 96bf3e94..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMdatpApp.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["channel"], "\Beta\Microsoft\Graph\Model\MicrosoftEdgeChannel")) { - 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 deleted file mode 100644 index 2ac65823..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSMinimumOperatingSystem.php +++ /dev/null @@ -1,278 +0,0 @@ -_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 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 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 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 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 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 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 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 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; - } -} 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 deleted file mode 100644 index 4e6bfded..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSOfficeSuiteApp.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The certificateStore - */ - public function getCertificateStore() - { - if (array_key_exists("certificateStore", $this->_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index c2351963..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSPrivacyAccessControlItem.php +++ /dev/null @@ -1,844 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessibility"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The addressBook - */ - public function getAddressBook() - { - if (array_key_exists("addressBook", $this->_propDict)) { - if (is_a($this->_propDict["addressBook"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The appleEventsAllowedReceivers - */ - public function getAppleEventsAllowedReceivers() - { - if (array_key_exists("appleEventsAllowedReceivers", $this->_propDict)) { - if (is_a($this->_propDict["appleEventsAllowedReceivers"], "\Beta\Microsoft\Graph\Model\MacOSAppleEventReceiver")) { - 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 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 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 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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 The fileProviderPresence - */ - public function getFileProviderPresence() - { - if (array_key_exists("fileProviderPresence", $this->_propDict)) { - if (is_a($this->_propDict["fileProviderPresence"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 The identifierType - */ - public function getIdentifierType() - { - if (array_key_exists("identifierType", $this->_propDict)) { - if (is_a($this->_propDict["identifierType"], "\Beta\Microsoft\Graph\Model\MacOSProcessIdentifierType")) { - 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 The mediaLibrary - */ - public function getMediaLibrary() - { - if (array_key_exists("mediaLibrary", $this->_propDict)) { - if (is_a($this->_propDict["mediaLibrary"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The photos - */ - public function getPhotos() - { - if (array_key_exists("photos", $this->_propDict)) { - if (is_a($this->_propDict["photos"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The postEvent - */ - public function getPostEvent() - { - if (array_key_exists("postEvent", $this->_propDict)) { - if (is_a($this->_propDict["postEvent"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The reminders - */ - public function getReminders() - { - if (array_key_exists("reminders", $this->_propDict)) { - if (is_a($this->_propDict["reminders"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The speechRecognition - */ - public function getSpeechRecognition() - { - if (array_key_exists("speechRecognition", $this->_propDict)) { - if (is_a($this->_propDict["speechRecognition"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 The systemPolicyAllFiles - */ - public function getSystemPolicyAllFiles() - { - if (array_key_exists("systemPolicyAllFiles", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicyAllFiles"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The systemPolicyDesktopFolder - */ - public function getSystemPolicyDesktopFolder() - { - if (array_key_exists("systemPolicyDesktopFolder", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicyDesktopFolder"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The systemPolicyDocumentsFolder - */ - public function getSystemPolicyDocumentsFolder() - { - if (array_key_exists("systemPolicyDocumentsFolder", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicyDocumentsFolder"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The systemPolicyDownloadsFolder - */ - public function getSystemPolicyDownloadsFolder() - { - if (array_key_exists("systemPolicyDownloadsFolder", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicyDownloadsFolder"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The systemPolicyNetworkVolumes - */ - public function getSystemPolicyNetworkVolumes() - { - if (array_key_exists("systemPolicyNetworkVolumes", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicyNetworkVolumes"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The systemPolicyRemovableVolumes - */ - public function getSystemPolicyRemovableVolumes() - { - if (array_key_exists("systemPolicyRemovableVolumes", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicyRemovableVolumes"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The systemPolicySystemAdminFiles - */ - public function getSystemPolicySystemAdminFiles() - { - if (array_key_exists("systemPolicySystemAdminFiles", $this->_propDict)) { - if (is_a($this->_propDict["systemPolicySystemAdminFiles"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 deleted file mode 100644 index 273a4c63..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSProcessIdentifierType.php +++ /dev/null @@ -1,34 +0,0 @@ -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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 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 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 deleted file mode 100644 index ad0ff635..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSScepCertificateProfile.php +++ /dev/null @@ -1,369 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 The hashAlgorithm - */ - public function getHashAlgorithm() - { - if (array_key_exists("hashAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\MacOSTrustedRootCertificate")) { - 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 deleted file mode 100644 index 06290116..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSingleSignOnExtension.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index 10c52344..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateBehavior.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 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 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 The updateCategory - */ - public function getUpdateCategory() - { - if (array_key_exists("updateCategory", $this->_propDict)) { - if (is_a($this->_propDict["updateCategory"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateCategory")) { - 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 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 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 deleted file mode 100644 index 23ce7788..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateConfiguration.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allOtherUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior")) { - 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. - * - * @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. - * - * @return MacOSSoftwareUpdateBehavior The configDataUpdateBehavior - */ - public function getConfigDataUpdateBehavior() - { - if (array_key_exists("configDataUpdateBehavior", $this->_propDict)) { - if (is_a($this->_propDict["configDataUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior")) { - 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. - * - * @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. - * - * @return MacOSSoftwareUpdateBehavior The criticalUpdateBehavior - */ - public function getCriticalUpdateBehavior() - { - if (array_key_exists("criticalUpdateBehavior", $this->_propDict)) { - if (is_a($this->_propDict["criticalUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior")) { - 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. - * - * @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 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. - * - * @return MacOSSoftwareUpdateBehavior The firmwareUpdateBehavior - */ - public function getFirmwareUpdateBehavior() - { - if (array_key_exists("firmwareUpdateBehavior", $this->_propDict)) { - if (is_a($this->_propDict["firmwareUpdateBehavior"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateBehavior")) { - 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. - * - * @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 The updateScheduleType - */ - public function getUpdateScheduleType() - { - if (array_key_exists("updateScheduleType", $this->_propDict)) { - if (is_a($this->_propDict["updateScheduleType"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateScheduleType")) { - 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 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 deleted file mode 100644 index 24454202..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSoftwareUpdateDelayPolicy.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateState")) { - 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 The updateCategory - */ - public function getUpdateCategory() - { - if (array_key_exists("updateCategory", $this->_propDict)) { - if (is_a($this->_propDict["updateCategory"], "\Beta\Microsoft\Graph\Model\MacOSSoftwareUpdateCategory")) { - 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 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 deleted file mode 100644 index 615b3d36..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtension.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index b616981c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSSystemExtensionType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedTypes"], "\Beta\Microsoft\Graph\Model\MacOSSystemExtensionType")) { - 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 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 deleted file mode 100644 index 50222f70..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSTrustedRootCertificate.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index cebc3982..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSVpnConfiguration.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase")) { - 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 deleted file mode 100644 index d12ad4fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiFiConfiguration.php +++ /dev/null @@ -1,325 +0,0 @@ -_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 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 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 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 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 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 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 The proxySettings - */ - public function getProxySettings() - { - if (array_key_exists("proxySettings", $this->_propDict)) { - if (is_a($this->_propDict["proxySettings"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting")) { - 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 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 The wiFiSecurityType - */ - public function getWiFiSecurityType() - { - if (array_key_exists("wiFiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wiFiSecurityType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 96906cb3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOSWiredNetworkConfiguration.php +++ /dev/null @@ -1,345 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 The eapFastConfiguration - */ - public function getEapFastConfiguration() - { - if (array_key_exists("eapFastConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["eapFastConfiguration"], "\Beta\Microsoft\Graph\Model\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. - * - * @return EapType The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 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 The networkInterface - */ - public function getNetworkInterface() - { - if (array_key_exists("networkInterface", $this->_propDict)) { - if (is_a($this->_propDict["networkInterface"], "\Beta\Microsoft\Graph\Model\WiredNetworkInterface")) { - 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 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 The nonEapAuthenticationMethodForEapTtls - */ - public function getNonEapAuthenticationMethodForEapTtls() - { - if (array_key_exists("nonEapAuthenticationMethodForEapTtls", $this->_propDict)) { - if (is_a($this->_propDict["nonEapAuthenticationMethodForEapTtls"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\MacOSCertificateProfileBase")) { - 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 The rootCertificateForServerValidation - */ - public function getRootCertificateForServerValidation() - { - if (array_key_exists("rootCertificateForServerValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForServerValidation"], "\Beta\Microsoft\Graph\Model\MacOSTrustedRootCertificate")) { - 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 deleted file mode 100644 index 5f10bdf9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsLobAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.macOsLobAppAssignmentSettings"); - } - - /** - * Gets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. - * - * @return bool 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 deleted file mode 100644 index 8f814350..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppApp.php +++ /dev/null @@ -1,389 +0,0 @@ -_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 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 The licensingType - */ - public function getLicensingType() - { - if (array_key_exists("licensingType", $this->_propDict)) { - if (is_a($this->_propDict["licensingType"], "\Beta\Microsoft\Graph\Model\VppLicensingType")) { - 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 The releaseDateTime - */ - public function getReleaseDateTime() - { - if (array_key_exists("releaseDateTime", $this->_propDict)) { - if (is_a($this->_propDict["releaseDateTime"], "\DateTime")) { - 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 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 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 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 The vppTokenAccountType - */ - public function getVppTokenAccountType() - { - if (array_key_exists("vppTokenAccountType", $this->_propDict)) { - if (is_a($this->_propDict["vppTokenAccountType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 deleted file mode 100644 index 5ab0e020..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignedLicense.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index d82f94e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppAssignmentSettings.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.macOsVppAppAssignmentSettings"); - } - - /** - * Gets the uninstallOnDeviceRemoval - * Whether or not to uninstall the app when device is removed from Intune. - * - * @return bool 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 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 deleted file mode 100644 index 6dd32a6e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MacOsVppAppRevokeLicensesActionResult.php +++ /dev/null @@ -1,298 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionFailureReason"], "\Beta\Microsoft\Graph\Model\VppTokenActionFailureReason")) { - 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 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 The actionState - */ - public function getActionState() - { - if (array_key_exists("actionState", $this->_propDict)) { - if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\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 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 46c2268c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MachineLearningDetectedSensitiveContent.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["matchTolerance"], "\Beta\Microsoft\Graph\Model\MlClassificationMatchTolerance")) { - 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 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 deleted file mode 100644 index e5dd80cc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailAssessmentRequest.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["destinationRoutingReason"], "\Beta\Microsoft\Graph\Model\MailDestinationRoutingReason")) { - 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 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 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 deleted file mode 100644 index 6aa8ee28..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailDestinationRoutingReason.php +++ /dev/null @@ -1,48 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index c8c6cf39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailSearchFolder.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index e5391a5c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTips.php +++ /dev/null @@ -1,387 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["automaticReplies"], "\Beta\Microsoft\Graph\Model\AutomaticRepliesMailTips")) { - 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 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 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 The emailAddress - */ - public function getEmailAddress() - { - if (array_key_exists("emailAddress", $this->_propDict)) { - if (is_a($this->_propDict["emailAddress"], "\Beta\Microsoft\Graph\Model\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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\MailTipsError")) { - 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 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 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 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 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 The recipientScope - */ - public function getRecipientScope() - { - if (array_key_exists("recipientScope", $this->_propDict)) { - if (is_a($this->_propDict["recipientScope"], "\Beta\Microsoft\Graph\Model\RecipientScopeType")) { - 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 The recipientSuggestions - */ - public function getRecipientSuggestions() - { - if (array_key_exists("recipientSuggestions", $this->_propDict)) { - if (is_a($this->_propDict["recipientSuggestions"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 deleted file mode 100644 index 06730791..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 591ef8fa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailTipsType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 The automaticRepliesSetting - */ - public function getAutomaticRepliesSetting() - { - if (array_key_exists("automaticRepliesSetting", $this->_propDict)) { - if (is_a($this->_propDict["automaticRepliesSetting"], "\Beta\Microsoft\Graph\Model\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 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 The delegateMeetingMessageDeliveryOptions - */ - public function getDelegateMeetingMessageDeliveryOptions() - { - if (array_key_exists("delegateMeetingMessageDeliveryOptions", $this->_propDict)) { - if (is_a($this->_propDict["delegateMeetingMessageDeliveryOptions"], "\Beta\Microsoft\Graph\Model\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 The language - */ - public function getLanguage() - { - if (array_key_exists("language", $this->_propDict)) { - if (is_a($this->_propDict["language"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 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 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 The userPurpose - */ - public function getUserPurpose() - { - if (array_key_exists("userPurpose", $this->_propDict)) { - if (is_a($this->_propDict["userPurpose"], "\Beta\Microsoft\Graph\Model\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 The userPurposeV2 - */ - public function getUserPurposeV2() - { - if (array_key_exists("userPurposeV2", $this->_propDict)) { - if (is_a($this->_propDict["userPurposeV2"], "\Beta\Microsoft\Graph\Model\MailboxRecipientType")) { - 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 The workingHours - */ - public function getWorkingHours() - { - if (array_key_exists("workingHours", $this->_propDict)) { - if (is_a($this->_propDict["workingHours"], "\Beta\Microsoft\Graph\Model\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/MailboxUsageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageDetail.php deleted file mode 100644 index 1905d7e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageDetail.php +++ /dev/null @@ -1,448 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDate"], "\DateTime")) { - return $this->_propDict["createdDate"]; - } else { - $this->_propDict["createdDate"] = new \DateTime($this->_propDict["createdDate"]); - return $this->_propDict["createdDate"]; - } - } - return null; - } - - /** - * Sets the createdDate - * - * @param \DateTime $val The createdDate - * - * @return MailboxUsageDetail - */ - public function setCreatedDate($val) - { - $this->_propDict["createdDate"] = $val; - return $this; - } - - /** - * Gets the deletedDate - * - * @return \DateTime The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return MailboxUsageDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the deletedItemCount - * - * @return int The deletedItemCount - */ - public function getDeletedItemCount() - { - if (array_key_exists("deletedItemCount", $this->_propDict)) { - return $this->_propDict["deletedItemCount"]; - } else { - return null; - } - } - - /** - * Sets the deletedItemCount - * - * @param int $val The deletedItemCount - * - * @return MailboxUsageDetail - */ - public function setDeletedItemCount($val) - { - $this->_propDict["deletedItemCount"] = intval($val); - return $this; - } - - /** - * Gets the deletedItemSizeInBytes - * - * @return int The deletedItemSizeInBytes - */ - public function getDeletedItemSizeInBytes() - { - if (array_key_exists("deletedItemSizeInBytes", $this->_propDict)) { - return $this->_propDict["deletedItemSizeInBytes"]; - } else { - return null; - } - } - - /** - * Sets the deletedItemSizeInBytes - * - * @param int $val The deletedItemSizeInBytes - * - * @return MailboxUsageDetail - */ - public function setDeletedItemSizeInBytes($val) - { - $this->_propDict["deletedItemSizeInBytes"] = intval($val); - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 MailboxUsageDetail - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 MailboxUsageDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the issueWarningQuotaInBytes - * - * @return int The issueWarningQuotaInBytes - */ - public function getIssueWarningQuotaInBytes() - { - if (array_key_exists("issueWarningQuotaInBytes", $this->_propDict)) { - return $this->_propDict["issueWarningQuotaInBytes"]; - } else { - return null; - } - } - - /** - * Sets the issueWarningQuotaInBytes - * - * @param int $val The issueWarningQuotaInBytes - * - * @return MailboxUsageDetail - */ - public function setIssueWarningQuotaInBytes($val) - { - $this->_propDict["issueWarningQuotaInBytes"] = intval($val); - return $this; - } - - /** - * Gets the itemCount - * - * @return int The itemCount - */ - public function getItemCount() - { - if (array_key_exists("itemCount", $this->_propDict)) { - return $this->_propDict["itemCount"]; - } else { - return null; - } - } - - /** - * Sets the itemCount - * - * @param int $val The itemCount - * - * @return MailboxUsageDetail - */ - public function setItemCount($val) - { - $this->_propDict["itemCount"] = intval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return MailboxUsageDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the prohibitSendQuotaInBytes - * - * @return int The prohibitSendQuotaInBytes - */ - public function getProhibitSendQuotaInBytes() - { - if (array_key_exists("prohibitSendQuotaInBytes", $this->_propDict)) { - return $this->_propDict["prohibitSendQuotaInBytes"]; - } else { - return null; - } - } - - /** - * Sets the prohibitSendQuotaInBytes - * - * @param int $val The prohibitSendQuotaInBytes - * - * @return MailboxUsageDetail - */ - public function setProhibitSendQuotaInBytes($val) - { - $this->_propDict["prohibitSendQuotaInBytes"] = intval($val); - return $this; - } - - /** - * Gets the prohibitSendReceiveQuotaInBytes - * - * @return int The prohibitSendReceiveQuotaInBytes - */ - public function getProhibitSendReceiveQuotaInBytes() - { - if (array_key_exists("prohibitSendReceiveQuotaInBytes", $this->_propDict)) { - return $this->_propDict["prohibitSendReceiveQuotaInBytes"]; - } else { - return null; - } - } - - /** - * Sets the prohibitSendReceiveQuotaInBytes - * - * @param int $val The prohibitSendReceiveQuotaInBytes - * - * @return MailboxUsageDetail - */ - public function setProhibitSendReceiveQuotaInBytes($val) - { - $this->_propDict["prohibitSendReceiveQuotaInBytes"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return MailboxUsageDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return MailboxUsageDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the storageUsedInBytes - * - * @return int The storageUsedInBytes - */ - public function getStorageUsedInBytes() - { - if (array_key_exists("storageUsedInBytes", $this->_propDict)) { - return $this->_propDict["storageUsedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageUsedInBytes - * - * @param int $val The storageUsedInBytes - * - * @return MailboxUsageDetail - */ - public function setStorageUsedInBytes($val) - { - $this->_propDict["storageUsedInBytes"] = intval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 MailboxUsageDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageMailboxCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageMailboxCounts.php deleted file mode 100644 index faba0c8a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageMailboxCounts.php +++ /dev/null @@ -1,170 +0,0 @@ -_propDict)) { - return $this->_propDict["active"]; - } else { - return null; - } - } - - /** - * Sets the active - * - * @param int $val The active - * - * @return MailboxUsageMailboxCounts - */ - public function setActive($val) - { - $this->_propDict["active"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return MailboxUsageMailboxCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return MailboxUsageMailboxCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return MailboxUsageMailboxCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the total - * - * @return int The total - */ - public function getTotal() - { - if (array_key_exists("total", $this->_propDict)) { - return $this->_propDict["total"]; - } else { - return null; - } - } - - /** - * Sets the total - * - * @param int $val The total - * - * @return MailboxUsageMailboxCounts - */ - public function setTotal($val) - { - $this->_propDict["total"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageQuotaStatusMailboxCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageQuotaStatusMailboxCounts.php deleted file mode 100644 index 753bda12..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageQuotaStatusMailboxCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["indeterminate"]; - } else { - return null; - } - } - - /** - * Sets the indeterminate - * - * @param int $val The indeterminate - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setIndeterminate($val) - { - $this->_propDict["indeterminate"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sendProhibited - * - * @return int The sendProhibited - */ - public function getSendProhibited() - { - if (array_key_exists("sendProhibited", $this->_propDict)) { - return $this->_propDict["sendProhibited"]; - } else { - return null; - } - } - - /** - * Sets the sendProhibited - * - * @param int $val The sendProhibited - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setSendProhibited($val) - { - $this->_propDict["sendProhibited"] = intval($val); - return $this; - } - - /** - * Gets the sendReceiveProhibited - * - * @return int The sendReceiveProhibited - */ - public function getSendReceiveProhibited() - { - if (array_key_exists("sendReceiveProhibited", $this->_propDict)) { - return $this->_propDict["sendReceiveProhibited"]; - } else { - return null; - } - } - - /** - * Sets the sendReceiveProhibited - * - * @param int $val The sendReceiveProhibited - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setSendReceiveProhibited($val) - { - $this->_propDict["sendReceiveProhibited"] = intval($val); - return $this; - } - - /** - * Gets the underLimit - * - * @return int The underLimit - */ - public function getUnderLimit() - { - if (array_key_exists("underLimit", $this->_propDict)) { - return $this->_propDict["underLimit"]; - } else { - return null; - } - } - - /** - * Sets the underLimit - * - * @param int $val The underLimit - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setUnderLimit($val) - { - $this->_propDict["underLimit"] = intval($val); - return $this; - } - - /** - * Gets the warningIssued - * - * @return int The warningIssued - */ - public function getWarningIssued() - { - if (array_key_exists("warningIssued", $this->_propDict)) { - return $this->_propDict["warningIssued"]; - } else { - return null; - } - } - - /** - * Sets the warningIssued - * - * @param int $val The warningIssued - * - * @return MailboxUsageQuotaStatusMailboxCounts - */ - public function setWarningIssued($val) - { - $this->_propDict["warningIssued"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageStorage.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageStorage.php deleted file mode 100644 index bb875d2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MailboxUsageStorage.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return MailboxUsageStorage - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return MailboxUsageStorage - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return MailboxUsageStorage - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the storageUsedInBytes - * - * @return int The storageUsedInBytes - */ - public function getStorageUsedInBytes() - { - if (array_key_exists("storageUsedInBytes", $this->_propDict)) { - return $this->_propDict["storageUsedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageUsedInBytes - * - * @param int $val The storageUsedInBytes - * - * @return MailboxUsageStorage - */ - public function setStorageUsedInBytes($val) - { - $this->_propDict["storageUsedInBytes"] = intval($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 deleted file mode 100644 index a4b4c3a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareState.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index ca40ce04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MalwareStateForWindowsDevice.php +++ /dev/null @@ -1,217 +0,0 @@ -_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 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 The executionState - */ - public function getExecutionState() - { - if (array_key_exists("executionState", $this->_propDict)) { - if (is_a($this->_propDict["executionState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionState")) { - 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 The initialDetectionDateTime - */ - public function getInitialDetectionDateTime() - { - if (array_key_exists("initialDetectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["initialDetectionDateTime"], "\DateTime")) { - 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 The lastStateChangeDateTime - */ - public function getLastStateChangeDateTime() - { - if (array_key_exists("lastStateChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastStateChangeDateTime"], "\DateTime")) { - 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 The threatState - */ - public function getThreatState() - { - if (array_key_exists("threatState", $this->_propDict)) { - if (is_a($this->_propDict["threatState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareThreatState")) { - 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 deleted file mode 100644 index 72b1a580..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAllDeviceCertificateState.php +++ /dev/null @@ -1,391 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateExpirationDateTime"], "\DateTime")) { - 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 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 The certificateIssuanceDateTime - */ - public function getCertificateIssuanceDateTime() - { - if (array_key_exists("certificateIssuanceDateTime", $this->_propDict)) { - if (is_a($this->_propDict["certificateIssuanceDateTime"], "\DateTime")) { - 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 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 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 The certificateRevokeStatus - */ - public function getCertificateRevokeStatus() - { - if (array_key_exists("certificateRevokeStatus", $this->_propDict)) { - if (is_a($this->_propDict["certificateRevokeStatus"], "\Beta\Microsoft\Graph\Model\CertificateRevocationStatus")) { - 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 The certificateRevokeStatusLastChangeDateTime - */ - public function getCertificateRevokeStatusLastChangeDateTime() - { - if (array_key_exists("certificateRevokeStatusLastChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["certificateRevokeStatusLastChangeDateTime"], "\DateTime")) { - 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 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 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 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 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 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 deleted file mode 100644 index dbc2c00c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidLobApp.php +++ /dev/null @@ -1,205 +0,0 @@ -_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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 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 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 deleted file mode 100644 index a73144d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAndroidStoreApp.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 08eb4cba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedApp.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appAvailability"], "\Beta\Microsoft\Graph\Model\ManagedAppAvailability")) { - 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 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 deleted file mode 100644 index 640ab4b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppAvailability.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index b1d5ce7a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppDataEncryptionType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index d6472cc7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppFlaggedReason.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 10f9d2dc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPhoneNumberRedirectLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index e1740943..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummary.php +++ /dev/null @@ -1,177 +0,0 @@ -_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 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 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 The lastRefreshTime - */ - public function getLastRefreshTime() - { - if (array_key_exists("lastRefreshTime", $this->_propDict)) { - if (is_a($this->_propDict["lastRefreshTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 70afa2a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppPolicyDeploymentSummaryPerApp.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The mobileAppIdentifier - */ - public function getMobileAppIdentifier() - { - if (array_key_exists("mobileAppIdentifier", $this->_propDict)) { - if (is_a($this->_propDict["mobileAppIdentifier"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index ade1acd8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtection.php +++ /dev/null @@ -1,1373 +0,0 @@ -_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 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 The allowedInboundDataTransferSources - */ - public function getAllowedInboundDataTransferSources() - { - if (array_key_exists("allowedInboundDataTransferSources", $this->_propDict)) { - if (is_a($this->_propDict["allowedInboundDataTransferSources"], "\Beta\Microsoft\Graph\Model\ManagedAppDataTransferLevel")) { - 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 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 The allowedOutboundClipboardSharingLevel - */ - public function getAllowedOutboundClipboardSharingLevel() - { - if (array_key_exists("allowedOutboundClipboardSharingLevel", $this->_propDict)) { - if (is_a($this->_propDict["allowedOutboundClipboardSharingLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppClipboardSharingLevel")) { - 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 The allowedOutboundDataTransferDestinations - */ - public function getAllowedOutboundDataTransferDestinations() - { - if (array_key_exists("allowedOutboundDataTransferDestinations", $this->_propDict)) { - if (is_a($this->_propDict["allowedOutboundDataTransferDestinations"], "\Beta\Microsoft\Graph\Model\ManagedAppDataTransferLevel")) { - 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 The appActionIfDeviceComplianceRequired - */ - public function getAppActionIfDeviceComplianceRequired() - { - if (array_key_exists("appActionIfDeviceComplianceRequired", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfDeviceComplianceRequired"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfMaximumPinRetriesExceeded - */ - public function getAppActionIfMaximumPinRetriesExceeded() - { - if (array_key_exists("appActionIfMaximumPinRetriesExceeded", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfMaximumPinRetriesExceeded"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The appActionIfUnableToAuthenticateUser - */ - public function getAppActionIfUnableToAuthenticateUser() - { - if (array_key_exists("appActionIfUnableToAuthenticateUser", $this->_propDict)) { - if (is_a($this->_propDict["appActionIfUnableToAuthenticateUser"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 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 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 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 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 The dialerRestrictionLevel - */ - public function getDialerRestrictionLevel() - { - if (array_key_exists("dialerRestrictionLevel", $this->_propDict)) { - if (is_a($this->_propDict["dialerRestrictionLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppPhoneNumberRedirectLevel")) { - 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 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 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 The managedBrowser - */ - public function getManagedBrowser() - { - if (array_key_exists("managedBrowser", $this->_propDict)) { - if (is_a($this->_propDict["managedBrowser"], "\Beta\Microsoft\Graph\Model\ManagedBrowserType")) { - 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 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 The maximumAllowedDeviceThreatLevel - */ - public function getMaximumAllowedDeviceThreatLevel() - { - if (array_key_exists("maximumAllowedDeviceThreatLevel", $this->_propDict)) { - if (is_a($this->_propDict["maximumAllowedDeviceThreatLevel"], "\Beta\Microsoft\Graph\Model\ManagedAppDeviceThreatLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 The mobileThreatDefenseRemediationAction - */ - public function getMobileThreatDefenseRemediationAction() - { - if (array_key_exists("mobileThreatDefenseRemediationAction", $this->_propDict)) { - if (is_a($this->_propDict["mobileThreatDefenseRemediationAction"], "\Beta\Microsoft\Graph\Model\ManagedAppRemediationAction")) { - 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 The notificationRestriction - */ - public function getNotificationRestriction() - { - if (array_key_exists("notificationRestriction", $this->_propDict)) { - if (is_a($this->_propDict["notificationRestriction"], "\Beta\Microsoft\Graph\Model\ManagedAppNotificationRestriction")) { - 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 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 Duration The periodBeforePinReset - */ - public function getPeriodBeforePinReset() - { - if (array_key_exists("periodBeforePinReset", $this->_propDict)) { - if (is_a($this->_propDict["periodBeforePinReset"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodBeforePinReset"]; - } else { - $this->_propDict["periodBeforePinReset"] = new Duration($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 Duration $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 Duration The periodOfflineBeforeAccessCheck - */ - public function getPeriodOfflineBeforeAccessCheck() - { - if (array_key_exists("periodOfflineBeforeAccessCheck", $this->_propDict)) { - if (is_a($this->_propDict["periodOfflineBeforeAccessCheck"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodOfflineBeforeAccessCheck"]; - } else { - $this->_propDict["periodOfflineBeforeAccessCheck"] = new Duration($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 Duration $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 Duration The periodOfflineBeforeWipeIsEnforced - */ - public function getPeriodOfflineBeforeWipeIsEnforced() - { - if (array_key_exists("periodOfflineBeforeWipeIsEnforced", $this->_propDict)) { - if (is_a($this->_propDict["periodOfflineBeforeWipeIsEnforced"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodOfflineBeforeWipeIsEnforced"]; - } else { - $this->_propDict["periodOfflineBeforeWipeIsEnforced"] = new Duration($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 Duration $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 Duration The periodOnlineBeforeAccessCheck - */ - public function getPeriodOnlineBeforeAccessCheck() - { - if (array_key_exists("periodOnlineBeforeAccessCheck", $this->_propDict)) { - if (is_a($this->_propDict["periodOnlineBeforeAccessCheck"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodOnlineBeforeAccessCheck"]; - } else { - $this->_propDict["periodOnlineBeforeAccessCheck"] = new Duration($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 Duration $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 The pinCharacterSet - */ - public function getPinCharacterSet() - { - if (array_key_exists("pinCharacterSet", $this->_propDict)) { - if (is_a($this->_propDict["pinCharacterSet"], "\Beta\Microsoft\Graph\Model\ManagedAppPinCharacterSet")) { - 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 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 Duration The pinRequiredInsteadOfBiometricTimeout - */ - public function getPinRequiredInsteadOfBiometricTimeout() - { - if (array_key_exists("pinRequiredInsteadOfBiometricTimeout", $this->_propDict)) { - if (is_a($this->_propDict["pinRequiredInsteadOfBiometricTimeout"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["pinRequiredInsteadOfBiometricTimeout"]; - } else { - $this->_propDict["pinRequiredInsteadOfBiometricTimeout"] = new Duration($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 Duration $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 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 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 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 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 deleted file mode 100644 index 823b4fb8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppProtectionPolicySetItem.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 4d24d7a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRegistration.php +++ /dev/null @@ -1,594 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appIdentifier"], "\Beta\Microsoft\Graph\Model\MobileAppIdentifier")) { - 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 6c6c754d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppRemediationAction.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index d189036a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedAppStatusRaw.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index c8921db3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedBrowserType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 The chassisType - */ - public function getChassisType() - { - if (array_key_exists("chassisType", $this->_propDict)) { - if (is_a($this->_propDict["chassisType"], "\Beta\Microsoft\Graph\Model\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 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 The complianceGracePeriodExpirationDateTime - */ - public function getComplianceGracePeriodExpirationDateTime() - { - if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 The complianceState - */ - public function getComplianceState() - { - if (array_key_exists("complianceState", $this->_propDict)) { - if (is_a($this->_propDict["complianceState"], "\Beta\Microsoft\Graph\Model\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 The configurationManagerClientEnabledFeatures - */ - public function getConfigurationManagerClientEnabledFeatures() - { - if (array_key_exists("configurationManagerClientEnabledFeatures", $this->_propDict)) { - if (is_a($this->_propDict["configurationManagerClientEnabledFeatures"], "\Beta\Microsoft\Graph\Model\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 The configurationManagerClientHealthState - */ - public function getConfigurationManagerClientHealthState() - { - if (array_key_exists("configurationManagerClientHealthState", $this->_propDict)) { - if (is_a($this->_propDict["configurationManagerClientHealthState"], "\Beta\Microsoft\Graph\Model\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 The configurationManagerClientInformation - */ - public function getConfigurationManagerClientInformation() - { - if (array_key_exists("configurationManagerClientInformation", $this->_propDict)) { - if (is_a($this->_propDict["configurationManagerClientInformation"], "\Beta\Microsoft\Graph\Model\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 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 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, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. - * - * @return DeviceEnrollmentType The deviceEnrollmentType - */ - public function getDeviceEnrollmentType() - { - if (array_key_exists("deviceEnrollmentType", $this->_propDict)) { - if (is_a($this->_propDict["deviceEnrollmentType"], "\Beta\Microsoft\Graph\Model\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, 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 The deviceHealthAttestationState - */ - public function getDeviceHealthAttestationState() - { - if (array_key_exists("deviceHealthAttestationState", $this->_propDict)) { - if (is_a($this->_propDict["deviceHealthAttestationState"], "\Beta\Microsoft\Graph\Model\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 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 The deviceRegistrationState - */ - public function getDeviceRegistrationState() - { - if (array_key_exists("deviceRegistrationState", $this->_propDict)) { - if (is_a($this->_propDict["deviceRegistrationState"], "\Beta\Microsoft\Graph\Model\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, linux, blackberry, palm, unknown, cloudPC. - * - * @return DeviceType The deviceType - */ - public function getDeviceType() - { - if (array_key_exists("deviceType", $this->_propDict)) { - if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\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, 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 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 The easActivationDateTime - */ - public function getEasActivationDateTime() - { - if (array_key_exists("easActivationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["easActivationDateTime"], "\DateTime")) { - 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 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 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 The enrolledDateTime - */ - public function getEnrolledDateTime() - { - if (array_key_exists("enrolledDateTime", $this->_propDict)) { - if (is_a($this->_propDict["enrolledDateTime"], "\DateTime")) { - 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 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 The exchangeAccessState - */ - public function getExchangeAccessState() - { - if (array_key_exists("exchangeAccessState", $this->_propDict)) { - if (is_a($this->_propDict["exchangeAccessState"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessState")) { - 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 The exchangeAccessStateReason - */ - public function getExchangeAccessStateReason() - { - if (array_key_exists("exchangeAccessStateReason", $this->_propDict)) { - if (is_a($this->_propDict["exchangeAccessStateReason"], "\Beta\Microsoft\Graph\Model\DeviceManagementExchangeAccessStateReason")) { - 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 The exchangeLastSuccessfulSyncDateTime - */ - public function getExchangeLastSuccessfulSyncDateTime() - { - if (array_key_exists("exchangeLastSuccessfulSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["exchangeLastSuccessfulSyncDateTime"], "\DateTime")) { - 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 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 The hardwareInformation - */ - public function getHardwareInformation() - { - if (array_key_exists("hardwareInformation", $this->_propDict)) { - if (is_a($this->_propDict["hardwareInformation"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 The joinType - */ - public function getJoinType() - { - if (array_key_exists("joinType", $this->_propDict)) { - if (is_a($this->_propDict["joinType"], "\Beta\Microsoft\Graph\Model\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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The lostModeState - */ - public function getLostModeState() - { - if (array_key_exists("lostModeState", $this->_propDict)) { - if (is_a($this->_propDict["lostModeState"], "\Beta\Microsoft\Graph\Model\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 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 The managedDeviceOwnerType - */ - public function getManagedDeviceOwnerType() - { - if (array_key_exists("managedDeviceOwnerType", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceOwnerType"], "\Beta\Microsoft\Graph\Model\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. - * - * @return ManagementAgentType The managementAgent - */ - public function getManagementAgent() - { - if (array_key_exists("managementAgent", $this->_propDict)) { - if (is_a($this->_propDict["managementAgent"], "\Beta\Microsoft\Graph\Model\ManagementAgentType")) { - 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. - * - * @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 The managementCertificateExpirationDate - */ - public function getManagementCertificateExpirationDate() - { - if (array_key_exists("managementCertificateExpirationDate", $this->_propDict)) { - if (is_a($this->_propDict["managementCertificateExpirationDate"], "\DateTime")) { - 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 The managementFeatures - */ - public function getManagementFeatures() - { - if (array_key_exists("managementFeatures", $this->_propDict)) { - if (is_a($this->_propDict["managementFeatures"], "\Beta\Microsoft\Graph\Model\ManagedDeviceManagementFeatures")) { - 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 The managementState - */ - public function getManagementState() - { - if (array_key_exists("managementState", $this->_propDict)) { - if (is_a($this->_propDict["managementState"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 The ownerType - */ - public function getOwnerType() - { - if (array_key_exists("ownerType", $this->_propDict)) { - if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\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 The partnerReportedThreatState - */ - public function getPartnerReportedThreatState() - { - if (array_key_exists("partnerReportedThreatState", $this->_propDict)) { - if (is_a($this->_propDict["partnerReportedThreatState"], "\Beta\Microsoft\Graph\Model\ManagedDevicePartnerReportedHealthState")) { - 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 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 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 The preferMdmOverGroupPolicyAppliedDateTime - */ - public function getPreferMdmOverGroupPolicyAppliedDateTime() - { - if (array_key_exists("preferMdmOverGroupPolicyAppliedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["preferMdmOverGroupPolicyAppliedDateTime"], "\DateTime")) { - 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 The processorArchitecture - */ - public function getProcessorArchitecture() - { - if (array_key_exists("processorArchitecture", $this->_propDict)) { - if (is_a($this->_propDict["processorArchitecture"], "\Beta\Microsoft\Graph\Model\ManagedDeviceArchitecture")) { - 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 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 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 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 The retireAfterDateTime - */ - public function getRetireAfterDateTime() - { - if (array_key_exists("retireAfterDateTime", $this->_propDict)) { - if (is_a($this->_propDict["retireAfterDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deviceCompliancePolicyStates - * Device compliance policy states for this device. - * - * @return array 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 assignmentFilterEvaluationStatusDetails - * Managed device mobile app configuration states for this device. - * - * @return array 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 deviceConfigurationStates - * Device configuration states for this device. - * - * @return array 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 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 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 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 The deviceCategory - */ - public function getDeviceCategory() - { - if (array_key_exists("deviceCategory", $this->_propDict)) { - if (is_a($this->_propDict["deviceCategory"], "\Beta\Microsoft\Graph\Model\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 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 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. - * - * @return WindowsProtectionState The windowsProtectionState - */ - public function getWindowsProtectionState() - { - if (array_key_exists("windowsProtectionState", $this->_propDict)) { - if (is_a($this->_propDict["windowsProtectionState"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 deleted file mode 100644 index c2f3bd75..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceArchitecture.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The certificateExpirationDateTime - */ - public function getCertificateExpirationDateTime() - { - if (array_key_exists("certificateExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["certificateExpirationDateTime"], "\DateTime")) { - 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 The certificateIssuanceDateTime - */ - public function getCertificateIssuanceDateTime() - { - if (array_key_exists("certificateIssuanceDateTime", $this->_propDict)) { - if (is_a($this->_propDict["certificateIssuanceDateTime"], "\DateTime")) { - 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 The certificateIssuanceState - */ - public function getCertificateIssuanceState() - { - if (array_key_exists("certificateIssuanceState", $this->_propDict)) { - if (is_a($this->_propDict["certificateIssuanceState"], "\Beta\Microsoft\Graph\Model\CertificateIssuanceStates")) { - 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 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 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 The certificateKeyStorageProvider - */ - public function getCertificateKeyStorageProvider() - { - if (array_key_exists("certificateKeyStorageProvider", $this->_propDict)) { - if (is_a($this->_propDict["certificateKeyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption")) { - 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 The certificateKeyUsage - */ - public function getCertificateKeyUsage() - { - if (array_key_exists("certificateKeyUsage", $this->_propDict)) { - if (is_a($this->_propDict["certificateKeyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 The certificateLastIssuanceStateChangedDateTime - */ - public function getCertificateLastIssuanceStateChangedDateTime() - { - if (array_key_exists("certificateLastIssuanceStateChangedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["certificateLastIssuanceStateChangedDateTime"], "\DateTime")) { - 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 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 The certificateRevokeStatus - */ - public function getCertificateRevokeStatus() - { - if (array_key_exists("certificateRevokeStatus", $this->_propDict)) { - if (is_a($this->_propDict["certificateRevokeStatus"], "\Beta\Microsoft\Graph\Model\CertificateRevocationStatus")) { - 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 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 The certificateSubjectAlternativeNameFormat - */ - public function getCertificateSubjectAlternativeNameFormat() - { - if (array_key_exists("certificateSubjectAlternativeNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["certificateSubjectAlternativeNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType")) { - 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 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 The certificateSubjectNameFormat - */ - public function getCertificateSubjectNameFormat() - { - if (array_key_exists("certificateSubjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["certificateSubjectNameFormat"], "\Beta\Microsoft\Graph\Model\SubjectNameFormat")) { - 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 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 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 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 The certificateValidityPeriodUnits - */ - public function getCertificateValidityPeriodUnits() - { - if (array_key_exists("certificateValidityPeriodUnits", $this->_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodUnits"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale")) { - 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 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. - * - * @return DevicePlatformType The devicePlatform - */ - public function getDevicePlatform() - { - if (array_key_exists("devicePlatform", $this->_propDict)) { - if (is_a($this->_propDict["devicePlatform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType")) { - 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. - * - * @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 The lastCertificateStateChangeDateTime - */ - public function getLastCertificateStateChangeDateTime() - { - if (array_key_exists("lastCertificateStateChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCertificateStateChangeDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index d529f82a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCleanupSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index b45247d2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceEncryptionState.php +++ /dev/null @@ -1,371 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["advancedBitLockerStates"], "\Beta\Microsoft\Graph\Model\AdvancedBitLockerState")) { - 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 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 The deviceType - */ - public function getDeviceType() - { - if (array_key_exists("deviceType", $this->_propDict)) { - if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\DeviceTypes")) { - 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 The encryptionPolicySettingState - */ - public function getEncryptionPolicySettingState() - { - if (array_key_exists("encryptionPolicySettingState", $this->_propDict)) { - if (is_a($this->_propDict["encryptionPolicySettingState"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 The encryptionReadinessState - */ - public function getEncryptionReadinessState() - { - if (array_key_exists("encryptionReadinessState", $this->_propDict)) { - if (is_a($this->_propDict["encryptionReadinessState"], "\Beta\Microsoft\Graph\Model\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 The encryptionState - */ - public function getEncryptionState() - { - if (array_key_exists("encryptionState", $this->_propDict)) { - if (is_a($this->_propDict["encryptionState"], "\Beta\Microsoft\Graph\Model\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 The fileVaultStates - */ - public function getFileVaultStates() - { - if (array_key_exists("fileVaultStates", $this->_propDict)) { - if (is_a($this->_propDict["fileVaultStates"], "\Beta\Microsoft\Graph\Model\FileVaultState")) { - 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 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 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 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 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 deleted file mode 100644 index 180d64ae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceManagementFeatures.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The deviceStatusSummary - */ - public function getDeviceStatusSummary() - { - if (array_key_exists("deviceStatusSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceStatusSummary"], "\Beta\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationDeviceSummary")) { - 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 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 The userStatusSummary - */ - public function getUserStatusSummary() - { - if (array_key_exists("userStatusSummary", $this->_propDict)) { - if (is_a($this->_propDict["userStatusSummary"], "\Beta\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationUserSummary")) { - 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 deleted file mode 100644 index 82543222..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index f9ceb482..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php +++ /dev/null @@ -1,271 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index 4b1ffa7b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php +++ /dev/null @@ -1,292 +0,0 @@ -_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 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index c284a845..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationPolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 The sources - */ - public function getSources() - { - if (array_key_exists("sources", $this->_propDict)) { - if (is_a($this->_propDict["sources"], "\Beta\Microsoft\Graph\Model\SettingSource")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 21644ce3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationState.php +++ /dev/null @@ -1,266 +0,0 @@ -_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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 deleted file mode 100644 index 13402c31..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index e844262d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceMobileAppConfigurationUserSummary.php +++ /dev/null @@ -1,263 +0,0 @@ -_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 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index ee0760e5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceModelsAndManufacturers.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 84d41b29..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOverview.php +++ /dev/null @@ -1,246 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceExchangeAccessStateSummary"], "\Beta\Microsoft\Graph\Model\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 The deviceOperatingSystemSummary - */ - public function getDeviceOperatingSystemSummary() - { - if (array_key_exists("deviceOperatingSystemSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceOperatingSystemSummary"], "\Beta\Microsoft\Graph\Model\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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The managedDeviceModelsAndManufacturers - */ - public function getManagedDeviceModelsAndManufacturers() - { - if (array_key_exists("managedDeviceModelsAndManufacturers", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceModelsAndManufacturers"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index a856a4eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceOwnerType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 9194e21c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceSummarizedAppState.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The summarizedAppState - */ - public function getSummarizedAppState() - { - if (array_key_exists("summarizedAppState", $this->_propDict)) { - if (is_a($this->_propDict["summarizedAppState"], "\Beta\Microsoft\Graph\Model\RunState")) { - 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 deleted file mode 100644 index af05b1a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBook.php +++ /dev/null @@ -1,457 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The largeCover - */ - public function getLargeCover() - { - if (array_key_exists("largeCover", $this->_propDict)) { - if (is_a($this->_propDict["largeCover"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The publishedDateTime - */ - public function getPublishedDateTime() - { - if (array_key_exists("publishedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["publishedDateTime"], "\DateTime")) { - 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 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 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 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 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 The installSummary - */ - public function getInstallSummary() - { - if (array_key_exists("installSummary", $this->_propDict)) { - if (is_a($this->_propDict["installSummary"], "\Beta\Microsoft\Graph\Model\EBookInstallSummary")) { - 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 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 deleted file mode 100644 index bb26e8b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookAssignment.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["installIntent"], "\Beta\Microsoft\Graph\Model\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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 6f71d541..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedEBookCategory.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 767a0d13..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSLobApp.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 3463f1c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedIOSStoreApp.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Beta\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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/ManagedMobileApp.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedMobileApp.php deleted file mode 100644 index b48b6d57..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedMobileApp.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["mobileAppIdentifier"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 7d5187ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedMobileLobApp.php +++ /dev/null @@ -1,144 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 33652f78..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementAgentType.php +++ /dev/null @@ -1,45 +0,0 @@ -_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 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/ManagementCondition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementCondition.php deleted file mode 100644 index 7f14c25c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementCondition.php +++ /dev/null @@ -1,269 +0,0 @@ -_propDict)) { - return $this->_propDict["applicablePlatforms"]; - } else { - return null; - } - } - - /** - * Sets the applicablePlatforms - * The applicable platforms for this management condition. - * - * @param DevicePlatformType $val The applicablePlatforms - * - * @return ManagementCondition - */ - public function setApplicablePlatforms($val) - { - $this->_propDict["applicablePlatforms"] = $val; - return $this; - } - - /** - * Gets the createdDateTime - * The time the management condition was created. Generated service side. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 management condition was created. Generated service side. - * - * @param \DateTime $val The createdDateTime - * - * @return ManagementCondition - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the description - * The admin defined description of the management condition. - * - * @return string 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 of the management condition. - * - * @param string $val The description - * - * @return ManagementCondition - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The admin defined name of the management condition. - * - * @return string 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 management condition. - * - * @param string $val The displayName - * - * @return ManagementCondition - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the eTag - * ETag of the management condition. Updated service side. - * - * @return string The eTag - */ - public function getETag() - { - if (array_key_exists("eTag", $this->_propDict)) { - return $this->_propDict["eTag"]; - } else { - return null; - } - } - - /** - * Sets the eTag - * ETag of the management condition. Updated service side. - * - * @param string $val The eTag - * - * @return ManagementCondition - */ - public function setETag($val) - { - $this->_propDict["eTag"] = $val; - return $this; - } - - /** - * Gets the modifiedDateTime - * The time the management condition was last modified. Updated service side. - * - * @return \DateTime The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 management condition was last modified. Updated service side. - * - * @param \DateTime $val The modifiedDateTime - * - * @return ManagementCondition - */ - public function setModifiedDateTime($val) - { - $this->_propDict["modifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the uniqueName - * Unique name for the management condition. Used in management condition expressions. - * - * @return string The uniqueName - */ - public function getUniqueName() - { - if (array_key_exists("uniqueName", $this->_propDict)) { - return $this->_propDict["uniqueName"]; - } else { - return null; - } - } - - /** - * Sets the uniqueName - * Unique name for the management condition. Used in management condition expressions. - * - * @param string $val The uniqueName - * - * @return ManagementCondition - */ - public function setUniqueName($val) - { - $this->_propDict["uniqueName"] = $val; - return $this; - } - - - /** - * Gets the managementConditionStatements - * The management condition statements associated to the management condition. - * - * @return array The managementConditionStatements - */ - public function getManagementConditionStatements() - { - if (array_key_exists("managementConditionStatements", $this->_propDict)) { - return $this->_propDict["managementConditionStatements"]; - } else { - return null; - } - } - - /** - * Sets the managementConditionStatements - * The management condition statements associated to the management condition. - * - * @param ManagementConditionStatement $val The managementConditionStatements - * - * @return ManagementCondition - */ - public function setManagementConditionStatements($val) - { - $this->_propDict["managementConditionStatements"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementConditionExpression.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementConditionExpression.php deleted file mode 100644 index 5a64aa4b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementConditionExpression.php +++ /dev/null @@ -1,26 +0,0 @@ -setODataType("#microsoft.graph.managementConditionExpressionString"); - } - - /** - * Gets the value - * The management condition statement expression string value. - * - * @return string The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - return $this->_propDict["value"]; - } else { - return null; - } - } - - /** - * Sets the value - * The management condition statement expression string value. - * - * @param string $val The value of the value - * - * @return ManagementConditionExpressionString - */ - public function setValue($val) - { - $this->_propDict["value"] = $val; - return $this; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementConditionStatement.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementConditionStatement.php deleted file mode 100644 index 0ecc9c46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementConditionStatement.php +++ /dev/null @@ -1,273 +0,0 @@ -_propDict)) { - return $this->_propDict["applicablePlatforms"]; - } else { - return null; - } - } - - /** - * Sets the applicablePlatforms - * This is calculated from looking the management conditions associated to the management condition statement and finding the intersection of applicable platforms. - * - * @param DevicePlatformType $val The applicablePlatforms - * - * @return ManagementConditionStatement - */ - public function setApplicablePlatforms($val) - { - $this->_propDict["applicablePlatforms"] = $val; - return $this; - } - - /** - * Gets the createdDateTime - * The time the management condition statement was created. Generated service side. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 management condition statement was created. Generated service side. - * - * @param \DateTime $val The createdDateTime - * - * @return ManagementConditionStatement - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the description - * The admin defined description of the management condition statement. - * - * @return string 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 of the management condition statement. - * - * @param string $val The description - * - * @return ManagementConditionStatement - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The admin defined name of the management condition statement. - * - * @return string 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 management condition statement. - * - * @param string $val The displayName - * - * @return ManagementConditionStatement - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the eTag - * ETag of the management condition statement. Updated service side. - * - * @return string The eTag - */ - public function getETag() - { - if (array_key_exists("eTag", $this->_propDict)) { - return $this->_propDict["eTag"]; - } else { - return null; - } - } - - /** - * Sets the eTag - * ETag of the management condition statement. Updated service side. - * - * @param string $val The eTag - * - * @return ManagementConditionStatement - */ - public function setETag($val) - { - $this->_propDict["eTag"] = $val; - return $this; - } - - /** - * Gets the expression - * The management condition statement expression used to evaluate if a management condition statement was activated/deactivated. - * - * @return ManagementConditionExpression The expression - */ - public function getExpression() - { - if (array_key_exists("expression", $this->_propDict)) { - if (is_a($this->_propDict["expression"], "\Beta\Microsoft\Graph\Model\ManagementConditionExpression")) { - return $this->_propDict["expression"]; - } else { - $this->_propDict["expression"] = new ManagementConditionExpression($this->_propDict["expression"]); - return $this->_propDict["expression"]; - } - } - return null; - } - - /** - * Sets the expression - * The management condition statement expression used to evaluate if a management condition statement was activated/deactivated. - * - * @param ManagementConditionExpression $val The expression - * - * @return ManagementConditionStatement - */ - public function setExpression($val) - { - $this->_propDict["expression"] = $val; - return $this; - } - - /** - * Gets the modifiedDateTime - * The time the management condition statement was last modified. Updated service side. - * - * @return \DateTime The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 management condition statement was last modified. Updated service side. - * - * @param \DateTime $val The modifiedDateTime - * - * @return ManagementConditionStatement - */ - public function setModifiedDateTime($val) - { - $this->_propDict["modifiedDateTime"] = $val; - return $this; - } - - - /** - * Gets the managementConditions - * The management conditions associated to the management condition statement. - * - * @return array The managementConditions - */ - public function getManagementConditions() - { - if (array_key_exists("managementConditions", $this->_propDict)) { - return $this->_propDict["managementConditions"]; - } else { - return null; - } - } - - /** - * Sets the managementConditions - * The management conditions associated to the management condition statement. - * - * @param ManagementCondition $val The managementConditions - * - * @return ManagementConditionStatement - */ - public function setManagementConditions($val) - { - $this->_propDict["managementConditions"] = $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 deleted file mode 100644 index 6b5ddf04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagementState.php +++ /dev/null @@ -1,44 +0,0 @@ -_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 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 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 deleted file mode 100644 index 27ffe696..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchLocation.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 02a89bff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingDlpRule.php +++ /dev/null @@ -1,244 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\DlpActionInfo")) { - 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 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 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 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 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 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 The ruleMode - */ - public function getRuleMode() - { - if (array_key_exists("ruleMode", $this->_propDict)) { - if (is_a($this->_propDict["ruleMode"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index a2aa4714..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MatchingLabel.php +++ /dev/null @@ -1,296 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 The labelActions - */ - public function getLabelActions() - { - if (array_key_exists("labelActions", $this->_propDict)) { - if (is_a($this->_propDict["labelActions"], "\Beta\Microsoft\Graph\Model\LabelActionBase")) { - 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 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 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 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 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 deleted file mode 100644 index 3b6d01eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MdmAppConfigKeyType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - return $this->_propDict["isTranscriptionShown"]; - } else { - return null; - } - } - - /** - * Sets the isTranscriptionShown - * - * @param bool $val The value of the isTranscriptionShown - * - * @return Media - */ - public function setIsTranscriptionShown($val) - { - $this->_propDict["isTranscriptionShown"] = $val; - return $this; - } - - /** - * Gets the mediaSource - * - * @return MediaSource The mediaSource - */ - public function getMediaSource() - { - if (array_key_exists("mediaSource", $this->_propDict)) { - if (is_a($this->_propDict["mediaSource"], "\Beta\Microsoft\Graph\Model\MediaSource")) { - return $this->_propDict["mediaSource"]; - } else { - $this->_propDict["mediaSource"] = new MediaSource($this->_propDict["mediaSource"]); - return $this->_propDict["mediaSource"]; - } - } - return null; - } - - /** - * Sets the mediaSource - * - * @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 deleted file mode 100644 index c9cdb504..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaConfig.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index c049e80d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingAustralia.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingAustraliaMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingAustraliaTelevisionType")) { - 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 deleted file mode 100644 index 7e42d669..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingCanada.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingCanadaMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingCanadaTelevisionType")) { - 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 deleted file mode 100644 index 98801c05..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingFrance.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingFranceMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingFranceTelevisionType")) { - 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 deleted file mode 100644 index 2fb203fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingGermany.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingGermanyMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingGermanyTelevisionType")) { - 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 deleted file mode 100644 index 15c05bba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingIreland.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingIrelandMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingIrelandTelevisionType")) { - 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 deleted file mode 100644 index 10b9521d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingJapan.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingJapanMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingJapanTelevisionType")) { - 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 deleted file mode 100644 index 05e392d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingNewZealand.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingNewZealandMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingNewZealandTelevisionType")) { - 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 deleted file mode 100644 index 4cc9b248..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedKingdom.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedKingdomMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedKingdomTelevisionType")) { - 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 deleted file mode 100644 index 57af0ba6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaContentRatingUnitedStates.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedStatesMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Beta\Microsoft\Graph\Model\RatingUnitedStatesTelevisionType")) { - 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 deleted file mode 100644 index 2216714d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaDirection.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 deleted file mode 100644 index 6ea71d7c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaPrompt.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 The mediaInfo - */ - public function getMediaInfo() - { - if (array_key_exists("mediaInfo", $this->_propDict)) { - if (is_a($this->_propDict["mediaInfo"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 13b2a338..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSource.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentCategory"], "\Beta\Microsoft\Graph\Model\MediaSourceContentCategory")) { - return $this->_propDict["contentCategory"]; - } else { - $this->_propDict["contentCategory"] = new MediaSourceContentCategory($this->_propDict["contentCategory"]); - return $this->_propDict["contentCategory"]; - } - } - return null; - } - - /** - * Sets the contentCategory - * - * @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 deleted file mode 100644 index 35dc1260..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MediaSourceContentCategory.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["direction"], "\Beta\Microsoft\Graph\Model\MediaDirection")) { - 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 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 The mediaType - */ - public function getMediaType() - { - if (array_key_exists("mediaType", $this->_propDict)) { - if (is_a($this->_propDict["mediaType"], "\Beta\Microsoft\Graph\Model\Modality")) { - 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 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 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 deleted file mode 100644 index 5b2ae07c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingActivityStatistics.php +++ /dev/null @@ -1,225 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["afterHours"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["afterHours"]; - } else { - $this->_propDict["afterHours"] = new Duration($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 Duration $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 Duration The conflicting - */ - public function getConflicting() - { - if (array_key_exists("conflicting", $this->_propDict)) { - if (is_a($this->_propDict["conflicting"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["conflicting"]; - } else { - $this->_propDict["conflicting"] = new Duration($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 Duration $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 Duration The long - */ - public function getLong() - { - if (array_key_exists("long", $this->_propDict)) { - if (is_a($this->_propDict["long"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["long"]; - } else { - $this->_propDict["long"] = new Duration($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 Duration $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 Duration The multitasking - */ - public function getMultitasking() - { - if (array_key_exists("multitasking", $this->_propDict)) { - if (is_a($this->_propDict["multitasking"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["multitasking"]; - } else { - $this->_propDict["multitasking"] = new Duration($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 Duration $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 Duration The organized - */ - public function getOrganized() - { - if (array_key_exists("organized", $this->_propDict)) { - if (is_a($this->_propDict["organized"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["organized"]; - } else { - $this->_propDict["organized"] = new Duration($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 Duration $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 Duration The recurring - */ - public function getRecurring() - { - if (array_key_exists("recurring", $this->_propDict)) { - if (is_a($this->_propDict["recurring"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["recurring"]; - } else { - $this->_propDict["recurring"] = new Duration($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 Duration $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 deleted file mode 100644 index 62c7c09f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingAttendanceReport.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["attendanceRecords"]; - } else { - return null; - } - } - - /** - * Sets the attendanceRecords - * - * @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/MeetingCapabilities.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingCapabilities.php deleted file mode 100644 index 43b4135b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingCapabilities.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 The autoAdmittedUsers - */ - public function getAutoAdmittedUsers() - { - if (array_key_exists("autoAdmittedUsers", $this->_propDict)) { - if (is_a($this->_propDict["autoAdmittedUsers"], "\Beta\Microsoft\Graph\Model\AutoAdmittedUsersType")) { - 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/MeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingInfo.php deleted file mode 100644 index 14be1aa5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingInfo.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 7e4339cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingMessageType.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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. Possible values are attendee, presenter, producer, and unknownFutureValue. - * - * @return OnlineMeetingRole The role - */ - public function getRole() - { - if (array_key_exists("role", $this->_propDict)) { - if (is_a($this->_propDict["role"], "\Beta\Microsoft\Graph\Model\OnlineMeetingRole")) { - 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. Possible values are attendee, presenter, producer, and unknownFutureValue. - * - * @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 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 deleted file mode 100644 index 3b2325fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingParticipants.php +++ /dev/null @@ -1,154 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendees"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo")) { - return $this->_propDict["attendees"]; - } else { - $this->_propDict["attendees"] = new MeetingParticipantInfo($this->_propDict["attendees"]); - return $this->_propDict["attendees"]; - } - } - return null; - } - - /** - * Sets the 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 - * For broadcast meeting only. - * - * @return MeetingParticipantInfo The contributors - */ - public function getContributors() - { - if (array_key_exists("contributors", $this->_propDict)) { - if (is_a($this->_propDict["contributors"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo")) { - return $this->_propDict["contributors"]; - } else { - $this->_propDict["contributors"] = new MeetingParticipantInfo($this->_propDict["contributors"]); - return $this->_propDict["contributors"]; - } - } - return null; - } - - /** - * Sets the contributors - * For broadcast meeting only. - * - * @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 - * - * @return MeetingParticipantInfo The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo")) { - return $this->_propDict["organizer"]; - } else { - $this->_propDict["organizer"] = new MeetingParticipantInfo($this->_propDict["organizer"]); - return $this->_propDict["organizer"]; - } - } - return null; - } - - /** - * Sets the 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 - * For broadcast meeting only. - * - * @return MeetingParticipantInfo The producers - */ - public function getProducers() - { - if (array_key_exists("producers", $this->_propDict)) { - if (is_a($this->_propDict["producers"], "\Beta\Microsoft\Graph\Model\MeetingParticipantInfo")) { - return $this->_propDict["producers"]; - } else { - $this->_propDict["producers"] = new MeetingParticipantInfo($this->_propDict["producers"]); - return $this->_propDict["producers"]; - } - } - return null; - } - - /** - * Sets the producers - * For broadcast meeting only. - * - * @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/MeetingTimeSuggestion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestion.php deleted file mode 100644 index 8b614c1e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestion.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendeeAvailability"], "\Beta\Microsoft\Graph\Model\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 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 The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - if (is_a($this->_propDict["locations"], "\Beta\Microsoft\Graph\Model\Location")) { - 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 The meetingTimeSlot - */ - public function getMeetingTimeSlot() - { - if (array_key_exists("meetingTimeSlot", $this->_propDict)) { - if (is_a($this->_propDict["meetingTimeSlot"], "\Beta\Microsoft\Graph\Model\TimeSlot")) { - 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 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 The organizerAvailability - */ - public function getOrganizerAvailability() - { - if (array_key_exists("organizerAvailability", $this->_propDict)) { - if (is_a($this->_propDict["organizerAvailability"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus")) { - 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 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 deleted file mode 100644 index fe4d2b3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeetingTimeSuggestionsResult.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The meetingTimeSuggestions - */ - public function getMeetingTimeSuggestions() - { - if (array_key_exists("meetingTimeSuggestions", $this->_propDict)) { - if (is_a($this->_propDict["meetingTimeSuggestions"], "\Beta\Microsoft\Graph\Model\MeetingTimeSuggestion")) { - 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/MembershipRuleEvaluationDetails.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleEvaluationDetails.php deleted file mode 100644 index ccee3b81..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleEvaluationDetails.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["membershipRuleEvaluationDetails"], "\Beta\Microsoft\Graph\Model\ExpressionEvaluationDetails")) { - 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 deleted file mode 100644 index 6da191fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatus.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The lastMembershipUpdated - */ - public function getLastMembershipUpdated() - { - if (array_key_exists("lastMembershipUpdated", $this->_propDict)) { - if (is_a($this->_propDict["lastMembershipUpdated"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MembershipRuleProcessingStatusDetails")) { - 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 deleted file mode 100644 index 198f53c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MembershipRuleProcessingStatusDetails.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\EmailAddress")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The mentioned - */ - public function getMentioned() - { - if (array_key_exists("mentioned", $this->_propDict)) { - if (is_a($this->_propDict["mentioned"], "\Beta\Microsoft\Graph\Model\EmailAddress")) { - 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 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 The serverCreatedDateTime - */ - public function getServerCreatedDateTime() - { - if (array_key_exists("serverCreatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["serverCreatedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 70d5378a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionAction.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["mentionees"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index cba8fe46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MentionsPreview.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index ee239b7f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Message.php +++ /dev/null @@ -1,1061 +0,0 @@ -_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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 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 The conversationIndex - */ - public function getConversationIndex() - { - if (array_key_exists("conversationIndex", $this->_propDict)) { - if (is_a($this->_propDict["conversationIndex"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["conversationIndex"]; - } else { - $this->_propDict["conversationIndex"] = \GuzzleHttp\Psr7\stream_for($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 The flag - */ - public function getFlag() - { - if (array_key_exists("flag", $this->_propDict)) { - if (is_a($this->_propDict["flag"], "\Beta\Microsoft\Graph\Model\FollowupFlag")) { - 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 The from - */ - public function getFrom() - { - if (array_key_exists("from", $this->_propDict)) { - if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 - * The importance of the message. The possible values are: low, normal, and high. - * - * @return Importance The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\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 message. The possible values are: low, normal, and high. - * - * @param Importance $val The importance - * - * @return Message - */ - public function setImportance($val) - { - $this->_propDict["importance"] = $val; - return $this; - } - - /** - * Gets the inferenceClassification - * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. - * - * @return InferenceClassificationType The inferenceClassification - */ - public function getInferenceClassification() - { - if (array_key_exists("inferenceClassification", $this->_propDict)) { - if (is_a($this->_propDict["inferenceClassification"], "\Beta\Microsoft\Graph\Model\InferenceClassificationType")) { - return $this->_propDict["inferenceClassification"]; - } else { - $this->_propDict["inferenceClassification"] = new InferenceClassificationType($this->_propDict["inferenceClassification"]); - return $this->_propDict["inferenceClassification"]; - } - } - return null; - } - - /** - * Sets the inferenceClassification - * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. - * - * @param InferenceClassificationType $val The inferenceClassification - * - * @return Message - */ - public function setInferenceClassification($val) - { - $this->_propDict["inferenceClassification"] = $val; - return $this; - } - - - /** - * Gets the internetMessageHeaders - * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. - * - * @return array The internetMessageHeaders - */ - public function getInternetMessageHeaders() - { - if (array_key_exists("internetMessageHeaders", $this->_propDict)) { - return $this->_propDict["internetMessageHeaders"]; - } else { - return null; - } - } - - /** - * Sets the internetMessageHeaders - * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. - * - * @param InternetMessageHeader $val The internetMessageHeaders - * - * @return Message - */ - public function setInternetMessageHeaders($val) - { - $this->_propDict["internetMessageHeaders"] = $val; - return $this; - } - - /** - * Gets the internetMessageId - * The message ID in the format specified by RFC2822. - * - * @return string The internetMessageId - */ - public function getInternetMessageId() - { - if (array_key_exists("internetMessageId", $this->_propDict)) { - return $this->_propDict["internetMessageId"]; - } else { - return null; - } - } - - /** - * Sets the internetMessageId - * The message ID in the format specified by RFC2822. - * - * @param string $val The internetMessageId - * - * @return Message - */ - public function setInternetMessageId($val) - { - $this->_propDict["internetMessageId"] = $val; - return $this; - } - - /** - * Gets the isDeliveryReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @return bool The isDeliveryReceiptRequested - */ - public function getIsDeliveryReceiptRequested() - { - if (array_key_exists("isDeliveryReceiptRequested", $this->_propDict)) { - return $this->_propDict["isDeliveryReceiptRequested"]; - } else { - return null; - } - } - - /** - * Sets the isDeliveryReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @param bool $val The isDeliveryReceiptRequested - * - * @return Message - */ - public function setIsDeliveryReceiptRequested($val) - { - $this->_propDict["isDeliveryReceiptRequested"] = boolval($val); - return $this; - } - - /** - * Gets the isDraft - * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. - * - * @return bool The isDraft - */ - public function getIsDraft() - { - if (array_key_exists("isDraft", $this->_propDict)) { - return $this->_propDict["isDraft"]; - } else { - return null; - } - } - - /** - * Sets the isDraft - * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. - * - * @param bool $val The isDraft - * - * @return Message - */ - public function setIsDraft($val) - { - $this->_propDict["isDraft"] = boolval($val); - return $this; - } - - /** - * Gets the isRead - * Indicates whether the message has been read. - * - * @return bool 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 message has been read. - * - * @param bool $val The isRead - * - * @return Message - */ - public function setIsRead($val) - { - $this->_propDict["isRead"] = boolval($val); - return $this; - } - - /** - * Gets the isReadReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @return bool The isReadReceiptRequested - */ - public function getIsReadReceiptRequested() - { - if (array_key_exists("isReadReceiptRequested", $this->_propDict)) { - return $this->_propDict["isReadReceiptRequested"]; - } else { - return null; - } - } - - /** - * Sets the isReadReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @param bool $val The isReadReceiptRequested - * - * @return Message - */ - public function setIsReadReceiptRequested($val) - { - $this->_propDict["isReadReceiptRequested"] = boolval($val); - return $this; - } - - /** - * Gets the mentionsPreview - * - * @return MentionsPreview The mentionsPreview - */ - public function getMentionsPreview() - { - if (array_key_exists("mentionsPreview", $this->_propDict)) { - if (is_a($this->_propDict["mentionsPreview"], "\Beta\Microsoft\Graph\Model\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 - * The unique identifier for the message's parent mailFolder. - * - * @return string 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 message's parent mailFolder. - * - * @param string $val The parentFolderId - * - * @return Message - */ - public function setParentFolderId($val) - { - $this->_propDict["parentFolderId"] = $val; - return $this; - } - - /** - * Gets the receivedDateTime - * The date and time the message was received. 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. - * - * @return \DateTime The receivedDateTime - */ - public function getReceivedDateTime() - { - if (array_key_exists("receivedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["receivedDateTime"], "\DateTime")) { - return $this->_propDict["receivedDateTime"]; - } else { - $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); - return $this->_propDict["receivedDateTime"]; - } - } - return null; - } - - /** - * Sets the receivedDateTime - * The date and time the message was received. 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. - * - * @param \DateTime $val The receivedDateTime - * - * @return Message - */ - public function setReceivedDateTime($val) - { - $this->_propDict["receivedDateTime"] = $val; - return $this; - } - - - /** - * Gets the replyTo - * The email addresses to use when replying. - * - * @return array The replyTo - */ - public function getReplyTo() - { - if (array_key_exists("replyTo", $this->_propDict)) { - return $this->_propDict["replyTo"]; - } else { - return null; - } - } - - /** - * Sets the replyTo - * The email addresses to use when replying. - * - * @param Recipient $val The replyTo - * - * @return Message - */ - public function setReplyTo($val) - { - $this->_propDict["replyTo"] = $val; - return $this; - } - - /** - * Gets the sender - * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. - * - * @return Recipient The sender - */ - public function getSender() - { - if (array_key_exists("sender", $this->_propDict)) { - if (is_a($this->_propDict["sender"], "\Beta\Microsoft\Graph\Model\Recipient")) { - return $this->_propDict["sender"]; - } else { - $this->_propDict["sender"] = new Recipient($this->_propDict["sender"]); - return $this->_propDict["sender"]; - } - } - return null; - } - - /** - * Sets the sender - * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, 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 sender - * - * @return Message - */ - public function setSender($val) - { - $this->_propDict["sender"] = $val; - return $this; - } - - /** - * Gets the sentDateTime - * The date and time the message was sent. 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. - * - * @return \DateTime The sentDateTime - */ - public function getSentDateTime() - { - if (array_key_exists("sentDateTime", $this->_propDict)) { - if (is_a($this->_propDict["sentDateTime"], "\DateTime")) { - return $this->_propDict["sentDateTime"]; - } else { - $this->_propDict["sentDateTime"] = new \DateTime($this->_propDict["sentDateTime"]); - return $this->_propDict["sentDateTime"]; - } - } - return null; - } - - /** - * Sets the sentDateTime - * The date and time the message was sent. 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. - * - * @param \DateTime $val The sentDateTime - * - * @return Message - */ - public function setSentDateTime($val) - { - $this->_propDict["sentDateTime"] = $val; - return $this; - } - - /** - * Gets the subject - * The subject of the message. - * - * @return string 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 message. - * - * @param string $val The subject - * - * @return Message - */ - public function setSubject($val) - { - $this->_propDict["subject"] = $val; - return $this; - } - - - /** - * Gets the toRecipients - * The To: recipients for the message. - * - * @return array 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 message. - * - * @param Recipient $val The toRecipients - * - * @return Message - */ - public function setToRecipients($val) - { - $this->_propDict["toRecipients"] = $val; - return $this; - } - - /** - * Gets the uniqueBody - * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. - * - * @return ItemBody The uniqueBody - */ - public function getUniqueBody() - { - if (array_key_exists("uniqueBody", $this->_propDict)) { - if (is_a($this->_propDict["uniqueBody"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - return $this->_propDict["uniqueBody"]; - } else { - $this->_propDict["uniqueBody"] = new ItemBody($this->_propDict["uniqueBody"]); - return $this->_propDict["uniqueBody"]; - } - } - return null; - } - - /** - * Sets the uniqueBody - * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. - * - * @param ItemBody $val The uniqueBody - * - * @return Message - */ - public function setUniqueBody($val) - { - $this->_propDict["uniqueBody"] = $val; - return $this; - } - - /** - * Gets the unsubscribeData - * - * @return string 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 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 - * The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook on the web review pane.The message 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 The webLink - */ - public function getWebLink() - { - if (array_key_exists("webLink", $this->_propDict)) { - return $this->_propDict["webLink"]; - } else { - return null; - } - } - - /** - * Sets the webLink - * The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook on the web review pane.The message 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 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 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 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 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 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 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 deleted file mode 100644 index 2f334208..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageActionFlag.php +++ /dev/null @@ -1,43 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\MessageRuleActions")) { - 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 The conditions - */ - public function getConditions() - { - if (array_key_exists("conditions", $this->_propDict)) { - if (is_a($this->_propDict["conditions"], "\Beta\Microsoft\Graph\Model\MessageRulePredicates")) { - 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 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 The exceptions - */ - public function getExceptions() - { - if (array_key_exists("exceptions", $this->_propDict)) { - if (is_a($this->_propDict["exceptions"], "\Beta\Microsoft\Graph\Model\MessageRulePredicates")) { - 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 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 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 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 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 deleted file mode 100644 index dc7770b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRuleActions.php +++ /dev/null @@ -1,354 +0,0 @@ -_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 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 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 The forwardAsAttachmentTo - */ - public function getForwardAsAttachmentTo() - { - if (array_key_exists("forwardAsAttachmentTo", $this->_propDict)) { - if (is_a($this->_propDict["forwardAsAttachmentTo"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 The forwardTo - */ - public function getForwardTo() - { - if (array_key_exists("forwardTo", $this->_propDict)) { - if (is_a($this->_propDict["forwardTo"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 The markImportance - */ - public function getMarkImportance() - { - if (array_key_exists("markImportance", $this->_propDict)) { - if (is_a($this->_propDict["markImportance"], "\Beta\Microsoft\Graph\Model\Importance")) { - 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 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 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 The redirectTo - */ - public function getRedirectTo() - { - if (array_key_exists("redirectTo", $this->_propDict)) { - if (is_a($this->_propDict["redirectTo"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 deleted file mode 100644 index 0cea39a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageRulePredicates.php +++ /dev/null @@ -1,896 +0,0 @@ -_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 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 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 The fromAddresses - */ - public function getFromAddresses() - { - if (array_key_exists("fromAddresses", $this->_propDict)) { - if (is_a($this->_propDict["fromAddresses"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 The messageActionFlag - */ - public function getMessageActionFlag() - { - if (array_key_exists("messageActionFlag", $this->_propDict)) { - if (is_a($this->_propDict["messageActionFlag"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The sensitivity - */ - public function getSensitivity() - { - if (array_key_exists("sensitivity", $this->_propDict)) { - if (is_a($this->_propDict["sensitivity"], "\Beta\Microsoft\Graph\Model\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 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 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 The sentToAddresses - */ - public function getSentToAddresses() - { - if (array_key_exists("sentToAddresses", $this->_propDict)) { - if (is_a($this->_propDict["sentToAddresses"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 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 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 The withinSizeRange - */ - public function getWithinSizeRange() - { - if (array_key_exists("withinSizeRange", $this->_propDict)) { - if (is_a($this->_propDict["withinSizeRange"], "\Beta\Microsoft\Graph\Model\SizeRange")) { - 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 deleted file mode 100644 index 7ef94398..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MessageSecurityState.php +++ /dev/null @@ -1,265 +0,0 @@ -_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 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 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 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 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 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 The messageReceivedDateTime - */ - public function getMessageReceivedDateTime() - { - if (array_key_exists("messageReceivedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["messageReceivedDateTime"], "\DateTime")) { - 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 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 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/MetadataAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataAction.php deleted file mode 100644 index 38fae606..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataAction.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["metadataToAdd"], "\Beta\Microsoft\Graph\Model\KeyValuePair")) { - 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 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 deleted file mode 100644 index 063eb6d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MetadataEntry.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c70bb965..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MeteredConnectionLimitType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dateTime"], "\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 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 deleted file mode 100644 index 65e0fdda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MfaDetail.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/MicrosoftAuthenticatorAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethod.php deleted file mode 100644 index 7532045c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethod.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 1b804280..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 7e888c9d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMode"], "\Beta\Microsoft\Graph\Model\MicrosoftAuthenticatorAuthenticationMode")) { - 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. Possible values are: any, deviceBasedPush (passwordless only), push. - * - * @param MicrosoftAuthenticatorAuthenticationMode $val The authenticationMode - * - * @return MicrosoftAuthenticatorAuthenticationMethodTarget - */ - public function setAuthenticationMode($val) - { - $this->_propDict["authenticationMode"] = $val; - return $this; - } - - /** - * Gets the featureSettings - * Determines what additional settings should be applied to Microsoft Authenticator. Possible values are: null, requireNumberMatching (Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications). - * - * @return AuthenticatorAppFeatureSettings The featureSettings - */ - public function getFeatureSettings() - { - if (array_key_exists("featureSettings", $this->_propDict)) { - if (is_a($this->_propDict["featureSettings"], "\Beta\Microsoft\Graph\Model\AuthenticatorAppFeatureSettings")) { - return $this->_propDict["featureSettings"]; - } else { - $this->_propDict["featureSettings"] = new AuthenticatorAppFeatureSettings($this->_propDict["featureSettings"]); - return $this->_propDict["featureSettings"]; - } - } - return null; - } - - /** - * Sets the featureSettings - * Determines what additional settings should be applied to Microsoft Authenticator. Possible values are: null, requireNumberMatching (Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications). - * - * @param AuthenticatorAppFeatureSettings $val The featureSettings - * - * @return MicrosoftAuthenticatorAuthenticationMethodTarget - */ - public function setFeatureSettings($val) - { - $this->_propDict["featureSettings"] = $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 deleted file mode 100644 index 1d87904e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftAuthenticatorAuthenticationMode.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["licenseType"], "\Beta\Microsoft\Graph\Model\MicrosoftStoreForBusinessLicenseType")) { - 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 The licensingType - */ - public function getLicensingType() - { - if (array_key_exists("licensingType", $this->_propDict)) { - if (is_a($this->_propDict["licensingType"], "\Beta\Microsoft\Graph\Model\VppLicensingType")) { - 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 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 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 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 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 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 deleted file mode 100644 index 565fab14..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.microsoftStoreForBusinessAppAssignmentSettings"); - } - - /** - * Gets the useDeviceContext - * Whether or not to use device execution context for Microsoft Store for Business mobile app. - * - * @return bool 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 deleted file mode 100644 index fd71e6b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessContainedApp.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 844e96f1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftStoreForBusinessLicenseType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 displayName - * The MicrosoftTunnelConfiguration's display name - * - * @return string 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index 83810d9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelHealthThreshold.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 92b818af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelLogCollectionStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The lastCheckinDateTime - */ - public function getLastCheckinDateTime() - { - if (array_key_exists("lastCheckinDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCheckinDateTime"], "\DateTime")) { - 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 tunnelServerHealthStatus - * The MicrosoftTunnelServer's health status. Possible values are: unknown, healthy, unhealthy, warning, offline, upgradeInProgress, upgradeFailed. - * - * @return MicrosoftTunnelServerHealthStatus The tunnelServerHealthStatus - */ - public function getTunnelServerHealthStatus() - { - if (array_key_exists("tunnelServerHealthStatus", $this->_propDict)) { - if (is_a($this->_propDict["tunnelServerHealthStatus"], "\Beta\Microsoft\Graph\Model\MicrosoftTunnelServerHealthStatus")) { - 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 deleted file mode 100644 index ac5ebd76..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelServerHealthStatus.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The expiryDateTime - */ - public function getExpiryDateTime() - { - if (array_key_exists("expiryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expiryDateTime"], "\DateTime")) { - 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 The requestDateTime - */ - public function getRequestDateTime() - { - if (array_key_exists("requestDateTime", $this->_propDict)) { - if (is_a($this->_propDict["requestDateTime"], "\DateTime")) { - 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\MicrosoftTunnelLogCollectionStatus")) { - 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 deleted file mode 100644 index 0dcbc0a0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MicrosoftTunnelSite.php +++ /dev/null @@ -1,206 +0,0 @@ -_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 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 publicAddress - * The MicrosoftTunnelSite's public domain name or IP address - * - * @return string 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 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 microsoftTunnelConfiguration - * The MicrosoftTunnelConfiguration that has been applied to this MicrosoftTunnelSite - * - * @return MicrosoftTunnelConfiguration The microsoftTunnelConfiguration - */ - public function getMicrosoftTunnelConfiguration() - { - if (array_key_exists("microsoftTunnelConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["microsoftTunnelConfiguration"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index a0fffb68..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MigrationStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 5a9e670f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MiracastChannel.php +++ /dev/null @@ -1,53 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The largeIcon - */ - public function getLargeIcon() - { - if (array_key_exists("largeIcon", $this->_propDict)) { - if (is_a($this->_propDict["largeIcon"], "\Beta\Microsoft\Graph\Model\MimeContent")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 The publishingState - */ - public function getPublishingState() - { - if (array_key_exists("publishingState", $this->_propDict)) { - if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\MobileAppPublishingState")) { - 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 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 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 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 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 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 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 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 The installSummary - */ - public function getInstallSummary() - { - if (array_key_exists("installSummary", $this->_propDict)) { - if (is_a($this->_propDict["installSummary"], "\Beta\Microsoft\Graph\Model\MobileAppInstallSummary")) { - 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 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 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 deleted file mode 100644 index b7b2f4d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppActionType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\InstallIntent")) { - 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\MobileAppAssignmentSettings")) { - 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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 1eb47ad0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppAssignmentSettings.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 9291a52f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContent.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 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 deleted file mode 100644 index fd456ec2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFile.php +++ /dev/null @@ -1,362 +0,0 @@ -_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 The azureStorageUriExpirationDateTime - */ - public function getAzureStorageUriExpirationDateTime() - { - if (array_key_exists("azureStorageUriExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["azureStorageUriExpirationDateTime"], "\DateTime")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The manifest - */ - public function getManifest() - { - if (array_key_exists("manifest", $this->_propDict)) { - if (is_a($this->_propDict["manifest"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["manifest"]; - } else { - $this->_propDict["manifest"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The uploadState - */ - public function getUploadState() - { - if (array_key_exists("uploadState", $this->_propDict)) { - if (is_a($this->_propDict["uploadState"], "\Beta\Microsoft\Graph\Model\MobileAppContentFileUploadState")) { - 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 deleted file mode 100644 index 639ca437..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppContentFileUploadState.php +++ /dev/null @@ -1,48 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dependencyType"], "\Beta\Microsoft\Graph\Model\MobileAppDependencyType")) { - 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 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 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 deleted file mode 100644 index 49670e44..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppDependencyType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 The installState - */ - public function getInstallState() - { - if (array_key_exists("installState", $this->_propDict)) { - if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState")) { - 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, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. - * - * @return ResultantAppStateDetail The installStateDetail - */ - public function getInstallStateDetail() - { - if (array_key_exists("installStateDetail", $this->_propDict)) { - if (is_a($this->_propDict["installStateDetail"], "\Beta\Microsoft\Graph\Model\ResultantAppStateDetail")) { - 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, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The mobileAppInstallStatusValue - */ - public function getMobileAppInstallStatusValue() - { - if (array_key_exists("mobileAppInstallStatusValue", $this->_propDict)) { - if (is_a($this->_propDict["mobileAppInstallStatusValue"], "\Beta\Microsoft\Graph\Model\ResultantAppState")) { - 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 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 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 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 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 The app - */ - public function getApp() - { - if (array_key_exists("app", $this->_propDict)) { - if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\MobileApp")) { - 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 deleted file mode 100644 index 376f1b9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallSummary.php +++ /dev/null @@ -1,317 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 17f6abdd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppInstallTimeSettings.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deadlineDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index f5db6677..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntent.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 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 deleted file mode 100644 index 8a360cb4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppIntentAndStateDetail.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 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 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 The installState - */ - public function getInstallState() - { - if (array_key_exists("installState", $this->_propDict)) { - if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState")) { - 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 The mobileAppIntent - */ - public function getMobileAppIntent() - { - if (array_key_exists("mobileAppIntent", $this->_propDict)) { - if (is_a($this->_propDict["mobileAppIntent"], "\Beta\Microsoft\Graph\Model\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 The supportedDeviceTypes - */ - public function getSupportedDeviceTypes() - { - if (array_key_exists("supportedDeviceTypes", $this->_propDict)) { - if (is_a($this->_propDict["supportedDeviceTypes"], "\Beta\Microsoft\Graph\Model\MobileAppSupportedDeviceType")) { - 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 deleted file mode 100644 index 96c474d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPolicySetItem.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intent"], "\Beta\Microsoft\Graph\Model\InstallIntent")) { - 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\MobileAppAssignmentSettings")) { - 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 deleted file mode 100644 index 7998ddbf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppProvisioningConfigGroupAssignment.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 421bc62f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppPublishingState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 The targetType - */ - public function getTargetType() - { - if (array_key_exists("targetType", $this->_propDict)) { - if (is_a($this->_propDict["targetType"], "\Beta\Microsoft\Graph\Model\MobileAppRelationshipType")) { - 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 deleted file mode 100644 index b1fa4dc4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipState.php +++ /dev/null @@ -1,265 +0,0 @@ -_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 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 The installState - */ - public function getInstallState() - { - if (array_key_exists("installState", $this->_propDict)) { - if (is_a($this->_propDict["installState"], "\Beta\Microsoft\Graph\Model\ResultantAppState")) { - 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, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, powerShellScriptRequirementNotMet, registryRequirementNotMet, fileSystemRequirementNotMet, platformNotApplicable, minimumCpuSpeedNotMet, minimumLogicalProcessorCountNotMet, minimumPhysicalMemoryNotMet, minimumOsVersionNotMet, minimumDiskSpaceNotMet, processorArchitectureNotApplicable. - * - * @return ResultantAppStateDetail The installStateDetail - */ - public function getInstallStateDetail() - { - if (array_key_exists("installStateDetail", $this->_propDict)) { - if (is_a($this->_propDict["installStateDetail"], "\Beta\Microsoft\Graph\Model\ResultantAppStateDetail")) { - 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, iosAppStoreUpdateFailedToInstall, vppAppHasUpdateAvailable, userRejectedUpdate, seeInstallErrorCode, autoInstallDisabled, managedAppNoLongerPresent, userRejectedInstall, userIsNotLoggedIntoAppStore, seeUninstallErrorCode, pendingReboot, installingDependencies, contentDownloaded, 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 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 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 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 The targetLastSyncDateTime - */ - public function getTargetLastSyncDateTime() - { - if (array_key_exists("targetLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["targetLastSyncDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index dad40d7c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppRelationshipType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The supersedenceType - */ - public function getSupersedenceType() - { - if (array_key_exists("supersedenceType", $this->_propDict)) { - if (is_a($this->_propDict["supersedenceType"], "\Beta\Microsoft\Graph\Model\MobileAppSupersedenceType")) { - 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 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 deleted file mode 100644 index 4a33fa04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppSupersedenceType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\DeviceType")) { - 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 deleted file mode 100644 index fc1204e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppPolicyCreationHistory.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The runState - */ - public function getRunState() - { - if (array_key_exists("runState", $this->_propDict)) { - if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 12f26f74..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppStateHistory.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionType"], "\Beta\Microsoft\Graph\Model\MobileAppActionType")) { - 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 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 The runState - */ - public function getRunState() - { - if (array_key_exists("runState", $this->_propDict)) { - if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index f52108c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppTargetHistory.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The runState - */ - public function getRunState() - { - if (array_key_exists("runState", $this->_propDict)) { - if (is_a($this->_propDict["runState"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 489e0220..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingAppUpdateHistory.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 1e46f05f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileAppTroubleshootingHistoryItem.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["occurrenceDateTime"], "\DateTime")) { - 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 The troubleshootingErrorDetails - */ - public function getTroubleshootingErrorDetails() - { - if (array_key_exists("troubleshootingErrorDetails", $this->_propDict)) { - if (is_a($this->_propDict["troubleshootingErrorDetails"], "\Beta\Microsoft\Graph\Model\DeviceManagementTroubleshootingErrorDetails")) { - 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 deleted file mode 100644 index 8187db15..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileContainedApp.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 44e877d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatDefenseConnector.php +++ /dev/null @@ -1,470 +0,0 @@ -_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 androidDeviceBlockedOnMissingPartnerData - * For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant - * - * @return bool 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 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 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 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 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 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 The lastHeartbeatDateTime - */ - public function getLastHeartbeatDateTime() - { - if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime")) { - 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 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 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 partnerState - * Data Sync Partner state for this account. Possible values are: unavailable, available, enabled, unresponsive. - * - * @return MobileThreatPartnerTenantState The partnerState - */ - public function getPartnerState() - { - if (array_key_exists("partnerState", $this->_propDict)) { - if (is_a($this->_propDict["partnerState"], "\Beta\Microsoft\Graph\Model\MobileThreatPartnerTenantState")) { - 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 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 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 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 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 deleted file mode 100644 index 5b7db6d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MobileThreatPartnerTenantState.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 082e22b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MoveAction.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/MultiValueLegacyExtendedProperty.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MultiValueLegacyExtendedProperty.php deleted file mode 100644 index 6c994197..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/MultiValueLegacyExtendedProperty.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index b1f21e95..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Mutability.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index c383996c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NamedLocation.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 5de75868..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnector.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The lastConnectionDateTime - */ - public function getLastConnectionDateTime() - { - if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\NdesConnectorState")) { - 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 deleted file mode 100644 index 28457810..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NdesConnectorState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 The direction - */ - public function getDirection() - { - if (array_key_exists("direction", $this->_propDict)) { - if (is_a($this->_propDict["direction"], "\Beta\Microsoft\Graph\Model\ConnectionDirection")) { - 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 The domainRegisteredDateTime - */ - public function getDomainRegisteredDateTime() - { - if (array_key_exists("domainRegisteredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["domainRegisteredDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The protocol - */ - public function getProtocol() - { - if (array_key_exists("protocol", $this->_propDict)) { - if (is_a($this->_propDict["protocol"], "\Beta\Microsoft\Graph\Model\SecurityNetworkProtocol")) { - 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 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ConnectionStatus")) { - 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 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/NetworkIPv4ConfigurationManagementCondition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkIPv4ConfigurationManagementCondition.php deleted file mode 100644 index 7bae8feb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkIPv4ConfigurationManagementCondition.php +++ /dev/null @@ -1,172 +0,0 @@ -_propDict)) { - return $this->_propDict["dnsSuffixList"]; - } else { - return null; - } - } - - /** - * Sets the dnsSuffixList - * Valid DNS suffixes for the current network. e.g. seattle.contoso.com - * - * @param string $val The dnsSuffixList - * - * @return NetworkIPv4ConfigurationManagementCondition - */ - public function setDnsSuffixList($val) - { - $this->_propDict["dnsSuffixList"] = $val; - return $this; - } - - /** - * Gets the ipV4DHCPServer - * The IPv4 address of the DHCP server for the adapter. - * - * @return string The ipV4DHCPServer - */ - public function getIpV4DHCPServer() - { - if (array_key_exists("ipV4DHCPServer", $this->_propDict)) { - return $this->_propDict["ipV4DHCPServer"]; - } else { - return null; - } - } - - /** - * Sets the ipV4DHCPServer - * The IPv4 address of the DHCP server for the adapter. - * - * @param string $val The ipV4DHCPServer - * - * @return NetworkIPv4ConfigurationManagementCondition - */ - public function setIpV4DHCPServer($val) - { - $this->_propDict["ipV4DHCPServer"] = $val; - return $this; - } - - /** - * Gets the ipV4DNSServerList - * The IPv4 DNS servers configured for the adapter. - * - * @return string The ipV4DNSServerList - */ - public function getIpV4DNSServerList() - { - if (array_key_exists("ipV4DNSServerList", $this->_propDict)) { - return $this->_propDict["ipV4DNSServerList"]; - } else { - return null; - } - } - - /** - * Sets the ipV4DNSServerList - * The IPv4 DNS servers configured for the adapter. - * - * @param string $val The ipV4DNSServerList - * - * @return NetworkIPv4ConfigurationManagementCondition - */ - public function setIpV4DNSServerList($val) - { - $this->_propDict["ipV4DNSServerList"] = $val; - return $this; - } - - /** - * Gets the ipV4Gateway - * The IPv4 gateway address. e.g. 10.0.0.0 - * - * @return string The ipV4Gateway - */ - public function getIpV4Gateway() - { - if (array_key_exists("ipV4Gateway", $this->_propDict)) { - return $this->_propDict["ipV4Gateway"]; - } else { - return null; - } - } - - /** - * Sets the ipV4Gateway - * The IPv4 gateway address. e.g. 10.0.0.0 - * - * @param string $val The ipV4Gateway - * - * @return NetworkIPv4ConfigurationManagementCondition - */ - public function setIpV4Gateway($val) - { - $this->_propDict["ipV4Gateway"] = $val; - return $this; - } - - /** - * Gets the ipV4Prefix - * The IPv4 subnet to be connected to. e.g. 10.0.0.0/8 - * - * @return string The ipV4Prefix - */ - public function getIpV4Prefix() - { - if (array_key_exists("ipV4Prefix", $this->_propDict)) { - return $this->_propDict["ipV4Prefix"]; - } else { - return null; - } - } - - /** - * Sets the ipV4Prefix - * The IPv4 subnet to be connected to. e.g. 10.0.0.0/8 - * - * @param string $val The ipV4Prefix - * - * @return NetworkIPv4ConfigurationManagementCondition - */ - public function setIpV4Prefix($val) - { - $this->_propDict["ipV4Prefix"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkIPv6ConfigurationManagementCondition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkIPv6ConfigurationManagementCondition.php deleted file mode 100644 index b4d657ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkIPv6ConfigurationManagementCondition.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - return $this->_propDict["dnsSuffixList"]; - } else { - return null; - } - } - - /** - * Sets the dnsSuffixList - * Valid DNS suffixes for the current network. e.g. seattle.contoso.com - * - * @param string $val The dnsSuffixList - * - * @return NetworkIPv6ConfigurationManagementCondition - */ - public function setDnsSuffixList($val) - { - $this->_propDict["dnsSuffixList"] = $val; - return $this; - } - - /** - * Gets the ipV6DNSServerList - * An IPv6 DNS servers configured for the adapter. - * - * @return string The ipV6DNSServerList - */ - public function getIpV6DNSServerList() - { - if (array_key_exists("ipV6DNSServerList", $this->_propDict)) { - return $this->_propDict["ipV6DNSServerList"]; - } else { - return null; - } - } - - /** - * Sets the ipV6DNSServerList - * An IPv6 DNS servers configured for the adapter. - * - * @param string $val The ipV6DNSServerList - * - * @return NetworkIPv6ConfigurationManagementCondition - */ - public function setIpV6DNSServerList($val) - { - $this->_propDict["ipV6DNSServerList"] = $val; - return $this; - } - - /** - * Gets the ipV6Gateway - * The IPv6 gateway address to. e.g 2001:db8::1 - * - * @return string The ipV6Gateway - */ - public function getIpV6Gateway() - { - if (array_key_exists("ipV6Gateway", $this->_propDict)) { - return $this->_propDict["ipV6Gateway"]; - } else { - return null; - } - } - - /** - * Sets the ipV6Gateway - * The IPv6 gateway address to. e.g 2001:db8::1 - * - * @param string $val The ipV6Gateway - * - * @return NetworkIPv6ConfigurationManagementCondition - */ - public function setIpV6Gateway($val) - { - $this->_propDict["ipV6Gateway"] = $val; - return $this; - } - - /** - * Gets the ipV6Prefix - * The IPv6 subnet to be connected to. e.g. 2001:db8::/32 - * - * @return string The ipV6Prefix - */ - public function getIpV6Prefix() - { - if (array_key_exists("ipV6Prefix", $this->_propDict)) { - return $this->_propDict["ipV6Prefix"]; - } else { - return null; - } - } - - /** - * Sets the ipV6Prefix - * The IPv6 subnet to be connected to. e.g. 2001:db8::/32 - * - * @param string $val The ipV6Prefix - * - * @return NetworkIPv6ConfigurationManagementCondition - */ - public function setIpV6Prefix($val) - { - $this->_propDict["ipV6Prefix"] = $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 deleted file mode 100644 index ec9c6bdf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkInterface.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index f399df1f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkLocationDetail.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The networkType - */ - public function getNetworkType() - { - if (array_key_exists("networkType", $this->_propDict)) { - if (is_a($this->_propDict["networkType"], "\Beta\Microsoft\Graph\Model\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/NetworkManagementCondition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkManagementCondition.php deleted file mode 100644 index c18f654f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NetworkManagementCondition.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 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 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 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 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 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 deleted file mode 100644 index 8dc06a5e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notebook.php +++ /dev/null @@ -1,269 +0,0 @@ -_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 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\NotebookLinks")) { - 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 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 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 The userRole - */ - public function getUserRole() - { - if (array_key_exists("userRole", $this->_propDict)) { - if (is_a($this->_propDict["userRole"], "\Beta\Microsoft\Graph\Model\OnenoteUserRole")) { - 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 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 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 deleted file mode 100644 index 78cf071c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotebookLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index 3dc6d8f2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Notification.php +++ /dev/null @@ -1,246 +0,0 @@ -_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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The payload - */ - public function getPayload() - { - if (array_key_exists("payload", $this->_propDict)) { - if (is_a($this->_propDict["payload"], "\Beta\Microsoft\Graph\Model\PayloadTypes")) { - 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 The priority - */ - public function getPriority() - { - if (array_key_exists("priority", $this->_propDict)) { - if (is_a($this->_propDict["priority"], "\Beta\Microsoft\Graph\Model\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 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 The targetPolicy - */ - public function getTargetPolicy() - { - if (array_key_exists("targetPolicy", $this->_propDict)) { - if (is_a($this->_propDict["targetPolicy"], "\Beta\Microsoft\Graph\Model\TargetPolicyEndpoints")) { - 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 deleted file mode 100644 index ff830b22..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationMessageTemplate.php +++ /dev/null @@ -1,210 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["brandingOptions"], "\Beta\Microsoft\Graph\Model\NotificationTemplateBrandingOptions")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 0b7e3e34..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NotificationTemplateBrandingOptions.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionLastModifiedDateTime"], "\DateTime")) { - 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 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 The overrideOption - */ - public function getOverrideOption() - { - if (array_key_exists("overrideOption", $this->_propDict)) { - if (is_a($this->_propDict["overrideOption"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 5b9e652b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberColumn.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 90e12989..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/NumberRange.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index db243b3e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OAuth2PermissionGrant.php +++ /dev/null @@ -1,238 +0,0 @@ -_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 if 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 The consentType - */ - public function getConsentType() - { - if (array_key_exists("consentType", $this->_propDict)) { - return $this->_propDict["consentType"]; - } else { - return null; - } - } - - /** - * Sets the consentType - * Indicates if 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 The expiryTime - */ - public function getExpiryTime() - { - if (array_key_exists("expiryTime", $this->_propDict)) { - if (is_a($this->_propDict["expiryTime"], "\DateTime")) { - 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 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 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 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\DateTime")) { - 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/ObjectDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php deleted file mode 100644 index 8bfff77e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectDefinition.php +++ /dev/null @@ -1,140 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attributes"], "\Beta\Microsoft\Graph\Model\AttributeDefinition")) { - 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 The metadata - */ - public function getMetadata() - { - if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry")) { - 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 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 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 deleted file mode 100644 index 5aa39d41..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectFlowTypes.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 character limit. - * - * @return string 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 starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 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 or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. 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 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 or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. 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 deleted file mode 100644 index 73750c4d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ObjectMapping.php +++ /dev/null @@ -1,270 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attributeMappings"], "\Beta\Microsoft\Graph\Model\AttributeMapping")) { - 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 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 The flowTypes - */ - public function getFlowTypes() - { - if (array_key_exists("flowTypes", $this->_propDict)) { - if (is_a($this->_propDict["flowTypes"], "\Beta\Microsoft\Graph\Model\ObjectFlowTypes")) { - 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 The metadata - */ - public function getMetadata() - { - if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\MetadataEntry")) { - 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 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 The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\Filter")) { - 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 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 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/OfferShiftRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfferShiftRequest.php deleted file mode 100644 index cb338f03..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfferShiftRequest.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recipientActionDateTime"], "\DateTime")) { - 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 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 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 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/Office365ActivationCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationCounts.php deleted file mode 100644 index 0cac3610..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationCounts.php +++ /dev/null @@ -1,234 +0,0 @@ -_propDict)) { - return $this->_propDict["android"]; - } else { - return null; - } - } - - /** - * Sets the android - * The activation count on an Android device. - * - * @param int $val The android - * - * @return Office365ActivationCounts - */ - public function setAndroid($val) - { - $this->_propDict["android"] = intval($val); - return $this; - } - - /** - * Gets the ios - * The activation count on iOS. - * - * @return int The ios - */ - public function getIos() - { - if (array_key_exists("ios", $this->_propDict)) { - return $this->_propDict["ios"]; - } else { - return null; - } - } - - /** - * Sets the ios - * The activation count on iOS. - * - * @param int $val The ios - * - * @return Office365ActivationCounts - */ - public function setIos($val) - { - $this->_propDict["ios"] = intval($val); - return $this; - } - - /** - * Gets the mac - * The activation count on Mac OS. - * - * @return int The mac - */ - public function getMac() - { - if (array_key_exists("mac", $this->_propDict)) { - return $this->_propDict["mac"]; - } else { - return null; - } - } - - /** - * Sets the mac - * The activation count on Mac OS. - * - * @param int $val The mac - * - * @return Office365ActivationCounts - */ - public function setMac($val) - { - $this->_propDict["mac"] = intval($val); - return $this; - } - - /** - * Gets the productType - * The product type, such as 'Microsoft 365 ProPlus' or 'Project Client'. - * - * @return string The productType - */ - public function getProductType() - { - if (array_key_exists("productType", $this->_propDict)) { - return $this->_propDict["productType"]; - } else { - return null; - } - } - - /** - * Sets the productType - * The product type, such as 'Microsoft 365 ProPlus' or 'Project Client'. - * - * @param string $val The productType - * - * @return Office365ActivationCounts - */ - public function setProductType($val) - { - $this->_propDict["productType"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * The latest date of the content. - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 Office365ActivationCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the windows - * The activation count on Windows. This number includes every activation on any Windows computer. - * - * @return int The windows - */ - public function getWindows() - { - if (array_key_exists("windows", $this->_propDict)) { - return $this->_propDict["windows"]; - } else { - return null; - } - } - - /** - * Sets the windows - * The activation count on Windows. This number includes every activation on any Windows computer. - * - * @param int $val The windows - * - * @return Office365ActivationCounts - */ - public function setWindows($val) - { - $this->_propDict["windows"] = intval($val); - return $this; - } - - /** - * Gets the windows10Mobile - * The activation count on Windows 10 mobile. - * - * @return int The windows10Mobile - */ - public function getWindows10Mobile() - { - if (array_key_exists("windows10Mobile", $this->_propDict)) { - return $this->_propDict["windows10Mobile"]; - } else { - return null; - } - } - - /** - * Sets the windows10Mobile - * The activation count on Windows 10 mobile. - * - * @param int $val The windows10Mobile - * - * @return Office365ActivationCounts - */ - public function setWindows10Mobile($val) - { - $this->_propDict["windows10Mobile"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationsUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationsUserCounts.php deleted file mode 100644 index 41fc6428..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationsUserCounts.php +++ /dev/null @@ -1,176 +0,0 @@ -_propDict)) { - return $this->_propDict["activated"]; - } else { - return null; - } - } - - /** - * Sets the activated - * The number of users who have activated the product. - * - * @param int $val The activated - * - * @return Office365ActivationsUserCounts - */ - public function setActivated($val) - { - $this->_propDict["activated"] = intval($val); - return $this; - } - - /** - * Gets the assigned - * The number of users have been assigned for the product license. - * - * @return int The assigned - */ - public function getAssigned() - { - if (array_key_exists("assigned", $this->_propDict)) { - return $this->_propDict["assigned"]; - } else { - return null; - } - } - - /** - * Sets the assigned - * The number of users have been assigned for the product license. - * - * @param int $val The assigned - * - * @return Office365ActivationsUserCounts - */ - public function setAssigned($val) - { - $this->_propDict["assigned"] = intval($val); - return $this; - } - - /** - * Gets the productType - * The product type such as 'Microsoft 365 ProPlus' or 'Project Client'. - * - * @return string The productType - */ - public function getProductType() - { - if (array_key_exists("productType", $this->_propDict)) { - return $this->_propDict["productType"]; - } else { - return null; - } - } - - /** - * Sets the productType - * The product type such as 'Microsoft 365 ProPlus' or 'Project Client'. - * - * @param string $val The productType - * - * @return Office365ActivationsUserCounts - */ - public function setProductType($val) - { - $this->_propDict["productType"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * The latest date of the content. - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 Office365ActivationsUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sharedComputerActivation - * The number of users who have used the product on a shared computer. - * - * @return int The sharedComputerActivation - */ - public function getSharedComputerActivation() - { - if (array_key_exists("sharedComputerActivation", $this->_propDict)) { - return $this->_propDict["sharedComputerActivation"]; - } else { - return null; - } - } - - /** - * Sets the sharedComputerActivation - * The number of users who have used the product on a shared computer. - * - * @param int $val The sharedComputerActivation - * - * @return Office365ActivationsUserCounts - */ - public function setSharedComputerActivation($val) - { - $this->_propDict["sharedComputerActivation"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationsUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationsUserDetail.php deleted file mode 100644 index 147abaff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActivationsUserDetail.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 Office365ActivationsUserDetail - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * The latest date of the content. - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 Office365ActivationsUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - - /** - * Gets the userActivationCounts - * The user's latest product activation counts on all the platforms for all the assigned product types. - * - * @return array The userActivationCounts - */ - public function getUserActivationCounts() - { - if (array_key_exists("userActivationCounts", $this->_propDict)) { - return $this->_propDict["userActivationCounts"]; - } else { - return null; - } - } - - /** - * Sets the userActivationCounts - * The user's latest product activation counts on all the platforms for all the assigned product types. - * - * @param UserActivationCounts $val The userActivationCounts - * - * @return Office365ActivationsUserDetail - */ - public function setUserActivationCounts($val) - { - $this->_propDict["userActivationCounts"] = $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 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 Office365ActivationsUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $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 deleted file mode 100644 index 64d55cc2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserCounts.php +++ /dev/null @@ -1,325 +0,0 @@ -_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 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 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 The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index c6365335..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ActiveUserDetail.php +++ /dev/null @@ -1,779 +0,0 @@ -_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 The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - 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 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 The exchangeLastActivityDate - */ - public function getExchangeLastActivityDate() - { - if (array_key_exists("exchangeLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["exchangeLastActivityDate"], "\DateTime")) { - 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 The exchangeLicenseAssignDate - */ - public function getExchangeLicenseAssignDate() - { - if (array_key_exists("exchangeLicenseAssignDate", $this->_propDict)) { - if (is_a($this->_propDict["exchangeLicenseAssignDate"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The oneDriveLastActivityDate - */ - public function getOneDriveLastActivityDate() - { - if (array_key_exists("oneDriveLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["oneDriveLastActivityDate"], "\DateTime")) { - 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 The oneDriveLicenseAssignDate - */ - public function getOneDriveLicenseAssignDate() - { - if (array_key_exists("oneDriveLicenseAssignDate", $this->_propDict)) { - if (is_a($this->_propDict["oneDriveLicenseAssignDate"], "\DateTime")) { - 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 The sharePointLastActivityDate - */ - public function getSharePointLastActivityDate() - { - if (array_key_exists("sharePointLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["sharePointLastActivityDate"], "\DateTime")) { - 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 The sharePointLicenseAssignDate - */ - public function getSharePointLicenseAssignDate() - { - if (array_key_exists("sharePointLicenseAssignDate", $this->_propDict)) { - if (is_a($this->_propDict["sharePointLicenseAssignDate"], "\DateTime")) { - 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 The skypeForBusinessLastActivityDate - */ - public function getSkypeForBusinessLastActivityDate() - { - if (array_key_exists("skypeForBusinessLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["skypeForBusinessLastActivityDate"], "\DateTime")) { - 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 The skypeForBusinessLicenseAssignDate - */ - public function getSkypeForBusinessLicenseAssignDate() - { - if (array_key_exists("skypeForBusinessLicenseAssignDate", $this->_propDict)) { - if (is_a($this->_propDict["skypeForBusinessLicenseAssignDate"], "\DateTime")) { - 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 The teamsLastActivityDate - */ - public function getTeamsLastActivityDate() - { - if (array_key_exists("teamsLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["teamsLastActivityDate"], "\DateTime")) { - 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 The teamsLicenseAssignDate - */ - public function getTeamsLicenseAssignDate() - { - if (array_key_exists("teamsLicenseAssignDate", $this->_propDict)) { - if (is_a($this->_propDict["teamsLicenseAssignDate"], "\DateTime")) { - 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 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 The yammerLastActivityDate - */ - public function getYammerLastActivityDate() - { - if (array_key_exists("yammerLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["yammerLastActivityDate"], "\DateTime")) { - 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 The yammerLicenseAssignDate - */ - public function getYammerLicenseAssignDate() - { - if (array_key_exists("yammerLicenseAssignDate", $this->_propDict)) { - if (is_a($this->_propDict["yammerLicenseAssignDate"], "\DateTime")) { - 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 deleted file mode 100644 index e88c7ae4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityCounts.php +++ /dev/null @@ -1,238 +0,0 @@ -_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 The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 0a303a20..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityDetail.php +++ /dev/null @@ -1,586 +0,0 @@ -_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 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 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 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 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 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 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 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 The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - 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 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 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index a68c1475..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityFileCounts.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 deleted file mode 100644 index ab03fb68..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityGroupCounts.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 deleted file mode 100644 index 1da005c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365GroupsActivityStorage.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 deleted file mode 100644 index c33120df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Office365ServicesUserCounts.php +++ /dev/null @@ -1,495 +0,0 @@ -_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 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 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 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 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 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 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 The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 470699ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientCheckinStatus.php +++ /dev/null @@ -1,283 +0,0 @@ -_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 The checkinDateTime - */ - public function getCheckinDateTime() - { - if (array_key_exists("checkinDateTime", $this->_propDict)) { - if (is_a($this->_propDict["checkinDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 deleted file mode 100644 index 9818d0e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfiguration.php +++ /dev/null @@ -1,273 +0,0 @@ -_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 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 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 The policyPayload - */ - public function getPolicyPayload() - { - if (array_key_exists("policyPayload", $this->_propDict)) { - if (is_a($this->_propDict["policyPayload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["policyPayload"]; - } else { - $this->_propDict["policyPayload"] = \GuzzleHttp\Psr7\stream_for($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 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 The userCheckinSummary - */ - public function getUserCheckinSummary() - { - if (array_key_exists("userCheckinSummary", $this->_propDict)) { - if (is_a($this->_propDict["userCheckinSummary"], "\Beta\Microsoft\Graph\Model\OfficeUserCheckinSummary")) { - 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 The userPreferencePayload - */ - public function getUserPreferencePayload() - { - if (array_key_exists("userPreferencePayload", $this->_propDict)) { - if (is_a($this->_propDict["userPreferencePayload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["userPreferencePayload"]; - } else { - $this->_propDict["userPreferencePayload"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 80ed38a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeClientConfigurationAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\OfficeConfigurationAssignmentTarget")) { - 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 deleted file mode 100644 index 8610c467..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfiguration.php +++ /dev/null @@ -1,189 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new OfficeConfiguration - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 The tenantUserCheckinSummary - */ - public function getTenantUserCheckinSummary() - { - if (array_key_exists("tenantUserCheckinSummary", $this->_propDict)) { - if (is_a($this->_propDict["tenantUserCheckinSummary"], "\Beta\Microsoft\Graph\Model\OfficeUserCheckinSummary")) { - 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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 15ec068b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeConfigurationAssignmentTarget.php +++ /dev/null @@ -1,26 +0,0 @@ -setODataType("#microsoft.graph.officeConfigurationGroupAssignmentTarget"); - } - - /** - * Gets the groupId - * The Id of the AAD group we are targeting the device configuration to. - * - * @return string 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 deleted file mode 100644 index b3bd7bb4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeGraphInsights.php +++ /dev/null @@ -1,117 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0c3241cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeProductId.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The excludedApps - */ - public function getExcludedApps() - { - if (array_key_exists("excludedApps", $this->_propDict)) { - if (is_a($this->_propDict["excludedApps"], "\Beta\Microsoft\Graph\Model\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 The installProgressDisplayLevel - */ - public function getInstallProgressDisplayLevel() - { - if (array_key_exists("installProgressDisplayLevel", $this->_propDict)) { - if (is_a($this->_propDict["installProgressDisplayLevel"], "\Beta\Microsoft\Graph\Model\OfficeSuiteInstallProgressDisplayLevel")) { - 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 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 The officeConfigurationXml - */ - public function getOfficeConfigurationXml() - { - if (array_key_exists("officeConfigurationXml", $this->_propDict)) { - if (is_a($this->_propDict["officeConfigurationXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["officeConfigurationXml"]; - } else { - $this->_propDict["officeConfigurationXml"] = \GuzzleHttp\Psr7\stream_for($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 The officePlatformArchitecture - */ - public function getOfficePlatformArchitecture() - { - if (array_key_exists("officePlatformArchitecture", $this->_propDict)) { - if (is_a($this->_propDict["officePlatformArchitecture"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 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 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 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 The updateChannel - */ - public function getUpdateChannel() - { - if (array_key_exists("updateChannel", $this->_propDict)) { - if (is_a($this->_propDict["updateChannel"], "\Beta\Microsoft\Graph\Model\OfficeUpdateChannel")) { - 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 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 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 deleted file mode 100644 index 6b0f6a46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OfficeSuiteInstallProgressDisplayLevel.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 deleted file mode 100644 index 8bd07286..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSetting.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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. - * - * @return bool 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. - * - * @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 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/Beta/Microsoft/Graph/Model/OmaSettingBase64.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBase64.php deleted file mode 100644 index c347ebde..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBase64.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.omaSettingBase64"); - } - - /** - * Gets the fileName - * File name associated with the Value property (.cer - * - * @return string 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 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 deleted file mode 100644 index e61fbb1d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingBoolean.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.omaSettingBoolean"); - } - - /** - * Gets the value - * Value. - * - * @return bool 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 deleted file mode 100644 index 04a14740..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingDateTime.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.omaSettingDateTime"); - } - - - /** - * Gets the value - * Value. - * - * @return \DateTime The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\DateTime")) { - 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 deleted file mode 100644 index b30fae80..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingFloatingPoint.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.omaSettingFloatingPoint"); - } - - - /** - * Gets the value - * Value. - * - * @return Single The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = new Single($this->_propDict["value"]); - return $this->_propDict["value"]; - } - } - return null; - } - - /** - * Sets the value - * Value. - * - * @param Single $val The value to assign to the value - * - * @return OmaSettingFloatingPoint The 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 deleted file mode 100644 index df996b39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingInteger.php +++ /dev/null @@ -1,91 +0,0 @@ -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 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 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 deleted file mode 100644 index 114757b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingString.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.omaSettingString"); - } - - /** - * Gets the value - * Value. - * - * @return string 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 deleted file mode 100644 index 802cd39e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OmaSettingStringXml.php +++ /dev/null @@ -1,96 +0,0 @@ -setODataType("#microsoft.graph.omaSettingStringXml"); - } - - /** - * Gets the fileName - * File name associated with the Value property (.xml). - * - * @return string 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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 6f7f0f5e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgent.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AgentStatus")) { - 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 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 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 deleted file mode 100644 index b49e5996..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesAgentGroup.php +++ /dev/null @@ -1,178 +0,0 @@ -_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 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 The publishingType - */ - public function getPublishingType() - { - if (array_key_exists("publishingType", $this->_propDict)) { - if (is_a($this->_propDict["publishingType"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingType")) { - 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 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 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/OnPremisesConditionalAccessSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesConditionalAccessSettings.php deleted file mode 100644 index 2b1c901f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesConditionalAccessSettings.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 4154fa61..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesExtensionAttributes.php +++ /dev/null @@ -1,446 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index cbb95084..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesProvisioningError.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The occurredDateTime - */ - public function getOccurredDateTime() - { - if (array_key_exists("occurredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["occurredDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index f7a81313..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishing.php +++ /dev/null @@ -1,525 +0,0 @@ -_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 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 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 The externalAuthenticationType - */ - public function getExternalAuthenticationType() - { - if (array_key_exists("externalAuthenticationType", $this->_propDict)) { - if (is_a($this->_propDict["externalAuthenticationType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 singleSignOnSettings - * Represents the single sign-on configuration for the on-premises application. - * - * @return OnPremisesPublishingSingleSignOn The singleSignOnSettings - */ - public function getSingleSignOnSettings() - { - if (array_key_exists("singleSignOnSettings", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnSettings"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingSingleSignOn")) { - 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 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 The verifiedCustomDomainCertificatesMetadata - */ - public function getVerifiedCustomDomainCertificatesMetadata() - { - if (array_key_exists("verifiedCustomDomainCertificatesMetadata", $this->_propDict)) { - if (is_a($this->_propDict["verifiedCustomDomainCertificatesMetadata"], "\Beta\Microsoft\Graph\Model\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 The verifiedCustomDomainKeyCredential - */ - public function getVerifiedCustomDomainKeyCredential() - { - if (array_key_exists("verifiedCustomDomainKeyCredential", $this->_propDict)) { - if (is_a($this->_propDict["verifiedCustomDomainKeyCredential"], "\Beta\Microsoft\Graph\Model\KeyCredential")) { - 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 The verifiedCustomDomainPasswordCredential - */ - public function getVerifiedCustomDomainPasswordCredential() - { - if (array_key_exists("verifiedCustomDomainPasswordCredential", $this->_propDict)) { - if (is_a($this->_propDict["verifiedCustomDomainPasswordCredential"], "\Beta\Microsoft\Graph\Model\PasswordCredential")) { - 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 deleted file mode 100644 index 03402022..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingProfile.php +++ /dev/null @@ -1,239 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hybridAgentUpdaterConfiguration"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 deleted file mode 100644 index 58b488d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingSingleSignOn.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["kerberosSignOnSettings"], "\Beta\Microsoft\Graph\Model\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 The singleSignOnMode - */ - public function getSingleSignOnMode() - { - if (array_key_exists("singleSignOnMode", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnMode"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c37129d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnPremisesPublishingType.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedProducts"]; - } else { - return null; - } - } - - /** - * Sets the assignedProducts - * - * @param string $val The assignedProducts - * - * @return OneDriveActivityUserDetail - */ - public function setAssignedProducts($val) - { - $this->_propDict["assignedProducts"] = $val; - return $this; - } - - /** - * Gets the deletedDate - * - * @return \DateTime The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return OneDriveActivityUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 OneDriveActivityUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return OneDriveActivityUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return OneDriveActivityUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return OneDriveActivityUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sharedExternallyFileCount - * - * @return int The sharedExternallyFileCount - */ - public function getSharedExternallyFileCount() - { - if (array_key_exists("sharedExternallyFileCount", $this->_propDict)) { - return $this->_propDict["sharedExternallyFileCount"]; - } else { - return null; - } - } - - /** - * Sets the sharedExternallyFileCount - * - * @param int $val The sharedExternallyFileCount - * - * @return OneDriveActivityUserDetail - */ - public function setSharedExternallyFileCount($val) - { - $this->_propDict["sharedExternallyFileCount"] = intval($val); - return $this; - } - - /** - * Gets the sharedInternallyFileCount - * - * @return int The sharedInternallyFileCount - */ - public function getSharedInternallyFileCount() - { - if (array_key_exists("sharedInternallyFileCount", $this->_propDict)) { - return $this->_propDict["sharedInternallyFileCount"]; - } else { - return null; - } - } - - /** - * Sets the sharedInternallyFileCount - * - * @param int $val The sharedInternallyFileCount - * - * @return OneDriveActivityUserDetail - */ - public function setSharedInternallyFileCount($val) - { - $this->_propDict["sharedInternallyFileCount"] = intval($val); - return $this; - } - - /** - * Gets the syncedFileCount - * - * @return int The syncedFileCount - */ - public function getSyncedFileCount() - { - if (array_key_exists("syncedFileCount", $this->_propDict)) { - return $this->_propDict["syncedFileCount"]; - } else { - return null; - } - } - - /** - * Sets the syncedFileCount - * - * @param int $val The syncedFileCount - * - * @return OneDriveActivityUserDetail - */ - public function setSyncedFileCount($val) - { - $this->_propDict["syncedFileCount"] = intval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 OneDriveActivityUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - - /** - * Gets the viewedOrEditedFileCount - * - * @return int The viewedOrEditedFileCount - */ - public function getViewedOrEditedFileCount() - { - if (array_key_exists("viewedOrEditedFileCount", $this->_propDict)) { - return $this->_propDict["viewedOrEditedFileCount"]; - } else { - return null; - } - } - - /** - * Sets the viewedOrEditedFileCount - * - * @param int $val The viewedOrEditedFileCount - * - * @return OneDriveActivityUserDetail - */ - public function setViewedOrEditedFileCount($val) - { - $this->_propDict["viewedOrEditedFileCount"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageAccountCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageAccountCounts.php deleted file mode 100644 index b859fd1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageAccountCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["active"]; - } else { - return null; - } - } - - /** - * Sets the active - * - * @param int $val The active - * - * @return OneDriveUsageAccountCounts - */ - public function setActive($val) - { - $this->_propDict["active"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return OneDriveUsageAccountCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return OneDriveUsageAccountCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return OneDriveUsageAccountCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteType - * - * @return string The siteType - */ - public function getSiteType() - { - if (array_key_exists("siteType", $this->_propDict)) { - return $this->_propDict["siteType"]; - } else { - return null; - } - } - - /** - * Sets the siteType - * - * @param string $val The siteType - * - * @return OneDriveUsageAccountCounts - */ - public function setSiteType($val) - { - $this->_propDict["siteType"] = $val; - return $this; - } - - /** - * Gets the total - * - * @return int The total - */ - public function getTotal() - { - if (array_key_exists("total", $this->_propDict)) { - return $this->_propDict["total"]; - } else { - return null; - } - } - - /** - * Sets the total - * - * @param int $val The total - * - * @return OneDriveUsageAccountCounts - */ - public function setTotal($val) - { - $this->_propDict["total"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageAccountDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageAccountDetail.php deleted file mode 100644 index 5817c8e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageAccountDetail.php +++ /dev/null @@ -1,332 +0,0 @@ -_propDict)) { - return $this->_propDict["activeFileCount"]; - } else { - return null; - } - } - - /** - * Sets the activeFileCount - * - * @param int $val The activeFileCount - * - * @return OneDriveUsageAccountDetail - */ - public function setActiveFileCount($val) - { - $this->_propDict["activeFileCount"] = intval($val); - return $this; - } - - /** - * Gets the fileCount - * - * @return int The fileCount - */ - public function getFileCount() - { - if (array_key_exists("fileCount", $this->_propDict)) { - return $this->_propDict["fileCount"]; - } else { - return null; - } - } - - /** - * Sets the fileCount - * - * @param int $val The fileCount - * - * @return OneDriveUsageAccountDetail - */ - public function setFileCount($val) - { - $this->_propDict["fileCount"] = intval($val); - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 OneDriveUsageAccountDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return OneDriveUsageAccountDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the ownerDisplayName - * - * @return string The ownerDisplayName - */ - public function getOwnerDisplayName() - { - if (array_key_exists("ownerDisplayName", $this->_propDict)) { - return $this->_propDict["ownerDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the ownerDisplayName - * - * @param string $val The ownerDisplayName - * - * @return OneDriveUsageAccountDetail - */ - public function setOwnerDisplayName($val) - { - $this->_propDict["ownerDisplayName"] = $val; - return $this; - } - - /** - * Gets the ownerPrincipalName - * - * @return string The ownerPrincipalName - */ - public function getOwnerPrincipalName() - { - if (array_key_exists("ownerPrincipalName", $this->_propDict)) { - return $this->_propDict["ownerPrincipalName"]; - } else { - return null; - } - } - - /** - * Sets the ownerPrincipalName - * - * @param string $val The ownerPrincipalName - * - * @return OneDriveUsageAccountDetail - */ - public function setOwnerPrincipalName($val) - { - $this->_propDict["ownerPrincipalName"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return OneDriveUsageAccountDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return OneDriveUsageAccountDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteUrl - * - * @return string The siteUrl - */ - public function getSiteUrl() - { - if (array_key_exists("siteUrl", $this->_propDict)) { - return $this->_propDict["siteUrl"]; - } else { - return null; - } - } - - /** - * Sets the siteUrl - * - * @param string $val The siteUrl - * - * @return OneDriveUsageAccountDetail - */ - public function setSiteUrl($val) - { - $this->_propDict["siteUrl"] = $val; - return $this; - } - - /** - * Gets the storageAllocatedInBytes - * - * @return int The storageAllocatedInBytes - */ - public function getStorageAllocatedInBytes() - { - if (array_key_exists("storageAllocatedInBytes", $this->_propDict)) { - return $this->_propDict["storageAllocatedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageAllocatedInBytes - * - * @param int $val The storageAllocatedInBytes - * - * @return OneDriveUsageAccountDetail - */ - public function setStorageAllocatedInBytes($val) - { - $this->_propDict["storageAllocatedInBytes"] = intval($val); - return $this; - } - - /** - * Gets the storageUsedInBytes - * - * @return int The storageUsedInBytes - */ - public function getStorageUsedInBytes() - { - if (array_key_exists("storageUsedInBytes", $this->_propDict)) { - return $this->_propDict["storageUsedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageUsedInBytes - * - * @param int $val The storageUsedInBytes - * - * @return OneDriveUsageAccountDetail - */ - public function setStorageUsedInBytes($val) - { - $this->_propDict["storageUsedInBytes"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageFileCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageFileCounts.php deleted file mode 100644 index a4b79086..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OneDriveUsageFileCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["active"]; - } else { - return null; - } - } - - /** - * Sets the active - * - * @param int $val The active - * - * @return OneDriveUsageFileCounts - */ - public function setActive($val) - { - $this->_propDict["active"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return OneDriveUsageFileCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return OneDriveUsageFileCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return OneDriveUsageFileCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteType - * - * @return string The siteType - */ - public function getSiteType() - { - if (array_key_exists("siteType", $this->_propDict)) { - return $this->_propDict["siteType"]; - } else { - return null; - } - } - - /** - * Sets the siteType - * - * @param string $val The siteType - * - * @return OneDriveUsageFileCounts - */ - public function setSiteType($val) - { - $this->_propDict["siteType"] = $val; - return $this; - } - - /** - * Gets the total - * - * @return int The total - */ - public function getTotal() - { - if (array_key_exists("total", $this->_propDict)) { - return $this->_propDict["total"]; - } else { - return null; - } - } - - /** - * Sets the total - * - * @param int $val The total - * - * @return OneDriveUsageFileCounts - */ - public function setTotal($val) - { - $this->_propDict["total"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Onenote.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Onenote.php deleted file mode 100644 index 93f65403..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Onenote.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index b601de8c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityBaseModel.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index e8694e26..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntityHierarchyModel.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 5d34257c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteEntitySchemaObjectModel.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 56003b55..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperation.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\OnenoteOperationError")) { - 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 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 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 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 deleted file mode 100644 index 026fa1a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteOperationError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 9c81e02c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePage.php +++ /dev/null @@ -1,364 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\PageLinks")) { - 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 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 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 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 The parentNotebook - */ - public function getParentNotebook() - { - if (array_key_exists("parentNotebook", $this->_propDict)) { - if (is_a($this->_propDict["parentNotebook"], "\Beta\Microsoft\Graph\Model\Notebook")) { - 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 The parentSection - */ - public function getParentSection() - { - if (array_key_exists("parentSection", $this->_propDict)) { - if (is_a($this->_propDict["parentSection"], "\Beta\Microsoft\Graph\Model\OnenoteSection")) { - 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 deleted file mode 100644 index 19ed9bb4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreview.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\OnenotePagePreviewLinks")) { - 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 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 deleted file mode 100644 index dea1a498..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePagePreviewLinks.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["previewImageUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index 83b99432..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchActionType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\OnenotePatchActionType")) { - 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 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 The position - */ - public function getPosition() - { - if (array_key_exists("position", $this->_propDict)) { - if (is_a($this->_propDict["position"], "\Beta\Microsoft\Graph\Model\OnenotePatchInsertPosition")) { - 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 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 deleted file mode 100644 index c6a30ac4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenotePatchInsertPosition.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index cba7200c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSection.php +++ /dev/null @@ -1,214 +0,0 @@ -_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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\SectionLinks")) { - 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 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 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 The parentNotebook - */ - public function getParentNotebook() - { - if (array_key_exists("parentNotebook", $this->_propDict)) { - if (is_a($this->_propDict["parentNotebook"], "\Beta\Microsoft\Graph\Model\Notebook")) { - 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 The parentSectionGroup - */ - public function getParentSectionGroup() - { - if (array_key_exists("parentSectionGroup", $this->_propDict)) { - if (is_a($this->_propDict["parentSectionGroup"], "\Beta\Microsoft\Graph\Model\SectionGroup")) { - 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 deleted file mode 100644 index 686d4b8b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnenoteSourceService.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessLevel"], "\Beta\Microsoft\Graph\Model\AccessLevel")) { - return $this->_propDict["accessLevel"]; - } else { - $this->_propDict["accessLevel"] = new AccessLevel($this->_propDict["accessLevel"]); - return $this->_propDict["accessLevel"]; - } - } - return null; - } - - /** - * Sets the accessLevel - * - * @param AccessLevel $val The accessLevel - * - * @return OnlineMeeting - */ - public function setAccessLevel($val) - { - $this->_propDict["accessLevel"] = $val; - return $this; - } - - /** - * Gets the allowedPresenters - * Specifies who can be a presenter in a meeting. Possible values are everyone, organization, roleIsPresenter, organizer, and unknownFutureValue. - * - * @return OnlineMeetingPresenters The allowedPresenters - */ - public function getAllowedPresenters() - { - if (array_key_exists("allowedPresenters", $this->_propDict)) { - if (is_a($this->_propDict["allowedPresenters"], "\Beta\Microsoft\Graph\Model\OnlineMeetingPresenters")) { - 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. Possible values are everyone, organization, roleIsPresenter, organizer, and unknownFutureValue. - * - * @param OnlineMeetingPresenters $val The allowedPresenters - * - * @return OnlineMeeting - */ - public function setAllowedPresenters($val) - { - $this->_propDict["allowedPresenters"] = $val; - return $this; - } - - /** - * Gets the alternativeRecording - * The content stream of the alternative recording of a live event. Read-only. - * - * @return \GuzzleHttp\Psr7\Stream The alternativeRecording - */ - public function getAlternativeRecording() - { - if (array_key_exists("alternativeRecording", $this->_propDict)) { - if (is_a($this->_propDict["alternativeRecording"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["alternativeRecording"]; - } else { - $this->_propDict["alternativeRecording"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["alternativeRecording"]); - return $this->_propDict["alternativeRecording"]; - } - } - return null; - } - - /** - * Sets the alternativeRecording - * The content stream of the alternative recording of a 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 live event. Read-only. - * - * @return \GuzzleHttp\Psr7\Stream The attendeeReport - */ - public function getAttendeeReport() - { - if (array_key_exists("attendeeReport", $this->_propDict)) { - if (is_a($this->_propDict["attendeeReport"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["attendeeReport"]; - } else { - $this->_propDict["attendeeReport"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["attendeeReport"]); - return $this->_propDict["attendeeReport"]; - } - } - return null; - } - - /** - * Sets the attendeeReport - * The content stream of the attendee report of a 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 The audioConferencing - */ - public function getAudioConferencing() - { - if (array_key_exists("audioConferencing", $this->_propDict)) { - if (is_a($this->_propDict["audioConferencing"], "\Beta\Microsoft\Graph\Model\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 The broadcastSettings - */ - public function getBroadcastSettings() - { - if (array_key_exists("broadcastSettings", $this->_propDict)) { - if (is_a($this->_propDict["broadcastSettings"], "\Beta\Microsoft\Graph\Model\BroadcastMeetingSettings")) { - 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 canceledDateTime - * - * @return \DateTime The canceledDateTime - */ - public function getCanceledDateTime() - { - if (array_key_exists("canceledDateTime", $this->_propDict)) { - if (is_a($this->_propDict["canceledDateTime"], "\DateTime")) { - return $this->_propDict["canceledDateTime"]; - } else { - $this->_propDict["canceledDateTime"] = new \DateTime($this->_propDict["canceledDateTime"]); - return $this->_propDict["canceledDateTime"]; - } - } - return null; - } - - /** - * Sets the canceledDateTime - * - * @param \DateTime $val The canceledDateTime - * - * @return OnlineMeeting - */ - public function setCanceledDateTime($val) - { - $this->_propDict["canceledDateTime"] = $val; - return $this; - } - - - /** - * Gets the capabilities - * The list of meeting capabilities. Possible values are: questionAndAnswer,unknownFutureValue. - * - * @return array The capabilities - */ - public function getCapabilities() - { - if (array_key_exists("capabilities", $this->_propDict)) { - return $this->_propDict["capabilities"]; - } else { - return null; - } - } - - /** - * Sets the capabilities - * The list of meeting capabilities. Possible values are: questionAndAnswer,unknownFutureValue. - * - * @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 The chatInfo - */ - public function getChatInfo() - { - if (array_key_exists("chatInfo", $this->_propDict)) { - if (is_a($this->_propDict["chatInfo"], "\Beta\Microsoft\Graph\Model\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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 entryExitAnnouncement - * - * @return bool The entryExitAnnouncement - */ - public function getEntryExitAnnouncement() - { - if (array_key_exists("entryExitAnnouncement", $this->_propDict)) { - return $this->_propDict["entryExitAnnouncement"]; - } else { - return null; - } - } - - /** - * Sets the entryExitAnnouncement - * - * @param bool $val The entryExitAnnouncement - * - * @return OnlineMeeting - */ - public function setEntryExitAnnouncement($val) - { - $this->_propDict["entryExitAnnouncement"] = boolval($val); - return $this; - } - - /** - * Gets the expirationDateTime - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 OnlineMeeting - */ - public function setExpirationDateTime($val) - { - $this->_propDict["expirationDateTime"] = $val; - return $this; - } - - /** - * Gets the externalId - * The external ID. A custom ID. Optional. - * - * @return string 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 if this is a live event. - * - * @return bool The isBroadcast - */ - public function getIsBroadcast() - { - if (array_key_exists("isBroadcast", $this->_propDict)) { - return $this->_propDict["isBroadcast"]; - } else { - return null; - } - } - - /** - * Sets the isBroadcast - * Indicates if this is a live event. - * - * @param bool $val The isBroadcast - * - * @return OnlineMeeting - */ - public function setIsBroadcast($val) - { - $this->_propDict["isBroadcast"] = boolval($val); - return $this; - } - - /** - * Gets the isCancelled - * - * @return bool 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 OnlineMeeting - */ - public function setIsCancelled($val) - { - $this->_propDict["isCancelled"] = boolval($val); - return $this; - } - - /** - * Gets the isEntryExitAnnounced - * Whether or not to announce when callers join or leave. - * - * @return bool The isEntryExitAnnounced - */ - public function getIsEntryExitAnnounced() - { - if (array_key_exists("isEntryExitAnnounced", $this->_propDict)) { - return $this->_propDict["isEntryExitAnnounced"]; - } else { - return null; - } - } - - /** - * Sets the isEntryExitAnnounced - * Whether or not 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 The joinInformation - */ - public function getJoinInformation() - { - if (array_key_exists("joinInformation", $this->_propDict)) { - if (is_a($this->_propDict["joinInformation"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 joinUrl - * - * @return string 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 lobbyBypassSettings - * Specifies which participants can bypass the meeting lobby. - * - * @return LobbyBypassSettings The lobbyBypassSettings - */ - public function getLobbyBypassSettings() - { - if (array_key_exists("lobbyBypassSettings", $this->_propDict)) { - if (is_a($this->_propDict["lobbyBypassSettings"], "\Beta\Microsoft\Graph\Model\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 The participants - */ - public function getParticipants() - { - if (array_key_exists("participants", $this->_propDict)) { - if (is_a($this->_propDict["participants"], "\Beta\Microsoft\Graph\Model\MeetingParticipants")) { - 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 recording - * The content stream of the recording of a live event. Read-only. - * - * @return \GuzzleHttp\Psr7\Stream The recording - */ - public function getRecording() - { - if (array_key_exists("recording", $this->_propDict)) { - if (is_a($this->_propDict["recording"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["recording"]; - } else { - $this->_propDict["recording"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["recording"]); - return $this->_propDict["recording"]; - } - } - return null; - } - - /** - * Sets the recording - * The content stream of the recording of a 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 meetingAttendanceReport - * - * @return MeetingAttendanceReport The meetingAttendanceReport - */ - public function getMeetingAttendanceReport() - { - if (array_key_exists("meetingAttendanceReport", $this->_propDict)) { - if (is_a($this->_propDict["meetingAttendanceReport"], "\Beta\Microsoft\Graph\Model\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; - } - -} 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 deleted file mode 100644 index 70bab7e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingForwarders.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The phones - */ - public function getPhones() - { - if (array_key_exists("phones", $this->_propDict)) { - if (is_a($this->_propDict["phones"], "\Beta\Microsoft\Graph\Model\Phone")) { - 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 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 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 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 deleted file mode 100644 index df3cae8e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OnlineMeetingPresenters.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["claimsMapping"], "\Beta\Microsoft\Graph\Model\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 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 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 The responseMode - */ - public function getResponseMode() - { - if (array_key_exists("responseMode", $this->_propDict)) { - if (is_a($this->_propDict["responseMode"], "\Beta\Microsoft\Graph\Model\OpenIdConnectResponseMode")) { - 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 The responseType - */ - public function getResponseType() - { - if (array_key_exists("responseType", $this->_propDict)) { - if (is_a($this->_propDict["responseType"], "\Beta\Microsoft\Graph\Model\OpenIdConnectResponseTypes")) { - 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 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 deleted file mode 100644 index 79ae7a8a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenIdConnectResponseMode.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["draftOpenShift"], "\Beta\Microsoft\Graph\Model\OpenShiftItem")) { - 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 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 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 The sharedOpenShift - */ - public function getSharedOpenShift() - { - if (array_key_exists("sharedOpenShift", $this->_propDict)) { - if (is_a($this->_propDict["sharedOpenShift"], "\Beta\Microsoft\Graph\Model\OpenShiftItem")) { - 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 deleted file mode 100644 index 099551f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftChangeRequest.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 4ebf6f67..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenShiftItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index ce1e8240..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OpenTypeExtension.php +++ /dev/null @@ -1,56 +0,0 @@ -_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/OperatingSystemVersionRange.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperatingSystemVersionRange.php deleted file mode 100644 index 6612817f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperatingSystemVersionRange.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 820cc5a7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Operation.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastActionDateTime - */ - public function getLastActionDateTime() - { - if (array_key_exists("lastActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus")) { - 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/OperationError.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationError.php deleted file mode 100644 index 14d67840..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1c98c6da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OperationResult.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 79655861..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OptionalClaims.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessToken"], "\Beta\Microsoft\Graph\Model\OptionalClaim")) { - 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 The idToken - */ - public function getIdToken() - { - if (array_key_exists("idToken", $this->_propDict)) { - if (is_a($this->_propDict["idToken"], "\Beta\Microsoft\Graph\Model\OptionalClaim")) { - 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 The saml2Token - */ - public function getSaml2Token() - { - if (array_key_exists("saml2Token", $this->_propDict)) { - if (is_a($this->_propDict["saml2Token"], "\Beta\Microsoft\Graph\Model\OptionalClaim")) { - 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 deleted file mode 100644 index e2bd619d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrgContact.php +++ /dev/null @@ -1,561 +0,0 @@ -_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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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'. - * - * @return string 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'. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. - * - * @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. - * - * @return array 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. - * - * @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). - * - * @return bool 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). - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return DirectoryObject The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - 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. - * - * @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. - * - * @return array 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. - * - * @param DirectoryObject $val The memberOf - * - * @return OrgContact - */ - public function setMemberOf($val) - { - $this->_propDict["memberOf"] = $val; - return $this; - } - - - /** - * Gets the transitiveMemberOf - * - * @return array 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/Beta/Microsoft/Graph/Model/Organization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Organization.php deleted file mode 100644 index cb72dfdf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Organization.php +++ /dev/null @@ -1,870 +0,0 @@ -_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 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 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 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/region abbreviation for the organization. - * - * @return string The countryLetterCode - */ - public function getCountryLetterCode() - { - if (array_key_exists("countryLetterCode", $this->_propDict)) { - return $this->_propDict["countryLetterCode"]; - } else { - return null; - } - } - - /** - * Sets the countryLetterCode - * Country/region abbreviation for the organization. - * - * @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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The directorySizeQuota - */ - public function getDirectorySizeQuota() - { - if (array_key_exists("directorySizeQuota", $this->_propDict)) { - if (is_a($this->_propDict["directorySizeQuota"], "\Beta\Microsoft\Graph\Model\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 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 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 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-premise 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 The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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-premise 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 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 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 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 The privacyProfile - */ - public function getPrivacyProfile() - { - if (array_key_exists("privacyProfile", $this->_propDict)) { - if (is_a($this->_propDict["privacyProfile"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 The certificateConnectorSetting - */ - public function getCertificateConnectorSetting() - { - if (array_key_exists("certificateConnectorSetting", $this->_propDict)) { - if (is_a($this->_propDict["certificateConnectorSetting"], "\Beta\Microsoft\Graph\Model\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 The mobileDeviceManagementAuthority - */ - public function getMobileDeviceManagementAuthority() - { - if (array_key_exists("mobileDeviceManagementAuthority", $this->_propDict)) { - if (is_a($this->_propDict["mobileDeviceManagementAuthority"], "\Beta\Microsoft\Graph\Model\MdmAuthority")) { - 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 - * - * @return OrganizationalBranding The branding - */ - public function getBranding() - { - if (array_key_exists("branding", $this->_propDict)) { - if (is_a($this->_propDict["branding"], "\Beta\Microsoft\Graph\Model\OrganizationalBranding")) { - return $this->_propDict["branding"]; - } else { - $this->_propDict["branding"] = new OrganizationalBranding($this->_propDict["branding"]); - return $this->_propDict["branding"]; - } - } - return null; - } - - /** - * Sets the branding - * - * @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 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 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\OrganizationSettings")) { - 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 deleted file mode 100644 index aa4f69b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationSettings.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["itemInsights"], "\Beta\Microsoft\Graph\Model\ItemInsightsSettings")) { - return $this->_propDict["itemInsights"]; - } else { - $this->_propDict["itemInsights"] = new ItemInsightsSettings($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. Get itemInsightsSettings through this navigation property. - * - * @param ItemInsightsSettings $val The itemInsights - * - * @return OrganizationSettings - */ - public function setItemInsights($val) - { - $this->_propDict["itemInsights"] = $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 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 deleted file mode 100644 index 10cf29cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBranding.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["localizations"]; - } else { - return null; - } - } - - /** - * Sets the localizations - * - * @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 deleted file mode 100644 index d32ac20d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizationalBrandingLocalization.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - return $this->_propDict["backgroundColor"]; - } else { - return null; - } - } - - /** - * Sets the backgroundColor - * Color that will appear in place of the background image in low-bandwidth connections. The primary color of your banner logo or your organization color is recommended to be used here. Specify this in hexadecimal (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. .png or .jpg not larger than 1920x1080 and smaller than 300kb. A smaller image will reduce bandwidth requirements and make page loads more performant. - * - * @return \GuzzleHttp\Psr7\Stream The backgroundImage - */ - public function getBackgroundImage() - { - if (array_key_exists("backgroundImage", $this->_propDict)) { - if (is_a($this->_propDict["backgroundImage"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["backgroundImage"]; - } else { - $this->_propDict["backgroundImage"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["backgroundImage"]); - return $this->_propDict["backgroundImage"]; - } - } - return null; - } - - /** - * Sets the backgroundImage - * Image that appears as the background of the sign in page. .png or .jpg not larger than 1920x1080 and smaller than 300kb. A smaller image will reduce bandwidth requirements and make page loads more performant. - * - * @param \GuzzleHttp\Psr7\Stream $val The backgroundImage - * - * @return OrganizationalBrandingProperties - */ - public function setBackgroundImage($val) - { - $this->_propDict["backgroundImage"] = $val; - return $this; - } - - /** - * Gets the bannerLogo - * A banner version of your company logo which appears appears on the sign-in page. .png or .jpg no larger than 36x245px. We recommend using a transparent image with no padding around the logo. - * - * @return \GuzzleHttp\Psr7\Stream The bannerLogo - */ - public function getBannerLogo() - { - if (array_key_exists("bannerLogo", $this->_propDict)) { - if (is_a($this->_propDict["bannerLogo"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["bannerLogo"]; - } else { - $this->_propDict["bannerLogo"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["bannerLogo"]); - return $this->_propDict["bannerLogo"]; - } - } - return null; - } - - /** - * Sets the bannerLogo - * A banner version of your company logo which appears appears on the sign-in page. .png or .jpg no larger than 36x245px. 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 signInPageText - * Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters. - * - * @return string 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. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode 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 - * Square version of your company logo. This appears in Windows 10 out-of-box (OOBE) experiences and when Windows Autopilot is enabled for deployment. .png or .jpg no larger than 240x240px and no more than 10kb in size. We recommend using a transparent image with no padding around the logo. - * - * @return \GuzzleHttp\Psr7\Stream The squareLogo - */ - public function getSquareLogo() - { - if (array_key_exists("squareLogo", $this->_propDict)) { - if (is_a($this->_propDict["squareLogo"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["squareLogo"]; - } else { - $this->_propDict["squareLogo"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["squareLogo"]); - return $this->_propDict["squareLogo"]; - } - } - return null; - } - - /** - * Sets the squareLogo - * Square version of your company logo. This appears in Windows 10 out-of-box (OOBE) experiences and when Windows Autopilot is enabled for deployment. .png or .jpg no larger than 240x240px and no more than 10kb 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 usernameHintText - * String that shows as the hint in the username textbox on the sign in screen. This text must be Unicode, without links or code, and can't exceed 64 characters. - * - * @return string The usernameHintText - */ - public function getUsernameHintText() - { - if (array_key_exists("usernameHintText", $this->_propDict)) { - return $this->_propDict["usernameHintText"]; - } else { - return null; - } - } - - /** - * Sets the usernameHintText - * String that shows as the hint in the username textbox on the sign in screen. This text must be 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 deleted file mode 100644 index edd63820..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OrganizerMeetingInfo.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.organizerMeetingInfo"); - } - - - /** - * Gets the organizer - * The organizer Azure Active Directory identity. - * - * @return IdentitySet The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index b8e19f62..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OsVersionCount.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index c7d63b89..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfBoxExperienceSettings.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceUsageType"], "\Beta\Microsoft\Graph\Model\WindowsDeviceUsageType")) { - 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 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 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 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 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 The userType - */ - public function getUserType() - { - if (array_key_exists("userType", $this->_propDict)) { - if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\WindowsUserType")) { - 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 deleted file mode 100644 index 1247d141..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutOfOfficeSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/OutgoingCallOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutgoingCallOptions.php deleted file mode 100644 index 0154d864..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutgoingCallOptions.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index b63320fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookCategory.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["color"], "\Beta\Microsoft\Graph\Model\CategoryColor")) { - 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 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 deleted file mode 100644 index f4060b90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookGeoCoordinates.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 509d508e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookItem.php +++ /dev/null @@ -1,151 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index a33f2da9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTask.php +++ /dev/null @@ -1,568 +0,0 @@ -_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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The reminderDateTime - */ - public function getReminderDateTime() - { - if (array_key_exists("reminderDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reminderDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The sensitivity - */ - public function getSensitivity() - { - if (array_key_exists("sensitivity", $this->_propDict)) { - if (is_a($this->_propDict["sensitivity"], "\Beta\Microsoft\Graph\Model\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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TaskStatus")) { - 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 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 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 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 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 deleted file mode 100644 index ba1c186d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskFolder.php +++ /dev/null @@ -1,233 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 62636c57..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookTaskGroup.php +++ /dev/null @@ -1,173 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 98aa1581..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OutlookUser.php +++ /dev/null @@ -1,141 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index d289cfbf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverallPrintUsageSummary.php +++ /dev/null @@ -1,218 +0,0 @@ -_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 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 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 The topPrinters - */ - public function getTopPrinters() - { - if (array_key_exists("topPrinters", $this->_propDict)) { - if (is_a($this->_propDict["topPrinters"], "\Beta\Microsoft\Graph\Model\PrinterUsageSummary")) { - 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 The topUsers - */ - public function getTopUsers() - { - if (array_key_exists("topUsers", $this->_propDict)) { - if (is_a($this->_propDict["topUsers"], "\Beta\Microsoft\Graph\Model\UserPrintUsageSummary")) { - 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 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 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 deleted file mode 100644 index fdc7f6ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/OverrideOption.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index 133d70f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index fe1f6a92..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PageOrientation.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - return $this->_propDict["color"]; - } else { - return null; - } - } - - /** - * Sets the color - * - * @param string $val The value of the color - * - * @return ParentLabelDetails - */ - public function setColor($val) - { - $this->_propDict["color"] = $val; - return $this; - } - /** - * Gets the description - * - * @return string 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 ParentLabelDetails - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - /** - * Gets the id - * - * @return string 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 ParentLabelDetails - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - /** - * Gets the isActive - * - * @return bool 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 value of the isActive - * - * @return ParentLabelDetails - */ - public function setIsActive($val) - { - $this->_propDict["isActive"] = $val; - return $this; - } - /** - * Gets the name - * - * @return string 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 ParentLabelDetails - */ - public function setName($val) - { - $this->_propDict["name"] = $val; - return $this; - } - - /** - * Gets the parent - * - * @return ParentLabelDetails The parent - */ - public function getParent() - { - if (array_key_exists("parent", $this->_propDict)) { - if (is_a($this->_propDict["parent"], "\Beta\Microsoft\Graph\Model\ParentLabelDetails")) { - 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 - * - * @return int 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 value of the sensitivity - * - * @return ParentLabelDetails - */ - public function setSensitivity($val) - { - $this->_propDict["sensitivity"] = $val; - return $this; - } - /** - * Gets the tooltip - * - * @return string 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 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 deleted file mode 100644 index 807169e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParentalControlSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index d0408860..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParseExpressionResponse.php +++ /dev/null @@ -1,176 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError")) { - 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 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 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 The parsedExpression - */ - public function getParsedExpression() - { - if (array_key_exists("parsedExpression", $this->_propDict)) { - if (is_a($this->_propDict["parsedExpression"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource")) { - 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 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 deleted file mode 100644 index d00209b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Participant.php +++ /dev/null @@ -1,210 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["info"], "\Beta\Microsoft\Graph\Model\ParticipantInfo")) { - 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 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 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 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 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 The recordingInfo - */ - public function getRecordingInfo() - { - if (array_key_exists("recordingInfo", $this->_propDict)) { - if (is_a($this->_propDict["recordingInfo"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 18952bc5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantInfo.php +++ /dev/null @@ -1,204 +0,0 @@ -_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 The endpointType - */ - public function getEndpointType() - { - if (array_key_exists("endpointType", $this->_propDict)) { - if (is_a($this->_propDict["endpointType"], "\Beta\Microsoft\Graph\Model\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 The identity - */ - public function getIdentity() - { - if (array_key_exists("identity", $this->_propDict)) { - if (is_a($this->_propDict["identity"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 platformId - * The client platform ID of the participant. Read-only. - * - * @return string 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 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 deleted file mode 100644 index 7bfa27f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningNotification.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["call"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index a18eacad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ParticipantJoiningResponse.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The call - */ - public function getCall() - { - if (array_key_exists("call", $this->_propDict)) { - if (is_a($this->_propDict["call"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c7262f91..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordAuthenticationMethod.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 3eab19c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordCredential.php +++ /dev/null @@ -1,237 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customKeyIdentifier"]; - } else { - $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\stream_for($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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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/PasswordProfile.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordProfile.php deleted file mode 100644 index 93998480..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordProfile.php +++ /dev/null @@ -1,110 +0,0 @@ -_propDict)) { - return $this->_propDict["forceChangePasswordNextSignIn"]; - } else { - return null; - } - } - - /** - * Sets the forceChangePasswordNextSignIn - * If true, at next sign-in, the user must change their password. 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 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 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 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 deleted file mode 100644 index 10699dd7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordResetResponse.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 2067dfa6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnCredentialSet.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["credentials"], "\Beta\Microsoft\Graph\Model\Credential")) { - 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 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 deleted file mode 100644 index 705e96b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnField.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index ae151923..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordSingleSignOnSettings.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fields"], "\Beta\Microsoft\Graph\Model\PasswordSingleSignOnField")) { - 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/PasswordlessMicrosoftAuthenticatorAuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordlessMicrosoftAuthenticatorAuthenticationMethod.php deleted file mode 100644 index 4b8fb1d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PasswordlessMicrosoftAuthenticatorAuthenticationMethod.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 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 The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 7307eae3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PatternedRecurrence.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["pattern"], "\Beta\Microsoft\Graph\Model\RecurrencePattern")) { - 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. - * - * @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 The range - */ - public function getRange() - { - if (array_key_exists("range", $this->_propDict)) { - if (is_a($this->_propDict["range"], "\Beta\Microsoft\Graph\Model\RecurrenceRange")) { - 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/PayloadRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadRequest.php deleted file mode 100644 index 4a503fa1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PayloadRequest.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The visualContent - */ - public function getVisualContent() - { - if (array_key_exists("visualContent", $this->_propDict)) { - if (is_a($this->_propDict["visualContent"], "\Beta\Microsoft\Graph\Model\VisualProperties")) { - 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 deleted file mode 100644 index 7ad5ebc5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentMethod.php +++ /dev/null @@ -1,112 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 38ebd4f2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PaymentTerm.php +++ /dev/null @@ -1,224 +0,0 @@ -_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 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 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 The discountPercent - */ - public function getDiscountPercent() - { - if (array_key_exists("discountPercent", $this->_propDict)) { - if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index f42582c4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingContentUpdate.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["queuedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 7bebac26..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PendingOperations.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["pendingContentUpdate"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index a08e6ec0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PerfectForwardSecrecyGroup.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 - * For user type permissions, the details of the users & applications for this permission. Read-only. - * - * @return IdentitySet The grantedTo - */ - public function getGrantedTo() - { - if (array_key_exists("grantedTo", $this->_propDict)) { - if (is_a($this->_propDict["grantedTo"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["grantedTo"]; - } else { - $this->_propDict["grantedTo"] = new IdentitySet($this->_propDict["grantedTo"]); - return $this->_propDict["grantedTo"]; - } - } - return null; - } - - /** - * Sets the grantedTo - * For user type permissions, the details of the users & applications for this permission. Read-only. - * - * @param IdentitySet $val The grantedTo - * - * @return Permission - */ - public function setGrantedTo($val) - { - $this->_propDict["grantedTo"] = $val; - return $this; - } - - - /** - * Gets the grantedToIdentities - * For link type permissions, the details of the users to whom permission was granted. Read-only. - * - * @return array The grantedToIdentities - */ - public function getGrantedToIdentities() - { - if (array_key_exists("grantedToIdentities", $this->_propDict)) { - return $this->_propDict["grantedToIdentities"]; - } else { - return null; - } - } - - /** - * Sets the grantedToIdentities - * For link type permissions, the details of the users to whom permission was granted. Read-only. - * - * @param IdentitySet $val The grantedToIdentities - * - * @return Permission - */ - public function setGrantedToIdentities($val) - { - $this->_propDict["grantedToIdentities"] = $val; - return $this; - } - - /** - * Gets the hasPassword - * This indicates whether password is set for this permission, it's only showing in response. Optional and Read-only and for OneDrive Personal only. - * - * @return bool The hasPassword - */ - public function getHasPassword() - { - if (array_key_exists("hasPassword", $this->_propDict)) { - return $this->_propDict["hasPassword"]; - } else { - return null; - } - } - - /** - * Sets the hasPassword - * This indicates whether password is set for this permission, it's only showing in response. Optional and Read-only and 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 The inheritedFrom - */ - public function getInheritedFrom() - { - if (array_key_exists("inheritedFrom", $this->_propDict)) { - if (is_a($this->_propDict["inheritedFrom"], "\Beta\Microsoft\Graph\Model\ItemReference")) { - 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 The invitation - */ - public function getInvitation() - { - if (array_key_exists("invitation", $this->_propDict)) { - if (is_a($this->_propDict["invitation"], "\Beta\Microsoft\Graph\Model\SharingInvitation")) { - 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 The link - */ - public function getLink() - { - if (array_key_exists("link", $this->_propDict)) { - if (is_a($this->_propDict["link"], "\Beta\Microsoft\Graph\Model\SharingLink")) { - 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, e.g. read. See below for the full list of roles. Read-only. - * - * @return string 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, e.g. 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 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 deleted file mode 100644 index 7adf43cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionClassificationType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 The permissionType - */ - public function getPermissionType() - { - if (array_key_exists("permissionType", $this->_propDict)) { - if (is_a($this->_propDict["permissionType"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 52e08bd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionGrantPolicy.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 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 deleted file mode 100644 index c6a2cad4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionScope.php +++ /dev/null @@ -1,276 +0,0 @@ -_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 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 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 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 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 - * Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. This will be the default behavior, but each customer can choose to customize the behavior in their organization (by allowing, restricting or limiting user consent to this delegated permission.) - * - * @return string The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - return $this->_propDict["type"]; - } else { - return null; - } - } - - /** - * Sets the type - * Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. This will be the default behavior, but each customer can choose to customize the behavior in their organization (by allowing, restricting or limiting user consent to this delegated permission.) - * - * @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 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 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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 98685e0e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PermissionType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["mode"], "\Beta\Microsoft\Graph\Model\PersistentBrowserSessionMode")) { - 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 deleted file mode 100644 index 0ed864e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersistentBrowserSessionMode.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 8148f8a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnotation.php +++ /dev/null @@ -1,116 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 deleted file mode 100644 index f80f5ab2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEvent.php +++ /dev/null @@ -1,116 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["date"], "\DateTime")) { - 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PersonAnnualEventType")) { - 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 deleted file mode 100644 index 71b1bcbc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonAnnualEventType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The issuedDate - */ - public function getIssuedDate() - { - if (array_key_exists("issuedDate", $this->_propDict)) { - if (is_a($this->_propDict["issuedDate"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index a97f2ef8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonCertification.php +++ /dev/null @@ -1,329 +0,0 @@ -_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 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 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 The endDate - */ - public function getEndDate() - { - if (array_key_exists("endDate", $this->_propDict)) { - if (is_a($this->_propDict["endDate"], "\DateTime")) { - 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 The issuedDate - */ - public function getIssuedDate() - { - if (array_key_exists("issuedDate", $this->_propDict)) { - if (is_a($this->_propDict["issuedDate"], "\DateTime")) { - 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 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 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 The startDate - */ - public function getStartDate() - { - if (array_key_exists("startDate", $this->_propDict)) { - if (is_a($this->_propDict["startDate"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 933c969f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSource.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 39f89936..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonDataSources.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 1ac8c95e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonExtension.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 82185266..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonName.php +++ /dev/null @@ -1,350 +0,0 @@ -_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 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 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 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 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 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 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 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 The pronunciation - */ - public function getPronunciation() - { - if (array_key_exists("pronunciation", $this->_propDict)) { - if (is_a($this->_propDict["pronunciation"], "\Beta\Microsoft\Graph\Model\PersonNamePronounciation")) { - 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 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 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 deleted file mode 100644 index 65d7c7ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonNamePronounciation.php +++ /dev/null @@ -1,156 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 711941c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonOrGroupColumn.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0a633a0f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonRelationship.php +++ /dev/null @@ -1,48 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index ddf4f0ad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PersonWebsite.php +++ /dev/null @@ -1,170 +0,0 @@ -_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 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 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 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 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/Phone.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Phone.php deleted file mode 100644 index bdc08abe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Phone.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PhoneType")) { - 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 deleted file mode 100644 index 83bf37fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneAuthenticationMethod.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The phoneType - */ - public function getPhoneType() - { - if (array_key_exists("phoneType", $this->_propDict)) { - if (is_a($this->_propDict["phoneType"], "\Beta\Microsoft\Graph\Model\AuthenticationPhoneType")) { - 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 The smsSignInState - */ - public function getSmsSignInState() - { - if (array_key_exists("smsSignInState", $this->_propDict)) { - if (is_a($this->_propDict["smsSignInState"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodSignInState")) { - 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 deleted file mode 100644 index b485a0ad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhoneType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 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 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 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 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 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 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 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 The takenDateTime - */ - public function getTakenDateTime() - { - if (array_key_exists("takenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["takenDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 2bdb1e6d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddress.php +++ /dev/null @@ -1,227 +0,0 @@ -_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 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 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 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 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PhysicalAddressType")) { - 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 deleted file mode 100644 index 91e54d40..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PhysicalAddressType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 92382a18..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Picture.php +++ /dev/null @@ -1,139 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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/Place.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Place.php deleted file mode 100644 index 086bccb3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Place.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 The geoCoordinates - */ - public function getGeoCoordinates() - { - if (array_key_exists("geoCoordinates", $this->_propDict)) { - if (is_a($this->_propDict["geoCoordinates"], "\Beta\Microsoft\Graph\Model\OutlookGeoCoordinates")) { - 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 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 deleted file mode 100644 index 5af918a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Planner.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 994bebb1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAppliedCategories.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["orderHintsByAssignee"], "\Beta\Microsoft\Graph\Model\PlannerOrderHintsByAssignee")) { - 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 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 deleted file mode 100644 index 70a724a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignment.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The assignedDateTime - */ - public function getAssignedDateTime() - { - if (array_key_exists("assignedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["assignedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 92bcf728..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerAssignments.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index b488c2ca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerBucketTaskBoardTaskFormat.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 22e2ac75..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerCategoryDescriptions.php +++ /dev/null @@ -1,726 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index f26f6f54..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItem.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index ef9c006a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerChecklistItems.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index af6e72b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerExternalReferences.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index 3aa87a86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerFavoritePlanReferenceCollection.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index bf06e563..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerOrderHintsByAssignee.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["container"], "\Beta\Microsoft\Graph\Model\PlannerPlanContainer")) { - 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 The contexts - */ - public function getContexts() - { - if (array_key_exists("contexts", $this->_propDict)) { - if (is_a($this->_propDict["contexts"], "\Beta\Microsoft\Graph\Model\PlannerPlanContextCollection")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 - * ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated. - * - * @return string The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - return $this->_propDict["owner"]; - } else { - return null; - } - } - - /** - * Sets the owner - * ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated. - * - * @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 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 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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PlannerPlanDetails")) { - 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 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 deleted file mode 100644 index f907e1aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContainer.php +++ /dev/null @@ -1,115 +0,0 @@ -_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, roster, unknownFutureValue. - * - * @return PlannerContainerType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PlannerContainerType")) { - 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, roster, unknownFutureValue. - * - * @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 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 deleted file mode 100644 index 513cf14c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContext.php +++ /dev/null @@ -1,171 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index d600032e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextCollection.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The displayLinkType - */ - public function getDisplayLinkType() - { - if (array_key_exists("displayLinkType", $this->_propDict)) { - if (is_a($this->_propDict["displayLinkType"], "\Beta\Microsoft\Graph\Model\PlannerPlanContextType")) { - 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 url - * URL of the user experience represented by the associated plannerPlanContext. - * - * @return string 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 deleted file mode 100644 index 4ed5463a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPlanContextDetailsCollection.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["categoryDescriptions"], "\Beta\Microsoft\Graph\Model\PlannerCategoryDescriptions")) { - 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 The contextDetails - */ - public function getContextDetails() - { - if (array_key_exists("contextDetails", $this->_propDict)) { - if (is_a($this->_propDict["contextDetails"], "\Beta\Microsoft\Graph\Model\PlannerPlanContextDetailsCollection")) { - 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 The sharedWith - */ - public function getSharedWith() - { - if (array_key_exists("sharedWith", $this->_propDict)) { - if (is_a($this->_propDict["sharedWith"], "\Beta\Microsoft\Graph\Model\PlannerUserIds")) { - 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 deleted file mode 100644 index 7bb46ff6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerPreviewType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 deleted file mode 100644 index fdb6f353..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReference.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index f0e8bcb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRecentPlanReferenceCollection.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index 951edcb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerRosterMember.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index 99c91659..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTask.php +++ /dev/null @@ -1,837 +0,0 @@ -_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 The appliedCategories - */ - public function getAppliedCategories() - { - if (array_key_exists("appliedCategories", $this->_propDict)) { - if (is_a($this->_propDict["appliedCategories"], "\Beta\Microsoft\Graph\Model\PlannerAppliedCategories")) { - 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 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 The assignments - */ - public function getAssignments() - { - if (array_key_exists("assignments", $this->_propDict)) { - if (is_a($this->_propDict["assignments"], "\Beta\Microsoft\Graph\Model\PlannerAssignments")) { - 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 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 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 The completedBy - */ - public function getCompletedBy() - { - if (array_key_exists("completedBy", $this->_propDict)) { - if (is_a($this->_propDict["completedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The creationSource - */ - public function getCreationSource() - { - if (array_key_exists("creationSource", $this->_propDict)) { - if (is_a($this->_propDict["creationSource"], "\Beta\Microsoft\Graph\Model\PlannerTaskCreation")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\DateTime")) { - 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 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 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 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 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 The previewType - */ - public function getPreviewType() - { - if (array_key_exists("previewType", $this->_propDict)) { - if (is_a($this->_propDict["previewType"], "\Beta\Microsoft\Graph\Model\PlannerPreviewType")) { - 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 The assignedToTaskBoardFormat - */ - public function getAssignedToTaskBoardFormat() - { - if (array_key_exists("assignedToTaskBoardFormat", $this->_propDict)) { - if (is_a($this->_propDict["assignedToTaskBoardFormat"], "\Beta\Microsoft\Graph\Model\PlannerAssignedToTaskBoardTaskFormat")) { - 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 The bucketTaskBoardFormat - */ - public function getBucketTaskBoardFormat() - { - if (array_key_exists("bucketTaskBoardFormat", $this->_propDict)) { - if (is_a($this->_propDict["bucketTaskBoardFormat"], "\Beta\Microsoft\Graph\Model\PlannerBucketTaskBoardTaskFormat")) { - 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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PlannerTaskDetails")) { - 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 The progressTaskBoardFormat - */ - public function getProgressTaskBoardFormat() - { - if (array_key_exists("progressTaskBoardFormat", $this->_propDict)) { - if (is_a($this->_propDict["progressTaskBoardFormat"], "\Beta\Microsoft\Graph\Model\PlannerProgressTaskBoardTaskFormat")) { - 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 deleted file mode 100644 index 74790624..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskCreation.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["teamsPublicationInfo"], "\Beta\Microsoft\Graph\Model\PlannerTeamsPublicationInfo")) { - 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 deleted file mode 100644 index 9d68a030..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTaskDetails.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["checklist"], "\Beta\Microsoft\Graph\Model\PlannerChecklistItems")) { - 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 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 The previewType - */ - public function getPreviewType() - { - if (array_key_exists("previewType", $this->_propDict)) { - if (is_a($this->_propDict["previewType"], "\Beta\Microsoft\Graph\Model\PlannerPreviewType")) { - 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 The references - */ - public function getReferences() - { - if (array_key_exists("references", $this->_propDict)) { - if (is_a($this->_propDict["references"], "\Beta\Microsoft\Graph\Model\PlannerExternalReferences")) { - 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 deleted file mode 100644 index 40806082..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerTeamsPublicationInfo.php +++ /dev/null @@ -1,171 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index 941ca719..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUser.php +++ /dev/null @@ -1,271 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["favoritePlanReferences"], "\Beta\Microsoft\Graph\Model\PlannerFavoritePlanReferenceCollection")) { - 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 The recentPlanReferences - */ - public function getRecentPlanReferences() - { - if (array_key_exists("recentPlanReferences", $this->_propDict)) { - if (is_a($this->_propDict["recentPlanReferences"], "\Beta\Microsoft\Graph\Model\PlannerRecentPlanReferenceCollection")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index c36d5fea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PlannerUserIds.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completionReason"], "\Beta\Microsoft\Graph\Model\PlayPromptCompletionReason")) { - 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 deleted file mode 100644 index 051f630d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyBase.php +++ /dev/null @@ -1,85 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * Description for this policy. - * - * @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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 81b5d312..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicyPlatformType.php +++ /dev/null @@ -1,42 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new PolicyRoot - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the PolicyRoot - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - /** - * Gets the authenticationMethodsPolicy - * - * @return AuthenticationMethodsPolicy The authenticationMethodsPolicy - */ - public function getAuthenticationMethodsPolicy() - { - if (array_key_exists("authenticationMethodsPolicy", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethodsPolicy"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodsPolicy")) { - return $this->_propDict["authenticationMethodsPolicy"]; - } else { - $this->_propDict["authenticationMethodsPolicy"] = new AuthenticationMethodsPolicy($this->_propDict["authenticationMethodsPolicy"]); - return $this->_propDict["authenticationMethodsPolicy"]; - } - } - return null; - } - - /** - * Sets the authenticationMethodsPolicy - * - * @param AuthenticationMethodsPolicy $val The authenticationMethodsPolicy - * - * @return PolicyRoot - */ - public function setAuthenticationMethodsPolicy($val) - { - $this->_propDict["authenticationMethodsPolicy"] = $val; - return $this; - } - - /** - * Gets the authenticationFlowsPolicy - * - * @return AuthenticationFlowsPolicy The authenticationFlowsPolicy - */ - public function getAuthenticationFlowsPolicy() - { - if (array_key_exists("authenticationFlowsPolicy", $this->_propDict)) { - if (is_a($this->_propDict["authenticationFlowsPolicy"], "\Beta\Microsoft\Graph\Model\AuthenticationFlowsPolicy")) { - return $this->_propDict["authenticationFlowsPolicy"]; - } else { - $this->_propDict["authenticationFlowsPolicy"] = new AuthenticationFlowsPolicy($this->_propDict["authenticationFlowsPolicy"]); - return $this->_propDict["authenticationFlowsPolicy"]; - } - } - return null; - } - - /** - * Sets the authenticationFlowsPolicy - * - * @param AuthenticationFlowsPolicy $val The authenticationFlowsPolicy - * - * @return PolicyRoot - */ - public function setAuthenticationFlowsPolicy($val) - { - $this->_propDict["authenticationFlowsPolicy"] = $val; - return $this; - } - - /** - * Gets the b2cAuthenticationMethodsPolicy - * - * @return B2cAuthenticationMethodsPolicy The b2cAuthenticationMethodsPolicy - */ - public function getB2cAuthenticationMethodsPolicy() - { - if (array_key_exists("b2cAuthenticationMethodsPolicy", $this->_propDict)) { - if (is_a($this->_propDict["b2cAuthenticationMethodsPolicy"], "\Beta\Microsoft\Graph\Model\B2cAuthenticationMethodsPolicy")) { - return $this->_propDict["b2cAuthenticationMethodsPolicy"]; - } else { - $this->_propDict["b2cAuthenticationMethodsPolicy"] = new B2cAuthenticationMethodsPolicy($this->_propDict["b2cAuthenticationMethodsPolicy"]); - return $this->_propDict["b2cAuthenticationMethodsPolicy"]; - } - } - return null; - } - - /** - * Sets the b2cAuthenticationMethodsPolicy - * - * @param B2cAuthenticationMethodsPolicy $val The b2cAuthenticationMethodsPolicy - * - * @return PolicyRoot - */ - public function setB2cAuthenticationMethodsPolicy($val) - { - $this->_propDict["b2cAuthenticationMethodsPolicy"] = $val; - return $this; - } - - - /** - * Gets the activityBasedTimeoutPolicies - * - * @return array The activityBasedTimeoutPolicies - */ - public function getActivityBasedTimeoutPolicies() - { - if (array_key_exists("activityBasedTimeoutPolicies", $this->_propDict)) { - return $this->_propDict["activityBasedTimeoutPolicies"]; - } else { - return null; - } - } - - /** - * Sets the activityBasedTimeoutPolicies - * - * @param ActivityBasedTimeoutPolicy $val The activityBasedTimeoutPolicies - * - * @return PolicyRoot - */ - public function setActivityBasedTimeoutPolicies($val) - { - $this->_propDict["activityBasedTimeoutPolicies"] = $val; - return $this; - } - - - /** - * Gets the authorizationPolicy - * - * @return array The authorizationPolicy - */ - public function getAuthorizationPolicy() - { - if (array_key_exists("authorizationPolicy", $this->_propDict)) { - return $this->_propDict["authorizationPolicy"]; - } else { - return null; - } - } - - /** - * Sets the authorizationPolicy - * - * @param AuthorizationPolicy $val The authorizationPolicy - * - * @return PolicyRoot - */ - public function setAuthorizationPolicy($val) - { - $this->_propDict["authorizationPolicy"] = $val; - return $this; - } - - - /** - * Gets the claimsMappingPolicies - * - * @return array The claimsMappingPolicies - */ - public function getClaimsMappingPolicies() - { - if (array_key_exists("claimsMappingPolicies", $this->_propDict)) { - return $this->_propDict["claimsMappingPolicies"]; - } else { - return null; - } - } - - /** - * Sets the claimsMappingPolicies - * - * @param ClaimsMappingPolicy $val The claimsMappingPolicies - * - * @return PolicyRoot - */ - public function setClaimsMappingPolicies($val) - { - $this->_propDict["claimsMappingPolicies"] = $val; - return $this; - } - - - /** - * Gets the homeRealmDiscoveryPolicies - * - * @return array 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 PolicyRoot - */ - public function setHomeRealmDiscoveryPolicies($val) - { - $this->_propDict["homeRealmDiscoveryPolicies"] = $val; - return $this; - } - - - /** - * Gets the permissionGrantPolicies - * - * @return array The permissionGrantPolicies - */ - public function getPermissionGrantPolicies() - { - if (array_key_exists("permissionGrantPolicies", $this->_propDict)) { - return $this->_propDict["permissionGrantPolicies"]; - } else { - return null; - } - } - - /** - * Sets the permissionGrantPolicies - * - * @param PermissionGrantPolicy $val The permissionGrantPolicies - * - * @return PolicyRoot - */ - public function setPermissionGrantPolicies($val) - { - $this->_propDict["permissionGrantPolicies"] = $val; - return $this; - } - - - /** - * Gets the privateLinkResourcePolicies - * - * @return array The privateLinkResourcePolicies - */ - public function getPrivateLinkResourcePolicies() - { - if (array_key_exists("privateLinkResourcePolicies", $this->_propDict)) { - return $this->_propDict["privateLinkResourcePolicies"]; - } else { - return null; - } - } - - /** - * Sets the privateLinkResourcePolicies - * - * @param PrivateLinkResourcePolicy $val The privateLinkResourcePolicies - * - * @return PolicyRoot - */ - public function setPrivateLinkResourcePolicies($val) - { - $this->_propDict["privateLinkResourcePolicies"] = $val; - return $this; - } - - - /** - * Gets the tokenIssuancePolicies - * - * @return array 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 PolicyRoot - */ - public function setTokenIssuancePolicies($val) - { - $this->_propDict["tokenIssuancePolicies"] = $val; - return $this; - } - - - /** - * Gets the tokenLifetimePolicies - * - * @return array The tokenLifetimePolicies - */ - public function getTokenLifetimePolicies() - { - if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { - return $this->_propDict["tokenLifetimePolicies"]; - } else { - return null; - } - } - - /** - * Sets the tokenLifetimePolicies - * - * @param TokenLifetimePolicy $val The tokenLifetimePolicies - * - * @return PolicyRoot - */ - public function setTokenLifetimePolicies($val) - { - $this->_propDict["tokenLifetimePolicies"] = $val; - return $this; - } - - - /** - * Gets the featureRolloutPolicies - * - * @return array The featureRolloutPolicies - */ - public function getFeatureRolloutPolicies() - { - if (array_key_exists("featureRolloutPolicies", $this->_propDict)) { - return $this->_propDict["featureRolloutPolicies"]; - } else { - return null; - } - } - - /** - * Sets the featureRolloutPolicies - * - * @param FeatureRolloutPolicy $val The featureRolloutPolicies - * - * @return PolicyRoot - */ - public function setFeatureRolloutPolicies($val) - { - $this->_propDict["featureRolloutPolicies"] = $val; - return $this; - } - - /** - * Gets the adminConsentRequestPolicy - * - * @return AdminConsentRequestPolicy The adminConsentRequestPolicy - */ - public function getAdminConsentRequestPolicy() - { - if (array_key_exists("adminConsentRequestPolicy", $this->_propDict)) { - if (is_a($this->_propDict["adminConsentRequestPolicy"], "\Beta\Microsoft\Graph\Model\AdminConsentRequestPolicy")) { - return $this->_propDict["adminConsentRequestPolicy"]; - } else { - $this->_propDict["adminConsentRequestPolicy"] = new AdminConsentRequestPolicy($this->_propDict["adminConsentRequestPolicy"]); - return $this->_propDict["adminConsentRequestPolicy"]; - } - } - return null; - } - - /** - * Sets the adminConsentRequestPolicy - * - * @param AdminConsentRequestPolicy $val The adminConsentRequestPolicy - * - * @return PolicyRoot - */ - public function setAdminConsentRequestPolicy($val) - { - $this->_propDict["adminConsentRequestPolicy"] = $val; - return $this; - } - - /** - * Gets the directoryRoleAccessReviewPolicy - * - * @return DirectoryRoleAccessReviewPolicy The directoryRoleAccessReviewPolicy - */ - public function getDirectoryRoleAccessReviewPolicy() - { - if (array_key_exists("directoryRoleAccessReviewPolicy", $this->_propDict)) { - if (is_a($this->_propDict["directoryRoleAccessReviewPolicy"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array The conditionalAccessPolicies - */ - public function getConditionalAccessPolicies() - { - if (array_key_exists("conditionalAccessPolicies", $this->_propDict)) { - return $this->_propDict["conditionalAccessPolicies"]; - } else { - return null; - } - } - - /** - * Sets the conditionalAccessPolicies - * - * @param ConditionalAccessPolicy $val The conditionalAccessPolicies - * - * @return PolicyRoot - */ - public function setConditionalAccessPolicies($val) - { - $this->_propDict["conditionalAccessPolicies"] = $val; - return $this; - } - - /** - * Gets the identitySecurityDefaultsEnforcementPolicy - * - * @return IdentitySecurityDefaultsEnforcementPolicy The identitySecurityDefaultsEnforcementPolicy - */ - public function getIdentitySecurityDefaultsEnforcementPolicy() - { - if (array_key_exists("identitySecurityDefaultsEnforcementPolicy", $this->_propDict)) { - if (is_a($this->_propDict["identitySecurityDefaultsEnforcementPolicy"], "\Beta\Microsoft\Graph\Model\IdentitySecurityDefaultsEnforcementPolicy")) { - return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; - } else { - $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = new IdentitySecurityDefaultsEnforcementPolicy($this->_propDict["identitySecurityDefaultsEnforcementPolicy"]); - return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; - } - } - return null; - } - - /** - * Sets the identitySecurityDefaultsEnforcementPolicy - * - * @param IdentitySecurityDefaultsEnforcementPolicy $val The identitySecurityDefaultsEnforcementPolicy - * - * @return PolicyRoot - */ - public function setIdentitySecurityDefaultsEnforcementPolicy($val) - { - $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = $val; - return $this; - } - - - /** - * Gets the roleManagementPolicies - * - * @return array The roleManagementPolicies - */ - public function getRoleManagementPolicies() - { - if (array_key_exists("roleManagementPolicies", $this->_propDict)) { - return $this->_propDict["roleManagementPolicies"]; - } else { - return null; - } - } - - /** - * Sets the roleManagementPolicies - * - * @param UnifiedRoleManagementPolicy $val The roleManagementPolicies - * - * @return PolicyRoot - */ - public function setRoleManagementPolicies($val) - { - $this->_propDict["roleManagementPolicies"] = $val; - return $this; - } - - - /** - * Gets the roleManagementPolicyAssignments - * - * @return array The roleManagementPolicyAssignments - */ - public function getRoleManagementPolicyAssignments() - { - if (array_key_exists("roleManagementPolicyAssignments", $this->_propDict)) { - return $this->_propDict["roleManagementPolicyAssignments"]; - } else { - return null; - } - } - - /** - * Sets the roleManagementPolicyAssignments - * - * @param UnifiedRoleManagementPolicyAssignment $val The roleManagementPolicyAssignments - * - * @return PolicyRoot - */ - public function setRoleManagementPolicyAssignments($val) - { - $this->_propDict["roleManagementPolicyAssignments"] = $val; - return $this; - } - - /** - * Gets the ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - return $serializableProperties; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySet.php deleted file mode 100644 index 6d006d66..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySet.php +++ /dev/null @@ -1,335 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The errorCode - */ - public function getErrorCode() - { - if (array_key_exists("errorCode", $this->_propDict)) { - if (is_a($this->_propDict["errorCode"], "\Beta\Microsoft\Graph\Model\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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PolicySetStatus")) { - 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 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 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 deleted file mode 100644 index 303c91df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetAssignment.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 25fd698a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetItem.php +++ /dev/null @@ -1,275 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The errorCode - */ - public function getErrorCode() - { - if (array_key_exists("errorCode", $this->_propDict)) { - if (is_a($this->_propDict["errorCode"], "\Beta\Microsoft\Graph\Model\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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PolicySetStatus")) { - 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 deleted file mode 100644 index 4980e101..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PolicySetStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["company"], "\Beta\Microsoft\Graph\Model\CompanyDetail")) { - 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 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 The endMonthYear - */ - public function getEndMonthYear() - { - if (array_key_exists("endMonthYear", $this->_propDict)) { - if (is_a($this->_propDict["endMonthYear"], "\DateTime")) { - 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 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 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 The startMonthYear - */ - public function getStartMonthYear() - { - if (array_key_exists("startMonthYear", $this->_propDict)) { - if (is_a($this->_propDict["startMonthYear"], "\DateTime")) { - 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 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 deleted file mode 100644 index 7a777620..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Post.php +++ /dev/null @@ -1,490 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 The from - */ - public function getFrom() - { - if (array_key_exists("from", $this->_propDict)) { - if (is_a($this->_propDict["from"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\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 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 The receivedDateTime - */ - public function getReceivedDateTime() - { - if (array_key_exists("receivedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["receivedDateTime"], "\DateTime")) { - 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 The sender - */ - public function getSender() - { - if (array_key_exists("sender", $this->_propDict)) { - if (is_a($this->_propDict["sender"], "\Beta\Microsoft\Graph\Model\Recipient")) { - 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return Post The inReplyTo - */ - public function getInReplyTo() - { - if (array_key_exists("inReplyTo", $this->_propDict)) { - if (is_a($this->_propDict["inReplyTo"], "\Beta\Microsoft\Graph\Model\Post")) { - 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. - * - * @param Post $val The inReplyTo - * - * @return Post - */ - public function setInReplyTo($val) - { - $this->_propDict["inReplyTo"] = $val; - return $this; - } - - - /** - * Gets the mentions - * - * @return array 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 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 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/PostalAddressType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PostalAddressType.php deleted file mode 100644 index f8be2044..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PostalAddressType.php +++ /dev/null @@ -1,156 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index e1e4e445..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PowerActionType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 deleted file mode 100644 index a449c7d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrereleaseFeatures.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 The outOfOfficeSettings - */ - public function getOutOfOfficeSettings() - { - if (array_key_exists("outOfOfficeSettings", $this->_propDict)) { - if (is_a($this->_propDict["outOfOfficeSettings"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index f1aff91e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Presentation.php +++ /dev/null @@ -1,55 +0,0 @@ -_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 deleted file mode 100644 index 7b6ccedf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrincipalResourceMembershipsScope.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["principalScopes"], "\Beta\Microsoft\Graph\Model\AccessReviewScope")) { - 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 to be included in an 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 will be reviewed. - * - * @return AccessReviewScope The resourceScopes - */ - public function getResourceScopes() - { - if (array_key_exists("resourceScopes", $this->_propDict)) { - if (is_a($this->_propDict["resourceScopes"], "\Beta\Microsoft\Graph\Model\AccessReviewScope")) { - 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 will be 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 deleted file mode 100644 index da7c8874..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintCertificateSigningRequest.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 2c203cb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintColorConfiguration.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The deviceHealth - */ - public function getDeviceHealth() - { - if (array_key_exists("deviceHealth", $this->_propDict)) { - if (is_a($this->_propDict["deviceHealth"], "\Beta\Microsoft\Graph\Model\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 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 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\PrinterLocation")) { - 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 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 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 The registeredDateTime - */ - public function getRegisteredDateTime() - { - if (array_key_exists("registeredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registeredDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 123552d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocument.php +++ /dev/null @@ -1,145 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\PrinterDocumentConfiguration")) { - 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 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 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 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 deleted file mode 100644 index ba016b26..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDocumentUploadProperties.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index ccb31c8c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintDuplexConfiguration.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\PrintJobConfiguration")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrintJobStatus")) { - 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 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 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 deleted file mode 100644 index 8018d30b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobConfiguration.php +++ /dev/null @@ -1,606 +0,0 @@ -_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 The colorMode - */ - public function getColorMode() - { - if (array_key_exists("colorMode", $this->_propDict)) { - if (is_a($this->_propDict["colorMode"], "\Beta\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 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 The duplexMode - */ - public function getDuplexMode() - { - if (array_key_exists("duplexMode", $this->_propDict)) { - if (is_a($this->_propDict["duplexMode"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The feedOrientation - */ - public function getFeedOrientation() - { - if (array_key_exists("feedOrientation", $this->_propDict)) { - if (is_a($this->_propDict["feedOrientation"], "\Beta\Microsoft\Graph\Model\PrinterFeedOrientation")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 The margin - */ - public function getMargin() - { - if (array_key_exists("margin", $this->_propDict)) { - if (is_a($this->_propDict["margin"], "\Beta\Microsoft\Graph\Model\PrintMargin")) { - 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, along with any custom sizes supported by the associated printer. - * - * @return string 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, along with any custom sizes supported by the associated printer. - * - * @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. Valid values are described in the following table. - * - * @return string 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. Valid values are described in the following table. - * - * @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 The multipageLayout - */ - public function getMultipageLayout() - { - if (array_key_exists("multipageLayout", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayout"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientation - */ - public function getOrientation() - { - if (array_key_exists("orientation", $this->_propDict)) { - if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 The pageRanges - */ - public function getPageRanges() - { - if (array_key_exists("pageRanges", $this->_propDict)) { - if (is_a($this->_propDict["pageRanges"], "\Beta\Microsoft\Graph\Model\IntegerRange")) { - 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 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 The quality - */ - public function getQuality() - { - if (array_key_exists("quality", $this->_propDict)) { - if (is_a($this->_propDict["quality"], "\Beta\Microsoft\Graph\Model\PrintQuality")) { - 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 The scaling - */ - public function getScaling() - { - if (array_key_exists("scaling", $this->_propDict)) { - if (is_a($this->_propDict["scaling"], "\Beta\Microsoft\Graph\Model\PrintScaling")) { - 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 deleted file mode 100644 index 593eaeca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintJobProcessingState.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PrintJobStateDetail")) { - 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 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 The processingState - */ - public function getProcessingState() - { - if (array_key_exists("processingState", $this->_propDict)) { - if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintJobProcessingState")) { - 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 deleted file mode 100644 index bc588ff5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMargin.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 37952b76..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintMediaType.php +++ /dev/null @@ -1,45 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrintOperationStatus")) { - 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 deleted file mode 100644 index 67616813..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOperationProcessingState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintOperationProcessingState")) { - 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 deleted file mode 100644 index c3b3a245..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintOrientation.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index 3e8639c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintServiceEndpoint.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 4d009b92..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 072ef9bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTask.php +++ /dev/null @@ -1,155 +0,0 @@ -_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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrintTaskStatus")) { - 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\PrintTaskDefinition")) { - 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 The trigger - */ - public function getTrigger() - { - if (array_key_exists("trigger", $this->_propDict)) { - if (is_a($this->_propDict["trigger"], "\Beta\Microsoft\Graph\Model\PrintTaskTrigger")) { - 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 deleted file mode 100644 index 7a6616c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskDefinition.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\AppIdentity")) { - 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 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 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 deleted file mode 100644 index 068f7646..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskProcessingState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrintTaskProcessingState")) { - 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 deleted file mode 100644 index adb78681..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintTaskTrigger.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["event"], "\Beta\Microsoft\Graph\Model\PrintEvent")) { - 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\PrintTaskDefinition")) { - 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 deleted file mode 100644 index f99950c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsage.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 The usageDate - */ - public function getUsageDate() - { - if (array_key_exists("usageDate", $this->_propDict)) { - if (is_a($this->_propDict["usageDate"], "\DateTime")) { - 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 deleted file mode 100644 index e79a47d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByPrinter.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 32214246..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageByUser.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 6fdcf7c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrintUsageSummary.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 57d9a024..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Printer.php +++ /dev/null @@ -1,299 +0,0 @@ -_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 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 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 The registeredDateTime - */ - public function getRegisteredDateTime() - { - if (array_key_exists("registeredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registeredDateTime"], "\DateTime")) { - 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 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 The share - */ - public function getShare() - { - if (array_key_exists("share", $this->_propDict)) { - if (is_a($this->_propDict["share"], "\Beta\Microsoft\Graph\Model\PrinterShare")) { - 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 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 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 deleted file mode 100644 index 8003cf69..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterBase.php +++ /dev/null @@ -1,332 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["capabilities"], "\Beta\Microsoft\Graph\Model\PrinterCapabilities")) { - 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 The defaults - */ - public function getDefaults() - { - if (array_key_exists("defaults", $this->_propDict)) { - if (is_a($this->_propDict["defaults"], "\Beta\Microsoft\Graph\Model\PrinterDefaults")) { - 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 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 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\PrinterLocation")) { - 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\PrinterStatus")) { - 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 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 deleted file mode 100644 index 0860a41d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCapabilities.php +++ /dev/null @@ -1,1185 +0,0 @@ -_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 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 The colorModes - */ - public function getColorModes() - { - if (array_key_exists("colorModes", $this->_propDict)) { - if (is_a($this->_propDict["colorModes"], "\Beta\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 The copiesPerJob - */ - public function getCopiesPerJob() - { - if (array_key_exists("copiesPerJob", $this->_propDict)) { - if (is_a($this->_propDict["copiesPerJob"], "\Beta\Microsoft\Graph\Model\IntegerRange")) { - 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 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 The duplexModes - */ - public function getDuplexModes() - { - if (array_key_exists("duplexModes", $this->_propDict)) { - if (is_a($this->_propDict["duplexModes"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The feedDirections - */ - public function getFeedDirections() - { - if (array_key_exists("feedDirections", $this->_propDict)) { - if (is_a($this->_propDict["feedDirections"], "\Beta\Microsoft\Graph\Model\PrinterFeedDirection")) { - 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 The feedOrientations - */ - public function getFeedOrientations() - { - if (array_key_exists("feedOrientations", $this->_propDict)) { - if (is_a($this->_propDict["feedOrientations"], "\Beta\Microsoft\Graph\Model\PrinterFeedOrientation")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 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 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 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, along with any custom sizes supported by the associated printer. - * - * @return string 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, along with any custom sizes supported by the associated printer. - * - * @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. Valid values are described in the following table. - * - * @return string 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. Valid values are described in the following table. - * - * @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 The multipageLayouts - */ - public function getMultipageLayouts() - { - if (array_key_exists("multipageLayouts", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayouts"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientations - */ - public function getOrientations() - { - if (array_key_exists("orientations", $this->_propDict)) { - if (is_a($this->_propDict["orientations"], "\Beta\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 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 The qualities - */ - public function getQualities() - { - if (array_key_exists("qualities", $this->_propDict)) { - if (is_a($this->_propDict["qualities"], "\Beta\Microsoft\Graph\Model\PrintQuality")) { - 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 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 The scalings - */ - public function getScalings() - { - if (array_key_exists("scalings", $this->_propDict)) { - if (is_a($this->_propDict["scalings"], "\Beta\Microsoft\Graph\Model\PrintScaling")) { - 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 The supportedColorConfigurations - */ - public function getSupportedColorConfigurations() - { - if (array_key_exists("supportedColorConfigurations", $this->_propDict)) { - if (is_a($this->_propDict["supportedColorConfigurations"], "\Beta\Microsoft\Graph\Model\PrintColorConfiguration")) { - 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 The supportedCopiesPerJob - */ - public function getSupportedCopiesPerJob() - { - if (array_key_exists("supportedCopiesPerJob", $this->_propDict)) { - if (is_a($this->_propDict["supportedCopiesPerJob"], "\Beta\Microsoft\Graph\Model\IntegerRange")) { - 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 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 The supportedDuplexConfigurations - */ - public function getSupportedDuplexConfigurations() - { - if (array_key_exists("supportedDuplexConfigurations", $this->_propDict)) { - if (is_a($this->_propDict["supportedDuplexConfigurations"], "\Beta\Microsoft\Graph\Model\PrintDuplexConfiguration")) { - 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 The supportedFinishings - */ - public function getSupportedFinishings() - { - if (array_key_exists("supportedFinishings", $this->_propDict)) { - if (is_a($this->_propDict["supportedFinishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 The supportedMediaTypes - */ - public function getSupportedMediaTypes() - { - if (array_key_exists("supportedMediaTypes", $this->_propDict)) { - if (is_a($this->_propDict["supportedMediaTypes"], "\Beta\Microsoft\Graph\Model\PrintMediaType")) { - 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 The supportedOrientations - */ - public function getSupportedOrientations() - { - if (array_key_exists("supportedOrientations", $this->_propDict)) { - if (is_a($this->_propDict["supportedOrientations"], "\Beta\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 The supportedPagesPerSheet - */ - public function getSupportedPagesPerSheet() - { - if (array_key_exists("supportedPagesPerSheet", $this->_propDict)) { - if (is_a($this->_propDict["supportedPagesPerSheet"], "\Beta\Microsoft\Graph\Model\IntegerRange")) { - 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 The supportedPresentationDirections - */ - public function getSupportedPresentationDirections() - { - if (array_key_exists("supportedPresentationDirections", $this->_propDict)) { - if (is_a($this->_propDict["supportedPresentationDirections"], "\Beta\Microsoft\Graph\Model\PrintPresentationDirection")) { - 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 The supportedPrintQualities - */ - public function getSupportedPrintQualities() - { - if (array_key_exists("supportedPrintQualities", $this->_propDict)) { - if (is_a($this->_propDict["supportedPrintQualities"], "\Beta\Microsoft\Graph\Model\PrintQuality")) { - 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 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 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 deleted file mode 100644 index ed30df5d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterCreateOperation.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The printer - */ - public function getPrinter() - { - if (array_key_exists("printer", $this->_propDict)) { - if (is_a($this->_propDict["printer"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 1d6d8a1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDefaults.php +++ /dev/null @@ -1,713 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["colorMode"], "\Beta\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 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 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 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 The duplexConfiguration - */ - public function getDuplexConfiguration() - { - if (array_key_exists("duplexConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["duplexConfiguration"], "\Beta\Microsoft\Graph\Model\PrintDuplexConfiguration")) { - 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 The duplexMode - */ - public function getDuplexMode() - { - if (array_key_exists("duplexMode", $this->_propDict)) { - if (is_a($this->_propDict["duplexMode"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 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, along with any custom sizes supported by the associated printer. - * - * @return string 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, along with any custom sizes supported by the associated printer. - * - * @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. Valid values are described in the following table. - * - * @return string 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. Valid values are described in the following table. - * - * @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 The multipageLayout - */ - public function getMultipageLayout() - { - if (array_key_exists("multipageLayout", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayout"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientation - */ - public function getOrientation() - { - if (array_key_exists("orientation", $this->_propDict)) { - if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 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 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 The presentationDirection - */ - public function getPresentationDirection() - { - if (array_key_exists("presentationDirection", $this->_propDict)) { - if (is_a($this->_propDict["presentationDirection"], "\Beta\Microsoft\Graph\Model\PrintPresentationDirection")) { - 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 The printColorConfiguration - */ - public function getPrintColorConfiguration() - { - if (array_key_exists("printColorConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["printColorConfiguration"], "\Beta\Microsoft\Graph\Model\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 The printQuality - */ - public function getPrintQuality() - { - if (array_key_exists("printQuality", $this->_propDict)) { - if (is_a($this->_propDict["printQuality"], "\Beta\Microsoft\Graph\Model\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 The quality - */ - public function getQuality() - { - if (array_key_exists("quality", $this->_propDict)) { - if (is_a($this->_propDict["quality"], "\Beta\Microsoft\Graph\Model\PrintQuality")) { - 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 The scaling - */ - public function getScaling() - { - if (array_key_exists("scaling", $this->_propDict)) { - if (is_a($this->_propDict["scaling"], "\Beta\Microsoft\Graph\Model\PrintScaling")) { - 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 deleted file mode 100644 index 4692441a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterDocumentConfiguration.php +++ /dev/null @@ -1,601 +0,0 @@ -_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 The colorMode - */ - public function getColorMode() - { - if (array_key_exists("colorMode", $this->_propDict)) { - if (is_a($this->_propDict["colorMode"], "\Beta\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 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 The duplexMode - */ - public function getDuplexMode() - { - if (array_key_exists("duplexMode", $this->_propDict)) { - if (is_a($this->_propDict["duplexMode"], "\Beta\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The feedDirection - */ - public function getFeedDirection() - { - if (array_key_exists("feedDirection", $this->_propDict)) { - if (is_a($this->_propDict["feedDirection"], "\Beta\Microsoft\Graph\Model\PrinterFeedDirection")) { - 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 The feedOrientation - */ - public function getFeedOrientation() - { - if (array_key_exists("feedOrientation", $this->_propDict)) { - if (is_a($this->_propDict["feedOrientation"], "\Beta\Microsoft\Graph\Model\PrinterFeedOrientation")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Beta\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 The margin - */ - public function getMargin() - { - if (array_key_exists("margin", $this->_propDict)) { - if (is_a($this->_propDict["margin"], "\Beta\Microsoft\Graph\Model\PrintMargin")) { - 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 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 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 The multipageLayout - */ - public function getMultipageLayout() - { - if (array_key_exists("multipageLayout", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayout"], "\Beta\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientation - */ - public function getOrientation() - { - if (array_key_exists("orientation", $this->_propDict)) { - if (is_a($this->_propDict["orientation"], "\Beta\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 The pageRanges - */ - public function getPageRanges() - { - if (array_key_exists("pageRanges", $this->_propDict)) { - if (is_a($this->_propDict["pageRanges"], "\Beta\Microsoft\Graph\Model\IntegerRange")) { - 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 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 The quality - */ - public function getQuality() - { - if (array_key_exists("quality", $this->_propDict)) { - if (is_a($this->_propDict["quality"], "\Beta\Microsoft\Graph\Model\PrintQuality")) { - 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 The scaling - */ - public function getScaling() - { - if (array_key_exists("scaling", $this->_propDict)) { - if (is_a($this->_propDict["scaling"], "\Beta\Microsoft\Graph\Model\PrintScaling")) { - 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 deleted file mode 100644 index 94b57f28..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterFeedDirection.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index f98bc8b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterProcessingState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The printer - */ - public function getPrinter() - { - if (array_key_exists("printer", $this->_propDict)) { - if (is_a($this->_propDict["printer"], "\Beta\Microsoft\Graph\Model\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/PrinterStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterStatus.php deleted file mode 100644 index a2620e41..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterStatus.php +++ /dev/null @@ -1,208 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PrinterProcessingStateDetail")) { - 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 The processingState - */ - public function getProcessingState() - { - if (array_key_exists("processingState", $this->_propDict)) { - if (is_a($this->_propDict["processingState"], "\Beta\Microsoft\Graph\Model\PrinterProcessingState")) { - 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 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 The processingStateReasons - */ - public function getProcessingStateReasons() - { - if (array_key_exists("processingStateReasons", $this->_propDict)) { - if (is_a($this->_propDict["processingStateReasons"], "\Beta\Microsoft\Graph\Model\PrinterProcessingStateReason")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\PrinterProcessingState")) { - 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 deleted file mode 100644 index 4f45b0b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrinterUsageSummary.php +++ /dev/null @@ -1,213 +0,0 @@ -_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 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 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 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 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 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 The printer - */ - public function getPrinter() - { - if (array_key_exists("printer", $this->_propDict)) { - if (is_a($this->_propDict["printer"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - 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 deleted file mode 100644 index a03af273..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Priority.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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/PrivateEndpointConnection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateEndpointConnection.php deleted file mode 100644 index 9b9e22e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateEndpointConnection.php +++ /dev/null @@ -1,81 +0,0 @@ -_propDict)) { - return $this->_propDict["externalPrivateEndpointId"]; - } else { - return null; - } - } - - /** - * Sets the externalPrivateEndpointId - * - * @param string $val The externalPrivateEndpointId - * - * @return PrivateEndpointConnection - */ - public function setExternalPrivateEndpointId($val) - { - $this->_propDict["externalPrivateEndpointId"] = $val; - return $this; - } - - /** - * Gets the privateLinkIds - * - * @return int The privateLinkIds - */ - public function getPrivateLinkIds() - { - if (array_key_exists("privateLinkIds", $this->_propDict)) { - return $this->_propDict["privateLinkIds"]; - } else { - return null; - } - } - - /** - * Sets the privateLinkIds - * - * @param int $val The privateLinkIds - * - * @return PrivateEndpointConnection - */ - public function setPrivateLinkIds($val) - { - $this->_propDict["privateLinkIds"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateLinkResourcePolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateLinkResourcePolicy.php deleted file mode 100644 index 2f437d74..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivateLinkResourcePolicy.php +++ /dev/null @@ -1,136 +0,0 @@ -_propDict)) { - return $this->_propDict["allowedTenantIds"]; - } else { - return null; - } - } - - /** - * Sets the allowedTenantIds - * - * @param string $val The allowedTenantIds - * - * @return PrivateLinkResourcePolicy - */ - public function setAllowedTenantIds($val) - { - $this->_propDict["allowedTenantIds"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 PrivateLinkResourcePolicy - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the externalPrivateLinkId - * - * @return string The externalPrivateLinkId - */ - public function getExternalPrivateLinkId() - { - if (array_key_exists("externalPrivateLinkId", $this->_propDict)) { - return $this->_propDict["externalPrivateLinkId"]; - } else { - return null; - } - } - - /** - * Sets the externalPrivateLinkId - * - * @param string $val The externalPrivateLinkId - * - * @return PrivateLinkResourcePolicy - */ - public function setExternalPrivateLinkId($val) - { - $this->_propDict["externalPrivateLinkId"] = $val; - return $this; - } - - - /** - * Gets the privateEndpointConnections - * - * @return array The privateEndpointConnections - */ - public function getPrivateEndpointConnections() - { - if (array_key_exists("privateEndpointConnections", $this->_propDict)) { - return $this->_propDict["privateEndpointConnections"]; - } else { - return null; - } - } - - /** - * Sets the privateEndpointConnections - * - * @param PrivateEndpointConnection $val The privateEndpointConnections - * - * @return PrivateLinkResourcePolicy - */ - public function setPrivateEndpointConnections($val) - { - $this->_propDict["privateEndpointConnections"] = $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 deleted file mode 100644 index 3c55a22b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedAccess.php +++ /dev/null @@ -1,206 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 62411606..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedApproval.php +++ /dev/null @@ -1,358 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["approvalDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["approvalDuration"]; - } else { - $this->_propDict["approvalDuration"] = new Duration($this->_propDict["approvalDuration"]); - return $this->_propDict["approvalDuration"]; - } - } - return null; - } - - /** - * Sets the approvalDuration - * - * @param Duration $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 The approvalState - */ - public function getApprovalState() - { - if (array_key_exists("approvalState", $this->_propDict)) { - if (is_a($this->_propDict["approvalState"], "\Beta\Microsoft\Graph\Model\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 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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 The request - */ - public function getRequest() - { - if (array_key_exists("request", $this->_propDict)) { - if (is_a($this->_propDict["request"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleAssignmentRequest")) { - 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 The roleInfo - */ - public function getRoleInfo() - { - if (array_key_exists("roleInfo", $this->_propDict)) { - if (is_a($this->_propDict["roleInfo"], "\Beta\Microsoft\Graph\Model\PrivilegedRole")) { - 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 deleted file mode 100644 index 9d8ed1a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedOperationEvent.php +++ /dev/null @@ -1,441 +0,0 @@ -_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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 4a0bd0b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRole.php +++ /dev/null @@ -1,152 +0,0 @@ -_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 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleSettings")) { - 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 The summary - */ - public function getSummary() - { - if (array_key_exists("summary", $this->_propDict)) { - if (is_a($this->_propDict["summary"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleSummary")) { - 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 deleted file mode 100644 index d69ae6af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignment.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 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 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 The roleInfo - */ - public function getRoleInfo() - { - if (array_key_exists("roleInfo", $this->_propDict)) { - if (is_a($this->_propDict["roleInfo"], "\Beta\Microsoft\Graph\Model\PrivilegedRole")) { - 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 deleted file mode 100644 index e995867a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleAssignmentRequest.php +++ /dev/null @@ -1,387 +0,0 @@ -_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 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 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 The requestedDateTime - */ - public function getRequestedDateTime() - { - if (array_key_exists("requestedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["requestedDateTime"], "\DateTime")) { - 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 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 The schedule - */ - public function getSchedule() - { - if (array_key_exists("schedule", $this->_propDict)) { - if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\GovernanceSchedule")) { - 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 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 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 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 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 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 The roleInfo - */ - public function getRoleInfo() - { - if (array_key_exists("roleInfo", $this->_propDict)) { - if (is_a($this->_propDict["roleInfo"], "\Beta\Microsoft\Graph\Model\PrivilegedRole")) { - 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 deleted file mode 100644 index 14820891..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSettings.php +++ /dev/null @@ -1,329 +0,0 @@ -_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 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 Duration The elevationDuration - */ - public function getElevationDuration() - { - if (array_key_exists("elevationDuration", $this->_propDict)) { - if (is_a($this->_propDict["elevationDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["elevationDuration"]; - } else { - $this->_propDict["elevationDuration"] = new Duration($this->_propDict["elevationDuration"]); - return $this->_propDict["elevationDuration"]; - } - } - return null; - } - - /** - * Sets the elevationDuration - * The duration when the role is activated. - * - * @param Duration $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 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 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 Duration The maxElavationDuration - */ - public function getMaxElavationDuration() - { - if (array_key_exists("maxElavationDuration", $this->_propDict)) { - if (is_a($this->_propDict["maxElavationDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxElavationDuration"]; - } else { - $this->_propDict["maxElavationDuration"] = new Duration($this->_propDict["maxElavationDuration"]); - return $this->_propDict["maxElavationDuration"]; - } - } - return null; - } - - /** - * Sets the maxElavationDuration - * Maximal duration for the activated role. - * - * @param Duration $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 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 Duration The minElevationDuration - */ - public function getMinElevationDuration() - { - if (array_key_exists("minElevationDuration", $this->_propDict)) { - if (is_a($this->_propDict["minElevationDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["minElevationDuration"]; - } else { - $this->_propDict["minElevationDuration"] = new Duration($this->_propDict["minElevationDuration"]); - return $this->_propDict["minElevationDuration"]; - } - } - return null; - } - - /** - * Sets the minElevationDuration - * Minimal duration for the activated role. - * - * @param Duration $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 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 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 deleted file mode 100644 index 821d610e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedRoleSummary.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\RoleSummaryStatus")) { - 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 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 deleted file mode 100644 index 3d34f6b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PrivilegedSignupStatus.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SetupStatus")) { - 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 deleted file mode 100644 index 14d51245..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Process.php +++ /dev/null @@ -1,382 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The fileHash - */ - public function getFileHash() - { - if (array_key_exists("fileHash", $this->_propDict)) { - if (is_a($this->_propDict["fileHash"], "\Beta\Microsoft\Graph\Model\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 The integrityLevel - */ - public function getIntegrityLevel() - { - if (array_key_exists("integrityLevel", $this->_propDict)) { - if (is_a($this->_propDict["integrityLevel"], "\Beta\Microsoft\Graph\Model\ProcessIntegrityLevel")) { - 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 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 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 The parentProcessCreatedDateTime - */ - public function getParentProcessCreatedDateTime() - { - if (array_key_exists("parentProcessCreatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["parentProcessCreatedDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index 68ff538a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProcessIntegrityLevel.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index c7d06e6e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardAnnotation.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The localizations - */ - public function getLocalizations() - { - if (array_key_exists("localizations", $this->_propDict)) { - if (is_a($this->_propDict["localizations"], "\Beta\Microsoft\Graph\Model\DisplayNameLocalization")) { - 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 deleted file mode 100644 index 4a83f643..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfileCardProperty.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index f944838f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProfilePhoto.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index c11b75d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Program.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index a580b804..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControl.php +++ /dev/null @@ -1,304 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\UserIdentity")) { - 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 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\ProgramResource")) { - 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 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 The program - */ - public function getProgram() - { - if (array_key_exists("program", $this->_propDict)) { - if (is_a($this->_propDict["program"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 64b7d6e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramControlType.php +++ /dev/null @@ -1,83 +0,0 @@ -_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 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 deleted file mode 100644 index 0c615495..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProgramResource.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index b9a130d8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProjectParticipation.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 The client - */ - public function getClient() - { - if (array_key_exists("client", $this->_propDict)) { - if (is_a($this->_propDict["client"], "\Beta\Microsoft\Graph\Model\CompanyDetail")) { - 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 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 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 The detail - */ - public function getDetail() - { - if (array_key_exists("detail", $this->_propDict)) { - if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PositionDetail")) { - 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 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 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 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 deleted file mode 100644 index 292b6f63..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Prompt.php +++ /dev/null @@ -1,26 +0,0 @@ -_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. Each string must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, ` - * - * @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 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 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 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 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). Supported labels: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName and fileExtension. Optional. - * - * @return Label The labels - */ - public function getLabels() - { - if (array_key_exists("labels", $this->_propDict)) { - if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\Model\Label")) { - 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). Supported labels: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName and fileExtension. Optional. - * - * @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. Must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, ` - * - * @return string 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. Must not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', &lt;, &gt;, ` - * - * @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. Required. - * - * @return PropertyType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\PropertyType")) { - 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. 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/Model/PropertyToEvaluate.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyToEvaluate.php deleted file mode 100644 index 19e89080..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyToEvaluate.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 44cb2da4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PropertyType.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 deleted file mode 100644 index bd82060b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectDoNotForwardAction.php +++ /dev/null @@ -1,26 +0,0 @@ -setODataType("#microsoft.graph.protectGroup"); - } - - /** - * Gets the allowEmailFromGuestUsers - * - * @return bool 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 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 The privacy - */ - public function getPrivacy() - { - if (array_key_exists("privacy", $this->_propDict)) { - if (is_a($this->_propDict["privacy"], "\Beta\Microsoft\Graph\Model\GroupPrivacy")) { - 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 deleted file mode 100644 index 1b9d720f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectOnlineMeetingAction.php +++ /dev/null @@ -1,180 +0,0 @@ -setODataType("#microsoft.graph.protectOnlineMeetingAction"); - } - - - /** - * Gets the allowedForwarders - * - * @return OnlineMeetingForwarders The allowedForwarders - */ - public function getAllowedForwarders() - { - if (array_key_exists("allowedForwarders", $this->_propDict)) { - if (is_a($this->_propDict["allowedForwarders"], "\Beta\Microsoft\Graph\Model\OnlineMeetingForwarders")) { - 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 The allowedPresenters - */ - public function getAllowedPresenters() - { - if (array_key_exists("allowedPresenters", $this->_propDict)) { - if (is_a($this->_propDict["allowedPresenters"], "\Beta\Microsoft\Graph\Model\OnlineMeetingPresenters")) { - 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 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 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 The lobbyBypassSettings - */ - public function getLobbyBypassSettings() - { - if (array_key_exists("lobbyBypassSettings", $this->_propDict)) { - if (is_a($this->_propDict["lobbyBypassSettings"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 74e180af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProtectSite.php +++ /dev/null @@ -1,92 +0,0 @@ -setODataType("#microsoft.graph.protectSite"); - } - - - /** - * Gets the accessType - * - * @return SiteAccessType The accessType - */ - public function getAccessType() - { - if (array_key_exists("accessType", $this->_propDict)) { - if (is_a($this->_propDict["accessType"], "\Beta\Microsoft\Graph\Model\SiteAccessType")) { - 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 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/ProviderTenantSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProviderTenantSetting.php deleted file mode 100644 index 07738459..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProviderTenantSetting.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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/ProvisionedIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php deleted file mode 100644 index 52758485..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedIdentity.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\DetailsInfo")) { - 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 displayName - * Display name of the identity. - * - * @return string 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 identity. - * - * @param string $val The value of the displayName - * - * @return ProvisionedIdentity - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - /** - * Gets the id - * Uniquely identifies the identity. - * - * @return string The id - */ - public function getId() - { - if (array_key_exists("id", $this->_propDict)) { - return $this->_propDict["id"]; - } else { - return null; - } - } - - /** - * Sets the id - * Uniquely identifies the identity. - * - * @param string $val The value of the id - * - * @return ProvisionedIdentity - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - /** - * Gets the identityType - * Type of identity that has been provisioned, such as 'user' or 'group'. - * - * @return string 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 deleted file mode 100644 index cc186c3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionedPlan.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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/ProvisioningObjectSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php deleted file mode 100644 index 408f7c00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningObjectSummary.php +++ /dev/null @@ -1,525 +0,0 @@ -_propDict)) { - return $this->_propDict["action"]; - } else { - return null; - } - } - - /** - * Sets the action - * Indicates the activity name or the operation name (for example, Create user, Add member to group). For a list of activities logged, refer to Azure AD activity list. - * - * @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 The activityDateTime - */ - public function getActivityDateTime() - { - if (array_key_exists("activityDateTime", $this->_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 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 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 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 The initiatedBy - */ - public function getInitiatedBy() - { - if (array_key_exists("initiatedBy", $this->_propDict)) { - if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\Initiator")) { - 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 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 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 provisioningSteps - * Details of each step in provisioning. - * - * @return array 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 The servicePrincipal - */ - public function getServicePrincipal() - { - if (array_key_exists("servicePrincipal", $this->_propDict)) { - if (is_a($this->_propDict["servicePrincipal"], "\Beta\Microsoft\Graph\Model\ProvisioningServicePrincipal")) { - 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 The sourceIdentity - */ - public function getSourceIdentity() - { - if (array_key_exists("sourceIdentity", $this->_propDict)) { - if (is_a($this->_propDict["sourceIdentity"], "\Beta\Microsoft\Graph\Model\ProvisionedIdentity")) { - 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 ProvisioningSystemDetails The sourceSystem - */ - public function getSourceSystem() - { - if (array_key_exists("sourceSystem", $this->_propDict)) { - if (is_a($this->_propDict["sourceSystem"], "\Beta\Microsoft\Graph\Model\ProvisioningSystemDetails")) { - return $this->_propDict["sourceSystem"]; - } else { - $this->_propDict["sourceSystem"] = new ProvisioningSystemDetails($this->_propDict["sourceSystem"]); - return $this->_propDict["sourceSystem"]; - } - } - return null; - } - - /** - * Sets the sourceSystem - * Details of source system of the object being provisioned. - * - * @param ProvisioningSystemDetails $val The sourceSystem - * - * @return ProvisioningObjectSummary - */ - public function setSourceSystem($val) - { - $this->_propDict["sourceSystem"] = $val; - return $this; - } - - /** - * Gets the statusInfo - * Details of provisioning status. - * - * @return StatusBase The statusInfo - */ - public function getStatusInfo() - { - if (array_key_exists("statusInfo", $this->_propDict)) { - if (is_a($this->_propDict["statusInfo"], "\Beta\Microsoft\Graph\Model\StatusBase")) { - return $this->_propDict["statusInfo"]; - } else { - $this->_propDict["statusInfo"] = new StatusBase($this->_propDict["statusInfo"]); - return $this->_propDict["statusInfo"]; - } - } - return null; - } - - /** - * Sets the statusInfo - * Details of provisioning status. - * - * @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 The targetIdentity - */ - public function getTargetIdentity() - { - if (array_key_exists("targetIdentity", $this->_propDict)) { - if (is_a($this->_propDict["targetIdentity"], "\Beta\Microsoft\Graph\Model\ProvisionedIdentity")) { - 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 ProvisioningSystemDetails The targetSystem - */ - public function getTargetSystem() - { - if (array_key_exists("targetSystem", $this->_propDict)) { - if (is_a($this->_propDict["targetSystem"], "\Beta\Microsoft\Graph\Model\ProvisioningSystemDetails")) { - return $this->_propDict["targetSystem"]; - } else { - $this->_propDict["targetSystem"] = new ProvisioningSystemDetails($this->_propDict["targetSystem"]); - return $this->_propDict["targetSystem"]; - } - } - return null; - } - - /** - * Sets the targetSystem - * Details of target system of the object being provisioned. - * - * @param ProvisioningSystemDetails $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 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 deleted file mode 100644 index ab7ba2f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningResult.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\DetailsInfo")) { - 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 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 The provisioningStepType - */ - public function getProvisioningStepType() - { - if (array_key_exists("provisioningStepType", $this->_propDict)) { - if (is_a($this->_propDict["provisioningStepType"], "\Beta\Microsoft\Graph\Model\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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ProvisioningResult")) { - 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 deleted file mode 100644 index d0d408d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisioningStepType.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\DetailsInfo")) { - 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 ProvisioningSystemDetails The ProvisioningSystemDetails - */ - public function setDetails($val) - { - $this->_propDict["details"] = $val; - return $this; - } - /** - * Gets the displayName - * Name of the system that a user was provisioned to or from. - * - * @return string 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 system that a user was provisioned to or from. - * - * @param string $val The value of the displayName - * - * @return ProvisioningSystemDetails - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - /** - * Gets the id - * Identifier of the system that a user was provisioned to or from. - * - * @return string 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 system that a user was provisioned to or from. - * - * @param string $val The value of the id - * - * @return ProvisioningSystemDetails - */ - public function setId($val) - { - $this->_propDict["id"] = $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 deleted file mode 100644 index fad1f114..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProxiedDomain.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index e6a1eec1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicClientApplication.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index f02635b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicError.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PublicErrorDetail")) { - 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 The innerError - */ - public function getInnerError() - { - if (array_key_exists("innerError", $this->_propDict)) { - if (is_a($this->_propDict["innerError"], "\Beta\Microsoft\Graph\Model\PublicInnerError")) { - 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 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 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 deleted file mode 100644 index f34e4205..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorDetail.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 08d998d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicErrorResponse.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\PublicError")) { - 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 deleted file mode 100644 index e1f74861..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicInnerError.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Beta\Microsoft\Graph\Model\PublicErrorDetail")) { - 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 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 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 deleted file mode 100644 index 88ab5d71..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublicationFacet.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index e239ff7f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PublishedResource.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 The publishingType - */ - public function getPublishingType() - { - if (array_key_exists("publishingType", $this->_propDict)) { - if (is_a($this->_propDict["publishingType"], "\Beta\Microsoft\Graph\Model\OnPremisesPublishingType")) { - 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 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 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 deleted file mode 100644 index 8db31923..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoice.php +++ /dev/null @@ -1,859 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["buyFromAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The dueDate - */ - public function getDueDate() - { - if (array_key_exists("dueDate", $this->_propDict)) { - if (is_a($this->_propDict["dueDate"], "\DateTime")) { - 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 The invoiceDate - */ - public function getInvoiceDate() - { - if (array_key_exists("invoiceDate", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDate"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The payToAddress - */ - public function getPayToAddress() - { - if (array_key_exists("payToAddress", $this->_propDict)) { - if (is_a($this->_propDict["payToAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 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 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 The shipToAddress - */ - public function getShipToAddress() - { - if (array_key_exists("shipToAddress", $this->_propDict)) { - if (is_a($this->_propDict["shipToAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 The totalAmountExcludingTax - */ - public function getTotalAmountExcludingTax() - { - if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalAmountIncludingTax - */ - public function getTotalAmountIncludingTax() - { - if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 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 The vendor - */ - public function getVendor() - { - if (array_key_exists("vendor", $this->_propDict)) { - if (is_a($this->_propDict["vendor"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index f3b06d3b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/PurchaseInvoiceLine.php +++ /dev/null @@ -1,708 +0,0 @@ -_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 The amountExcludingTax - */ - public function getAmountExcludingTax() - { - if (array_key_exists("amountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The amountIncludingTax - */ - public function getAmountIncludingTax() - { - if (array_key_exists("amountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountPercent - */ - public function getDiscountPercent() - { - if (array_key_exists("discountPercent", $this->_propDict)) { - if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The expectedReceiptDate - */ - public function getExpectedReceiptDate() - { - if (array_key_exists("expectedReceiptDate", $this->_propDict)) { - if (is_a($this->_propDict["expectedReceiptDate"], "\DateTime")) { - 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 The invoiceDiscountAllocation - */ - public function getInvoiceDiscountAllocation() - { - if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The netAmount - */ - public function getNetAmount() - { - if (array_key_exists("netAmount", $this->_propDict)) { - if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netAmountIncludingTax - */ - public function getNetAmountIncludingTax() - { - if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netTaxAmount - */ - public function getNetTaxAmount() - { - if (array_key_exists("netTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The quantity - */ - public function getQuantity() - { - if (array_key_exists("quantity", $this->_propDict)) { - if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The taxPercent - */ - public function getTaxPercent() - { - if (array_key_exists("taxPercent", $this->_propDict)) { - if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The unitCost - */ - public function getUnitCost() - { - if (array_key_exists("unitCost", $this->_propDict)) { - if (is_a($this->_propDict["unitCost"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 The item - */ - public function getItem() - { - if (array_key_exists("item", $this->_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 4f04a4a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/QuarantineReason.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 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 The storagePlanInformation - */ - public function getStoragePlanInformation() - { - if (array_key_exists("storagePlanInformation", $this->_propDict)) { - if (is_a($this->_propDict["storagePlanInformation"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 49becdb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RankedEmailAddress.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index d4f48826..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RatingAppsType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 - * - * @return array The roleAssignments - */ - public function getRoleAssignments() - { - if (array_key_exists("roleAssignments", $this->_propDict)) { - return $this->_propDict["roleAssignments"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignments - * - * @param UnifiedRoleAssignment $val The roleAssignments - * - * @return RbacApplication - */ - public function setRoleAssignments($val) - { - $this->_propDict["roleAssignments"] = $val; - return $this; - } - - - /** - * Gets the roleDefinitions - * - * @return array 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 RbacApplication - */ - public function setRoleDefinitions($val) - { - $this->_propDict["roleDefinitions"] = $val; - return $this; - } - - - /** - * Gets the roleAssignmentApprovals - * - * @return array 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 roleAssignmentRequests - * - * @return array The roleAssignmentRequests - */ - public function getRoleAssignmentRequests() - { - if (array_key_exists("roleAssignmentRequests", $this->_propDict)) { - return $this->_propDict["roleAssignmentRequests"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignmentRequests - * - * @param UnifiedRoleAssignmentRequest $val The roleAssignmentRequests - * - * @return RbacApplication - */ - public function setRoleAssignmentRequests($val) - { - $this->_propDict["roleAssignmentRequests"] = $val; - return $this; - } - - - /** - * Gets the roleAssignmentScheduleInstances - * - * @return array The roleAssignmentScheduleInstances - */ - public function getRoleAssignmentScheduleInstances() - { - if (array_key_exists("roleAssignmentScheduleInstances", $this->_propDict)) { - return $this->_propDict["roleAssignmentScheduleInstances"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignmentScheduleInstances - * - * @param UnifiedRoleAssignmentScheduleInstance $val The roleAssignmentScheduleInstances - * - * @return RbacApplication - */ - public function setRoleAssignmentScheduleInstances($val) - { - $this->_propDict["roleAssignmentScheduleInstances"] = $val; - return $this; - } - - - /** - * Gets the roleAssignmentSchedules - * - * @return array The roleAssignmentSchedules - */ - public function getRoleAssignmentSchedules() - { - if (array_key_exists("roleAssignmentSchedules", $this->_propDict)) { - return $this->_propDict["roleAssignmentSchedules"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignmentSchedules - * - * @param UnifiedRoleAssignmentSchedule $val The roleAssignmentSchedules - * - * @return RbacApplication - */ - public function setRoleAssignmentSchedules($val) - { - $this->_propDict["roleAssignmentSchedules"] = $val; - return $this; - } - - - /** - * Gets the roleEligibilityRequests - * - * @return array The roleEligibilityRequests - */ - public function getRoleEligibilityRequests() - { - if (array_key_exists("roleEligibilityRequests", $this->_propDict)) { - return $this->_propDict["roleEligibilityRequests"]; - } else { - return null; - } - } - - /** - * Sets the roleEligibilityRequests - * - * @param UnifiedRoleEligibilityRequest $val The roleEligibilityRequests - * - * @return RbacApplication - */ - public function setRoleEligibilityRequests($val) - { - $this->_propDict["roleEligibilityRequests"] = $val; - return $this; - } - - - /** - * Gets the roleEligibilityScheduleInstances - * - * @return array The roleEligibilityScheduleInstances - */ - public function getRoleEligibilityScheduleInstances() - { - if (array_key_exists("roleEligibilityScheduleInstances", $this->_propDict)) { - return $this->_propDict["roleEligibilityScheduleInstances"]; - } else { - return null; - } - } - - /** - * Sets the roleEligibilityScheduleInstances - * - * @param UnifiedRoleEligibilityScheduleInstance $val The roleEligibilityScheduleInstances - * - * @return RbacApplication - */ - public function setRoleEligibilityScheduleInstances($val) - { - $this->_propDict["roleEligibilityScheduleInstances"] = $val; - return $this; - } - - - /** - * Gets the roleEligibilitySchedules - * - * @return array The roleEligibilitySchedules - */ - public function getRoleEligibilitySchedules() - { - if (array_key_exists("roleEligibilitySchedules", $this->_propDict)) { - return $this->_propDict["roleEligibilitySchedules"]; - } else { - return null; - } - } - - /** - * Sets the roleEligibilitySchedules - * - * @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 deleted file mode 100644 index 8646f4e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RbacApplicationMultiple.php +++ /dev/null @@ -1,111 +0,0 @@ -_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 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 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 deleted file mode 100644 index cd582f56..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebook.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The lastAccessedTime - */ - public function getLastAccessedTime() - { - if (array_key_exists("lastAccessedTime", $this->_propDict)) { - if (is_a($this->_propDict["lastAccessedTime"], "\DateTime")) { - 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Beta\Microsoft\Graph\Model\RecentNotebookLinks")) { - 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 The sourceService - */ - public function getSourceService() - { - if (array_key_exists("sourceService", $this->_propDict)) { - if (is_a($this->_propDict["sourceService"], "\Beta\Microsoft\Graph\Model\OnenoteSourceService")) { - 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 deleted file mode 100644 index 73f57d7b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecentNotebookLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index 781c3a4f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Recipient.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["emailAddress"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 7bd62bbc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecipientScopeType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actions"], "\Beta\Microsoft\Graph\Model\InformationProtectionAction")) { - 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 The actionSource - */ - public function getActionSource() - { - if (array_key_exists("actionSource", $this->_propDict)) { - if (is_a($this->_propDict["actionSource"], "\Beta\Microsoft\Graph\Model\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 The label - */ - public function getLabel() - { - if (array_key_exists("label", $this->_propDict)) { - if (is_a($this->_propDict["label"], "\Beta\Microsoft\Graph\Model\LabelDetails")) { - 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 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/RecordCompletionReason.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordCompletionReason.php deleted file mode 100644 index 3e929871..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordCompletionReason.php +++ /dev/null @@ -1,41 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completionReason"], "\Beta\Microsoft\Graph\Model\RecordCompletionReason")) { - 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 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 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 deleted file mode 100644 index 942c2dc2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingInfo.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["initiatedBy"], "\Beta\Microsoft\Graph\Model\ParticipantInfo")) { - 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 The initiator - */ - public function getInitiator() - { - if (array_key_exists("initiator", $this->_propDict)) { - if (is_a($this->_propDict["initiator"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The recordingStatus - */ - public function getRecordingStatus() - { - if (array_key_exists("recordingStatus", $this->_propDict)) { - if (is_a($this->_propDict["recordingStatus"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 6cdfb616..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecordingStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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. 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 The daysOfWeek - */ - public function getDaysOfWeek() - { - if (array_key_exists("daysOfWeek", $this->_propDict)) { - if (is_a($this->_propDict["daysOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek")) { - 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. 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. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. - * - * @return DayOfWeek The firstDayOfWeek - */ - public function getFirstDayOfWeek() - { - if (array_key_exists("firstDayOfWeek", $this->_propDict)) { - if (is_a($this->_propDict["firstDayOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek")) { - 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. 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 daysOfsWeek the event occurs, counted from the first instance in the month. Possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. - * - * @return WeekIndex The index - */ - public function getIndex() - { - if (array_key_exists("index", $this->_propDict)) { - if (is_a($this->_propDict["index"], "\Beta\Microsoft\Graph\Model\WeekIndex")) { - 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 daysOfsWeek the event occurs, counted from the first instance in the month. 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 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 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. - * - * @return RecurrencePatternType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\RecurrencePatternType")) { - 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. - * - * @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 deleted file mode 100644 index 04c8f315..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrencePatternType.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDate"], "\DateTime")) { - 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 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 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 The startDate - */ - public function getStartDate() - { - if (array_key_exists("startDate", $this->_propDict)) { - if (is_a($this->_propDict["startDate"], "\DateTime")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\RecurrenceRangeType")) { - 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 deleted file mode 100644 index 6d04cf87..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RecurrenceRangeType.php +++ /dev/null @@ -1,35 +0,0 @@ -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 The configurations - */ - public function getConfigurations() - { - if (array_key_exists("configurations", $this->_propDict)) { - if (is_a($this->_propDict["configurations"], "\Beta\Microsoft\Graph\Model\KeyTypedValuePair")) { - 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 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 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 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/ReferenceAttachment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachment.php deleted file mode 100644 index 71fbdcf8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachment.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 The permission - */ - public function getPermission() - { - if (array_key_exists("permission", $this->_propDict)) { - if (is_a($this->_propDict["permission"], "\Beta\Microsoft\Graph\Model\ReferenceAttachmentPermission")) { - 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 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 The providerType - */ - public function getProviderType() - { - if (array_key_exists("providerType", $this->_propDict)) { - if (is_a($this->_propDict["providerType"], "\Beta\Microsoft\Graph\Model\ReferenceAttachmentProvider")) { - 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 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 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 deleted file mode 100644 index a93bf044..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReferenceAttachmentPermission.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 deleted file mode 100644 index beb14c04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalAndLanguageSettings.php +++ /dev/null @@ -1,255 +0,0 @@ -_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 The defaultDisplayLanguage - */ - public function getDefaultDisplayLanguage() - { - if (array_key_exists("defaultDisplayLanguage", $this->_propDict)) { - if (is_a($this->_propDict["defaultDisplayLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 The defaultRegionalFormat - */ - public function getDefaultRegionalFormat() - { - if (array_key_exists("defaultRegionalFormat", $this->_propDict)) { - if (is_a($this->_propDict["defaultRegionalFormat"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 The defaultSpeechInputLanguage - */ - public function getDefaultSpeechInputLanguage() - { - if (array_key_exists("defaultSpeechInputLanguage", $this->_propDict)) { - if (is_a($this->_propDict["defaultSpeechInputLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 The defaultTranslationLanguage - */ - public function getDefaultTranslationLanguage() - { - if (array_key_exists("defaultTranslationLanguage", $this->_propDict)) { - if (is_a($this->_propDict["defaultTranslationLanguage"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 The regionalFormatOverrides - */ - public function getRegionalFormatOverrides() - { - if (array_key_exists("regionalFormatOverrides", $this->_propDict)) { - if (is_a($this->_propDict["regionalFormatOverrides"], "\Beta\Microsoft\Graph\Model\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 The translationPreferences - */ - public function getTranslationPreferences() - { - if (array_key_exists("translationPreferences", $this->_propDict)) { - if (is_a($this->_propDict["translationPreferences"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 2d0e8e0e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegionalFormatOverrides.php +++ /dev/null @@ -1,222 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index ee36352b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistrationAuthMethod.php +++ /dev/null @@ -1,42 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hive"], "\Beta\Microsoft\Graph\Model\RegistryHive")) { - 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 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 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 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 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 The operation - */ - public function getOperation() - { - if (array_key_exists("operation", $this->_propDict)) { - if (is_a($this->_propDict["operation"], "\Beta\Microsoft\Graph\Model\RegistryOperation")) { - 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 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 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 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 The valueType - */ - public function getValueType() - { - if (array_key_exists("valueType", $this->_propDict)) { - if (is_a($this->_propDict["valueType"], "\Beta\Microsoft\Graph\Model\RegistryValueType")) { - 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 deleted file mode 100644 index 85ad6a86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RegistryOperation.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reason"], "\Beta\Microsoft\Graph\Model\RejectReason")) { - 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 deleted file mode 100644 index 579d6f6c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RejectReason.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 - * Identity of the contact within Azure Active Directory. - * - * @return string The id - */ - public function getId() - { - if (array_key_exists("id", $this->_propDict)) { - return $this->_propDict["id"]; - } else { - return null; - } - } - - /** - * Sets the id - * Identity of the contact within Azure Active Directory. - * - * @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 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 The relationship - */ - public function getRelationship() - { - if (array_key_exists("relationship", $this->_propDict)) { - if (is_a($this->_propDict["relationship"], "\Beta\Microsoft\Graph\Model\ContactRelationship")) { - 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 deleted file mode 100644 index 907ebf33..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelatedPerson.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The relationship - */ - public function getRelationship() - { - if (array_key_exists("relationship", $this->_propDict)) { - if (is_a($this->_propDict["relationship"], "\Beta\Microsoft\Graph\Model\PersonRelationship")) { - 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 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 deleted file mode 100644 index 5f36af86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RelyingPartyDetailedSummary.php +++ /dev/null @@ -1,351 +0,0 @@ -_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 The migrationStatus - */ - public function getMigrationStatus() - { - if (array_key_exists("migrationStatus", $this->_propDict)) { - if (is_a($this->_propDict["migrationStatus"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the successfulSignInCount - * Number of successful sign ins on Active Directory Federation Service. - * - * @return int 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 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 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 deleted file mode 100644 index d0b911ca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemediationState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The eventEndTime - */ - public function getEventEndTime() - { - if (array_key_exists("eventEndTime", $this->_propDict)) { - if (is_a($this->_propDict["eventEndTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 The eventLocation - */ - public function getEventLocation() - { - if (array_key_exists("eventLocation", $this->_propDict)) { - if (is_a($this->_propDict["eventLocation"], "\Beta\Microsoft\Graph\Model\Location")) { - 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 The eventStartTime - */ - public function getEventStartTime() - { - if (array_key_exists("eventStartTime", $this->_propDict)) { - if (is_a($this->_propDict["eventStartTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 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 The reminderFireTime - */ - public function getReminderFireTime() - { - if (array_key_exists("reminderFireTime", $this->_propDict)) { - if (is_a($this->_propDict["reminderFireTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index 04c3b076..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAction.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\RemoteAction")) { - 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. - * - * @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 The actionState - */ - public function getActionState() - { - if (array_key_exists("actionState", $this->_propDict)) { - if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 The requestDateTime - */ - public function getRequestDateTime() - { - if (array_key_exists("requestDateTime", $this->_propDict)) { - if (is_a($this->_propDict["requestDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index c62a46d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteAssistanceOnboardingStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The lastConnectionDateTime - */ - public function getLastConnectionDateTime() - { - if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime")) { - 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 The onboardingRequestExpiryDateTime - */ - public function getOnboardingRequestExpiryDateTime() - { - if (array_key_exists("onboardingRequestExpiryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onboardingRequestExpiryDateTime"], "\DateTime")) { - 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 The onboardingStatus - */ - public function getOnboardingStatus() - { - if (array_key_exists("onboardingStatus", $this->_propDict)) { - if (is_a($this->_propDict["onboardingStatus"], "\Beta\Microsoft\Graph\Model\RemoteAssistanceOnboardingStatus")) { - 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 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/RemoteItem.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteItem.php deleted file mode 100644 index 2dc91316..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteItem.php +++ /dev/null @@ -1,628 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\Beta\Microsoft\Graph\Model\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 The fileSystemInfo - */ - public function getFileSystemInfo() - { - if (array_key_exists("fileSystemInfo", $this->_propDict)) { - if (is_a($this->_propDict["fileSystemInfo"], "\Beta\Microsoft\Graph\Model\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 The folder - */ - public function getFolder() - { - if (array_key_exists("folder", $this->_propDict)) { - if (is_a($this->_propDict["folder"], "\Beta\Microsoft\Graph\Model\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 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 The image - */ - public function getImage() - { - if (array_key_exists("image", $this->_propDict)) { - if (is_a($this->_propDict["image"], "\Beta\Microsoft\Graph\Model\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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The package - */ - public function getPackage() - { - if (array_key_exists("package", $this->_propDict)) { - if (is_a($this->_propDict["package"], "\Beta\Microsoft\Graph\Model\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 The parentReference - */ - public function getParentReference() - { - if (array_key_exists("parentReference", $this->_propDict)) { - if (is_a($this->_propDict["parentReference"], "\Beta\Microsoft\Graph\Model\ItemReference")) { - 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 The shared - */ - public function getShared() - { - if (array_key_exists("shared", $this->_propDict)) { - if (is_a($this->_propDict["shared"], "\Beta\Microsoft\Graph\Model\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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\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 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 The specialFolder - */ - public function getSpecialFolder() - { - if (array_key_exists("specialFolder", $this->_propDict)) { - if (is_a($this->_propDict["specialFolder"], "\Beta\Microsoft\Graph\Model\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 The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - if (is_a($this->_propDict["video"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 55b31459..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoteLockActionResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 65640333..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveAccessApplyAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index b0f7a2d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveContentHeaderAction.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 88093b1b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RemoveProtectionAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index 8da88387..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RenameAction.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index afd70e9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReplyRestriction.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 0d134701..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReportRoot.php +++ /dev/null @@ -1,366 +0,0 @@ -_propDict)) { - return $this->_propDict["applicationSignInDetailedSummary"]; - } else { - return null; - } - } - - /** - * Sets the applicationSignInDetailedSummary - * - * @param ApplicationSignInDetailedSummary $val The applicationSignInDetailedSummary - * - * @return ReportRoot - */ - public function setApplicationSignInDetailedSummary($val) - { - $this->_propDict["applicationSignInDetailedSummary"] = $val; - return $this; - } - - /** - * Gets the authenticationMethods - * - * @return AuthenticationMethodsRoot The authenticationMethods - */ - public function getAuthenticationMethods() - { - if (array_key_exists("authenticationMethods", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethods"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodsRoot")) { - return $this->_propDict["authenticationMethods"]; - } else { - $this->_propDict["authenticationMethods"] = new AuthenticationMethodsRoot($this->_propDict["authenticationMethods"]); - return $this->_propDict["authenticationMethods"]; - } - } - return null; - } - - /** - * Sets the authenticationMethods - * - * @param AuthenticationMethodsRoot $val The authenticationMethods - * - * @return ReportRoot - */ - public function setAuthenticationMethods($val) - { - $this->_propDict["authenticationMethods"] = $val; - return $this; - } - - - /** - * Gets the credentialUserRegistrationDetails - * - * @return array The credentialUserRegistrationDetails - */ - public function getCredentialUserRegistrationDetails() - { - if (array_key_exists("credentialUserRegistrationDetails", $this->_propDict)) { - return $this->_propDict["credentialUserRegistrationDetails"]; - } else { - return null; - } - } - - /** - * Sets the credentialUserRegistrationDetails - * - * @param CredentialUserRegistrationDetails $val The credentialUserRegistrationDetails - * - * @return ReportRoot - */ - public function setCredentialUserRegistrationDetails($val) - { - $this->_propDict["credentialUserRegistrationDetails"] = $val; - return $this; - } - - - /** - * Gets the userCredentialUsageDetails - * - * @return array The userCredentialUsageDetails - */ - public function getUserCredentialUsageDetails() - { - if (array_key_exists("userCredentialUsageDetails", $this->_propDict)) { - return $this->_propDict["userCredentialUsageDetails"]; - } else { - return null; - } - } - - /** - * Sets the userCredentialUsageDetails - * - * @param UserCredentialUsageDetails $val The userCredentialUsageDetails - * - * @return ReportRoot - */ - public function setUserCredentialUsageDetails($val) - { - $this->_propDict["userCredentialUsageDetails"] = $val; - return $this; - } - - - /** - * Gets the dailyPrintUsageByPrinter - * - * @return array 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 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 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 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 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 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 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 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 deleted file mode 100644 index 59fe9318..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ReputationCategory.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0f4c0cd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Request.php +++ /dev/null @@ -1,201 +0,0 @@ -_propDict)) { - return $this->_propDict["approvalId"]; - } else { - return null; - } - } - - /** - * Sets the approvalId - * - * @param string $val The approvalId - * - * @return Request - */ - public function setApprovalId($val) - { - $this->_propDict["approvalId"] = $val; - return $this; - } - - /** - * Gets the completedDateTime - * - * @return \DateTime The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 Request - */ - public function setCompletedDateTime($val) - { - $this->_propDict["completedDateTime"] = $val; - return $this; - } - - /** - * Gets the createdBy - * - * @return IdentitySet The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 Request - */ - public function setCreatedBy($val) - { - $this->_propDict["createdBy"] = $val; - return $this; - } - - /** - * Gets the createdDateTime - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 Request - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the customData - * - * @return string The customData - */ - public function getCustomData() - { - if (array_key_exists("customData", $this->_propDict)) { - return $this->_propDict["customData"]; - } else { - return null; - } - } - - /** - * Sets the customData - * - * @param string $val The customData - * - * @return Request - */ - public function setCustomData($val) - { - $this->_propDict["customData"] = $val; - return $this; - } - - /** - * Gets the status - * - * @return string 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 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 deleted file mode 100644 index 10a63ec0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestSchedule.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expiration"], "\Beta\Microsoft\Graph\Model\ExpirationPattern")) { - 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 The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index ea6741a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorManager.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 87f82716..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequestorSettings.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The allowedRequestors - */ - public function getAllowedRequestors() - { - if (array_key_exists("allowedRequestors", $this->_propDict)) { - if (is_a($this->_propDict["allowedRequestors"], "\Beta\Microsoft\Graph\Model\UserSet")) { - 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 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 deleted file mode 100644 index 790732b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequiredPasswordType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["resourceAccess"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 171cce95..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RequirementProvider.php +++ /dev/null @@ -1,53 +0,0 @@ -_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 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 deleted file mode 100644 index e011d210..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAccess.php +++ /dev/null @@ -1,82 +0,0 @@ -_propDict)) { - return $this->_propDict["id"]; - } else { - return null; - } - } - - /** - * Sets the id - * The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes. - * - * @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 an oauth2PermissionScopes or an appRole. Possible values are Scope or Role. - * - * @return string 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 an oauth2PermissionScopes or an appRole. Possible values are Scope or Role. - * - * @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 deleted file mode 100644 index b5ea99fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceAction.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 5bb9b019..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceData.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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. - * - * @return bool 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. - * - * @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. - * - * @return string 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. - * - * @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 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 deleted file mode 100644 index a16a25ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourcePermission.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index affb6b09..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceReference.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index ed9f3d6c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermission.php +++ /dev/null @@ -1,156 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * - * @param string $val The value of the description - * - * @return ResourceSpecificPermission - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - /** - * Gets the displayName - * - * @return string 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 ResourceSpecificPermission - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - /** - * Gets the id - * - * @return string 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 ResourceSpecificPermission - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - /** - * Gets the isEnabled - * - * @return bool 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 ResourceSpecificPermission - */ - public function setIsEnabled($val) - { - $this->_propDict["isEnabled"] = $val; - return $this; - } - /** - * Gets the value - * - * @return string 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 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 deleted file mode 100644 index c51adc2e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceSpecificPermissionGrant.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 permission. Read-only. - * - * @return string 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 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 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 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 deleted file mode 100644 index 613fd846..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResourceVisualization.php +++ /dev/null @@ -1,250 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index 472e34ed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseStatus.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["response"], "\Beta\Microsoft\Graph\Model\ResponseType")) { - 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. - * - * @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 The time - */ - public function getTime() - { - if (array_key_exists("time", $this->_propDict)) { - if (is_a($this->_propDict["time"], "\DateTime")) { - 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 deleted file mode 100644 index 0d7d8e69..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponseType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 deleted file mode 100644 index c664cea0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResponsibleSensitiveType.php +++ /dev/null @@ -1,182 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index eb8eea74..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestoreAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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, all. - * - * @return PolicyPlatformType The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Beta\Microsoft\Graph\Model\PolicyPlatformType")) { - 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, 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 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 The restrictedAppsState - */ - public function getRestrictedAppsState() - { - if (array_key_exists("restrictedAppsState", $this->_propDict)) { - if (is_a($this->_propDict["restrictedAppsState"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 7936c6c8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictedSignIn.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 89c615df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RestrictionAction.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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/ResultantAppState.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultantAppState.php deleted file mode 100644 index 2e0185d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ResultantAppState.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceState"], "\Beta\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 The deviceType - */ - public function getDeviceType() - { - if (array_key_exists("deviceType", $this->_propDict)) { - if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The managementAgent - */ - public function getManagementAgent() - { - if (array_key_exists("managementAgent", $this->_propDict)) { - if (is_a($this->_propDict["managementAgent"], "\Beta\Microsoft\Graph\Model\ManagementAgentType")) { - 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 The ownerType - */ - public function getOwnerType() - { - if (array_key_exists("ownerType", $this->_propDict)) { - if (is_a($this->_propDict["ownerType"], "\Beta\Microsoft\Graph\Model\ManagedDeviceOwnerType")) { - 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 The retireAfterDateTime - */ - public function getRetireAfterDateTime() - { - if (array_key_exists("retireAfterDateTime", $this->_propDict)) { - if (is_a($this->_propDict["retireAfterDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index b2e5149d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RevokeAppleVppLicensesActionResult.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index ad64be46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RgbColor.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["b"], "\Beta\Microsoft\Graph\Model\Byte")) { - 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 The g - */ - public function getG() - { - if (array_key_exists("g", $this->_propDict)) { - if (is_a($this->_propDict["g"], "\Beta\Microsoft\Graph\Model\Byte")) { - 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 The r - */ - public function getR() - { - if (array_key_exists("r", $this->_propDict)) { - if (is_a($this->_propDict["r"], "\Beta\Microsoft\Graph\Model\Byte")) { - 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/RiskDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetail.php deleted file mode 100644 index 6141eb93..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetail.php +++ /dev/null @@ -1,44 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\ActivityType")) { - 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 The activityDateTime - */ - public function getActivityDateTime() - { - if (array_key_exists("activityDateTime", $this->_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 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 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 The detectedDateTime - */ - public function getDetectedDateTime() - { - if (array_key_exists("detectedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["detectedDateTime"], "\DateTime")) { - 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 The detectionTimingType - */ - public function getDetectionTimingType() - { - if (array_key_exists("detectionTimingType", $this->_propDict)) { - if (is_a($this->_propDict["detectionTimingType"], "\Beta\Microsoft\Graph\Model\RiskDetectionTimingType")) { - 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 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\SignInLocation")) { - 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 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 The riskDetail - */ - public function getRiskDetail() - { - if (array_key_exists("riskDetail", $this->_propDict)) { - if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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 The riskLevel - */ - public function getRiskLevel() - { - if (array_key_exists("riskLevel", $this->_propDict)) { - if (is_a($this->_propDict["riskLevel"], "\Beta\Microsoft\Graph\Model\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 The riskState - */ - public function getRiskState() - { - if (array_key_exists("riskState", $this->_propDict)) { - if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\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 - * List of risk event types.Note: This property is deprecated. Use riskEventType instead. - * - * @return RiskEventType The riskType - */ - public function getRiskType() - { - if (array_key_exists("riskType", $this->_propDict)) { - if (is_a($this->_propDict["riskType"], "\Beta\Microsoft\Graph\Model\RiskEventType")) { - return $this->_propDict["riskType"]; - } else { - $this->_propDict["riskType"] = new RiskEventType($this->_propDict["riskType"]); - return $this->_propDict["riskType"]; - } - } - return null; - } - - /** - * Sets the riskType - * List of risk event types.Note: This property is deprecated. Use riskEventType instead. - * - * @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 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 The tokenIssuerType - */ - public function getTokenIssuerType() - { - if (array_key_exists("tokenIssuerType", $this->_propDict)) { - if (is_a($this->_propDict["tokenIssuerType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 deleted file mode 100644 index f1bfd222..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskDetectionTimingType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\RiskDetail")) { - 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 - * List of risk event types. Deprecated. Use riskEventType instead. - * - * @return RiskEventType The eventTypes - */ - public function getEventTypes() - { - if (array_key_exists("eventTypes", $this->_propDict)) { - if (is_a($this->_propDict["eventTypes"], "\Beta\Microsoft\Graph\Model\RiskEventType")) { - return $this->_propDict["eventTypes"]; - } else { - $this->_propDict["eventTypes"] = new RiskEventType($this->_propDict["eventTypes"]); - return $this->_propDict["eventTypes"]; - } - } - return null; - } - - /** - * Sets the eventTypes - * List of risk event types. Deprecated. Use riskEventType instead. - * - * @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 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/RiskyUser.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUser.php deleted file mode 100644 index a9ce8ae4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUser.php +++ /dev/null @@ -1,305 +0,0 @@ -_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 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 The riskDetail - */ - public function getRiskDetail() - { - if (array_key_exists("riskDetail", $this->_propDict)) { - if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\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 would look like this: 2014-01-01T00:00:00Z - * - * @return \DateTime The riskLastUpdatedDateTime - */ - public function getRiskLastUpdatedDateTime() - { - if (array_key_exists("riskLastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["riskLastUpdatedDateTime"], "\DateTime")) { - 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 would look like this: 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 The riskLevel - */ - public function getRiskLevel() - { - if (array_key_exists("riskLevel", $this->_propDict)) { - if (is_a($this->_propDict["riskLevel"], "\Beta\Microsoft\Graph\Model\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 The riskState - */ - public function getRiskState() - { - if (array_key_exists("riskState", $this->_propDict)) { - if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\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 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 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 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 deleted file mode 100644 index 895496ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RiskyUserHistoryItem.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activity"], "\Beta\Microsoft\Graph\Model\RiskUserActivity")) { - 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 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 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 deleted file mode 100644 index c933c9c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignment.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 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 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 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 The scopeType - */ - public function getScopeType() - { - if (array_key_exists("scopeType", $this->_propDict)) { - if (is_a($this->_propDict["scopeType"], "\Beta\Microsoft\Graph\Model\RoleAssignmentScopeType")) { - 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 The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\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/RoleAssignmentRequestFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignmentRequestFilterByCurrentUserOptions.php deleted file mode 100644 index 7466cab1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleAssignmentRequestFilterByCurrentUserOptions.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 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 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/RoleEligibilityRequestFilterByCurrentUserOptions.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleEligibilityRequestFilterByCurrentUserOptions.php deleted file mode 100644 index d74a8e94..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleEligibilityRequestFilterByCurrentUserOptions.php +++ /dev/null @@ -1,36 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new RoleManagement - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the RoleManagement - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - /** - * Gets the directory - * - * @return RbacApplication The directory - */ - public function getDirectory() - { - if (array_key_exists("directory", $this->_propDict)) { - if (is_a($this->_propDict["directory"], "\Beta\Microsoft\Graph\Model\RbacApplication")) { - return $this->_propDict["directory"]; - } else { - $this->_propDict["directory"] = new RbacApplication($this->_propDict["directory"]); - return $this->_propDict["directory"]; - } - } - return null; - } - - /** - * Sets the directory - * - * @param RbacApplication $val The directory - * - * @return RoleManagement - */ - public function setDirectory($val) - { - $this->_propDict["directory"] = $val; - return $this; - } - - /** - * Gets the entitlementManagement - * The RbacApplication for Entitlement Management - * - * @return RbacApplication The entitlementManagement - */ - public function getEntitlementManagement() - { - if (array_key_exists("entitlementManagement", $this->_propDict)) { - if (is_a($this->_propDict["entitlementManagement"], "\Beta\Microsoft\Graph\Model\RbacApplication")) { - return $this->_propDict["entitlementManagement"]; - } else { - $this->_propDict["entitlementManagement"] = new RbacApplication($this->_propDict["entitlementManagement"]); - return $this->_propDict["entitlementManagement"]; - } - } - return null; - } - - /** - * Sets the entitlementManagement - * The RbacApplication for Entitlement Management - * - * @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 The deviceManagement - */ - public function getDeviceManagement() - { - if (array_key_exists("deviceManagement", $this->_propDict)) { - if (is_a($this->_propDict["deviceManagement"], "\Beta\Microsoft\Graph\Model\RbacApplicationMultiple")) { - 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index 1452dc6d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleMembershipGovernanceCriteria.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 0e3945a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RolePermission.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The resourceActions - */ - public function getResourceActions() - { - if (array_key_exists("resourceActions", $this->_propDict)) { - if (is_a($this->_propDict["resourceActions"], "\Beta\Microsoft\Graph\Model\ResourceAction")) { - 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 deleted file mode 100644 index ff940c1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTag.php +++ /dev/null @@ -1,144 +0,0 @@ -_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 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. - * - * @return bool 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. - * - * @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 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 deleted file mode 100644 index ea6d1947..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagAutoAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 09f132ee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleScopeTagInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 7bd769fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSuccessStatistics.php +++ /dev/null @@ -1,260 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 329cba84..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleSummaryStatus.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The bookingType - */ - public function getBookingType() - { - if (array_key_exists("bookingType", $this->_propDict)) { - if (is_a($this->_propDict["bookingType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 1ab76610..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoomList.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index 7b7475e6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Root.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index 1b12059e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoutingMode.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 deleted file mode 100644 index 89c8a2be..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricLevel.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 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 The grading - */ - public function getGrading() - { - if (array_key_exists("grading", $this->_propDict)) { - if (is_a($this->_propDict["grading"], "\Beta\Microsoft\Graph\Model\EducationAssignmentGradeType")) { - 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 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 deleted file mode 100644 index 6e33977b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQuality.php +++ /dev/null @@ -1,181 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["criteria"], "\Beta\Microsoft\Graph\Model\RubricCriterion")) { - 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 The description - */ - public function getDescription() - { - if (array_key_exists("description", $this->_propDict)) { - if (is_a($this->_propDict["description"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 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 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 Single The weight - */ - public function getWeight() - { - if (array_key_exists("weight", $this->_propDict)) { - if (is_a($this->_propDict["weight"], "\Beta\Microsoft\Graph\Model\Single")) { - return $this->_propDict["weight"]; - } else { - $this->_propDict["weight"] = new Single($this->_propDict["weight"]); - return $this->_propDict["weight"]; - } - } - return null; - } - - /** - * Sets the weight - * If present, a numerical weight for this quality. Weights must add up to 100. - * - * @param Single $val The value to assign to the weight - * - * @return RubricQuality The 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 deleted file mode 100644 index 3b04c955..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualityFeedbackModel.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["feedback"], "\Beta\Microsoft\Graph\Model\EducationItemBody")) { - 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 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 deleted file mode 100644 index a2a389cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RubricQualitySelectedColumnModel.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1c34594e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RuleMode.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 The creditMemoDate - */ - public function getCreditMemoDate() - { - if (array_key_exists("creditMemoDate", $this->_propDict)) { - if (is_a($this->_propDict["creditMemoDate"], "\DateTime")) { - 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 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 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 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 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The dueDate - */ - public function getDueDate() - { - if (array_key_exists("dueDate", $this->_propDict)) { - if (is_a($this->_propDict["dueDate"], "\DateTime")) { - 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The sellingPostalAddress - */ - public function getSellingPostalAddress() - { - if (array_key_exists("sellingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 The totalAmountExcludingTax - */ - public function getTotalAmountExcludingTax() - { - if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalAmountIncludingTax - */ - public function getTotalAmountIncludingTax() - { - if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 The customer - */ - public function getCustomer() - { - if (array_key_exists("customer", $this->_propDict)) { - if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\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 The paymentTerm - */ - public function getPaymentTerm() - { - if (array_key_exists("paymentTerm", $this->_propDict)) { - if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 7cbce83a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesCreditMemoLine.php +++ /dev/null @@ -1,735 +0,0 @@ -_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 The amountExcludingTax - */ - public function getAmountExcludingTax() - { - if (array_key_exists("amountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The amountIncludingTax - */ - public function getAmountIncludingTax() - { - if (array_key_exists("amountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountPercent - */ - public function getDiscountPercent() - { - if (array_key_exists("discountPercent", $this->_propDict)) { - if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The invoiceDiscountAllocation - */ - public function getInvoiceDiscountAllocation() - { - if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The netAmount - */ - public function getNetAmount() - { - if (array_key_exists("netAmount", $this->_propDict)) { - if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netAmountIncludingTax - */ - public function getNetAmountIncludingTax() - { - if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netTaxAmount - */ - public function getNetTaxAmount() - { - if (array_key_exists("netTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The quantity - */ - public function getQuantity() - { - if (array_key_exists("quantity", $this->_propDict)) { - if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The shipmentDate - */ - public function getShipmentDate() - { - if (array_key_exists("shipmentDate", $this->_propDict)) { - if (is_a($this->_propDict["shipmentDate"], "\DateTime")) { - 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 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 The taxPercent - */ - public function getTaxPercent() - { - if (array_key_exists("taxPercent", $this->_propDict)) { - if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The unitPrice - */ - public function getUnitPrice() - { - if (array_key_exists("unitPrice", $this->_propDict)) { - if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 The item - */ - public function getItem() - { - if (array_key_exists("item", $this->_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 44fcdf18..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoice.php +++ /dev/null @@ -1,1110 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 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 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 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 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 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The dueDate - */ - public function getDueDate() - { - if (array_key_exists("dueDate", $this->_propDict)) { - if (is_a($this->_propDict["dueDate"], "\DateTime")) { - 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 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 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 The invoiceDate - */ - public function getInvoiceDate() - { - if (array_key_exists("invoiceDate", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDate"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The sellingPostalAddress - */ - public function getSellingPostalAddress() - { - if (array_key_exists("sellingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 The shippingPostalAddress - */ - public function getShippingPostalAddress() - { - if (array_key_exists("shippingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["shippingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 The totalAmountExcludingTax - */ - public function getTotalAmountExcludingTax() - { - if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalAmountIncludingTax - */ - public function getTotalAmountIncludingTax() - { - if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 The customer - */ - public function getCustomer() - { - if (array_key_exists("customer", $this->_propDict)) { - if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\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 The paymentTerm - */ - public function getPaymentTerm() - { - if (array_key_exists("paymentTerm", $this->_propDict)) { - if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\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 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 The shipmentMethod - */ - public function getShipmentMethod() - { - if (array_key_exists("shipmentMethod", $this->_propDict)) { - if (is_a($this->_propDict["shipmentMethod"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 42495802..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesInvoiceLine.php +++ /dev/null @@ -1,735 +0,0 @@ -_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 The amountExcludingTax - */ - public function getAmountExcludingTax() - { - if (array_key_exists("amountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The amountIncludingTax - */ - public function getAmountIncludingTax() - { - if (array_key_exists("amountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountPercent - */ - public function getDiscountPercent() - { - if (array_key_exists("discountPercent", $this->_propDict)) { - if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The invoiceDiscountAllocation - */ - public function getInvoiceDiscountAllocation() - { - if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The netAmount - */ - public function getNetAmount() - { - if (array_key_exists("netAmount", $this->_propDict)) { - if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netAmountIncludingTax - */ - public function getNetAmountIncludingTax() - { - if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netTaxAmount - */ - public function getNetTaxAmount() - { - if (array_key_exists("netTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The quantity - */ - public function getQuantity() - { - if (array_key_exists("quantity", $this->_propDict)) { - if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The shipmentDate - */ - public function getShipmentDate() - { - if (array_key_exists("shipmentDate", $this->_propDict)) { - if (is_a($this->_propDict["shipmentDate"], "\DateTime")) { - 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 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 The taxPercent - */ - public function getTaxPercent() - { - if (array_key_exists("taxPercent", $this->_propDict)) { - if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The unitPrice - */ - public function getUnitPrice() - { - if (array_key_exists("unitPrice", $this->_propDict)) { - if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 The item - */ - public function getItem() - { - if (array_key_exists("item", $this->_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 96c30b7d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrder.php +++ /dev/null @@ -1,1025 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 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 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 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 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The orderDate - */ - public function getOrderDate() - { - if (array_key_exists("orderDate", $this->_propDict)) { - if (is_a($this->_propDict["orderDate"], "\DateTime")) { - 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 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 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 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 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 The requestedDeliveryDate - */ - public function getRequestedDeliveryDate() - { - if (array_key_exists("requestedDeliveryDate", $this->_propDict)) { - if (is_a($this->_propDict["requestedDeliveryDate"], "\DateTime")) { - 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 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 The sellingPostalAddress - */ - public function getSellingPostalAddress() - { - if (array_key_exists("sellingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 The shippingPostalAddress - */ - public function getShippingPostalAddress() - { - if (array_key_exists("shippingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["shippingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 The totalAmountExcludingTax - */ - public function getTotalAmountExcludingTax() - { - if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalAmountIncludingTax - */ - public function getTotalAmountIncludingTax() - { - if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 The customer - */ - public function getCustomer() - { - if (array_key_exists("customer", $this->_propDict)) { - if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\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 The paymentTerm - */ - public function getPaymentTerm() - { - if (array_key_exists("paymentTerm", $this->_propDict)) { - if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 771859f9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesOrderLine.php +++ /dev/null @@ -1,859 +0,0 @@ -_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 The amountExcludingTax - */ - public function getAmountExcludingTax() - { - if (array_key_exists("amountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The amountIncludingTax - */ - public function getAmountIncludingTax() - { - if (array_key_exists("amountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountPercent - */ - public function getDiscountPercent() - { - if (array_key_exists("discountPercent", $this->_propDict)) { - if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The invoiceDiscountAllocation - */ - public function getInvoiceDiscountAllocation() - { - if (array_key_exists("invoiceDiscountAllocation", $this->_propDict)) { - if (is_a($this->_propDict["invoiceDiscountAllocation"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The invoicedQuantity - */ - public function getInvoicedQuantity() - { - if (array_key_exists("invoicedQuantity", $this->_propDict)) { - if (is_a($this->_propDict["invoicedQuantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The invoiceQuantity - */ - public function getInvoiceQuantity() - { - if (array_key_exists("invoiceQuantity", $this->_propDict)) { - if (is_a($this->_propDict["invoiceQuantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The netAmount - */ - public function getNetAmount() - { - if (array_key_exists("netAmount", $this->_propDict)) { - if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netAmountIncludingTax - */ - public function getNetAmountIncludingTax() - { - if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netTaxAmount - */ - public function getNetTaxAmount() - { - if (array_key_exists("netTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The quantity - */ - public function getQuantity() - { - if (array_key_exists("quantity", $this->_propDict)) { - if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The shipmentDate - */ - public function getShipmentDate() - { - if (array_key_exists("shipmentDate", $this->_propDict)) { - if (is_a($this->_propDict["shipmentDate"], "\DateTime")) { - 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 The shippedQuantity - */ - public function getShippedQuantity() - { - if (array_key_exists("shippedQuantity", $this->_propDict)) { - if (is_a($this->_propDict["shippedQuantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The shipQuantity - */ - public function getShipQuantity() - { - if (array_key_exists("shipQuantity", $this->_propDict)) { - if (is_a($this->_propDict["shipQuantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The taxPercent - */ - public function getTaxPercent() - { - if (array_key_exists("taxPercent", $this->_propDict)) { - if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The unitPrice - */ - public function getUnitPrice() - { - if (array_key_exists("unitPrice", $this->_propDict)) { - if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 The item - */ - public function getItem() - { - if (array_key_exists("item", $this->_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index d4e29db2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuote.php +++ /dev/null @@ -1,1068 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["acceptedDate"], "\DateTime")) { - 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 The billingPostalAddress - */ - public function getBillingPostalAddress() - { - if (array_key_exists("billingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["billingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 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 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 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 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The documentDate - */ - public function getDocumentDate() - { - if (array_key_exists("documentDate", $this->_propDict)) { - if (is_a($this->_propDict["documentDate"], "\DateTime")) { - 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 The dueDate - */ - public function getDueDate() - { - if (array_key_exists("dueDate", $this->_propDict)) { - if (is_a($this->_propDict["dueDate"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 The sellingPostalAddress - */ - public function getSellingPostalAddress() - { - if (array_key_exists("sellingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["sellingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 The sentDate - */ - public function getSentDate() - { - if (array_key_exists("sentDate", $this->_propDict)) { - if (is_a($this->_propDict["sentDate"], "\DateTime")) { - 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 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 The shippingPostalAddress - */ - public function getShippingPostalAddress() - { - if (array_key_exists("shippingPostalAddress", $this->_propDict)) { - if (is_a($this->_propDict["shippingPostalAddress"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 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 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 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 The totalAmountExcludingTax - */ - public function getTotalAmountExcludingTax() - { - if (array_key_exists("totalAmountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalAmountIncludingTax - */ - public function getTotalAmountIncludingTax() - { - if (array_key_exists("totalAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["totalAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The validUntilDate - */ - public function getValidUntilDate() - { - if (array_key_exists("validUntilDate", $this->_propDict)) { - if (is_a($this->_propDict["validUntilDate"], "\DateTime")) { - 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 The customer - */ - public function getCustomer() - { - if (array_key_exists("customer", $this->_propDict)) { - if (is_a($this->_propDict["customer"], "\Beta\Microsoft\Graph\Model\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 The paymentTerm - */ - public function getPaymentTerm() - { - if (array_key_exists("paymentTerm", $this->_propDict)) { - if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\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 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 The shipmentMethod - */ - public function getShipmentMethod() - { - if (array_key_exists("shipmentMethod", $this->_propDict)) { - if (is_a($this->_propDict["shipmentMethod"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 38e8ed93..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SalesQuoteLine.php +++ /dev/null @@ -1,673 +0,0 @@ -_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 The amountExcludingTax - */ - public function getAmountExcludingTax() - { - if (array_key_exists("amountExcludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountExcludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The amountIncludingTax - */ - public function getAmountIncludingTax() - { - if (array_key_exists("amountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["amountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountAmount - */ - public function getDiscountAmount() - { - if (array_key_exists("discountAmount", $this->_propDict)) { - if (is_a($this->_propDict["discountAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The discountPercent - */ - public function getDiscountPercent() - { - if (array_key_exists("discountPercent", $this->_propDict)) { - if (is_a($this->_propDict["discountPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 The netAmount - */ - public function getNetAmount() - { - if (array_key_exists("netAmount", $this->_propDict)) { - if (is_a($this->_propDict["netAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netAmountIncludingTax - */ - public function getNetAmountIncludingTax() - { - if (array_key_exists("netAmountIncludingTax", $this->_propDict)) { - if (is_a($this->_propDict["netAmountIncludingTax"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The netTaxAmount - */ - public function getNetTaxAmount() - { - if (array_key_exists("netTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["netTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The quantity - */ - public function getQuantity() - { - if (array_key_exists("quantity", $this->_propDict)) { - if (is_a($this->_propDict["quantity"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 The taxPercent - */ - public function getTaxPercent() - { - if (array_key_exists("taxPercent", $this->_propDict)) { - if (is_a($this->_propDict["taxPercent"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The totalTaxAmount - */ - public function getTotalTaxAmount() - { - if (array_key_exists("totalTaxAmount", $this->_propDict)) { - if (is_a($this->_propDict["totalTaxAmount"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 The unitPrice - */ - public function getUnitPrice() - { - if (array_key_exists("unitPrice", $this->_propDict)) { - if (is_a($this->_propDict["unitPrice"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 The account - */ - public function getAccount() - { - if (array_key_exists("account", $this->_propDict)) { - if (is_a($this->_propDict["account"], "\Beta\Microsoft\Graph\Model\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 The item - */ - public function getItem() - { - if (array_key_exists("item", $this->_propDict)) { - if (is_a($this->_propDict["item"], "\Beta\Microsoft\Graph\Model\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/SamlSingleSignOnSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlSingleSignOnSettings.php deleted file mode 100644 index a043d221..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SamlSingleSignOnSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index bafef3e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schedule.php +++ /dev/null @@ -1,638 +0,0 @@ -_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 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 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 The provisionStatus - */ - public function getProvisionStatus() - { - if (array_key_exists("provisionStatus", $this->_propDict)) { - if (is_a($this->_propDict["provisionStatus"], "\Beta\Microsoft\Graph\Model\OperationStatus")) { - 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 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 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 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 The timeClockSettings - */ - public function getTimeClockSettings() - { - if (array_key_exists("timeClockSettings", $this->_propDict)) { - if (is_a($this->_propDict["timeClockSettings"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 7577d42a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequest.php +++ /dev/null @@ -1,259 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignedTo"], "\Beta\Microsoft\Graph\Model\ScheduleChangeRequestActor")) { - 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 The managerActionDateTime - */ - public function getManagerActionDateTime() - { - if (array_key_exists("managerActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["managerActionDateTime"], "\DateTime")) { - 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 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 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 The senderDateTime - */ - public function getSenderDateTime() - { - if (array_key_exists("senderDateTime", $this->_propDict)) { - if (is_a($this->_propDict["senderDateTime"], "\DateTime")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\ScheduleChangeState")) { - 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 deleted file mode 100644 index 776ee07e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleChangeRequestActor.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The theme - */ - public function getTheme() - { - if (array_key_exists("theme", $this->_propDict)) { - if (is_a($this->_propDict["theme"], "\Beta\Microsoft\Graph\Model\ScheduleEntityTheme")) { - 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 deleted file mode 100644 index 6dcd41d2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleEntityTheme.php +++ /dev/null @@ -1,45 +0,0 @@ -_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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\FreeBusyError")) { - 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 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 The scheduleItems - */ - public function getScheduleItems() - { - if (array_key_exists("scheduleItems", $this->_propDict)) { - if (is_a($this->_propDict["scheduleItems"], "\Beta\Microsoft\Graph\Model\ScheduleItem")) { - 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 The workingHours - */ - public function getWorkingHours() - { - if (array_key_exists("workingHours", $this->_propDict)) { - if (is_a($this->_propDict["workingHours"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 5f89e8aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduleItem.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 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 The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\FreeBusyStatus")) { - 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 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 deleted file mode 100644 index 8b268bcc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScheduledRetireState.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 deleted file mode 100644 index 283dc5c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Schema.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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/Model/SchemaExtension.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SchemaExtension.php deleted file mode 100644 index cda647e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SchemaExtension.php +++ /dev/null @@ -1,173 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * Description for the schema extension. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return string 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. - * - * @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 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 deleted file mode 100644 index a1e9b5af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScopeOperatorMultiValuedComparisonType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 The roleMemberInfo - */ - public function getRoleMemberInfo() - { - if (array_key_exists("roleMemberInfo", $this->_propDict)) { - if (is_a($this->_propDict["roleMemberInfo"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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 deleted file mode 100644 index 96201984..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ScreenSharingRole.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["buckets"], "\Beta\Microsoft\Graph\Model\SearchBucket")) { - 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 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 deleted file mode 100644 index 6ba750bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlteration.php +++ /dev/null @@ -1,109 +0,0 @@ -_propDict)) { - return $this->_propDict["alteredHighlightedQueryString"]; - } else { - return null; - } - } - - /** - * Sets the alteredHighlightedQueryString - * - * @param string $val The value of the alteredHighlightedQueryString - * - * @return SearchAlteration - */ - public function setAlteredHighlightedQueryString($val) - { - $this->_propDict["alteredHighlightedQueryString"] = $val; - return $this; - } - /** - * Gets the alteredQueryString - * - * @return string The alteredQueryString - */ - public function getAlteredQueryString() - { - if (array_key_exists("alteredQueryString", $this->_propDict)) { - return $this->_propDict["alteredQueryString"]; - } else { - return null; - } - } - - /** - * Sets the alteredQueryString - * - * @param string $val The value of the alteredQueryString - * - * @return SearchAlteration - */ - public function setAlteredQueryString($val) - { - $this->_propDict["alteredQueryString"] = $val; - return $this; - } - - /** - * Gets the alteredQueryTokens - * - * @return AlteredQueryToken The alteredQueryTokens - */ - public function getAlteredQueryTokens() - { - if (array_key_exists("alteredQueryTokens", $this->_propDict)) { - if (is_a($this->_propDict["alteredQueryTokens"], "\Beta\Microsoft\Graph\Model\AlteredQueryToken")) { - return $this->_propDict["alteredQueryTokens"]; - } else { - $this->_propDict["alteredQueryTokens"] = new AlteredQueryToken($this->_propDict["alteredQueryTokens"]); - return $this->_propDict["alteredQueryTokens"]; - } - } - return null; - } - - /** - * Sets the alteredQueryTokens - * - * @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 deleted file mode 100644 index da64a829..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationOptions.php +++ /dev/null @@ -1,78 +0,0 @@ -_propDict)) { - return $this->_propDict["enableModification"]; - } else { - return null; - } - } - - /** - * Sets the enableModification - * - * @param bool $val The value of the enableModification - * - * @return SearchAlterationOptions - */ - public function setEnableModification($val) - { - $this->_propDict["enableModification"] = $val; - return $this; - } - /** - * Gets the enableSuggestion - * - * @return bool The enableSuggestion - */ - public function getEnableSuggestion() - { - if (array_key_exists("enableSuggestion", $this->_propDict)) { - return $this->_propDict["enableSuggestion"]; - } else { - return null; - } - } - - /** - * Sets the enableSuggestion - * - * @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 deleted file mode 100644 index 1c3aec6e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchAlterationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 deleted file mode 100644 index 8ccb8286..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchEntity.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 summary - * A summary of the result, if a summary is available. - * - * @return string 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 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 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 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity")) { - 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 The _source - */ - public function get_source() - { - if (array_key_exists("_source", $this->_propDict)) { - if (is_a($this->_propDict["_source"], "\Beta\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index f9747158..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchHitsContainer.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["aggregations"], "\Beta\Microsoft\Graph\Model\SearchAggregation")) { - 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 The hits - */ - public function getHits() - { - if (array_key_exists("hits", $this->_propDict)) { - if (is_a($this->_propDict["hits"], "\Beta\Microsoft\Graph\Model\SearchHit")) { - 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 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 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 deleted file mode 100644 index 80eda424..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQuery.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 query_string - * - * @return SearchQueryString 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")) { - 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 deleted file mode 100644 index 0cf9d8e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchQueryString.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 2a43b381..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchRequest.php +++ /dev/null @@ -1,352 +0,0 @@ -_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 The aggregations - */ - public function getAggregations() - { - if (array_key_exists("aggregations", $this->_propDict)) { - if (is_a($this->_propDict["aggregations"], "\Beta\Microsoft\Graph\Model\AggregationOption")) { - 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 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 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, externalItem. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. - * - * @return EntityType The entityTypes - */ - public function getEntityTypes() - { - if (array_key_exists("entityTypes", $this->_propDict)) { - if (is_a($this->_propDict["entityTypes"], "\Beta\Microsoft\Graph\Model\EntityType")) { - 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, 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 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 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 The query - */ - public function getQuery() - { - if (array_key_exists("query", $this->_propDict)) { - if (is_a($this->_propDict["query"], "\Beta\Microsoft\Graph\Model\SearchQuery")) { - 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 size - * The size of the page to be retrieved. Optional. - * - * @return int 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 The sortProperties - */ - public function getSortProperties() - { - if (array_key_exists("sortProperties", $this->_propDict)) { - if (is_a($this->_propDict["sortProperties"], "\Beta\Microsoft\Graph\Model\SortProperty")) { - 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 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; - } -} 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 deleted file mode 100644 index 802509b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResponse.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["queryAlterationResponse"], "\Beta\Microsoft\Graph\Model\AlterationResponse")) { - return $this->_propDict["queryAlterationResponse"]; - } else { - $this->_propDict["queryAlterationResponse"] = new AlterationResponse($this->_propDict["queryAlterationResponse"]); - return $this->_propDict["queryAlterationResponse"]; - } - } - return null; - } - - /** - * Sets the queryAlterationResponse - * - * @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 value - * - * @return SearchResultSet The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\SearchResultSet")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = new SearchResultSet($this->_propDict["value"]); - return $this->_propDict["value"]; - } - } - return null; - } - - /** - * Sets the value - * - * @param SearchResultSet $val The value to assign to the value - * - * @return SearchResponse The SearchResponse - */ - public function setValue($val) - { - $this->_propDict["value"] = $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 deleted file mode 100644 index 17d149a6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/SearchResultSet.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResultSet.php deleted file mode 100644 index 069e6cc8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SearchResultSet.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hitsContainers"], "\Beta\Microsoft\Graph\Model\SearchHitsContainer")) { - return $this->_propDict["hitsContainers"]; - } else { - $this->_propDict["hitsContainers"] = new SearchHitsContainer($this->_propDict["hitsContainers"]); - return $this->_propDict["hitsContainers"]; - } - } - return null; - } - - /** - * Sets the hitsContainers - * - * @param SearchHitsContainer $val The value to assign to the hitsContainers - * - * @return SearchResultSet The SearchResultSet - */ - public function setHitsContainers($val) - { - $this->_propDict["hitsContainers"] = $val; - return $this; - } - /** - * Gets the searchTerms - * - * @return string The searchTerms - */ - public function getSearchTerms() - { - if (array_key_exists("searchTerms", $this->_propDict)) { - return $this->_propDict["searchTerms"]; - } else { - return null; - } - } - - /** - * Sets the searchTerms - * - * @param string $val The value of the searchTerms - * - * @return SearchResultSet - */ - public function setSearchTerms($val) - { - $this->_propDict["searchTerms"] = $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 deleted file mode 100644 index 12e1e4bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionGroup.php +++ /dev/null @@ -1,211 +0,0 @@ -_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 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 The parentNotebook - */ - public function getParentNotebook() - { - if (array_key_exists("parentNotebook", $this->_propDict)) { - if (is_a($this->_propDict["parentNotebook"], "\Beta\Microsoft\Graph\Model\Notebook")) { - 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 The parentSectionGroup - */ - public function getParentSectionGroup() - { - if (array_key_exists("parentSectionGroup", $this->_propDict)) { - if (is_a($this->_propDict["parentSectionGroup"], "\Beta\Microsoft\Graph\Model\SectionGroup")) { - 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 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 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 deleted file mode 100644 index f07ccda4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SectionLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Beta\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index ea18f09e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureAssessmentAccountType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the enabledServices - * Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). - * - * @return string 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 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 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"] = $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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 3747a914..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlProfile.php +++ /dev/null @@ -1,586 +0,0 @@ -_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 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 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the rank - * Microsoft's stack ranking of control. - * - * @return int 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 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 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 7774e84b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureScoreControlStateUpdate.php +++ /dev/null @@ -1,161 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedTo"]; - } else { - return null; - } - } - - /** - * Sets the assignedTo - * - * @param string $val The value of the assignedTo - * - * @return SecureScoreControlStateUpdate - */ - public function setAssignedTo($val) - { - $this->_propDict["assignedTo"] = $val; - return $this; - } - /** - * Gets the comment - * - * @return string 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 value of the comment - * - * @return SecureScoreControlStateUpdate - */ - public function setComment($val) - { - $this->_propDict["comment"] = $val; - return $this; - } - /** - * Gets the state - * - * @return string 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 SecureScoreControlStateUpdate - */ - public function setState($val) - { - $this->_propDict["state"] = $val; - return $this; - } - /** - * Gets the updatedBy - * - * @return string The updatedBy - */ - public function getUpdatedBy() - { - if (array_key_exists("updatedBy", $this->_propDict)) { - return $this->_propDict["updatedBy"]; - } else { - return null; - } - } - - /** - * Sets the updatedBy - * - * @param string $val The value of the updatedBy - * - * @return SecureScoreControlStateUpdate - */ - public function setUpdatedBy($val) - { - $this->_propDict["updatedBy"] = $val; - return $this; - } - - /** - * Gets the updatedDateTime - * - * @return \DateTime The updatedDateTime - */ - public function getUpdatedDateTime() - { - if (array_key_exists("updatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["updatedDateTime"], "\DateTime")) { - return $this->_propDict["updatedDateTime"]; - } else { - $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); - return $this->_propDict["updatedDateTime"]; - } - } - return null; - } - - /** - * Sets the updatedDateTime - * - * @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 deleted file mode 100644 index aa53900c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Security.php +++ /dev/null @@ -1,393 +0,0 @@ -_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 alerts - * Read-only. Nullable. - * - * @return array The alerts - */ - public function getAlerts() - { - if (array_key_exists("alerts", $this->_propDict)) { - return $this->_propDict["alerts"]; - } else { - return null; - } - } - - /** - * Sets the alerts - * Read-only. Nullable. - * - * @param Alert $val The alerts - * - * @return Security - */ - public function setAlerts($val) - { - $this->_propDict["alerts"] = $val; - return $this; - } - - - /** - * Gets the cloudAppSecurityProfiles - * - * @return array 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 4aebd75e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityAction.php +++ /dev/null @@ -1,457 +0,0 @@ -_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 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 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 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 The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The errorInfo - */ - public function getErrorInfo() - { - if (array_key_exists("errorInfo", $this->_propDict)) { - if (is_a($this->_propDict["errorInfo"], "\Beta\Microsoft\Graph\Model\ResultInfo")) { - 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 The lastActionDateTime - */ - public function getLastActionDateTime() - { - if (array_key_exists("lastActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 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, e.g. URL or fileHash to block, etc.). Required - * - * @return array 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, e.g. URL or fileHash to block, etc.). 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus")) { - 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 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 (e.g. vendor=Microsoft; provider=Windows Defender ATP; sub-provider=AppLocker). - * - * @return SecurityVendorInformation The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 (e.g. 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 deleted file mode 100644 index 37c88aeb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityActionState.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\OperationStatus")) { - 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 The updatedDateTime - */ - public function getUpdatedDateTime() - { - if (array_key_exists("updatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["updatedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index b1fbe55b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineCategoryStateSummary.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index fef4fa65..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineComplianceState.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 The sourceType - */ - public function getSourceType() - { - if (array_key_exists("sourceType", $this->_propDict)) { - if (is_a($this->_propDict["sourceType"], "\Beta\Microsoft\Graph\Model\SecurityBaselinePolicySourceType")) { - 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 deleted file mode 100644 index bc6c7893..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineDeviceState.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SecurityBaselineComplianceState")) { - 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 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 deleted file mode 100644 index d3b7eb14..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselinePolicySourceType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SecurityBaselineComplianceState")) { - 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 deleted file mode 100644 index 011fec79..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineState.php +++ /dev/null @@ -1,177 +0,0 @@ -_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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SecurityBaselineComplianceState")) { - 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 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 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 deleted file mode 100644 index d54db19f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineStateSummary.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index d132c363..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityBaselineTemplate.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 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 The deviceStateSummary - */ - public function getDeviceStateSummary() - { - if (array_key_exists("deviceStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceStateSummary"], "\Beta\Microsoft\Graph\Model\SecurityBaselineStateSummary")) { - 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 deleted file mode 100644 index d86a7a9a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityConfigurationTask.php +++ /dev/null @@ -1,244 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicablePlatform"], "\Beta\Microsoft\Graph\Model\EndpointSecurityConfigurationApplicablePlatform")) { - 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 The endpointSecurityPolicy - */ - public function getEndpointSecurityPolicy() - { - if (array_key_exists("endpointSecurityPolicy", $this->_propDict)) { - if (is_a($this->_propDict["endpointSecurityPolicy"], "\Beta\Microsoft\Graph\Model\EndpointSecurityConfigurationType")) { - 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 The endpointSecurityPolicyProfile - */ - public function getEndpointSecurityPolicyProfile() - { - if (array_key_exists("endpointSecurityPolicyProfile", $this->_propDict)) { - if (is_a($this->_propDict["endpointSecurityPolicyProfile"], "\Beta\Microsoft\Graph\Model\EndpointSecurityConfigurationProfileType")) { - 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 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 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 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 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 deleted file mode 100644 index 8807c1c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityNetworkProtocol.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 2d85472d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityQuestionType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The resourceType - */ - public function getResourceType() - { - if (array_key_exists("resourceType", $this->_propDict)) { - if (is_a($this->_propDict["resourceType"], "\Beta\Microsoft\Graph\Model\SecurityResourceType")) { - 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 deleted file mode 100644 index a43eb734..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecurityResourceType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index a809c55d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfServiceSignUpAuthenticationFlowConfiguration.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 4cfc2658..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SelfSignedCertificate.php +++ /dev/null @@ -1,280 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customKeyIdentifier"]; - } else { - $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["customKeyIdentifier"]); - return $this->_propDict["customKeyIdentifier"]; - } - } - return null; - } - - /** - * Sets the customKeyIdentifier - * - * @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 - * - * @return string 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 SelfSignedCertificate - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the endDateTime - * - * @return \DateTime The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 SelfSignedCertificate The SelfSignedCertificate - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the key - * - * @return \GuzzleHttp\Psr7\Stream The key - */ - public function getKey() - { - if (array_key_exists("key", $this->_propDict)) { - if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["key"]; - } else { - $this->_propDict["key"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["key"]); - return $this->_propDict["key"]; - } - } - return null; - } - - /** - * Sets the key - * - * @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 - * - * @return string The keyId - */ - public function getKeyId() - { - if (array_key_exists("keyId", $this->_propDict)) { - return $this->_propDict["keyId"]; - } else { - return null; - } - } - - /** - * Sets the keyId - * - * @param string $val The value of the keyId - * - * @return SelfSignedCertificate - */ - public function setKeyId($val) - { - $this->_propDict["keyId"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 SelfSignedCertificate The SelfSignedCertificate - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $val; - return $this; - } - /** - * Gets the thumbprint - * - * @return string The thumbprint - */ - public function getThumbprint() - { - if (array_key_exists("thumbprint", $this->_propDict)) { - return $this->_propDict["thumbprint"]; - } else { - return null; - } - } - - /** - * Sets the thumbprint - * - * @param string $val The value of the thumbprint - * - * @return SelfSignedCertificate - */ - public function setThumbprint($val) - { - $this->_propDict["thumbprint"] = $val; - return $this; - } - /** - * Gets the type - * - * @return string 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 SelfSignedCertificate - */ - public function setType($val) - { - $this->_propDict["type"] = $val; - return $this; - } - /** - * Gets the usage - * - * @return string The usage - */ - public function getUsage() - { - if (array_key_exists("usage", $this->_propDict)) { - return $this->_propDict["usage"]; - } else { - return null; - } - } - - /** - * Sets the usage - * - * @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 deleted file mode 100644 index 19945beb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentEvidence.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index e06c2904..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocation.php +++ /dev/null @@ -1,52 +0,0 @@ -_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; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocationBase.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocationBase.php deleted file mode 100644 index 4d39df2c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveContentLocationBase.php +++ /dev/null @@ -1,135 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["evidences"], "\Beta\Microsoft\Graph\Model\SensitiveContentEvidence")) { - 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 SensitiveContentLocationBase The SensitiveContentLocationBase - */ - public function setEvidences($val) - { - $this->_propDict["evidences"] = $val; - return $this; - } - /** - * Gets the idMatch - * - * @return string 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 SensitiveContentLocationBase - */ - public function setIdMatch($val) - { - $this->_propDict["idMatch"] = $val; - return $this; - } - /** - * Gets the length - * - * @return int 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 SensitiveContentLocationBase - */ - public function setLength($val) - { - $this->_propDict["length"] = $val; - return $this; - } - /** - * Gets the offset - * - * @return int 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 SensitiveContentLocationBase - */ - 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 deleted file mode 100644 index 1b73369e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveType.php +++ /dev/null @@ -1,282 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classificationMethod"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\Model\SensitiveTypeScope")) { - 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 The sensitiveTypeSource - */ - public function getSensitiveTypeSource() - { - if (array_key_exists("sensitiveTypeSource", $this->_propDict)) { - if (is_a($this->_propDict["sensitiveTypeSource"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index eb94e21b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitiveTypeScope.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableTo"], "\Beta\Microsoft\Graph\Model\SensitivityLabelTarget")) { - 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 The applicationMode - */ - public function getApplicationMode() - { - if (array_key_exists("applicationMode", $this->_propDict)) { - if (is_a($this->_propDict["applicationMode"], "\Beta\Microsoft\Graph\Model\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 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 The autoLabeling - */ - public function getAutoLabeling() - { - if (array_key_exists("autoLabeling", $this->_propDict)) { - if (is_a($this->_propDict["autoLabeling"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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/SensitivityLabelTarget.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php deleted file mode 100644 index 3fde2062..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SensitivityLabelTarget.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableTo"], "\Beta\Microsoft\Graph\Model\SensitivityLabelTarget")) { - 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 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 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 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/ServiceHostedMediaConfig.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHostedMediaConfig.php deleted file mode 100644 index bf450801..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceHostedMediaConfig.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.serviceHostedMediaConfig"); - } - - - /** - * Gets the preFetchMedia - * The list of media to pre-fetch. - * - * @return MediaInfo The preFetchMedia - */ - public function getPreFetchMedia() - { - if (array_key_exists("preFetchMedia", $this->_propDict)) { - if (is_a($this->_propDict["preFetchMedia"], "\Beta\Microsoft\Graph\Model\MediaInfo")) { - 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 deleted file mode 100644 index db08c1ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceInformation.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 81903b5e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePlanInfo.php +++ /dev/null @@ -1,138 +0,0 @@ -_propDict)) { - return $this->_propDict["appliesTo"]; - } else { - return null; - } - } - - /** - * Sets the appliesTo - * The object the service plan can be assigned to. Possible values:'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. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'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 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. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'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 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 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 deleted file mode 100644 index 9f213c5b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipal.php +++ /dev/null @@ -1,1538 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["passwordSingleSignOnSettings"], "\Beta\Microsoft\Graph\Model\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. - * - * @return bool 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. - * - * @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 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. - * - * @return string 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. - * - * @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 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 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). - * - * @return string 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). - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return bool 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. - * - * @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 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. - * - * @return string 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. - * - * @param string $val The description - * - * @return ServicePrincipal - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The display name for the service principal. - * - * @return string 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 ServicePrincipal - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the errorUrl - * Deprecated. Don't use. - * - * @return string 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 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. - * - * @return InformationalUrl The info - */ - public function getInfo() - { - if (array_key_exists("info", $this->_propDict)) { - if (is_a($this->_propDict["info"], "\Beta\Microsoft\Graph\Model\InformationalUrl")) { - 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. - * - * @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. - * - * @return array 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. - * - * @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 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 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 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 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 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 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 The preferredTokenSigningKeyEndDateTime - */ - public function getPreferredTokenSigningKeyEndDateTime() - { - if (array_key_exists("preferredTokenSigningKeyEndDateTime", $this->_propDict)) { - if (is_a($this->_propDict["preferredTokenSigningKeyEndDateTime"], "\DateTime")) { - 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 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. - * - * @return array 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. - * - * @param PermissionScope $val The publishedPermissionScopes - * - * @return ServicePrincipal - */ - public function setPublishedPermissionScopes($val) - { - $this->_propDict["publishedPermissionScopes"] = $val; - return $this; - } - - /** - * Gets the publisherName - * - * @return string 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 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 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 The samlSingleSignOnSettings - */ - public function getSamlSingleSignOnSettings() - { - if (array_key_exists("samlSingleSignOnSettings", $this->_propDict)) { - if (is_a($this->_propDict["samlSingleSignOnSettings"], "\Beta\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return string 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. - * - * @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 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @param HomeRealmDiscoveryPolicy $val The homeRealmDiscoveryPolicies - * - * @return ServicePrincipal - */ - public function setHomeRealmDiscoveryPolicies($val) - { - $this->_propDict["homeRealmDiscoveryPolicies"] = $val; - return $this; - } - - - /** - * Gets the licenseDetails - * - * @return array 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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @param TokenLifetimePolicy $val The tokenLifetimePolicies - * - * @return ServicePrincipal - */ - public function setTokenLifetimePolicies($val) - { - $this->_propDict["tokenLifetimePolicies"] = $val; - return $this; - } - - - /** - * Gets the transitiveMemberOf - * - * @return array 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 The synchronization - */ - public function getSynchronization() - { - if (array_key_exists("synchronization", $this->_propDict)) { - if (is_a($this->_propDict["synchronization"], "\Beta\Microsoft\Graph\Model\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/ServicePrincipalIdentity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalIdentity.php deleted file mode 100644 index 2d641fb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServicePrincipalIdentity.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/ServiceStartType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceStartType.php deleted file mode 100644 index 93d7dd01..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ServiceStartType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The sourceType - */ - public function getSourceType() - { - if (array_key_exists("sourceType", $this->_propDict)) { - if (is_a($this->_propDict["sourceType"], "\Beta\Microsoft\Graph\Model\SettingSourceType")) { - 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 deleted file mode 100644 index 63724959..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingSourceType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 1f228afb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingTemplateValue.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 72bcda4b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SettingValue.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 3855fb2e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Settings.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 1c51e3d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SetupStatus.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recipients"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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/SharePointActivityPages.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityPages.php deleted file mode 100644 index cb8481d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityPages.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SharePointActivityPages - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointActivityPages - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointActivityPages - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the visitedPageCount - * - * @return int The visitedPageCount - */ - public function getVisitedPageCount() - { - if (array_key_exists("visitedPageCount", $this->_propDict)) { - return $this->_propDict["visitedPageCount"]; - } else { - return null; - } - } - - /** - * Sets the visitedPageCount - * - * @param int $val The visitedPageCount - * - * @return SharePointActivityPages - */ - public function setVisitedPageCount($val) - { - $this->_propDict["visitedPageCount"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityUserCounts.php deleted file mode 100644 index 1b571c38..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityUserCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SharePointActivityUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointActivityUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointActivityUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sharedExternally - * - * @return int The sharedExternally - */ - public function getSharedExternally() - { - if (array_key_exists("sharedExternally", $this->_propDict)) { - return $this->_propDict["sharedExternally"]; - } else { - return null; - } - } - - /** - * Sets the sharedExternally - * - * @param int $val The sharedExternally - * - * @return SharePointActivityUserCounts - */ - public function setSharedExternally($val) - { - $this->_propDict["sharedExternally"] = intval($val); - return $this; - } - - /** - * Gets the sharedInternally - * - * @return int The sharedInternally - */ - public function getSharedInternally() - { - if (array_key_exists("sharedInternally", $this->_propDict)) { - return $this->_propDict["sharedInternally"]; - } else { - return null; - } - } - - /** - * Sets the sharedInternally - * - * @param int $val The sharedInternally - * - * @return SharePointActivityUserCounts - */ - public function setSharedInternally($val) - { - $this->_propDict["sharedInternally"] = intval($val); - return $this; - } - - /** - * Gets the synced - * - * @return int The synced - */ - public function getSynced() - { - if (array_key_exists("synced", $this->_propDict)) { - return $this->_propDict["synced"]; - } else { - return null; - } - } - - /** - * Sets the synced - * - * @param int $val The synced - * - * @return SharePointActivityUserCounts - */ - public function setSynced($val) - { - $this->_propDict["synced"] = intval($val); - return $this; - } - - /** - * Gets the viewedOrEdited - * - * @return int The viewedOrEdited - */ - public function getViewedOrEdited() - { - if (array_key_exists("viewedOrEdited", $this->_propDict)) { - return $this->_propDict["viewedOrEdited"]; - } else { - return null; - } - } - - /** - * Sets the viewedOrEdited - * - * @param int $val The viewedOrEdited - * - * @return SharePointActivityUserCounts - */ - public function setViewedOrEdited($val) - { - $this->_propDict["viewedOrEdited"] = intval($val); - return $this; - } - - /** - * Gets the visitedPage - * - * @return int The visitedPage - */ - public function getVisitedPage() - { - if (array_key_exists("visitedPage", $this->_propDict)) { - return $this->_propDict["visitedPage"]; - } else { - return null; - } - } - - /** - * Sets the visitedPage - * - * @param int $val The visitedPage - * - * @return SharePointActivityUserCounts - */ - public function setVisitedPage($val) - { - $this->_propDict["visitedPage"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityUserDetail.php deleted file mode 100644 index 81e1b0d2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointActivityUserDetail.php +++ /dev/null @@ -1,363 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedProducts"]; - } else { - return null; - } - } - - /** - * Sets the assignedProducts - * - * @param string $val The assignedProducts - * - * @return SharePointActivityUserDetail - */ - public function setAssignedProducts($val) - { - $this->_propDict["assignedProducts"] = $val; - return $this; - } - - /** - * Gets the deletedDate - * - * @return \DateTime The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return SharePointActivityUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 SharePointActivityUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return SharePointActivityUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointActivityUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointActivityUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sharedExternallyFileCount - * - * @return int The sharedExternallyFileCount - */ - public function getSharedExternallyFileCount() - { - if (array_key_exists("sharedExternallyFileCount", $this->_propDict)) { - return $this->_propDict["sharedExternallyFileCount"]; - } else { - return null; - } - } - - /** - * Sets the sharedExternallyFileCount - * - * @param int $val The sharedExternallyFileCount - * - * @return SharePointActivityUserDetail - */ - public function setSharedExternallyFileCount($val) - { - $this->_propDict["sharedExternallyFileCount"] = intval($val); - return $this; - } - - /** - * Gets the sharedInternallyFileCount - * - * @return int The sharedInternallyFileCount - */ - public function getSharedInternallyFileCount() - { - if (array_key_exists("sharedInternallyFileCount", $this->_propDict)) { - return $this->_propDict["sharedInternallyFileCount"]; - } else { - return null; - } - } - - /** - * Sets the sharedInternallyFileCount - * - * @param int $val The sharedInternallyFileCount - * - * @return SharePointActivityUserDetail - */ - public function setSharedInternallyFileCount($val) - { - $this->_propDict["sharedInternallyFileCount"] = intval($val); - return $this; - } - - /** - * Gets the syncedFileCount - * - * @return int The syncedFileCount - */ - public function getSyncedFileCount() - { - if (array_key_exists("syncedFileCount", $this->_propDict)) { - return $this->_propDict["syncedFileCount"]; - } else { - return null; - } - } - - /** - * Sets the syncedFileCount - * - * @param int $val The syncedFileCount - * - * @return SharePointActivityUserDetail - */ - public function setSyncedFileCount($val) - { - $this->_propDict["syncedFileCount"] = intval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 SharePointActivityUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - - /** - * Gets the viewedOrEditedFileCount - * - * @return int The viewedOrEditedFileCount - */ - public function getViewedOrEditedFileCount() - { - if (array_key_exists("viewedOrEditedFileCount", $this->_propDict)) { - return $this->_propDict["viewedOrEditedFileCount"]; - } else { - return null; - } - } - - /** - * Sets the viewedOrEditedFileCount - * - * @param int $val The viewedOrEditedFileCount - * - * @return SharePointActivityUserDetail - */ - public function setViewedOrEditedFileCount($val) - { - $this->_propDict["viewedOrEditedFileCount"] = intval($val); - return $this; - } - - /** - * Gets the visitedPageCount - * - * @return int The visitedPageCount - */ - public function getVisitedPageCount() - { - if (array_key_exists("visitedPageCount", $this->_propDict)) { - return $this->_propDict["visitedPageCount"]; - } else { - return null; - } - } - - /** - * Sets the visitedPageCount - * - * @param int $val The visitedPageCount - * - * @return SharePointActivityUserDetail - */ - public function setVisitedPageCount($val) - { - $this->_propDict["visitedPageCount"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageDetail.php deleted file mode 100644 index 171eb608..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageDetail.php +++ /dev/null @@ -1,656 +0,0 @@ -_propDict)) { - return $this->_propDict["activeFileCount"]; - } else { - return null; - } - } - - /** - * Sets the activeFileCount - * - * @param int $val The activeFileCount - * - * @return SharePointSiteUsageDetail - */ - public function setActiveFileCount($val) - { - $this->_propDict["activeFileCount"] = intval($val); - return $this; - } - - /** - * Gets the anonymousLinkCount - * - * @return int The anonymousLinkCount - */ - public function getAnonymousLinkCount() - { - if (array_key_exists("anonymousLinkCount", $this->_propDict)) { - return $this->_propDict["anonymousLinkCount"]; - } else { - return null; - } - } - - /** - * Sets the anonymousLinkCount - * - * @param int $val The anonymousLinkCount - * - * @return SharePointSiteUsageDetail - */ - public function setAnonymousLinkCount($val) - { - $this->_propDict["anonymousLinkCount"] = intval($val); - return $this; - } - - /** - * Gets the companyLinkCount - * - * @return int The companyLinkCount - */ - public function getCompanyLinkCount() - { - if (array_key_exists("companyLinkCount", $this->_propDict)) { - return $this->_propDict["companyLinkCount"]; - } else { - return null; - } - } - - /** - * Sets the companyLinkCount - * - * @param int $val The companyLinkCount - * - * @return SharePointSiteUsageDetail - */ - public function setCompanyLinkCount($val) - { - $this->_propDict["companyLinkCount"] = intval($val); - return $this; - } - - /** - * Gets the externalSharing - * - * @return bool The externalSharing - */ - public function getExternalSharing() - { - if (array_key_exists("externalSharing", $this->_propDict)) { - return $this->_propDict["externalSharing"]; - } else { - return null; - } - } - - /** - * Sets the externalSharing - * - * @param bool $val The externalSharing - * - * @return SharePointSiteUsageDetail - */ - public function setExternalSharing($val) - { - $this->_propDict["externalSharing"] = boolval($val); - return $this; - } - - /** - * Gets the fileCount - * - * @return int The fileCount - */ - public function getFileCount() - { - if (array_key_exists("fileCount", $this->_propDict)) { - return $this->_propDict["fileCount"]; - } else { - return null; - } - } - - /** - * Sets the fileCount - * - * @param int $val The fileCount - * - * @return SharePointSiteUsageDetail - */ - public function setFileCount($val) - { - $this->_propDict["fileCount"] = intval($val); - return $this; - } - - /** - * Gets the geolocation - * - * @return string The geolocation - */ - public function getGeolocation() - { - if (array_key_exists("geolocation", $this->_propDict)) { - return $this->_propDict["geolocation"]; - } else { - return null; - } - } - - /** - * Sets the geolocation - * - * @param string $val The geolocation - * - * @return SharePointSiteUsageDetail - */ - public function setGeolocation($val) - { - $this->_propDict["geolocation"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 SharePointSiteUsageDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return SharePointSiteUsageDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the ownerDisplayName - * - * @return string The ownerDisplayName - */ - public function getOwnerDisplayName() - { - if (array_key_exists("ownerDisplayName", $this->_propDict)) { - return $this->_propDict["ownerDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the ownerDisplayName - * - * @param string $val The ownerDisplayName - * - * @return SharePointSiteUsageDetail - */ - public function setOwnerDisplayName($val) - { - $this->_propDict["ownerDisplayName"] = $val; - return $this; - } - - /** - * Gets the ownerPrincipalName - * - * @return string The ownerPrincipalName - */ - public function getOwnerPrincipalName() - { - if (array_key_exists("ownerPrincipalName", $this->_propDict)) { - return $this->_propDict["ownerPrincipalName"]; - } else { - return null; - } - } - - /** - * Sets the ownerPrincipalName - * - * @param string $val The ownerPrincipalName - * - * @return SharePointSiteUsageDetail - */ - public function setOwnerPrincipalName($val) - { - $this->_propDict["ownerPrincipalName"] = $val; - return $this; - } - - /** - * Gets the pageViewCount - * - * @return int The pageViewCount - */ - public function getPageViewCount() - { - if (array_key_exists("pageViewCount", $this->_propDict)) { - return $this->_propDict["pageViewCount"]; - } else { - return null; - } - } - - /** - * Sets the pageViewCount - * - * @param int $val The pageViewCount - * - * @return SharePointSiteUsageDetail - */ - public function setPageViewCount($val) - { - $this->_propDict["pageViewCount"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointSiteUsageDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointSiteUsageDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the rootWebTemplate - * - * @return string The rootWebTemplate - */ - public function getRootWebTemplate() - { - if (array_key_exists("rootWebTemplate", $this->_propDict)) { - return $this->_propDict["rootWebTemplate"]; - } else { - return null; - } - } - - /** - * Sets the rootWebTemplate - * - * @param string $val The rootWebTemplate - * - * @return SharePointSiteUsageDetail - */ - public function setRootWebTemplate($val) - { - $this->_propDict["rootWebTemplate"] = $val; - return $this; - } - - /** - * Gets the secureLinkForGuestCount - * - * @return int The secureLinkForGuestCount - */ - public function getSecureLinkForGuestCount() - { - if (array_key_exists("secureLinkForGuestCount", $this->_propDict)) { - return $this->_propDict["secureLinkForGuestCount"]; - } else { - return null; - } - } - - /** - * Sets the secureLinkForGuestCount - * - * @param int $val The secureLinkForGuestCount - * - * @return SharePointSiteUsageDetail - */ - public function setSecureLinkForGuestCount($val) - { - $this->_propDict["secureLinkForGuestCount"] = intval($val); - return $this; - } - - /** - * Gets the secureLinkForMemberCount - * - * @return int The secureLinkForMemberCount - */ - public function getSecureLinkForMemberCount() - { - if (array_key_exists("secureLinkForMemberCount", $this->_propDict)) { - return $this->_propDict["secureLinkForMemberCount"]; - } else { - return null; - } - } - - /** - * Sets the secureLinkForMemberCount - * - * @param int $val The secureLinkForMemberCount - * - * @return SharePointSiteUsageDetail - */ - public function setSecureLinkForMemberCount($val) - { - $this->_propDict["secureLinkForMemberCount"] = intval($val); - return $this; - } - - /** - * Gets the siteId - * - * @return string The siteId - */ - public function getSiteId() - { - if (array_key_exists("siteId", $this->_propDict)) { - return $this->_propDict["siteId"]; - } else { - return null; - } - } - - /** - * Sets the siteId - * - * @param string $val The siteId - * - * @return SharePointSiteUsageDetail - */ - public function setSiteId($val) - { - $this->_propDict["siteId"] = $val; - return $this; - } - - /** - * Gets the siteSensitivityLabelId - * - * @return string The siteSensitivityLabelId - */ - public function getSiteSensitivityLabelId() - { - if (array_key_exists("siteSensitivityLabelId", $this->_propDict)) { - return $this->_propDict["siteSensitivityLabelId"]; - } else { - return null; - } - } - - /** - * Sets the siteSensitivityLabelId - * - * @param string $val The siteSensitivityLabelId - * - * @return SharePointSiteUsageDetail - */ - public function setSiteSensitivityLabelId($val) - { - $this->_propDict["siteSensitivityLabelId"] = $val; - return $this; - } - - /** - * Gets the siteUrl - * - * @return string The siteUrl - */ - public function getSiteUrl() - { - if (array_key_exists("siteUrl", $this->_propDict)) { - return $this->_propDict["siteUrl"]; - } else { - return null; - } - } - - /** - * Sets the siteUrl - * - * @param string $val The siteUrl - * - * @return SharePointSiteUsageDetail - */ - public function setSiteUrl($val) - { - $this->_propDict["siteUrl"] = $val; - return $this; - } - - /** - * Gets the storageAllocatedInBytes - * - * @return int The storageAllocatedInBytes - */ - public function getStorageAllocatedInBytes() - { - if (array_key_exists("storageAllocatedInBytes", $this->_propDict)) { - return $this->_propDict["storageAllocatedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageAllocatedInBytes - * - * @param int $val The storageAllocatedInBytes - * - * @return SharePointSiteUsageDetail - */ - public function setStorageAllocatedInBytes($val) - { - $this->_propDict["storageAllocatedInBytes"] = intval($val); - return $this; - } - - /** - * Gets the storageUsedInBytes - * - * @return int The storageUsedInBytes - */ - public function getStorageUsedInBytes() - { - if (array_key_exists("storageUsedInBytes", $this->_propDict)) { - return $this->_propDict["storageUsedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageUsedInBytes - * - * @param int $val The storageUsedInBytes - * - * @return SharePointSiteUsageDetail - */ - public function setStorageUsedInBytes($val) - { - $this->_propDict["storageUsedInBytes"] = intval($val); - return $this; - } - - /** - * Gets the unmanagedDevicePolicy - * - * @return string The unmanagedDevicePolicy - */ - public function getUnmanagedDevicePolicy() - { - if (array_key_exists("unmanagedDevicePolicy", $this->_propDict)) { - return $this->_propDict["unmanagedDevicePolicy"]; - } else { - return null; - } - } - - /** - * Sets the unmanagedDevicePolicy - * - * @param string $val The unmanagedDevicePolicy - * - * @return SharePointSiteUsageDetail - */ - public function setUnmanagedDevicePolicy($val) - { - $this->_propDict["unmanagedDevicePolicy"] = $val; - return $this; - } - - /** - * Gets the visitedPageCount - * - * @return int The visitedPageCount - */ - public function getVisitedPageCount() - { - if (array_key_exists("visitedPageCount", $this->_propDict)) { - return $this->_propDict["visitedPageCount"]; - } else { - return null; - } - } - - /** - * Sets the visitedPageCount - * - * @param int $val The visitedPageCount - * - * @return SharePointSiteUsageDetail - */ - public function setVisitedPageCount($val) - { - $this->_propDict["visitedPageCount"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageFileCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageFileCounts.php deleted file mode 100644 index 292cf3ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageFileCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["active"]; - } else { - return null; - } - } - - /** - * Sets the active - * - * @param int $val The active - * - * @return SharePointSiteUsageFileCounts - */ - public function setActive($val) - { - $this->_propDict["active"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SharePointSiteUsageFileCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointSiteUsageFileCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointSiteUsageFileCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteType - * - * @return string The siteType - */ - public function getSiteType() - { - if (array_key_exists("siteType", $this->_propDict)) { - return $this->_propDict["siteType"]; - } else { - return null; - } - } - - /** - * Sets the siteType - * - * @param string $val The siteType - * - * @return SharePointSiteUsageFileCounts - */ - public function setSiteType($val) - { - $this->_propDict["siteType"] = $val; - return $this; - } - - /** - * Gets the total - * - * @return int The total - */ - public function getTotal() - { - if (array_key_exists("total", $this->_propDict)) { - return $this->_propDict["total"]; - } else { - return null; - } - } - - /** - * Sets the total - * - * @param int $val The total - * - * @return SharePointSiteUsageFileCounts - */ - public function setTotal($val) - { - $this->_propDict["total"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsagePages.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsagePages.php deleted file mode 100644 index e8435b54..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsagePages.php +++ /dev/null @@ -1,170 +0,0 @@ -_propDict)) { - return $this->_propDict["pageViewCount"]; - } else { - return null; - } - } - - /** - * Sets the pageViewCount - * - * @param int $val The pageViewCount - * - * @return SharePointSiteUsagePages - */ - public function setPageViewCount($val) - { - $this->_propDict["pageViewCount"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SharePointSiteUsagePages - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointSiteUsagePages - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointSiteUsagePages - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteType - * - * @return string The siteType - */ - public function getSiteType() - { - if (array_key_exists("siteType", $this->_propDict)) { - return $this->_propDict["siteType"]; - } else { - return null; - } - } - - /** - * Sets the siteType - * - * @param string $val The siteType - * - * @return SharePointSiteUsagePages - */ - public function setSiteType($val) - { - $this->_propDict["siteType"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageSiteCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageSiteCounts.php deleted file mode 100644 index f9c1bb90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharePointSiteUsageSiteCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["active"]; - } else { - return null; - } - } - - /** - * Sets the active - * - * @param int $val The active - * - * @return SharePointSiteUsageSiteCounts - */ - public function setActive($val) - { - $this->_propDict["active"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SharePointSiteUsageSiteCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SharePointSiteUsageSiteCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SharePointSiteUsageSiteCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteType - * - * @return string The siteType - */ - public function getSiteType() - { - if (array_key_exists("siteType", $this->_propDict)) { - return $this->_propDict["siteType"]; - } else { - return null; - } - } - - /** - * Sets the siteType - * - * @param string $val The siteType - * - * @return SharePointSiteUsageSiteCounts - */ - public function setSiteType($val) - { - $this->_propDict["siteType"] = $val; - return $this; - } - - /** - * Gets the total - * - * @return int The total - */ - public function getTotal() - { - if (array_key_exists("total", $this->_propDict)) { - return $this->_propDict["total"]; - } else { - return null; - } - } - - /** - * Sets the total - * - * @param int $val The total - * - * @return SharePointSiteUsageSiteCounts - */ - public function setTotal($val) - { - $this->_propDict["total"] = intval($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 deleted file mode 100644 index 5671e8b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shared.php +++ /dev/null @@ -1,153 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The sharedBy - */ - public function getSharedBy() - { - if (array_key_exists("sharedBy", $this->_propDict)) { - if (is_a($this->_propDict["sharedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The sharedDateTime - */ - public function getSharedDateTime() - { - if (array_key_exists("sharedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["sharedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index a60d9955..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedAppleDeviceUser.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 2ebd4626..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedDriveItem.php +++ /dev/null @@ -1,288 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["owner"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Beta\Microsoft\Graph\Model\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 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 The list - */ - public function getList() - { - if (array_key_exists("list", $this->_propDict)) { - if (is_a($this->_propDict["list"], "\Beta\Microsoft\Graph\Model\GraphList")) { - 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 The listItem - */ - public function getListItem() - { - if (array_key_exists("listItem", $this->_propDict)) { - if (is_a($this->_propDict["listItem"], "\Beta\Microsoft\Graph\Model\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 The permission - */ - public function getPermission() - { - if (array_key_exists("permission", $this->_propDict)) { - if (is_a($this->_propDict["permission"], "\Beta\Microsoft\Graph\Model\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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\DriveItem")) { - 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 The site - */ - public function getSite() - { - if (array_key_exists("site", $this->_propDict)) { - if (is_a($this->_propDict["site"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 607ed929..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomain.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 95f16a87..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedEmailDomainInvitation.php +++ /dev/null @@ -1,112 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expiryTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 77c0845a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedInsight.php +++ /dev/null @@ -1,218 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastShared"], "\Beta\Microsoft\Graph\Model\SharingDetail")) { - 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 The resourceReference - */ - public function getResourceReference() - { - if (array_key_exists("resourceReference", $this->_propDict)) { - if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\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 The resourceVisualization - */ - public function getResourceVisualization() - { - if (array_key_exists("resourceVisualization", $this->_propDict)) { - if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\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 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 The lastSharedMethod - */ - public function getLastSharedMethod() - { - if (array_key_exists("lastSharedMethod", $this->_propDict)) { - if (is_a($this->_propDict["lastSharedMethod"], "\Beta\Microsoft\Graph\Model\Entity")) { - 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index 837b6a51..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAccountDeletionPolicyType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accountDeletionPolicy"], "\Beta\Microsoft\Graph\Model\SharedPCAccountDeletionPolicyType")) { - 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 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 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 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 deleted file mode 100644 index 5abb8548..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharedPCAllowedAccountType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accountManagerPolicy"], "\Beta\Microsoft\Graph\Model\SharedPCAccountManagerPolicy")) { - 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 The allowedAccounts - */ - public function getAllowedAccounts() - { - if (array_key_exists("allowedAccounts", $this->_propDict)) { - if (is_a($this->_propDict["allowedAccounts"], "\Beta\Microsoft\Graph\Model\SharedPCAllowedAccountType")) { - 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 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 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 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 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 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 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 The fastFirstSignIn - */ - public function getFastFirstSignIn() - { - if (array_key_exists("fastFirstSignIn", $this->_propDict)) { - if (is_a($this->_propDict["fastFirstSignIn"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 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 The localStorage - */ - public function getLocalStorage() - { - if (array_key_exists("localStorage", $this->_propDict)) { - if (is_a($this->_propDict["localStorage"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The maintenanceStartTime - */ - public function getMaintenanceStartTime() - { - if (array_key_exists("maintenanceStartTime", $this->_propDict)) { - if (is_a($this->_propDict["maintenanceStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The setAccountManager - */ - public function getSetAccountManager() - { - if (array_key_exists("setAccountManager", $this->_propDict)) { - if (is_a($this->_propDict["setAccountManager"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The setEduPolicies - */ - public function getSetEduPolicies() - { - if (array_key_exists("setEduPolicies", $this->_propDict)) { - if (is_a($this->_propDict["setEduPolicies"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The setPowerPolicies - */ - public function getSetPowerPolicies() - { - if (array_key_exists("setPowerPolicies", $this->_propDict)) { - if (is_a($this->_propDict["setPowerPolicies"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The signInOnResume - */ - public function getSignInOnResume() - { - if (array_key_exists("signInOnResume", $this->_propDict)) { - if (is_a($this->_propDict["signInOnResume"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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/SharepointIds.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharepointIds.php deleted file mode 100644 index ace04ad8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharepointIds.php +++ /dev/null @@ -1,222 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 945b5d4e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingDetail.php +++ /dev/null @@ -1,179 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["sharedBy"], "\Beta\Microsoft\Graph\Model\InsightIdentity")) { - 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 would look like this: 2014-01-01T00:00:00Z. Read-only. - * - * @return \DateTime The sharedDateTime - */ - public function getSharedDateTime() - { - if (array_key_exists("sharedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["sharedDateTime"], "\DateTime")) { - 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 would look like this: 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 The sharingReference - */ - public function getSharingReference() - { - if (array_key_exists("sharingReference", $this->_propDict)) { - if (is_a($this->_propDict["sharingReference"], "\Beta\Microsoft\Graph\Model\ResourceReference")) { - 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 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 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 deleted file mode 100644 index 493ef491..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingInvitation.php +++ /dev/null @@ -1,141 +0,0 @@ -_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 The invitedBy - */ - public function getInvitedBy() - { - if (array_key_exists("invitedBy", $this->_propDict)) { - if (is_a($this->_propDict["invitedBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 deleted file mode 100644 index cc23ce39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SharingLink.php +++ /dev/null @@ -1,225 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index f1e12b6f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Shift.php +++ /dev/null @@ -1,178 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["draftShift"], "\Beta\Microsoft\Graph\Model\ShiftItem")) { - 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 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 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 The sharedShift - */ - public function getSharedShift() - { - if (array_key_exists("sharedShift", $this->_propDict)) { - if (is_a($this->_propDict["sharedShift"], "\Beta\Microsoft\Graph\Model\ShiftItem")) { - 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 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 deleted file mode 100644 index 55996ebf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftActivity.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The theme - */ - public function getTheme() - { - if (array_key_exists("theme", $this->_propDict)) { - if (is_a($this->_propDict["theme"], "\Beta\Microsoft\Graph\Model\ScheduleEntityTheme")) { - 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 deleted file mode 100644 index df81c5c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftAvailability.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The timeSlots - */ - public function getTimeSlots() - { - if (array_key_exists("timeSlots", $this->_propDict)) { - if (is_a($this->_propDict["timeSlots"], "\Beta\Microsoft\Graph\Model\TimeRange")) { - 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 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 deleted file mode 100644 index 698dd538..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftItem.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activities"], "\Beta\Microsoft\Graph\Model\ShiftActivity")) { - 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 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 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 deleted file mode 100644 index c1182b13..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShiftPreferences.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index ed02f27d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ShipmentMethod.php +++ /dev/null @@ -1,112 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 1b56fcd8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SideLoadingKey.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index f5a9036a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignIn.php +++ /dev/null @@ -1,1399 +0,0 @@ -_propDict)) { - return $this->_propDict["alternateSignInName"]; - } else { - return null; - } - } - - /** - * Sets the alternateSignInName - * The alternate sign-in identity whenever you use phone number to sign-in. - * - * @param string $val The alternateSignInName - * - * @return SignIn - */ - public function setAlternateSignInName($val) - { - $this->_propDict["alternateSignInName"] = $val; - return $this; - } - - /** - * Gets the appDisplayName - * The application name displayed in the Azure Portal. - * - * @return string The appDisplayName - */ - public function getAppDisplayName() - { - if (array_key_exists("appDisplayName", $this->_propDict)) { - return $this->_propDict["appDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the appDisplayName - * The application name displayed in the Azure Portal. - * - * @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. - * - * @return string 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. - * - * @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 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 authenticationDetails - * The result of the authentication attempt and additional details on the authentication method. - * - * @return array 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 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 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 authenticationRequirement - * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. - * - * @return string 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. - * - * @param string $val The authenticationRequirement - * - * @return SignIn - */ - public function setAuthenticationRequirement($val) - { - $this->_propDict["authenticationRequirement"] = $val; - return $this; - } - - - /** - * Gets the authenticationRequirementPolicies - * - * @return array The authenticationRequirementPolicies - */ - public function getAuthenticationRequirementPolicies() - { - if (array_key_exists("authenticationRequirementPolicies", $this->_propDict)) { - return $this->_propDict["authenticationRequirementPolicies"]; - } else { - return null; - } - } - - /** - * Sets the authenticationRequirementPolicies - * - * @param AuthenticationRequirementPolicy $val The authenticationRequirementPolicies - * - * @return SignIn - */ - public function setAuthenticationRequirementPolicies($val) - { - $this->_propDict["authenticationRequirementPolicies"] = $val; - return $this; - } - - /** - * Gets the clientAppUsed - * The legacy client used for sign-in activity. For example: Browser, Exchange Active Sync, Modern clients, IMAP, MAPI, SMTP, or POP. - * - * @return string 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 Active Sync, Modern clients, IMAP, MAPI, SMTP, or POP. - * - * @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. - * - * @return ConditionalAccessStatus The conditionalAccessStatus - */ - public function getConditionalAccessStatus() - { - if (array_key_exists("conditionalAccessStatus", $this->_propDict)) { - if (is_a($this->_propDict["conditionalAccessStatus"], "\Beta\Microsoft\Graph\Model\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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. - * - * @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. - * - * @return DeviceDetail The deviceDetail - */ - public function getDeviceDetail() - { - if (array_key_exists("deviceDetail", $this->_propDict)) { - if (is_a($this->_propDict["deviceDetail"], "\Beta\Microsoft\Graph\Model\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. - * - * @param DeviceDetail $val The deviceDetail - * - * @return SignIn - */ - public function setDeviceDetail($val) - { - $this->_propDict["deviceDetail"] = $val; - return $this; - } - - /** - * Gets the flaggedForReview - * - * @return bool The flaggedForReview - */ - public function getFlaggedForReview() - { - if (array_key_exists("flaggedForReview", $this->_propDict)) { - return $this->_propDict["flaggedForReview"]; - } else { - return null; - } - } - - /** - * Sets the flaggedForReview - * - * @param bool $val The flaggedForReview - * - * @return SignIn - */ - public function setFlaggedForReview($val) - { - $this->_propDict["flaggedForReview"] = boolval($val); - return $this; - } - - /** - * Gets the homeTenantId - * - * @return string 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 SignIn - */ - public function setHomeTenantId($val) - { - $this->_propDict["homeTenantId"] = $val; - return $this; - } - - /** - * Gets the ipAddress - * The IP address of the client from where the sign-in occurred. - * - * @return string 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. - * - * @param string $val The ipAddress - * - * @return SignIn - */ - public function setIpAddress($val) - { - $this->_propDict["ipAddress"] = $val; - return $this; - } - - /** - * Gets the ipAddressFromResourceProvider - * - * @return string The ipAddressFromResourceProvider - */ - public function getIpAddressFromResourceProvider() - { - if (array_key_exists("ipAddressFromResourceProvider", $this->_propDict)) { - return $this->_propDict["ipAddressFromResourceProvider"]; - } else { - return null; - } - } - - /** - * Sets the ipAddressFromResourceProvider - * - * @param string $val The ipAddressFromResourceProvider - * - * @return SignIn - */ - public function setIpAddressFromResourceProvider($val) - { - $this->_propDict["ipAddressFromResourceProvider"] = $val; - return $this; - } - - /** - * Gets the isInteractive - * Indicates whether a sign-in is interactive or not. - * - * @return bool 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 sign-in is interactive or not. - * - * @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. - * - * @return SignInLocation The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Beta\Microsoft\Graph\Model\SignInLocation")) { - 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. - * - * @param SignInLocation $val The location - * - * @return SignIn - */ - public function setLocation($val) - { - $this->_propDict["location"] = $val; - return $this; - } - - /** - * Gets the mfaDetail - * - * @return MfaDetail The mfaDetail - */ - public function getMfaDetail() - { - if (array_key_exists("mfaDetail", $this->_propDict)) { - if (is_a($this->_propDict["mfaDetail"], "\Beta\Microsoft\Graph\Model\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 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. - * - * @return string 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. - * - * @param string $val The originalRequestId - * - * @return SignIn - */ - public function setOriginalRequestId($val) - { - $this->_propDict["originalRequestId"] = $val; - return $this; - } - - /** - * Gets the processingTimeInMilliseconds - * The request processing time in milliseconds in AD STS. - * - * @return int 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @param string $val The resourceId - * - * @return SignIn - */ - public function setResourceId($val) - { - $this->_propDict["resourceId"] = $val; - return $this; - } - - /** - * Gets the resourceTenantId - * - * @return string The resourceTenantId - */ - public function getResourceTenantId() - { - if (array_key_exists("resourceTenantId", $this->_propDict)) { - return $this->_propDict["resourceTenantId"]; - } else { - return null; - } - } - - /** - * Sets the resourceTenantId - * - * @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. Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. - * - * @return RiskDetail The riskDetail - */ - public function getRiskDetail() - { - if (array_key_exists("riskDetail", $this->_propDict)) { - if (is_a($this->_propDict["riskDetail"], "\Beta\Microsoft\Graph\Model\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. 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 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. - * - * @return array The riskEventTypes - */ - public function getRiskEventTypes() - { - if (array_key_exists("riskEventTypes", $this->_propDict)) { - return $this->_propDict["riskEventTypes"]; - } else { - return null; - } - } - - /** - * Sets the riskEventTypes - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. - * - * @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. - * - * @return string 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. - * - * @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. Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. - * - * @return RiskLevel The riskLevelAggregated - */ - public function getRiskLevelAggregated() - { - if (array_key_exists("riskLevelAggregated", $this->_propDict)) { - if (is_a($this->_propDict["riskLevelAggregated"], "\Beta\Microsoft\Graph\Model\RiskLevel")) { - 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. 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. Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. - * - * @return RiskLevel The riskLevelDuringSignIn - */ - public function getRiskLevelDuringSignIn() - { - if (array_key_exists("riskLevelDuringSignIn", $this->_propDict)) { - if (is_a($this->_propDict["riskLevelDuringSignIn"], "\Beta\Microsoft\Graph\Model\RiskLevel")) { - 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. 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. - * - * @return RiskState The riskState - */ - public function getRiskState() - { - if (array_key_exists("riskState", $this->_propDict)) { - if (is_a($this->_propDict["riskState"], "\Beta\Microsoft\Graph\Model\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. - * - * @param RiskState $val The riskState - * - * @return SignIn - */ - public function setRiskState($val) - { - $this->_propDict["riskState"] = $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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @param string $val The servicePrincipalName - * - * @return SignIn - */ - public function setServicePrincipalName($val) - { - $this->_propDict["servicePrincipalName"] = $val; - return $this; - } - - /** - * Gets the signInEventTypes - * - * @return string The signInEventTypes - */ - public function getSignInEventTypes() - { - if (array_key_exists("signInEventTypes", $this->_propDict)) { - return $this->_propDict["signInEventTypes"]; - } else { - return null; - } - } - - /** - * Sets the signInEventTypes - * - * @param string $val The signInEventTypes - * - * @return SignIn - */ - public function setSignInEventTypes($val) - { - $this->_propDict["signInEventTypes"] = $val; - return $this; - } - - /** - * Gets the signInIdentifier - * - * @return string The signInIdentifier - */ - public function getSignInIdentifier() - { - if (array_key_exists("signInIdentifier", $this->_propDict)) { - return $this->_propDict["signInIdentifier"]; - } else { - return null; - } - } - - /** - * Sets the signInIdentifier - * - * @param string $val The signInIdentifier - * - * @return SignIn - */ - public function setSignInIdentifier($val) - { - $this->_propDict["signInIdentifier"] = $val; - return $this; - } - - /** - * Gets the signInIdentifierType - * - * @return SignInIdentifierType The signInIdentifierType - */ - public function getSignInIdentifierType() - { - if (array_key_exists("signInIdentifierType", $this->_propDict)) { - if (is_a($this->_propDict["signInIdentifierType"], "\Beta\Microsoft\Graph\Model\SignInIdentifierType")) { - return $this->_propDict["signInIdentifierType"]; - } else { - $this->_propDict["signInIdentifierType"] = new SignInIdentifierType($this->_propDict["signInIdentifierType"]); - return $this->_propDict["signInIdentifierType"]; - } - } - return null; - } - - /** - * Sets the signInIdentifierType - * - * @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). - * - * @return SignInStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SignInStatus")) { - 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). - * - * @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. - * - * @return string 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. - * - * @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. Possible values: AzureAD, ADFederationServices, or UnknownFutureValue. - * - * @return TokenIssuerType The tokenIssuerType - */ - public function getTokenIssuerType() - { - if (array_key_exists("tokenIssuerType", $this->_propDict)) { - if (is_a($this->_propDict["tokenIssuerType"], "\Beta\Microsoft\Graph\Model\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. Possible values: AzureAD, ADFederationServices, or UnknownFutureValue. - * - * @param TokenIssuerType $val The tokenIssuerType - * - * @return SignIn - */ - public function setTokenIssuerType($val) - { - $this->_propDict["tokenIssuerType"] = $val; - return $this; - } - - /** - * Gets the userAgent - * The user agent information related to sign-in. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @param string $val The userPrincipalName - * - * @return SignIn - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - - /** - * Gets the userType - * - * @return SignInUserType The userType - */ - public function getUserType() - { - if (array_key_exists("userType", $this->_propDict)) { - if (is_a($this->_propDict["userType"], "\Beta\Microsoft\Graph\Model\SignInUserType")) { - return $this->_propDict["userType"]; - } else { - $this->_propDict["userType"] = new SignInUserType($this->_propDict["userType"]); - return $this->_propDict["userType"]; - } - } - return null; - } - - /** - * Sets the userType - * - * @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/SignInActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInActivity.php deleted file mode 100644 index 171cd0c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInActivity.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastSignInDateTime"], "\DateTime")) { - 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 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'. 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 ID of the last sign-in performed by this user. - * - * @return string The lastSignInRequestId - */ - public function getLastSignInRequestId() - { - if (array_key_exists("lastSignInRequestId", $this->_propDict)) { - return $this->_propDict["lastSignInRequestId"]; - } else { - return null; - } - } - - /** - * Sets the lastSignInRequestId - * Request ID of the last 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 deleted file mode 100644 index 341269c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInAssistantOptions.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\SigninFrequencyType")) { - 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 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 deleted file mode 100644 index 24c1263b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInIdentifierType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 The geoCoordinates - */ - public function getGeoCoordinates() - { - if (array_key_exists("geoCoordinates", $this->_propDict)) { - if (is_a($this->_propDict["geoCoordinates"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index c5685d87..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInStatus.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 8bee453b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInUserType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index 9b6bea91..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SingleValueLegacyExtendedProperty.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 663ea17d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Site.php +++ /dev/null @@ -1,588 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deleted"], "\Beta\Microsoft\Graph\Model\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 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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Beta\Microsoft\Graph\Model\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 The siteCollection - */ - public function getSiteCollection() - { - if (array_key_exists("siteCollection", $this->_propDict)) { - if (is_a($this->_propDict["siteCollection"], "\Beta\Microsoft\Graph\Model\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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\ItemAnalytics")) { - 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 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 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 pages - * The collection of pages in the SitePages list in this site. - * - * @return array 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 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 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 The termStore - */ - public function getTermStore() - { - if (array_key_exists("termStore", $this->_propDict)) { - if (is_a($this->_propDict["termStore"], "\Beta\Microsoft\Graph\TermStore\Model\Store")) { - 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 The onenote - */ - public function getOnenote() - { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index bc483b37..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteAccessType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SiteActivitySummary - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SiteActivitySummary - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SiteActivitySummary - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the sharedExternally - * - * @return int The sharedExternally - */ - public function getSharedExternally() - { - if (array_key_exists("sharedExternally", $this->_propDict)) { - return $this->_propDict["sharedExternally"]; - } else { - return null; - } - } - - /** - * Sets the sharedExternally - * - * @param int $val The sharedExternally - * - * @return SiteActivitySummary - */ - public function setSharedExternally($val) - { - $this->_propDict["sharedExternally"] = intval($val); - return $this; - } - - /** - * Gets the sharedInternally - * - * @return int The sharedInternally - */ - public function getSharedInternally() - { - if (array_key_exists("sharedInternally", $this->_propDict)) { - return $this->_propDict["sharedInternally"]; - } else { - return null; - } - } - - /** - * Sets the sharedInternally - * - * @param int $val The sharedInternally - * - * @return SiteActivitySummary - */ - public function setSharedInternally($val) - { - $this->_propDict["sharedInternally"] = intval($val); - return $this; - } - - /** - * Gets the synced - * - * @return int The synced - */ - public function getSynced() - { - if (array_key_exists("synced", $this->_propDict)) { - return $this->_propDict["synced"]; - } else { - return null; - } - } - - /** - * Sets the synced - * - * @param int $val The synced - * - * @return SiteActivitySummary - */ - public function setSynced($val) - { - $this->_propDict["synced"] = intval($val); - return $this; - } - - /** - * Gets the viewedOrEdited - * - * @return int The viewedOrEdited - */ - public function getViewedOrEdited() - { - if (array_key_exists("viewedOrEdited", $this->_propDict)) { - return $this->_propDict["viewedOrEdited"]; - } else { - return null; - } - } - - /** - * Sets the viewedOrEdited - * - * @param int $val The viewedOrEdited - * - * @return SiteActivitySummary - */ - public function setViewedOrEdited($val) - { - $this->_propDict["viewedOrEdited"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteCollection.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteCollection.php deleted file mode 100644 index d4edb3c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SiteCollection.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 02d0b84a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePage.php +++ /dev/null @@ -1,173 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo")) { - 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 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 The publishingState - */ - public function getPublishingState() - { - if (array_key_exists("publishingState", $this->_propDict)) { - if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\PublicationFacet")) { - 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 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 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 deleted file mode 100644 index 3d09ce70..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SitePageData.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SiteUsageStorage - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SiteUsageStorage - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SiteUsageStorage - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the siteType - * - * @return string The siteType - */ - public function getSiteType() - { - if (array_key_exists("siteType", $this->_propDict)) { - return $this->_propDict["siteType"]; - } else { - return null; - } - } - - /** - * Sets the siteType - * - * @param string $val The siteType - * - * @return SiteUsageStorage - */ - public function setSiteType($val) - { - $this->_propDict["siteType"] = $val; - return $this; - } - - /** - * Gets the storageUsedInBytes - * - * @return int The storageUsedInBytes - */ - public function getStorageUsedInBytes() - { - if (array_key_exists("storageUsedInBytes", $this->_propDict)) { - return $this->_propDict["storageUsedInBytes"]; - } else { - return null; - } - } - - /** - * Sets the storageUsedInBytes - * - * @param int $val The storageUsedInBytes - * - * @return SiteUsageStorage - */ - public function setStorageUsedInBytes($val) - { - $this->_propDict["storageUsedInBytes"] = intval($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 deleted file mode 100644 index 20b6c79a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SizeRange.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 54f91047..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiency.php +++ /dev/null @@ -1,203 +0,0 @@ -_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 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 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 The proficiency - */ - public function getProficiency() - { - if (array_key_exists("proficiency", $this->_propDict)) { - if (is_a($this->_propDict["proficiency"], "\Beta\Microsoft\Graph\Model\SkillProficiencyLevel")) { - 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 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 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 deleted file mode 100644 index 314cb998..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkillProficiencyLevel.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - return $this->_propDict["organized"]; - } else { - return null; - } - } - - /** - * Sets the organized - * - * @param int $val The organized - * - * @return SkypeForBusinessActivityCounts - */ - public function setOrganized($val) - { - $this->_propDict["organized"] = intval($val); - return $this; - } - - /** - * Gets the participated - * - * @return int The participated - */ - public function getParticipated() - { - if (array_key_exists("participated", $this->_propDict)) { - return $this->_propDict["participated"]; - } else { - return null; - } - } - - /** - * Sets the participated - * - * @param int $val The participated - * - * @return SkypeForBusinessActivityCounts - */ - public function setParticipated($val) - { - $this->_propDict["participated"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeer - * - * @return int The peerToPeer - */ - public function getPeerToPeer() - { - if (array_key_exists("peerToPeer", $this->_propDict)) { - return $this->_propDict["peerToPeer"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeer - * - * @param int $val The peerToPeer - * - * @return SkypeForBusinessActivityCounts - */ - public function setPeerToPeer($val) - { - $this->_propDict["peerToPeer"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessActivityCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessActivityCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessActivityCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessActivityUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessActivityUserCounts.php deleted file mode 100644 index 7068f213..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessActivityUserCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["organized"]; - } else { - return null; - } - } - - /** - * Sets the organized - * - * @param int $val The organized - * - * @return SkypeForBusinessActivityUserCounts - */ - public function setOrganized($val) - { - $this->_propDict["organized"] = intval($val); - return $this; - } - - /** - * Gets the participated - * - * @return int The participated - */ - public function getParticipated() - { - if (array_key_exists("participated", $this->_propDict)) { - return $this->_propDict["participated"]; - } else { - return null; - } - } - - /** - * Sets the participated - * - * @param int $val The participated - * - * @return SkypeForBusinessActivityUserCounts - */ - public function setParticipated($val) - { - $this->_propDict["participated"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeer - * - * @return int The peerToPeer - */ - public function getPeerToPeer() - { - if (array_key_exists("peerToPeer", $this->_propDict)) { - return $this->_propDict["peerToPeer"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeer - * - * @param int $val The peerToPeer - * - * @return SkypeForBusinessActivityUserCounts - */ - public function setPeerToPeer($val) - { - $this->_propDict["peerToPeer"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessActivityUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessActivityUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessActivityUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessActivityUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessActivityUserDetail.php deleted file mode 100644 index 5efcfb45..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessActivityUserDetail.php +++ /dev/null @@ -1,996 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedProducts"]; - } else { - return null; - } - } - - /** - * Sets the assignedProducts - * - * @param string $val The assignedProducts - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setAssignedProducts($val) - { - $this->_propDict["assignedProducts"] = $val; - return $this; - } - - /** - * Gets the deletedDate - * - * @return \DateTime The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 SkypeForBusinessActivityUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the organizedConferenceAppSharingCount - * - * @return int The organizedConferenceAppSharingCount - */ - public function getOrganizedConferenceAppSharingCount() - { - if (array_key_exists("organizedConferenceAppSharingCount", $this->_propDict)) { - return $this->_propDict["organizedConferenceAppSharingCount"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceAppSharingCount - * - * @param int $val The organizedConferenceAppSharingCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceAppSharingCount($val) - { - $this->_propDict["organizedConferenceAppSharingCount"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceAudioVideoCount - * - * @return int The organizedConferenceAudioVideoCount - */ - public function getOrganizedConferenceAudioVideoCount() - { - if (array_key_exists("organizedConferenceAudioVideoCount", $this->_propDict)) { - return $this->_propDict["organizedConferenceAudioVideoCount"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceAudioVideoCount - * - * @param int $val The organizedConferenceAudioVideoCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceAudioVideoCount($val) - { - $this->_propDict["organizedConferenceAudioVideoCount"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceAudioVideoMinutes - * - * @return int The organizedConferenceAudioVideoMinutes - */ - public function getOrganizedConferenceAudioVideoMinutes() - { - if (array_key_exists("organizedConferenceAudioVideoMinutes", $this->_propDict)) { - return $this->_propDict["organizedConferenceAudioVideoMinutes"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceAudioVideoMinutes - * - * @param int $val The organizedConferenceAudioVideoMinutes - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceAudioVideoMinutes($val) - { - $this->_propDict["organizedConferenceAudioVideoMinutes"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceCloudDialInMicrosoftMinutes - * - * @return int The organizedConferenceCloudDialInMicrosoftMinutes - */ - public function getOrganizedConferenceCloudDialInMicrosoftMinutes() - { - if (array_key_exists("organizedConferenceCloudDialInMicrosoftMinutes", $this->_propDict)) { - return $this->_propDict["organizedConferenceCloudDialInMicrosoftMinutes"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceCloudDialInMicrosoftMinutes - * - * @param int $val The organizedConferenceCloudDialInMicrosoftMinutes - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceCloudDialInMicrosoftMinutes($val) - { - $this->_propDict["organizedConferenceCloudDialInMicrosoftMinutes"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceCloudDialInOutMicrosoftCount - * - * @return int The organizedConferenceCloudDialInOutMicrosoftCount - */ - public function getOrganizedConferenceCloudDialInOutMicrosoftCount() - { - if (array_key_exists("organizedConferenceCloudDialInOutMicrosoftCount", $this->_propDict)) { - return $this->_propDict["organizedConferenceCloudDialInOutMicrosoftCount"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceCloudDialInOutMicrosoftCount - * - * @param int $val The organizedConferenceCloudDialInOutMicrosoftCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceCloudDialInOutMicrosoftCount($val) - { - $this->_propDict["organizedConferenceCloudDialInOutMicrosoftCount"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceCloudDialOutMicrosoftMinutes - * - * @return int The organizedConferenceCloudDialOutMicrosoftMinutes - */ - public function getOrganizedConferenceCloudDialOutMicrosoftMinutes() - { - if (array_key_exists("organizedConferenceCloudDialOutMicrosoftMinutes", $this->_propDict)) { - return $this->_propDict["organizedConferenceCloudDialOutMicrosoftMinutes"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceCloudDialOutMicrosoftMinutes - * - * @param int $val The organizedConferenceCloudDialOutMicrosoftMinutes - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceCloudDialOutMicrosoftMinutes($val) - { - $this->_propDict["organizedConferenceCloudDialOutMicrosoftMinutes"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceDialInOut3rdPartyCount - * - * @return int The organizedConferenceDialInOut3rdPartyCount - */ - public function getOrganizedConferenceDialInOut3rdPartyCount() - { - if (array_key_exists("organizedConferenceDialInOut3rdPartyCount", $this->_propDict)) { - return $this->_propDict["organizedConferenceDialInOut3rdPartyCount"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceDialInOut3rdPartyCount - * - * @param int $val The organizedConferenceDialInOut3rdPartyCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceDialInOut3rdPartyCount($val) - { - $this->_propDict["organizedConferenceDialInOut3rdPartyCount"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceIMCount - * - * @return int The organizedConferenceIMCount - */ - public function getOrganizedConferenceIMCount() - { - if (array_key_exists("organizedConferenceIMCount", $this->_propDict)) { - return $this->_propDict["organizedConferenceIMCount"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceIMCount - * - * @param int $val The organizedConferenceIMCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceIMCount($val) - { - $this->_propDict["organizedConferenceIMCount"] = intval($val); - return $this; - } - - /** - * Gets the organizedConferenceLastActivityDate - * - * @return \DateTime The organizedConferenceLastActivityDate - */ - public function getOrganizedConferenceLastActivityDate() - { - if (array_key_exists("organizedConferenceLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["organizedConferenceLastActivityDate"], "\DateTime")) { - return $this->_propDict["organizedConferenceLastActivityDate"]; - } else { - $this->_propDict["organizedConferenceLastActivityDate"] = new \DateTime($this->_propDict["organizedConferenceLastActivityDate"]); - return $this->_propDict["organizedConferenceLastActivityDate"]; - } - } - return null; - } - - /** - * Sets the organizedConferenceLastActivityDate - * - * @param \DateTime $val The organizedConferenceLastActivityDate - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceLastActivityDate($val) - { - $this->_propDict["organizedConferenceLastActivityDate"] = $val; - return $this; - } - - /** - * Gets the organizedConferenceWebCount - * - * @return int The organizedConferenceWebCount - */ - public function getOrganizedConferenceWebCount() - { - if (array_key_exists("organizedConferenceWebCount", $this->_propDict)) { - return $this->_propDict["organizedConferenceWebCount"]; - } else { - return null; - } - } - - /** - * Sets the organizedConferenceWebCount - * - * @param int $val The organizedConferenceWebCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setOrganizedConferenceWebCount($val) - { - $this->_propDict["organizedConferenceWebCount"] = intval($val); - return $this; - } - - /** - * Gets the participatedConferenceAppSharingCount - * - * @return int The participatedConferenceAppSharingCount - */ - public function getParticipatedConferenceAppSharingCount() - { - if (array_key_exists("participatedConferenceAppSharingCount", $this->_propDict)) { - return $this->_propDict["participatedConferenceAppSharingCount"]; - } else { - return null; - } - } - - /** - * Sets the participatedConferenceAppSharingCount - * - * @param int $val The participatedConferenceAppSharingCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceAppSharingCount($val) - { - $this->_propDict["participatedConferenceAppSharingCount"] = intval($val); - return $this; - } - - /** - * Gets the participatedConferenceAudioVideoCount - * - * @return int The participatedConferenceAudioVideoCount - */ - public function getParticipatedConferenceAudioVideoCount() - { - if (array_key_exists("participatedConferenceAudioVideoCount", $this->_propDict)) { - return $this->_propDict["participatedConferenceAudioVideoCount"]; - } else { - return null; - } - } - - /** - * Sets the participatedConferenceAudioVideoCount - * - * @param int $val The participatedConferenceAudioVideoCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceAudioVideoCount($val) - { - $this->_propDict["participatedConferenceAudioVideoCount"] = intval($val); - return $this; - } - - /** - * Gets the participatedConferenceAudioVideoMinutes - * - * @return int The participatedConferenceAudioVideoMinutes - */ - public function getParticipatedConferenceAudioVideoMinutes() - { - if (array_key_exists("participatedConferenceAudioVideoMinutes", $this->_propDict)) { - return $this->_propDict["participatedConferenceAudioVideoMinutes"]; - } else { - return null; - } - } - - /** - * Sets the participatedConferenceAudioVideoMinutes - * - * @param int $val The participatedConferenceAudioVideoMinutes - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceAudioVideoMinutes($val) - { - $this->_propDict["participatedConferenceAudioVideoMinutes"] = intval($val); - return $this; - } - - /** - * Gets the participatedConferenceDialInOut3rdPartyCount - * - * @return int The participatedConferenceDialInOut3rdPartyCount - */ - public function getParticipatedConferenceDialInOut3rdPartyCount() - { - if (array_key_exists("participatedConferenceDialInOut3rdPartyCount", $this->_propDict)) { - return $this->_propDict["participatedConferenceDialInOut3rdPartyCount"]; - } else { - return null; - } - } - - /** - * Sets the participatedConferenceDialInOut3rdPartyCount - * - * @param int $val The participatedConferenceDialInOut3rdPartyCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceDialInOut3rdPartyCount($val) - { - $this->_propDict["participatedConferenceDialInOut3rdPartyCount"] = intval($val); - return $this; - } - - /** - * Gets the participatedConferenceIMCount - * - * @return int The participatedConferenceIMCount - */ - public function getParticipatedConferenceIMCount() - { - if (array_key_exists("participatedConferenceIMCount", $this->_propDict)) { - return $this->_propDict["participatedConferenceIMCount"]; - } else { - return null; - } - } - - /** - * Sets the participatedConferenceIMCount - * - * @param int $val The participatedConferenceIMCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceIMCount($val) - { - $this->_propDict["participatedConferenceIMCount"] = intval($val); - return $this; - } - - /** - * Gets the participatedConferenceLastActivityDate - * - * @return \DateTime The participatedConferenceLastActivityDate - */ - public function getParticipatedConferenceLastActivityDate() - { - if (array_key_exists("participatedConferenceLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["participatedConferenceLastActivityDate"], "\DateTime")) { - return $this->_propDict["participatedConferenceLastActivityDate"]; - } else { - $this->_propDict["participatedConferenceLastActivityDate"] = new \DateTime($this->_propDict["participatedConferenceLastActivityDate"]); - return $this->_propDict["participatedConferenceLastActivityDate"]; - } - } - return null; - } - - /** - * Sets the participatedConferenceLastActivityDate - * - * @param \DateTime $val The participatedConferenceLastActivityDate - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceLastActivityDate($val) - { - $this->_propDict["participatedConferenceLastActivityDate"] = $val; - return $this; - } - - /** - * Gets the participatedConferenceWebCount - * - * @return int The participatedConferenceWebCount - */ - public function getParticipatedConferenceWebCount() - { - if (array_key_exists("participatedConferenceWebCount", $this->_propDict)) { - return $this->_propDict["participatedConferenceWebCount"]; - } else { - return null; - } - } - - /** - * Sets the participatedConferenceWebCount - * - * @param int $val The participatedConferenceWebCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setParticipatedConferenceWebCount($val) - { - $this->_propDict["participatedConferenceWebCount"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerAppSharingCount - * - * @return int The peerToPeerAppSharingCount - */ - public function getPeerToPeerAppSharingCount() - { - if (array_key_exists("peerToPeerAppSharingCount", $this->_propDict)) { - return $this->_propDict["peerToPeerAppSharingCount"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerAppSharingCount - * - * @param int $val The peerToPeerAppSharingCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerAppSharingCount($val) - { - $this->_propDict["peerToPeerAppSharingCount"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerAudioCount - * - * @return int The peerToPeerAudioCount - */ - public function getPeerToPeerAudioCount() - { - if (array_key_exists("peerToPeerAudioCount", $this->_propDict)) { - return $this->_propDict["peerToPeerAudioCount"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerAudioCount - * - * @param int $val The peerToPeerAudioCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerAudioCount($val) - { - $this->_propDict["peerToPeerAudioCount"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerAudioMinutes - * - * @return int The peerToPeerAudioMinutes - */ - public function getPeerToPeerAudioMinutes() - { - if (array_key_exists("peerToPeerAudioMinutes", $this->_propDict)) { - return $this->_propDict["peerToPeerAudioMinutes"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerAudioMinutes - * - * @param int $val The peerToPeerAudioMinutes - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerAudioMinutes($val) - { - $this->_propDict["peerToPeerAudioMinutes"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerFileTransferCount - * - * @return int The peerToPeerFileTransferCount - */ - public function getPeerToPeerFileTransferCount() - { - if (array_key_exists("peerToPeerFileTransferCount", $this->_propDict)) { - return $this->_propDict["peerToPeerFileTransferCount"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerFileTransferCount - * - * @param int $val The peerToPeerFileTransferCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerFileTransferCount($val) - { - $this->_propDict["peerToPeerFileTransferCount"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerIMCount - * - * @return int The peerToPeerIMCount - */ - public function getPeerToPeerIMCount() - { - if (array_key_exists("peerToPeerIMCount", $this->_propDict)) { - return $this->_propDict["peerToPeerIMCount"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerIMCount - * - * @param int $val The peerToPeerIMCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerIMCount($val) - { - $this->_propDict["peerToPeerIMCount"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerLastActivityDate - * - * @return \DateTime The peerToPeerLastActivityDate - */ - public function getPeerToPeerLastActivityDate() - { - if (array_key_exists("peerToPeerLastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["peerToPeerLastActivityDate"], "\DateTime")) { - return $this->_propDict["peerToPeerLastActivityDate"]; - } else { - $this->_propDict["peerToPeerLastActivityDate"] = new \DateTime($this->_propDict["peerToPeerLastActivityDate"]); - return $this->_propDict["peerToPeerLastActivityDate"]; - } - } - return null; - } - - /** - * Sets the peerToPeerLastActivityDate - * - * @param \DateTime $val The peerToPeerLastActivityDate - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerLastActivityDate($val) - { - $this->_propDict["peerToPeerLastActivityDate"] = $val; - return $this; - } - - /** - * Gets the peerToPeerVideoCount - * - * @return int The peerToPeerVideoCount - */ - public function getPeerToPeerVideoCount() - { - if (array_key_exists("peerToPeerVideoCount", $this->_propDict)) { - return $this->_propDict["peerToPeerVideoCount"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerVideoCount - * - * @param int $val The peerToPeerVideoCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerVideoCount($val) - { - $this->_propDict["peerToPeerVideoCount"] = intval($val); - return $this; - } - - /** - * Gets the peerToPeerVideoMinutes - * - * @return int The peerToPeerVideoMinutes - */ - public function getPeerToPeerVideoMinutes() - { - if (array_key_exists("peerToPeerVideoMinutes", $this->_propDict)) { - return $this->_propDict["peerToPeerVideoMinutes"]; - } else { - return null; - } - } - - /** - * Sets the peerToPeerVideoMinutes - * - * @param int $val The peerToPeerVideoMinutes - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setPeerToPeerVideoMinutes($val) - { - $this->_propDict["peerToPeerVideoMinutes"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the totalOrganizedConferenceCount - * - * @return int The totalOrganizedConferenceCount - */ - public function getTotalOrganizedConferenceCount() - { - if (array_key_exists("totalOrganizedConferenceCount", $this->_propDict)) { - return $this->_propDict["totalOrganizedConferenceCount"]; - } else { - return null; - } - } - - /** - * Sets the totalOrganizedConferenceCount - * - * @param int $val The totalOrganizedConferenceCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setTotalOrganizedConferenceCount($val) - { - $this->_propDict["totalOrganizedConferenceCount"] = intval($val); - return $this; - } - - /** - * Gets the totalParticipatedConferenceCount - * - * @return int The totalParticipatedConferenceCount - */ - public function getTotalParticipatedConferenceCount() - { - if (array_key_exists("totalParticipatedConferenceCount", $this->_propDict)) { - return $this->_propDict["totalParticipatedConferenceCount"]; - } else { - return null; - } - } - - /** - * Sets the totalParticipatedConferenceCount - * - * @param int $val The totalParticipatedConferenceCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setTotalParticipatedConferenceCount($val) - { - $this->_propDict["totalParticipatedConferenceCount"] = intval($val); - return $this; - } - - /** - * Gets the totalPeerToPeerSessionCount - * - * @return int The totalPeerToPeerSessionCount - */ - public function getTotalPeerToPeerSessionCount() - { - if (array_key_exists("totalPeerToPeerSessionCount", $this->_propDict)) { - return $this->_propDict["totalPeerToPeerSessionCount"]; - } else { - return null; - } - } - - /** - * Sets the totalPeerToPeerSessionCount - * - * @param int $val The totalPeerToPeerSessionCount - * - * @return SkypeForBusinessActivityUserDetail - */ - public function setTotalPeerToPeerSessionCount($val) - { - $this->_propDict["totalPeerToPeerSessionCount"] = intval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 SkypeForBusinessActivityUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageDistributionUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageDistributionUserCounts.php deleted file mode 100644 index b0e55a2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageDistributionUserCounts.php +++ /dev/null @@ -1,220 +0,0 @@ -_propDict)) { - return $this->_propDict["androidPhone"]; - } else { - return null; - } - } - - /** - * Sets the androidPhone - * - * @param int $val The androidPhone - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setAndroidPhone($val) - { - $this->_propDict["androidPhone"] = intval($val); - return $this; - } - - /** - * Gets the iPad - * - * @return int The iPad - */ - public function getIPad() - { - if (array_key_exists("iPad", $this->_propDict)) { - return $this->_propDict["iPad"]; - } else { - return null; - } - } - - /** - * Sets the iPad - * - * @param int $val The iPad - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setIPad($val) - { - $this->_propDict["iPad"] = intval($val); - return $this; - } - - /** - * Gets the iPhone - * - * @return int The iPhone - */ - public function getIPhone() - { - if (array_key_exists("iPhone", $this->_propDict)) { - return $this->_propDict["iPhone"]; - } else { - return null; - } - } - - /** - * Sets the iPhone - * - * @param int $val The iPhone - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setIPhone($val) - { - $this->_propDict["iPhone"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the windows - * - * @return int The windows - */ - public function getWindows() - { - if (array_key_exists("windows", $this->_propDict)) { - return $this->_propDict["windows"]; - } else { - return null; - } - } - - /** - * Sets the windows - * - * @param int $val The windows - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setWindows($val) - { - $this->_propDict["windows"] = intval($val); - return $this; - } - - /** - * Gets the windowsPhone - * - * @return int The windowsPhone - */ - public function getWindowsPhone() - { - if (array_key_exists("windowsPhone", $this->_propDict)) { - return $this->_propDict["windowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the windowsPhone - * - * @param int $val The windowsPhone - * - * @return SkypeForBusinessDeviceUsageDistributionUserCounts - */ - public function setWindowsPhone($val) - { - $this->_propDict["windowsPhone"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageUserCounts.php deleted file mode 100644 index 51fa988d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageUserCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["androidPhone"]; - } else { - return null; - } - } - - /** - * Sets the androidPhone - * - * @param int $val The androidPhone - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setAndroidPhone($val) - { - $this->_propDict["androidPhone"] = intval($val); - return $this; - } - - /** - * Gets the iPad - * - * @return int The iPad - */ - public function getIPad() - { - if (array_key_exists("iPad", $this->_propDict)) { - return $this->_propDict["iPad"]; - } else { - return null; - } - } - - /** - * Sets the iPad - * - * @param int $val The iPad - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setIPad($val) - { - $this->_propDict["iPad"] = intval($val); - return $this; - } - - /** - * Gets the iPhone - * - * @return int The iPhone - */ - public function getIPhone() - { - if (array_key_exists("iPhone", $this->_propDict)) { - return $this->_propDict["iPhone"]; - } else { - return null; - } - } - - /** - * Sets the iPhone - * - * @param int $val The iPhone - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setIPhone($val) - { - $this->_propDict["iPhone"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the windows - * - * @return int The windows - */ - public function getWindows() - { - if (array_key_exists("windows", $this->_propDict)) { - return $this->_propDict["windows"]; - } else { - return null; - } - } - - /** - * Sets the windows - * - * @param int $val The windows - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setWindows($val) - { - $this->_propDict["windows"] = intval($val); - return $this; - } - - /** - * Gets the windowsPhone - * - * @return int The windowsPhone - */ - public function getWindowsPhone() - { - if (array_key_exists("windowsPhone", $this->_propDict)) { - return $this->_propDict["windowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the windowsPhone - * - * @param int $val The windowsPhone - * - * @return SkypeForBusinessDeviceUsageUserCounts - */ - public function setWindowsPhone($val) - { - $this->_propDict["windowsPhone"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageUserDetail.php deleted file mode 100644 index fb696037..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessDeviceUsageUserDetail.php +++ /dev/null @@ -1,278 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the usedAndroidPhone - * - * @return bool The usedAndroidPhone - */ - public function getUsedAndroidPhone() - { - if (array_key_exists("usedAndroidPhone", $this->_propDict)) { - return $this->_propDict["usedAndroidPhone"]; - } else { - return null; - } - } - - /** - * Sets the usedAndroidPhone - * - * @param bool $val The usedAndroidPhone - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setUsedAndroidPhone($val) - { - $this->_propDict["usedAndroidPhone"] = boolval($val); - return $this; - } - - /** - * Gets the usediPad - * - * @return bool The usediPad - */ - public function getUsediPad() - { - if (array_key_exists("usediPad", $this->_propDict)) { - return $this->_propDict["usediPad"]; - } else { - return null; - } - } - - /** - * Sets the usediPad - * - * @param bool $val The usediPad - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setUsediPad($val) - { - $this->_propDict["usediPad"] = boolval($val); - return $this; - } - - /** - * Gets the usediPhone - * - * @return bool The usediPhone - */ - public function getUsediPhone() - { - if (array_key_exists("usediPhone", $this->_propDict)) { - return $this->_propDict["usediPhone"]; - } else { - return null; - } - } - - /** - * Sets the usediPhone - * - * @param bool $val The usediPhone - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setUsediPhone($val) - { - $this->_propDict["usediPhone"] = boolval($val); - return $this; - } - - /** - * Gets the usedWindows - * - * @return bool The usedWindows - */ - public function getUsedWindows() - { - if (array_key_exists("usedWindows", $this->_propDict)) { - return $this->_propDict["usedWindows"]; - } else { - return null; - } - } - - /** - * Sets the usedWindows - * - * @param bool $val The usedWindows - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setUsedWindows($val) - { - $this->_propDict["usedWindows"] = boolval($val); - return $this; - } - - /** - * Gets the usedWindowsPhone - * - * @return bool The usedWindowsPhone - */ - public function getUsedWindowsPhone() - { - if (array_key_exists("usedWindowsPhone", $this->_propDict)) { - return $this->_propDict["usedWindowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the usedWindowsPhone - * - * @param bool $val The usedWindowsPhone - * - * @return SkypeForBusinessDeviceUsageUserDetail - */ - public function setUsedWindowsPhone($val) - { - $this->_propDict["usedWindowsPhone"] = boolval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 SkypeForBusinessDeviceUsageUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityCounts.php deleted file mode 100644 index ea3e737d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityCounts.php +++ /dev/null @@ -1,278 +0,0 @@ -_propDict)) { - return $this->_propDict["appSharing"]; - } else { - return null; - } - } - - /** - * Sets the appSharing - * - * @param int $val The appSharing - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setAppSharing($val) - { - $this->_propDict["appSharing"] = intval($val); - return $this; - } - - /** - * Gets the audioVideo - * - * @return int The audioVideo - */ - public function getAudioVideo() - { - if (array_key_exists("audioVideo", $this->_propDict)) { - return $this->_propDict["audioVideo"]; - } else { - return null; - } - } - - /** - * Sets the audioVideo - * - * @param int $val The audioVideo - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setAudioVideo($val) - { - $this->_propDict["audioVideo"] = intval($val); - return $this; - } - - /** - * Gets the dialInOut3rdParty - * - * @return int The dialInOut3rdParty - */ - public function getDialInOut3rdParty() - { - if (array_key_exists("dialInOut3rdParty", $this->_propDict)) { - return $this->_propDict["dialInOut3rdParty"]; - } else { - return null; - } - } - - /** - * Sets the dialInOut3rdParty - * - * @param int $val The dialInOut3rdParty - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setDialInOut3rdParty($val) - { - $this->_propDict["dialInOut3rdParty"] = intval($val); - return $this; - } - - /** - * Gets the dialInOutMicrosoft - * - * @return int The dialInOutMicrosoft - */ - public function getDialInOutMicrosoft() - { - if (array_key_exists("dialInOutMicrosoft", $this->_propDict)) { - return $this->_propDict["dialInOutMicrosoft"]; - } else { - return null; - } - } - - /** - * Sets the dialInOutMicrosoft - * - * @param int $val The dialInOutMicrosoft - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setDialInOutMicrosoft($val) - { - $this->_propDict["dialInOutMicrosoft"] = intval($val); - return $this; - } - - /** - * Gets the im - * - * @return int The im - */ - public function getIm() - { - if (array_key_exists("im", $this->_propDict)) { - return $this->_propDict["im"]; - } else { - return null; - } - } - - /** - * Sets the im - * - * @param int $val The im - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setIm($val) - { - $this->_propDict["im"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return SkypeForBusinessOrganizerActivityCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityMinuteCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityMinuteCounts.php deleted file mode 100644 index b625d63b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityMinuteCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["audioVideo"]; - } else { - return null; - } - } - - /** - * Sets the audioVideo - * - * @param int $val The audioVideo - * - * @return SkypeForBusinessOrganizerActivityMinuteCounts - */ - public function setAudioVideo($val) - { - $this->_propDict["audioVideo"] = intval($val); - return $this; - } - - /** - * Gets the dialInMicrosoft - * - * @return int The dialInMicrosoft - */ - public function getDialInMicrosoft() - { - if (array_key_exists("dialInMicrosoft", $this->_propDict)) { - return $this->_propDict["dialInMicrosoft"]; - } else { - return null; - } - } - - /** - * Sets the dialInMicrosoft - * - * @param int $val The dialInMicrosoft - * - * @return SkypeForBusinessOrganizerActivityMinuteCounts - */ - public function setDialInMicrosoft($val) - { - $this->_propDict["dialInMicrosoft"] = intval($val); - return $this; - } - - /** - * Gets the dialOutMicrosoft - * - * @return int The dialOutMicrosoft - */ - public function getDialOutMicrosoft() - { - if (array_key_exists("dialOutMicrosoft", $this->_propDict)) { - return $this->_propDict["dialOutMicrosoft"]; - } else { - return null; - } - } - - /** - * Sets the dialOutMicrosoft - * - * @param int $val The dialOutMicrosoft - * - * @return SkypeForBusinessOrganizerActivityMinuteCounts - */ - public function setDialOutMicrosoft($val) - { - $this->_propDict["dialOutMicrosoft"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessOrganizerActivityMinuteCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessOrganizerActivityMinuteCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessOrganizerActivityMinuteCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityUserCounts.php deleted file mode 100644 index cc4fd5d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessOrganizerActivityUserCounts.php +++ /dev/null @@ -1,278 +0,0 @@ -_propDict)) { - return $this->_propDict["appSharing"]; - } else { - return null; - } - } - - /** - * Sets the appSharing - * - * @param int $val The appSharing - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setAppSharing($val) - { - $this->_propDict["appSharing"] = intval($val); - return $this; - } - - /** - * Gets the audioVideo - * - * @return int The audioVideo - */ - public function getAudioVideo() - { - if (array_key_exists("audioVideo", $this->_propDict)) { - return $this->_propDict["audioVideo"]; - } else { - return null; - } - } - - /** - * Sets the audioVideo - * - * @param int $val The audioVideo - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setAudioVideo($val) - { - $this->_propDict["audioVideo"] = intval($val); - return $this; - } - - /** - * Gets the dialInOut3rdParty - * - * @return int The dialInOut3rdParty - */ - public function getDialInOut3rdParty() - { - if (array_key_exists("dialInOut3rdParty", $this->_propDict)) { - return $this->_propDict["dialInOut3rdParty"]; - } else { - return null; - } - } - - /** - * Sets the dialInOut3rdParty - * - * @param int $val The dialInOut3rdParty - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setDialInOut3rdParty($val) - { - $this->_propDict["dialInOut3rdParty"] = intval($val); - return $this; - } - - /** - * Gets the dialInOutMicrosoft - * - * @return int The dialInOutMicrosoft - */ - public function getDialInOutMicrosoft() - { - if (array_key_exists("dialInOutMicrosoft", $this->_propDict)) { - return $this->_propDict["dialInOutMicrosoft"]; - } else { - return null; - } - } - - /** - * Sets the dialInOutMicrosoft - * - * @param int $val The dialInOutMicrosoft - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setDialInOutMicrosoft($val) - { - $this->_propDict["dialInOutMicrosoft"] = intval($val); - return $this; - } - - /** - * Gets the im - * - * @return int The im - */ - public function getIm() - { - if (array_key_exists("im", $this->_propDict)) { - return $this->_propDict["im"]; - } else { - return null; - } - } - - /** - * Sets the im - * - * @param int $val The im - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setIm($val) - { - $this->_propDict["im"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return SkypeForBusinessOrganizerActivityUserCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityCounts.php deleted file mode 100644 index 13991354..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["appSharing"]; - } else { - return null; - } - } - - /** - * Sets the appSharing - * - * @param int $val The appSharing - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setAppSharing($val) - { - $this->_propDict["appSharing"] = intval($val); - return $this; - } - - /** - * Gets the audioVideo - * - * @return int The audioVideo - */ - public function getAudioVideo() - { - if (array_key_exists("audioVideo", $this->_propDict)) { - return $this->_propDict["audioVideo"]; - } else { - return null; - } - } - - /** - * Sets the audioVideo - * - * @param int $val The audioVideo - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setAudioVideo($val) - { - $this->_propDict["audioVideo"] = intval($val); - return $this; - } - - /** - * Gets the dialInOut3rdParty - * - * @return int The dialInOut3rdParty - */ - public function getDialInOut3rdParty() - { - if (array_key_exists("dialInOut3rdParty", $this->_propDict)) { - return $this->_propDict["dialInOut3rdParty"]; - } else { - return null; - } - } - - /** - * Sets the dialInOut3rdParty - * - * @param int $val The dialInOut3rdParty - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setDialInOut3rdParty($val) - { - $this->_propDict["dialInOut3rdParty"] = intval($val); - return $this; - } - - /** - * Gets the im - * - * @return int The im - */ - public function getIm() - { - if (array_key_exists("im", $this->_propDict)) { - return $this->_propDict["im"]; - } else { - return null; - } - } - - /** - * Sets the im - * - * @param int $val The im - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setIm($val) - { - $this->_propDict["im"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return SkypeForBusinessParticipantActivityCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityMinuteCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityMinuteCounts.php deleted file mode 100644 index 20a22079..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityMinuteCounts.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - return $this->_propDict["audiovideo"]; - } else { - return null; - } - } - - /** - * Sets the audiovideo - * - * @param int $val The audiovideo - * - * @return SkypeForBusinessParticipantActivityMinuteCounts - */ - public function setAudiovideo($val) - { - $this->_propDict["audiovideo"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessParticipantActivityMinuteCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessParticipantActivityMinuteCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessParticipantActivityMinuteCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityUserCounts.php deleted file mode 100644 index 8891f7fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessParticipantActivityUserCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["appSharing"]; - } else { - return null; - } - } - - /** - * Sets the appSharing - * - * @param int $val The appSharing - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setAppSharing($val) - { - $this->_propDict["appSharing"] = intval($val); - return $this; - } - - /** - * Gets the audioVideo - * - * @return int The audioVideo - */ - public function getAudioVideo() - { - if (array_key_exists("audioVideo", $this->_propDict)) { - return $this->_propDict["audioVideo"]; - } else { - return null; - } - } - - /** - * Sets the audioVideo - * - * @param int $val The audioVideo - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setAudioVideo($val) - { - $this->_propDict["audioVideo"] = intval($val); - return $this; - } - - /** - * Gets the dialInOut3rdParty - * - * @return int The dialInOut3rdParty - */ - public function getDialInOut3rdParty() - { - if (array_key_exists("dialInOut3rdParty", $this->_propDict)) { - return $this->_propDict["dialInOut3rdParty"]; - } else { - return null; - } - } - - /** - * Sets the dialInOut3rdParty - * - * @param int $val The dialInOut3rdParty - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setDialInOut3rdParty($val) - { - $this->_propDict["dialInOut3rdParty"] = intval($val); - return $this; - } - - /** - * Gets the im - * - * @return int The im - */ - public function getIm() - { - if (array_key_exists("im", $this->_propDict)) { - return $this->_propDict["im"]; - } else { - return null; - } - } - - /** - * Sets the im - * - * @param int $val The im - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setIm($val) - { - $this->_propDict["im"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return SkypeForBusinessParticipantActivityUserCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityCounts.php deleted file mode 100644 index 52b9fccd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["appSharing"]; - } else { - return null; - } - } - - /** - * Sets the appSharing - * - * @param int $val The appSharing - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setAppSharing($val) - { - $this->_propDict["appSharing"] = intval($val); - return $this; - } - - /** - * Gets the audio - * - * @return int The audio - */ - public function getAudio() - { - if (array_key_exists("audio", $this->_propDict)) { - return $this->_propDict["audio"]; - } else { - return null; - } - } - - /** - * Sets the audio - * - * @param int $val The audio - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setAudio($val) - { - $this->_propDict["audio"] = intval($val); - return $this; - } - - /** - * Gets the fileTransfer - * - * @return int The fileTransfer - */ - public function getFileTransfer() - { - if (array_key_exists("fileTransfer", $this->_propDict)) { - return $this->_propDict["fileTransfer"]; - } else { - return null; - } - } - - /** - * Sets the fileTransfer - * - * @param int $val The fileTransfer - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setFileTransfer($val) - { - $this->_propDict["fileTransfer"] = intval($val); - return $this; - } - - /** - * Gets the im - * - * @return int The im - */ - public function getIm() - { - if (array_key_exists("im", $this->_propDict)) { - return $this->_propDict["im"]; - } else { - return null; - } - } - - /** - * Sets the im - * - * @param int $val The im - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setIm($val) - { - $this->_propDict["im"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the video - * - * @return int The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - return $this->_propDict["video"]; - } else { - return null; - } - } - - /** - * Sets the video - * - * @param int $val The video - * - * @return SkypeForBusinessPeerToPeerActivityCounts - */ - public function setVideo($val) - { - $this->_propDict["video"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityMinuteCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityMinuteCounts.php deleted file mode 100644 index ea562a86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityMinuteCounts.php +++ /dev/null @@ -1,170 +0,0 @@ -_propDict)) { - return $this->_propDict["audio"]; - } else { - return null; - } - } - - /** - * Sets the audio - * - * @param int $val The audio - * - * @return SkypeForBusinessPeerToPeerActivityMinuteCounts - */ - public function setAudio($val) - { - $this->_propDict["audio"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessPeerToPeerActivityMinuteCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessPeerToPeerActivityMinuteCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessPeerToPeerActivityMinuteCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the video - * - * @return int The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - return $this->_propDict["video"]; - } else { - return null; - } - } - - /** - * Sets the video - * - * @param int $val The video - * - * @return SkypeForBusinessPeerToPeerActivityMinuteCounts - */ - public function setVideo($val) - { - $this->_propDict["video"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityUserCounts.php deleted file mode 100644 index c769f44b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SkypeForBusinessPeerToPeerActivityUserCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["appSharing"]; - } else { - return null; - } - } - - /** - * Sets the appSharing - * - * @param int $val The appSharing - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setAppSharing($val) - { - $this->_propDict["appSharing"] = intval($val); - return $this; - } - - /** - * Gets the audio - * - * @return int The audio - */ - public function getAudio() - { - if (array_key_exists("audio", $this->_propDict)) { - return $this->_propDict["audio"]; - } else { - return null; - } - } - - /** - * Sets the audio - * - * @param int $val The audio - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setAudio($val) - { - $this->_propDict["audio"] = intval($val); - return $this; - } - - /** - * Gets the fileTransfer - * - * @return int The fileTransfer - */ - public function getFileTransfer() - { - if (array_key_exists("fileTransfer", $this->_propDict)) { - return $this->_propDict["fileTransfer"]; - } else { - return null; - } - } - - /** - * Sets the fileTransfer - * - * @param int $val The fileTransfer - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setFileTransfer($val) - { - $this->_propDict["fileTransfer"] = intval($val); - return $this; - } - - /** - * Gets the im - * - * @return int The im - */ - public function getIm() - { - if (array_key_exists("im", $this->_propDict)) { - return $this->_propDict["im"]; - } else { - return null; - } - } - - /** - * Sets the im - * - * @param int $val The im - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setIm($val) - { - $this->_propDict["im"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the video - * - * @return int The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - return $this->_propDict["video"]; - } else { - return null; - } - } - - /** - * Sets the video - * - * @param int $val The video - * - * @return SkypeForBusinessPeerToPeerActivityUserCounts - */ - public function setVideo($val) - { - $this->_propDict["video"] = intval($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 deleted file mode 100644 index 2c87e4e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index dccb3857..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SmsAuthenticationMethodTarget.php +++ /dev/null @@ -1,56 +0,0 @@ -_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/SoftwareUpdateStatusSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareUpdateStatusSummary.php deleted file mode 100644 index 8d387271..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SoftwareUpdateStatusSummary.php +++ /dev/null @@ -1,462 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 6f2dd867..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SortProperty.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 2d0eb5ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpaApplication.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index d36217af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecialFolder.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index a9883edb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SpecifiedCaptiveNetworkPlugins.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/StagedFeatureName.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StagedFeatureName.php deleted file mode 100644 index 87433c8d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StagedFeatureName.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The dayOfWeek - */ - public function getDayOfWeek() - { - if (array_key_exists("dayOfWeek", $this->_propDict)) { - if (is_a($this->_propDict["dayOfWeek"], "\Beta\Microsoft\Graph\Model\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 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 The time - */ - public function getTime() - { - if (array_key_exists("time", $this->_propDict)) { - if (is_a($this->_propDict["time"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 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/StateManagementSetting.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StateManagementSetting.php deleted file mode 100644 index c47ce1d2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StateManagementSetting.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ProvisioningResult")) { - 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 deleted file mode 100644 index 889af368..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StatusDetails.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 string The errorCategory - */ - public function getErrorCategory() - { - if (array_key_exists("errorCategory", $this->_propDict)) { - return $this->_propDict["errorCategory"]; - } else { - return null; - } - } - - /** - * Sets the errorCategory - * Categorizes the error code. Possible values are Failure, NonServiceFailure, Success. - * - * @param string $val The value of the errorCategory - * - * @return StatusDetails - */ - public function setErrorCategory($val) - { - $this->_propDict["errorCategory"] = $val; - return $this; - } - /** - * Gets the errorCode - * Unique error code if any occurred. Learn more - * - * @return string 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 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 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/StoragePlanInformation.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StoragePlanInformation.php deleted file mode 100644 index 175cecac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StoragePlanInformation.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index b1b0d701..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyAttributeMappingSourceValuePair.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\AttributeMappingSource")) { - 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 deleted file mode 100644 index 4346f2ba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyLongValuePair.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 61431023..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyObjectValuePair.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index fa9dd4df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StringKeyStringValuePair.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/StsPolicy.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StsPolicy.php deleted file mode 100644 index 3c0c6329..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StsPolicy.php +++ /dev/null @@ -1,113 +0,0 @@ -_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 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 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 deleted file mode 100644 index dcb2381d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SubjectAlternativeNameType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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. - * - * @return string 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. - * - * @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 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 The prepaidUnits - */ - public function getPrepaidUnits() - { - if (array_key_exists("prepaidUnits", $this->_propDict)) { - if (is_a($this->_propDict["prepaidUnits"], "\Beta\Microsoft\Graph\Model\LicenseUnitsDetail")) { - 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 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 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 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 deleted file mode 100644 index a5669202..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Subscription.php +++ /dev/null @@ -1,437 +0,0 @@ -_propDict)) { - return $this->_propDict["applicationId"]; - } else { - return null; - } - } - - /** - * Sets the applicationId - * 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 - * 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. Required. 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 The changeType - */ - public function getChangeType() - { - if (array_key_exists("changeType", $this->_propDict)) { - return $this->_propDict["changeType"]; - } else { - return null; - } - } - - /** - * Sets the changeType - * 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. Required. 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 - * 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. Optional. - * - * @return string The clientState - */ - public function getClientState() - { - if (array_key_exists("clientState", $this->_propDict)) { - return $this->_propDict["clientState"]; - } else { - return null; - } - } - - /** - * Sets the clientState - * 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. Optional. - * - * @param string $val The clientState - * - * @return Subscription - */ - public function setClientState($val) - { - $this->_propDict["clientState"] = $val; - return $this; - } - - /** - * Gets the creatorId - * 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 The creatorId - */ - public function getCreatorId() - { - if (array_key_exists("creatorId", $this->_propDict)) { - return $this->_propDict["creatorId"]; - } else { - return null; - } - } - - /** - * Sets the creatorId - * 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 - * A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. Required when includeResourceData is true. - * - * @return string The encryptionCertificate - */ - public function getEncryptionCertificate() - { - if (array_key_exists("encryptionCertificate", $this->_propDict)) { - return $this->_propDict["encryptionCertificate"]; - } else { - return null; - } - } - - /** - * Sets the encryptionCertificate - * A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. 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 - * A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional. Required when includeResourceData is true. - * - * @return string The encryptionCertificateId - */ - public function getEncryptionCertificateId() - { - if (array_key_exists("encryptionCertificateId", $this->_propDict)) { - return $this->_propDict["encryptionCertificateId"]; - } else { - return null; - } - } - - /** - * Sets the encryptionCertificateId - * A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional. 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 - * 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. See the table below for maximum supported subscription length of time. Required. - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - return $this->_propDict["expirationDateTime"]; - } else { - $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); - return $this->_propDict["expirationDateTime"]; - } - } - return null; - } - - /** - * Sets the expirationDateTime - * 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. See the table below for maximum supported subscription length of time. Required. - * - * @param \DateTime $val The expirationDateTime - * - * @return Subscription - */ - public function setExpirationDateTime($val) - { - $this->_propDict["expirationDateTime"] = $val; - return $this; - } - - /** - * Gets the includeResourceData - * When set to true, change notifications include resource data (such as content of a chat message). Optional. - * - * @return bool The includeResourceData - */ - public function getIncludeResourceData() - { - if (array_key_exists("includeResourceData", $this->_propDict)) { - return $this->_propDict["includeResourceData"]; - } else { - return null; - } - } - - /** - * Sets the includeResourceData - * When set to true, change notifications include resource data (such as content of a chat message). Optional. - * - * @param bool $val The includeResourceData - * - * @return Subscription - */ - public function setIncludeResourceData($val) - { - $this->_propDict["includeResourceData"] = boolval($val); - return $this; - } - - /** - * Gets the latestSupportedTlsVersion - * 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 The latestSupportedTlsVersion - */ - public function getLatestSupportedTlsVersion() - { - if (array_key_exists("latestSupportedTlsVersion", $this->_propDict)) { - return $this->_propDict["latestSupportedTlsVersion"]; - } else { - return null; - } - } - - /** - * Sets the latestSupportedTlsVersion - * 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 - * The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle notifications. - * - * @return string The lifecycleNotificationUrl - */ - public function getLifecycleNotificationUrl() - { - if (array_key_exists("lifecycleNotificationUrl", $this->_propDict)) { - return $this->_propDict["lifecycleNotificationUrl"]; - } else { - return null; - } - } - - /** - * Sets the lifecycleNotificationUrl - * The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle notifications. - * - * @param string $val The lifecycleNotificationUrl - * - * @return Subscription - */ - public function setLifecycleNotificationUrl($val) - { - $this->_propDict["lifecycleNotificationUrl"] = $val; - return $this; - } - - /** - * Gets the notificationContentType - * Desired content-type for MS Graph change notifications for supported resource types. The default content-type is the 'application/json' content-type. - * - * @return string The notificationContentType - */ - public function getNotificationContentType() - { - if (array_key_exists("notificationContentType", $this->_propDict)) { - return $this->_propDict["notificationContentType"]; - } else { - return null; - } - } - - /** - * Sets the notificationContentType - * Desired content-type for MS Graph change notifications for supported resource types. The default content-type is the 'application/json' content-type. - * - * @param string $val The notificationContentType - * - * @return Subscription - */ - public function setNotificationContentType($val) - { - $this->_propDict["notificationContentType"] = $val; - return $this; - } - - /** - * Gets the notificationQueryOptions - * OData Query Options for specifying value for the targeting resource. Clients receive notifications when 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 eg when the print job is completed, when a print job resource isFetchable property value becomes true etc. - * - * @return string The notificationQueryOptions - */ - public function getNotificationQueryOptions() - { - if (array_key_exists("notificationQueryOptions", $this->_propDict)) { - return $this->_propDict["notificationQueryOptions"]; - } else { - return null; - } - } - - /** - * Sets the notificationQueryOptions - * OData Query Options for specifying value for the targeting resource. Clients receive notifications when 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 eg when the print job is completed, 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 - * The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Required. - * - * @return string The notificationUrl - */ - public function getNotificationUrl() - { - if (array_key_exists("notificationUrl", $this->_propDict)) { - return $this->_propDict["notificationUrl"]; - } else { - return null; - } - } - - /** - * Sets the notificationUrl - * The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Required. - * - * @param string $val The notificationUrl - * - * @return Subscription - */ - public function setNotificationUrl($val) - { - $this->_propDict["notificationUrl"] = $val; - return $this; - } - - /** - * Gets the resource - * 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. Required. - * - * @return string The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - return $this->_propDict["resource"]; - } else { - return null; - } - } - - /** - * Sets the resource - * 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. Required. - * - * @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 deleted file mode 100644 index 50cca1f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SuggestedEnrollmentLimit.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 897c7cb5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SwapShiftsChangeRequest.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index bf7f6cb7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SymantecCodeSigningCertificate.php +++ /dev/null @@ -1,304 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\CertificateStatus")) { - 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 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 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 The uploadDateTime - */ - public function getUploadDateTime() - { - if (array_key_exists("uploadDateTime", $this->_propDict)) { - if (is_a($this->_propDict["uploadDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 9725fb30..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Synchronization.php +++ /dev/null @@ -1,111 +0,0 @@ -_propDict)) { - return $this->_propDict["secrets"]; - } else { - return null; - } - } - - /** - * Sets the secrets - * - * @param SynchronizationSecretKeyStringValuePair $val The secrets - * - * @return Synchronization - */ - public function setSecrets($val) - { - $this->_propDict["secrets"] = $val; - return $this; - } - - - /** - * Gets the jobs - * - * @return array The jobs - */ - public function getJobs() - { - if (array_key_exists("jobs", $this->_propDict)) { - return $this->_propDict["jobs"]; - } else { - return null; - } - } - - /** - * Sets the jobs - * - * @param SynchronizationJob $val The jobs - * - * @return Synchronization - */ - public function setJobs($val) - { - $this->_propDict["jobs"] = $val; - return $this; - } - - - /** - * Gets the templates - * - * @return array The templates - */ - public function getTemplates() - { - if (array_key_exists("templates", $this->_propDict)) { - return $this->_propDict["templates"]; - } else { - return null; - } - } - - /** - * Sets the templates - * - * @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 deleted file mode 100644 index 12467b40..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationError.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index c272d1cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJob.php +++ /dev/null @@ -1,185 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\SynchronizationSchedule")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\SynchronizationStatus")) { - 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 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 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 The schema - */ - public function getSchema() - { - if (array_key_exists("schema", $this->_propDict)) { - if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\SynchronizationSchema")) { - 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 deleted file mode 100644 index f393f583..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobApplicationParameters.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - return $this->_propDict["ruleId"]; - } else { - return null; - } - } - - /** - * Sets the ruleId - * The identifier of a the synchronizationRule to be applied. - * - * @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 The subjects - */ - public function getSubjects() - { - if (array_key_exists("subjects", $this->_propDict)) { - if (is_a($this->_propDict["subjects"], "\Beta\Microsoft\Graph\Model\SynchronizationJobSubject")) { - 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 deleted file mode 100644 index ff134940..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartCriteria.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["resetScope"], "\Beta\Microsoft\Graph\Model\SynchronizationJobRestartScope")) { - 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 deleted file mode 100644 index 6112e41d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationJobRestartScope.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - return $this->_propDict["objectId"]; - } else { - return null; - } - } - - /** - * Sets the objectId - * The identifier of an object to which a synchronizationJob is to be applied. - * - * @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. - * - * @return string 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. - * - * @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/SynchronizationProgress.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationProgress.php deleted file mode 100644 index 5a1b93ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationProgress.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The progressObservationDateTime - */ - public function getProgressObservationDateTime() - { - if (array_key_exists("progressObservationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["progressObservationDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 25734596..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationQuarantine.php +++ /dev/null @@ -1,219 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["currentBegan"], "\DateTime")) { - 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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\SynchronizationError")) { - 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 The nextAttempt - */ - public function getNextAttempt() - { - if (array_key_exists("nextAttempt", $this->_propDict)) { - if (is_a($this->_propDict["nextAttempt"], "\DateTime")) { - 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 The reason - */ - public function getReason() - { - if (array_key_exists("reason", $this->_propDict)) { - if (is_a($this->_propDict["reason"], "\Beta\Microsoft\Graph\Model\QuarantineReason")) { - 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 The seriesBegan - */ - public function getSeriesBegan() - { - if (array_key_exists("seriesBegan", $this->_propDict)) { - if (is_a($this->_propDict["seriesBegan"], "\DateTime")) { - 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 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 deleted file mode 100644 index 9b7daccd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php +++ /dev/null @@ -1,260 +0,0 @@ -_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 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 The metadata - */ - public function getMetadata() - { - if (array_key_exists("metadata", $this->_propDict)) { - if (is_a($this->_propDict["metadata"], "\Beta\Microsoft\Graph\Model\StringKeyStringValuePair")) { - 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 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 The objectMappings - */ - public function getObjectMappings() - { - if (array_key_exists("objectMappings", $this->_propDict)) { - if (is_a($this->_propDict["objectMappings"], "\Beta\Microsoft\Graph\Model\ObjectMapping")) { - 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 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 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 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 deleted file mode 100644 index 0684c5f9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSchedule.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expiration"], "\DateTime")) { - 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 Duration The interval - */ - public function getInterval() - { - if (array_key_exists("interval", $this->_propDict)) { - if (is_a($this->_propDict["interval"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["interval"]; - } else { - $this->_propDict["interval"] = new Duration($this->_propDict["interval"]); - return $this->_propDict["interval"]; - } - } - return null; - } - - /** - * Sets the interval - * The interval between synchronization iterations. - * - * @param Duration $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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SynchronizationScheduleState")) { - 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 deleted file mode 100644 index fa810a7e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationScheduleState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 deleted file mode 100644 index 7f1a82e9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationSecret.php +++ /dev/null @@ -1,73 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["key"], "\Beta\Microsoft\Graph\Model\SynchronizationSecret")) { - 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, TestReferences. - * - * @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 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 deleted file mode 100644 index 7a353369..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatus.php +++ /dev/null @@ -1,407 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["code"], "\Beta\Microsoft\Graph\Model\SynchronizationStatusCode")) { - 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 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 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 The lastExecution - */ - public function getLastExecution() - { - if (array_key_exists("lastExecution", $this->_propDict)) { - if (is_a($this->_propDict["lastExecution"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecution")) { - 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 The lastSuccessfulExecution - */ - public function getLastSuccessfulExecution() - { - if (array_key_exists("lastSuccessfulExecution", $this->_propDict)) { - if (is_a($this->_propDict["lastSuccessfulExecution"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecution")) { - 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 The lastSuccessfulExecutionWithExports - */ - public function getLastSuccessfulExecutionWithExports() - { - if (array_key_exists("lastSuccessfulExecutionWithExports", $this->_propDict)) { - if (is_a($this->_propDict["lastSuccessfulExecutionWithExports"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecution")) { - 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 The progress - */ - public function getProgress() - { - if (array_key_exists("progress", $this->_propDict)) { - if (is_a($this->_propDict["progress"], "\Beta\Microsoft\Graph\Model\SynchronizationProgress")) { - 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 The quarantine - */ - public function getQuarantine() - { - if (array_key_exists("quarantine", $this->_propDict)) { - if (is_a($this->_propDict["quarantine"], "\Beta\Microsoft\Graph\Model\SynchronizationQuarantine")) { - 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 The steadyStateFirstAchievedTime - */ - public function getSteadyStateFirstAchievedTime() - { - if (array_key_exists("steadyStateFirstAchievedTime", $this->_propDict)) { - if (is_a($this->_propDict["steadyStateFirstAchievedTime"], "\DateTime")) { - 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 The steadyStateLastAchievedTime - */ - public function getSteadyStateLastAchievedTime() - { - if (array_key_exists("steadyStateLastAchievedTime", $this->_propDict)) { - if (is_a($this->_propDict["steadyStateLastAchievedTime"], "\DateTime")) { - 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 The synchronizedEntryCountByType - */ - public function getSynchronizedEntryCountByType() - { - if (array_key_exists("synchronizedEntryCountByType", $this->_propDict)) { - if (is_a($this->_propDict["synchronizedEntryCountByType"], "\Beta\Microsoft\Graph\Model\StringKeyLongValuePair")) { - 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 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 deleted file mode 100644 index f8cc852a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationStatusCode.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\SynchronizationError")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\SynchronizationTaskExecutionResult")) { - 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 The timeBegan - */ - public function getTimeBegan() - { - if (array_key_exists("timeBegan", $this->_propDict)) { - if (is_a($this->_propDict["timeBegan"], "\DateTime")) { - 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 The timeEnded - */ - public function getTimeEnded() - { - if (array_key_exists("timeEnded", $this->_propDict)) { - if (is_a($this->_propDict["timeEnded"], "\DateTime")) { - 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 deleted file mode 100644 index 8cabbaab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationTaskExecutionResult.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 The schema - */ - public function getSchema() - { - if (array_key_exists("schema", $this->_propDict)) { - if (is_a($this->_propDict["schema"], "\Beta\Microsoft\Graph\Model\SynchronizationSchema")) { - 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 deleted file mode 100644 index 227ff203..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SystemFacet.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index 51e5f6bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetResource.php +++ /dev/null @@ -1,204 +0,0 @@ -_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 The groupType - */ - public function getGroupType() - { - if (array_key_exists("groupType", $this->_propDict)) { - if (is_a($this->_propDict["groupType"], "\Beta\Microsoft\Graph\Model\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 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 The modifiedProperties - */ - public function getModifiedProperties() - { - if (array_key_exists("modifiedProperties", $this->_propDict)) { - if (is_a($this->_propDict["modifiedProperties"], "\Beta\Microsoft\Graph\Model\ModifiedProperty")) { - 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 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 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 deleted file mode 100644 index ce294cd0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfiguration.php +++ /dev/null @@ -1,178 +0,0 @@ -_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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Beta\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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 deleted file mode 100644 index f6fad6a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppConfigurationPolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 5cc433db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TargetedManagedAppProtection.php +++ /dev/null @@ -1,119 +0,0 @@ -_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 The targetedAppManagementLevels - */ - public function getTargetedAppManagementLevels() - { - if (array_key_exists("targetedAppManagementLevels", $this->_propDict)) { - if (is_a($this->_propDict["targetedAppManagementLevels"], "\Beta\Microsoft\Graph\Model\AppManagementLevel")) { - 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 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/TaskStatus.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaskStatus.php deleted file mode 100644 index 568abaac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaskStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 3a1fae4b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TaxGroup.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 8d72b94f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Team.php +++ /dev/null @@ -1,835 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. - * - * @return string 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. - * - * @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 The discoverySettings - */ - public function getDiscoverySettings() - { - if (array_key_exists("discoverySettings", $this->_propDict)) { - if (is_a($this->_propDict["discoverySettings"], "\Beta\Microsoft\Graph\Model\TeamDiscoverySettings")) { - 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 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 The funSettings - */ - public function getFunSettings() - { - if (array_key_exists("funSettings", $this->_propDict)) { - if (is_a($this->_propDict["funSettings"], "\Beta\Microsoft\Graph\Model\TeamFunSettings")) { - 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 The guestSettings - */ - public function getGuestSettings() - { - if (array_key_exists("guestSettings", $this->_propDict)) { - if (is_a($this->_propDict["guestSettings"], "\Beta\Microsoft\Graph\Model\TeamGuestSettings")) { - 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 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 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 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 The memberSettings - */ - public function getMemberSettings() - { - if (array_key_exists("memberSettings", $this->_propDict)) { - if (is_a($this->_propDict["memberSettings"], "\Beta\Microsoft\Graph\Model\TeamMemberSettings")) { - 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 The messagingSettings - */ - public function getMessagingSettings() - { - if (array_key_exists("messagingSettings", $this->_propDict)) { - if (is_a($this->_propDict["messagingSettings"], "\Beta\Microsoft\Graph\Model\TeamMessagingSettings")) { - 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 The specialization - */ - public function getSpecialization() - { - if (array_key_exists("specialization", $this->_propDict)) { - if (is_a($this->_propDict["specialization"], "\Beta\Microsoft\Graph\Model\TeamSpecialization")) { - 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 The visibility - */ - public function getVisibility() - { - if (array_key_exists("visibility", $this->_propDict)) { - if (is_a($this->_propDict["visibility"], "\Beta\Microsoft\Graph\Model\TeamVisibilityType")) { - 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 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 & messages associated with the team. - * - * @return array 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 & 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 The group - */ - public function getGroup() - { - if (array_key_exists("group", $this->_propDict)) { - if (is_a($this->_propDict["group"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 photo - * The team photo. - * - * @return ProfilePhoto The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto")) { - 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 The primaryChannel - */ - public function getPrimaryChannel() - { - if (array_key_exists("primaryChannel", $this->_propDict)) { - if (is_a($this->_propDict["primaryChannel"], "\Beta\Microsoft\Graph\Model\Channel")) { - 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 - * - * @return array The tags - */ - public function getTags() - { - if (array_key_exists("tags", $this->_propDict)) { - return $this->_propDict["tags"]; - } else { - return null; - } - } - - /** - * Sets the tags - * - * @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 The template - */ - public function getTemplate() - { - if (array_key_exists("template", $this->_propDict)) { - if (is_a($this->_propDict["template"], "\Beta\Microsoft\Graph\Model\TeamsTemplate")) { - 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 The schedule - */ - public function getSchedule() - { - if (array_key_exists("schedule", $this->_propDict)) { - if (is_a($this->_propDict["schedule"], "\Beta\Microsoft\Graph\Model\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/TeamClassSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamClassSettings.php deleted file mode 100644 index af81623a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamClassSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/TeamCreationMode.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamCreationMode.php deleted file mode 100644 index e58472f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamCreationMode.php +++ /dev/null @@ -1,33 +0,0 @@ -_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 deleted file mode 100644 index 39e2acf3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamFunSettings.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The giphyContentRating - */ - public function getGiphyContentRating() - { - if (array_key_exists("giphyContentRating", $this->_propDict)) { - if (is_a($this->_propDict["giphyContentRating"], "\Beta\Microsoft\Graph\Model\GiphyRatingType")) { - 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 deleted file mode 100644 index 87e1aaaa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamGuestSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/TeamMemberSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMemberSettings.php deleted file mode 100644 index 91880082..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMemberSettings.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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/TeamMessagingSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMessagingSettings.php deleted file mode 100644 index 5bb8742a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamMessagingSettings.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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/TeamSpecialization.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamSpecialization.php deleted file mode 100644 index 6641bb1a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamSpecialization.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The distributionMethod - */ - public function getDistributionMethod() - { - if (array_key_exists("distributionMethod", $this->_propDict)) { - if (is_a($this->_propDict["distributionMethod"], "\Beta\Microsoft\Graph\Model\TeamsAppDistributionMethod")) { - 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 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 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 deleted file mode 100644 index e663d2c4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDefinition.php +++ /dev/null @@ -1,358 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedInstallationScopes"], "\Beta\Microsoft\Graph\Model\TeamsAppInstallationScopes")) { - return $this->_propDict["allowedInstallationScopes"]; - } else { - $this->_propDict["allowedInstallationScopes"] = new TeamsAppInstallationScopes($this->_propDict["allowedInstallationScopes"]); - return $this->_propDict["allowedInstallationScopes"]; - } - } - return null; - } - - /** - * Sets the allowedInstallationScopes - * - * @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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The publishingState - */ - public function getPublishingState() - { - if (array_key_exists("publishingState", $this->_propDict)) { - if (is_a($this->_propDict["publishingState"], "\Beta\Microsoft\Graph\Model\TeamsAppPublishingState")) { - 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 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 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 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 The bot - */ - public function getBot() - { - if (array_key_exists("bot", $this->_propDict)) { - if (is_a($this->_propDict["bot"], "\Beta\Microsoft\Graph\Model\TeamworkBot")) { - 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/Beta/Microsoft/Graph/Model/TeamsAppDistributionMethod.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDistributionMethod.php deleted file mode 100644 index 592d48be..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppDistributionMethod.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["teamsApp"], "\Beta\Microsoft\Graph\Model\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 The teamsAppDefinition - */ - public function getTeamsAppDefinition() - { - if (array_key_exists("teamsAppDefinition", $this->_propDict)) { - if (is_a($this->_propDict["teamsAppDefinition"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 17d69da2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAppInstallationScopes.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\OperationError")) { - 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 The lastActionDateTime - */ - public function getLastActionDateTime() - { - if (array_key_exists("lastActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 which type of operation is being described. - * - * @return TeamsAsyncOperationType The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\TeamsAsyncOperationType")) { - return $this->_propDict["operationType"]; - } else { - $this->_propDict["operationType"] = new TeamsAsyncOperationType($this->_propDict["operationType"]); - return $this->_propDict["operationType"]; - } - } - return null; - } - - /** - * Sets the operationType - * Denotes which type of operation is 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TeamsAsyncOperationStatus")) { - 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 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 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 deleted file mode 100644 index 2f56e9f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsAsyncOperationStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - return $this->_propDict["androidPhone"]; - } else { - return null; - } - } - - /** - * Sets the androidPhone - * - * @param int $val The androidPhone - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setAndroidPhone($val) - { - $this->_propDict["androidPhone"] = intval($val); - return $this; - } - - /** - * Gets the chromeOS - * - * @return int The chromeOS - */ - public function getChromeOS() - { - if (array_key_exists("chromeOS", $this->_propDict)) { - return $this->_propDict["chromeOS"]; - } else { - return null; - } - } - - /** - * Sets the chromeOS - * - * @param int $val The chromeOS - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setChromeOS($val) - { - $this->_propDict["chromeOS"] = intval($val); - return $this; - } - - /** - * Gets the ios - * - * @return int The ios - */ - public function getIos() - { - if (array_key_exists("ios", $this->_propDict)) { - return $this->_propDict["ios"]; - } else { - return null; - } - } - - /** - * Sets the ios - * - * @param int $val The ios - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setIos($val) - { - $this->_propDict["ios"] = intval($val); - return $this; - } - - /** - * Gets the linux - * - * @return int The linux - */ - public function getLinux() - { - if (array_key_exists("linux", $this->_propDict)) { - return $this->_propDict["linux"]; - } else { - return null; - } - } - - /** - * Sets the linux - * - * @param int $val The linux - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setLinux($val) - { - $this->_propDict["linux"] = intval($val); - return $this; - } - - /** - * Gets the mac - * - * @return int The mac - */ - public function getMac() - { - if (array_key_exists("mac", $this->_propDict)) { - return $this->_propDict["mac"]; - } else { - return null; - } - } - - /** - * Sets the mac - * - * @param int $val The mac - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setMac($val) - { - $this->_propDict["mac"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - - /** - * Gets the windows - * - * @return int The windows - */ - public function getWindows() - { - if (array_key_exists("windows", $this->_propDict)) { - return $this->_propDict["windows"]; - } else { - return null; - } - } - - /** - * Sets the windows - * - * @param int $val The windows - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setWindows($val) - { - $this->_propDict["windows"] = intval($val); - return $this; - } - - /** - * Gets the windowsPhone - * - * @return int The windowsPhone - */ - public function getWindowsPhone() - { - if (array_key_exists("windowsPhone", $this->_propDict)) { - return $this->_propDict["windowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the windowsPhone - * - * @param int $val The windowsPhone - * - * @return TeamsDeviceUsageDistributionUserCounts - */ - public function setWindowsPhone($val) - { - $this->_propDict["windowsPhone"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsDeviceUsageUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsDeviceUsageUserCounts.php deleted file mode 100644 index 4dc844d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsDeviceUsageUserCounts.php +++ /dev/null @@ -1,332 +0,0 @@ -_propDict)) { - return $this->_propDict["androidPhone"]; - } else { - return null; - } - } - - /** - * Sets the androidPhone - * - * @param int $val The androidPhone - * - * @return TeamsDeviceUsageUserCounts - */ - public function setAndroidPhone($val) - { - $this->_propDict["androidPhone"] = intval($val); - return $this; - } - - /** - * Gets the chromeOS - * - * @return int The chromeOS - */ - public function getChromeOS() - { - if (array_key_exists("chromeOS", $this->_propDict)) { - return $this->_propDict["chromeOS"]; - } else { - return null; - } - } - - /** - * Sets the chromeOS - * - * @param int $val The chromeOS - * - * @return TeamsDeviceUsageUserCounts - */ - public function setChromeOS($val) - { - $this->_propDict["chromeOS"] = intval($val); - return $this; - } - - /** - * Gets the ios - * - * @return int The ios - */ - public function getIos() - { - if (array_key_exists("ios", $this->_propDict)) { - return $this->_propDict["ios"]; - } else { - return null; - } - } - - /** - * Sets the ios - * - * @param int $val The ios - * - * @return TeamsDeviceUsageUserCounts - */ - public function setIos($val) - { - $this->_propDict["ios"] = intval($val); - return $this; - } - - /** - * Gets the linux - * - * @return int The linux - */ - public function getLinux() - { - if (array_key_exists("linux", $this->_propDict)) { - return $this->_propDict["linux"]; - } else { - return null; - } - } - - /** - * Sets the linux - * - * @param int $val The linux - * - * @return TeamsDeviceUsageUserCounts - */ - public function setLinux($val) - { - $this->_propDict["linux"] = intval($val); - return $this; - } - - /** - * Gets the mac - * - * @return int The mac - */ - public function getMac() - { - if (array_key_exists("mac", $this->_propDict)) { - return $this->_propDict["mac"]; - } else { - return null; - } - } - - /** - * Sets the mac - * - * @param int $val The mac - * - * @return TeamsDeviceUsageUserCounts - */ - public function setMac($val) - { - $this->_propDict["mac"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return TeamsDeviceUsageUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsDeviceUsageUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsDeviceUsageUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return TeamsDeviceUsageUserCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - - /** - * Gets the windows - * - * @return int The windows - */ - public function getWindows() - { - if (array_key_exists("windows", $this->_propDict)) { - return $this->_propDict["windows"]; - } else { - return null; - } - } - - /** - * Sets the windows - * - * @param int $val The windows - * - * @return TeamsDeviceUsageUserCounts - */ - public function setWindows($val) - { - $this->_propDict["windows"] = intval($val); - return $this; - } - - /** - * Gets the windowsPhone - * - * @return int The windowsPhone - */ - public function getWindowsPhone() - { - if (array_key_exists("windowsPhone", $this->_propDict)) { - return $this->_propDict["windowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the windowsPhone - * - * @param int $val The windowsPhone - * - * @return TeamsDeviceUsageUserCounts - */ - public function setWindowsPhone($val) - { - $this->_propDict["windowsPhone"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsDeviceUsageUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsDeviceUsageUserDetail.php deleted file mode 100644 index 1a4eec5d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsDeviceUsageUserDetail.php +++ /dev/null @@ -1,444 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return TeamsDeviceUsageUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 TeamsDeviceUsageUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the isLicensed - * - * @return bool The isLicensed - */ - public function getIsLicensed() - { - if (array_key_exists("isLicensed", $this->_propDict)) { - return $this->_propDict["isLicensed"]; - } else { - return null; - } - } - - /** - * Sets the isLicensed - * - * @param bool $val The isLicensed - * - * @return TeamsDeviceUsageUserDetail - */ - public function setIsLicensed($val) - { - $this->_propDict["isLicensed"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return TeamsDeviceUsageUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsDeviceUsageUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsDeviceUsageUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the usedAndroidPhone - * - * @return bool The usedAndroidPhone - */ - public function getUsedAndroidPhone() - { - if (array_key_exists("usedAndroidPhone", $this->_propDict)) { - return $this->_propDict["usedAndroidPhone"]; - } else { - return null; - } - } - - /** - * Sets the usedAndroidPhone - * - * @param bool $val The usedAndroidPhone - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedAndroidPhone($val) - { - $this->_propDict["usedAndroidPhone"] = boolval($val); - return $this; - } - - /** - * Gets the usedChromeOS - * - * @return bool The usedChromeOS - */ - public function getUsedChromeOS() - { - if (array_key_exists("usedChromeOS", $this->_propDict)) { - return $this->_propDict["usedChromeOS"]; - } else { - return null; - } - } - - /** - * Sets the usedChromeOS - * - * @param bool $val The usedChromeOS - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedChromeOS($val) - { - $this->_propDict["usedChromeOS"] = boolval($val); - return $this; - } - - /** - * Gets the usediOS - * - * @return bool The usediOS - */ - public function getUsediOS() - { - if (array_key_exists("usediOS", $this->_propDict)) { - return $this->_propDict["usediOS"]; - } else { - return null; - } - } - - /** - * Sets the usediOS - * - * @param bool $val The usediOS - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsediOS($val) - { - $this->_propDict["usediOS"] = boolval($val); - return $this; - } - - /** - * Gets the usedLinux - * - * @return bool The usedLinux - */ - public function getUsedLinux() - { - if (array_key_exists("usedLinux", $this->_propDict)) { - return $this->_propDict["usedLinux"]; - } else { - return null; - } - } - - /** - * Sets the usedLinux - * - * @param bool $val The usedLinux - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedLinux($val) - { - $this->_propDict["usedLinux"] = boolval($val); - return $this; - } - - /** - * Gets the usedMac - * - * @return bool The usedMac - */ - public function getUsedMac() - { - if (array_key_exists("usedMac", $this->_propDict)) { - return $this->_propDict["usedMac"]; - } else { - return null; - } - } - - /** - * Sets the usedMac - * - * @param bool $val The usedMac - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedMac($val) - { - $this->_propDict["usedMac"] = boolval($val); - return $this; - } - - /** - * Gets the usedWeb - * - * @return bool The usedWeb - */ - public function getUsedWeb() - { - if (array_key_exists("usedWeb", $this->_propDict)) { - return $this->_propDict["usedWeb"]; - } else { - return null; - } - } - - /** - * Sets the usedWeb - * - * @param bool $val The usedWeb - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedWeb($val) - { - $this->_propDict["usedWeb"] = boolval($val); - return $this; - } - - /** - * Gets the usedWindows - * - * @return bool The usedWindows - */ - public function getUsedWindows() - { - if (array_key_exists("usedWindows", $this->_propDict)) { - return $this->_propDict["usedWindows"]; - } else { - return null; - } - } - - /** - * Sets the usedWindows - * - * @param bool $val The usedWindows - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedWindows($val) - { - $this->_propDict["usedWindows"] = boolval($val); - return $this; - } - - /** - * Gets the usedWindowsPhone - * - * @return bool The usedWindowsPhone - */ - public function getUsedWindowsPhone() - { - if (array_key_exists("usedWindowsPhone", $this->_propDict)) { - return $this->_propDict["usedWindowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the usedWindowsPhone - * - * @param bool $val The usedWindowsPhone - * - * @return TeamsDeviceUsageUserDetail - */ - public function setUsedWindowsPhone($val) - { - $this->_propDict["usedWindowsPhone"] = boolval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 TeamsDeviceUsageUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTab.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTab.php deleted file mode 100644 index a083135a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTab.php +++ /dev/null @@ -1,234 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Beta\Microsoft\Graph\Model\TeamsTabConfiguration")) { - 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 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 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 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 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 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 The teamsApp - */ - public function getTeamsApp() - { - if (array_key_exists("teamsApp", $this->_propDict)) { - if (is_a($this->_propDict["teamsApp"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index c2bd89c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTabConfiguration.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index c7b47ddd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsTemplate.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - return $this->_propDict["calls"]; - } else { - return null; - } - } - - /** - * Sets the calls - * - * @param int $val The calls - * - * @return TeamsUserActivityCounts - */ - public function setCalls($val) - { - $this->_propDict["calls"] = intval($val); - return $this; - } - - /** - * Gets the meetings - * - * @return int The meetings - */ - public function getMeetings() - { - if (array_key_exists("meetings", $this->_propDict)) { - return $this->_propDict["meetings"]; - } else { - return null; - } - } - - /** - * Sets the meetings - * - * @param int $val The meetings - * - * @return TeamsUserActivityCounts - */ - public function setMeetings($val) - { - $this->_propDict["meetings"] = intval($val); - return $this; - } - - /** - * Gets the privateChatMessages - * - * @return int The privateChatMessages - */ - public function getPrivateChatMessages() - { - if (array_key_exists("privateChatMessages", $this->_propDict)) { - return $this->_propDict["privateChatMessages"]; - } else { - return null; - } - } - - /** - * Sets the privateChatMessages - * - * @param int $val The privateChatMessages - * - * @return TeamsUserActivityCounts - */ - public function setPrivateChatMessages($val) - { - $this->_propDict["privateChatMessages"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return TeamsUserActivityCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsUserActivityCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsUserActivityCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the teamChatMessages - * - * @return int The teamChatMessages - */ - public function getTeamChatMessages() - { - if (array_key_exists("teamChatMessages", $this->_propDict)) { - return $this->_propDict["teamChatMessages"]; - } else { - return null; - } - } - - /** - * Sets the teamChatMessages - * - * @param int $val The teamChatMessages - * - * @return TeamsUserActivityCounts - */ - public function setTeamChatMessages($val) - { - $this->_propDict["teamChatMessages"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityDistributionUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityDistributionUserCounts.php deleted file mode 100644 index 39750319..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityDistributionUserCounts.php +++ /dev/null @@ -1,193 +0,0 @@ -_propDict)) { - return $this->_propDict["calls"]; - } else { - return null; - } - } - - /** - * Sets the calls - * - * @param int $val The calls - * - * @return TeamsUserActivityDistributionUserCounts - */ - public function setCalls($val) - { - $this->_propDict["calls"] = intval($val); - return $this; - } - - /** - * Gets the meetings - * - * @return int The meetings - */ - public function getMeetings() - { - if (array_key_exists("meetings", $this->_propDict)) { - return $this->_propDict["meetings"]; - } else { - return null; - } - } - - /** - * Sets the meetings - * - * @param int $val The meetings - * - * @return TeamsUserActivityDistributionUserCounts - */ - public function setMeetings($val) - { - $this->_propDict["meetings"] = intval($val); - return $this; - } - - /** - * Gets the privateChatMessages - * - * @return int The privateChatMessages - */ - public function getPrivateChatMessages() - { - if (array_key_exists("privateChatMessages", $this->_propDict)) { - return $this->_propDict["privateChatMessages"]; - } else { - return null; - } - } - - /** - * Sets the privateChatMessages - * - * @param int $val The privateChatMessages - * - * @return TeamsUserActivityDistributionUserCounts - */ - public function setPrivateChatMessages($val) - { - $this->_propDict["privateChatMessages"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsUserActivityDistributionUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsUserActivityDistributionUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the teamChatMessages - * - * @return int The teamChatMessages - */ - public function getTeamChatMessages() - { - if (array_key_exists("teamChatMessages", $this->_propDict)) { - return $this->_propDict["teamChatMessages"]; - } else { - return null; - } - } - - /** - * Sets the teamChatMessages - * - * @param int $val The teamChatMessages - * - * @return TeamsUserActivityDistributionUserCounts - */ - public function setTeamChatMessages($val) - { - $this->_propDict["teamChatMessages"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityUserCounts.php deleted file mode 100644 index 8f81a3c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityUserCounts.php +++ /dev/null @@ -1,251 +0,0 @@ -_propDict)) { - return $this->_propDict["calls"]; - } else { - return null; - } - } - - /** - * Sets the calls - * - * @param int $val The calls - * - * @return TeamsUserActivityUserCounts - */ - public function setCalls($val) - { - $this->_propDict["calls"] = intval($val); - return $this; - } - - /** - * Gets the meetings - * - * @return int The meetings - */ - public function getMeetings() - { - if (array_key_exists("meetings", $this->_propDict)) { - return $this->_propDict["meetings"]; - } else { - return null; - } - } - - /** - * Sets the meetings - * - * @param int $val The meetings - * - * @return TeamsUserActivityUserCounts - */ - public function setMeetings($val) - { - $this->_propDict["meetings"] = intval($val); - return $this; - } - - /** - * Gets the otherActions - * - * @return int The otherActions - */ - public function getOtherActions() - { - if (array_key_exists("otherActions", $this->_propDict)) { - return $this->_propDict["otherActions"]; - } else { - return null; - } - } - - /** - * Sets the otherActions - * - * @param int $val The otherActions - * - * @return TeamsUserActivityUserCounts - */ - public function setOtherActions($val) - { - $this->_propDict["otherActions"] = intval($val); - return $this; - } - - /** - * Gets the privateChatMessages - * - * @return int The privateChatMessages - */ - public function getPrivateChatMessages() - { - if (array_key_exists("privateChatMessages", $this->_propDict)) { - return $this->_propDict["privateChatMessages"]; - } else { - return null; - } - } - - /** - * Sets the privateChatMessages - * - * @param int $val The privateChatMessages - * - * @return TeamsUserActivityUserCounts - */ - public function setPrivateChatMessages($val) - { - $this->_propDict["privateChatMessages"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return TeamsUserActivityUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsUserActivityUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsUserActivityUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the teamChatMessages - * - * @return int The teamChatMessages - */ - public function getTeamChatMessages() - { - if (array_key_exists("teamChatMessages", $this->_propDict)) { - return $this->_propDict["teamChatMessages"]; - } else { - return null; - } - } - - /** - * Sets the teamChatMessages - * - * @param int $val The teamChatMessages - * - * @return TeamsUserActivityUserCounts - */ - public function setTeamChatMessages($val) - { - $this->_propDict["teamChatMessages"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityUserDetail.php deleted file mode 100644 index e9ef5f70..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamsUserActivityUserDetail.php +++ /dev/null @@ -1,699 +0,0 @@ -_propDict)) { - return $this->_propDict["adHocMeetingsAttendedCount"]; - } else { - return null; - } - } - - /** - * Sets the adHocMeetingsAttendedCount - * - * @param int $val The adHocMeetingsAttendedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setAdHocMeetingsAttendedCount($val) - { - $this->_propDict["adHocMeetingsAttendedCount"] = intval($val); - return $this; - } - - /** - * Gets the adHocMeetingsOrganizedCount - * - * @return int The adHocMeetingsOrganizedCount - */ - public function getAdHocMeetingsOrganizedCount() - { - if (array_key_exists("adHocMeetingsOrganizedCount", $this->_propDict)) { - return $this->_propDict["adHocMeetingsOrganizedCount"]; - } else { - return null; - } - } - - /** - * Sets the adHocMeetingsOrganizedCount - * - * @param int $val The adHocMeetingsOrganizedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setAdHocMeetingsOrganizedCount($val) - { - $this->_propDict["adHocMeetingsOrganizedCount"] = intval($val); - return $this; - } - - /** - * Gets the assignedProducts - * - * @return string The assignedProducts - */ - public function getAssignedProducts() - { - if (array_key_exists("assignedProducts", $this->_propDict)) { - return $this->_propDict["assignedProducts"]; - } else { - return null; - } - } - - /** - * Sets the assignedProducts - * - * @param string $val The assignedProducts - * - * @return TeamsUserActivityUserDetail - */ - public function setAssignedProducts($val) - { - $this->_propDict["assignedProducts"] = $val; - return $this; - } - - /** - * Gets the audioDuration - * - * @return Duration The audioDuration - */ - public function getAudioDuration() - { - if (array_key_exists("audioDuration", $this->_propDict)) { - if (is_a($this->_propDict["audioDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["audioDuration"]; - } else { - $this->_propDict["audioDuration"] = new Duration($this->_propDict["audioDuration"]); - return $this->_propDict["audioDuration"]; - } - } - return null; - } - - /** - * Sets the audioDuration - * - * @param Duration $val The audioDuration - * - * @return TeamsUserActivityUserDetail - */ - public function setAudioDuration($val) - { - $this->_propDict["audioDuration"] = $val; - return $this; - } - - /** - * Gets the callCount - * - * @return int The callCount - */ - public function getCallCount() - { - if (array_key_exists("callCount", $this->_propDict)) { - return $this->_propDict["callCount"]; - } else { - return null; - } - } - - /** - * Sets the callCount - * - * @param int $val The callCount - * - * @return TeamsUserActivityUserDetail - */ - public function setCallCount($val) - { - $this->_propDict["callCount"] = intval($val); - return $this; - } - - /** - * Gets the deletedDate - * - * @return \DateTime The deletedDate - */ - public function getDeletedDate() - { - if (array_key_exists("deletedDate", $this->_propDict)) { - if (is_a($this->_propDict["deletedDate"], "\DateTime")) { - return $this->_propDict["deletedDate"]; - } else { - $this->_propDict["deletedDate"] = new \DateTime($this->_propDict["deletedDate"]); - return $this->_propDict["deletedDate"]; - } - } - return null; - } - - /** - * Sets the deletedDate - * - * @param \DateTime $val The deletedDate - * - * @return TeamsUserActivityUserDetail - */ - public function setDeletedDate($val) - { - $this->_propDict["deletedDate"] = $val; - return $this; - } - - /** - * Gets the hasOtherAction - * - * @return bool The hasOtherAction - */ - public function getHasOtherAction() - { - if (array_key_exists("hasOtherAction", $this->_propDict)) { - return $this->_propDict["hasOtherAction"]; - } else { - return null; - } - } - - /** - * Sets the hasOtherAction - * - * @param bool $val The hasOtherAction - * - * @return TeamsUserActivityUserDetail - */ - public function setHasOtherAction($val) - { - $this->_propDict["hasOtherAction"] = boolval($val); - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 TeamsUserActivityUserDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the isLicensed - * - * @return bool The isLicensed - */ - public function getIsLicensed() - { - if (array_key_exists("isLicensed", $this->_propDict)) { - return $this->_propDict["isLicensed"]; - } else { - return null; - } - } - - /** - * Sets the isLicensed - * - * @param bool $val The isLicensed - * - * @return TeamsUserActivityUserDetail - */ - public function setIsLicensed($val) - { - $this->_propDict["isLicensed"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return TeamsUserActivityUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the meetingCount - * - * @return int The meetingCount - */ - public function getMeetingCount() - { - if (array_key_exists("meetingCount", $this->_propDict)) { - return $this->_propDict["meetingCount"]; - } else { - return null; - } - } - - /** - * Sets the meetingCount - * - * @param int $val The meetingCount - * - * @return TeamsUserActivityUserDetail - */ - public function setMeetingCount($val) - { - $this->_propDict["meetingCount"] = intval($val); - return $this; - } - - /** - * Gets the meetingsAttendedCount - * - * @return int The meetingsAttendedCount - */ - public function getMeetingsAttendedCount() - { - if (array_key_exists("meetingsAttendedCount", $this->_propDict)) { - return $this->_propDict["meetingsAttendedCount"]; - } else { - return null; - } - } - - /** - * Sets the meetingsAttendedCount - * - * @param int $val The meetingsAttendedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setMeetingsAttendedCount($val) - { - $this->_propDict["meetingsAttendedCount"] = intval($val); - return $this; - } - - /** - * Gets the meetingsOrganizedCount - * - * @return int The meetingsOrganizedCount - */ - public function getMeetingsOrganizedCount() - { - if (array_key_exists("meetingsOrganizedCount", $this->_propDict)) { - return $this->_propDict["meetingsOrganizedCount"]; - } else { - return null; - } - } - - /** - * Sets the meetingsOrganizedCount - * - * @param int $val The meetingsOrganizedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setMeetingsOrganizedCount($val) - { - $this->_propDict["meetingsOrganizedCount"] = intval($val); - return $this; - } - - /** - * Gets the privateChatMessageCount - * - * @return int The privateChatMessageCount - */ - public function getPrivateChatMessageCount() - { - if (array_key_exists("privateChatMessageCount", $this->_propDict)) { - return $this->_propDict["privateChatMessageCount"]; - } else { - return null; - } - } - - /** - * Sets the privateChatMessageCount - * - * @param int $val The privateChatMessageCount - * - * @return TeamsUserActivityUserDetail - */ - public function setPrivateChatMessageCount($val) - { - $this->_propDict["privateChatMessageCount"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return TeamsUserActivityUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return TeamsUserActivityUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the scheduledOneTimeMeetingsAttendedCount - * - * @return int The scheduledOneTimeMeetingsAttendedCount - */ - public function getScheduledOneTimeMeetingsAttendedCount() - { - if (array_key_exists("scheduledOneTimeMeetingsAttendedCount", $this->_propDict)) { - return $this->_propDict["scheduledOneTimeMeetingsAttendedCount"]; - } else { - return null; - } - } - - /** - * Sets the scheduledOneTimeMeetingsAttendedCount - * - * @param int $val The scheduledOneTimeMeetingsAttendedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setScheduledOneTimeMeetingsAttendedCount($val) - { - $this->_propDict["scheduledOneTimeMeetingsAttendedCount"] = intval($val); - return $this; - } - - /** - * Gets the scheduledOneTimeMeetingsOrganizedCount - * - * @return int The scheduledOneTimeMeetingsOrganizedCount - */ - public function getScheduledOneTimeMeetingsOrganizedCount() - { - if (array_key_exists("scheduledOneTimeMeetingsOrganizedCount", $this->_propDict)) { - return $this->_propDict["scheduledOneTimeMeetingsOrganizedCount"]; - } else { - return null; - } - } - - /** - * Sets the scheduledOneTimeMeetingsOrganizedCount - * - * @param int $val The scheduledOneTimeMeetingsOrganizedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setScheduledOneTimeMeetingsOrganizedCount($val) - { - $this->_propDict["scheduledOneTimeMeetingsOrganizedCount"] = intval($val); - return $this; - } - - /** - * Gets the scheduledRecurringMeetingsAttendedCount - * - * @return int The scheduledRecurringMeetingsAttendedCount - */ - public function getScheduledRecurringMeetingsAttendedCount() - { - if (array_key_exists("scheduledRecurringMeetingsAttendedCount", $this->_propDict)) { - return $this->_propDict["scheduledRecurringMeetingsAttendedCount"]; - } else { - return null; - } - } - - /** - * Sets the scheduledRecurringMeetingsAttendedCount - * - * @param int $val The scheduledRecurringMeetingsAttendedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setScheduledRecurringMeetingsAttendedCount($val) - { - $this->_propDict["scheduledRecurringMeetingsAttendedCount"] = intval($val); - return $this; - } - - /** - * Gets the scheduledRecurringMeetingsOrganizedCount - * - * @return int The scheduledRecurringMeetingsOrganizedCount - */ - public function getScheduledRecurringMeetingsOrganizedCount() - { - if (array_key_exists("scheduledRecurringMeetingsOrganizedCount", $this->_propDict)) { - return $this->_propDict["scheduledRecurringMeetingsOrganizedCount"]; - } else { - return null; - } - } - - /** - * Sets the scheduledRecurringMeetingsOrganizedCount - * - * @param int $val The scheduledRecurringMeetingsOrganizedCount - * - * @return TeamsUserActivityUserDetail - */ - public function setScheduledRecurringMeetingsOrganizedCount($val) - { - $this->_propDict["scheduledRecurringMeetingsOrganizedCount"] = intval($val); - return $this; - } - - /** - * Gets the screenShareDuration - * - * @return Duration The screenShareDuration - */ - public function getScreenShareDuration() - { - if (array_key_exists("screenShareDuration", $this->_propDict)) { - if (is_a($this->_propDict["screenShareDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["screenShareDuration"]; - } else { - $this->_propDict["screenShareDuration"] = new Duration($this->_propDict["screenShareDuration"]); - return $this->_propDict["screenShareDuration"]; - } - } - return null; - } - - /** - * Sets the screenShareDuration - * - * @param Duration $val The screenShareDuration - * - * @return TeamsUserActivityUserDetail - */ - public function setScreenShareDuration($val) - { - $this->_propDict["screenShareDuration"] = $val; - return $this; - } - - /** - * Gets the teamChatMessageCount - * - * @return int The teamChatMessageCount - */ - public function getTeamChatMessageCount() - { - if (array_key_exists("teamChatMessageCount", $this->_propDict)) { - return $this->_propDict["teamChatMessageCount"]; - } else { - return null; - } - } - - /** - * Sets the teamChatMessageCount - * - * @param int $val The teamChatMessageCount - * - * @return TeamsUserActivityUserDetail - */ - public function setTeamChatMessageCount($val) - { - $this->_propDict["teamChatMessageCount"] = intval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 TeamsUserActivityUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - - /** - * Gets the videoDuration - * - * @return Duration The videoDuration - */ - public function getVideoDuration() - { - if (array_key_exists("videoDuration", $this->_propDict)) { - if (is_a($this->_propDict["videoDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["videoDuration"]; - } else { - $this->_propDict["videoDuration"] = new Duration($this->_propDict["videoDuration"]); - return $this->_propDict["videoDuration"]; - } - } - return null; - } - - /** - * Sets the videoDuration - * - * @param Duration $val The videoDuration - * - * @return TeamsUserActivityUserDetail - */ - public function setVideoDuration($val) - { - $this->_propDict["videoDuration"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Teamwork.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Teamwork.php deleted file mode 100644 index 7435bf1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Teamwork.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["workforceIntegrations"]; - } else { - return null; - } - } - - /** - * Sets the workforceIntegrations - * - * @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/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php deleted file mode 100644 index 4ae1b541..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopic.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\TeamworkActivityTopicSource")) { - 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 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 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 deleted file mode 100644 index 2f73c6f1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkActivityTopicSource.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["contentBytes"]; - } else { - $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\stream_for($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 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/TeamworkNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNotificationRecipient.php deleted file mode 100644 index 88589af7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkNotificationRecipient.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * - * @param string $val The description - * - * @return TeamworkTag - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 TeamworkTag - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the memberCount - * - * @return int The memberCount - */ - public function getMemberCount() - { - if (array_key_exists("memberCount", $this->_propDict)) { - return $this->_propDict["memberCount"]; - } else { - return null; - } - } - - /** - * Sets the memberCount - * - * @param int $val The memberCount - * - * @return TeamworkTag - */ - public function setMemberCount($val) - { - $this->_propDict["memberCount"] = intval($val); - return $this; - } - - /** - * Gets the tagType - * - * @return TeamworkTagType The tagType - */ - public function getTagType() - { - if (array_key_exists("tagType", $this->_propDict)) { - if (is_a($this->_propDict["tagType"], "\Beta\Microsoft\Graph\Model\TeamworkTagType")) { - return $this->_propDict["tagType"]; - } else { - $this->_propDict["tagType"] = new TeamworkTagType($this->_propDict["tagType"]); - return $this->_propDict["tagType"]; - } - } - return null; - } - - /** - * Sets the tagType - * - * @param TeamworkTagType $val The tagType - * - * @return TeamworkTag - */ - public function setTagType($val) - { - $this->_propDict["tagType"] = $val; - return $this; - } - - /** - * Gets the teamId - * - * @return string The teamId - */ - public function getTeamId() - { - if (array_key_exists("teamId", $this->_propDict)) { - return $this->_propDict["teamId"]; - } else { - return null; - } - } - - /** - * Sets the teamId - * - * @param string $val The teamId - * - * @return TeamworkTag - */ - public function setTeamId($val) - { - $this->_propDict["teamId"] = $val; - return $this; - } - - - /** - * Gets the members - * - * @return array The members - */ - public function getMembers() - { - if (array_key_exists("members", $this->_propDict)) { - return $this->_propDict["members"]; - } else { - return null; - } - } - - /** - * Sets the members - * - * @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/TeamworkTagMember.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagMember.php deleted file mode 100644 index b5309340..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagMember.php +++ /dev/null @@ -1,108 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * - * @param string $val The displayName - * - * @return TeamworkTagMember - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the tenantId - * - * @return string 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 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 deleted file mode 100644 index 697f3ce3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeamworkTagType.php +++ /dev/null @@ -1,33 +0,0 @@ -_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 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 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 The lastConnectionDateTime - */ - public function getLastConnectionDateTime() - { - if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index ac1b5191..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceAudioQuality.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["averageInboundJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageInboundJitter"]; - } else { - $this->_propDict["averageInboundJitter"] = new Duration($this->_propDict["averageInboundJitter"]); - return $this->_propDict["averageInboundJitter"]; - } - } - return null; - } - - /** - * Sets the averageInboundJitter - * The average inbound stream network jitter. - * - * @param Duration $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 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 Duration The averageInboundRoundTripDelay - */ - public function getAverageInboundRoundTripDelay() - { - if (array_key_exists("averageInboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["averageInboundRoundTripDelay"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageInboundRoundTripDelay"]; - } else { - $this->_propDict["averageInboundRoundTripDelay"] = new Duration($this->_propDict["averageInboundRoundTripDelay"]); - return $this->_propDict["averageInboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the averageInboundRoundTripDelay - * The average inbound stream network round trip delay. - * - * @param Duration $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 Duration The averageOutboundJitter - */ - public function getAverageOutboundJitter() - { - if (array_key_exists("averageOutboundJitter", $this->_propDict)) { - if (is_a($this->_propDict["averageOutboundJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageOutboundJitter"]; - } else { - $this->_propDict["averageOutboundJitter"] = new Duration($this->_propDict["averageOutboundJitter"]); - return $this->_propDict["averageOutboundJitter"]; - } - } - return null; - } - - /** - * Sets the averageOutboundJitter - * The average outbound stream network jitter. - * - * @param Duration $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 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 Duration The averageOutboundRoundTripDelay - */ - public function getAverageOutboundRoundTripDelay() - { - if (array_key_exists("averageOutboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["averageOutboundRoundTripDelay"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageOutboundRoundTripDelay"]; - } else { - $this->_propDict["averageOutboundRoundTripDelay"] = new Duration($this->_propDict["averageOutboundRoundTripDelay"]); - return $this->_propDict["averageOutboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the averageOutboundRoundTripDelay - * The average outbound stream network round trip delay. - * - * @param Duration $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 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 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 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 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 Duration The maximumInboundJitter - */ - public function getMaximumInboundJitter() - { - if (array_key_exists("maximumInboundJitter", $this->_propDict)) { - if (is_a($this->_propDict["maximumInboundJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumInboundJitter"]; - } else { - $this->_propDict["maximumInboundJitter"] = new Duration($this->_propDict["maximumInboundJitter"]); - return $this->_propDict["maximumInboundJitter"]; - } - } - return null; - } - - /** - * Sets the maximumInboundJitter - * The maximum inbound stream network jitter. - * - * @param Duration $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 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 Duration The maximumInboundRoundTripDelay - */ - public function getMaximumInboundRoundTripDelay() - { - if (array_key_exists("maximumInboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["maximumInboundRoundTripDelay"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumInboundRoundTripDelay"]; - } else { - $this->_propDict["maximumInboundRoundTripDelay"] = new Duration($this->_propDict["maximumInboundRoundTripDelay"]); - return $this->_propDict["maximumInboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the maximumInboundRoundTripDelay - * The maximum inbound stream network round trip delay. - * - * @param Duration $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 Duration The maximumOutboundJitter - */ - public function getMaximumOutboundJitter() - { - if (array_key_exists("maximumOutboundJitter", $this->_propDict)) { - if (is_a($this->_propDict["maximumOutboundJitter"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumOutboundJitter"]; - } else { - $this->_propDict["maximumOutboundJitter"] = new Duration($this->_propDict["maximumOutboundJitter"]); - return $this->_propDict["maximumOutboundJitter"]; - } - } - return null; - } - - /** - * Sets the maximumOutboundJitter - * The maximum outbound stream network jitter. - * - * @param Duration $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 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 Duration The maximumOutboundRoundTripDelay - */ - public function getMaximumOutboundRoundTripDelay() - { - if (array_key_exists("maximumOutboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["maximumOutboundRoundTripDelay"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumOutboundRoundTripDelay"]; - } else { - $this->_propDict["maximumOutboundRoundTripDelay"] = new Duration($this->_propDict["maximumOutboundRoundTripDelay"]); - return $this->_propDict["maximumOutboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the maximumOutboundRoundTripDelay - * The maximum outbound stream network round trip delay. - * - * @param Duration $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 Duration The mediaDuration - */ - public function getMediaDuration() - { - if (array_key_exists("mediaDuration", $this->_propDict)) { - if (is_a($this->_propDict["mediaDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["mediaDuration"]; - } else { - $this->_propDict["mediaDuration"] = new Duration($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 Duration $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 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 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 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 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 deleted file mode 100644 index cf01c47b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceQuality.php +++ /dev/null @@ -1,311 +0,0 @@ -_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 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 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 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 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 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 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 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 The mediaQualityList - */ - public function getMediaQualityList() - { - if (array_key_exists("mediaQualityList", $this->_propDict)) { - if (is_a($this->_propDict["mediaQualityList"], "\Beta\Microsoft\Graph\Model\TeleconferenceDeviceMediaQuality")) { - 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 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 deleted file mode 100644 index 813d5942..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TeleconferenceDeviceScreenSharingQuality.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 64bcb069..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethod.php +++ /dev/null @@ -1,238 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 3b43a393..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TemporaryAccessPassAuthenticationMethodConfiguration.php +++ /dev/null @@ -1,190 +0,0 @@ -_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 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 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 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 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 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/TenantSetupInfo.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantSetupInfo.php deleted file mode 100644 index 8ff1cae4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TenantSetupInfo.php +++ /dev/null @@ -1,197 +0,0 @@ -_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 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 The setupStatus - */ - public function getSetupStatus() - { - if (array_key_exists("setupStatus", $this->_propDict)) { - if (is_a($this->_propDict["setupStatus"], "\Beta\Microsoft\Graph\Model\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 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 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 The defaultRolesSettings - */ - public function getDefaultRolesSettings() - { - if (array_key_exists("defaultRolesSettings", $this->_propDict)) { - if (is_a($this->_propDict["defaultRolesSettings"], "\Beta\Microsoft\Graph\Model\PrivilegedRoleSettings")) { - 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 deleted file mode 100644 index 4e79608d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermColumn.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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; - } -} 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 deleted file mode 100644 index 6f4c6818..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditions.php +++ /dev/null @@ -1,419 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index ae6c3911..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAcceptanceStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["acceptedDateTime"], "\DateTime")) { - 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 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 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 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 The termsAndConditions - */ - public function getTermsAndConditions() - { - if (array_key_exists("termsAndConditions", $this->_propDict)) { - if (is_a($this->_propDict["termsAndConditions"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index d4c7fa25..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index c069d88d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsAndConditionsGroupAssignment.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The termsAndConditions - */ - public function getTermsAndConditions() - { - if (array_key_exists("termsAndConditions", $this->_propDict)) { - if (is_a($this->_propDict["termsAndConditions"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 51d94b6a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsExpiration.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["frequency"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["frequency"]; - } else { - $this->_propDict["frequency"] = new Duration($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 Duration $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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 1dcddff7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TermsOfUseContainer.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - return $this->_propDict["agreementAcceptances"]; - } else { - return null; - } - } - - /** - * Sets the agreementAcceptances - * - * @param AgreementAcceptance $val The agreementAcceptances - * - * @return TermsOfUseContainer - */ - public function setAgreementAcceptances($val) - { - $this->_propDict["agreementAcceptances"] = $val; - return $this; - } - - - /** - * Gets the agreements - * - * @return array The agreements - */ - public function getAgreements() - { - if (array_key_exists("agreements", $this->_propDict)) { - return $this->_propDict["agreements"]; - } else { - return null; - } - } - - /** - * Sets the agreements - * - * @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 deleted file mode 100644 index e891bc72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextClassificationRequest.php +++ /dev/null @@ -1,170 +0,0 @@ -_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 The matchTolerancesToInclude - */ - public function getMatchTolerancesToInclude() - { - if (array_key_exists("matchTolerancesToInclude", $this->_propDict)) { - if (is_a($this->_propDict["matchTolerancesToInclude"], "\Beta\Microsoft\Graph\Model\MlClassificationMatchTolerance")) { - 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 The scopesToRun - */ - public function getScopesToRun() - { - if (array_key_exists("scopesToRun", $this->_propDict)) { - if (is_a($this->_propDict["scopesToRun"], "\Beta\Microsoft\Graph\Model\SensitiveTypeScope")) { - 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 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 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 deleted file mode 100644 index 13a83a0e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TextColumn.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index ac25b132..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentContentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\ThreatCategory")) { - 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 The contentType - */ - public function getContentType() - { - if (array_key_exists("contentType", $this->_propDict)) { - if (is_a($this->_propDict["contentType"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentContentType")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The expectedAssessment - */ - public function getExpectedAssessment() - { - if (array_key_exists("expectedAssessment", $this->_propDict)) { - if (is_a($this->_propDict["expectedAssessment"], "\Beta\Microsoft\Graph\Model\ThreatExpectedAssessment")) { - 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 The requestSource - */ - public function getRequestSource() - { - if (array_key_exists("requestSource", $this->_propDict)) { - if (is_a($this->_propDict["requestSource"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentRequestSource")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentStatus")) { - 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 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 deleted file mode 100644 index 44fe1522..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentRequestPivotProperty.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index e47f549d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResult.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The resultType - */ - public function getResultType() - { - if (array_key_exists("resultType", $this->_propDict)) { - if (is_a($this->_propDict["resultType"], "\Beta\Microsoft\Graph\Model\ThreatAssessmentResultType")) { - 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 deleted file mode 100644 index 43f8eecb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThreatAssessmentResultType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 deleted file mode 100644 index 0c176da7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ThumbnailColumn.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["large"], "\Beta\Microsoft\Graph\Model\Thumbnail")) { - 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 The medium - */ - public function getMedium() - { - if (array_key_exists("medium", $this->_propDict)) { - if (is_a($this->_propDict["medium"], "\Beta\Microsoft\Graph\Model\Thumbnail")) { - 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 The small - */ - public function getSmall() - { - if (array_key_exists("small", $this->_propDict)) { - if (is_a($this->_propDict["small"], "\Beta\Microsoft\Graph\Model\Thumbnail")) { - 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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\Thumbnail")) { - 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 deleted file mode 100644 index fe5b5904..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TiAction.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\TiAction")) { - 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 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 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 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 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 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 The diamondModel - */ - public function getDiamondModel() - { - if (array_key_exists("diamondModel", $this->_propDict)) { - if (is_a($this->_propDict["diamondModel"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The fileCompileDateTime - */ - public function getFileCompileDateTime() - { - if (array_key_exists("fileCompileDateTime", $this->_propDict)) { - if (is_a($this->_propDict["fileCompileDateTime"], "\DateTime")) { - 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 The fileCreatedDateTime - */ - public function getFileCreatedDateTime() - { - if (array_key_exists("fileCreatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["fileCreatedDateTime"], "\DateTime")) { - 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 The fileHashType - */ - public function getFileHashType() - { - if (array_key_exists("fileHashType", $this->_propDict)) { - if (is_a($this->_propDict["fileHashType"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 The ingestedDateTime - */ - public function getIngestedDateTime() - { - if (array_key_exists("ingestedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["ingestedDateTime"], "\DateTime")) { - 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 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The tlpLevel - */ - public function getTlpLevel() - { - if (array_key_exists("tlpLevel", $this->_propDict)) { - if (is_a($this->_propDict["tlpLevel"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index f7505a6a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TicketInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -_propDict)) { - return $this->_propDict["ticketNumber"]; - } else { - return null; - } - } - - /** - * Sets the ticketNumber - * - * @param string $val The value of the ticketNumber - * - * @return TicketInfo - */ - public function setTicketNumber($val) - { - $this->_propDict["ticketNumber"] = $val; - return $this; - } - /** - * Gets the ticketSystem - * - * @return string The ticketSystem - */ - public function getTicketSystem() - { - if (array_key_exists("ticketSystem", $this->_propDict)) { - return $this->_propDict["ticketSystem"]; - } else { - return null; - } - } - - /** - * Sets the ticketSystem - * - * @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 deleted file mode 100644 index 804c1c63..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCard.php +++ /dev/null @@ -1,268 +0,0 @@ -_propDict)) { - return $this->_propDict["breaks"]; - } else { - return null; - } - } - - /** - * Sets the breaks - * - * @param TimeCardBreak $val The breaks - * - * @return TimeCard - */ - public function setBreaks($val) - { - $this->_propDict["breaks"] = $val; - return $this; - } - - /** - * Gets the clockInEvent - * - * @return TimeCardEvent The clockInEvent - */ - public function getClockInEvent() - { - if (array_key_exists("clockInEvent", $this->_propDict)) { - if (is_a($this->_propDict["clockInEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent")) { - return $this->_propDict["clockInEvent"]; - } else { - $this->_propDict["clockInEvent"] = new TimeCardEvent($this->_propDict["clockInEvent"]); - return $this->_propDict["clockInEvent"]; - } - } - return null; - } - - /** - * Sets the clockInEvent - * - * @param TimeCardEvent $val The clockInEvent - * - * @return TimeCard - */ - public function setClockInEvent($val) - { - $this->_propDict["clockInEvent"] = $val; - return $this; - } - - /** - * Gets the clockOutEvent - * - * @return TimeCardEvent The clockOutEvent - */ - public function getClockOutEvent() - { - if (array_key_exists("clockOutEvent", $this->_propDict)) { - if (is_a($this->_propDict["clockOutEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent")) { - return $this->_propDict["clockOutEvent"]; - } else { - $this->_propDict["clockOutEvent"] = new TimeCardEvent($this->_propDict["clockOutEvent"]); - return $this->_propDict["clockOutEvent"]; - } - } - return null; - } - - /** - * Sets the clockOutEvent - * - * @param TimeCardEvent $val The clockOutEvent - * - * @return TimeCard - */ - public function setClockOutEvent($val) - { - $this->_propDict["clockOutEvent"] = $val; - return $this; - } - - /** - * Gets the confirmedBy - * - * @return ConfirmedBy The confirmedBy - */ - public function getConfirmedBy() - { - if (array_key_exists("confirmedBy", $this->_propDict)) { - if (is_a($this->_propDict["confirmedBy"], "\Beta\Microsoft\Graph\Model\ConfirmedBy")) { - return $this->_propDict["confirmedBy"]; - } else { - $this->_propDict["confirmedBy"] = new ConfirmedBy($this->_propDict["confirmedBy"]); - return $this->_propDict["confirmedBy"]; - } - } - return null; - } - - /** - * Sets the confirmedBy - * - * @param ConfirmedBy $val The confirmedBy - * - * @return TimeCard - */ - public function setConfirmedBy($val) - { - $this->_propDict["confirmedBy"] = $val; - return $this; - } - - /** - * Gets the notes - * - * @return ItemBody The notes - */ - public function getNotes() - { - if (array_key_exists("notes", $this->_propDict)) { - if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - return $this->_propDict["notes"]; - } else { - $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); - return $this->_propDict["notes"]; - } - } - return null; - } - - /** - * Sets the notes - * - * @param ItemBody $val The notes - * - * @return TimeCard - */ - public function setNotes($val) - { - $this->_propDict["notes"] = $val; - return $this; - } - - /** - * Gets the originalEntry - * - * @return TimeCardEntry The originalEntry - */ - public function getOriginalEntry() - { - if (array_key_exists("originalEntry", $this->_propDict)) { - if (is_a($this->_propDict["originalEntry"], "\Beta\Microsoft\Graph\Model\TimeCardEntry")) { - return $this->_propDict["originalEntry"]; - } else { - $this->_propDict["originalEntry"] = new TimeCardEntry($this->_propDict["originalEntry"]); - return $this->_propDict["originalEntry"]; - } - } - return null; - } - - /** - * Sets the originalEntry - * - * @param TimeCardEntry $val The originalEntry - * - * @return TimeCard - */ - public function setOriginalEntry($val) - { - $this->_propDict["originalEntry"] = $val; - return $this; - } - - /** - * Gets the state - * - * @return TimeCardState The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\TimeCardState")) { - return $this->_propDict["state"]; - } else { - $this->_propDict["state"] = new TimeCardState($this->_propDict["state"]); - return $this->_propDict["state"]; - } - } - return null; - } - - /** - * Sets the state - * - * @param TimeCardState $val The state - * - * @return TimeCard - */ - public function setState($val) - { - $this->_propDict["state"] = $val; - return $this; - } - - /** - * Gets the userId - * - * @return string 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 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 deleted file mode 100644 index 48343143..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardBreak.php +++ /dev/null @@ -1,145 +0,0 @@ -_propDict)) { - return $this->_propDict["breakId"]; - } else { - return null; - } - } - - /** - * Sets the breakId - * - * @param string $val The value of the breakId - * - * @return TimeCardBreak - */ - public function setBreakId($val) - { - $this->_propDict["breakId"] = $val; - return $this; - } - - /** - * Gets the end - * - * @return TimeCardEvent The end - */ - public function getEnd() - { - if (array_key_exists("end", $this->_propDict)) { - if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\TimeCardEvent")) { - return $this->_propDict["end"]; - } else { - $this->_propDict["end"] = new TimeCardEvent($this->_propDict["end"]); - return $this->_propDict["end"]; - } - } - return null; - } - - /** - * Sets the end - * - * @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 - * - * @return ItemBody The notes - */ - public function getNotes() - { - if (array_key_exists("notes", $this->_propDict)) { - if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - return $this->_propDict["notes"]; - } else { - $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); - return $this->_propDict["notes"]; - } - } - return null; - } - - /** - * Sets the notes - * - * @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 - * - * @return TimeCardEvent The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\TimeCardEvent")) { - return $this->_propDict["start"]; - } else { - $this->_propDict["start"] = new TimeCardEvent($this->_propDict["start"]); - return $this->_propDict["start"]; - } - } - return null; - } - - /** - * Sets the start - * - * @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 deleted file mode 100644 index a417ed97..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEntry.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["breaks"], "\Beta\Microsoft\Graph\Model\TimeCardBreak")) { - return $this->_propDict["breaks"]; - } else { - $this->_propDict["breaks"] = new TimeCardBreak($this->_propDict["breaks"]); - return $this->_propDict["breaks"]; - } - } - return null; - } - - /** - * Sets the breaks - * - * @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 - * - * @return TimeCardEvent The clockInEvent - */ - public function getClockInEvent() - { - if (array_key_exists("clockInEvent", $this->_propDict)) { - if (is_a($this->_propDict["clockInEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent")) { - return $this->_propDict["clockInEvent"]; - } else { - $this->_propDict["clockInEvent"] = new TimeCardEvent($this->_propDict["clockInEvent"]); - return $this->_propDict["clockInEvent"]; - } - } - return null; - } - - /** - * Sets the clockInEvent - * - * @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 - * - * @return TimeCardEvent The clockOutEvent - */ - public function getClockOutEvent() - { - if (array_key_exists("clockOutEvent", $this->_propDict)) { - if (is_a($this->_propDict["clockOutEvent"], "\Beta\Microsoft\Graph\Model\TimeCardEvent")) { - return $this->_propDict["clockOutEvent"]; - } else { - $this->_propDict["clockOutEvent"] = new TimeCardEvent($this->_propDict["clockOutEvent"]); - return $this->_propDict["clockOutEvent"]; - } - } - return null; - } - - /** - * Sets the clockOutEvent - * - * @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 deleted file mode 100644 index bed8afed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardEvent.php +++ /dev/null @@ -1,114 +0,0 @@ -_propDict)) { - return $this->_propDict["atApprovedLocation"]; - } else { - return null; - } - } - - /** - * Sets the atApprovedLocation - * - * @param bool $val The value of the atApprovedLocation - * - * @return TimeCardEvent - */ - public function setAtApprovedLocation($val) - { - $this->_propDict["atApprovedLocation"] = $val; - return $this; - } - - /** - * Gets the dateTime - * - * @return \DateTime The dateTime - */ - public function getDateTime() - { - if (array_key_exists("dateTime", $this->_propDict)) { - if (is_a($this->_propDict["dateTime"], "\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 value to assign to the dateTime - * - * @return TimeCardEvent The TimeCardEvent - */ - public function setDateTime($val) - { - $this->_propDict["dateTime"] = $val; - return $this; - } - - /** - * Gets the notes - * - * @return ItemBody The notes - */ - public function getNotes() - { - if (array_key_exists("notes", $this->_propDict)) { - if (is_a($this->_propDict["notes"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - return $this->_propDict["notes"]; - } else { - $this->_propDict["notes"] = new ItemBody($this->_propDict["notes"]); - return $this->_propDict["notes"]; - } - } - return null; - } - - /** - * Sets the notes - * - * @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 deleted file mode 100644 index decac1c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeCardState.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["approvedLocation"], "\Beta\Microsoft\Graph\Model\GeoCoordinates")) { - return $this->_propDict["approvedLocation"]; - } else { - $this->_propDict["approvedLocation"] = new GeoCoordinates($this->_propDict["approvedLocation"]); - return $this->_propDict["approvedLocation"]; - } - } - return null; - } - - /** - * Sets the approvedLocation - * - * @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 deleted file mode 100644 index 2c1d2978..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeConstraint.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activityDomain"], "\Beta\Microsoft\Graph\Model\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 The timeSlots - */ - public function getTimeSlots() - { - if (array_key_exists("timeSlots", $this->_propDict)) { - if (is_a($this->_propDict["timeSlots"], "\Beta\Microsoft\Graph\Model\TimeSlot")) { - 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 deleted file mode 100644 index d219efc7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOff.php +++ /dev/null @@ -1,149 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["draftTimeOff"], "\Beta\Microsoft\Graph\Model\TimeOffItem")) { - 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 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 The sharedTimeOff - */ - public function getSharedTimeOff() - { - if (array_key_exists("sharedTimeOff", $this->_propDict)) { - if (is_a($this->_propDict["sharedTimeOff"], "\Beta\Microsoft\Graph\Model\TimeOffItem")) { - 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 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 deleted file mode 100644 index 8cc2604a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index d2995b92..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReason.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The iconType - */ - public function getIconType() - { - if (array_key_exists("iconType", $this->_propDict)) { - if (is_a($this->_propDict["iconType"], "\Beta\Microsoft\Graph\Model\TimeOffReasonIconType")) { - 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 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 deleted file mode 100644 index 675a6fc4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeOffReasonIconType.php +++ /dev/null @@ -1,54 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 9d6af864..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeRange.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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/TimeSlot.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSlot.php deleted file mode 100644 index bbee8643..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeSlot.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["end"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 begins. - * - * @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 ends. - * - * @return DateTimeTimeZone The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 ends. - * - * @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 deleted file mode 100644 index e3bd45c4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneBase.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index e7046fd1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneInformation.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 7d1db2d3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TimeZoneStandard.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index c27c3cd1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTask.php +++ /dev/null @@ -1,475 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["body"], "\Beta\Microsoft\Graph\Model\ItemBody")) { - 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 The bodyLastModifiedDateTime - */ - public function getBodyLastModifiedDateTime() - { - if (array_key_exists("bodyLastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["bodyLastModifiedDateTime"], "\DateTime")) { - 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 completedDateTime - * The date in the specified time zone that the task was finished. - * - * @return DateTimeTimeZone The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Beta\Microsoft\Graph\Model\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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The reminderDateTime - */ - public function getReminderDateTime() - { - if (array_key_exists("reminderDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reminderDateTime"], "\Beta\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\TaskStatus")) { - 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 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 extensions - * The collection of open extensions defined for the task. Nullable. - * - * @return array 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 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 deleted file mode 100644 index 2e302f64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TodoTaskList.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 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 The wellknownListName - */ - public function getWellknownListName() - { - if (array_key_exists("wellknownListName", $this->_propDict)) { - if (is_a($this->_propDict["wellknownListName"], "\Beta\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 25a38625..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TokenIssuancePolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -setODataType("#microsoft.graph.tokenMeetingInfo"); - } - - /** - * Gets the token - * The token used to join the call. - * - * @return string 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 deleted file mode 100644 index 3c607268..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Tone.php +++ /dev/null @@ -1,49 +0,0 @@ -_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 The tone - */ - public function getTone() - { - if (array_key_exists("tone", $this->_propDict)) { - if (is_a($this->_propDict["tone"], "\Beta\Microsoft\Graph\Model\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/TranslationBehavior.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TranslationBehavior.php deleted file mode 100644 index fe53f086..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TranslationBehavior.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The translationBehavior - */ - public function getTranslationBehavior() - { - if (array_key_exists("translationBehavior", $this->_propDict)) { - if (is_a($this->_propDict["translationBehavior"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index b8b649dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TranslationPreferences.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["languageOverrides"], "\Beta\Microsoft\Graph\Model\TranslationLanguageOverride")) { - 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 The translationBehavior - */ - public function getTranslationBehavior() - { - if (array_key_exists("translationBehavior", $this->_propDict)) { - if (is_a($this->_propDict["translationBehavior"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index ee8203d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Trending.php +++ /dev/null @@ -1,186 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The resourceReference - */ - public function getResourceReference() - { - if (array_key_exists("resourceReference", $this->_propDict)) { - if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\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 The resourceVisualization - */ - public function getResourceVisualization() - { - if (array_key_exists("resourceVisualization", $this->_propDict)) { - if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\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 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"] = $val; - return $this; - } - - /** - * Gets the resource - * Used for navigating to the trending document. - * - * @return Entity The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index 98eba114..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php +++ /dev/null @@ -1,152 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new TrustFramework - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - 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 deleted file mode 100644 index b6649e07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKey.php +++ /dev/null @@ -1,474 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 76067704..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkKeySet.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 760c7a50..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFrameworkPolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\EmailType")) { - 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/UnaryManagementConditionExpression.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnaryManagementConditionExpression.php deleted file mode 100644 index db6eadea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnaryManagementConditionExpression.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["operand"], "\Beta\Microsoft\Graph\Model\ManagementConditionExpressionModel")) { - return $this->_propDict["operand"]; - } else { - $this->_propDict["operand"] = new ManagementConditionExpressionModel($this->_propDict["operand"]); - return $this->_propDict["operand"]; - } - } - return null; - } - - /** - * Sets the operand - * The operand of the unary operation. - * - * @param ManagementConditionExpressionModel $val The value to assign to the operand - * - * @return UnaryManagementConditionExpression The UnaryManagementConditionExpression - */ - public function setOperand($val) - { - $this->_propDict["operand"] = $val; - return $this; - } - - /** - * Gets the operator - * The operator used in the evaluation of the unary operation. Possible values are: not. - * - * @return UnaryManagementConditionExpressionOperatorType The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\UnaryManagementConditionExpressionOperatorType")) { - return $this->_propDict["operator"]; - } else { - $this->_propDict["operator"] = new UnaryManagementConditionExpressionOperatorType($this->_propDict["operator"]); - return $this->_propDict["operator"]; - } - } - return null; - } - - /** - * Sets the operator - * The operator used in the evaluation of the unary operation. Possible values are: not. - * - * @param UnaryManagementConditionExpressionOperatorType $val The value to assign to the operator - * - * @return UnaryManagementConditionExpression The UnaryManagementConditionExpression - */ - public function setOperator($val) - { - $this->_propDict["operator"] = $val; - return $this; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnaryManagementConditionExpressionOperatorType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnaryManagementConditionExpressionOperatorType.php deleted file mode 100644 index 76a909cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnaryManagementConditionExpressionOperatorType.php +++ /dev/null @@ -1,33 +0,0 @@ -_propDict)) { - return $this->_propDict["actionVerb"]; - } else { - return null; - } - } - - /** - * Sets the actionVerb - * - * @param string $val The actionVerb - * - * @return UnifiedRbacResourceAction - */ - public function setActionVerb($val) - { - $this->_propDict["actionVerb"] = $val; - return $this; - } - - /** - * Gets the description - * - * @return string 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 UnifiedRbacResourceAction - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the name - * - * @return string 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 UnifiedRbacResourceAction - */ - public function setName($val) - { - $this->_propDict["name"] = $val; - return $this; - } - - /** - * Gets the resourceScopeId - * - * @return string The resourceScopeId - */ - public function getResourceScopeId() - { - if (array_key_exists("resourceScopeId", $this->_propDict)) { - return $this->_propDict["resourceScopeId"]; - } else { - return null; - } - } - - /** - * Sets the resourceScopeId - * - * @param string $val The resourceScopeId - * - * @return UnifiedRbacResourceAction - */ - public function setResourceScopeId($val) - { - $this->_propDict["resourceScopeId"] = $val; - return $this; - } - - /** - * Gets the resourceScope - * - * @return UnifiedRbacResourceScope The resourceScope - */ - public function getResourceScope() - { - if (array_key_exists("resourceScope", $this->_propDict)) { - if (is_a($this->_propDict["resourceScope"], "\Beta\Microsoft\Graph\Model\UnifiedRbacResourceScope")) { - 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 deleted file mode 100644 index 80f3b426..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceNamespace.php +++ /dev/null @@ -1,82 +0,0 @@ -_propDict)) { - return $this->_propDict["name"]; - } else { - return null; - } - } - - /** - * Sets the name - * - * @param string $val The name - * - * @return UnifiedRbacResourceNamespace - */ - public function setName($val) - { - $this->_propDict["name"] = $val; - return $this; - } - - - /** - * Gets the resourceActions - * - * @return array The resourceActions - */ - public function getResourceActions() - { - if (array_key_exists("resourceActions", $this->_propDict)) { - return $this->_propDict["resourceActions"]; - } else { - return null; - } - } - - /** - * Sets the resourceActions - * - * @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 deleted file mode 100644 index adca06b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacResourceScope.php +++ /dev/null @@ -1,108 +0,0 @@ -_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 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 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/UnifiedRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignment.php deleted file mode 100644 index c768cbab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignment.php +++ /dev/null @@ -1,323 +0,0 @@ -_propDict)) { - return $this->_propDict["appScopeId"]; - } else { - return null; - } - } - - /** - * Sets the appScopeId - * Id 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. - * - * @param string $val The appScopeId - * - * @return UnifiedRoleAssignment - */ - public function setAppScopeId($val) - { - $this->_propDict["appScopeId"] = $val; - return $this; - } - - /** - * Gets the condition - * - * @return string 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 - * Id 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 The directoryScopeId - */ - public function getDirectoryScopeId() - { - if (array_key_exists("directoryScopeId", $this->_propDict)) { - return $this->_propDict["directoryScopeId"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopeId - * Id 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 - * Objectid of the principal to which the assignment is granted. - * - * @return string The principalId - */ - public function getPrincipalId() - { - if (array_key_exists("principalId", $this->_propDict)) { - return $this->_propDict["principalId"]; - } else { - return null; - } - } - - /** - * Sets the principalId - * Objectid of the principal to which the assignment is granted. - * - * @param string $val The principalId - * - * @return UnifiedRoleAssignment - */ - public function setPrincipalId($val) - { - $this->_propDict["principalId"] = $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 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 - * ID of the unifiedRoleDefinition the assignment is for. Read only. - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * ID of the unifiedRoleDefinition the assignment is for. Read only. - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleAssignment - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the appScope - * - * @return AppScope The appScope - */ - public function getAppScope() - { - if (array_key_exists("appScope", $this->_propDict)) { - if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope")) { - return $this->_propDict["appScope"]; - } else { - $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); - return $this->_propDict["appScope"]; - } - } - return null; - } - - /** - * Sets the appScope - * - * @param AppScope $val The appScope - * - * @return UnifiedRoleAssignment - */ - public function setAppScope($val) - { - $this->_propDict["appScope"] = $val; - return $this; - } - - /** - * Gets the directoryScope - * - * @return DirectoryObject The directoryScope - */ - public function getDirectoryScope() - { - if (array_key_exists("directoryScope", $this->_propDict)) { - if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["directoryScope"]; - } else { - $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); - return $this->_propDict["directoryScope"]; - } - } - return null; - } - - /** - * Sets the directoryScope - * - * @param DirectoryObject $val The directoryScope - * - * @return UnifiedRoleAssignment - */ - public function setDirectoryScope($val) - { - $this->_propDict["directoryScope"] = $val; - return $this; - } - - /** - * Gets the principal - * - * @return DirectoryObject The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["principal"]; - } else { - $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); - return $this->_propDict["principal"]; - } - } - return null; - } - - /** - * Sets the principal - * - * @param DirectoryObject $val The principal - * - * @return UnifiedRoleAssignment - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @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 deleted file mode 100644 index 4ad38ab8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentMultiple.php +++ /dev/null @@ -1,343 +0,0 @@ -_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 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 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 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 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 - * Objectids of the principals to which the assignment is granted. - * - * @return string The principalIds - */ - public function getPrincipalIds() - { - if (array_key_exists("principalIds", $this->_propDict)) { - return $this->_propDict["principalIds"]; - } else { - return null; - } - } - - /** - * Sets the principalIds - * Objectids of the principals to which the assignment is granted. - * - * @param string $val The principalIds - * - * @return UnifiedRoleAssignmentMultiple - */ - public function setPrincipalIds($val) - { - $this->_propDict["principalIds"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * ID of the unifiedRoleDefinition the assignment is for. - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * ID 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 - * - * @return array The appScopes - */ - public function getAppScopes() - { - if (array_key_exists("appScopes", $this->_propDict)) { - return $this->_propDict["appScopes"]; - } else { - return null; - } - } - - /** - * Sets the appScopes - * - * @param AppScope $val The appScopes - * - * @return UnifiedRoleAssignmentMultiple - */ - public function setAppScopes($val) - { - $this->_propDict["appScopes"] = $val; - return $this; - } - - - /** - * Gets the directoryScopes - * - * @return array The directoryScopes - */ - public function getDirectoryScopes() - { - if (array_key_exists("directoryScopes", $this->_propDict)) { - return $this->_propDict["directoryScopes"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopes - * - * @param DirectoryObject $val The directoryScopes - * - * @return UnifiedRoleAssignmentMultiple - */ - public function setDirectoryScopes($val) - { - $this->_propDict["directoryScopes"] = $val; - return $this; - } - - - /** - * Gets the principals - * - * @return array The principals - */ - public function getPrincipals() - { - if (array_key_exists("principals", $this->_propDict)) { - return $this->_propDict["principals"]; - } else { - return null; - } - } - - /** - * Sets the principals - * - * @param DirectoryObject $val The principals - * - * @return UnifiedRoleAssignmentMultiple - */ - public function setPrincipals($val) - { - $this->_propDict["principals"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @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/UnifiedRoleAssignmentRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentRequest.php deleted file mode 100644 index c2c1feb7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentRequest.php +++ /dev/null @@ -1,491 +0,0 @@ -_propDict)) { - return $this->_propDict["action"]; - } else { - return null; - } - } - - /** - * Sets the action - * - * @param string $val The action - * - * @return UnifiedRoleAssignmentRequest - */ - public function setAction($val) - { - $this->_propDict["action"] = $val; - return $this; - } - - /** - * Gets the appScopeId - * - * @return string The appScopeId - */ - public function getAppScopeId() - { - if (array_key_exists("appScopeId", $this->_propDict)) { - return $this->_propDict["appScopeId"]; - } else { - return null; - } - } - - /** - * Sets the appScopeId - * - * @param string $val The appScopeId - * - * @return UnifiedRoleAssignmentRequest - */ - public function setAppScopeId($val) - { - $this->_propDict["appScopeId"] = $val; - return $this; - } - - /** - * Gets the directoryScopeId - * - * @return string The directoryScopeId - */ - public function getDirectoryScopeId() - { - if (array_key_exists("directoryScopeId", $this->_propDict)) { - return $this->_propDict["directoryScopeId"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopeId - * - * @param string $val The directoryScopeId - * - * @return UnifiedRoleAssignmentRequest - */ - public function setDirectoryScopeId($val) - { - $this->_propDict["directoryScopeId"] = $val; - return $this; - } - - /** - * Gets the isValidationOnly - * - * @return bool The isValidationOnly - */ - public function getIsValidationOnly() - { - if (array_key_exists("isValidationOnly", $this->_propDict)) { - return $this->_propDict["isValidationOnly"]; - } else { - return null; - } - } - - /** - * Sets the isValidationOnly - * - * @param bool $val The isValidationOnly - * - * @return UnifiedRoleAssignmentRequest - */ - public function setIsValidationOnly($val) - { - $this->_propDict["isValidationOnly"] = boolval($val); - return $this; - } - - /** - * Gets the justification - * - * @return string The justification - */ - public function getJustification() - { - if (array_key_exists("justification", $this->_propDict)) { - return $this->_propDict["justification"]; - } else { - return null; - } - } - - /** - * Sets the justification - * - * @param string $val The justification - * - * @return UnifiedRoleAssignmentRequest - */ - public function setJustification($val) - { - $this->_propDict["justification"] = $val; - return $this; - } - - /** - * Gets the principalId - * - * @return string The principalId - */ - public function getPrincipalId() - { - if (array_key_exists("principalId", $this->_propDict)) { - return $this->_propDict["principalId"]; - } else { - return null; - } - } - - /** - * Sets the principalId - * - * @param string $val The principalId - * - * @return UnifiedRoleAssignmentRequest - */ - public function setPrincipalId($val) - { - $this->_propDict["principalId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleAssignmentRequest - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the scheduleInfo - * - * @return RequestSchedule The scheduleInfo - */ - public function getScheduleInfo() - { - if (array_key_exists("scheduleInfo", $this->_propDict)) { - if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule")) { - return $this->_propDict["scheduleInfo"]; - } else { - $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); - return $this->_propDict["scheduleInfo"]; - } - } - return null; - } - - /** - * Sets the scheduleInfo - * - * @param RequestSchedule $val The scheduleInfo - * - * @return UnifiedRoleAssignmentRequest - */ - public function setScheduleInfo($val) - { - $this->_propDict["scheduleInfo"] = $val; - return $this; - } - - /** - * Gets the targetScheduleId - * - * @return string The targetScheduleId - */ - public function getTargetScheduleId() - { - if (array_key_exists("targetScheduleId", $this->_propDict)) { - return $this->_propDict["targetScheduleId"]; - } else { - return null; - } - } - - /** - * Sets the targetScheduleId - * - * @param string $val The targetScheduleId - * - * @return UnifiedRoleAssignmentRequest - */ - public function setTargetScheduleId($val) - { - $this->_propDict["targetScheduleId"] = $val; - return $this; - } - - /** - * Gets the ticketInfo - * - * @return TicketInfo The ticketInfo - */ - public function getTicketInfo() - { - if (array_key_exists("ticketInfo", $this->_propDict)) { - if (is_a($this->_propDict["ticketInfo"], "\Beta\Microsoft\Graph\Model\TicketInfo")) { - return $this->_propDict["ticketInfo"]; - } else { - $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); - return $this->_propDict["ticketInfo"]; - } - } - return null; - } - - /** - * Sets the ticketInfo - * - * @param TicketInfo $val The ticketInfo - * - * @return UnifiedRoleAssignmentRequest - */ - public function setTicketInfo($val) - { - $this->_propDict["ticketInfo"] = $val; - return $this; - } - - /** - * Gets the activatedUsing - * - * @return UnifiedRoleEligibilitySchedule The activatedUsing - */ - public function getActivatedUsing() - { - if (array_key_exists("activatedUsing", $this->_propDict)) { - if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule")) { - return $this->_propDict["activatedUsing"]; - } else { - $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilitySchedule($this->_propDict["activatedUsing"]); - return $this->_propDict["activatedUsing"]; - } - } - return null; - } - - /** - * Sets the activatedUsing - * - * @param UnifiedRoleEligibilitySchedule $val The activatedUsing - * - * @return UnifiedRoleAssignmentRequest - */ - public function setActivatedUsing($val) - { - $this->_propDict["activatedUsing"] = $val; - return $this; - } - - /** - * Gets the appScope - * - * @return AppScope The appScope - */ - public function getAppScope() - { - if (array_key_exists("appScope", $this->_propDict)) { - if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope")) { - return $this->_propDict["appScope"]; - } else { - $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); - return $this->_propDict["appScope"]; - } - } - return null; - } - - /** - * Sets the appScope - * - * @param AppScope $val The appScope - * - * @return UnifiedRoleAssignmentRequest - */ - public function setAppScope($val) - { - $this->_propDict["appScope"] = $val; - return $this; - } - - /** - * Gets the directoryScope - * - * @return DirectoryObject The directoryScope - */ - public function getDirectoryScope() - { - if (array_key_exists("directoryScope", $this->_propDict)) { - if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["directoryScope"]; - } else { - $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); - return $this->_propDict["directoryScope"]; - } - } - return null; - } - - /** - * Sets the directoryScope - * - * @param DirectoryObject $val The directoryScope - * - * @return UnifiedRoleAssignmentRequest - */ - public function setDirectoryScope($val) - { - $this->_propDict["directoryScope"] = $val; - return $this; - } - - /** - * Gets the principal - * - * @return DirectoryObject The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["principal"]; - } else { - $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); - return $this->_propDict["principal"]; - } - } - return null; - } - - /** - * Sets the principal - * - * @param DirectoryObject $val The principal - * - * @return UnifiedRoleAssignmentRequest - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @param UnifiedRoleDefinition $val The roleDefinition - * - * @return UnifiedRoleAssignmentRequest - */ - public function setRoleDefinition($val) - { - $this->_propDict["roleDefinition"] = $val; - return $this; - } - - /** - * Gets the targetSchedule - * - * @return UnifiedRoleAssignmentSchedule The targetSchedule - */ - public function getTargetSchedule() - { - if (array_key_exists("targetSchedule", $this->_propDict)) { - if (is_a($this->_propDict["targetSchedule"], "\Beta\Microsoft\Graph\Model\UnifiedRoleAssignmentSchedule")) { - return $this->_propDict["targetSchedule"]; - } else { - $this->_propDict["targetSchedule"] = new UnifiedRoleAssignmentSchedule($this->_propDict["targetSchedule"]); - return $this->_propDict["targetSchedule"]; - } - } - return null; - } - - /** - * Sets the targetSchedule - * - * @param UnifiedRoleAssignmentSchedule $val The targetSchedule - * - * @return UnifiedRoleAssignmentRequest - */ - public function setTargetSchedule($val) - { - $this->_propDict["targetSchedule"] = $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 deleted file mode 100644 index 5afa7586..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentSchedule.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - return $this->_propDict["assignmentType"]; - } else { - return null; - } - } - - /** - * Sets the assignmentType - * - * @param string $val The assignmentType - * - * @return UnifiedRoleAssignmentSchedule - */ - public function setAssignmentType($val) - { - $this->_propDict["assignmentType"] = $val; - return $this; - } - - /** - * Gets the memberType - * - * @return string The memberType - */ - public function getMemberType() - { - if (array_key_exists("memberType", $this->_propDict)) { - return $this->_propDict["memberType"]; - } else { - return null; - } - } - - /** - * Sets the memberType - * - * @param string $val The memberType - * - * @return UnifiedRoleAssignmentSchedule - */ - public function setMemberType($val) - { - $this->_propDict["memberType"] = $val; - return $this; - } - - /** - * Gets the scheduleInfo - * - * @return RequestSchedule The scheduleInfo - */ - public function getScheduleInfo() - { - if (array_key_exists("scheduleInfo", $this->_propDict)) { - if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule")) { - return $this->_propDict["scheduleInfo"]; - } else { - $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); - return $this->_propDict["scheduleInfo"]; - } - } - return null; - } - - /** - * Sets the scheduleInfo - * - * @param RequestSchedule $val The scheduleInfo - * - * @return UnifiedRoleAssignmentSchedule - */ - public function setScheduleInfo($val) - { - $this->_propDict["scheduleInfo"] = $val; - return $this; - } - - /** - * Gets the activatedUsing - * - * @return UnifiedRoleEligibilitySchedule The activatedUsing - */ - public function getActivatedUsing() - { - if (array_key_exists("activatedUsing", $this->_propDict)) { - if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule")) { - return $this->_propDict["activatedUsing"]; - } else { - $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilitySchedule($this->_propDict["activatedUsing"]); - return $this->_propDict["activatedUsing"]; - } - } - return null; - } - - /** - * Sets the activatedUsing - * - * @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 deleted file mode 100644 index 485ed485..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleAssignmentScheduleInstance.php +++ /dev/null @@ -1,228 +0,0 @@ -_propDict)) { - return $this->_propDict["assignmentType"]; - } else { - return null; - } - } - - /** - * Sets the assignmentType - * - * @param string $val The assignmentType - * - * @return UnifiedRoleAssignmentScheduleInstance - */ - public function setAssignmentType($val) - { - $this->_propDict["assignmentType"] = $val; - return $this; - } - - /** - * Gets the endDateTime - * - * @return \DateTime The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 UnifiedRoleAssignmentScheduleInstance - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the memberType - * - * @return string The memberType - */ - public function getMemberType() - { - if (array_key_exists("memberType", $this->_propDict)) { - return $this->_propDict["memberType"]; - } else { - return null; - } - } - - /** - * Sets the memberType - * - * @param string $val The memberType - * - * @return UnifiedRoleAssignmentScheduleInstance - */ - public function setMemberType($val) - { - $this->_propDict["memberType"] = $val; - return $this; - } - - /** - * Gets the roleAssignmentOriginId - * - * @return string The roleAssignmentOriginId - */ - public function getRoleAssignmentOriginId() - { - if (array_key_exists("roleAssignmentOriginId", $this->_propDict)) { - return $this->_propDict["roleAssignmentOriginId"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignmentOriginId - * - * @param string $val The roleAssignmentOriginId - * - * @return UnifiedRoleAssignmentScheduleInstance - */ - public function setRoleAssignmentOriginId($val) - { - $this->_propDict["roleAssignmentOriginId"] = $val; - return $this; - } - - /** - * Gets the roleAssignmentScheduleId - * - * @return string The roleAssignmentScheduleId - */ - public function getRoleAssignmentScheduleId() - { - if (array_key_exists("roleAssignmentScheduleId", $this->_propDict)) { - return $this->_propDict["roleAssignmentScheduleId"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignmentScheduleId - * - * @param string $val The roleAssignmentScheduleId - * - * @return UnifiedRoleAssignmentScheduleInstance - */ - public function setRoleAssignmentScheduleId($val) - { - $this->_propDict["roleAssignmentScheduleId"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 UnifiedRoleAssignmentScheduleInstance - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $val; - return $this; - } - - /** - * Gets the activatedUsing - * - * @return UnifiedRoleEligibilityScheduleInstance The activatedUsing - */ - public function getActivatedUsing() - { - if (array_key_exists("activatedUsing", $this->_propDict)) { - if (is_a($this->_propDict["activatedUsing"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilityScheduleInstance")) { - return $this->_propDict["activatedUsing"]; - } else { - $this->_propDict["activatedUsing"] = new UnifiedRoleEligibilityScheduleInstance($this->_propDict["activatedUsing"]); - return $this->_propDict["activatedUsing"]; - } - } - return null; - } - - /** - * Sets the activatedUsing - * - * @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/UnifiedRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php deleted file mode 100644 index 99c6a0a6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleDefinition.php +++ /dev/null @@ -1,288 +0,0 @@ -_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. - * - * @return string 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. - * - * @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. - * - * @return bool 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. - * - * @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 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 is going to be deprecated soon. Attach scope to role assignment - * - * @return string 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 is going to 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 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 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 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 - * - * @return array The inheritsPermissionsFrom - */ - public function getInheritsPermissionsFrom() - { - if (array_key_exists("inheritsPermissionsFrom", $this->_propDict)) { - return $this->_propDict["inheritsPermissionsFrom"]; - } else { - return null; - } - } - - /** - * Sets the inheritsPermissionsFrom - * - * @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/UnifiedRoleEligibilityRequest.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityRequest.php deleted file mode 100644 index b8a79d9d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityRequest.php +++ /dev/null @@ -1,460 +0,0 @@ -_propDict)) { - return $this->_propDict["action"]; - } else { - return null; - } - } - - /** - * Sets the action - * - * @param string $val The action - * - * @return UnifiedRoleEligibilityRequest - */ - public function setAction($val) - { - $this->_propDict["action"] = $val; - return $this; - } - - /** - * Gets the appScopeId - * - * @return string The appScopeId - */ - public function getAppScopeId() - { - if (array_key_exists("appScopeId", $this->_propDict)) { - return $this->_propDict["appScopeId"]; - } else { - return null; - } - } - - /** - * Sets the appScopeId - * - * @param string $val The appScopeId - * - * @return UnifiedRoleEligibilityRequest - */ - public function setAppScopeId($val) - { - $this->_propDict["appScopeId"] = $val; - return $this; - } - - /** - * Gets the directoryScopeId - * - * @return string The directoryScopeId - */ - public function getDirectoryScopeId() - { - if (array_key_exists("directoryScopeId", $this->_propDict)) { - return $this->_propDict["directoryScopeId"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopeId - * - * @param string $val The directoryScopeId - * - * @return UnifiedRoleEligibilityRequest - */ - public function setDirectoryScopeId($val) - { - $this->_propDict["directoryScopeId"] = $val; - return $this; - } - - /** - * Gets the isValidationOnly - * - * @return bool The isValidationOnly - */ - public function getIsValidationOnly() - { - if (array_key_exists("isValidationOnly", $this->_propDict)) { - return $this->_propDict["isValidationOnly"]; - } else { - return null; - } - } - - /** - * Sets the isValidationOnly - * - * @param bool $val The isValidationOnly - * - * @return UnifiedRoleEligibilityRequest - */ - public function setIsValidationOnly($val) - { - $this->_propDict["isValidationOnly"] = boolval($val); - return $this; - } - - /** - * Gets the justification - * - * @return string The justification - */ - public function getJustification() - { - if (array_key_exists("justification", $this->_propDict)) { - return $this->_propDict["justification"]; - } else { - return null; - } - } - - /** - * Sets the justification - * - * @param string $val The justification - * - * @return UnifiedRoleEligibilityRequest - */ - public function setJustification($val) - { - $this->_propDict["justification"] = $val; - return $this; - } - - /** - * Gets the principalId - * - * @return string The principalId - */ - public function getPrincipalId() - { - if (array_key_exists("principalId", $this->_propDict)) { - return $this->_propDict["principalId"]; - } else { - return null; - } - } - - /** - * Sets the principalId - * - * @param string $val The principalId - * - * @return UnifiedRoleEligibilityRequest - */ - public function setPrincipalId($val) - { - $this->_propDict["principalId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleEligibilityRequest - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the scheduleInfo - * - * @return RequestSchedule The scheduleInfo - */ - public function getScheduleInfo() - { - if (array_key_exists("scheduleInfo", $this->_propDict)) { - if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule")) { - return $this->_propDict["scheduleInfo"]; - } else { - $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); - return $this->_propDict["scheduleInfo"]; - } - } - return null; - } - - /** - * Sets the scheduleInfo - * - * @param RequestSchedule $val The scheduleInfo - * - * @return UnifiedRoleEligibilityRequest - */ - public function setScheduleInfo($val) - { - $this->_propDict["scheduleInfo"] = $val; - return $this; - } - - /** - * Gets the targetScheduleId - * - * @return string The targetScheduleId - */ - public function getTargetScheduleId() - { - if (array_key_exists("targetScheduleId", $this->_propDict)) { - return $this->_propDict["targetScheduleId"]; - } else { - return null; - } - } - - /** - * Sets the targetScheduleId - * - * @param string $val The targetScheduleId - * - * @return UnifiedRoleEligibilityRequest - */ - public function setTargetScheduleId($val) - { - $this->_propDict["targetScheduleId"] = $val; - return $this; - } - - /** - * Gets the ticketInfo - * - * @return TicketInfo The ticketInfo - */ - public function getTicketInfo() - { - if (array_key_exists("ticketInfo", $this->_propDict)) { - if (is_a($this->_propDict["ticketInfo"], "\Beta\Microsoft\Graph\Model\TicketInfo")) { - return $this->_propDict["ticketInfo"]; - } else { - $this->_propDict["ticketInfo"] = new TicketInfo($this->_propDict["ticketInfo"]); - return $this->_propDict["ticketInfo"]; - } - } - return null; - } - - /** - * Sets the ticketInfo - * - * @param TicketInfo $val The ticketInfo - * - * @return UnifiedRoleEligibilityRequest - */ - public function setTicketInfo($val) - { - $this->_propDict["ticketInfo"] = $val; - return $this; - } - - /** - * Gets the appScope - * - * @return AppScope The appScope - */ - public function getAppScope() - { - if (array_key_exists("appScope", $this->_propDict)) { - if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope")) { - return $this->_propDict["appScope"]; - } else { - $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); - return $this->_propDict["appScope"]; - } - } - return null; - } - - /** - * Sets the appScope - * - * @param AppScope $val The appScope - * - * @return UnifiedRoleEligibilityRequest - */ - public function setAppScope($val) - { - $this->_propDict["appScope"] = $val; - return $this; - } - - /** - * Gets the directoryScope - * - * @return DirectoryObject The directoryScope - */ - public function getDirectoryScope() - { - if (array_key_exists("directoryScope", $this->_propDict)) { - if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["directoryScope"]; - } else { - $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); - return $this->_propDict["directoryScope"]; - } - } - return null; - } - - /** - * Sets the directoryScope - * - * @param DirectoryObject $val The directoryScope - * - * @return UnifiedRoleEligibilityRequest - */ - public function setDirectoryScope($val) - { - $this->_propDict["directoryScope"] = $val; - return $this; - } - - /** - * Gets the principal - * - * @return DirectoryObject The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["principal"]; - } else { - $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); - return $this->_propDict["principal"]; - } - } - return null; - } - - /** - * Sets the principal - * - * @param DirectoryObject $val The principal - * - * @return UnifiedRoleEligibilityRequest - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @param UnifiedRoleDefinition $val The roleDefinition - * - * @return UnifiedRoleEligibilityRequest - */ - public function setRoleDefinition($val) - { - $this->_propDict["roleDefinition"] = $val; - return $this; - } - - /** - * Gets the targetSchedule - * - * @return UnifiedRoleEligibilitySchedule The targetSchedule - */ - public function getTargetSchedule() - { - if (array_key_exists("targetSchedule", $this->_propDict)) { - if (is_a($this->_propDict["targetSchedule"], "\Beta\Microsoft\Graph\Model\UnifiedRoleEligibilitySchedule")) { - return $this->_propDict["targetSchedule"]; - } else { - $this->_propDict["targetSchedule"] = new UnifiedRoleEligibilitySchedule($this->_propDict["targetSchedule"]); - return $this->_propDict["targetSchedule"]; - } - } - return null; - } - - /** - * Sets the targetSchedule - * - * @param UnifiedRoleEligibilitySchedule $val The targetSchedule - * - * @return UnifiedRoleEligibilityRequest - */ - public function setTargetSchedule($val) - { - $this->_propDict["targetSchedule"] = $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 deleted file mode 100644 index d8138c7a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilitySchedule.php +++ /dev/null @@ -1,85 +0,0 @@ -_propDict)) { - return $this->_propDict["memberType"]; - } else { - return null; - } - } - - /** - * Sets the memberType - * - * @param string $val The memberType - * - * @return UnifiedRoleEligibilitySchedule - */ - public function setMemberType($val) - { - $this->_propDict["memberType"] = $val; - return $this; - } - - /** - * Gets the scheduleInfo - * - * @return RequestSchedule The scheduleInfo - */ - public function getScheduleInfo() - { - if (array_key_exists("scheduleInfo", $this->_propDict)) { - if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule")) { - return $this->_propDict["scheduleInfo"]; - } else { - $this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]); - return $this->_propDict["scheduleInfo"]; - } - } - return null; - } - - /** - * Sets the scheduleInfo - * - * @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 deleted file mode 100644 index 2441c751..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleEligibilityScheduleInstance.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 UnifiedRoleEligibilityScheduleInstance - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the memberType - * - * @return string The memberType - */ - public function getMemberType() - { - if (array_key_exists("memberType", $this->_propDict)) { - return $this->_propDict["memberType"]; - } else { - return null; - } - } - - /** - * Sets the memberType - * - * @param string $val The memberType - * - * @return UnifiedRoleEligibilityScheduleInstance - */ - public function setMemberType($val) - { - $this->_propDict["memberType"] = $val; - return $this; - } - - /** - * Gets the roleEligibilityScheduleId - * - * @return string The roleEligibilityScheduleId - */ - public function getRoleEligibilityScheduleId() - { - if (array_key_exists("roleEligibilityScheduleId", $this->_propDict)) { - return $this->_propDict["roleEligibilityScheduleId"]; - } else { - return null; - } - } - - /** - * Sets the roleEligibilityScheduleId - * - * @param string $val The roleEligibilityScheduleId - * - * @return UnifiedRoleEligibilityScheduleInstance - */ - public function setRoleEligibilityScheduleId($val) - { - $this->_propDict["roleEligibilityScheduleId"] = $val; - return $this; - } - - /** - * Gets the startDateTime - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 UnifiedRoleEligibilityScheduleInstance - */ - public function setStartDateTime($val) - { - $this->_propDict["startDateTime"] = $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 deleted file mode 100644 index 733ae010..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicy.php +++ /dev/null @@ -1,280 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * - * @param string $val The description - * - * @return UnifiedRoleManagementPolicy - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 UnifiedRoleManagementPolicy - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the isOrganizationDefault - * - * @return bool The isOrganizationDefault - */ - public function getIsOrganizationDefault() - { - if (array_key_exists("isOrganizationDefault", $this->_propDict)) { - return $this->_propDict["isOrganizationDefault"]; - } else { - return null; - } - } - - /** - * Sets the isOrganizationDefault - * - * @param bool $val The isOrganizationDefault - * - * @return UnifiedRoleManagementPolicy - */ - public function setIsOrganizationDefault($val) - { - $this->_propDict["isOrganizationDefault"] = boolval($val); - return $this; - } - - /** - * Gets the lastModifiedBy - * - * @return Identity The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Beta\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["lastModifiedBy"]; - } else { - $this->_propDict["lastModifiedBy"] = new Identity($this->_propDict["lastModifiedBy"]); - return $this->_propDict["lastModifiedBy"]; - } - } - return null; - } - - /** - * Sets the lastModifiedBy - * - * @param Identity $val The lastModifiedBy - * - * @return UnifiedRoleManagementPolicy - */ - public function setLastModifiedBy($val) - { - $this->_propDict["lastModifiedBy"] = $val; - return $this; - } - - /** - * Gets the lastModifiedDateTime - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 UnifiedRoleManagementPolicy - */ - public function setLastModifiedDateTime($val) - { - $this->_propDict["lastModifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the scopeId - * - * @return string The scopeId - */ - public function getScopeId() - { - if (array_key_exists("scopeId", $this->_propDict)) { - return $this->_propDict["scopeId"]; - } else { - return null; - } - } - - /** - * Sets the scopeId - * - * @param string $val The scopeId - * - * @return UnifiedRoleManagementPolicy - */ - public function setScopeId($val) - { - $this->_propDict["scopeId"] = $val; - return $this; - } - - /** - * Gets the scopeType - * - * @return string The scopeType - */ - public function getScopeType() - { - if (array_key_exists("scopeType", $this->_propDict)) { - return $this->_propDict["scopeType"]; - } else { - return null; - } - } - - /** - * Sets the scopeType - * - * @param string $val The scopeType - * - * @return UnifiedRoleManagementPolicy - */ - public function setScopeType($val) - { - $this->_propDict["scopeType"] = $val; - return $this; - } - - - /** - * Gets the effectiveRules - * - * @return array The effectiveRules - */ - public function getEffectiveRules() - { - if (array_key_exists("effectiveRules", $this->_propDict)) { - return $this->_propDict["effectiveRules"]; - } else { - return null; - } - } - - /** - * Sets the effectiveRules - * - * @param UnifiedRoleManagementPolicyRule $val The effectiveRules - * - * @return UnifiedRoleManagementPolicy - */ - public function setEffectiveRules($val) - { - $this->_propDict["effectiveRules"] = $val; - return $this; - } - - - /** - * Gets the rules - * - * @return array The rules - */ - public function getRules() - { - if (array_key_exists("rules", $this->_propDict)) { - return $this->_propDict["rules"]; - } else { - return null; - } - } - - /** - * Sets the 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 deleted file mode 100644 index 6755b139..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyApprovalRule.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["setting"], "\Beta\Microsoft\Graph\Model\ApprovalSettings")) { - return $this->_propDict["setting"]; - } else { - $this->_propDict["setting"] = new ApprovalSettings($this->_propDict["setting"]); - return $this->_propDict["setting"]; - } - } - return null; - } - - /** - * Sets the setting - * - * @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 deleted file mode 100644 index 6c2dc883..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAssignment.php +++ /dev/null @@ -1,166 +0,0 @@ -_propDict)) { - return $this->_propDict["policyId"]; - } else { - return null; - } - } - - /** - * Sets the policyId - * - * @param string $val The policyId - * - * @return UnifiedRoleManagementPolicyAssignment - */ - public function setPolicyId($val) - { - $this->_propDict["policyId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleManagementPolicyAssignment - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the scopeId - * - * @return string The scopeId - */ - public function getScopeId() - { - if (array_key_exists("scopeId", $this->_propDict)) { - return $this->_propDict["scopeId"]; - } else { - return null; - } - } - - /** - * Sets the scopeId - * - * @param string $val The scopeId - * - * @return UnifiedRoleManagementPolicyAssignment - */ - public function setScopeId($val) - { - $this->_propDict["scopeId"] = $val; - return $this; - } - - /** - * Gets the scopeType - * - * @return string The scopeType - */ - public function getScopeType() - { - if (array_key_exists("scopeType", $this->_propDict)) { - return $this->_propDict["scopeType"]; - } else { - return null; - } - } - - /** - * Sets the scopeType - * - * @param string $val The scopeType - * - * @return UnifiedRoleManagementPolicyAssignment - */ - public function setScopeType($val) - { - $this->_propDict["scopeType"] = $val; - return $this; - } - - /** - * Gets the policy - * - * @return UnifiedRoleManagementPolicy The policy - */ - public function getPolicy() - { - if (array_key_exists("policy", $this->_propDict)) { - if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementPolicy")) { - return $this->_propDict["policy"]; - } else { - $this->_propDict["policy"] = new UnifiedRoleManagementPolicy($this->_propDict["policy"]); - return $this->_propDict["policy"]; - } - } - return null; - } - - /** - * Sets the policy - * - * @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 deleted file mode 100644 index 6af92705..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyAuthenticationContextRule.php +++ /dev/null @@ -1,81 +0,0 @@ -_propDict)) { - return $this->_propDict["claimValue"]; - } else { - return null; - } - } - - /** - * Sets the claimValue - * - * @param string $val The claimValue - * - * @return UnifiedRoleManagementPolicyAuthenticationContextRule - */ - public function setClaimValue($val) - { - $this->_propDict["claimValue"] = $val; - return $this; - } - - /** - * Gets the isEnabled - * - * @return bool 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 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 deleted file mode 100644 index 57c26799..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyEnablementRule.php +++ /dev/null @@ -1,54 +0,0 @@ -_propDict)) { - return $this->_propDict["enabledRules"]; - } else { - return null; - } - } - - /** - * Sets the enabledRules - * - * @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 deleted file mode 100644 index a9473277..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php +++ /dev/null @@ -1,85 +0,0 @@ -_propDict)) { - return $this->_propDict["isExpirationRequired"]; - } else { - return null; - } - } - - /** - * Sets the isExpirationRequired - * - * @param bool $val The isExpirationRequired - * - * @return UnifiedRoleManagementPolicyExpirationRule - */ - public function setIsExpirationRequired($val) - { - $this->_propDict["isExpirationRequired"] = boolval($val); - return $this; - } - - /** - * Gets the maximumDuration - * - * @return Duration The maximumDuration - */ - public function getMaximumDuration() - { - if (array_key_exists("maximumDuration", $this->_propDict)) { - if (is_a($this->_propDict["maximumDuration"], "\Beta\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumDuration"]; - } else { - $this->_propDict["maximumDuration"] = new Duration($this->_propDict["maximumDuration"]); - return $this->_propDict["maximumDuration"]; - } - } - return null; - } - - /** - * Sets the maximumDuration - * - * @param Duration $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 deleted file mode 100644 index cec291c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyNotificationRule.php +++ /dev/null @@ -1,135 +0,0 @@ -_propDict)) { - return $this->_propDict["notificationLevel"]; - } else { - return null; - } - } - - /** - * Sets the notificationLevel - * - * @param string $val The notificationLevel - * - * @return UnifiedRoleManagementPolicyNotificationRule - */ - public function setNotificationLevel($val) - { - $this->_propDict["notificationLevel"] = $val; - return $this; - } - - /** - * Gets the notificationRecipients - * - * @return string The notificationRecipients - */ - public function getNotificationRecipients() - { - if (array_key_exists("notificationRecipients", $this->_propDict)) { - return $this->_propDict["notificationRecipients"]; - } else { - return null; - } - } - - /** - * Sets the notificationRecipients - * - * @param string $val The notificationRecipients - * - * @return UnifiedRoleManagementPolicyNotificationRule - */ - public function setNotificationRecipients($val) - { - $this->_propDict["notificationRecipients"] = $val; - return $this; - } - - /** - * Gets the notificationType - * - * @return string 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 UnifiedRoleManagementPolicyNotificationRule - */ - public function setNotificationType($val) - { - $this->_propDict["notificationType"] = $val; - return $this; - } - - /** - * Gets the recipientType - * - * @return string The recipientType - */ - public function getRecipientType() - { - if (array_key_exists("recipientType", $this->_propDict)) { - return $this->_propDict["recipientType"]; - } else { - return null; - } - } - - /** - * Sets the recipientType - * - * @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 deleted file mode 100644 index 826be9ee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRule.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementPolicyRuleTarget")) { - return $this->_propDict["target"]; - } else { - $this->_propDict["target"] = new UnifiedRoleManagementPolicyRuleTarget($this->_propDict["target"]); - return $this->_propDict["target"]; - } - } - return null; - } - - /** - * Sets the target - * - * @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 deleted file mode 100644 index c09cb59c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyRuleTarget.php +++ /dev/null @@ -1,187 +0,0 @@ -_propDict)) { - return $this->_propDict["caller"]; - } else { - return null; - } - } - - /** - * Sets the caller - * - * @param string $val The value of the caller - * - * @return UnifiedRoleManagementPolicyRuleTarget - */ - public function setCaller($val) - { - $this->_propDict["caller"] = $val; - return $this; - } - /** - * Gets the enforcedSettings - * - * @return string The enforcedSettings - */ - public function getEnforcedSettings() - { - if (array_key_exists("enforcedSettings", $this->_propDict)) { - return $this->_propDict["enforcedSettings"]; - } else { - return null; - } - } - - /** - * Sets the enforcedSettings - * - * @param string $val The value of the enforcedSettings - * - * @return UnifiedRoleManagementPolicyRuleTarget - */ - public function setEnforcedSettings($val) - { - $this->_propDict["enforcedSettings"] = $val; - return $this; - } - /** - * Gets the inheritableSettings - * - * @return string The inheritableSettings - */ - public function getInheritableSettings() - { - if (array_key_exists("inheritableSettings", $this->_propDict)) { - return $this->_propDict["inheritableSettings"]; - } else { - return null; - } - } - - /** - * Sets the inheritableSettings - * - * @param string $val The value of the inheritableSettings - * - * @return UnifiedRoleManagementPolicyRuleTarget - */ - public function setInheritableSettings($val) - { - $this->_propDict["inheritableSettings"] = $val; - return $this; - } - /** - * Gets the level - * - * @return string The level - */ - public function getLevel() - { - if (array_key_exists("level", $this->_propDict)) { - return $this->_propDict["level"]; - } else { - return null; - } - } - - /** - * Sets the level - * - * @param string $val The value of the level - * - * @return UnifiedRoleManagementPolicyRuleTarget - */ - public function setLevel($val) - { - $this->_propDict["level"] = $val; - return $this; - } - /** - * Gets the operations - * - * @return string The operations - */ - public function getOperations() - { - if (array_key_exists("operations", $this->_propDict)) { - return $this->_propDict["operations"]; - } else { - return null; - } - } - - /** - * Sets the operations - * - * @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 The targetObjects - */ - public function getTargetObjects() - { - if (array_key_exists("targetObjects", $this->_propDict)) { - if (is_a($this->_propDict["targetObjects"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - 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 deleted file mode 100644 index e0ea869b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRolePermission.php +++ /dev/null @@ -1,108 +0,0 @@ -_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 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 - * - * @return string The excludedResourceActions - */ - public function getExcludedResourceActions() - { - if (array_key_exists("excludedResourceActions", $this->_propDict)) { - return $this->_propDict["excludedResourceActions"]; - } else { - return null; - } - } - - /** - * Sets the excludedResourceActions - * - * @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 deleted file mode 100644 index acdc8e05..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleBase.php +++ /dev/null @@ -1,375 +0,0 @@ -_propDict)) { - return $this->_propDict["appScopeId"]; - } else { - return null; - } - } - - /** - * Sets the appScopeId - * - * @param string $val The appScopeId - * - * @return UnifiedRoleScheduleBase - */ - public function setAppScopeId($val) - { - $this->_propDict["appScopeId"] = $val; - return $this; - } - - /** - * Gets the createdDateTime - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 UnifiedRoleScheduleBase - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the createdUsing - * - * @return string The createdUsing - */ - public function getCreatedUsing() - { - if (array_key_exists("createdUsing", $this->_propDict)) { - return $this->_propDict["createdUsing"]; - } else { - return null; - } - } - - /** - * Sets the createdUsing - * - * @param string $val The createdUsing - * - * @return UnifiedRoleScheduleBase - */ - public function setCreatedUsing($val) - { - $this->_propDict["createdUsing"] = $val; - return $this; - } - - /** - * Gets the directoryScopeId - * - * @return string The directoryScopeId - */ - public function getDirectoryScopeId() - { - if (array_key_exists("directoryScopeId", $this->_propDict)) { - return $this->_propDict["directoryScopeId"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopeId - * - * @param string $val The directoryScopeId - * - * @return UnifiedRoleScheduleBase - */ - public function setDirectoryScopeId($val) - { - $this->_propDict["directoryScopeId"] = $val; - return $this; - } - - /** - * Gets the modifiedDateTime - * - * @return \DateTime The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - return $this->_propDict["modifiedDateTime"]; - } else { - $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); - return $this->_propDict["modifiedDateTime"]; - } - } - return null; - } - - /** - * Sets the modifiedDateTime - * - * @param \DateTime $val The modifiedDateTime - * - * @return UnifiedRoleScheduleBase - */ - public function setModifiedDateTime($val) - { - $this->_propDict["modifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the principalId - * - * @return string The principalId - */ - public function getPrincipalId() - { - if (array_key_exists("principalId", $this->_propDict)) { - return $this->_propDict["principalId"]; - } else { - return null; - } - } - - /** - * Sets the principalId - * - * @param string $val The principalId - * - * @return UnifiedRoleScheduleBase - */ - public function setPrincipalId($val) - { - $this->_propDict["principalId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleScheduleBase - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the status - * - * @return string 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 UnifiedRoleScheduleBase - */ - public function setStatus($val) - { - $this->_propDict["status"] = $val; - return $this; - } - - /** - * Gets the appScope - * - * @return AppScope The appScope - */ - public function getAppScope() - { - if (array_key_exists("appScope", $this->_propDict)) { - if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope")) { - return $this->_propDict["appScope"]; - } else { - $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); - return $this->_propDict["appScope"]; - } - } - return null; - } - - /** - * Sets the appScope - * - * @param AppScope $val The appScope - * - * @return UnifiedRoleScheduleBase - */ - public function setAppScope($val) - { - $this->_propDict["appScope"] = $val; - return $this; - } - - /** - * Gets the directoryScope - * - * @return DirectoryObject The directoryScope - */ - public function getDirectoryScope() - { - if (array_key_exists("directoryScope", $this->_propDict)) { - if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["directoryScope"]; - } else { - $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); - return $this->_propDict["directoryScope"]; - } - } - return null; - } - - /** - * Sets the directoryScope - * - * @param DirectoryObject $val The directoryScope - * - * @return UnifiedRoleScheduleBase - */ - public function setDirectoryScope($val) - { - $this->_propDict["directoryScope"] = $val; - return $this; - } - - /** - * Gets the principal - * - * @return DirectoryObject The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["principal"]; - } else { - $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); - return $this->_propDict["principal"]; - } - } - return null; - } - - /** - * Sets the principal - * - * @param DirectoryObject $val The principal - * - * @return UnifiedRoleScheduleBase - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @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 deleted file mode 100644 index fc8dcc7c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleScheduleInstanceBase.php +++ /dev/null @@ -1,259 +0,0 @@ -_propDict)) { - return $this->_propDict["appScopeId"]; - } else { - return null; - } - } - - /** - * Sets the appScopeId - * - * @param string $val The appScopeId - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setAppScopeId($val) - { - $this->_propDict["appScopeId"] = $val; - return $this; - } - - /** - * Gets the directoryScopeId - * - * @return string The directoryScopeId - */ - public function getDirectoryScopeId() - { - if (array_key_exists("directoryScopeId", $this->_propDict)) { - return $this->_propDict["directoryScopeId"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopeId - * - * @param string $val The directoryScopeId - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setDirectoryScopeId($val) - { - $this->_propDict["directoryScopeId"] = $val; - return $this; - } - - /** - * Gets the principalId - * - * @return string The principalId - */ - public function getPrincipalId() - { - if (array_key_exists("principalId", $this->_propDict)) { - return $this->_propDict["principalId"]; - } else { - return null; - } - } - - /** - * Sets the principalId - * - * @param string $val The principalId - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setPrincipalId($val) - { - $this->_propDict["principalId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the appScope - * - * @return AppScope The appScope - */ - public function getAppScope() - { - if (array_key_exists("appScope", $this->_propDict)) { - if (is_a($this->_propDict["appScope"], "\Beta\Microsoft\Graph\Model\AppScope")) { - return $this->_propDict["appScope"]; - } else { - $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); - return $this->_propDict["appScope"]; - } - } - return null; - } - - /** - * Sets the appScope - * - * @param AppScope $val The appScope - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setAppScope($val) - { - $this->_propDict["appScope"] = $val; - return $this; - } - - /** - * Gets the directoryScope - * - * @return DirectoryObject The directoryScope - */ - public function getDirectoryScope() - { - if (array_key_exists("directoryScope", $this->_propDict)) { - if (is_a($this->_propDict["directoryScope"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["directoryScope"]; - } else { - $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); - return $this->_propDict["directoryScope"]; - } - } - return null; - } - - /** - * Sets the directoryScope - * - * @param DirectoryObject $val The directoryScope - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setDirectoryScope($val) - { - $this->_propDict["directoryScope"] = $val; - return $this; - } - - /** - * Gets the principal - * - * @return DirectoryObject The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["principal"]; - } else { - $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); - return $this->_propDict["principal"]; - } - } - return null; - } - - /** - * Sets the principal - * - * @param DirectoryObject $val The principal - * - * @return UnifiedRoleScheduleInstanceBase - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @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 deleted file mode 100644 index a531ecf6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnitOfMeasure.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 6ae0e25a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDevice.php +++ /dev/null @@ -1,339 +0,0 @@ -_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 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 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 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index a405a300..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmanagedDeviceDiscoveryTask.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 974652d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnmuteParticipantOperation.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 deleted file mode 100644 index 90551004..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedDeviceConfigurationDetail.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index f565652d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnsupportedGroupPolicyExtension.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The settingScope - */ - public function getSettingScope() - { - if (array_key_exists("settingScope", $this->_propDict)) { - if (is_a($this->_propDict["settingScope"], "\Beta\Microsoft\Graph\Model\GroupPolicySettingScope")) { - 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 deleted file mode 100644 index 9378c389..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateClassification.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["updateWindowEndTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The updateWindowStartTime - */ - public function getUpdateWindowStartTime() - { - if (array_key_exists("updateWindowStartTime", $this->_propDict)) { - if (is_a($this->_propDict["updateWindowStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index 088d3b33..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UpdateWindowsDeviceAccountActionParameter.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 The deviceAccount - */ - public function getDeviceAccount() - { - if (array_key_exists("deviceAccount", $this->_propDict)) { - if (is_a($this->_propDict["deviceAccount"], "\Beta\Microsoft\Graph\Model\WindowsDeviceAccount")) { - 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 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 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 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 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 deleted file mode 100644 index b3b1bd22..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UploadSession.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index e85ab370..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UriClickSecurityState.php +++ /dev/null @@ -1,187 +0,0 @@ -_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 The clickDateTime - */ - public function getClickDateTime() - { - if (array_key_exists("clickDateTime", $this->_propDict)) { - if (is_a($this->_propDict["clickDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index 0c119903..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UrlAssessmentRequest.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index a4cc9b37..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageAuthMethod.php +++ /dev/null @@ -1,43 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime")) { - 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 would look like this: 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 would look like this: 2014-01-01T00:00:00Z. Read-only. - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 would look like this: 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 deleted file mode 100644 index 710b820b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRight.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\UsageRightState")) { - 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 deleted file mode 100644 index ae695912..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsageRightState.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastUsed"], "\Beta\Microsoft\Graph\Model\UsageDetails")) { - 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 The resourceReference - */ - public function getResourceReference() - { - if (array_key_exists("resourceReference", $this->_propDict)) { - if (is_a($this->_propDict["resourceReference"], "\Beta\Microsoft\Graph\Model\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 The resourceVisualization - */ - public function getResourceVisualization() - { - if (array_key_exists("resourceVisualization", $this->_propDict)) { - if (is_a($this->_propDict["resourceVisualization"], "\Beta\Microsoft\Graph\Model\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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Beta\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index cb68c4f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/User.php +++ /dev/null @@ -1,4053 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["signInActivity"], "\Beta\Microsoft\Graph\Model\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.Supports $filter, but not with any other filterable properties. Returned only on $select. Read-only. Note: Details for this property require an Azure AD Premium P1/P2 license. - * - * @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. Returned only on $select. Supports $filter. - * - * @return bool 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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. Not nullable. Supports $filter. - * - * @return array 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. Supports $filter. - * - * @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. Returned only on $select. Read-only. Not nullable. - * - * @return array 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. Returned only on $select. Read-only. Not nullable. - * - * @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. Returned by default. Read-only for users synced from on-premises directory. - * - * @return string 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. Returned by default. Read-only for users synced from on-premises directory. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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 of the company name is 64 characters.Returned only on $select. - * - * @return string 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 of the company name is 64 characters.Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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'. Returned only on $select. Supports $filter. - * - * @return string 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'. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Read-only. Supports $filter. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. Returned only on $select. Read-only. Supports $filter. - * - * @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 as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Returned only on $select. Read-only. - * - * @return string 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 as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Returned only on $select. Read-only. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @param string $val The department - * - * @return User - */ - public function setDepartment($val) - { - $this->_propDict["department"] = $val; - return $this; - } - - - /** - * Gets the deviceKeys - * - * @return array 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. Returned by default. Supports $filter and $orderby. - * - * @return string 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. Returned by default. Supports $filter and $orderby. - * - * @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. Returned only on $select. Supports $filter. - * - * @return \DateTime The employeeHireDate - */ - public function getEmployeeHireDate() - { - if (array_key_exists("employeeHireDate", $this->_propDict)) { - if (is_a($this->_propDict["employeeHireDate"], "\DateTime")) { - 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return EmployeeOrgData The employeeOrgData - */ - public function getEmployeeOrgData() - { - if (array_key_exists("employeeOrgData", $this->_propDict)) { - if (is_a($this->_propDict["employeeOrgData"], "\Beta\Microsoft\Graph\Model\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. Returned only on $select. - * - * @param EmployeeOrgData $val The employeeOrgData - * - * @return User - */ - public function setEmployeeOrgData($val) - { - $this->_propDict["employeeOrgData"] = $val; - return $this; - } - - /** - * Gets the employeeType - * Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter. - * - * @return string 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: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'. - * - * @return string 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. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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. Returned by default. Supports $filter. - * - * @return string 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. Returned by default. Supports $filter. - * - * @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. Returned only on $select. Supports $filter. - * - * @return array 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. Returned only on $select. Supports $filter. - * - * @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. - * - * @return string 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. - * - * @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. Returned by default. - * - * @return string 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. Returned by default. - * - * @param string $val The infoCatalogs - * - * @return User - */ - public function setInfoCatalogs($val) - { - $this->_propDict["infoCatalogs"] = $val; - return $this; - } - - /** - * Gets the isResourceAccount - * Do not use – reserved for future use. - * - * @return bool 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. Returned by default. Supports $filter. - * - * @return string 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. Returned by default. Supports $filter. - * - * @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. The Timestamp type represents date and time information 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. Read-only. - * - * @return \DateTime The lastPasswordChangeDateTime - */ - public function getLastPasswordChangeDateTime() - { - if (array_key_exists("lastPasswordChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastPasswordChangeDateTime"], "\DateTime")) { - 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. The Timestamp type represents date and time information 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. Read-only. - * - * @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 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. Returned only on $select. Read-only. - * - * @return array 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. Returned only on $select. Read-only. - * - * @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, 'jeff@contoso.onmicrosoft.com'. Returned by default. Supports $filter and endsWith. - * - * @return string 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'. Returned by default. Supports $filter and endsWith. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned by default. Read-only for users synced from on-premises directory. - * - * @return string 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. Returned by default. Read-only for users synced from on-premises directory. - * - * @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. Returned by default. - * - * @return string 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. Returned by default. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. 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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @param string $val The onPremisesDomainName - * - * @return User - */ - public function setOnPremisesDomainName($val) - { - $this->_propDict["onPremisesDomainName"] = $val; - return $this; - } - - /** - * Gets the onPremisesExtensionAttributes - * Contains extensionAttributes 1-15 for the user. Note that 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 and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. - * - * @return OnPremisesExtensionAttributes The onPremisesExtensionAttributes - */ - public function getOnPremisesExtensionAttributes() - { - if (array_key_exists("onPremisesExtensionAttributes", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesExtensionAttributes"], "\Beta\Microsoft\Graph\Model\OnPremisesExtensionAttributes")) { - return $this->_propDict["onPremisesExtensionAttributes"]; - } else { - $this->_propDict["onPremisesExtensionAttributes"] = new OnPremisesExtensionAttributes($this->_propDict["onPremisesExtensionAttributes"]); - return $this->_propDict["onPremisesExtensionAttributes"]; - } - } - return null; - } - - /** - * Sets the onPremisesExtensionAttributes - * Contains extensionAttributes 1-15 for the user. Note that 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 and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. 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. Important: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter. - * - * @return string 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. Important: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Read-only. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. Returned only on $select. Read-only. - * - * @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. Returned only on $select. - * - * @return array 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 only on $select. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @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). Returned only on $select. Read-only. - * - * @return bool 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). Returned only on $select. Read-only. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @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'].Returned only on $select. Supports$filter. - * - * @return string 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'].Returned only on $select. Supports$filter. - * - * @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'.Returned only on $select. - * - * @return string 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'.Returned only on $select. - * - * @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. Returned only on $select. - * - * @return PasswordProfile The passwordProfile - */ - public function getPasswordProfile() - { - if (array_key_exists("passwordProfile", $this->_propDict)) { - if (is_a($this->_propDict["passwordProfile"], "\Beta\Microsoft\Graph\Model\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. Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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'. Returned by default. - * - * @return string 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'. Returned by default. - * - * @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. Returned only on $select. Read-only. Not nullable. - * - * @return array 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. Returned only on $select. Read-only. Not nullable. - * - * @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'] The any operator is required for filter expressions on multi-valued properties. Returned only on $select. Read-only, Not nullable. Supports $filter. - * - * @return string 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. Returned only on $select. Read-only, Not nullable. Supports $filter. - * - * @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. Returned only on $select. Read-only. Use invalidateAllRefreshTokens to reset. - * - * @return \DateTime The refreshTokensValidFromDateTime - */ - public function getRefreshTokensValidFromDateTime() - { - if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) { - if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime")) { - 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. Returned only on $select. 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 - * 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. Returned only on $select. - * - * @return bool 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. Returned only on $select. - * - * @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. Returned only on $select. Read-only. Use revokeSignInSessions to reset. - * - * @return \DateTime The signInSessionsValidFromDateTime - */ - public function getSignInSessionsValidFromDateTime() - { - if (array_key_exists("signInSessionsValidFromDateTime", $this->_propDict)) { - if (is_a($this->_propDict["signInSessionsValidFromDateTime"], "\DateTime")) { - 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. Returned only on $select. 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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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). Returned by default. Supports $filter. - * - * @return string 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). Returned by default. Supports $filter. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned by default. Supports $filter, $orderby, and endsWith. - * - * @return string 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. Returned by default. Supports $filter, $orderby, and endsWith. - * - * @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'. Returned only on $select. Supports $filter. - * - * @return string 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'. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return MailboxSettings The mailboxSettings - */ - public function getMailboxSettings() - { - if (array_key_exists("mailboxSettings", $this->_propDict)) { - if (is_a($this->_propDict["mailboxSettings"], "\Beta\Microsoft\Graph\Model\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. 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 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 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 The birthday - */ - public function getBirthday() - { - if (array_key_exists("birthday", $this->_propDict)) { - if (is_a($this->_propDict["birthday"], "\DateTime")) { - 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 The hireDate - */ - public function getHireDate() - { - if (array_key_exists("hireDate", $this->_propDict)) { - if (is_a($this->_propDict["hireDate"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Beta\Microsoft\Graph\Model\UserAnalytics")) { - 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 usageRights - * - * @return array The usageRights - */ - public function getUsageRights() - { - if (array_key_exists("usageRights", $this->_propDict)) { - return $this->_propDict["usageRights"]; - } else { - return null; - } - } - - /** - * Sets the usageRights - * - * @param UsageRight $val The usageRights - * - * @return User - */ - public function setUsageRights($val) - { - $this->_propDict["usageRights"] = $val; - return $this; - } - - /** - * Gets the informationProtection - * - * @return InformationProtection The informationProtection - */ - public function getInformationProtection() - { - if (array_key_exists("informationProtection", $this->_propDict)) { - if (is_a($this->_propDict["informationProtection"], "\Beta\Microsoft\Graph\Model\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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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 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.) - * - * @return DirectoryObject The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\DirectoryObject")) { - 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.) - * - * @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. - * - * @return array 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. - * - * @param DirectoryObject $val The memberOf - * - * @return User - */ - public function setMemberOf($val) - { - $this->_propDict["memberOf"] = $val; - return $this; - } - - - /** - * Gets the oauth2PermissionGrants - * - * @return array 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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 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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 The inferenceClassification - */ - public function getInferenceClassification() - { - if (array_key_exists("inferenceClassification", $this->_propDict)) { - if (is_a($this->_propDict["inferenceClassification"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The outlook - */ - public function getOutlook() - { - if (array_key_exists("outlook", $this->_propDict)) { - if (is_a($this->_propDict["outlook"], "\Beta\Microsoft\Graph\Model\OutlookUser")) { - 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 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 deviceEnrollmentConfigurations - * Get enrollment configurations targeted to the user - * - * @return array 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 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 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 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 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 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 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 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 The planner - */ - public function getPlanner() - { - if (array_key_exists("planner", $this->_propDict)) { - if (is_a($this->_propDict["planner"], "\Beta\Microsoft\Graph\Model\PlannerUser")) { - 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 The insights - */ - public function getInsights() - { - if (array_key_exists("insights", $this->_propDict)) { - if (is_a($this->_propDict["insights"], "\Beta\Microsoft\Graph\Model\ItemInsights")) { - 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\UserSettings")) { - 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 The onenote - */ - public function getOnenote() - { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "\Beta\Microsoft\Graph\Model\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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Beta\Microsoft\Graph\Model\ProfilePhoto")) { - 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 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 The profile - */ - public function getProfile() - { - if (array_key_exists("profile", $this->_propDict)) { - if (is_a($this->_propDict["profile"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The presence - */ - public function getPresence() - { - if (array_key_exists("presence", $this->_propDict)) { - if (is_a($this->_propDict["presence"], "\Beta\Microsoft\Graph\Model\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 - * - * @return Authentication The authentication - */ - public function getAuthentication() - { - if (array_key_exists("authentication", $this->_propDict)) { - if (is_a($this->_propDict["authentication"], "\Beta\Microsoft\Graph\Model\Authentication")) { - return $this->_propDict["authentication"]; - } else { - $this->_propDict["authentication"] = new Authentication($this->_propDict["authentication"]); - return $this->_propDict["authentication"]; - } - } - return null; - } - - /** - * Sets the authentication - * - * @param Authentication $val The authentication - * - * @return User - */ - public function setAuthentication($val) - { - $this->_propDict["authentication"] = $val; - return $this; - } - - - /** - * Gets the chats - * - * @return array 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 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 The teamwork - */ - public function getTeamwork() - { - if (array_key_exists("teamwork", $this->_propDict)) { - if (is_a($this->_propDict["teamwork"], "\Beta\Microsoft\Graph\Model\UserTeamwork")) { - 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 The todo - */ - public function getTodo() - { - if (array_key_exists("todo", $this->_propDict)) { - if (is_a($this->_propDict["todo"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 5f8b18e9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccount.php +++ /dev/null @@ -1,192 +0,0 @@ -_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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\AccountStatus")) { - 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 deleted file mode 100644 index d8055dc5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountInformation.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 The preferredLanguageTag - */ - public function getPreferredLanguageTag() - { - if (array_key_exists("preferredLanguageTag", $this->_propDict)) { - if (is_a($this->_propDict["preferredLanguageTag"], "\Beta\Microsoft\Graph\Model\LocaleInfo")) { - 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 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 deleted file mode 100644 index 163c6c3c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAccountSecurityType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - return $this->_propDict["activatedOnSharedComputer"]; - } else { - return null; - } - } - - /** - * Sets the activatedOnSharedComputer - * True if the user used the product on a shared computer before. - * - * @param bool $val The value of the activatedOnSharedComputer - * - * @return UserActivationCounts - */ - public function setActivatedOnSharedComputer($val) - { - $this->_propDict["activatedOnSharedComputer"] = $val; - return $this; - } - /** - * Gets the android - * The activation count on an Android device. - * - * @return int The android - */ - public function getAndroid() - { - if (array_key_exists("android", $this->_propDict)) { - return $this->_propDict["android"]; - } else { - return null; - } - } - - /** - * Sets the android - * The activation count on an Android device. - * - * @param int $val The value of the android - * - * @return UserActivationCounts - */ - public function setAndroid($val) - { - $this->_propDict["android"] = $val; - return $this; - } - /** - * Gets the ios - * The activation count on iOS. - * - * @return int The ios - */ - public function getIos() - { - if (array_key_exists("ios", $this->_propDict)) { - return $this->_propDict["ios"]; - } else { - return null; - } - } - - /** - * Sets the ios - * The activation count on iOS. - * - * @param int $val The value of the ios - * - * @return UserActivationCounts - */ - public function setIos($val) - { - $this->_propDict["ios"] = $val; - return $this; - } - - /** - * Gets the lastActivatedDate - * The date of the latest activation. - * - * @return \DateTime The lastActivatedDate - */ - public function getLastActivatedDate() - { - if (array_key_exists("lastActivatedDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivatedDate"], "\DateTime")) { - return $this->_propDict["lastActivatedDate"]; - } else { - $this->_propDict["lastActivatedDate"] = new \DateTime($this->_propDict["lastActivatedDate"]); - return $this->_propDict["lastActivatedDate"]; - } - } - return null; - } - - /** - * Sets the lastActivatedDate - * The date of the latest activation. - * - * @param \DateTime $val The value to assign to the lastActivatedDate - * - * @return UserActivationCounts The UserActivationCounts - */ - public function setLastActivatedDate($val) - { - $this->_propDict["lastActivatedDate"] = $val; - return $this; - } - /** - * Gets the mac - * The activation count on Mac OS. - * - * @return int The mac - */ - public function getMac() - { - if (array_key_exists("mac", $this->_propDict)) { - return $this->_propDict["mac"]; - } else { - return null; - } - } - - /** - * Sets the mac - * The activation count on Mac OS. - * - * @param int $val The value of the mac - * - * @return UserActivationCounts - */ - public function setMac($val) - { - $this->_propDict["mac"] = $val; - return $this; - } - /** - * Gets the productType - * The product type, such as 'Microsoft 365 ProPlus'or 'Project Client'. - * - * @return string The productType - */ - public function getProductType() - { - if (array_key_exists("productType", $this->_propDict)) { - return $this->_propDict["productType"]; - } else { - return null; - } - } - - /** - * Sets the productType - * The product type, such as 'Microsoft 365 ProPlus'or 'Project Client'. - * - * @param string $val The value of the productType - * - * @return UserActivationCounts - */ - public function setProductType($val) - { - $this->_propDict["productType"] = $val; - return $this; - } - /** - * Gets the windows - * The activation count on Windows. This number includes every activation on any Windows computer. - * - * @return int The windows - */ - public function getWindows() - { - if (array_key_exists("windows", $this->_propDict)) { - return $this->_propDict["windows"]; - } else { - return null; - } - } - - /** - * Sets the windows - * The activation count on Windows. This number includes every activation on any Windows computer. - * - * @param int $val The value of the windows - * - * @return UserActivationCounts - */ - public function setWindows($val) - { - $this->_propDict["windows"] = $val; - return $this; - } - /** - * Gets the windows10Mobile - * The activation count on Windows 10 mobile. - * - * @return int The windows10Mobile - */ - public function getWindows10Mobile() - { - if (array_key_exists("windows10Mobile", $this->_propDict)) { - return $this->_propDict["windows10Mobile"]; - } else { - return null; - } - } - - /** - * Sets the windows10Mobile - * The activation count on Windows 10 mobile. - * - * @param int $val The value of the windows10Mobile - * - * @return UserActivationCounts - */ - public function setWindows10Mobile($val) - { - $this->_propDict["windows10Mobile"] = $val; - return $this; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserActivity.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserActivity.php deleted file mode 100644 index 1144d722..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserActivity.php +++ /dev/null @@ -1,454 +0,0 @@ -_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 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 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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\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 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 The visualElements - */ - public function getVisualElements() - { - if (array_key_exists("visualElements", $this->_propDict)) { - if (is_a($this->_propDict["visualElements"], "\Beta\Microsoft\Graph\Model\VisualInfo")) { - 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 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 deleted file mode 100644 index 34c479c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAnalytics.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["settings"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index c30b9338..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAppInstallStatus.php +++ /dev/null @@ -1,235 +0,0 @@ -_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 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 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 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 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 The app - */ - public function getApp() - { - if (array_key_exists("app", $this->_propDict)) { - if (is_a($this->_propDict["app"], "\Beta\Microsoft\Graph\Model\MobileApp")) { - 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 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 deleted file mode 100644 index 98a93ad9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserAttributeValuesItem.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0446a570..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConfiguration.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["binaryData"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["binaryData"]; - } else { - $this->_propDict["binaryData"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 7a83499a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserConsentRequest.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The approval - */ - public function getApproval() - { - if (array_key_exists("approval", $this->_propDict)) { - if (is_a($this->_propDict["approval"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 2a6b2e98..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserCredentialUsageDetails.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authMethod"], "\Beta\Microsoft\Graph\Model\UsageAuthMethod")) { - 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 would look like this: 2014-01-01T00:00:00Z. - * - * @return \DateTime The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 would look like this: 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 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 The feature - */ - public function getFeature() - { - if (array_key_exists("feature", $this->_propDict)) { - if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\FeatureType")) { - 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 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 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 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 deleted file mode 100644 index 886fa821..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserEmailSource.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.php deleted file mode 100644 index 5ab5b20f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 7379e466..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthApplicationPerformance.php +++ /dev/null @@ -1,317 +0,0 @@ -_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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the appHealthStatus - * The overall health status of the app. - * - * @return string 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 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 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 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 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 deleted file mode 100644 index fae53787..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDeviceModelPerformance.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 meanTimeToFailureInMinutes - * The mean time to failure for the model device in minutes. Valid values -2147483648 to 2147483647 - * - * @return int 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 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"] = $val; - return $this; - } - - /** - * Gets the modelAppHealthStatus - * The overall app health status of the device model. - * - * @return string 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 deleted file mode 100644 index 7bdafe68..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformance.php +++ /dev/null @@ -1,317 +0,0 @@ -_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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the deviceAppHealthStatus - * The overall app health status of the device. - * - * @return string 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 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 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 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 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 meanTimeToFailureInMinutes - * The mean time to failure for the device in minutes. Valid values -2147483648 to 2147483647 - * - * @return int 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; - } - -} 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 deleted file mode 100644 index 11511519..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthDevicePerformanceDetails.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 deviceDisplayName - * The name of the device. - * - * @return string 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 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 The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index a31f0703..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAppHealthOSVersionPerformance.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the osVersionAppHealthStatus - * The overall app health status of the OS version. - * - * @return string 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 deleted file mode 100644 index 2c6b6df7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsAutopilotDevicesSummary.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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; - } -} 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 deleted file mode 100644 index 8acfa33b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsBaseline.php +++ /dev/null @@ -1,316 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The appHealthMetrics - */ - public function getAppHealthMetrics() - { - if (array_key_exists("appHealthMetrics", $this->_propDict)) { - if (is_a($this->_propDict["appHealthMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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 bestPracticesMetrics - * The user experience analytics best practices metrics. - * - * @return UserExperienceAnalyticsCategory The bestPracticesMetrics - */ - public function getBestPracticesMetrics() - { - if (array_key_exists("bestPracticesMetrics", $this->_propDict)) { - if (is_a($this->_propDict["bestPracticesMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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 The deviceBootPerformanceMetrics - */ - public function getDeviceBootPerformanceMetrics() - { - if (array_key_exists("deviceBootPerformanceMetrics", $this->_propDict)) { - if (is_a($this->_propDict["deviceBootPerformanceMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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 The rebootAnalyticsMetrics - */ - public function getRebootAnalyticsMetrics() - { - if (array_key_exists("rebootAnalyticsMetrics", $this->_propDict)) { - if (is_a($this->_propDict["rebootAnalyticsMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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 The resourcePerformanceMetrics - */ - public function getResourcePerformanceMetrics() - { - if (array_key_exists("resourcePerformanceMetrics", $this->_propDict)) { - if (is_a($this->_propDict["resourcePerformanceMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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 The workFromAnywhereMetrics - */ - public function getWorkFromAnywhereMetrics() - { - if (array_key_exists("workFromAnywhereMetrics", $this->_propDict)) { - if (is_a($this->_propDict["workFromAnywhereMetrics"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCategory")) { - 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/UserExperienceAnalyticsCategory.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCategory.php deleted file mode 100644 index dfaf9d55..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCategory.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 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/UserExperienceAnalyticsCloudManagementDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudManagementDevicesSummary.php deleted file mode 100644 index fe8c1cf3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsCloudManagementDevicesSummary.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 9e4f6ef0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDevicePerformance.php +++ /dev/null @@ -1,557 +0,0 @@ -_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"] = $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 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"] = $val; - return $this; - } - - /** - * Gets the blueScreenCount - * Number of Blue Screens in the last 14 days. Valid values 0 to 9999999 - * - * @return int 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 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 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 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 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 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: unkown, hdd, ssd. - * - * @return DiskType The diskType - */ - public function getDiskType() - { - if (array_key_exists("diskType", $this->_propDict)) { - if (is_a($this->_propDict["diskType"], "\Beta\Microsoft\Graph\Model\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: unkown, hdd, ssd. - * - * @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 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 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 The healthStatus - */ - public function getHealthStatus() - { - if (array_key_exists("healthStatus", $this->_propDict)) { - if (is_a($this->_propDict["healthStatus"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsHealthState")) { - 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 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 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 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 operatingSystemVersion - * The user experience analytics device Operating System version. - * - * @return string 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 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 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; - } - -} 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 deleted file mode 100644 index 46391832..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupHistory.php +++ /dev/null @@ -1,499 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 The restartCategory - */ - public function getRestartCategory() - { - if (array_key_exists("restartCategory", $this->_propDict)) { - if (is_a($this->_propDict["restartCategory"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsOperatingSystemRestartCategory")) { - 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 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 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index f4e50d71..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcess.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index dcd3a3c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceStartupProcessPerformance.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 processName - * User experience analytics device startup process name. - * - * @return string 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 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 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 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; - } - -} 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 deleted file mode 100644 index d8787d72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsDeviceWithoutCloudIdentity.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 0e96d8b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsHealthState.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the processName - * The process name. - * - * @return string 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 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 deleted file mode 100644 index 6234d84a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsight.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 The severity - */ - public function getSeverity() - { - if (array_key_exists("severity", $this->_propDict)) { - if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsInsightSeverity")) { - 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 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 The values - */ - public function getValues() - { - if (array_key_exists("values", $this->_propDict)) { - if (is_a($this->_propDict["values"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsInsightValue")) { - 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 deleted file mode 100644 index b366d810..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsInsightSeverity.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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"] = $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 deleted file mode 100644 index 4833f5f1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsMetricHistory.php +++ /dev/null @@ -1,151 +0,0 @@ -_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 The metricDateTime - */ - public function getMetricDateTime() - { - if (array_key_exists("metricDateTime", $this->_propDict)) { - if (is_a($this->_propDict["metricDateTime"], "\DateTime")) { - 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 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; - } - - /** - * Gets the userExperienceAnalyticsMetric - * User experience analytics metric. - * - * @return UserExperienceAnalyticsMetric The userExperienceAnalyticsMetric - */ - public function getUserExperienceAnalyticsMetric() - { - if (array_key_exists("userExperienceAnalyticsMetric", $this->_propDict)) { - if (is_a($this->_propDict["userExperienceAnalyticsMetric"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsMetric")) { - return $this->_propDict["userExperienceAnalyticsMetric"]; - } else { - $this->_propDict["userExperienceAnalyticsMetric"] = new UserExperienceAnalyticsMetric($this->_propDict["userExperienceAnalyticsMetric"]); - return $this->_propDict["userExperienceAnalyticsMetric"]; - } - } - return null; - } - - /** - * Sets the userExperienceAnalyticsMetric - * User experience analytics metric. - * - * @param UserExperienceAnalyticsMetric $val The userExperienceAnalyticsMetric - * - * @return UserExperienceAnalyticsMetricHistory - */ - public function setUserExperienceAnalyticsMetric($val) - { - $this->_propDict["userExperienceAnalyticsMetric"] = $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 deleted file mode 100644 index f1f66da3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsNotAutopilotReadyDevice.php +++ /dev/null @@ -1,292 +0,0 @@ -_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 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 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. Possible values are: no, yes, unknown. - * - * @return AzureAdRegisteredState The azureAdRegistered - */ - public function getAzureAdRegistered() - { - if (array_key_exists("azureAdRegistered", $this->_propDict)) { - if (is_a($this->_propDict["azureAdRegistered"], "\Beta\Microsoft\Graph\Model\AzureAdRegisteredState")) { - return $this->_propDict["azureAdRegistered"]; - } else { - $this->_propDict["azureAdRegistered"] = new AzureAdRegisteredState($this->_propDict["azureAdRegistered"]); - return $this->_propDict["azureAdRegistered"]; - } - } - return null; - } - - /** - * Sets the azureAdRegistered - * The intune device's azureAdRegistered. Possible values are: no, yes, unknown. - * - * @param AzureAdRegisteredState $val The azureAdRegistered - * - * @return UserExperienceAnalyticsNotAutopilotReadyDevice - */ - public function setAzureAdRegistered($val) - { - $this->_propDict["azureAdRegistered"] = $val; - return $this; - } - - /** - * Gets the deviceName - * The intune device's name. - * - * @return string 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 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 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 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 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 deleted file mode 100644 index aff4ec9a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsOperatingSystemRestartCategory.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 deleted file mode 100644 index f92d1899..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRegressionSummary.php +++ /dev/null @@ -1,117 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0c2b3538..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsRemoteConnection.php +++ /dev/null @@ -1,346 +0,0 @@ -_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"] = $val; - return $this; - } - - /** - * Gets the cloudPcRoundTripTime - * The round tip time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the cloudPcSignInTime - * The sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the coreBootTime - * The core boot time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the coreSignInTime - * The core sign in time of Cloud PC Device. Valid values 0 to 1.79769313486232E+308 - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the deviceCount - * The count of remote connection. Valid values 0 to 2147483647 - * - * @return int 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 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 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 model - * The user experience analytics device model. - * - * @return string 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 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"] = $val; - return $this; - } - - /** - * Gets the virtualNetwork - * The user experience analytics virtual network. - * - * @return string 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 deleted file mode 100644 index 5a29a90b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsResourcePerformance.php +++ /dev/null @@ -1,375 +0,0 @@ -_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"] = $val; - return $this; - } - - /** - * Gets the cpuSpikeTimePercentageThreshold - * Threshold of cpuSpikeTimeScore. Valid values 0 to 100 - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the cpuSpikeTimeScore - * The user experience analytics device CPU spike time score. Valid values 0 to 100 - * - * @return int 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 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 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 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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the ramSpikeTimePercentageThreshold - * Threshold of ramSpikeTimeScore. Valid values 0 to 100 - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the ramSpikeTimeScore - * The user experience analytics device RAM spike time score. Valid values 0 to 100 - * - * @return int 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 deleted file mode 100644 index fc3639ee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsScoreHistory.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["startupDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 109090e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index a4ed9db0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsSummarizedBy.php +++ /dev/null @@ -1,38 +0,0 @@ -_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/UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.php deleted file mode 100644 index 7ab050cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["autopilotDevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsAutopilotDevicesSummary")) { - 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 cloudManagementDevicesSummary - * The user experience work from anywhere Cloud management devices summary. - * - * @return UserExperienceAnalyticsCloudManagementDevicesSummary The cloudManagementDevicesSummary - */ - public function getCloudManagementDevicesSummary() - { - if (array_key_exists("cloudManagementDevicesSummary", $this->_propDict)) { - if (is_a($this->_propDict["cloudManagementDevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsCloudManagementDevicesSummary")) { - 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 windows10DevicesSummary - * The user experience analytics work from anywhere Windows 10 devices summary. - * - * @return UserExperienceAnalyticsWindows10DevicesSummary The windows10DevicesSummary - */ - public function getWindows10DevicesSummary() - { - if (array_key_exists("windows10DevicesSummary", $this->_propDict)) { - if (is_a($this->_propDict["windows10DevicesSummary"], "\Beta\Microsoft\Graph\Model\UserExperienceAnalyticsWindows10DevicesSummary")) { - 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; - } -} 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 deleted file mode 100644 index ae12e90c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowApiConnectorConfiguration.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["postAttributeCollection"], "\Beta\Microsoft\Graph\Model\IdentityApiConnector")) { - 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 The postFederationSignup - */ - public function getPostFederationSignup() - { - if (array_key_exists("postFederationSignup", $this->_propDict)) { - if (is_a($this->_propDict["postFederationSignup"], "\Beta\Microsoft\Graph\Model\IdentityApiConnector")) { - 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/Beta/Microsoft/Graph/Model/UserFlowLanguageConfiguration.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguageConfiguration.php deleted file mode 100644 index 66df7369..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguageConfiguration.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index ac285733..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserFlowLanguagePage.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 deleted file mode 100644 index 9be2e381..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserIdentity.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/UserIdentityType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserIdentityType.php deleted file mode 100644 index 56866bb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserIdentityType.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - return $this->_propDict["isEnabled"]; - } else { - return null; - } - } - - /** - * Sets the isEnabled - * - * @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 deleted file mode 100644 index 51b1738b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserInstallStateSummary.php +++ /dev/null @@ -1,173 +0,0 @@ -_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 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 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 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 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/UserNewMessageRestriction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserNewMessageRestriction.php deleted file mode 100644 index 7913c470..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserNewMessageRestriction.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The encryptedPfxBlob - */ - public function getEncryptedPfxBlob() - { - if (array_key_exists("encryptedPfxBlob", $this->_propDict)) { - if (is_a($this->_propDict["encryptedPfxBlob"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["encryptedPfxBlob"]; - } else { - $this->_propDict["encryptedPfxBlob"] = \GuzzleHttp\Psr7\stream_for($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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The intendedPurpose - */ - public function getIntendedPurpose() - { - if (array_key_exists("intendedPurpose", $this->_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\UserPfxIntendedPurpose")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The paddingScheme - */ - public function getPaddingScheme() - { - if (array_key_exists("paddingScheme", $this->_propDict)) { - if (is_a($this->_propDict["paddingScheme"], "\Beta\Microsoft\Graph\Model\UserPfxPaddingScheme")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 6f835570..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPfxIntendedPurpose.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Beta\Microsoft\Graph\Model\Identity")) { - 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 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 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 deleted file mode 100644 index 6a206af7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserPurpose.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["value"], "\Beta\Microsoft\Graph\Model\MailboxRecipientType")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = new MailboxRecipientType($this->_propDict["value"]); - return $this->_propDict["value"]; - } - } - return null; - } - - /** - * Sets the value - * Represents the user's recipient or mailbox type in Exchange Online. Possible values are: unknown, user, linked, shared, room, equipment, and others. See the next section for more information. - * - * @param MailboxRecipientType $val The value to assign to the value - * - * @return UserPurpose The UserPurpose - */ - public function setValue($val) - { - $this->_propDict["value"] = $val; - return $this; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationCount.php deleted file mode 100644 index d6794cb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationCount.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The registrationStatus - */ - public function getRegistrationStatus() - { - if (array_key_exists("registrationStatus", $this->_propDict)) { - if (is_a($this->_propDict["registrationStatus"], "\Beta\Microsoft\Graph\Model\RegistrationStatusType")) { - 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/UserRegistrationFeatureCount.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php deleted file mode 100644 index e45d7602..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeature")) { - 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 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 deleted file mode 100644 index 63f9d82f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureSummary.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The userRegistrationFeatureCounts - */ - public function getUserRegistrationFeatureCounts() - { - if (array_key_exists("userRegistrationFeatureCounts", $this->_propDict)) { - if (is_a($this->_propDict["userRegistrationFeatureCounts"], "\Beta\Microsoft\Graph\Model\UserRegistrationFeatureCount")) { - 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 The userRoles - */ - public function getUserRoles() - { - if (array_key_exists("userRoles", $this->_propDict)) { - if (is_a($this->_propDict["userRoles"], "\Beta\Microsoft\Graph\Model\IncludedUserRoles")) { - 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 The userTypes - */ - public function getUserTypes() - { - if (array_key_exists("userTypes", $this->_propDict)) { - if (is_a($this->_propDict["userTypes"], "\Beta\Microsoft\Graph\Model\IncludedUserTypes")) { - 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 deleted file mode 100644 index a8987c7d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodCount.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1ca418fa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationMethodSummary.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The userRegistrationMethodCounts - */ - public function getUserRegistrationMethodCounts() - { - if (array_key_exists("userRegistrationMethodCounts", $this->_propDict)) { - if (is_a($this->_propDict["userRegistrationMethodCounts"], "\Beta\Microsoft\Graph\Model\UserRegistrationMethodCount")) { - 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 The userRoles - */ - public function getUserRoles() - { - if (array_key_exists("userRoles", $this->_propDict)) { - if (is_a($this->_propDict["userRoles"], "\Beta\Microsoft\Graph\Model\IncludedUserRoles")) { - 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 The userTypes - */ - public function getUserTypes() - { - if (array_key_exists("userTypes", $this->_propDict)) { - if (is_a($this->_propDict["userTypes"], "\Beta\Microsoft\Graph\Model\IncludedUserTypes")) { - 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 deleted file mode 100644 index a067580f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserScopeTeamsAppInstallation.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["chat"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 0598b8b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityProfile.php +++ /dev/null @@ -1,310 +0,0 @@ -_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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Beta\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 5efeb6d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSecurityState.php +++ /dev/null @@ -1,438 +0,0 @@ -_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 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 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 The emailRole - */ - public function getEmailRole() - { - if (array_key_exists("emailRole", $this->_propDict)) { - if (is_a($this->_propDict["emailRole"], "\Beta\Microsoft\Graph\Model\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 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 The logonDateTime - */ - public function getLogonDateTime() - { - if (array_key_exists("logonDateTime", $this->_propDict)) { - if (is_a($this->_propDict["logonDateTime"], "\DateTime")) { - 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 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 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 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 The logonType - */ - public function getLogonType() - { - if (array_key_exists("logonType", $this->_propDict)) { - if (is_a($this->_propDict["logonType"], "\Beta\Microsoft\Graph\Model\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 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 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 The userAccountType - */ - public function getUserAccountType() - { - if (array_key_exists("userAccountType", $this->_propDict)) { - if (is_a($this->_propDict["userAccountType"], "\Beta\Microsoft\Graph\Model\UserAccountSecurityType")) { - 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 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 deleted file mode 100644 index cb365748..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSet.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 71854918..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserSettings.php +++ /dev/null @@ -1,182 +0,0 @@ -_propDict)) { - return $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"]; - } else { - return null; - } - } - - /** - * Sets the contributionToContentDiscoveryAsOrganizationDisabled - * Reflects the organization level setting controlling delegate access to the trending API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected for the whole organization. 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, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. Users can control this setting in Office Delve. - * - * @return bool 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, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. 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 - * - * @return UserInsightsSettings The itemInsights - */ - public function getItemInsights() - { - if (array_key_exists("itemInsights", $this->_propDict)) { - if (is_a($this->_propDict["itemInsights"], "\Beta\Microsoft\Graph\Model\UserInsightsSettings")) { - return $this->_propDict["itemInsights"]; - } else { - $this->_propDict["itemInsights"] = new UserInsightsSettings($this->_propDict["itemInsights"]); - return $this->_propDict["itemInsights"]; - } - } - return null; - } - - /** - * Sets the itemInsights - * - * @param UserInsightsSettings $val The itemInsights - * - * @return UserSettings - */ - public function setItemInsights($val) - { - $this->_propDict["itemInsights"] = $val; - return $this; - } - - /** - * Gets the regionalAndLanguageSettings - * The user's preferences for languages, regional locale and date/time formatting. - * - * @return RegionalAndLanguageSettings The regionalAndLanguageSettings - */ - public function getRegionalAndLanguageSettings() - { - if (array_key_exists("regionalAndLanguageSettings", $this->_propDict)) { - if (is_a($this->_propDict["regionalAndLanguageSettings"], "\Beta\Microsoft\Graph\Model\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 The shiftPreferences - */ - public function getShiftPreferences() - { - if (array_key_exists("shiftPreferences", $this->_propDict)) { - if (is_a($this->_propDict["shiftPreferences"], "\Beta\Microsoft\Graph\Model\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/UserTeamwork.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTeamwork.php deleted file mode 100644 index eb7f26af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserTeamwork.php +++ /dev/null @@ -1,57 +0,0 @@ -_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/UsernameSource.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsernameSource.php deleted file mode 100644 index 046f0d2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UsernameSource.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["managementConditionId"]; - } else { - return null; - } - } - - /** - * Sets the managementConditionId - * The management condition id that is used to evaluate the expression. - * - * @param string $val The value of the managementConditionId - * - * @return VariableManagementConditionExpression - */ - public function setManagementConditionId($val) - { - $this->_propDict["managementConditionId"] = $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 deleted file mode 100644 index 5b8ce4fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Vendor.php +++ /dev/null @@ -1,565 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Beta\Microsoft\Graph\Model\PostalAddressType")) { - 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 The balance - */ - public function getBalance() - { - if (array_key_exists("balance", $this->_propDict)) { - if (is_a($this->_propDict["balance"], "\Beta\Microsoft\Graph\Model\Decimal")) { - 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Beta\Microsoft\Graph\Model\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 The paymentMethod - */ - public function getPaymentMethod() - { - if (array_key_exists("paymentMethod", $this->_propDict)) { - if (is_a($this->_propDict["paymentMethod"], "\Beta\Microsoft\Graph\Model\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 The paymentTerm - */ - public function getPaymentTerm() - { - if (array_key_exists("paymentTerm", $this->_propDict)) { - if (is_a($this->_propDict["paymentTerm"], "\Beta\Microsoft\Graph\Model\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 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/VerifiedCustomDomainCertificatesMetadata.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedCustomDomainCertificatesMetadata.php deleted file mode 100644 index 819c301d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedCustomDomainCertificatesMetadata.php +++ /dev/null @@ -1,176 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expiryDate"], "\DateTime")) { - 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 The issueDate - */ - public function getIssueDate() - { - if (array_key_exists("issueDate", $this->_propDict)) { - if (is_a($this->_propDict["issueDate"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index c739be98..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VerifiedDomain.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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/VersionAction.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VersionAction.php deleted file mode 100644 index a8338894..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VersionAction.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index fe334e4e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Video.php +++ /dev/null @@ -1,306 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index cffff12c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VirtualEndpoint.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 onPremisesConnections - * A defined collection of Azure resource information that can be used to establish on-premises network connectivity for cloud PCs. - * - * @return array 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 provisioningPolicies - * cloud PC provisioning policy. - * - * @return array 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; - } - -} 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 deleted file mode 100644 index 313aeb3c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisibilitySetting.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attribution"], "\Beta\Microsoft\Graph\Model\ImageInfo")) { - 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 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 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 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 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 deleted file mode 100644 index 8af43eb7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VisualProperties.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 79c73ba2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VolumeType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod")) { - 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 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 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 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 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 deleted file mode 100644 index 2b50aadb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnDeadPeerDetectionRate.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 7b0171bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnEncryptionAlgorithmType.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\VpnOnDemandRuleConnectionAction")) { - 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 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 The domainAction - */ - public function getDomainAction() - { - if (array_key_exists("domainAction", $this->_propDict)) { - if (is_a($this->_propDict["domainAction"], "\Beta\Microsoft\Graph\Model\VpnOnDemandRuleConnectionDomainAction")) { - 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 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 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 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 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 deleted file mode 100644 index a3646b97..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnOnDemandRuleConnectionAction.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index dae4e6d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnRoute.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index af527212..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServer.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index ca1b8671..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnServerCertificateType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The appType - */ - public function getAppType() - { - if (array_key_exists("appType", $this->_propDict)) { - if (is_a($this->_propDict["appType"], "\Beta\Microsoft\Graph\Model\VpnTrafficRuleAppType")) { - 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 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 The localAddressRanges - */ - public function getLocalAddressRanges() - { - if (array_key_exists("localAddressRanges", $this->_propDict)) { - if (is_a($this->_propDict["localAddressRanges"], "\Beta\Microsoft\Graph\Model\IPv4Range")) { - 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 The localPortRanges - */ - public function getLocalPortRanges() - { - if (array_key_exists("localPortRanges", $this->_propDict)) { - if (is_a($this->_propDict["localPortRanges"], "\Beta\Microsoft\Graph\Model\NumberRange")) { - 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 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 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 The remoteAddressRanges - */ - public function getRemoteAddressRanges() - { - if (array_key_exists("remoteAddressRanges", $this->_propDict)) { - if (is_a($this->_propDict["remoteAddressRanges"], "\Beta\Microsoft\Graph\Model\IPv4Range")) { - 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 The remotePortRanges - */ - public function getRemotePortRanges() - { - if (array_key_exists("remotePortRanges", $this->_propDict)) { - if (is_a($this->_propDict["remotePortRanges"], "\Beta\Microsoft\Graph\Model\NumberRange")) { - 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 The routingPolicyType - */ - public function getRoutingPolicyType() - { - if (array_key_exists("routingPolicyType", $this->_propDict)) { - if (is_a($this->_propDict["routingPolicyType"], "\Beta\Microsoft\Graph\Model\VpnTrafficRuleRoutingPolicyType")) { - 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 deleted file mode 100644 index 472086a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VpnTrafficRuleAppType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 592c70ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppToken.php +++ /dev/null @@ -1,545 +0,0 @@ -_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 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 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 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The lastSyncStatus - */ - public function getLastSyncStatus() - { - if (array_key_exists("lastSyncStatus", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncStatus"], "\Beta\Microsoft\Graph\Model\VppTokenSyncStatus")) { - 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 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\VppTokenState")) { - 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 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 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 The vppTokenAccountType - */ - public function getVppTokenAccountType() - { - if (array_key_exists("vppTokenAccountType", $this->_propDict)) { - if (is_a($this->_propDict["vppTokenAccountType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 1c012a20..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenAccountType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The actionState - */ - public function getActionState() - { - if (array_key_exists("actionState", $this->_propDict)) { - if (is_a($this->_propDict["actionState"], "\Beta\Microsoft\Graph\Model\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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index a8697b58..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenLicenseSummary.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 26e8e770..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenRevokeLicensesActionResult.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionFailureReason"], "\Beta\Microsoft\Graph\Model\VppTokenActionFailureReason")) { - 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 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 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 deleted file mode 100644 index 9b6a093f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VppTokenState.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 deleted file mode 100644 index aef66ac3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/VulnerableManagedDevice.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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/WatermarkLayout.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WatermarkLayout.php deleted file mode 100644 index e2d670f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WatermarkLayout.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The service - */ - public function getService() - { - if (array_key_exists("service", $this->_propDict)) { - if (is_a($this->_propDict["service"], "\Beta\Microsoft\Graph\Model\ServiceInformation")) { - 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 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 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 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 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 deleted file mode 100644 index d34bd4fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApp.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 56c9aab5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebApplication.php +++ /dev/null @@ -1,169 +0,0 @@ -_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 The implicitGrantSettings - */ - public function getImplicitGrantSettings() - { - if (array_key_exists("implicitGrantSettings", $this->_propDict)) { - if (is_a($this->_propDict["implicitGrantSettings"], "\Beta\Microsoft\Graph\Model\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 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 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 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/Beta/Microsoft/Graph/Model/WebBrowserCookieSettings.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebBrowserCookieSettings.php deleted file mode 100644 index 71823b5f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebBrowserCookieSettings.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["data"], "\Beta\Microsoft\Graph\Model\SitePageData")) { - 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 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 deleted file mode 100644 index c3508e6c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Website.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\WebsiteType")) { - 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 deleted file mode 100644 index 8aabada1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WebsiteType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 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 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 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 The installExperience - */ - public function getInstallExperience() - { - if (array_key_exists("installExperience", $this->_propDict)) { - if (is_a($this->_propDict["installExperience"], "\Beta\Microsoft\Graph\Model\Win32LobAppInstallExperience")) { - 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 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 The msiInformation - */ - public function getMsiInformation() - { - if (array_key_exists("msiInformation", $this->_propDict)) { - if (is_a($this->_propDict["msiInformation"], "\Beta\Microsoft\Graph\Model\Win32LobAppMsiInformation")) { - 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 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 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 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 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 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 deleted file mode 100644 index 892bf063..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppAssignmentSettings.php +++ /dev/null @@ -1,167 +0,0 @@ -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 The deliveryOptimizationPriority - */ - public function getDeliveryOptimizationPriority() - { - if (array_key_exists("deliveryOptimizationPriority", $this->_propDict)) { - if (is_a($this->_propDict["deliveryOptimizationPriority"], "\Beta\Microsoft\Graph\Model\Win32LobAppDeliveryOptimizationPriority")) { - 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 The installTimeSettings - */ - public function getInstallTimeSettings() - { - if (array_key_exists("installTimeSettings", $this->_propDict)) { - if (is_a($this->_propDict["installTimeSettings"], "\Beta\Microsoft\Graph\Model\MobileAppInstallTimeSettings")) { - 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 The notifications - */ - public function getNotifications() - { - if (array_key_exists("notifications", $this->_propDict)) { - if (is_a($this->_propDict["notifications"], "\Beta\Microsoft\Graph\Model\Win32LobAppNotification")) { - 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 The restartSettings - */ - public function getRestartSettings() - { - if (array_key_exists("restartSettings", $this->_propDict)) { - if (is_a($this->_propDict["restartSettings"], "\Beta\Microsoft\Graph\Model\Win32LobAppRestartSettings")) { - 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 deleted file mode 100644 index e486d2f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppDeliveryOptimizationPriority.php +++ /dev/null @@ -1,34 +0,0 @@ -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 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 The detectionType - */ - public function getDetectionType() - { - if (array_key_exists("detectionType", $this->_propDict)) { - if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemDetectionType")) { - 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 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 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator")) { - 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 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 deleted file mode 100644 index 98c1fd4f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemDetectionType.php +++ /dev/null @@ -1,39 +0,0 @@ -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 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 The detectionType - */ - public function getDetectionType() - { - if (array_key_exists("detectionType", $this->_propDict)) { - if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemDetectionType")) { - 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 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 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 deleted file mode 100644 index a37e3e91..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppFileSystemRule.php +++ /dev/null @@ -1,213 +0,0 @@ -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 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 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 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\Win32LobAppFileSystemOperationType")) { - 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 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 deleted file mode 100644 index 160ea490..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppInstallExperience.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceRestartBehavior"], "\Beta\Microsoft\Graph\Model\Win32LobAppRestartBehavior")) { - 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 deleted file mode 100644 index 6d371717..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiInformation.php +++ /dev/null @@ -1,227 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["packageType"], "\Beta\Microsoft\Graph\Model\Win32LobAppMsiPackageType")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index a418922b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppMsiPackageType.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppPowerShellScriptDetection"); - } - - /** - * Gets the enforceSignatureCheck - * A value indicating whether signature check is enforced - * - * @return bool 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 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 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 deleted file mode 100644 index b077391f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptDetectionType.php +++ /dev/null @@ -1,39 +0,0 @@ -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 The detectionType - */ - public function getDetectionType() - { - if (array_key_exists("detectionType", $this->_propDict)) { - if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppPowerShellScriptDetectionType")) { - 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 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 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 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 deleted file mode 100644 index 34948731..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRule.php +++ /dev/null @@ -1,274 +0,0 @@ -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 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 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 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\Win32LobAppPowerShellScriptRuleOperationType")) { - 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Beta\Microsoft\Graph\Model\RunAsAccountType")) { - 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 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 deleted file mode 100644 index 0e6d8860..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppPowerShellScriptRuleOperationType.php +++ /dev/null @@ -1,39 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppProductCodeDetection"); - } - - /** - * Gets the productCode - * The product code of Win32 Line of Business (LoB) app. - * - * @return string 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 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 The productVersionOperator - */ - public function getProductVersionOperator() - { - if (array_key_exists("productVersionOperator", $this->_propDict)) { - if (is_a($this->_propDict["productVersionOperator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator")) { - 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 deleted file mode 100644 index 265b801c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppProductCodeRule.php +++ /dev/null @@ -1,124 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppProductCodeRule"); - } - - /** - * Gets the productCode - * The product code of the app. - * - * @return string 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 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 The productVersionOperator - */ - public function getProductVersionOperator() - { - if (array_key_exists("productVersionOperator", $this->_propDict)) { - if (is_a($this->_propDict["productVersionOperator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 deleted file mode 100644 index 6322b63a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetection.php +++ /dev/null @@ -1,213 +0,0 @@ -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 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 The detectionType - */ - public function getDetectionType() - { - if (array_key_exists("detectionType", $this->_propDict)) { - if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRegistryDetectionType")) { - 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 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 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator")) { - 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 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 deleted file mode 100644 index 4c95e9f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryDetectionType.php +++ /dev/null @@ -1,38 +0,0 @@ -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 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 The detectionType - */ - public function getDetectionType() - { - if (array_key_exists("detectionType", $this->_propDict)) { - if (is_a($this->_propDict["detectionType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRegistryDetectionType")) { - 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 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 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 deleted file mode 100644 index 84cb6f0c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRule.php +++ /dev/null @@ -1,213 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppRegistryRule"); - } - - /** - * Gets the check32BitOn64System - * A value indicating whether to search the 32-bit registry on 64-bit systems. - * - * @return bool 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 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 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRegistryRuleOperationType")) { - 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 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 deleted file mode 100644 index b6a45a64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRegistryRuleOperationType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Beta\Microsoft\Graph\Model\Win32LobAppDetectionOperator")) { - 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 deleted file mode 100644 index e5c2434f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRestartBehavior.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 7c339724..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCode.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\Win32LobAppReturnCodeType")) { - 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 deleted file mode 100644 index edd72ddd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppReturnCodeType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["ruleType"], "\Beta\Microsoft\Graph\Model\Win32LobAppRuleType")) { - 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 deleted file mode 100644 index 54c270d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Win32LobAppRuleOperator.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\Windows10AppsUpdateRecurrence")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 14ac21b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10AppsUpdateRecurrence.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appType"], "\Beta\Microsoft\Graph\Model\Windows10AppType")) { - 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 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 deleted file mode 100644 index 4f7f67c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CertificateProfileBase.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 The deviceCompliancePolicyScript - */ - public function getDeviceCompliancePolicyScript() - { - if (array_key_exists("deviceCompliancePolicyScript", $this->_propDict)) { - if (is_a($this->_propDict["deviceCompliancePolicyScript"], "\Beta\Microsoft\Graph\Model\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 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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Beta\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 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 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 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 deleted file mode 100644 index 908b7847..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10CustomConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 91ac8114..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceFirmwareConfigurationInterface.php +++ /dev/null @@ -1,258 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["bootFromBuiltInNetworkAdapters"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The bootFromExternalMedia - */ - public function getBootFromExternalMedia() - { - if (array_key_exists("bootFromExternalMedia", $this->_propDict)) { - if (is_a($this->_propDict["bootFromExternalMedia"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The cameras - */ - public function getCameras() - { - if (array_key_exists("cameras", $this->_propDict)) { - if (is_a($this->_propDict["cameras"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The changeUefiSettingsPermission - */ - public function getChangeUefiSettingsPermission() - { - if (array_key_exists("changeUefiSettingsPermission", $this->_propDict)) { - if (is_a($this->_propDict["changeUefiSettingsPermission"], "\Beta\Microsoft\Graph\Model\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 The microphonesAndSpeakers - */ - public function getMicrophonesAndSpeakers() - { - if (array_key_exists("microphonesAndSpeakers", $this->_propDict)) { - if (is_a($this->_propDict["microphonesAndSpeakers"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The radios - */ - public function getRadios() - { - if (array_key_exists("radios", $this->_propDict)) { - if (is_a($this->_propDict["radios"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 virtualizationOfCpuAndIO - * Defines whether CPU and IO virtualization is enabled. Possible values are: notConfigured, enabled, disabled. - * - * @return Enablement The virtualizationOfCpuAndIO - */ - public function getVirtualizationOfCpuAndIO() - { - if (array_key_exists("virtualizationOfCpuAndIO", $this->_propDict)) { - if (is_a($this->_propDict["virtualizationOfCpuAndIO"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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; - } - -} 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 deleted file mode 100644 index 03b74034..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10DeviceModeType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The durationOfEmailToSync - */ - public function getDurationOfEmailToSync() - { - if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { - if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration")) { - 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 The emailAddressSource - */ - public function getEmailAddressSource() - { - if (array_key_exists("emailAddressSource", $this->_propDict)) { - if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 The emailSyncSchedule - */ - public function getEmailSyncSchedule() - { - if (array_key_exists("emailSyncSchedule", $this->_propDict)) { - if (is_a($this->_propDict["emailSyncSchedule"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 deleted file mode 100644 index 8480dee9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EditionType.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 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 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 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 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 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 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 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 The applicationGuardBlockClipboardSharing - */ - public function getApplicationGuardBlockClipboardSharing() - { - if (array_key_exists("applicationGuardBlockClipboardSharing", $this->_propDict)) { - if (is_a($this->_propDict["applicationGuardBlockClipboardSharing"], "\Beta\Microsoft\Graph\Model\ApplicationGuardBlockClipboardSharingType")) { - 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 The applicationGuardBlockFileTransfer - */ - public function getApplicationGuardBlockFileTransfer() - { - if (array_key_exists("applicationGuardBlockFileTransfer", $this->_propDict)) { - if (is_a($this->_propDict["applicationGuardBlockFileTransfer"], "\Beta\Microsoft\Graph\Model\ApplicationGuardBlockFileTransferType")) { - 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 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 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 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 The applicationGuardEnabledOptions - */ - public function getApplicationGuardEnabledOptions() - { - if (array_key_exists("applicationGuardEnabledOptions", $this->_propDict)) { - if (is_a($this->_propDict["applicationGuardEnabledOptions"], "\Beta\Microsoft\Graph\Model\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 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 The appLockerApplicationControl - */ - public function getAppLockerApplicationControl() - { - if (array_key_exists("appLockerApplicationControl", $this->_propDict)) { - if (is_a($this->_propDict["appLockerApplicationControl"], "\Beta\Microsoft\Graph\Model\AppLockerApplicationControlType")) { - 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 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 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 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 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 The bitLockerFixedDrivePolicy - */ - public function getBitLockerFixedDrivePolicy() - { - if (array_key_exists("bitLockerFixedDrivePolicy", $this->_propDict)) { - if (is_a($this->_propDict["bitLockerFixedDrivePolicy"], "\Beta\Microsoft\Graph\Model\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 The bitLockerRecoveryPasswordRotation - */ - public function getBitLockerRecoveryPasswordRotation() - { - if (array_key_exists("bitLockerRecoveryPasswordRotation", $this->_propDict)) { - if (is_a($this->_propDict["bitLockerRecoveryPasswordRotation"], "\Beta\Microsoft\Graph\Model\BitLockerRecoveryPasswordRotationType")) { - 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 The bitLockerRemovableDrivePolicy - */ - public function getBitLockerRemovableDrivePolicy() - { - if (array_key_exists("bitLockerRemovableDrivePolicy", $this->_propDict)) { - if (is_a($this->_propDict["bitLockerRemovableDrivePolicy"], "\Beta\Microsoft\Graph\Model\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 The bitLockerSystemDrivePolicy - */ - public function getBitLockerSystemDrivePolicy() - { - if (array_key_exists("bitLockerSystemDrivePolicy", $this->_propDict)) { - if (is_a($this->_propDict["bitLockerSystemDrivePolicy"], "\Beta\Microsoft\Graph\Model\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 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 The defenderAdobeReaderLaunchChildProcess - */ - public function getDefenderAdobeReaderLaunchChildProcess() - { - if (array_key_exists("defenderAdobeReaderLaunchChildProcess", $this->_propDict)) { - if (is_a($this->_propDict["defenderAdobeReaderLaunchChildProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderAdvancedRansomewareProtectionType - */ - public function getDefenderAdvancedRansomewareProtectionType() - { - if (array_key_exists("defenderAdvancedRansomewareProtectionType", $this->_propDict)) { - if (is_a($this->_propDict["defenderAdvancedRansomewareProtectionType"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The defenderBlockPersistenceThroughWmiType - */ - public function getDefenderBlockPersistenceThroughWmiType() - { - if (array_key_exists("defenderBlockPersistenceThroughWmiType", $this->_propDict)) { - if (is_a($this->_propDict["defenderBlockPersistenceThroughWmiType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 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 The defenderCloudBlockLevel - */ - public function getDefenderCloudBlockLevel() - { - if (array_key_exists("defenderCloudBlockLevel", $this->_propDict)) { - if (is_a($this->_propDict["defenderCloudBlockLevel"], "\Beta\Microsoft\Graph\Model\DefenderCloudBlockLevelType")) { - 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 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 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 The defenderDetectedMalwareActions - */ - public function getDefenderDetectedMalwareActions() - { - if (array_key_exists("defenderDetectedMalwareActions", $this->_propDict)) { - if (is_a($this->_propDict["defenderDetectedMalwareActions"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 The defenderEmailContentExecution - */ - public function getDefenderEmailContentExecution() - { - if (array_key_exists("defenderEmailContentExecution", $this->_propDict)) { - if (is_a($this->_propDict["defenderEmailContentExecution"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderEmailContentExecutionType - */ - public function getDefenderEmailContentExecutionType() - { - if (array_key_exists("defenderEmailContentExecutionType", $this->_propDict)) { - if (is_a($this->_propDict["defenderEmailContentExecutionType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 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 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 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 The defenderExploitProtectionXml - */ - public function getDefenderExploitProtectionXml() - { - if (array_key_exists("defenderExploitProtectionXml", $this->_propDict)) { - if (is_a($this->_propDict["defenderExploitProtectionXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["defenderExploitProtectionXml"]; - } else { - $this->_propDict["defenderExploitProtectionXml"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 The defenderGuardMyFoldersType - */ - public function getDefenderGuardMyFoldersType() - { - if (array_key_exists("defenderGuardMyFoldersType", $this->_propDict)) { - if (is_a($this->_propDict["defenderGuardMyFoldersType"], "\Beta\Microsoft\Graph\Model\FolderProtectionType")) { - 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 The defenderNetworkProtectionType - */ - public function getDefenderNetworkProtectionType() - { - if (array_key_exists("defenderNetworkProtectionType", $this->_propDict)) { - if (is_a($this->_propDict["defenderNetworkProtectionType"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderOfficeAppsExecutableContentCreationOrLaunch - */ - public function getDefenderOfficeAppsExecutableContentCreationOrLaunch() - { - if (array_key_exists("defenderOfficeAppsExecutableContentCreationOrLaunch", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunch"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderOfficeAppsExecutableContentCreationOrLaunchType - */ - public function getDefenderOfficeAppsExecutableContentCreationOrLaunchType() - { - if (array_key_exists("defenderOfficeAppsExecutableContentCreationOrLaunchType", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeAppsExecutableContentCreationOrLaunchType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 The defenderOfficeAppsLaunchChildProcess - */ - public function getDefenderOfficeAppsLaunchChildProcess() - { - if (array_key_exists("defenderOfficeAppsLaunchChildProcess", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeAppsLaunchChildProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderOfficeAppsLaunchChildProcessType - */ - public function getDefenderOfficeAppsLaunchChildProcessType() - { - if (array_key_exists("defenderOfficeAppsLaunchChildProcessType", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeAppsLaunchChildProcessType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 The defenderOfficeAppsOtherProcessInjection - */ - public function getDefenderOfficeAppsOtherProcessInjection() - { - if (array_key_exists("defenderOfficeAppsOtherProcessInjection", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeAppsOtherProcessInjection"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderOfficeAppsOtherProcessInjectionType - */ - public function getDefenderOfficeAppsOtherProcessInjectionType() - { - if (array_key_exists("defenderOfficeAppsOtherProcessInjectionType", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeAppsOtherProcessInjectionType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 The defenderOfficeCommunicationAppsLaunchChildProcess - */ - public function getDefenderOfficeCommunicationAppsLaunchChildProcess() - { - if (array_key_exists("defenderOfficeCommunicationAppsLaunchChildProcess", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeCommunicationAppsLaunchChildProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderOfficeMacroCodeAllowWin32Imports - */ - public function getDefenderOfficeMacroCodeAllowWin32Imports() - { - if (array_key_exists("defenderOfficeMacroCodeAllowWin32Imports", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeMacroCodeAllowWin32Imports"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderOfficeMacroCodeAllowWin32ImportsType - */ - public function getDefenderOfficeMacroCodeAllowWin32ImportsType() - { - if (array_key_exists("defenderOfficeMacroCodeAllowWin32ImportsType", $this->_propDict)) { - if (is_a($this->_propDict["defenderOfficeMacroCodeAllowWin32ImportsType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 The defenderPotentiallyUnwantedAppAction - */ - public function getDefenderPotentiallyUnwantedAppAction() - { - if (array_key_exists("defenderPotentiallyUnwantedAppAction", $this->_propDict)) { - if (is_a($this->_propDict["defenderPotentiallyUnwantedAppAction"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderPreventCredentialStealingType - */ - public function getDefenderPreventCredentialStealingType() - { - if (array_key_exists("defenderPreventCredentialStealingType", $this->_propDict)) { - if (is_a($this->_propDict["defenderPreventCredentialStealingType"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderProcessCreation - */ - public function getDefenderProcessCreation() - { - if (array_key_exists("defenderProcessCreation", $this->_propDict)) { - if (is_a($this->_propDict["defenderProcessCreation"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderProcessCreationType - */ - public function getDefenderProcessCreationType() - { - if (array_key_exists("defenderProcessCreationType", $this->_propDict)) { - if (is_a($this->_propDict["defenderProcessCreationType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 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 The defenderScanDirection - */ - public function getDefenderScanDirection() - { - if (array_key_exists("defenderScanDirection", $this->_propDict)) { - if (is_a($this->_propDict["defenderScanDirection"], "\Beta\Microsoft\Graph\Model\DefenderRealtimeScanDirection")) { - 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 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 The defenderScanType - */ - public function getDefenderScanType() - { - if (array_key_exists("defenderScanType", $this->_propDict)) { - if (is_a($this->_propDict["defenderScanType"], "\Beta\Microsoft\Graph\Model\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 The defenderScheduledQuickScanTime - */ - public function getDefenderScheduledQuickScanTime() - { - if (array_key_exists("defenderScheduledQuickScanTime", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledQuickScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The defenderScheduledScanDay - */ - public function getDefenderScheduledScanDay() - { - if (array_key_exists("defenderScheduledScanDay", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledScanDay"], "\Beta\Microsoft\Graph\Model\WeeklySchedule")) { - 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 The defenderScheduledScanTime - */ - public function getDefenderScheduledScanTime() - { - if (array_key_exists("defenderScheduledScanTime", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The defenderScriptDownloadedPayloadExecution - */ - public function getDefenderScriptDownloadedPayloadExecution() - { - if (array_key_exists("defenderScriptDownloadedPayloadExecution", $this->_propDict)) { - if (is_a($this->_propDict["defenderScriptDownloadedPayloadExecution"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderScriptDownloadedPayloadExecutionType - */ - public function getDefenderScriptDownloadedPayloadExecutionType() - { - if (array_key_exists("defenderScriptDownloadedPayloadExecutionType", $this->_propDict)) { - if (is_a($this->_propDict["defenderScriptDownloadedPayloadExecutionType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 The defenderScriptObfuscatedMacroCode - */ - public function getDefenderScriptObfuscatedMacroCode() - { - if (array_key_exists("defenderScriptObfuscatedMacroCode", $this->_propDict)) { - if (is_a($this->_propDict["defenderScriptObfuscatedMacroCode"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderScriptObfuscatedMacroCodeType - */ - public function getDefenderScriptObfuscatedMacroCodeType() - { - if (array_key_exists("defenderScriptObfuscatedMacroCodeType", $this->_propDict)) { - if (is_a($this->_propDict["defenderScriptObfuscatedMacroCodeType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The defenderSecurityCenterITContactDisplay - */ - public function getDefenderSecurityCenterITContactDisplay() - { - if (array_key_exists("defenderSecurityCenterITContactDisplay", $this->_propDict)) { - if (is_a($this->_propDict["defenderSecurityCenterITContactDisplay"], "\Beta\Microsoft\Graph\Model\DefenderSecurityCenterITContactDisplayType")) { - 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 The defenderSecurityCenterNotificationsFromApp - */ - public function getDefenderSecurityCenterNotificationsFromApp() - { - if (array_key_exists("defenderSecurityCenterNotificationsFromApp", $this->_propDict)) { - if (is_a($this->_propDict["defenderSecurityCenterNotificationsFromApp"], "\Beta\Microsoft\Graph\Model\DefenderSecurityCenterNotificationsFromAppType")) { - 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 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 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 The defenderSubmitSamplesConsentType - */ - public function getDefenderSubmitSamplesConsentType() - { - if (array_key_exists("defenderSubmitSamplesConsentType", $this->_propDict)) { - if (is_a($this->_propDict["defenderSubmitSamplesConsentType"], "\Beta\Microsoft\Graph\Model\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 The defenderUntrustedExecutable - */ - public function getDefenderUntrustedExecutable() - { - if (array_key_exists("defenderUntrustedExecutable", $this->_propDict)) { - if (is_a($this->_propDict["defenderUntrustedExecutable"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderUntrustedExecutableType - */ - public function getDefenderUntrustedExecutableType() - { - if (array_key_exists("defenderUntrustedExecutableType", $this->_propDict)) { - if (is_a($this->_propDict["defenderUntrustedExecutableType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 The defenderUntrustedUSBProcess - */ - public function getDefenderUntrustedUSBProcess() - { - if (array_key_exists("defenderUntrustedUSBProcess", $this->_propDict)) { - if (is_a($this->_propDict["defenderUntrustedUSBProcess"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 The defenderUntrustedUSBProcessType - */ - public function getDefenderUntrustedUSBProcessType() - { - if (array_key_exists("defenderUntrustedUSBProcessType", $this->_propDict)) { - if (is_a($this->_propDict["defenderUntrustedUSBProcessType"], "\Beta\Microsoft\Graph\Model\DefenderAttackSurfaceType")) { - 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 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 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 The deviceGuardLaunchSystemGuard - */ - public function getDeviceGuardLaunchSystemGuard() - { - if (array_key_exists("deviceGuardLaunchSystemGuard", $this->_propDict)) { - if (is_a($this->_propDict["deviceGuardLaunchSystemGuard"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The deviceGuardLocalSystemAuthorityCredentialGuardSettings - */ - public function getDeviceGuardLocalSystemAuthorityCredentialGuardSettings() - { - if (array_key_exists("deviceGuardLocalSystemAuthorityCredentialGuardSettings", $this->_propDict)) { - if (is_a($this->_propDict["deviceGuardLocalSystemAuthorityCredentialGuardSettings"], "\Beta\Microsoft\Graph\Model\DeviceGuardLocalSystemAuthorityCredentialGuardType")) { - 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 The deviceGuardSecureBootWithDMA - */ - public function getDeviceGuardSecureBootWithDMA() - { - if (array_key_exists("deviceGuardSecureBootWithDMA", $this->_propDict)) { - if (is_a($this->_propDict["deviceGuardSecureBootWithDMA"], "\Beta\Microsoft\Graph\Model\SecureBootWithDMAType")) { - 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 The dmaGuardDeviceEnumerationPolicy - */ - public function getDmaGuardDeviceEnumerationPolicy() - { - if (array_key_exists("dmaGuardDeviceEnumerationPolicy", $this->_propDict)) { - if (is_a($this->_propDict["dmaGuardDeviceEnumerationPolicy"], "\Beta\Microsoft\Graph\Model\DmaGuardDeviceEnumerationPolicyType")) { - 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 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 The firewallCertificateRevocationListCheckMethod - */ - public function getFirewallCertificateRevocationListCheckMethod() - { - if (array_key_exists("firewallCertificateRevocationListCheckMethod", $this->_propDict)) { - if (is_a($this->_propDict["firewallCertificateRevocationListCheckMethod"], "\Beta\Microsoft\Graph\Model\FirewallCertificateRevocationListCheckMethodType")) { - 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 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 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 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 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 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 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 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 The firewallPacketQueueingMethod - */ - public function getFirewallPacketQueueingMethod() - { - if (array_key_exists("firewallPacketQueueingMethod", $this->_propDict)) { - if (is_a($this->_propDict["firewallPacketQueueingMethod"], "\Beta\Microsoft\Graph\Model\FirewallPacketQueueingMethodType")) { - 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 The firewallPreSharedKeyEncodingMethod - */ - public function getFirewallPreSharedKeyEncodingMethod() - { - if (array_key_exists("firewallPreSharedKeyEncodingMethod", $this->_propDict)) { - if (is_a($this->_propDict["firewallPreSharedKeyEncodingMethod"], "\Beta\Microsoft\Graph\Model\FirewallPreSharedKeyEncodingMethodType")) { - 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 The firewallProfileDomain - */ - public function getFirewallProfileDomain() - { - if (array_key_exists("firewallProfileDomain", $this->_propDict)) { - if (is_a($this->_propDict["firewallProfileDomain"], "\Beta\Microsoft\Graph\Model\WindowsFirewallNetworkProfile")) { - 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 The firewallProfilePrivate - */ - public function getFirewallProfilePrivate() - { - if (array_key_exists("firewallProfilePrivate", $this->_propDict)) { - if (is_a($this->_propDict["firewallProfilePrivate"], "\Beta\Microsoft\Graph\Model\WindowsFirewallNetworkProfile")) { - 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 The firewallProfilePublic - */ - public function getFirewallProfilePublic() - { - if (array_key_exists("firewallProfilePublic", $this->_propDict)) { - if (is_a($this->_propDict["firewallProfilePublic"], "\Beta\Microsoft\Graph\Model\WindowsFirewallNetworkProfile")) { - 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 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 The lanManagerAuthenticationLevel - */ - public function getLanManagerAuthenticationLevel() - { - if (array_key_exists("lanManagerAuthenticationLevel", $this->_propDict)) { - if (is_a($this->_propDict["lanManagerAuthenticationLevel"], "\Beta\Microsoft\Graph\Model\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 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 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 The localSecurityOptionsAdministratorElevationPromptBehavior - */ - public function getLocalSecurityOptionsAdministratorElevationPromptBehavior() - { - if (array_key_exists("localSecurityOptionsAdministratorElevationPromptBehavior", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsAdministratorElevationPromptBehavior"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsAdministratorElevationPromptBehaviorType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser - */ - public function getLocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser() - { - if (array_key_exists("localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUser"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsFormatAndEjectOfRemovableMediaAllowedUserType")) { - 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 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 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 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 The localSecurityOptionsInformationDisplayedOnLockScreen - */ - public function getLocalSecurityOptionsInformationDisplayedOnLockScreen() - { - if (array_key_exists("localSecurityOptionsInformationDisplayedOnLockScreen", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsInformationDisplayedOnLockScreen"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsInformationDisplayedOnLockScreenType")) { - 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 The localSecurityOptionsInformationShownOnLockScreen - */ - public function getLocalSecurityOptionsInformationShownOnLockScreen() - { - if (array_key_exists("localSecurityOptionsInformationShownOnLockScreen", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsInformationShownOnLockScreen"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsInformationShownOnLockScreenType")) { - 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 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 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 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 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 The localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients - */ - public function getLocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients() - { - if (array_key_exists("localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedClients"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsMinimumSessionSecurity")) { - 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 The localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers - */ - public function getLocalSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers() - { - if (array_key_exists("localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsMinimumSessionSecurityForNtlmSspBasedServers"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsMinimumSessionSecurity")) { - 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 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 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: lockWorkstation, noAction, forceLogoff, disconnectRemoteDesktopSession. - * - * @return LocalSecurityOptionsSmartCardRemovalBehaviorType The localSecurityOptionsSmartCardRemovalBehavior - */ - public function getLocalSecurityOptionsSmartCardRemovalBehavior() - { - if (array_key_exists("localSecurityOptionsSmartCardRemovalBehavior", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsSmartCardRemovalBehavior"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsSmartCardRemovalBehaviorType")) { - 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: lockWorkstation, noAction, 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 The localSecurityOptionsStandardUserElevationPromptBehavior - */ - public function getLocalSecurityOptionsStandardUserElevationPromptBehavior() - { - if (array_key_exists("localSecurityOptionsStandardUserElevationPromptBehavior", $this->_propDict)) { - if (is_a($this->_propDict["localSecurityOptionsStandardUserElevationPromptBehavior"], "\Beta\Microsoft\Graph\Model\LocalSecurityOptionsStandardUserElevationPromptBehaviorType")) { - 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 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 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 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 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 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 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 The userRightsAccessCredentialManagerAsTrustedCaller - */ - public function getUserRightsAccessCredentialManagerAsTrustedCaller() - { - if (array_key_exists("userRightsAccessCredentialManagerAsTrustedCaller", $this->_propDict)) { - if (is_a($this->_propDict["userRightsAccessCredentialManagerAsTrustedCaller"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsActAsPartOfTheOperatingSystem - */ - public function getUserRightsActAsPartOfTheOperatingSystem() - { - if (array_key_exists("userRightsActAsPartOfTheOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["userRightsActAsPartOfTheOperatingSystem"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsAllowAccessFromNetwork - */ - public function getUserRightsAllowAccessFromNetwork() - { - if (array_key_exists("userRightsAllowAccessFromNetwork", $this->_propDict)) { - if (is_a($this->_propDict["userRightsAllowAccessFromNetwork"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsBackupData - */ - public function getUserRightsBackupData() - { - if (array_key_exists("userRightsBackupData", $this->_propDict)) { - if (is_a($this->_propDict["userRightsBackupData"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsBlockAccessFromNetwork - */ - public function getUserRightsBlockAccessFromNetwork() - { - if (array_key_exists("userRightsBlockAccessFromNetwork", $this->_propDict)) { - if (is_a($this->_propDict["userRightsBlockAccessFromNetwork"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsChangeSystemTime - */ - public function getUserRightsChangeSystemTime() - { - if (array_key_exists("userRightsChangeSystemTime", $this->_propDict)) { - if (is_a($this->_propDict["userRightsChangeSystemTime"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsCreateGlobalObjects - */ - public function getUserRightsCreateGlobalObjects() - { - if (array_key_exists("userRightsCreateGlobalObjects", $this->_propDict)) { - if (is_a($this->_propDict["userRightsCreateGlobalObjects"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsCreatePageFile - */ - public function getUserRightsCreatePageFile() - { - if (array_key_exists("userRightsCreatePageFile", $this->_propDict)) { - if (is_a($this->_propDict["userRightsCreatePageFile"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsCreatePermanentSharedObjects - */ - public function getUserRightsCreatePermanentSharedObjects() - { - if (array_key_exists("userRightsCreatePermanentSharedObjects", $this->_propDict)) { - if (is_a($this->_propDict["userRightsCreatePermanentSharedObjects"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsCreateSymbolicLinks - */ - public function getUserRightsCreateSymbolicLinks() - { - if (array_key_exists("userRightsCreateSymbolicLinks", $this->_propDict)) { - if (is_a($this->_propDict["userRightsCreateSymbolicLinks"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsCreateToken - */ - public function getUserRightsCreateToken() - { - if (array_key_exists("userRightsCreateToken", $this->_propDict)) { - if (is_a($this->_propDict["userRightsCreateToken"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsDebugPrograms - */ - public function getUserRightsDebugPrograms() - { - if (array_key_exists("userRightsDebugPrograms", $this->_propDict)) { - if (is_a($this->_propDict["userRightsDebugPrograms"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsDelegation - */ - public function getUserRightsDelegation() - { - if (array_key_exists("userRightsDelegation", $this->_propDict)) { - if (is_a($this->_propDict["userRightsDelegation"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsDenyLocalLogOn - */ - public function getUserRightsDenyLocalLogOn() - { - if (array_key_exists("userRightsDenyLocalLogOn", $this->_propDict)) { - if (is_a($this->_propDict["userRightsDenyLocalLogOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsGenerateSecurityAudits - */ - public function getUserRightsGenerateSecurityAudits() - { - if (array_key_exists("userRightsGenerateSecurityAudits", $this->_propDict)) { - if (is_a($this->_propDict["userRightsGenerateSecurityAudits"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsImpersonateClient - */ - public function getUserRightsImpersonateClient() - { - if (array_key_exists("userRightsImpersonateClient", $this->_propDict)) { - if (is_a($this->_propDict["userRightsImpersonateClient"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsIncreaseSchedulingPriority - */ - public function getUserRightsIncreaseSchedulingPriority() - { - if (array_key_exists("userRightsIncreaseSchedulingPriority", $this->_propDict)) { - if (is_a($this->_propDict["userRightsIncreaseSchedulingPriority"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsLoadUnloadDrivers - */ - public function getUserRightsLoadUnloadDrivers() - { - if (array_key_exists("userRightsLoadUnloadDrivers", $this->_propDict)) { - if (is_a($this->_propDict["userRightsLoadUnloadDrivers"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsLocalLogOn - */ - public function getUserRightsLocalLogOn() - { - if (array_key_exists("userRightsLocalLogOn", $this->_propDict)) { - if (is_a($this->_propDict["userRightsLocalLogOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsLockMemory - */ - public function getUserRightsLockMemory() - { - if (array_key_exists("userRightsLockMemory", $this->_propDict)) { - if (is_a($this->_propDict["userRightsLockMemory"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsManageAuditingAndSecurityLogs - */ - public function getUserRightsManageAuditingAndSecurityLogs() - { - if (array_key_exists("userRightsManageAuditingAndSecurityLogs", $this->_propDict)) { - if (is_a($this->_propDict["userRightsManageAuditingAndSecurityLogs"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsManageVolumes - */ - public function getUserRightsManageVolumes() - { - if (array_key_exists("userRightsManageVolumes", $this->_propDict)) { - if (is_a($this->_propDict["userRightsManageVolumes"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsModifyFirmwareEnvironment - */ - public function getUserRightsModifyFirmwareEnvironment() - { - if (array_key_exists("userRightsModifyFirmwareEnvironment", $this->_propDict)) { - if (is_a($this->_propDict["userRightsModifyFirmwareEnvironment"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsModifyObjectLabels - */ - public function getUserRightsModifyObjectLabels() - { - if (array_key_exists("userRightsModifyObjectLabels", $this->_propDict)) { - if (is_a($this->_propDict["userRightsModifyObjectLabels"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsProfileSingleProcess - */ - public function getUserRightsProfileSingleProcess() - { - if (array_key_exists("userRightsProfileSingleProcess", $this->_propDict)) { - if (is_a($this->_propDict["userRightsProfileSingleProcess"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsRemoteDesktopServicesLogOn - */ - public function getUserRightsRemoteDesktopServicesLogOn() - { - if (array_key_exists("userRightsRemoteDesktopServicesLogOn", $this->_propDict)) { - if (is_a($this->_propDict["userRightsRemoteDesktopServicesLogOn"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsRemoteShutdown - */ - public function getUserRightsRemoteShutdown() - { - if (array_key_exists("userRightsRemoteShutdown", $this->_propDict)) { - if (is_a($this->_propDict["userRightsRemoteShutdown"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsRestoreData - */ - public function getUserRightsRestoreData() - { - if (array_key_exists("userRightsRestoreData", $this->_propDict)) { - if (is_a($this->_propDict["userRightsRestoreData"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The userRightsTakeOwnership - */ - public function getUserRightsTakeOwnership() - { - if (array_key_exists("userRightsTakeOwnership", $this->_propDict)) { - if (is_a($this->_propDict["userRightsTakeOwnership"], "\Beta\Microsoft\Graph\Model\DeviceManagementUserRightsSetting")) { - 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 The windowsDefenderTamperProtection - */ - public function getWindowsDefenderTamperProtection() - { - if (array_key_exists("windowsDefenderTamperProtection", $this->_propDict)) { - if (is_a($this->_propDict["windowsDefenderTamperProtection"], "\Beta\Microsoft\Graph\Model\WindowsDefenderTamperProtectionOptions")) { - 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 The xboxServicesAccessoryManagementServiceStartupMode - */ - public function getXboxServicesAccessoryManagementServiceStartupMode() - { - if (array_key_exists("xboxServicesAccessoryManagementServiceStartupMode", $this->_propDict)) { - if (is_a($this->_propDict["xboxServicesAccessoryManagementServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType")) { - 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 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 The xboxServicesLiveAuthManagerServiceStartupMode - */ - public function getXboxServicesLiveAuthManagerServiceStartupMode() - { - if (array_key_exists("xboxServicesLiveAuthManagerServiceStartupMode", $this->_propDict)) { - if (is_a($this->_propDict["xboxServicesLiveAuthManagerServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType")) { - 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 The xboxServicesLiveGameSaveServiceStartupMode - */ - public function getXboxServicesLiveGameSaveServiceStartupMode() - { - if (array_key_exists("xboxServicesLiveGameSaveServiceStartupMode", $this->_propDict)) { - if (is_a($this->_propDict["xboxServicesLiveGameSaveServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType")) { - 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 The xboxServicesLiveNetworkingServiceStartupMode - */ - public function getXboxServicesLiveNetworkingServiceStartupMode() - { - if (array_key_exists("xboxServicesLiveNetworkingServiceStartupMode", $this->_propDict)) { - if (is_a($this->_propDict["xboxServicesLiveNetworkingServiceStartupMode"], "\Beta\Microsoft\Graph\Model\ServiceStartType")) { - 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 deleted file mode 100644 index 4b32efdf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfiguration.php +++ /dev/null @@ -1,317 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index b5249c1d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnrollmentCompletionPageConfigurationPolicySetItem.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 437f0afc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10EnterpriseModernAppManagementConfiguration.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 943d6043..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10GeneralConfiguration.php +++ /dev/null @@ -1,8475 +0,0 @@ -_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 The activateAppsWithVoice - */ - public function getActivateAppsWithVoice() - { - if (array_key_exists("activateAppsWithVoice", $this->_propDict)) { - if (is_a($this->_propDict["activateAppsWithVoice"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 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 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 The appsAllowTrustedAppsSideloading - */ - public function getAppsAllowTrustedAppsSideloading() - { - if (array_key_exists("appsAllowTrustedAppsSideloading", $this->_propDict)) { - if (is_a($this->_propDict["appsAllowTrustedAppsSideloading"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 The authenticationWebSignIn - */ - public function getAuthenticationWebSignIn() - { - if (array_key_exists("authenticationWebSignIn", $this->_propDict)) { - if (is_a($this->_propDict["authenticationWebSignIn"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 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 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 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 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 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 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 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 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 The cellularData - */ - public function getCellularData() - { - if (array_key_exists("cellularData", $this->_propDict)) { - if (is_a($this->_propDict["cellularData"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 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 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 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 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 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 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 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 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 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 The defenderCloudBlockLevel - */ - public function getDefenderCloudBlockLevel() - { - if (array_key_exists("defenderCloudBlockLevel", $this->_propDict)) { - if (is_a($this->_propDict["defenderCloudBlockLevel"], "\Beta\Microsoft\Graph\Model\DefenderCloudBlockLevelType")) { - 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 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 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 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 The defenderDetectedMalwareActions - */ - public function getDefenderDetectedMalwareActions() - { - if (array_key_exists("defenderDetectedMalwareActions", $this->_propDict)) { - if (is_a($this->_propDict["defenderDetectedMalwareActions"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 The defenderMonitorFileActivity - */ - public function getDefenderMonitorFileActivity() - { - if (array_key_exists("defenderMonitorFileActivity", $this->_propDict)) { - if (is_a($this->_propDict["defenderMonitorFileActivity"], "\Beta\Microsoft\Graph\Model\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 The defenderPotentiallyUnwantedAppAction - */ - public function getDefenderPotentiallyUnwantedAppAction() - { - if (array_key_exists("defenderPotentiallyUnwantedAppAction", $this->_propDict)) { - if (is_a($this->_propDict["defenderPotentiallyUnwantedAppAction"], "\Beta\Microsoft\Graph\Model\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 The defenderPotentiallyUnwantedAppActionSetting - */ - public function getDefenderPotentiallyUnwantedAppActionSetting() - { - if (array_key_exists("defenderPotentiallyUnwantedAppActionSetting", $this->_propDict)) { - if (is_a($this->_propDict["defenderPotentiallyUnwantedAppActionSetting"], "\Beta\Microsoft\Graph\Model\DefenderProtectionType")) { - 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 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 The defenderPromptForSampleSubmission - */ - public function getDefenderPromptForSampleSubmission() - { - if (array_key_exists("defenderPromptForSampleSubmission", $this->_propDict)) { - if (is_a($this->_propDict["defenderPromptForSampleSubmission"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 The defenderScanType - */ - public function getDefenderScanType() - { - if (array_key_exists("defenderScanType", $this->_propDict)) { - if (is_a($this->_propDict["defenderScanType"], "\Beta\Microsoft\Graph\Model\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 The defenderScheduledQuickScanTime - */ - public function getDefenderScheduledQuickScanTime() - { - if (array_key_exists("defenderScheduledQuickScanTime", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledQuickScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The defenderScheduledScanTime - */ - public function getDefenderScheduledScanTime() - { - if (array_key_exists("defenderScheduledScanTime", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledScanTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 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 The defenderSubmitSamplesConsentType - */ - public function getDefenderSubmitSamplesConsentType() - { - if (array_key_exists("defenderSubmitSamplesConsentType", $this->_propDict)) { - if (is_a($this->_propDict["defenderSubmitSamplesConsentType"], "\Beta\Microsoft\Graph\Model\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 The defenderSystemScanSchedule - */ - public function getDefenderSystemScanSchedule() - { - if (array_key_exists("defenderSystemScanSchedule", $this->_propDict)) { - if (is_a($this->_propDict["defenderSystemScanSchedule"], "\Beta\Microsoft\Graph\Model\WeeklySchedule")) { - 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 The developerUnlockSetting - */ - public function getDeveloperUnlockSetting() - { - if (array_key_exists("developerUnlockSetting", $this->_propDict)) { - if (is_a($this->_propDict["developerUnlockSetting"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 The diagnosticsDataSubmissionMode - */ - public function getDiagnosticsDataSubmissionMode() - { - if (array_key_exists("diagnosticsDataSubmissionMode", $this->_propDict)) { - if (is_a($this->_propDict["diagnosticsDataSubmissionMode"], "\Beta\Microsoft\Graph\Model\DiagnosticDataSubmissionMode")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The edgeCookiePolicy - */ - public function getEdgeCookiePolicy() - { - if (array_key_exists("edgeCookiePolicy", $this->_propDict)) { - if (is_a($this->_propDict["edgeCookiePolicy"], "\Beta\Microsoft\Graph\Model\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 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 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 The edgeFavoritesBarVisibility - */ - public function getEdgeFavoritesBarVisibility() - { - if (array_key_exists("edgeFavoritesBarVisibility", $this->_propDict)) { - if (is_a($this->_propDict["edgeFavoritesBarVisibility"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 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 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 The edgeHomeButtonConfiguration - */ - public function getEdgeHomeButtonConfiguration() - { - if (array_key_exists("edgeHomeButtonConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["edgeHomeButtonConfiguration"], "\Beta\Microsoft\Graph\Model\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 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 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 The edgeKioskModeRestriction - */ - public function getEdgeKioskModeRestriction() - { - if (array_key_exists("edgeKioskModeRestriction", $this->_propDict)) { - if (is_a($this->_propDict["edgeKioskModeRestriction"], "\Beta\Microsoft\Graph\Model\EdgeKioskModeRestrictionType")) { - 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 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 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 The edgeOpensWith - */ - public function getEdgeOpensWith() - { - if (array_key_exists("edgeOpensWith", $this->_propDict)) { - if (is_a($this->_propDict["edgeOpensWith"], "\Beta\Microsoft\Graph\Model\EdgeOpenOptions")) { - 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 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 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 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 The edgeSearchEngine - */ - public function getEdgeSearchEngine() - { - if (array_key_exists("edgeSearchEngine", $this->_propDict)) { - if (is_a($this->_propDict["edgeSearchEngine"], "\Beta\Microsoft\Graph\Model\EdgeSearchEngineBase")) { - 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 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 The edgeShowMessageWhenOpeningInternetExplorerSites - */ - public function getEdgeShowMessageWhenOpeningInternetExplorerSites() - { - if (array_key_exists("edgeShowMessageWhenOpeningInternetExplorerSites", $this->_propDict)) { - if (is_a($this->_propDict["edgeShowMessageWhenOpeningInternetExplorerSites"], "\Beta\Microsoft\Graph\Model\InternetExplorerMessageSetting")) { - 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 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 The edgeTelemetryForMicrosoft365Analytics - */ - public function getEdgeTelemetryForMicrosoft365Analytics() - { - if (array_key_exists("edgeTelemetryForMicrosoft365Analytics", $this->_propDict)) { - if (is_a($this->_propDict["edgeTelemetryForMicrosoft365Analytics"], "\Beta\Microsoft\Graph\Model\EdgeTelemetryMode")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 The experienceDoNotSyncBrowserSettings - */ - public function getExperienceDoNotSyncBrowserSettings() - { - if (array_key_exists("experienceDoNotSyncBrowserSettings", $this->_propDict)) { - if (is_a($this->_propDict["experienceDoNotSyncBrowserSettings"], "\Beta\Microsoft\Graph\Model\BrowserSyncSetting")) { - 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 The findMyFiles - */ - public function getFindMyFiles() - { - if (array_key_exists("findMyFiles", $this->_propDict)) { - if (is_a($this->_propDict["findMyFiles"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 The inkWorkspaceAccess - */ - public function getInkWorkspaceAccess() - { - if (array_key_exists("inkWorkspaceAccess", $this->_propDict)) { - if (is_a($this->_propDict["inkWorkspaceAccess"], "\Beta\Microsoft\Graph\Model\InkAccessSetting")) { - 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 The inkWorkspaceAccessState - */ - public function getInkWorkspaceAccessState() - { - if (array_key_exists("inkWorkspaceAccessState", $this->_propDict)) { - if (is_a($this->_propDict["inkWorkspaceAccessState"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 The lockScreenActivateAppsWithVoice - */ - public function getLockScreenActivateAppsWithVoice() - { - if (array_key_exists("lockScreenActivateAppsWithVoice", $this->_propDict)) { - if (is_a($this->_propDict["lockScreenActivateAppsWithVoice"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 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 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 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 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 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 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 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 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 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 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 The microsoftAccountSignInAssistantSettings - */ - public function getMicrosoftAccountSignInAssistantSettings() - { - if (array_key_exists("microsoftAccountSignInAssistantSettings", $this->_propDict)) { - if (is_a($this->_propDict["microsoftAccountSignInAssistantSettings"], "\Beta\Microsoft\Graph\Model\SignInAssistantOptions")) { - 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 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 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 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 The networkProxyServer - */ - public function getNetworkProxyServer() - { - if (array_key_exists("networkProxyServer", $this->_propDict)) { - if (is_a($this->_propDict["networkProxyServer"], "\Beta\Microsoft\Graph\Model\Windows10NetworkProxyServer")) { - 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 The powerButtonActionOnBattery - */ - public function getPowerButtonActionOnBattery() - { - if (array_key_exists("powerButtonActionOnBattery", $this->_propDict)) { - if (is_a($this->_propDict["powerButtonActionOnBattery"], "\Beta\Microsoft\Graph\Model\PowerActionType")) { - 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 The powerButtonActionPluggedIn - */ - public function getPowerButtonActionPluggedIn() - { - if (array_key_exists("powerButtonActionPluggedIn", $this->_propDict)) { - if (is_a($this->_propDict["powerButtonActionPluggedIn"], "\Beta\Microsoft\Graph\Model\PowerActionType")) { - 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 The powerHybridSleepOnBattery - */ - public function getPowerHybridSleepOnBattery() - { - if (array_key_exists("powerHybridSleepOnBattery", $this->_propDict)) { - if (is_a($this->_propDict["powerHybridSleepOnBattery"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The powerHybridSleepPluggedIn - */ - public function getPowerHybridSleepPluggedIn() - { - if (array_key_exists("powerHybridSleepPluggedIn", $this->_propDict)) { - if (is_a($this->_propDict["powerHybridSleepPluggedIn"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The powerLidCloseActionOnBattery - */ - public function getPowerLidCloseActionOnBattery() - { - if (array_key_exists("powerLidCloseActionOnBattery", $this->_propDict)) { - if (is_a($this->_propDict["powerLidCloseActionOnBattery"], "\Beta\Microsoft\Graph\Model\PowerActionType")) { - 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 The powerLidCloseActionPluggedIn - */ - public function getPowerLidCloseActionPluggedIn() - { - if (array_key_exists("powerLidCloseActionPluggedIn", $this->_propDict)) { - if (is_a($this->_propDict["powerLidCloseActionPluggedIn"], "\Beta\Microsoft\Graph\Model\PowerActionType")) { - 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 The powerSleepButtonActionOnBattery - */ - public function getPowerSleepButtonActionOnBattery() - { - if (array_key_exists("powerSleepButtonActionOnBattery", $this->_propDict)) { - if (is_a($this->_propDict["powerSleepButtonActionOnBattery"], "\Beta\Microsoft\Graph\Model\PowerActionType")) { - 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 The powerSleepButtonActionPluggedIn - */ - public function getPowerSleepButtonActionPluggedIn() - { - if (array_key_exists("powerSleepButtonActionPluggedIn", $this->_propDict)) { - if (is_a($this->_propDict["powerSleepButtonActionPluggedIn"], "\Beta\Microsoft\Graph\Model\PowerActionType")) { - 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 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 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 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 The privacyAdvertisingId - */ - public function getPrivacyAdvertisingId() - { - if (array_key_exists("privacyAdvertisingId", $this->_propDict)) { - if (is_a($this->_propDict["privacyAdvertisingId"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 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 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 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 The safeSearchFilter - */ - public function getSafeSearchFilter() - { - if (array_key_exists("safeSearchFilter", $this->_propDict)) { - if (is_a($this->_propDict["safeSearchFilter"], "\Beta\Microsoft\Graph\Model\SafeSearchFilterType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The smartScreenAppInstallControl - */ - public function getSmartScreenAppInstallControl() - { - if (array_key_exists("smartScreenAppInstallControl", $this->_propDict)) { - if (is_a($this->_propDict["smartScreenAppInstallControl"], "\Beta\Microsoft\Graph\Model\AppInstallControlType")) { - 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 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 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 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 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 The startMenuAppListVisibility - */ - public function getStartMenuAppListVisibility() - { - if (array_key_exists("startMenuAppListVisibility", $this->_propDict)) { - if (is_a($this->_propDict["startMenuAppListVisibility"], "\Beta\Microsoft\Graph\Model\WindowsStartMenuAppListVisibilityType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The startMenuLayoutEdgeAssetsXml - */ - public function getStartMenuLayoutEdgeAssetsXml() - { - if (array_key_exists("startMenuLayoutEdgeAssetsXml", $this->_propDict)) { - if (is_a($this->_propDict["startMenuLayoutEdgeAssetsXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["startMenuLayoutEdgeAssetsXml"]; - } else { - $this->_propDict["startMenuLayoutEdgeAssetsXml"] = \GuzzleHttp\Psr7\stream_for($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 The startMenuLayoutXml - */ - public function getStartMenuLayoutXml() - { - if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { - if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["startMenuLayoutXml"]; - } else { - $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\stream_for($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 The startMenuMode - */ - public function getStartMenuMode() - { - if (array_key_exists("startMenuMode", $this->_propDict)) { - if (is_a($this->_propDict["startMenuMode"], "\Beta\Microsoft\Graph\Model\WindowsStartMenuModeType")) { - 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 The startMenuPinnedFolderDocuments - */ - public function getStartMenuPinnedFolderDocuments() - { - if (array_key_exists("startMenuPinnedFolderDocuments", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderDocuments"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderDownloads - */ - public function getStartMenuPinnedFolderDownloads() - { - if (array_key_exists("startMenuPinnedFolderDownloads", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderDownloads"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderFileExplorer - */ - public function getStartMenuPinnedFolderFileExplorer() - { - if (array_key_exists("startMenuPinnedFolderFileExplorer", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderFileExplorer"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderHomeGroup - */ - public function getStartMenuPinnedFolderHomeGroup() - { - if (array_key_exists("startMenuPinnedFolderHomeGroup", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderHomeGroup"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderMusic - */ - public function getStartMenuPinnedFolderMusic() - { - if (array_key_exists("startMenuPinnedFolderMusic", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderMusic"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderNetwork - */ - public function getStartMenuPinnedFolderNetwork() - { - if (array_key_exists("startMenuPinnedFolderNetwork", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderNetwork"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderPersonalFolder - */ - public function getStartMenuPinnedFolderPersonalFolder() - { - if (array_key_exists("startMenuPinnedFolderPersonalFolder", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderPersonalFolder"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderPictures - */ - public function getStartMenuPinnedFolderPictures() - { - if (array_key_exists("startMenuPinnedFolderPictures", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderPictures"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderSettings - */ - public function getStartMenuPinnedFolderSettings() - { - if (array_key_exists("startMenuPinnedFolderSettings", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderSettings"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderVideos - */ - public function getStartMenuPinnedFolderVideos() - { - if (array_key_exists("startMenuPinnedFolderVideos", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderVideos"], "\Beta\Microsoft\Graph\Model\VisibilitySetting")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The windows10AppsForceUpdateSchedule - */ - public function getWindows10AppsForceUpdateSchedule() - { - if (array_key_exists("windows10AppsForceUpdateSchedule", $this->_propDict)) { - if (is_a($this->_propDict["windows10AppsForceUpdateSchedule"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 The windowsSpotlightConfigureOnLockScreen - */ - public function getWindowsSpotlightConfigureOnLockScreen() - { - if (array_key_exists("windowsSpotlightConfigureOnLockScreen", $this->_propDict)) { - if (is_a($this->_propDict["windowsSpotlightConfigureOnLockScreen"], "\Beta\Microsoft\Graph\Model\WindowsSpotlightEnablementSettings")) { - 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 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 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 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 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 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 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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index 642b0ef2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10ImportedPFXCertificateProfile.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 232178e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10MobileCompliancePolicy.php +++ /dev/null @@ -1,554 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 deleted file mode 100644 index 124eb869..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkBoundaryConfiguration.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["windowsNetworkIsolationPolicy"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 10dcc29b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10NetworkProxyServer.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 26057b56..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PFXImportCertificateProfile.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption")) { - 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 deleted file mode 100644 index 78d0d255..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10PkcsCertificateProfile.php +++ /dev/null @@ -1,295 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 59bb80d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10SecureAssessmentConfiguration.php +++ /dev/null @@ -1,263 +0,0 @@ -_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 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 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 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 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 The configurationAccountType - */ - public function getConfigurationAccountType() - { - if (array_key_exists("configurationAccountType", $this->_propDict)) { - if (is_a($this->_propDict["configurationAccountType"], "\Beta\Microsoft\Graph\Model\SecureAssessmentAccountType")) { - 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 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 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 deleted file mode 100644 index 264d50b3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10TeamGeneralConfiguration.php +++ /dev/null @@ -1,619 +0,0 @@ -_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 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 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 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 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 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 The maintenanceWindowStartTime - */ - public function getMaintenanceWindowStartTime() - { - if (array_key_exists("maintenanceWindowStartTime", $this->_propDict)) { - if (is_a($this->_propDict["maintenanceWindowStartTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 The miracastChannel - */ - public function getMiracastChannel() - { - if (array_key_exists("miracastChannel", $this->_propDict)) { - if (is_a($this->_propDict["miracastChannel"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 The welcomeScreenMeetingInformation - */ - public function getWelcomeScreenMeetingInformation() - { - if (array_key_exists("welcomeScreenMeetingInformation", $this->_propDict)) { - if (is_a($this->_propDict["welcomeScreenMeetingInformation"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 57c62d1e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnAuthenticationMethod.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The authenticationMethod - */ - public function getAuthenticationMethod() - { - if (array_key_exists("authenticationMethod", $this->_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\Windows10VpnAuthenticationMethod")) { - 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. - * - * @return Windows10VpnConnectionType The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\Windows10VpnConnectionType")) { - 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. - * - * @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 The cryptographySuite - */ - public function getCryptographySuite() - { - if (array_key_exists("cryptographySuite", $this->_propDict)) { - if (is_a($this->_propDict["cryptographySuite"], "\Beta\Microsoft\Graph\Model\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 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 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 The eapXml - */ - public function getEapXml() - { - if (array_key_exists("eapXml", $this->_propDict)) { - if (is_a($this->_propDict["eapXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["eapXml"]; - } else { - $this->_propDict["eapXml"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 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 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 onlyAssociatedAppsCanUseConnection - * Only associated Apps can use connection (per-app VPN). - * - * @return bool 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 The profileTarget - */ - public function getProfileTarget() - { - if (array_key_exists("profileTarget", $this->_propDict)) { - if (is_a($this->_propDict["profileTarget"], "\Beta\Microsoft\Graph\Model\Windows10VpnProfileTarget")) { - 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 The proxyServer - */ - public function getProxyServer() - { - if (array_key_exists("proxyServer", $this->_propDict)) { - if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\Windows10VpnProxyServer")) { - 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 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 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 The singleSignOnEku - */ - public function getSingleSignOnEku() - { - if (array_key_exists("singleSignOnEku", $this->_propDict)) { - if (is_a($this->_propDict["singleSignOnEku"], "\Beta\Microsoft\Graph\Model\ExtendedKeyUsage")) { - 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 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 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 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 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\WindowsCertificateProfileBase")) { - 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 deleted file mode 100644 index 9660b4b2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10VpnConnectionType.php +++ /dev/null @@ -1,43 +0,0 @@ -_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 deleted file mode 100644 index a1f9bd08..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XCertificateProfile.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The sanType - */ - public function getSanType() - { - if (array_key_exists("sanType", $this->_propDict)) { - if (is_a($this->_propDict["sanType"], "\Beta\Microsoft\Graph\Model\SubjectAlternativeNameType")) { - 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 deleted file mode 100644 index b8fdcf7f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XSCEPCertificateProfile.php +++ /dev/null @@ -1,427 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 The certificateValidityPeriodScale - */ - public function getCertificateValidityPeriodScale() - { - if (array_key_exists("certificateValidityPeriodScale", $this->_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyStorageProvider - */ - public function getKeyStorageProvider() - { - if (array_key_exists("keyStorageProvider", $this->_propDict)) { - if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption")) { - 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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 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 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 deleted file mode 100644 index c9d755d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XTrustedRootCertificate.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The destinationStore - */ - public function getDestinationStore() - { - if (array_key_exists("destinationStore", $this->_propDict)) { - if (is_a($this->_propDict["destinationStore"], "\Beta\Microsoft\Graph\Model\CertificateDestinationStore")) { - 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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index ddcf5808..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XVpnConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The customXml - */ - public function getCustomXml() - { - if (array_key_exists("customXml", $this->_propDict)) { - if (is_a($this->_propDict["customXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customXml"]; - } else { - $this->_propDict["customXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index c783b8ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows10XWifiConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The customXml - */ - public function getCustomXml() - { - if (array_key_exists("customXml", $this->_propDict)) { - if (is_a($this->_propDict["customXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customXml"]; - } else { - $this->_propDict["customXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 75c4c0ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CertificateProfileBase.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 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 deleted file mode 100644 index f42210a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81CompliancePolicy.php +++ /dev/null @@ -1,350 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 deleted file mode 100644 index 66afd7bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81GeneralConfiguration.php +++ /dev/null @@ -1,1070 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 The browserInternetSecurityLevel - */ - public function getBrowserInternetSecurityLevel() - { - if (array_key_exists("browserInternetSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["browserInternetSecurityLevel"], "\Beta\Microsoft\Graph\Model\InternetSiteSecurityLevel")) { - 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 The browserIntranetSecurityLevel - */ - public function getBrowserIntranetSecurityLevel() - { - if (array_key_exists("browserIntranetSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["browserIntranetSecurityLevel"], "\Beta\Microsoft\Graph\Model\SiteSecurityLevel")) { - 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 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 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 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 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 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 The browserTrustedSitesSecurityLevel - */ - public function getBrowserTrustedSitesSecurityLevel() - { - if (array_key_exists("browserTrustedSitesSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["browserTrustedSitesSecurityLevel"], "\Beta\Microsoft\Graph\Model\SiteSecurityLevel")) { - 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 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 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 The minimumAutoInstallClassification - */ - public function getMinimumAutoInstallClassification() - { - if (array_key_exists("minimumAutoInstallClassification", $this->_propDict)) { - if (is_a($this->_propDict["minimumAutoInstallClassification"], "\Beta\Microsoft\Graph\Model\UpdateClassification")) { - 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 The updatesMinimumAutoInstallClassification - */ - public function getUpdatesMinimumAutoInstallClassification() - { - if (array_key_exists("updatesMinimumAutoInstallClassification", $this->_propDict)) { - if (is_a($this->_propDict["updatesMinimumAutoInstallClassification"], "\Beta\Microsoft\Graph\Model\UpdateClassification")) { - 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 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 The userAccountControlSettings - */ - public function getUserAccountControlSettings() - { - if (array_key_exists("userAccountControlSettings", $this->_propDict)) { - if (is_a($this->_propDict["userAccountControlSettings"], "\Beta\Microsoft\Graph\Model\WindowsUserAccountControlSettings")) { - 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 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 deleted file mode 100644 index 5e3386b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81SCEPCertificateProfile.php +++ /dev/null @@ -1,309 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\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 The hashAlgorithm - */ - public function getHashAlgorithm() - { - if (array_key_exists("hashAlgorithm", $this->_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\Windows81TrustedRootCertificate")) { - 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 deleted file mode 100644 index 0048d031..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81TrustedRootCertificate.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The destinationStore - */ - public function getDestinationStore() - { - if (array_key_exists("destinationStore", $this->_propDict)) { - if (is_a($this->_propDict["destinationStore"], "\Beta\Microsoft\Graph\Model\CertificateDestinationStore")) { - 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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 28505db2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnConfiguration.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Beta\Microsoft\Graph\Model\WindowsVpnConnectionType")) { - 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 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 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 The proxyServer - */ - public function getProxyServer() - { - if (array_key_exists("proxyServer", $this->_propDict)) { - if (is_a($this->_propDict["proxyServer"], "\Beta\Microsoft\Graph\Model\Windows81VpnProxyServer")) { - 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 deleted file mode 100644 index e3695382..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81VpnProxyServer.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 983c9e3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Windows81WifiImportConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["payload"]; - } else { - $this->_propDict["payload"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 66cc78e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppIdentifier.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.windowsAppIdentifier"); - } - - /** - * Gets the windowsAppId - * The identifier for an app, as specified in the app store. - * - * @return string 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 deleted file mode 100644 index 29501fb2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppStartLayoutTileSize.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 deleted file mode 100644 index fd8e44ae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAppXAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.windowsAppXAppAssignmentSettings"); - } - - /** - * Gets the useDeviceContext - * Whether or not to use device execution context for Windows AppX mobile app. - * - * @return bool 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/WindowsArchitecture.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsArchitecture.php deleted file mode 100644 index 5e4bbabe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsArchitecture.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 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 The startMenuLayoutXml - */ - public function getStartMenuLayoutXml() - { - if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { - if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["startMenuLayoutXml"]; - } else { - $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index bf2ffda2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfile.php +++ /dev/null @@ -1,455 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The deviceType - */ - public function getDeviceType() - { - if (array_key_exists("deviceType", $this->_propDict)) { - if (is_a($this->_propDict["deviceType"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeviceType")) { - 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 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 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 The enrollmentStatusScreenSettings - */ - public function getEnrollmentStatusScreenSettings() - { - if (array_key_exists("enrollmentStatusScreenSettings", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentStatusScreenSettings"], "\Beta\Microsoft\Graph\Model\WindowsEnrollmentStatusScreenSettings")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 outOfBoxExperienceSettings - * Out of box experience setting - * - * @return OutOfBoxExperienceSettings The outOfBoxExperienceSettings - */ - public function getOutOfBoxExperienceSettings() - { - if (array_key_exists("outOfBoxExperienceSettings", $this->_propDict)) { - if (is_a($this->_propDict["outOfBoxExperienceSettings"], "\Beta\Microsoft\Graph\Model\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 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 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 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 deleted file mode 100644 index 97d69d1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfileAssignment.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentSource")) { - 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 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index cda16f38..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeploymentProfilePolicySetItem.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 The deploymentProfileAssignedDateTime - */ - public function getDeploymentProfileAssignedDateTime() - { - if (array_key_exists("deploymentProfileAssignedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deploymentProfileAssignedDateTime"], "\DateTime")) { - 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. - * - * @return WindowsAutopilotProfileAssignmentDetailedStatus The deploymentProfileAssignmentDetailedStatus - */ - public function getDeploymentProfileAssignmentDetailedStatus() - { - if (array_key_exists("deploymentProfileAssignmentDetailedStatus", $this->_propDict)) { - if (is_a($this->_propDict["deploymentProfileAssignmentDetailedStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotProfileAssignmentDetailedStatus")) { - 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. - * - * @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 The deploymentProfileAssignmentStatus - */ - public function getDeploymentProfileAssignmentStatus() - { - if (array_key_exists("deploymentProfileAssignmentStatus", $this->_propDict)) { - if (is_a($this->_propDict["deploymentProfileAssignmentStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotProfileAssignmentStatus")) { - 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 displayName - * Display Name - * - * @return string 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 The enrollmentState - */ - public function getEnrollmentState() - { - if (array_key_exists("enrollmentState", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentState"], "\Beta\Microsoft\Graph\Model\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 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 The lastContactedDateTime - */ - public function getLastContactedDateTime() - { - if (array_key_exists("lastContactedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastContactedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 The deploymentProfile - */ - public function getDeploymentProfile() - { - if (array_key_exists("deploymentProfile", $this->_propDict)) { - if (is_a($this->_propDict["deploymentProfile"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentProfile")) { - 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 The intendedDeploymentProfile - */ - public function getIntendedDeploymentProfile() - { - if (array_key_exists("intendedDeploymentProfile", $this->_propDict)) { - if (is_a($this->_propDict["intendedDeploymentProfile"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotDeploymentProfile")) { - 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/WindowsAutopilotDeviceType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceType.php deleted file mode 100644 index 3e9808bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotDeviceType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastManualSyncTriggerDateTime"], "\DateTime")) { - 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The syncStatus - */ - public function getSyncStatus() - { - if (array_key_exists("syncStatus", $this->_propDict)) { - if (is_a($this->_propDict["syncStatus"], "\Beta\Microsoft\Graph\Model\WindowsAutopilotSyncStatus")) { - 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 deleted file mode 100644 index f30d1c18..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsAutopilotSyncStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 The keyStorageProvider - */ - public function getKeyStorageProvider() - { - if (array_key_exists("keyStorageProvider", $this->_propDict)) { - if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption")) { - 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 271f9912..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php +++ /dev/null @@ -1,230 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index f871caaa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicy.php +++ /dev/null @@ -1,364 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 The deploySummary - */ - public function getDeploySummary() - { - if (array_key_exists("deploySummary", $this->_propDict)) { - if (is_a($this->_propDict["deploySummary"], "\Beta\Microsoft\Graph\Model\WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary")) { - 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 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 deleted file mode 100644 index d805db62..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 7b6b7612..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus.php +++ /dev/null @@ -1,329 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deploymentStatus"], "\Beta\Microsoft\Graph\Model\WindowsDefenderApplicationControlSupplementalPolicyStatuses")) { - 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 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The policy - */ - public function getPolicy() - { - if (array_key_exists("policy", $this->_propDict)) { - if (is_a($this->_propDict["policy"], "\Beta\Microsoft\Graph\Model\WindowsDefenderApplicationControlSupplementalPolicy")) { - 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 deleted file mode 100644 index 82897ad5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index d618841c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderApplicationControlSupplementalPolicyStatuses.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 deleted file mode 100644 index d3675f00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDefenderTamperProtectionOptions.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The bandwidthMode - */ - public function getBandwidthMode() - { - if (array_key_exists("bandwidthMode", $this->_propDict)) { - if (is_a($this->_propDict["bandwidthMode"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationBandwidth")) { - 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 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 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 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 The deliveryOptimizationMode - */ - public function getDeliveryOptimizationMode() - { - if (array_key_exists("deliveryOptimizationMode", $this->_propDict)) { - if (is_a($this->_propDict["deliveryOptimizationMode"], "\Beta\Microsoft\Graph\Model\WindowsDeliveryOptimizationMode")) { - 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 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 The groupIdSource - */ - public function getGroupIdSource() - { - if (array_key_exists("groupIdSource", $this->_propDict)) { - if (is_a($this->_propDict["groupIdSource"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationGroupIdSource")) { - 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 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 The maximumCacheSize - */ - public function getMaximumCacheSize() - { - if (array_key_exists("maximumCacheSize", $this->_propDict)) { - if (is_a($this->_propDict["maximumCacheSize"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationMaxCacheSize")) { - 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 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 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 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 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 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 The restrictPeerSelectionBy - */ - public function getRestrictPeerSelectionBy() - { - if (array_key_exists("restrictPeerSelectionBy", $this->_propDict)) { - if (is_a($this->_propDict["restrictPeerSelectionBy"], "\Beta\Microsoft\Graph\Model\DeliveryOptimizationRestrictPeerSelectionByOptions")) { - 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 The vpnPeerCaching - */ - public function getVpnPeerCaching() - { - if (array_key_exists("vpnPeerCaching", $this->_propDict)) { - if (is_a($this->_propDict["vpnPeerCaching"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 deleted file mode 100644 index 1be39aae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeliveryOptimizationMode.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 deleted file mode 100644 index 8a8eca10..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAccount.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index af37ec28..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceAzureADAccount.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index a69d03a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceHealthState.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 The category - */ - public function getCategory() - { - if (array_key_exists("category", $this->_propDict)) { - if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategory")) { - 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 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 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 The executionState - */ - public function getExecutionState() - { - if (array_key_exists("executionState", $this->_propDict)) { - if (is_a($this->_propDict["executionState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionState")) { - 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 The initialDetectionDateTime - */ - public function getInitialDetectionDateTime() - { - if (array_key_exists("initialDetectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["initialDetectionDateTime"], "\DateTime")) { - 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 The lastStateChangeDateTime - */ - public function getLastStateChangeDateTime() - { - if (array_key_exists("lastStateChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastStateChangeDateTime"], "\DateTime")) { - 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 The severity - */ - public function getSeverity() - { - if (array_key_exists("severity", $this->_propDict)) { - if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverity")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\WindowsMalwareState")) { - 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 The threatState - */ - public function getThreatState() - { - if (array_key_exists("threatState", $this->_propDict)) { - if (is_a($this->_propDict["threatState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareThreatState")) { - 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 deleted file mode 100644 index 9f4e02c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsDeviceType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 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 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/WindowsEdgeKioskType.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsEdgeKioskType.php deleted file mode 100644 index 92b5337c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsEdgeKioskType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 805e54d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateCatalogItem.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 8fca3389..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfile.php +++ /dev/null @@ -1,298 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 assignments - * The list of group assignments of the profile. - * - * @return array 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; - } - - - /** - * Gets the deviceUpdateStates - * The list of device states this profile targeted to - * - * @return array The deviceUpdateStates - */ - public function getDeviceUpdateStates() - { - if (array_key_exists("deviceUpdateStates", $this->_propDict)) { - return $this->_propDict["deviceUpdateStates"]; - } else { - return null; - } - } - - /** - * Sets the deviceUpdateStates - * The list of device states this profile targeted to - * - * @param WindowsUpdateState $val The deviceUpdateStates - * - * @return WindowsFeatureUpdateProfile - */ - public function setDeviceUpdateStates($val) - { - $this->_propDict["deviceUpdateStates"] = $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 deleted file mode 100644 index 16fd5eaa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFeatureUpdateProfileAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 2617b35a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallNetworkProfile.php +++ /dev/null @@ -1,675 +0,0 @@ -_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 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 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 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 The firewallEnabled - */ - public function getFirewallEnabled() - { - if (array_key_exists("firewallEnabled", $this->_propDict)) { - if (is_a($this->_propDict["firewallEnabled"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 31a06fba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRule.php +++ /dev/null @@ -1,499 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 The edgeTraversal - */ - public function getEdgeTraversal() - { - if (array_key_exists("edgeTraversal", $this->_propDict)) { - if (is_a($this->_propDict["edgeTraversal"], "\Beta\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 The interfaceTypes - */ - public function getInterfaceTypes() - { - if (array_key_exists("interfaceTypes", $this->_propDict)) { - if (is_a($this->_propDict["interfaceTypes"], "\Beta\Microsoft\Graph\Model\WindowsFirewallRuleInterfaceTypes")) { - 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 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 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 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 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 The profileTypes - */ - public function getProfileTypes() - { - if (array_key_exists("profileTypes", $this->_propDict)) { - if (is_a($this->_propDict["profileTypes"], "\Beta\Microsoft\Graph\Model\WindowsFirewallRuleNetworkProfileTypes")) { - 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 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 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 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 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 The trafficDirection - */ - public function getTrafficDirection() - { - if (array_key_exists("trafficDirection", $this->_propDict)) { - if (is_a($this->_propDict["trafficDirection"], "\Beta\Microsoft\Graph\Model\WindowsFirewallRuleTrafficDirectionType")) { - 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 deleted file mode 100644 index db7dd193..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsFirewallRuleInterfaceTypes.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowDeviceHealthMonitoring"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 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 The configDeviceHealthMonitoringScope - */ - public function getConfigDeviceHealthMonitoringScope() - { - if (array_key_exists("configDeviceHealthMonitoringScope", $this->_propDict)) { - if (is_a($this->_propDict["configDeviceHealthMonitoringScope"], "\Beta\Microsoft\Graph\Model\WindowsHealthMonitoringScope")) { - 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 deleted file mode 100644 index 7dd1db6b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHealthMonitoringScope.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The keyStrength - */ - public function getKeyStrength() - { - if (array_key_exists("keyStrength", $this->_propDict)) { - if (is_a($this->_propDict["keyStrength"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodKeyStrength")) { - 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. - * - * @return Device The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 deleted file mode 100644 index 18d97f89..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsHelloForBusinessPinUsage.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 The pinLowercaseCharactersUsage - */ - public function getPinLowercaseCharactersUsage() - { - if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 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 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 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 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 The pinSpecialCharactersUsage - */ - public function getPinSpecialCharactersUsage() - { - if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinSpecialCharactersUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 The pinUppercaseCharactersUsage - */ - public function getPinUppercaseCharactersUsage() - { - if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "\Beta\Microsoft\Graph\Model\ConfigurationUsage")) { - 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 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 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 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 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 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 deleted file mode 100644 index 0a5ca092..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtection.php +++ /dev/null @@ -1,773 +0,0 @@ -_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 The dataRecoveryCertificate - */ - public function getDataRecoveryCertificate() - { - if (array_key_exists("dataRecoveryCertificate", $this->_propDict)) { - if (is_a($this->_propDict["dataRecoveryCertificate"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionDataRecoveryCertificate")) { - 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 The enforcementLevel - */ - public function getEnforcementLevel() - { - if (array_key_exists("enforcementLevel", $this->_propDict)) { - if (is_a($this->_propDict["enforcementLevel"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionEnforcementLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 8ee266ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionApp.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 9afc8f1b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLearningSummary.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The applicationType - */ - public function getApplicationType() - { - if (array_key_exists("applicationType", $this->_propDict)) { - if (is_a($this->_propDict["applicationType"], "\Beta\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 9d644515..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionAppLockerFile.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["file"]; - } else { - $this->_propDict["file"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 81fff290..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDataRecoveryCertificate.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["certificate"]; - } else { - $this->_propDict["certificate"] = \GuzzleHttp\Psr7\stream_for($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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 9a5e1cdc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDesktopApp.php +++ /dev/null @@ -1,119 +0,0 @@ -setODataType("#microsoft.graph.windowsInformationProtectionDesktopApp"); - } - - /** - * Gets the binaryName - * The binary name. - * - * @return string 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 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 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 deleted file mode 100644 index f21df25e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionDeviceRegistration.php +++ /dev/null @@ -1,205 +0,0 @@ -_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 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 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 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 The lastCheckInDateTime - */ - public function getLastCheckInDateTime() - { - if (array_key_exists("lastCheckInDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 9b2b812f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionEnforcementLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The ranges - */ - public function getRanges() - { - if (array_key_exists("ranges", $this->_propDict)) { - if (is_a($this->_propDict["ranges"], "\Beta\Microsoft\Graph\Model\IpRange")) { - 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 deleted file mode 100644 index bce0859f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionNetworkLearningSummary.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 177b0d7e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionPinCharacterRequirements.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 The pinLowercaseLetters - */ - public function getPinLowercaseLetters() - { - if (array_key_exists("pinLowercaseLetters", $this->_propDict)) { - if (is_a($this->_propDict["pinLowercaseLetters"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements")) { - 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 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 The pinSpecialCharacters - */ - public function getPinSpecialCharacters() - { - if (array_key_exists("pinSpecialCharacters", $this->_propDict)) { - if (is_a($this->_propDict["pinSpecialCharacters"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements")) { - 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 The pinUppercaseLetters - */ - public function getPinUppercaseLetters() - { - if (array_key_exists("pinUppercaseLetters", $this->_propDict)) { - if (is_a($this->_propDict["pinUppercaseLetters"], "\Beta\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements")) { - 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 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 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 deleted file mode 100644 index 10f9d77b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionProxiedDomainCollection.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The proxiedDomains - */ - public function getProxiedDomains() - { - if (array_key_exists("proxiedDomains", $this->_propDict)) { - if (is_a($this->_propDict["proxiedDomains"], "\Beta\Microsoft\Graph\Model\ProxiedDomain")) { - 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 deleted file mode 100644 index ecbb58fe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionResourceCollection.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index e5df15e8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionStoreApp.php +++ /dev/null @@ -1,35 +0,0 @@ -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 deleted file mode 100644 index 920f5280..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsInformationProtectionWipeAction.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\ActionState")) { - 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 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 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 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 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 deleted file mode 100644 index 2f8be8c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskActiveDirectoryGroup.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 12ba8dd7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppBase.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appType"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppType")) { - 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 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 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 The startLayoutTileSize - */ - public function getStartLayoutTileSize() - { - if (array_key_exists("startLayoutTileSize", $this->_propDict)) { - if (is_a($this->_propDict["startLayoutTileSize"], "\Beta\Microsoft\Graph\Model\WindowsAppStartLayoutTileSize")) { - 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 deleted file mode 100644 index 5888ed46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAppConfiguration.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index e21f9d9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskAzureADUser.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index b0033fb3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskConfiguration.php +++ /dev/null @@ -1,322 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The windowsKioskForceUpdateSchedule - */ - public function getWindowsKioskForceUpdateSchedule() - { - if (array_key_exists("windowsKioskForceUpdateSchedule", $this->_propDict)) { - if (is_a($this->_propDict["windowsKioskForceUpdateSchedule"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 8d59d152..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskDesktopApp.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index be43ec58..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskForceUpdateSchedule.php +++ /dev/null @@ -1,181 +0,0 @@ -_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 The dayofWeek - */ - public function getDayofWeek() - { - if (array_key_exists("dayofWeek", $this->_propDict)) { - if (is_a($this->_propDict["dayofWeek"], "\Beta\Microsoft\Graph\Model\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 The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Beta\Microsoft\Graph\Model\Windows10AppsUpdateRecurrence")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index b6b62238..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalGroup.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 0e70ae44..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskLocalUser.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 497f060f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskMultipleApps.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The apps - */ - public function getApps() - { - if (array_key_exists("apps", $this->_propDict)) { - if (is_a($this->_propDict["apps"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppBase")) { - 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 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 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 The startMenuLayoutXml - */ - public function getStartMenuLayoutXml() - { - if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { - if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["startMenuLayoutXml"]; - } else { - $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 228536cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskProfile.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appConfiguration"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppConfiguration")) { - 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 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 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 The userAccountsConfiguration - */ - public function getUserAccountsConfiguration() - { - if (array_key_exists("userAccountsConfiguration", $this->_propDict)) { - if (is_a($this->_propDict["userAccountsConfiguration"], "\Beta\Microsoft\Graph\Model\WindowsKioskUser")) { - 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 deleted file mode 100644 index 06413580..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleUWPApp.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["uwpApp"], "\Beta\Microsoft\Graph\Model\WindowsKioskUWPApp")) { - 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 deleted file mode 100644 index 9affd2aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskSingleWin32App.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["win32App"], "\Beta\Microsoft\Graph\Model\WindowsKioskWin32App")) { - 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 deleted file mode 100644 index 1ed40233..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUWPApp.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 725ab793..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsKioskUser.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 The edgeKioskType - */ - public function getEdgeKioskType() - { - if (array_key_exists("edgeKioskType", $this->_propDict)) { - if (is_a($this->_propDict["edgeKioskType"], "\Beta\Microsoft\Graph\Model\WindowsEdgeKioskType")) { - 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 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 deleted file mode 100644 index 6340fd34..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareCategory.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 The category - */ - public function getCategory() - { - if (array_key_exists("category", $this->_propDict)) { - if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategory")) { - 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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 46dd3730..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareExecutionState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The executionState - */ - public function getExecutionState() - { - if (array_key_exists("executionState", $this->_propDict)) { - if (is_a($this->_propDict["executionState"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionState")) { - 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 16979395..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareInformation.php +++ /dev/null @@ -1,214 +0,0 @@ -_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 The category - */ - public function getCategory() - { - if (array_key_exists("category", $this->_propDict)) { - if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategory")) { - 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 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 The lastDetectionDateTime - */ - public function getLastDetectionDateTime() - { - if (array_key_exists("lastDetectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastDetectionDateTime"], "\DateTime")) { - 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 The severity - */ - public function getSeverity() - { - if (array_key_exists("severity", $this->_propDict)) { - if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverity")) { - 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 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 deleted file mode 100644 index 3b9d8a0f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareNameCount.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 986fcf1d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareOverview.php +++ /dev/null @@ -1,308 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["malwareCategorySummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareCategoryCount")) { - 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 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 The malwareExecutionStateSummary - */ - public function getMalwareExecutionStateSummary() - { - if (array_key_exists("malwareExecutionStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["malwareExecutionStateSummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareExecutionStateCount")) { - 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 The malwareNameSummary - */ - public function getMalwareNameSummary() - { - if (array_key_exists("malwareNameSummary", $this->_propDict)) { - if (is_a($this->_propDict["malwareNameSummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareNameCount")) { - 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 The malwareSeveritySummary - */ - public function getMalwareSeveritySummary() - { - if (array_key_exists("malwareSeveritySummary", $this->_propDict)) { - if (is_a($this->_propDict["malwareSeveritySummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverityCount")) { - 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 The malwareStateSummary - */ - public function getMalwareStateSummary() - { - if (array_key_exists("malwareStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["malwareStateSummary"], "\Beta\Microsoft\Graph\Model\WindowsMalwareStateCount")) { - 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 The osVersionsSummary - */ - public function getOsVersionsSummary() - { - if (array_key_exists("osVersionsSummary", $this->_propDict)) { - if (is_a($this->_propDict["osVersionsSummary"], "\Beta\Microsoft\Graph\Model\OsVersionCount")) { - 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 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 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 deleted file mode 100644 index 65d41819..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareSeverity.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 The severity - */ - public function getSeverity() - { - if (array_key_exists("severity", $this->_propDict)) { - if (is_a($this->_propDict["severity"], "\Beta\Microsoft\Graph\Model\WindowsMalwareSeverity")) { - 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 deleted file mode 100644 index d40d3a10..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareState.php +++ /dev/null @@ -1,45 +0,0 @@ -_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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Beta\Microsoft\Graph\Model\WindowsMalwareThreatState")) { - 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 deleted file mode 100644 index e7982bbe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMalwareThreatState.php +++ /dev/null @@ -1,43 +0,0 @@ -_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 healthStates - * The list of health states for installed Windows management app. - * - * @return array 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 deleted file mode 100644 index 81f234af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthState.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 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 The healthState - */ - public function getHealthState() - { - if (array_key_exists("healthState", $this->_propDict)) { - if (is_a($this->_propDict["healthState"], "\Beta\Microsoft\Graph\Model\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 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 The lastCheckInDateTime - */ - public function getLastCheckInDateTime() - { - if (array_key_exists("lastCheckInDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCheckInDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index cf1be6a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsManagementAppHealthSummary.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index b1bcc778..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMicrosoftEdgeApp.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["channel"], "\Beta\Microsoft\Graph\Model\MicrosoftEdgeChannel")) { - 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 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 deleted file mode 100644 index e354194b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMinimumOperatingSystem.php +++ /dev/null @@ -1,334 +0,0 @@ -_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 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 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 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 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 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 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 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 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 v8_0 - * Windows version 8.0 or later. - * - * @return bool 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 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 deleted file mode 100644 index 90ff8055..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsMobileMSI.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 29f166f0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsNetworkIsolationPolicy.php +++ /dev/null @@ -1,260 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["enterpriseCloudResources"], "\Beta\Microsoft\Graph\Model\ProxiedDomain")) { - 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 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 The enterpriseIPRanges - */ - public function getEnterpriseIPRanges() - { - if (array_key_exists("enterpriseIPRanges", $this->_propDict)) { - if (is_a($this->_propDict["enterpriseIPRanges"], "\Beta\Microsoft\Graph\Model\IpRange")) { - 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 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 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 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 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 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 deleted file mode 100644 index a2acb3d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsOfficeClientConfiguration.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitecture"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 deleted file mode 100644 index f9c49441..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppX.php +++ /dev/null @@ -1,267 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 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 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 deleted file mode 100644 index 19f1b5d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81AppXBundle.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 926f6e75..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CertificateProfileBase.php +++ /dev/null @@ -1,247 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificateValidityPeriodScale"], "\Beta\Microsoft\Graph\Model\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 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 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 The keyStorageProvider - */ - public function getKeyStorageProvider() - { - if (array_key_exists("keyStorageProvider", $this->_propDict)) { - if (is_a($this->_propDict["keyStorageProvider"], "\Beta\Microsoft\Graph\Model\KeyStorageProviderOption")) { - 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 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 The subjectAlternativeNameType - */ - public function getSubjectAlternativeNameType() - { - if (array_key_exists("subjectAlternativeNameType", $this->_propDict)) { - if (is_a($this->_propDict["subjectAlternativeNameType"], "\Beta\Microsoft\Graph\Model\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 The subjectNameFormat - */ - public function getSubjectNameFormat() - { - if (array_key_exists("subjectNameFormat", $this->_propDict)) { - if (is_a($this->_propDict["subjectNameFormat"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 6005a4d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CompliancePolicy.php +++ /dev/null @@ -1,350 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 deleted file mode 100644 index 1e09f7c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81CustomConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 1f613419..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81GeneralConfiguration.php +++ /dev/null @@ -1,877 +0,0 @@ -_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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Beta\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Beta\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 717081e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81ImportedPFXCertificateProfile.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intendedPurpose"], "\Beta\Microsoft\Graph\Model\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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index 95e65169..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81SCEPCertificateProfile.php +++ /dev/null @@ -1,276 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hashAlgorithm"], "\Beta\Microsoft\Graph\Model\HashAlgorithms")) { - 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 The keySize - */ - public function getKeySize() - { - if (array_key_exists("keySize", $this->_propDict)) { - if (is_a($this->_propDict["keySize"], "\Beta\Microsoft\Graph\Model\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 The keyUsage - */ - public function getKeyUsage() - { - if (array_key_exists("keyUsage", $this->_propDict)) { - if (is_a($this->_propDict["keyUsage"], "\Beta\Microsoft\Graph\Model\KeyUsages")) { - 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 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 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 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 - * - * @return array 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 - * - * @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 The rootCertificate - */ - public function getRootCertificate() - { - if (array_key_exists("rootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificate"], "\Beta\Microsoft\Graph\Model\WindowsPhone81TrustedRootCertificate")) { - 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 deleted file mode 100644 index 08d8cc41..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81StoreApp.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 2bd480af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81TrustedRootCertificate.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The trustedRootCertificate - */ - public function getTrustedRootCertificate() - { - if (array_key_exists("trustedRootCertificate", $this->_propDict)) { - if (is_a($this->_propDict["trustedRootCertificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["trustedRootCertificate"]; - } else { - $this->_propDict["trustedRootCertificate"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 2ab1d2dc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhone81VpnConfiguration.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\VpnAuthenticationMethod")) { - 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 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 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 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 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 The identityCertificate - */ - public function getIdentityCertificate() - { - if (array_key_exists("identityCertificate", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificate"], "\Beta\Microsoft\Graph\Model\WindowsPhone81CertificateProfileBase")) { - 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 deleted file mode 100644 index d51f2505..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneEASEmailProfileConfiguration.php +++ /dev/null @@ -1,329 +0,0 @@ -_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 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 The durationOfEmailToSync - */ - public function getDurationOfEmailToSync() - { - if (array_key_exists("durationOfEmailToSync", $this->_propDict)) { - if (is_a($this->_propDict["durationOfEmailToSync"], "\Beta\Microsoft\Graph\Model\EmailSyncDuration")) { - 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 The emailAddressSource - */ - public function getEmailAddressSource() - { - if (array_key_exists("emailAddressSource", $this->_propDict)) { - if (is_a($this->_propDict["emailAddressSource"], "\Beta\Microsoft\Graph\Model\UserEmailSource")) { - 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 The emailSyncSchedule - */ - public function getEmailSyncSchedule() - { - if (array_key_exists("emailSyncSchedule", $this->_propDict)) { - if (is_a($this->_propDict["emailSyncSchedule"], "\Beta\Microsoft\Graph\Model\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 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 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 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 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 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 deleted file mode 100644 index fc741db1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPhoneXAP.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index c4a22a7b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessControlItem.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessLevel"], "\Beta\Microsoft\Graph\Model\WindowsPrivacyDataAccessLevel")) { - 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 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 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 The dataCategory - */ - public function getDataCategory() - { - if (array_key_exists("dataCategory", $this->_propDict)) { - if (is_a($this->_propDict["dataCategory"], "\Beta\Microsoft\Graph\Model\WindowsPrivacyDataCategory")) { - 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 deleted file mode 100644 index 41e145a7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsPrivacyDataAccessLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The deviceState - */ - public function getDeviceState() - { - if (array_key_exists("deviceState", $this->_propDict)) { - if (is_a($this->_propDict["deviceState"], "\Beta\Microsoft\Graph\Model\WindowsDeviceHealthState")) { - 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 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 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 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 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 The lastFullScanDateTime - */ - public function getLastFullScanDateTime() - { - if (array_key_exists("lastFullScanDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastFullScanDateTime"], "\DateTime")) { - 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 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 The lastQuickScanDateTime - */ - public function getLastQuickScanDateTime() - { - if (array_key_exists("lastQuickScanDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastQuickScanDateTime"], "\DateTime")) { - 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 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 The productStatus - */ - public function getProductStatus() - { - if (array_key_exists("productStatus", $this->_propDict)) { - if (is_a($this->_propDict["productStatus"], "\Beta\Microsoft\Graph\Model\WindowsDefenderProductStatus")) { - 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 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 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 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 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 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 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 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 deleted file mode 100644 index 584bdcd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateCatalogItem.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classification"], "\Beta\Microsoft\Graph\Model\WindowsQualityUpdateClassification")) { - 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 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 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 deleted file mode 100644 index ed69480e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateClassification.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The expeditedUpdateSettings - */ - public function getExpeditedUpdateSettings() - { - if (array_key_exists("expeditedUpdateSettings", $this->_propDict)) { - if (is_a($this->_propDict["expeditedUpdateSettings"], "\Beta\Microsoft\Graph\Model\ExpeditedWindowsQualityUpdateSettings")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index d8da1c9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsQualityUpdateProfileAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Beta\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 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 deleted file mode 100644 index 0e444144..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsSModeConfiguration.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 249b65da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppX.php +++ /dev/null @@ -1,301 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitectures"], "\Beta\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 The applicableDeviceTypes - */ - public function getApplicableDeviceTypes() - { - if (array_key_exists("applicableDeviceTypes", $this->_propDict)) { - if (is_a($this->_propDict["applicableDeviceTypes"], "\Beta\Microsoft\Graph\Model\WindowsDeviceType")) { - 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 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index ade58266..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.windowsUniversalAppXAppAssignmentSettings"); - } - - /** - * Gets the useDeviceContext - * Whether or not to use device execution context for Windows Universal AppX mobile app. - * - * @return bool 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 deleted file mode 100644 index 0e89a8a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUniversalAppXContainedApp.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index eb2c994b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateActiveHoursInstall.php +++ /dev/null @@ -1,101 +0,0 @@ -setODataType("#microsoft.graph.windowsUpdateActiveHoursInstall"); - } - - - /** - * Gets the activeHoursEnd - * Active Hours End - * - * @return TimeOfDay The activeHoursEnd - */ - public function getActiveHoursEnd() - { - if (array_key_exists("activeHoursEnd", $this->_propDict)) { - if (is_a($this->_propDict["activeHoursEnd"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The activeHoursStart - */ - public function getActiveHoursStart() - { - if (array_key_exists("activeHoursStart", $this->_propDict)) { - if (is_a($this->_propDict["activeHoursStart"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index a9d38260..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateCatalogItem.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 releaseDateTime - * The date the catalog item was released - * - * @return \DateTime The releaseDateTime - */ - public function getReleaseDateTime() - { - if (array_key_exists("releaseDateTime", $this->_propDict)) { - if (is_a($this->_propDict["releaseDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index eb4a8aba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessConfiguration.php +++ /dev/null @@ -1,1136 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["automaticUpdateMode"], "\Beta\Microsoft\Graph\Model\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 The autoRestartNotificationDismissal - */ - public function getAutoRestartNotificationDismissal() - { - if (array_key_exists("autoRestartNotificationDismissal", $this->_propDict)) { - if (is_a($this->_propDict["autoRestartNotificationDismissal"], "\Beta\Microsoft\Graph\Model\AutoRestartNotificationDismissalMethod")) { - 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 The businessReadyUpdatesOnly - */ - public function getBusinessReadyUpdatesOnly() - { - if (array_key_exists("businessReadyUpdatesOnly", $this->_propDict)) { - if (is_a($this->_propDict["businessReadyUpdatesOnly"], "\Beta\Microsoft\Graph\Model\WindowsUpdateType")) { - 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 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 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 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 The deliveryOptimizationMode - */ - public function getDeliveryOptimizationMode() - { - if (array_key_exists("deliveryOptimizationMode", $this->_propDict)) { - if (is_a($this->_propDict["deliveryOptimizationMode"], "\Beta\Microsoft\Graph\Model\WindowsDeliveryOptimizationMode")) { - 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 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 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 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 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 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 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 The featureUpdatesPauseExpiryDateTime - */ - public function getFeatureUpdatesPauseExpiryDateTime() - { - if (array_key_exists("featureUpdatesPauseExpiryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["featureUpdatesPauseExpiryDateTime"], "\DateTime")) { - 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 The featureUpdatesPauseStartDate - */ - public function getFeatureUpdatesPauseStartDate() - { - if (array_key_exists("featureUpdatesPauseStartDate", $this->_propDict)) { - if (is_a($this->_propDict["featureUpdatesPauseStartDate"], "\DateTime")) { - 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 The featureUpdatesRollbackStartDateTime - */ - public function getFeatureUpdatesRollbackStartDateTime() - { - if (array_key_exists("featureUpdatesRollbackStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["featureUpdatesRollbackStartDateTime"], "\DateTime")) { - 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 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 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 The installationSchedule - */ - public function getInstallationSchedule() - { - if (array_key_exists("installationSchedule", $this->_propDict)) { - if (is_a($this->_propDict["installationSchedule"], "\Beta\Microsoft\Graph\Model\WindowsUpdateInstallScheduleType")) { - 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 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 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 The prereleaseFeatures - */ - public function getPrereleaseFeatures() - { - if (array_key_exists("prereleaseFeatures", $this->_propDict)) { - if (is_a($this->_propDict["prereleaseFeatures"], "\Beta\Microsoft\Graph\Model\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 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 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 The qualityUpdatesPauseExpiryDateTime - */ - public function getQualityUpdatesPauseExpiryDateTime() - { - if (array_key_exists("qualityUpdatesPauseExpiryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["qualityUpdatesPauseExpiryDateTime"], "\DateTime")) { - 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 The qualityUpdatesPauseStartDate - */ - public function getQualityUpdatesPauseStartDate() - { - if (array_key_exists("qualityUpdatesPauseStartDate", $this->_propDict)) { - if (is_a($this->_propDict["qualityUpdatesPauseStartDate"], "\DateTime")) { - 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 The qualityUpdatesRollbackStartDateTime - */ - public function getQualityUpdatesRollbackStartDateTime() - { - if (array_key_exists("qualityUpdatesRollbackStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["qualityUpdatesRollbackStartDateTime"], "\DateTime")) { - 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 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 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 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 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 The updateNotificationLevel - */ - public function getUpdateNotificationLevel() - { - if (array_key_exists("updateNotificationLevel", $this->_propDict)) { - if (is_a($this->_propDict["updateNotificationLevel"], "\Beta\Microsoft\Graph\Model\WindowsUpdateNotificationDisplayOption")) { - 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 The updateWeeks - */ - public function getUpdateWeeks() - { - if (array_key_exists("updateWeeks", $this->_propDict)) { - if (is_a($this->_propDict["updateWeeks"], "\Beta\Microsoft\Graph\Model\WindowsUpdateForBusinessUpdateWeeks")) { - 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 The userPauseAccess - */ - public function getUserPauseAccess() - { - if (array_key_exists("userPauseAccess", $this->_propDict)) { - if (is_a($this->_propDict["userPauseAccess"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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 The userWindowsUpdateScanAccess - */ - public function getUserWindowsUpdateScanAccess() - { - if (array_key_exists("userWindowsUpdateScanAccess", $this->_propDict)) { - if (is_a($this->_propDict["userWindowsUpdateScanAccess"], "\Beta\Microsoft\Graph\Model\Enablement")) { - 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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index e6eb4bf0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateForBusinessUpdateWeeks.php +++ /dev/null @@ -1,38 +0,0 @@ -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 The scheduledInstallDay - */ - public function getScheduledInstallDay() - { - if (array_key_exists("scheduledInstallDay", $this->_propDict)) { - if (is_a($this->_propDict["scheduledInstallDay"], "\Beta\Microsoft\Graph\Model\WeeklySchedule")) { - 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 The scheduledInstallTime - */ - public function getScheduledInstallTime() - { - if (array_key_exists("scheduledInstallTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledInstallTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index 69c8cbf0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateState.php +++ /dev/null @@ -1,300 +0,0 @@ -_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 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 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 The lastScanDateTime - */ - public function getLastScanDateTime() - { - if (array_key_exists("lastScanDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastScanDateTime"], "\DateTime")) { - 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\WindowsUpdateStatus")) { - 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 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 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 deleted file mode 100644 index a7ad436b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsUpdateStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The customXml - */ - public function getCustomXml() - { - if (array_key_exists("customXml", $this->_propDict)) { - if (is_a($this->_propDict["customXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customXml"]; - } else { - $this->_propDict["customXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index f4f77e04..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsVpnConnectionType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 The meteredConnectionLimit - */ - public function getMeteredConnectionLimit() - { - if (array_key_exists("meteredConnectionLimit", $this->_propDict)) { - if (is_a($this->_propDict["meteredConnectionLimit"], "\Beta\Microsoft\Graph\Model\MeteredConnectionLimitType")) { - 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 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 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 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 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 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 The proxySetting - */ - public function getProxySetting() - { - if (array_key_exists("proxySetting", $this->_propDict)) { - if (is_a($this->_propDict["proxySetting"], "\Beta\Microsoft\Graph\Model\WiFiProxySetting")) { - 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 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 The wifiSecurityType - */ - public function getWifiSecurityType() - { - if (array_key_exists("wifiSecurityType", $this->_propDict)) { - if (is_a($this->_propDict["wifiSecurityType"], "\Beta\Microsoft\Graph\Model\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 deleted file mode 100644 index 525a0779..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WindowsWifiEnterpriseEAPConfiguration.php +++ /dev/null @@ -1,839 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethod"], "\Beta\Microsoft\Graph\Model\WiFiAuthenticationMethod")) { - 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 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 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 The authenticationType - */ - public function getAuthenticationType() - { - if (array_key_exists("authenticationType", $this->_propDict)) { - if (is_a($this->_propDict["authenticationType"], "\Beta\Microsoft\Graph\Model\WifiAuthenticationType")) { - 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 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 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 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. - * - * @return EapType The eapType - */ - public function getEapType() - { - if (array_key_exists("eapType", $this->_propDict)) { - if (is_a($this->_propDict["eapType"], "\Beta\Microsoft\Graph\Model\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. - * - * @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 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 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 The innerAuthenticationProtocolForEAPTTLS - */ - public function getInnerAuthenticationProtocolForEAPTTLS() - { - if (array_key_exists("innerAuthenticationProtocolForEAPTTLS", $this->_propDict)) { - if (is_a($this->_propDict["innerAuthenticationProtocolForEAPTTLS"], "\Beta\Microsoft\Graph\Model\NonEapAuthenticationMethodForEapTtlsType")) { - 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 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 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 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 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 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 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 The networkSingleSignOn - */ - public function getNetworkSingleSignOn() - { - if (array_key_exists("networkSingleSignOn", $this->_propDict)) { - if (is_a($this->_propDict["networkSingleSignOn"], "\Beta\Microsoft\Graph\Model\NetworkSingleSignOnType")) { - 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 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 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 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 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 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 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 The identityCertificateForClientAuthentication - */ - public function getIdentityCertificateForClientAuthentication() - { - if (array_key_exists("identityCertificateForClientAuthentication", $this->_propDict)) { - if (is_a($this->_propDict["identityCertificateForClientAuthentication"], "\Beta\Microsoft\Graph\Model\WindowsCertificateProfileBase")) { - 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 The rootCertificateForClientValidation - */ - public function getRootCertificateForClientValidation() - { - if (array_key_exists("rootCertificateForClientValidation", $this->_propDict)) { - if (is_a($this->_propDict["rootCertificateForClientValidation"], "\Beta\Microsoft\Graph\Model\Windows81TrustedRootCertificate")) { - 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. - * - * @return array 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. - * - * @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/WiredNetworkInterface.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WiredNetworkInterface.php deleted file mode 100644 index c7229022..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WiredNetworkInterface.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 The detail - */ - public function getDetail() - { - if (array_key_exists("detail", $this->_propDict)) { - if (is_a($this->_propDict["detail"], "\Beta\Microsoft\Graph\Model\PositionDetail")) { - 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 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 The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - if (is_a($this->_propDict["manager"], "\Beta\Microsoft\Graph\Model\RelatedPerson")) { - 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 deleted file mode 100644 index 5aef8803..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/Workbook.php +++ /dev/null @@ -1,237 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Beta\Microsoft\Graph\Model\WorkbookApplication")) { - 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 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 The functions - */ - public function getFunctions() - { - if (array_key_exists("functions", $this->_propDict)) { - if (is_a($this->_propDict["functions"], "\Beta\Microsoft\Graph\Model\WorkbookFunctions")) { - 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 workbook scoped named items (named ranges and constants). Read-only. - * - * @return array 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 workbook 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 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 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 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 deleted file mode 100644 index ce8a266f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookApplication.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 4a729f37..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChart.php +++ /dev/null @@ -1,400 +0,0 @@ -_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"] = $val; - return $this; - } - - /** - * Gets the left - * The distance, in points, from the left side of the chart to the worksheet origin. - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the name - * Represents the name of a chart object. - * - * @return string 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 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"] = $val; - return $this; - } - - /** - * Gets the width - * Represents the width, in points, of the chart object. - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the axes - * Represents chart axes. Read-only. - * - * @return WorkbookChartAxes The axes - */ - public function getAxes() - { - if (array_key_exists("axes", $this->_propDict)) { - if (is_a($this->_propDict["axes"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxes")) { - 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 The dataLabels - */ - public function getDataLabels() - { - if (array_key_exists("dataLabels", $this->_propDict)) { - if (is_a($this->_propDict["dataLabels"], "\Beta\Microsoft\Graph\Model\WorkbookChartDataLabels")) { - 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartAreaFormat")) { - 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 The legend - */ - public function getLegend() - { - if (array_key_exists("legend", $this->_propDict)) { - if (is_a($this->_propDict["legend"], "\Beta\Microsoft\Graph\Model\WorkbookChartLegend")) { - 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 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 The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - if (is_a($this->_propDict["title"], "\Beta\Microsoft\Graph\Model\WorkbookChartTitle")) { - 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index feefcf35..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAreaFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 4ae38e72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxes.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["categoryAxis"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxis")) { - 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 The seriesAxis - */ - public function getSeriesAxis() - { - if (array_key_exists("seriesAxis", $this->_propDict)) { - if (is_a($this->_propDict["seriesAxis"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxis")) { - 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 The valueAxis - */ - public function getValueAxis() - { - if (array_key_exists("valueAxis", $this->_propDict)) { - if (is_a($this->_propDict["valueAxis"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxis")) { - 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 deleted file mode 100644 index 59073c10..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxis.php +++ /dev/null @@ -1,275 +0,0 @@ -_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 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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxisFormat")) { - 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 The majorGridlines - */ - public function getMajorGridlines() - { - if (array_key_exists("majorGridlines", $this->_propDict)) { - if (is_a($this->_propDict["majorGridlines"], "\Beta\Microsoft\Graph\Model\WorkbookChartGridlines")) { - 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 The minorGridlines - */ - public function getMinorGridlines() - { - if (array_key_exists("minorGridlines", $this->_propDict)) { - if (is_a($this->_propDict["minorGridlines"], "\Beta\Microsoft\Graph\Model\WorkbookChartGridlines")) { - 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 The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - if (is_a($this->_propDict["title"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxisTitle")) { - 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 deleted file mode 100644 index aa26b8c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 The line - */ - public function getLine() - { - if (array_key_exists("line", $this->_propDict)) { - if (is_a($this->_propDict["line"], "\Beta\Microsoft\Graph\Model\WorkbookChartLineFormat")) { - 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 deleted file mode 100644 index c2d854f9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitle.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartAxisTitleFormat")) { - 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 deleted file mode 100644 index e18fdec8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartAxisTitleFormat.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 7d229773..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabelFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index c4c37f2e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartDataLabels.php +++ /dev/null @@ -1,292 +0,0 @@ -_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 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 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 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 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 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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartDataLabelFormat")) { - 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 deleted file mode 100644 index ba3b0488..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartFill.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the underline - * Type of underline applied to the font. The possible values are: None, Single. - * - * @return string 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 deleted file mode 100644 index c09ade8d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlines.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartGridlinesFormat")) { - 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 deleted file mode 100644 index 36a96c16..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartGridlinesFormat.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["line"], "\Beta\Microsoft\Graph\Model\WorkbookChartLineFormat")) { - 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 deleted file mode 100644 index 37a55b60..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegend.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartLegendFormat")) { - 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 deleted file mode 100644 index 10e8345e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLegendFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 5ae86311..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartLineFormat.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 731653ed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPoint.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartPointFormat")) { - 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 deleted file mode 100644 index dbedd312..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartPointFormat.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 deleted file mode 100644 index 22f2fd30..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeries.php +++ /dev/null @@ -1,119 +0,0 @@ -_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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartSeriesFormat")) { - 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 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 deleted file mode 100644 index 49d47940..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartSeriesFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The line - */ - public function getLine() - { - if (array_key_exists("line", $this->_propDict)) { - if (is_a($this->_propDict["line"], "\Beta\Microsoft\Graph\Model\WorkbookChartLineFormat")) { - 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 deleted file mode 100644 index a5067c84..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitle.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookChartTitleFormat")) { - 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 deleted file mode 100644 index a9a35f68..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookChartTitleFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 4e2e5e6d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookComment.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index f843c3f3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookCommentReply.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index c9be1d81..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilter.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["criteria"], "\Beta\Microsoft\Graph\Model\WorkbookFilterCriteria")) { - 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 deleted file mode 100644 index 45361076..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterCriteria.php +++ /dev/null @@ -1,239 +0,0 @@ -_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 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 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 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 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 The icon - */ - public function getIcon() - { - if (array_key_exists("icon", $this->_propDict)) { - if (is_a($this->_propDict["icon"], "\Beta\Microsoft\Graph\Model\WorkbookIcon")) { - 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 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 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 deleted file mode 100644 index b59480bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFilterDatetime.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 51699911..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFormatProtection.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 50e7d3ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctionResult.php +++ /dev/null @@ -1,81 +0,0 @@ -_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 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 deleted file mode 100644 index 257b76be..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookFunctions.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 deleted file mode 100644 index 78229b92..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookNamedItem.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 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 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 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index fa4ca57b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Beta\Microsoft\Graph\Model\WorkbookOperationError")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Beta\Microsoft\Graph\Model\WorkbookOperationStatus")) { - 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 deleted file mode 100644 index 7b29301f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationError.php +++ /dev/null @@ -1,113 +0,0 @@ -_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 The innerError - */ - public function getInnerError() - { - if (array_key_exists("innerError", $this->_propDict)) { - if (is_a($this->_propDict["innerError"], "\Beta\Microsoft\Graph\Model\WorkbookOperationError")) { - 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 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 deleted file mode 100644 index 3d3f2eb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookOperationStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index b0e2c6d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRange.php +++ /dev/null @@ -1,619 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Beta\Microsoft\Graph\Model\WorkbookRangeFormat")) { - 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 The sort - */ - public function getSort() - { - if (array_key_exists("sort", $this->_propDict)) { - if (is_a($this->_propDict["sort"], "\Beta\Microsoft\Graph\Model\WorkbookRangeSort")) { - 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index d5d876d2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeBorder.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 2032113a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFill.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 4fe6b9fa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFont.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the underline - * Type of underline applied to the font. Possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. - * - * @return string 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 deleted file mode 100644 index edfaa813..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeFormat.php +++ /dev/null @@ -1,301 +0,0 @@ -_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"] = $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 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 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"] = $val; - return $this; - } - - /** - * Gets the verticalAlignment - * Represents the vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. - * - * @return string 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 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 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 The fill - */ - public function getFill() - { - if (array_key_exists("fill", $this->_propDict)) { - if (is_a($this->_propDict["fill"], "\Beta\Microsoft\Graph\Model\WorkbookRangeFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Beta\Microsoft\Graph\Model\WorkbookRangeFont")) { - 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 The protection - */ - public function getProtection() - { - if (array_key_exists("protection", $this->_propDict)) { - if (is_a($this->_propDict["protection"], "\Beta\Microsoft\Graph\Model\WorkbookFormatProtection")) { - 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 deleted file mode 100644 index f899c7a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeReference.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 4593250d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookRangeSort.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index aac919c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSessionInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 3e218a0d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookSortField.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 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 The icon - */ - public function getIcon() - { - if (array_key_exists("icon", $this->_propDict)) { - if (is_a($this->_propDict["icon"], "\Beta\Microsoft\Graph\Model\WorkbookIcon")) { - 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 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 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 deleted file mode 100644 index f47f539b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTable.php +++ /dev/null @@ -1,443 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 The sort - */ - public function getSort() - { - if (array_key_exists("sort", $this->_propDict)) { - if (is_a($this->_propDict["sort"], "\Beta\Microsoft\Graph\Model\WorkbookTableSort")) { - 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index 1a25a718..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableColumn.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The filter - */ - public function getFilter() - { - if (array_key_exists("filter", $this->_propDict)) { - if (is_a($this->_propDict["filter"], "\Beta\Microsoft\Graph\Model\WorkbookFilter")) { - 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 deleted file mode 100644 index acc2282f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableRow.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 556f8b47..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookTableSort.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index 55455d6b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheet.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 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 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 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 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 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 The protection - */ - public function getProtection() - { - if (array_key_exists("protection", $this->_propDict)) { - if (is_a($this->_propDict["protection"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheetProtection")) { - 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 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 deleted file mode 100644 index 267ec782..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtection.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["options"], "\Beta\Microsoft\Graph\Model\WorkbookWorksheetProtectionOptions")) { - 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 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 deleted file mode 100644 index 3126a515..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookWorksheetProtectionOptions.php +++ /dev/null @@ -1,334 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 660e5ae6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegration.php +++ /dev/null @@ -1,273 +0,0 @@ -_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 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 The eligibilityFilteringEnabledEntities - */ - public function getEligibilityFilteringEnabledEntities() - { - if (array_key_exists("eligibilityFilteringEnabledEntities", $this->_propDict)) { - if (is_a($this->_propDict["eligibilityFilteringEnabledEntities"], "\Beta\Microsoft\Graph\Model\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 The encryption - */ - public function getEncryption() - { - if (array_key_exists("encryption", $this->_propDict)) { - if (is_a($this->_propDict["encryption"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationEncryption")) { - 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 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 will replace supports in v1.0. We recommend that you use this property instead of supports. The supports property will still be supported in beta for the time being. Possible values are none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences. If selecting more than one value, all values must start with the first letter in uppercase. - * - * @return WorkforceIntegrationSupportedEntities The supportedEntities - */ - public function getSupportedEntities() - { - if (array_key_exists("supportedEntities", $this->_propDict)) { - if (is_a($this->_propDict["supportedEntities"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities")) { - return $this->_propDict["supportedEntities"]; - } else { - $this->_propDict["supportedEntities"] = new WorkforceIntegrationSupportedEntities($this->_propDict["supportedEntities"]); - return $this->_propDict["supportedEntities"]; - } - } - return null; - } - - /** - * Sets the supportedEntities - * This property will replace supports in v1.0. We recommend that you use this property instead of supports. The supports property will still be supported in beta for the time being. Possible values are none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences. 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. Possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences - * - * @return WorkforceIntegrationSupportedEntities The supports - */ - public function getSupports() - { - if (array_key_exists("supports", $this->_propDict)) { - if (is_a($this->_propDict["supports"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities")) { - 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. Possible values are: none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences - * - * @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 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 deleted file mode 100644 index 0a747494..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryption.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["protocol"], "\Beta\Microsoft\Graph\Model\WorkforceIntegrationEncryptionProtocol")) { - 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 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 deleted file mode 100644 index 5c4f7d00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkforceIntegrationEncryptionProtocol.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["daysOfWeek"], "\Beta\Microsoft\Graph\Model\DayOfWeek")) { - 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 The endTime - */ - public function getEndTime() - { - if (array_key_exists("endTime", $this->_propDict)) { - if (is_a($this->_propDict["endTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\Beta\Microsoft\Graph\Model\TimeOfDay")) { - 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 The timeZone - */ - public function getTimeZone() - { - if (array_key_exists("timeZone", $this->_propDict)) { - if (is_a($this->_propDict["timeZone"], "\Beta\Microsoft\Graph\Model\TimeZoneBase")) { - 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/YammerActivitySummary.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerActivitySummary.php deleted file mode 100644 index 3f49f031..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerActivitySummary.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["liked"]; - } else { - return null; - } - } - - /** - * Sets the liked - * - * @param int $val The liked - * - * @return YammerActivitySummary - */ - public function setLiked($val) - { - $this->_propDict["liked"] = intval($val); - return $this; - } - - /** - * Gets the posted - * - * @return int The posted - */ - public function getPosted() - { - if (array_key_exists("posted", $this->_propDict)) { - return $this->_propDict["posted"]; - } else { - return null; - } - } - - /** - * Sets the posted - * - * @param int $val The posted - * - * @return YammerActivitySummary - */ - public function setPosted($val) - { - $this->_propDict["posted"] = intval($val); - return $this; - } - - /** - * Gets the read - * - * @return int The read - */ - public function getRead() - { - if (array_key_exists("read", $this->_propDict)) { - return $this->_propDict["read"]; - } else { - return null; - } - } - - /** - * Sets the read - * - * @param int $val The read - * - * @return YammerActivitySummary - */ - public function setRead($val) - { - $this->_propDict["read"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return YammerActivitySummary - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerActivitySummary - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerActivitySummary - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerActivityUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerActivityUserDetail.php deleted file mode 100644 index 2161b424..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerActivityUserDetail.php +++ /dev/null @@ -1,336 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedProducts"]; - } else { - return null; - } - } - - /** - * Sets the assignedProducts - * - * @param string $val The assignedProducts - * - * @return YammerActivityUserDetail - */ - public function setAssignedProducts($val) - { - $this->_propDict["assignedProducts"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 YammerActivityUserDetail - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return YammerActivityUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the likedCount - * - * @return int The likedCount - */ - public function getLikedCount() - { - if (array_key_exists("likedCount", $this->_propDict)) { - return $this->_propDict["likedCount"]; - } else { - return null; - } - } - - /** - * Sets the likedCount - * - * @param int $val The likedCount - * - * @return YammerActivityUserDetail - */ - public function setLikedCount($val) - { - $this->_propDict["likedCount"] = intval($val); - return $this; - } - - /** - * Gets the postedCount - * - * @return int The postedCount - */ - public function getPostedCount() - { - if (array_key_exists("postedCount", $this->_propDict)) { - return $this->_propDict["postedCount"]; - } else { - return null; - } - } - - /** - * Sets the postedCount - * - * @param int $val The postedCount - * - * @return YammerActivityUserDetail - */ - public function setPostedCount($val) - { - $this->_propDict["postedCount"] = intval($val); - return $this; - } - - /** - * Gets the readCount - * - * @return int The readCount - */ - public function getReadCount() - { - if (array_key_exists("readCount", $this->_propDict)) { - return $this->_propDict["readCount"]; - } else { - return null; - } - } - - /** - * Sets the readCount - * - * @param int $val The readCount - * - * @return YammerActivityUserDetail - */ - public function setReadCount($val) - { - $this->_propDict["readCount"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerActivityUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerActivityUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the stateChangeDate - * - * @return \DateTime The stateChangeDate - */ - public function getStateChangeDate() - { - if (array_key_exists("stateChangeDate", $this->_propDict)) { - if (is_a($this->_propDict["stateChangeDate"], "\DateTime")) { - return $this->_propDict["stateChangeDate"]; - } else { - $this->_propDict["stateChangeDate"] = new \DateTime($this->_propDict["stateChangeDate"]); - return $this->_propDict["stateChangeDate"]; - } - } - return null; - } - - /** - * Sets the stateChangeDate - * - * @param \DateTime $val The stateChangeDate - * - * @return YammerActivityUserDetail - */ - public function setStateChangeDate($val) - { - $this->_propDict["stateChangeDate"] = $val; - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 YammerActivityUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - - /** - * Gets the userState - * - * @return string The userState - */ - public function getUserState() - { - if (array_key_exists("userState", $this->_propDict)) { - return $this->_propDict["userState"]; - } else { - return null; - } - } - - /** - * Sets the userState - * - * @param string $val The userState - * - * @return YammerActivityUserDetail - */ - public function setUserState($val) - { - $this->_propDict["userState"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageDistributionUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageDistributionUserCounts.php deleted file mode 100644 index c383c9e6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageDistributionUserCounts.php +++ /dev/null @@ -1,247 +0,0 @@ -_propDict)) { - return $this->_propDict["androidPhone"]; - } else { - return null; - } - } - - /** - * Sets the androidPhone - * - * @param int $val The androidPhone - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setAndroidPhone($val) - { - $this->_propDict["androidPhone"] = intval($val); - return $this; - } - - /** - * Gets the iPad - * - * @return int The iPad - */ - public function getIPad() - { - if (array_key_exists("iPad", $this->_propDict)) { - return $this->_propDict["iPad"]; - } else { - return null; - } - } - - /** - * Sets the iPad - * - * @param int $val The iPad - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setIPad($val) - { - $this->_propDict["iPad"] = intval($val); - return $this; - } - - /** - * Gets the iPhone - * - * @return int The iPhone - */ - public function getIPhone() - { - if (array_key_exists("iPhone", $this->_propDict)) { - return $this->_propDict["iPhone"]; - } else { - return null; - } - } - - /** - * Sets the iPhone - * - * @param int $val The iPhone - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setIPhone($val) - { - $this->_propDict["iPhone"] = intval($val); - return $this; - } - - /** - * Gets the other - * - * @return int The other - */ - public function getOther() - { - if (array_key_exists("other", $this->_propDict)) { - return $this->_propDict["other"]; - } else { - return null; - } - } - - /** - * Sets the other - * - * @param int $val The other - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setOther($val) - { - $this->_propDict["other"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - - /** - * Gets the windowsPhone - * - * @return int The windowsPhone - */ - public function getWindowsPhone() - { - if (array_key_exists("windowsPhone", $this->_propDict)) { - return $this->_propDict["windowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the windowsPhone - * - * @param int $val The windowsPhone - * - * @return YammerDeviceUsageDistributionUserCounts - */ - public function setWindowsPhone($val) - { - $this->_propDict["windowsPhone"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageUserCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageUserCounts.php deleted file mode 100644 index 9f42a0bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageUserCounts.php +++ /dev/null @@ -1,278 +0,0 @@ -_propDict)) { - return $this->_propDict["androidPhone"]; - } else { - return null; - } - } - - /** - * Sets the androidPhone - * - * @param int $val The androidPhone - * - * @return YammerDeviceUsageUserCounts - */ - public function setAndroidPhone($val) - { - $this->_propDict["androidPhone"] = intval($val); - return $this; - } - - /** - * Gets the iPad - * - * @return int The iPad - */ - public function getIPad() - { - if (array_key_exists("iPad", $this->_propDict)) { - return $this->_propDict["iPad"]; - } else { - return null; - } - } - - /** - * Sets the iPad - * - * @param int $val The iPad - * - * @return YammerDeviceUsageUserCounts - */ - public function setIPad($val) - { - $this->_propDict["iPad"] = intval($val); - return $this; - } - - /** - * Gets the iPhone - * - * @return int The iPhone - */ - public function getIPhone() - { - if (array_key_exists("iPhone", $this->_propDict)) { - return $this->_propDict["iPhone"]; - } else { - return null; - } - } - - /** - * Sets the iPhone - * - * @param int $val The iPhone - * - * @return YammerDeviceUsageUserCounts - */ - public function setIPhone($val) - { - $this->_propDict["iPhone"] = intval($val); - return $this; - } - - /** - * Gets the other - * - * @return int The other - */ - public function getOther() - { - if (array_key_exists("other", $this->_propDict)) { - return $this->_propDict["other"]; - } else { - return null; - } - } - - /** - * Sets the other - * - * @param int $val The other - * - * @return YammerDeviceUsageUserCounts - */ - public function setOther($val) - { - $this->_propDict["other"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return YammerDeviceUsageUserCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerDeviceUsageUserCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerDeviceUsageUserCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the web - * - * @return int The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - return $this->_propDict["web"]; - } else { - return null; - } - } - - /** - * Sets the web - * - * @param int $val The web - * - * @return YammerDeviceUsageUserCounts - */ - public function setWeb($val) - { - $this->_propDict["web"] = intval($val); - return $this; - } - - /** - * Gets the windowsPhone - * - * @return int The windowsPhone - */ - public function getWindowsPhone() - { - if (array_key_exists("windowsPhone", $this->_propDict)) { - return $this->_propDict["windowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the windowsPhone - * - * @param int $val The windowsPhone - * - * @return YammerDeviceUsageUserCounts - */ - public function setWindowsPhone($val) - { - $this->_propDict["windowsPhone"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageUserDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageUserDetail.php deleted file mode 100644 index 7965ba14..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerDeviceUsageUserDetail.php +++ /dev/null @@ -1,390 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * - * @param string $val The displayName - * - * @return YammerDeviceUsageUserDetail - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return YammerDeviceUsageUserDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerDeviceUsageUserDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerDeviceUsageUserDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the stateChangeDate - * - * @return \DateTime The stateChangeDate - */ - public function getStateChangeDate() - { - if (array_key_exists("stateChangeDate", $this->_propDict)) { - if (is_a($this->_propDict["stateChangeDate"], "\DateTime")) { - return $this->_propDict["stateChangeDate"]; - } else { - $this->_propDict["stateChangeDate"] = new \DateTime($this->_propDict["stateChangeDate"]); - return $this->_propDict["stateChangeDate"]; - } - } - return null; - } - - /** - * Sets the stateChangeDate - * - * @param \DateTime $val The stateChangeDate - * - * @return YammerDeviceUsageUserDetail - */ - public function setStateChangeDate($val) - { - $this->_propDict["stateChangeDate"] = $val; - return $this; - } - - /** - * Gets the usedAndroidPhone - * - * @return bool The usedAndroidPhone - */ - public function getUsedAndroidPhone() - { - if (array_key_exists("usedAndroidPhone", $this->_propDict)) { - return $this->_propDict["usedAndroidPhone"]; - } else { - return null; - } - } - - /** - * Sets the usedAndroidPhone - * - * @param bool $val The usedAndroidPhone - * - * @return YammerDeviceUsageUserDetail - */ - public function setUsedAndroidPhone($val) - { - $this->_propDict["usedAndroidPhone"] = boolval($val); - return $this; - } - - /** - * Gets the usediPad - * - * @return bool The usediPad - */ - public function getUsediPad() - { - if (array_key_exists("usediPad", $this->_propDict)) { - return $this->_propDict["usediPad"]; - } else { - return null; - } - } - - /** - * Sets the usediPad - * - * @param bool $val The usediPad - * - * @return YammerDeviceUsageUserDetail - */ - public function setUsediPad($val) - { - $this->_propDict["usediPad"] = boolval($val); - return $this; - } - - /** - * Gets the usediPhone - * - * @return bool The usediPhone - */ - public function getUsediPhone() - { - if (array_key_exists("usediPhone", $this->_propDict)) { - return $this->_propDict["usediPhone"]; - } else { - return null; - } - } - - /** - * Sets the usediPhone - * - * @param bool $val The usediPhone - * - * @return YammerDeviceUsageUserDetail - */ - public function setUsediPhone($val) - { - $this->_propDict["usediPhone"] = boolval($val); - return $this; - } - - /** - * Gets the usedOthers - * - * @return bool The usedOthers - */ - public function getUsedOthers() - { - if (array_key_exists("usedOthers", $this->_propDict)) { - return $this->_propDict["usedOthers"]; - } else { - return null; - } - } - - /** - * Sets the usedOthers - * - * @param bool $val The usedOthers - * - * @return YammerDeviceUsageUserDetail - */ - public function setUsedOthers($val) - { - $this->_propDict["usedOthers"] = boolval($val); - return $this; - } - - /** - * Gets the usedWeb - * - * @return bool The usedWeb - */ - public function getUsedWeb() - { - if (array_key_exists("usedWeb", $this->_propDict)) { - return $this->_propDict["usedWeb"]; - } else { - return null; - } - } - - /** - * Sets the usedWeb - * - * @param bool $val The usedWeb - * - * @return YammerDeviceUsageUserDetail - */ - public function setUsedWeb($val) - { - $this->_propDict["usedWeb"] = boolval($val); - return $this; - } - - /** - * Gets the usedWindowsPhone - * - * @return bool The usedWindowsPhone - */ - public function getUsedWindowsPhone() - { - if (array_key_exists("usedWindowsPhone", $this->_propDict)) { - return $this->_propDict["usedWindowsPhone"]; - } else { - return null; - } - } - - /** - * Sets the usedWindowsPhone - * - * @param bool $val The usedWindowsPhone - * - * @return YammerDeviceUsageUserDetail - */ - public function setUsedWindowsPhone($val) - { - $this->_propDict["usedWindowsPhone"] = boolval($val); - return $this; - } - - /** - * Gets the userPrincipalName - * - * @return string 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 YammerDeviceUsageUserDetail - */ - public function setUserPrincipalName($val) - { - $this->_propDict["userPrincipalName"] = $val; - return $this; - } - - /** - * Gets the userState - * - * @return string The userState - */ - public function getUserState() - { - if (array_key_exists("userState", $this->_propDict)) { - return $this->_propDict["userState"]; - } else { - return null; - } - } - - /** - * Sets the userState - * - * @param string $val The userState - * - * @return YammerDeviceUsageUserDetail - */ - public function setUserState($val) - { - $this->_propDict["userState"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityCounts.php deleted file mode 100644 index e6959ef4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityCounts.php +++ /dev/null @@ -1,197 +0,0 @@ -_propDict)) { - return $this->_propDict["liked"]; - } else { - return null; - } - } - - /** - * Sets the liked - * - * @param int $val The liked - * - * @return YammerGroupsActivityCounts - */ - public function setLiked($val) - { - $this->_propDict["liked"] = intval($val); - return $this; - } - - /** - * Gets the posted - * - * @return int The posted - */ - public function getPosted() - { - if (array_key_exists("posted", $this->_propDict)) { - return $this->_propDict["posted"]; - } else { - return null; - } - } - - /** - * Sets the posted - * - * @param int $val The posted - * - * @return YammerGroupsActivityCounts - */ - public function setPosted($val) - { - $this->_propDict["posted"] = intval($val); - return $this; - } - - /** - * Gets the read - * - * @return int The read - */ - public function getRead() - { - if (array_key_exists("read", $this->_propDict)) { - return $this->_propDict["read"]; - } else { - return null; - } - } - - /** - * Sets the read - * - * @param int $val The read - * - * @return YammerGroupsActivityCounts - */ - public function setRead($val) - { - $this->_propDict["read"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return YammerGroupsActivityCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerGroupsActivityCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerGroupsActivityCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityDetail.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityDetail.php deleted file mode 100644 index 819ccf18..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityDetail.php +++ /dev/null @@ -1,386 +0,0 @@ -_propDict)) { - return $this->_propDict["groupDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the groupDisplayName - * - * @param string $val The groupDisplayName - * - * @return YammerGroupsActivityDetail - */ - public function setGroupDisplayName($val) - { - $this->_propDict["groupDisplayName"] = $val; - return $this; - } - - /** - * Gets the groupType - * - * @return string The groupType - */ - public function getGroupType() - { - if (array_key_exists("groupType", $this->_propDict)) { - return $this->_propDict["groupType"]; - } else { - return null; - } - } - - /** - * Sets the groupType - * - * @param string $val The groupType - * - * @return YammerGroupsActivityDetail - */ - public function setGroupType($val) - { - $this->_propDict["groupType"] = $val; - return $this; - } - - /** - * Gets the isDeleted - * - * @return bool 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 YammerGroupsActivityDetail - */ - public function setIsDeleted($val) - { - $this->_propDict["isDeleted"] = boolval($val); - return $this; - } - - /** - * Gets the lastActivityDate - * - * @return \DateTime The lastActivityDate - */ - public function getLastActivityDate() - { - if (array_key_exists("lastActivityDate", $this->_propDict)) { - if (is_a($this->_propDict["lastActivityDate"], "\DateTime")) { - return $this->_propDict["lastActivityDate"]; - } else { - $this->_propDict["lastActivityDate"] = new \DateTime($this->_propDict["lastActivityDate"]); - return $this->_propDict["lastActivityDate"]; - } - } - return null; - } - - /** - * Sets the lastActivityDate - * - * @param \DateTime $val The lastActivityDate - * - * @return YammerGroupsActivityDetail - */ - public function setLastActivityDate($val) - { - $this->_propDict["lastActivityDate"] = $val; - return $this; - } - - /** - * Gets the likedCount - * - * @return int The likedCount - */ - public function getLikedCount() - { - if (array_key_exists("likedCount", $this->_propDict)) { - return $this->_propDict["likedCount"]; - } else { - return null; - } - } - - /** - * Sets the likedCount - * - * @param int $val The likedCount - * - * @return YammerGroupsActivityDetail - */ - public function setLikedCount($val) - { - $this->_propDict["likedCount"] = intval($val); - return $this; - } - - /** - * Gets the memberCount - * - * @return int The memberCount - */ - public function getMemberCount() - { - if (array_key_exists("memberCount", $this->_propDict)) { - return $this->_propDict["memberCount"]; - } else { - return null; - } - } - - /** - * Sets the memberCount - * - * @param int $val The memberCount - * - * @return YammerGroupsActivityDetail - */ - public function setMemberCount($val) - { - $this->_propDict["memberCount"] = intval($val); - return $this; - } - - /** - * Gets the networkDisplayName - * - * @return string The networkDisplayName - */ - public function getNetworkDisplayName() - { - if (array_key_exists("networkDisplayName", $this->_propDict)) { - return $this->_propDict["networkDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the networkDisplayName - * - * @param string $val The networkDisplayName - * - * @return YammerGroupsActivityDetail - */ - public function setNetworkDisplayName($val) - { - $this->_propDict["networkDisplayName"] = $val; - return $this; - } - - /** - * Gets the office365Connected - * - * @return bool The office365Connected - */ - public function getOffice365Connected() - { - if (array_key_exists("office365Connected", $this->_propDict)) { - return $this->_propDict["office365Connected"]; - } else { - return null; - } - } - - /** - * Sets the office365Connected - * - * @param bool $val The office365Connected - * - * @return YammerGroupsActivityDetail - */ - public function setOffice365Connected($val) - { - $this->_propDict["office365Connected"] = boolval($val); - return $this; - } - - /** - * Gets the ownerPrincipalName - * - * @return string The ownerPrincipalName - */ - public function getOwnerPrincipalName() - { - if (array_key_exists("ownerPrincipalName", $this->_propDict)) { - return $this->_propDict["ownerPrincipalName"]; - } else { - return null; - } - } - - /** - * Sets the ownerPrincipalName - * - * @param string $val The ownerPrincipalName - * - * @return YammerGroupsActivityDetail - */ - public function setOwnerPrincipalName($val) - { - $this->_propDict["ownerPrincipalName"] = $val; - return $this; - } - - /** - * Gets the postedCount - * - * @return int The postedCount - */ - public function getPostedCount() - { - if (array_key_exists("postedCount", $this->_propDict)) { - return $this->_propDict["postedCount"]; - } else { - return null; - } - } - - /** - * Sets the postedCount - * - * @param int $val The postedCount - * - * @return YammerGroupsActivityDetail - */ - public function setPostedCount($val) - { - $this->_propDict["postedCount"] = intval($val); - return $this; - } - - /** - * Gets the readCount - * - * @return int The readCount - */ - public function getReadCount() - { - if (array_key_exists("readCount", $this->_propDict)) { - return $this->_propDict["readCount"]; - } else { - return null; - } - } - - /** - * Sets the readCount - * - * @param int $val The readCount - * - * @return YammerGroupsActivityDetail - */ - public function setReadCount($val) - { - $this->_propDict["readCount"] = intval($val); - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerGroupsActivityDetail - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerGroupsActivityDetail - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityGroupCounts.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityGroupCounts.php deleted file mode 100644 index df387fc2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/YammerGroupsActivityGroupCounts.php +++ /dev/null @@ -1,170 +0,0 @@ -_propDict)) { - return $this->_propDict["active"]; - } else { - return null; - } - } - - /** - * Sets the active - * - * @param int $val The active - * - * @return YammerGroupsActivityGroupCounts - */ - public function setActive($val) - { - $this->_propDict["active"] = intval($val); - return $this; - } - - /** - * Gets the reportDate - * - * @return \DateTime The reportDate - */ - public function getReportDate() - { - if (array_key_exists("reportDate", $this->_propDict)) { - if (is_a($this->_propDict["reportDate"], "\DateTime")) { - return $this->_propDict["reportDate"]; - } else { - $this->_propDict["reportDate"] = new \DateTime($this->_propDict["reportDate"]); - return $this->_propDict["reportDate"]; - } - } - return null; - } - - /** - * Sets the reportDate - * - * @param \DateTime $val The reportDate - * - * @return YammerGroupsActivityGroupCounts - */ - public function setReportDate($val) - { - $this->_propDict["reportDate"] = $val; - return $this; - } - - /** - * Gets the reportPeriod - * - * @return string The reportPeriod - */ - public function getReportPeriod() - { - if (array_key_exists("reportPeriod", $this->_propDict)) { - return $this->_propDict["reportPeriod"]; - } else { - return null; - } - } - - /** - * Sets the reportPeriod - * - * @param string $val The reportPeriod - * - * @return YammerGroupsActivityGroupCounts - */ - public function setReportPeriod($val) - { - $this->_propDict["reportPeriod"] = $val; - return $this; - } - - /** - * Gets the reportRefreshDate - * - * @return \DateTime The reportRefreshDate - */ - public function getReportRefreshDate() - { - if (array_key_exists("reportRefreshDate", $this->_propDict)) { - if (is_a($this->_propDict["reportRefreshDate"], "\DateTime")) { - return $this->_propDict["reportRefreshDate"]; - } else { - $this->_propDict["reportRefreshDate"] = new \DateTime($this->_propDict["reportRefreshDate"]); - return $this->_propDict["reportRefreshDate"]; - } - } - return null; - } - - /** - * Sets the reportRefreshDate - * - * @param \DateTime $val The reportRefreshDate - * - * @return YammerGroupsActivityGroupCounts - */ - public function setReportRefreshDate($val) - { - $this->_propDict["reportRefreshDate"] = $val; - return $this; - } - - /** - * Gets the total - * - * @return int The total - */ - public function getTotal() - { - if (array_key_exists("total", $this->_propDict)) { - return $this->_propDict["total"]; - } else { - return null; - } - } - - /** - * Sets the total - * - * @param int $val The total - * - * @return YammerGroupsActivityGroupCounts - */ - public function setTotal($val) - { - $this->_propDict["total"] = intval($val); - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Group.php b/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Group.php deleted file mode 100644 index c274152e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Group.php +++ /dev/null @@ -1,210 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 giving details on the term usage. - * - * @return string 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 Group - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * Name of group. - * - * @return string The displayName - */ - public function getDisplayName() - { - if (array_key_exists("displayName", $this->_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * Name of 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 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 type of group. Possible values are 'global', 'system' and 'siteCollection'. - * - * @return TermGroupScope The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Beta\Microsoft\Graph\TermStore\Model\TermGroupScope")) { - return $this->_propDict["scope"]; - } else { - $this->_propDict["scope"] = new TermGroupScope($this->_propDict["scope"]); - return $this->_propDict["scope"]; - } - } - return null; - } - - /** - * Sets the scope - * Returns type of 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 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 deleted file mode 100644 index 7916e283..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedDescription.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index ded154bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedLabel.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 anguage tag for the label. - * - * @return string The languageTag - */ - public function getLanguageTag() - { - if (array_key_exists("languageTag", $this->_propDict)) { - return $this->_propDict["languageTag"]; - } else { - return null; - } - } - - /** - * Sets the languageTag - * The anguage 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 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 deleted file mode 100644 index 4d21d9b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/LocalizedName.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 46b1fa36..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Relation.php +++ /dev/null @@ -1,159 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["relationship"], "\Beta\Microsoft\Graph\TermStore\Model\RelationType")) { - 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 The fromTerm - */ - public function getFromTerm() - { - if (array_key_exists("fromTerm", $this->_propDict)) { - if (is_a($this->_propDict["fromTerm"], "\Beta\Microsoft\Graph\TermStore\Model\Term")) { - 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 The set - */ - public function getSet() - { - if (array_key_exists("set", $this->_propDict)) { - if (is_a($this->_propDict["set"], "\Beta\Microsoft\Graph\TermStore\Model\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 The toTerm - */ - public function getToTerm() - { - if (array_key_exists("toTerm", $this->_propDict)) { - if (is_a($this->_propDict["toTerm"], "\Beta\Microsoft\Graph\TermStore\Model\Term")) { - 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 deleted file mode 100644 index f40d2b51..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/RelationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The parentGroup - */ - public function getParentGroup() - { - if (array_key_exists("parentGroup", $this->_propDict)) { - if (is_a($this->_propDict["parentGroup"], "\Beta\Microsoft\Graph\TermStore\Model\Group")) { - 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 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 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 deleted file mode 100644 index 36593810..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Store.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index ebcc0938..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/Term.php +++ /dev/null @@ -1,276 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 The set - */ - public function getSet() - { - if (array_key_exists("set", $this->_propDict)) { - if (is_a($this->_propDict["set"], "\Beta\Microsoft\Graph\TermStore\Model\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 deleted file mode 100644 index d8fd2194..00000000 --- a/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/TermStore/Model/TermGroupScope.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\CallRecords\Model\CallType")) { - 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 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 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 deleted file mode 100644 index 8419092a..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/CallType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["platform"], "\Microsoft\Graph\CallRecords\Model\ClientPlatform")) { - 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. - * - * @return ProductFamily The productFamily - */ - public function getProductFamily() - { - if (array_key_exists("productFamily", $this->_propDict)) { - if (is_a($this->_propDict["productFamily"], "\Microsoft\Graph\CallRecords\Model\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. - * - * @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 deleted file mode 100644 index d056eed4..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DeviceInfo.php +++ /dev/null @@ -1,674 +0,0 @@ -_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 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 \Microsoft\Graph\Model\Single The captureNotFunctioningEventRatio - */ - public function getCaptureNotFunctioningEventRatio() - { - if (array_key_exists("captureNotFunctioningEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["captureNotFunctioningEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["captureNotFunctioningEventRatio"]; - } else { - $this->_propDict["captureNotFunctioningEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["captureNotFunctioningEventRatio"]); - return $this->_propDict["captureNotFunctioningEventRatio"]; - } - } - return null; - } - - /** - * Sets the captureNotFunctioningEventRatio - * Fraction of the call that the media endpoint detected the capture device was not working properly. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the captureNotFunctioningEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The cpuInsufficentEventRatio - */ - public function getCpuInsufficentEventRatio() - { - if (array_key_exists("cpuInsufficentEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["cpuInsufficentEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["cpuInsufficentEventRatio"]; - } else { - $this->_propDict["cpuInsufficentEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["cpuInsufficentEventRatio"]); - return $this->_propDict["cpuInsufficentEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the cpuInsufficentEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The deviceClippingEventRatio - */ - public function getDeviceClippingEventRatio() - { - if (array_key_exists("deviceClippingEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["deviceClippingEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["deviceClippingEventRatio"]; - } else { - $this->_propDict["deviceClippingEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["deviceClippingEventRatio"]); - return $this->_propDict["deviceClippingEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the deviceClippingEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The deviceGlitchEventRatio - */ - public function getDeviceGlitchEventRatio() - { - if (array_key_exists("deviceGlitchEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["deviceGlitchEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["deviceGlitchEventRatio"]; - } else { - $this->_propDict["deviceGlitchEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["deviceGlitchEventRatio"]); - return $this->_propDict["deviceGlitchEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the deviceGlitchEventRatio - * - * @return DeviceInfo The 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 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 \Microsoft\Graph\Model\Single The initialSignalLevelRootMeanSquare - */ - public function getInitialSignalLevelRootMeanSquare() - { - if (array_key_exists("initialSignalLevelRootMeanSquare", $this->_propDict)) { - if (is_a($this->_propDict["initialSignalLevelRootMeanSquare"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["initialSignalLevelRootMeanSquare"]; - } else { - $this->_propDict["initialSignalLevelRootMeanSquare"] = new \Microsoft\Graph\Model\Single($this->_propDict["initialSignalLevelRootMeanSquare"]); - return $this->_propDict["initialSignalLevelRootMeanSquare"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the initialSignalLevelRootMeanSquare - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The lowSpeechLevelEventRatio - */ - public function getLowSpeechLevelEventRatio() - { - if (array_key_exists("lowSpeechLevelEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowSpeechLevelEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowSpeechLevelEventRatio"]; - } else { - $this->_propDict["lowSpeechLevelEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["lowSpeechLevelEventRatio"]); - return $this->_propDict["lowSpeechLevelEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the lowSpeechLevelEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The lowSpeechToNoiseEventRatio - */ - public function getLowSpeechToNoiseEventRatio() - { - if (array_key_exists("lowSpeechToNoiseEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowSpeechToNoiseEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowSpeechToNoiseEventRatio"]; - } else { - $this->_propDict["lowSpeechToNoiseEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["lowSpeechToNoiseEventRatio"]); - return $this->_propDict["lowSpeechToNoiseEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the lowSpeechToNoiseEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The micGlitchRate - */ - public function getMicGlitchRate() - { - if (array_key_exists("micGlitchRate", $this->_propDict)) { - if (is_a($this->_propDict["micGlitchRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["micGlitchRate"]; - } else { - $this->_propDict["micGlitchRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["micGlitchRate"]); - return $this->_propDict["micGlitchRate"]; - } - } - return null; - } - - /** - * Sets the micGlitchRate - * Glitches per 5 minute interval for the media endpoint's microphone. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the micGlitchRate - * - * @return DeviceInfo The 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 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 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 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 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 \Microsoft\Graph\Model\Single The renderMuteEventRatio - */ - public function getRenderMuteEventRatio() - { - if (array_key_exists("renderMuteEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["renderMuteEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["renderMuteEventRatio"]; - } else { - $this->_propDict["renderMuteEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["renderMuteEventRatio"]); - return $this->_propDict["renderMuteEventRatio"]; - } - } - return null; - } - - /** - * Sets the renderMuteEventRatio - * Fraction of the call that media endpoint detected device render is muted. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the renderMuteEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The renderNotFunctioningEventRatio - */ - public function getRenderNotFunctioningEventRatio() - { - if (array_key_exists("renderNotFunctioningEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["renderNotFunctioningEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["renderNotFunctioningEventRatio"]; - } else { - $this->_propDict["renderNotFunctioningEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["renderNotFunctioningEventRatio"]); - return $this->_propDict["renderNotFunctioningEventRatio"]; - } - } - return null; - } - - /** - * Sets the renderNotFunctioningEventRatio - * Fraction of the call that the media endpoint detected the render device was not working properly. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the renderNotFunctioningEventRatio - * - * @return DeviceInfo The 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 \Microsoft\Graph\Model\Single The renderZeroVolumeEventRatio - */ - public function getRenderZeroVolumeEventRatio() - { - if (array_key_exists("renderZeroVolumeEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["renderZeroVolumeEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["renderZeroVolumeEventRatio"]; - } else { - $this->_propDict["renderZeroVolumeEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["renderZeroVolumeEventRatio"]); - return $this->_propDict["renderZeroVolumeEventRatio"]; - } - } - return null; - } - - /** - * Sets the renderZeroVolumeEventRatio - * Fraction of the call that media endpoint detected device render volume is set to 0. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the renderZeroVolumeEventRatio - * - * @return DeviceInfo The 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 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 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 \Microsoft\Graph\Model\Single The speakerGlitchRate - */ - public function getSpeakerGlitchRate() - { - if (array_key_exists("speakerGlitchRate", $this->_propDict)) { - if (is_a($this->_propDict["speakerGlitchRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["speakerGlitchRate"]; - } else { - $this->_propDict["speakerGlitchRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["speakerGlitchRate"]); - return $this->_propDict["speakerGlitchRate"]; - } - } - return null; - } - - /** - * Sets the speakerGlitchRate - * Glitches per 5 minute internal for the media endpoint's loudspeaker. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the speakerGlitchRate - * - * @return DeviceInfo The DeviceInfo - */ - public function setSpeakerGlitchRate($val) - { - $this->_propDict["speakerGlitchRate"] = $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 deleted file mode 100644 index 31dd72d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Endpoint.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["userAgent"], "\Microsoft\Graph\CallRecords\Model\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 deleted file mode 100644 index 3e98c345..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureInfo.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The stage - */ - public function getStage() - { - if (array_key_exists("stage", $this->_propDict)) { - if (is_a($this->_propDict["stage"], "\Microsoft\Graph\CallRecords\Model\FailureStage")) { - 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 deleted file mode 100644 index 693ad164..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/FailureStage.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["calleeDevice"], "\Microsoft\Graph\CallRecords\Model\DeviceInfo")) { - 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 The calleeNetwork - */ - public function getCalleeNetwork() - { - if (array_key_exists("calleeNetwork", $this->_propDict)) { - if (is_a($this->_propDict["calleeNetwork"], "\Microsoft\Graph\CallRecords\Model\NetworkInfo")) { - 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 The callerDevice - */ - public function getCallerDevice() - { - if (array_key_exists("callerDevice", $this->_propDict)) { - if (is_a($this->_propDict["callerDevice"], "\Microsoft\Graph\CallRecords\Model\DeviceInfo")) { - 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 The callerNetwork - */ - public function getCallerNetwork() - { - if (array_key_exists("callerNetwork", $this->_propDict)) { - if (is_a($this->_propDict["callerNetwork"], "\Microsoft\Graph\CallRecords\Model\NetworkInfo")) { - 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 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 The streams - */ - public function getStreams() - { - if (array_key_exists("streams", $this->_propDict)) { - if (is_a($this->_propDict["streams"], "\Microsoft\Graph\CallRecords\Model\MediaStream")) { - 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 deleted file mode 100644 index 4e814f79..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStream.php +++ /dev/null @@ -1,831 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["averageAudioDegradation"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageAudioDegradation"]; - } else { - $this->_propDict["averageAudioDegradation"] = new \Microsoft\Graph\Model\Single($this->_propDict["averageAudioDegradation"]); - return $this->_propDict["averageAudioDegradation"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the averageAudioDegradation - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Duration The averageAudioNetworkJitter - */ - public function getAverageAudioNetworkJitter() - { - if (array_key_exists("averageAudioNetworkJitter", $this->_propDict)) { - if (is_a($this->_propDict["averageAudioNetworkJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageAudioNetworkJitter"]; - } else { - $this->_propDict["averageAudioNetworkJitter"] = new \Microsoft\Graph\Model\Duration($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 \Microsoft\Graph\Model\Duration $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 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 \Microsoft\Graph\Model\Duration The averageJitter - */ - public function getAverageJitter() - { - if (array_key_exists("averageJitter", $this->_propDict)) { - if (is_a($this->_propDict["averageJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageJitter"]; - } else { - $this->_propDict["averageJitter"] = new \Microsoft\Graph\Model\Duration($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 \Microsoft\Graph\Model\Duration $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 \Microsoft\Graph\Model\Single The averagePacketLossRate - */ - public function getAveragePacketLossRate() - { - if (array_key_exists("averagePacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["averagePacketLossRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averagePacketLossRate"]; - } else { - $this->_propDict["averagePacketLossRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["averagePacketLossRate"]); - return $this->_propDict["averagePacketLossRate"]; - } - } - return null; - } - - /** - * Sets the averagePacketLossRate - * Average packet loss rate for stream. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the averagePacketLossRate - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Single The averageRatioOfConcealedSamples - */ - public function getAverageRatioOfConcealedSamples() - { - if (array_key_exists("averageRatioOfConcealedSamples", $this->_propDict)) { - if (is_a($this->_propDict["averageRatioOfConcealedSamples"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageRatioOfConcealedSamples"]; - } else { - $this->_propDict["averageRatioOfConcealedSamples"] = new \Microsoft\Graph\Model\Single($this->_propDict["averageRatioOfConcealedSamples"]); - return $this->_propDict["averageRatioOfConcealedSamples"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the averageRatioOfConcealedSamples - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Single The averageReceivedFrameRate - */ - public function getAverageReceivedFrameRate() - { - if (array_key_exists("averageReceivedFrameRate", $this->_propDict)) { - if (is_a($this->_propDict["averageReceivedFrameRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageReceivedFrameRate"]; - } else { - $this->_propDict["averageReceivedFrameRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["averageReceivedFrameRate"]); - return $this->_propDict["averageReceivedFrameRate"]; - } - } - return null; - } - - /** - * Sets the averageReceivedFrameRate - * Average frames per second received for all video streams computed over the duration of the session. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the averageReceivedFrameRate - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Duration The averageRoundTripTime - */ - public function getAverageRoundTripTime() - { - if (array_key_exists("averageRoundTripTime", $this->_propDict)) { - if (is_a($this->_propDict["averageRoundTripTime"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageRoundTripTime"]; - } else { - $this->_propDict["averageRoundTripTime"] = new \Microsoft\Graph\Model\Duration($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 \Microsoft\Graph\Model\Duration $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 \Microsoft\Graph\Model\Single The averageVideoFrameLossPercentage - */ - public function getAverageVideoFrameLossPercentage() - { - if (array_key_exists("averageVideoFrameLossPercentage", $this->_propDict)) { - if (is_a($this->_propDict["averageVideoFrameLossPercentage"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageVideoFrameLossPercentage"]; - } else { - $this->_propDict["averageVideoFrameLossPercentage"] = new \Microsoft\Graph\Model\Single($this->_propDict["averageVideoFrameLossPercentage"]); - return $this->_propDict["averageVideoFrameLossPercentage"]; - } - } - return null; - } - - /** - * Sets the averageVideoFrameLossPercentage - * Average percentage of video frames lost as displayed to the user. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the averageVideoFrameLossPercentage - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Single The averageVideoFrameRate - */ - public function getAverageVideoFrameRate() - { - if (array_key_exists("averageVideoFrameRate", $this->_propDict)) { - if (is_a($this->_propDict["averageVideoFrameRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageVideoFrameRate"]; - } else { - $this->_propDict["averageVideoFrameRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["averageVideoFrameRate"]); - return $this->_propDict["averageVideoFrameRate"]; - } - } - return null; - } - - /** - * Sets the averageVideoFrameRate - * Average frames per second received for a video stream, computed over the duration of the session. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the averageVideoFrameRate - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Single The averageVideoPacketLossRate - */ - public function getAverageVideoPacketLossRate() - { - if (array_key_exists("averageVideoPacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["averageVideoPacketLossRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["averageVideoPacketLossRate"]; - } else { - $this->_propDict["averageVideoPacketLossRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["averageVideoPacketLossRate"]); - return $this->_propDict["averageVideoPacketLossRate"]; - } - } - return null; - } - - /** - * Sets the averageVideoPacketLossRate - * Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the averageVideoPacketLossRate - * - * @return MediaStream The 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 \Microsoft\Graph\Model\Single The lowFrameRateRatio - */ - public function getLowFrameRateRatio() - { - if (array_key_exists("lowFrameRateRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowFrameRateRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowFrameRateRatio"]; - } else { - $this->_propDict["lowFrameRateRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["lowFrameRateRatio"]); - return $this->_propDict["lowFrameRateRatio"]; - } - } - return null; - } - - /** - * Sets the lowFrameRateRatio - * Fraction of the call where frame rate is less than 7.5 frames per second. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the lowFrameRateRatio - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Single The lowVideoProcessingCapabilityRatio - */ - public function getLowVideoProcessingCapabilityRatio() - { - if (array_key_exists("lowVideoProcessingCapabilityRatio", $this->_propDict)) { - if (is_a($this->_propDict["lowVideoProcessingCapabilityRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["lowVideoProcessingCapabilityRatio"]; - } else { - $this->_propDict["lowVideoProcessingCapabilityRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["lowVideoProcessingCapabilityRatio"]); - return $this->_propDict["lowVideoProcessingCapabilityRatio"]; - } - } - return null; - } - - /** - * Sets the lowVideoProcessingCapabilityRatio - * Fraction of the call that the client is running less than 70% expected video processing capability. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the lowVideoProcessingCapabilityRatio - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Duration The maxAudioNetworkJitter - */ - public function getMaxAudioNetworkJitter() - { - if (array_key_exists("maxAudioNetworkJitter", $this->_propDict)) { - if (is_a($this->_propDict["maxAudioNetworkJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxAudioNetworkJitter"]; - } else { - $this->_propDict["maxAudioNetworkJitter"] = new \Microsoft\Graph\Model\Duration($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 \Microsoft\Graph\Model\Duration $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 \Microsoft\Graph\Model\Duration The maxJitter - */ - public function getMaxJitter() - { - if (array_key_exists("maxJitter", $this->_propDict)) { - if (is_a($this->_propDict["maxJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxJitter"]; - } else { - $this->_propDict["maxJitter"] = new \Microsoft\Graph\Model\Duration($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 \Microsoft\Graph\Model\Duration $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 \Microsoft\Graph\Model\Single The maxPacketLossRate - */ - public function getMaxPacketLossRate() - { - if (array_key_exists("maxPacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["maxPacketLossRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["maxPacketLossRate"]; - } else { - $this->_propDict["maxPacketLossRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["maxPacketLossRate"]); - return $this->_propDict["maxPacketLossRate"]; - } - } - return null; - } - - /** - * Sets the maxPacketLossRate - * Maximum packet loss rate for the stream. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the maxPacketLossRate - * - * @return MediaStream The MediaStream - */ - public function setMaxPacketLossRate($val) - { - $this->_propDict["maxPacketLossRate"] = $val; - return $this; - } - - /** - * Gets the maxRatioOfConcealedSamples - * Maximum ratio of packets concealed by the healer. - * - * @return \Microsoft\Graph\Model\Single The maxRatioOfConcealedSamples - */ - public function getMaxRatioOfConcealedSamples() - { - if (array_key_exists("maxRatioOfConcealedSamples", $this->_propDict)) { - if (is_a($this->_propDict["maxRatioOfConcealedSamples"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["maxRatioOfConcealedSamples"]; - } else { - $this->_propDict["maxRatioOfConcealedSamples"] = new \Microsoft\Graph\Model\Single($this->_propDict["maxRatioOfConcealedSamples"]); - return $this->_propDict["maxRatioOfConcealedSamples"]; - } - } - return null; - } - - /** - * Sets the maxRatioOfConcealedSamples - * Maximum ratio of packets concealed by the healer. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the maxRatioOfConcealedSamples - * - * @return MediaStream The 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 \Microsoft\Graph\Model\Duration The maxRoundTripTime - */ - public function getMaxRoundTripTime() - { - if (array_key_exists("maxRoundTripTime", $this->_propDict)) { - if (is_a($this->_propDict["maxRoundTripTime"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maxRoundTripTime"]; - } else { - $this->_propDict["maxRoundTripTime"] = new \Microsoft\Graph\Model\Duration($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 \Microsoft\Graph\Model\Duration $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 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 \Microsoft\Graph\Model\Single The postForwardErrorCorrectionPacketLossRate - */ - public function getPostForwardErrorCorrectionPacketLossRate() - { - if (array_key_exists("postForwardErrorCorrectionPacketLossRate", $this->_propDict)) { - if (is_a($this->_propDict["postForwardErrorCorrectionPacketLossRate"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["postForwardErrorCorrectionPacketLossRate"]; - } else { - $this->_propDict["postForwardErrorCorrectionPacketLossRate"] = new \Microsoft\Graph\Model\Single($this->_propDict["postForwardErrorCorrectionPacketLossRate"]); - return $this->_propDict["postForwardErrorCorrectionPacketLossRate"]; - } - } - return null; - } - - /** - * Sets the postForwardErrorCorrectionPacketLossRate - * Packet loss rate after FEC has been applied aggregated across all video streams and codecs. - * - * @param \Microsoft\Graph\Model\Single $val The value to assign to the postForwardErrorCorrectionPacketLossRate - * - * @return MediaStream The 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The streamDirection - */ - public function getStreamDirection() - { - if (array_key_exists("streamDirection", $this->_propDict)) { - if (is_a($this->_propDict["streamDirection"], "\Microsoft\Graph\CallRecords\Model\MediaStreamDirection")) { - 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 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 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 deleted file mode 100644 index 8d2d4a5f..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/MediaStreamDirection.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["bandwidthLowEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["bandwidthLowEventRatio"]; - } else { - $this->_propDict["bandwidthLowEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["bandwidthLowEventRatio"]); - return $this->_propDict["bandwidthLowEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the bandwidthLowEventRatio - * - * @return NetworkInfo The 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 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 The connectionType - */ - public function getConnectionType() - { - if (array_key_exists("connectionType", $this->_propDict)) { - if (is_a($this->_propDict["connectionType"], "\Microsoft\Graph\CallRecords\Model\NetworkConnectionType")) { - 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 \Microsoft\Graph\Model\Single The delayEventRatio - */ - public function getDelayEventRatio() - { - if (array_key_exists("delayEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["delayEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["delayEventRatio"]; - } else { - $this->_propDict["delayEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["delayEventRatio"]); - return $this->_propDict["delayEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the delayEventRatio - * - * @return NetworkInfo The 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 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 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 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 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 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 \Microsoft\Graph\Model\Single The receivedQualityEventRatio - */ - public function getReceivedQualityEventRatio() - { - if (array_key_exists("receivedQualityEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["receivedQualityEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["receivedQualityEventRatio"]; - } else { - $this->_propDict["receivedQualityEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["receivedQualityEventRatio"]); - return $this->_propDict["receivedQualityEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the receivedQualityEventRatio - * - * @return NetworkInfo The 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 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 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 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 \Microsoft\Graph\Model\Single The sentQualityEventRatio - */ - public function getSentQualityEventRatio() - { - if (array_key_exists("sentQualityEventRatio", $this->_propDict)) { - if (is_a($this->_propDict["sentQualityEventRatio"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["sentQualityEventRatio"]; - } else { - $this->_propDict["sentQualityEventRatio"] = new \Microsoft\Graph\Model\Single($this->_propDict["sentQualityEventRatio"]); - return $this->_propDict["sentQualityEventRatio"]; - } - } - 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 \Microsoft\Graph\Model\Single $val The value to assign to the sentQualityEventRatio - * - * @return NetworkInfo The 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 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 The wifiBand - */ - public function getWifiBand() - { - if (array_key_exists("wifiBand", $this->_propDict)) { - if (is_a($this->_propDict["wifiBand"], "\Microsoft\Graph\CallRecords\Model\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 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 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 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 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 The wifiRadioType - */ - public function getWifiRadioType() - { - if (array_key_exists("wifiRadioType", $this->_propDict)) { - if (is_a($this->_propDict["wifiRadioType"], "\Microsoft\Graph\CallRecords\Model\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 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 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 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 deleted file mode 100644 index 0a797154..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ParticipantEndpoint.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\CallRecords\Model\UserFeedback")) { - 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 The identity - */ - public function getIdentity() - { - if (array_key_exists("identity", $this->_propDict)) { - if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index 981980bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ProductFamily.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["callee"], "\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The caller - */ - public function getCaller() - { - if (array_key_exists("caller", $this->_propDict)) { - if (is_a($this->_propDict["caller"], "\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The failureInfo - */ - public function getFailureInfo() - { - if (array_key_exists("failureInfo", $this->_propDict)) { - if (is_a($this->_propDict["failureInfo"], "\Microsoft\Graph\CallRecords\Model\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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 307a1ce5..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/ServiceEndpoint.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["role"], "\Microsoft\Graph\CallRecords\Model\ServiceRole")) { - 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 deleted file mode 100644 index 7987161d..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/Session.php +++ /dev/null @@ -1,252 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["callee"], "\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The caller - */ - public function getCaller() - { - if (array_key_exists("caller", $this->_propDict)) { - if (is_a($this->_propDict["caller"], "\Microsoft\Graph\CallRecords\Model\Endpoint")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The failureInfo - */ - public function getFailureInfo() - { - if (array_key_exists("failureInfo", $this->_propDict)) { - if (is_a($this->_propDict["failureInfo"], "\Microsoft\Graph\CallRecords\Model\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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 554da7c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserAgent.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1b510594..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedback.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["rating"], "\Microsoft\Graph\CallRecords\Model\UserFeedbackRating")) { - 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 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 The tokens - */ - public function getTokens() - { - if (array_key_exists("tokens", $this->_propDict)) { - if (is_a($this->_propDict["tokens"], "\Microsoft\Graph\CallRecords\Model\FeedbackTokenSet")) { - 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 deleted file mode 100644 index 6ab141b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/CallRecords/Model/UserFeedbackRating.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 deleted file mode 100644 index 59b2c855..00000000 --- a/vendor/microsoft/microsoft-graph/src/Core/ExceptionWrapper.php +++ /dev/null @@ -1,46 +0,0 @@ -getResponse()->getStatusCode()} for call to {$ex->getRequest()->getUri()}\nAPI response: {$ex->getResponse()->getBody()->getContents()}"; - return new GraphException($errMsg); - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php b/vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php deleted file mode 100644 index 99b96c46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Core/GraphConstants.php +++ /dev/null @@ -1,46 +0,0 @@ -code}]: {$this->message}\n"; - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/Graph.php b/vendor/microsoft/microsoft-graph/src/Graph.php deleted file mode 100644 index f4836666..00000000 --- a/vendor/microsoft/microsoft-graph/src/Graph.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 - * - * @return Graph object - */ - public function setProxyPort($port) - { - $this->_proxyPort = $port; - 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 - ); - } - - /** - * 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 - ); - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php b/vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php deleted file mode 100644 index 0034cdc0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Http/GraphCollectionRequest.php +++ /dev/null @@ -1,243 +0,0 @@ -end = false; - } - - /** - * Gets the number of entries in the collection - * - * @return int the number of entries - * @throws GraphException - */ - 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 - * - * @param bool $prev When true, get the previous page - * - * @return array of objects of class $returnType - * @throws GraphException - */ - public function getPage() - { - $this->setPageCallInfo(); - $response = $this->execute(); - - return $this->processPageCallReturn($response); - } - - /** - * Sets the required query information to get a new page - * - * @param bool $prev Set to true for the previous 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) { - $baseLength = strlen($this->baseUrl) + strlen($this->apiVersion); - $this->endpoint = substr($this->nextLink, $baseLength); - } 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; - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php b/vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php deleted file mode 100644 index 5212fec2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Http/GraphRequest.php +++ /dev/null @@ -1,543 +0,0 @@ - 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; - /** - * 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 - * @throws GraphException when no access token is provided - */ - public function __construct($requestType, $endpoint, $accessToken, $baseUrl, $apiVersion, $proxyPort = null) - { - $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; - } - - /** - * 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 GraphRequest 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 GraphRequest 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 GraphRequest object - */ - public function setReturnType($returnClass) - { - $this->returnType = $returnClass; - if ($this->returnType == "GuzzleHttp\Psr7\Stream") { - $this->returnsStream = true; - } else { - $this->returnsStream = false; - } - return $this; - } - - /** - * Adds custom headers to the request - * - * @param array $headers An array of custom headers - * - * @return GraphRequest 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 GraphRequest object - */ - public function attachBody($obj) - { - // Attach streams & JSON automatically - if (is_string($obj) || is_a($obj, 'GuzzleHttp\\Psr7\\Stream')) { - $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 GraphRequest 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 GraphException if response is invalid; if 4xx/5xx is returned and $http_errors is true - * - * @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; if \GuzzleHttp\Exception\BadResponseException is thrown for 4xx/5xx responses - * - * @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 - * - * @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\stream_for($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() - { - $headers = [ - 'Host' => $this->baseUrl, - 'Content-Type' => 'application/json', - 'SdkVersion' => 'Graph-php-' . GraphConstants::SDK_VERSION, - 'Authorization' => 'Bearer ' . $this->accessToken - ]; - return $headers; - } - - /** - * 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'] = false; - $clientSettings['proxy'] = $this->proxyPort; - } - $client = new Client($clientSettings); - - return $client; - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php b/vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php deleted file mode 100644 index 209969c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Http/GraphResponse.php +++ /dev/null @@ -1,189 +0,0 @@ -_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 string The undecoded body - */ - public function getRawBody() - { - return $this->_body; - } - - /** - * Get the status of the HTTP response - * - * @return string The HTTP status - */ - public function getStatus() - { - return $this->_httpStatusCode; - } - - /** - * Get the headers of the response - * - * @return array 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 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 deleted file mode 100644 index 201176d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AadUserConversationMember.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 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 The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\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/AadUserNotificationRecipient.php b/vendor/microsoft/microsoft-graph/src/Model/AadUserNotificationRecipient.php deleted file mode 100644 index d4e0e46f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AadUserNotificationRecipient.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/AccessAction.php b/vendor/microsoft/microsoft-graph/src/Model/AccessAction.php deleted file mode 100644 index 98492693..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AccessAction.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 (i.e., ./manager) is specified. - * - * @return string 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 (i.e., ./manager) is specified. - * - * @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 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/ActionState.php b/vendor/microsoft/microsoft-graph/src/Model/ActionState.php deleted file mode 100644 index e47e60de..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ActionState.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastActiveDateTime - */ - public function getLastActiveDateTime() - { - if (array_key_exists("lastActiveDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActiveDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The startedDateTime - */ - public function getStartedDateTime() - { - if (array_key_exists("startedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\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 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 The activity - */ - public function getActivity() - { - if (array_key_exists("activity", $this->_propDict)) { - if (is_a($this->_propDict["activity"], "\Microsoft\Graph\Model\UserActivity")) { - 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/AddIn.php b/vendor/microsoft/microsoft-graph/src/Model/AddIn.php deleted file mode 100644 index b8d36e8c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AddIn.php +++ /dev/null @@ -1,109 +0,0 @@ -_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 The addInProperties - */ - public function getAddInProperties() - { - if (array_key_exists("properties", $this->_propDict)) { - if (is_a($this->_propDict["properties"], "\Microsoft\Graph\Model\KeyValue")) { - 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 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/AdminConsentRequestPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/AdminConsentRequestPolicy.php deleted file mode 100644 index 4afd341f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AdminConsentRequestPolicy.php +++ /dev/null @@ -1,202 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 2b4c7df2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AdministrativeUnit.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * An optional description for the administrative unit. - * - * @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. - * - * @return string 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. - * - * @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 or Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. - * - * @return string 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 or Public. If not set, 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 Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members). - * - * @return array 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 Adminsitrative Unit. HTTP Methods: GET (list members), POST (add members), DELETE (remove members). - * - * @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. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership). - * - * @return array 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. HTTP Methods: GET (list scopedRoleMemberships), POST (add scopedRoleMembership), DELETE (remove scopedRoleMembership). - * - * @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 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/Agreement.php b/vendor/microsoft/microsoft-graph/src/Model/Agreement.php deleted file mode 100644 index 1d1be3b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Agreement.php +++ /dev/null @@ -1,273 +0,0 @@ -_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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return TermsExpiration The termsExpiration - */ - public function getTermsExpiration() - { - if (array_key_exists("termsExpiration", $this->_propDict)) { - if (is_a($this->_propDict["termsExpiration"], "\Microsoft\Graph\Model\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. - * - * @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 Duration The userReacceptRequiredFrequency - */ - public function getUserReacceptRequiredFrequency() - { - if (array_key_exists("userReacceptRequiredFrequency", $this->_propDict)) { - if (is_a($this->_propDict["userReacceptRequiredFrequency"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["userReacceptRequiredFrequency"]; - } else { - $this->_propDict["userReacceptRequiredFrequency"] = new Duration($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 Duration $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 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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\Microsoft\Graph\Model\AgreementFile")) { - 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 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 deleted file mode 100644 index fc918dee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptance.php +++ /dev/null @@ -1,416 +0,0 @@ -_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 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 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 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The recordedDateTime - */ - public function getRecordedDateTime() - { - if (array_key_exists("recordedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["recordedDateTime"], "\DateTime")) { - 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. - * - * @return AgreementAcceptanceState The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AgreementAcceptanceState")) { - 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. - * - * @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 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 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 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 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 deleted file mode 100644 index 4a2b9051..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AgreementAcceptanceState.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["localizations"]; - } else { - return null; - } - } - - /** - * Sets the localizations - * - * @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 deleted file mode 100644 index c01b679b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileData.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["data"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["data"]; - } else { - $this->_propDict["data"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["data"]); - return $this->_propDict["data"]; - } - } - return null; - } - - /** - * Sets the data - * - * @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 deleted file mode 100644 index 52f3f8c8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileLocalization.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["versions"]; - } else { - return null; - } - } - - /** - * Sets the versions - * - * @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 deleted file mode 100644 index caa84fec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileProperties.php +++ /dev/null @@ -1,224 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 AgreementFileProperties - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 AgreementFileProperties - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the fileData - * - * @return AgreementFileData The fileData - */ - public function getFileData() - { - if (array_key_exists("fileData", $this->_propDict)) { - if (is_a($this->_propDict["fileData"], "\Microsoft\Graph\Model\AgreementFileData")) { - return $this->_propDict["fileData"]; - } else { - $this->_propDict["fileData"] = new AgreementFileData($this->_propDict["fileData"]); - return $this->_propDict["fileData"]; - } - } - return null; - } - - /** - * Sets the fileData - * - * @param AgreementFileData $val The fileData - * - * @return AgreementFileProperties - */ - public function setFileData($val) - { - $this->_propDict["fileData"] = $val; - return $this; - } - - /** - * Gets the fileName - * - * @return string 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 AgreementFileProperties - */ - public function setFileName($val) - { - $this->_propDict["fileName"] = $val; - return $this; - } - - /** - * Gets the isDefault - * - * @return bool 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 AgreementFileProperties - */ - public function setIsDefault($val) - { - $this->_propDict["isDefault"] = boolval($val); - return $this; - } - - /** - * Gets the isMajorVersion - * - * @return bool The isMajorVersion - */ - public function getIsMajorVersion() - { - if (array_key_exists("isMajorVersion", $this->_propDict)) { - return $this->_propDict["isMajorVersion"]; - } else { - return null; - } - } - - /** - * Sets the isMajorVersion - * - * @param bool $val The isMajorVersion - * - * @return AgreementFileProperties - */ - public function setIsMajorVersion($val) - { - $this->_propDict["isMajorVersion"] = boolval($val); - return $this; - } - - /** - * Gets the language - * - * @return string The language - */ - public function getLanguage() - { - if (array_key_exists("language", $this->_propDict)) { - return $this->_propDict["language"]; - } else { - return null; - } - } - - /** - * Sets the language - * - * @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 deleted file mode 100644 index 4b72990d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AgreementFileVersion.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 The closedDateTime - */ - public function getClosedDateTime() - { - if (array_key_exists("closedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["closedDateTime"], "\DateTime")) { - 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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 The feedback - */ - public function getFeedback() - { - if (array_key_exists("feedback", $this->_propDict)) { - if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\AlertFeedback")) { - 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 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 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 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 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 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 The lastEventDateTime - */ - public function getLastEventDateTime() - { - if (array_key_exists("lastEventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastEventDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 The severity - */ - public function getSeverity() - { - if (array_key_exists("severity", $this->_propDict)) { - if (is_a($this->_propDict["severity"], "\Microsoft\Graph\Model\AlertSeverity")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AlertStatus")) { - 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 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 deleted file mode 100644 index bd89f90f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AlertDetection.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index 7a1dd545..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AlertFeedback.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 The feedback - */ - public function getFeedback() - { - if (array_key_exists("feedback", $this->_propDict)) { - if (is_a($this->_propDict["feedback"], "\Microsoft\Graph\Model\AlertFeedback")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AlertStatus")) { - 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 The updatedDateTime - */ - public function getUpdatedDateTime() - { - if (array_key_exists("updatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["updatedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 169e77ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AlertSeverity.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 deleted file mode 100644 index c413293e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AllDevicesAssignmentTarget.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.allDevicesAssignmentTarget"); - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php b/vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php deleted file mode 100644 index 9a03fbc8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AllLicensedUsersAssignmentTarget.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.allLicensedUsersAssignmentTarget"); - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AllowInvitesFrom.php b/vendor/microsoft/microsoft-graph/src/Model/AllowInvitesFrom.php deleted file mode 100644 index f5c75c80..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AllowInvitesFrom.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The key - */ - public function getKey() - { - if (array_key_exists("key", $this->_propDict)) { - if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["key"]; - } else { - $this->_propDict["key"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index b20d5013..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidCompliancePolicy.php +++ /dev/null @@ -1,644 +0,0 @@ -_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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 5fc294f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidCustomConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 774440fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidGeneralDeviceConfiguration.php +++ /dev/null @@ -1,1436 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The webBrowserCookieSettings - */ - public function getWebBrowserCookieSettings() - { - if (array_key_exists("webBrowserCookieSettings", $this->_propDict)) { - if (is_a($this->_propDict["webBrowserCookieSettings"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 6749b900..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidLobApp.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 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 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 deleted file mode 100644 index fb768f9d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppProtection.php +++ /dev/null @@ -1,322 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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 deleted file mode 100644 index ac79c209..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidManagedAppRegistration.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index 9f3a240b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidMobileAppIdentifier.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.androidMobileAppIdentifier"); - } - - /** - * Gets the packageId - * The identifier for an app, as specified in the play store. - * - * @return string 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 deleted file mode 100644 index 422992e6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidRequiredPasswordType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 261274f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCompliancePolicy.php +++ /dev/null @@ -1,644 +0,0 @@ -_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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 5f6667a0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileCrossProfileDataSharingType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 deleted file mode 100644 index b6132f56..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileDefaultAppPermissionPolicyType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 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 The workProfileDataSharingType - */ - public function getWorkProfileDataSharingType() - { - if (array_key_exists("workProfileDataSharingType", $this->_propDict)) { - if (is_a($this->_propDict["workProfileDataSharingType"], "\Microsoft\Graph\Model\AndroidWorkProfileCrossProfileDataSharingType")) { - 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 The workProfileDefaultAppPermissionPolicy - */ - public function getWorkProfileDefaultAppPermissionPolicy() - { - if (array_key_exists("workProfileDefaultAppPermissionPolicy", $this->_propDict)) { - if (is_a($this->_propDict["workProfileDefaultAppPermissionPolicy"], "\Microsoft\Graph\Model\AndroidWorkProfileDefaultAppPermissionPolicyType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 The workProfilePasswordRequiredType - */ - public function getWorkProfilePasswordRequiredType() - { - if (array_key_exists("workProfilePasswordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["workProfilePasswordRequiredType"], "\Microsoft\Graph\Model\AndroidWorkProfileRequiredPasswordType")) { - 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 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 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 deleted file mode 100644 index 7b331c21..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AndroidWorkProfileRequiredPasswordType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 The oauth2PermissionScopes - */ - public function getOauth2PermissionScopes() - { - if (array_key_exists("oauth2PermissionScopes", $this->_propDict)) { - if (is_a($this->_propDict["oauth2PermissionScopes"], "\Microsoft\Graph\Model\PermissionScope")) { - 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 The preAuthorizedApplications - */ - public function getPreAuthorizedApplications() - { - if (array_key_exists("preAuthorizedApplications", $this->_propDict)) { - if (is_a($this->_propDict["preAuthorizedApplications"], "\Microsoft\Graph\Model\PreAuthorizedApplication")) { - 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 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/AppCatalogs.php b/vendor/microsoft/microsoft-graph/src/Model/AppCatalogs.php deleted file mode 100644 index ffb46e15..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppCatalogs.php +++ /dev/null @@ -1,55 +0,0 @@ -_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 deleted file mode 100644 index 84532098..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppConfigurationSettingItem.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The appConfigKeyType - */ - public function getAppConfigKeyType() - { - if (array_key_exists("appConfigKeyType", $this->_propDict)) { - if (is_a($this->_propDict["appConfigKeyType"], "\Microsoft\Graph\Model\MdmAppConfigKeyType")) { - 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 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 deleted file mode 100644 index 2d453b38..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppConsentApprovalRoute.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["appConsentRequests"]; - } else { - return null; - } - } - - /** - * Sets the appConsentRequests - * - * @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 deleted file mode 100644 index 07a93e4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequest.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index ec6c8c62..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppConsentRequestScope.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index c96e5627..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppHostedMediaConfig.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.appHostedMediaConfig"); - } - - /** - * Gets the blob - * The media configuration blob generated by smart media agent. - * - * @return string 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 deleted file mode 100644 index 3fe44625..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppIdentity.php +++ /dev/null @@ -1,138 +0,0 @@ -_propDict)) { - return $this->_propDict["appId"]; - } else { - return null; - } - } - - /** - * Sets the appId - * Refers to the Unique GUID 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 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 GUID indicating Service Principal Id in Azure Active Directory for the corresponding App. - * - * @return string 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 GUID 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 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 deleted file mode 100644 index f5f9dde1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppListItem.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index bc5ed74a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppListType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 628eb43a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppRoleAssignment.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 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 deleted file mode 100644 index e1587ba3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppScope.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 3cb8d2aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppleDeviceFeaturesConfigurationBase.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 expirationDateTime - * The expiration date and time for Apple push notification certificate. - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 7665ba4a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Application.php +++ /dev/null @@ -1,1051 +0,0 @@ -_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 The api - */ - public function getApi() - { - if (array_key_exists("api", $this->_propDict)) { - if (is_a($this->_propDict["api"], "\Microsoft\Graph\Model\ApiApplication")) { - 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 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 - * - * @return string The applicationTemplateId - */ - public function getApplicationTemplateId() - { - if (array_key_exists("applicationTemplateId", $this->_propDict)) { - return $this->_propDict["applicationTemplateId"]; - } else { - return null; - } - } - - /** - * Sets the applicationTemplateId - * - * @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 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. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. - * - * @param \DateTime $val The createdDateTime - * - * @return Application - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the description - * - * @return string 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 Application - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The display name for the application. - * - * @return string 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. - * - * @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 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 - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information, see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. - * - * @return string The identifierUris - */ - public function getIdentifierUris() - { - if (array_key_exists("identifierUris", $this->_propDict)) { - return $this->_propDict["identifierUris"]; - } else { - return null; - } - } - - /** - * Sets the identifierUris - * The URIs that identify the application within its Azure AD tenant, or within a verified custom domain if the application is multi-tenant. For more information, see Application Objects and Service Principal Objects. The any operator is required for filter expressions on multi-valued properties. Not nullable. - * - * @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. - * - * @return InformationalUrl The info - */ - public function getInfo() - { - if (array_key_exists("info", $this->_propDict)) { - if (is_a($this->_propDict["info"], "\Microsoft\Graph\Model\InformationalUrl")) { - 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. - * - * @param InformationalUrl $val The info - * - * @return Application - */ - public function setInfo($val) - { - $this->_propDict["info"] = $val; - return $this; - } - - /** - * Gets the isDeviceOnlyAuthSupported - * - * @return bool The isDeviceOnlyAuthSupported - */ - public function getIsDeviceOnlyAuthSupported() - { - if (array_key_exists("isDeviceOnlyAuthSupported", $this->_propDict)) { - return $this->_propDict["isDeviceOnlyAuthSupported"]; - } else { - return null; - } - } - - /** - * Sets the isDeviceOnlyAuthSupported - * - * @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 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. - * - * @return array 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. - * - * @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 The logo - */ - public function getLogo() - { - if (array_key_exists("logo", $this->_propDict)) { - if (is_a($this->_propDict["logo"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["logo"]; - } else { - $this->_propDict["logo"] = \GuzzleHttp\Psr7\stream_for($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 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 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 The optionalClaims - */ - public function getOptionalClaims() - { - if (array_key_exists("optionalClaims", $this->_propDict)) { - if (is_a($this->_propDict["optionalClaims"], "\Microsoft\Graph\Model\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 The parentalControlSettings - */ - public function getParentalControlSettings() - { - if (array_key_exists("parentalControlSettings", $this->_propDict)) { - if (is_a($this->_propDict["parentalControlSettings"], "\Microsoft\Graph\Model\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 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 The publicClient - */ - public function getPublicClient() - { - if (array_key_exists("publicClient", $this->_propDict)) { - if (is_a($this->_propDict["publicClient"], "\Microsoft\Graph\Model\PublicClientApplication")) { - 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. - * - * @return string 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. - * - * @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 OAuth permission scopes and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. Not nullable. - * - * @return array 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 OAuth permission scopes and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. Not nullable. - * - * @param RequiredResourceAccess $val The requiredResourceAccess - * - * @return Application - */ - public function setRequiredResourceAccess($val) - { - $this->_propDict["requiredResourceAccess"] = $val; - return $this; - } - - /** - * Gets the signInAudience - * Specifies the Microsoft accounts that are supported for the current application. Supported values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. See more in the table below. - * - * @return string 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. Supported values are: AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount, PersonalMicrosoftAccount. See more in the table below. - * - * @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 The spa - */ - public function getSpa() - { - if (array_key_exists("spa", $this->_propDict)) { - if (is_a($this->_propDict["spa"], "\Microsoft\Graph\Model\SpaApplication")) { - 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. - * - * @return string 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. - * - * @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 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 web - * Specifies settings for a web application. - * - * @return WebApplication The web - */ - public function getWeb() - { - if (array_key_exists("web", $this->_propDict)) { - if (is_a($this->_propDict["web"], "\Microsoft\Graph\Model\WebApplication")) { - 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 The createdOnBehalfOf - */ - public function getCreatedOnBehalfOf() - { - if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { - if (is_a($this->_propDict["createdOnBehalfOf"], "\Microsoft\Graph\Model\DirectoryObject")) { - 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. - * - * @return array 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. - * - * @param ExtensionProperty $val The extensionProperties - * - * @return Application - */ - public function setExtensionProperties($val) - { - $this->_propDict["extensionProperties"] = $val; - return $this; - } - - - /** - * Gets the homeRealmDiscoveryPolicies - * - * @return array 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. - * - * @return array 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. - * - * @param DirectoryObject $val The owners - * - * @return Application - */ - public function setOwners($val) - { - $this->_propDict["owners"] = $val; - return $this; - } - - - /** - * Gets the tokenIssuancePolicies - * - * @return array 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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index fd0480a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ApplicationEnforcedRestrictionsSessionControl.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\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 The servicePrincipal - */ - public function getServicePrincipal() - { - if (array_key_exists("servicePrincipal", $this->_propDict)) { - if (is_a($this->_propDict["servicePrincipal"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 6157b0ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ApplicationTemplate.php +++ /dev/null @@ -1,259 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index ea9a30d8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ApplicationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * Refers to the Name of the conditional access policy (example: 'Require MFA for Salesforce'). - * - * @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 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 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 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 - * - * @return AppliedConditionalAccessPolicyResult The result - */ - public function getResult() - { - if (array_key_exists("result", $this->_propDict)) { - if (is_a($this->_propDict["result"], "\Microsoft\Graph\Model\AppliedConditionalAccessPolicyResult")) { - 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 - * - * @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 deleted file mode 100644 index 36c92fb3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AppliedConditionalAccessPolicyResult.php +++ /dev/null @@ -1,38 +0,0 @@ -_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/ApprovalStage.php b/vendor/microsoft/microsoft-graph/src/Model/ApprovalStage.php deleted file mode 100644 index b1c6d545..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ApprovalStage.php +++ /dev/null @@ -1,238 +0,0 @@ -_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 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 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 The reviewedBy - */ - public function getReviewedBy() - { - if (array_key_exists("reviewedBy", $this->_propDict)) { - if (is_a($this->_propDict["reviewedBy"], "\Microsoft\Graph\Model\Identity")) { - 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 The reviewedDateTime - */ - public function getReviewedDateTime() - { - if (array_key_exists("reviewedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reviewedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 1b49f4cc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ArchivedPrintJob.php +++ /dev/null @@ -1,303 +0,0 @@ -_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 The acquiredDateTime - */ - public function getAcquiredDateTime() - { - if (array_key_exists("acquiredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["acquiredDateTime"], "\DateTime")) { - 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 The completionDateTime - */ - public function getCompletionDateTime() - { - if (array_key_exists("completionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completionDateTime"], "\DateTime")) { - 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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\UserIdentity")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The processingState - */ - public function getProcessingState() - { - if (array_key_exists("processingState", $this->_propDict)) { - if (is_a($this->_propDict["processingState"], "\Microsoft\Graph\Model\PrintJobProcessingState")) { - 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 deleted file mode 100644 index f53b722a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AssignedLabel.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 63d20060..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AssignedLicense.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index cd47aa5f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AssignedPlan.php +++ /dev/null @@ -1,143 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignedDateTime"], "\DateTime")) { - 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 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 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. - * - * @return string 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. - * - * @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/Attachment.php b/vendor/microsoft/microsoft-graph/src/Model/Attachment.php deleted file mode 100644 index 572dda1a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Attachment.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 37addd27..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AttachmentItem.php +++ /dev/null @@ -1,171 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attachmentType"], "\Microsoft\Graph\Model\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 contentType - * The nature of the data in the attachment. Optional. - * - * @return string 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 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 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 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 deleted file mode 100644 index df9e847b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AttachmentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["proposedNewTime"], "\Microsoft\Graph\Model\TimeSlot")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ResponseStatus")) { - 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 deleted file mode 100644 index abc14a01..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AttendeeAvailability.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendee"], "\Microsoft\Graph\Model\AttendeeBase")) { - 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 The availability - */ - public function getAvailability() - { - if (array_key_exists("availability", $this->_propDict)) { - if (is_a($this->_propDict["availability"], "\Microsoft\Graph\Model\FreeBusyStatus")) { - 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 deleted file mode 100644 index a7378fbc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AttendeeBase.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\AttendeeType")) { - 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 deleted file mode 100644 index 985b58b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AttendeeType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 36d30227..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AudioConferencing.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 - * The toll-free number that connects to the Audio Conference Provider. - * - * @return string The tollFreeNumber - */ - public function getTollFreeNumber() - { - if (array_key_exists("tollFreeNumber", $this->_propDict)) { - return $this->_propDict["tollFreeNumber"]; - } else { - return null; - } - } - - /** - * Sets the tollFreeNumber - * The toll-free number that connects to the Audio Conference Provider. - * - * @param string $val The value of the tollFreeNumber - * - * @return AudioConferencing - */ - public function setTollFreeNumber($val) - { - $this->_propDict["tollFreeNumber"] = $val; - return $this; - } - /** - * Gets the tollNumber - * The toll number that connects to the Audio Conference Provider. - * - * @return string 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 connects to the Audio Conference Provider. - * - * @param string $val The value of the tollNumber - * - * @return AudioConferencing - */ - public function setTollNumber($val) - { - $this->_propDict["tollNumber"] = $val; - return $this; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php b/vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php deleted file mode 100644 index 53f93eb2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AuditActivityInitiator.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["app"], "\Microsoft\Graph\Model\AppIdentity")) { - return $this->_propDict["app"]; - } else { - $this->_propDict["app"] = new AppIdentity($this->_propDict["app"]); - return $this->_propDict["app"]; - } - } - return null; - } - - /** - * Sets the app - * If the resource initiating the activity is an app, this property indicates all the app related information like appId, Name, servicePrincipalId, Name. - * - * @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 resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. - * - * @return UserIdentity The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\UserIdentity")) { - return $this->_propDict["user"]; - } else { - $this->_propDict["user"] = new UserIdentity($this->_propDict["user"]); - return $this->_propDict["user"]; - } - } - return null; - } - - /** - * Sets the user - * If the resource initiating the activity is a user, this property Indicates all the user related information like userId, Name, UserPrinicpalName. - * - * @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 deleted file mode 100644 index 42151c28..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AuditLogRoot.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 3ee314db..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Authentication.php +++ /dev/null @@ -1,139 +0,0 @@ -_propDict)) { - return $this->_propDict["fido2Methods"]; - } else { - return null; - } - } - - /** - * Sets the fido2Methods - * - * @param Fido2AuthenticationMethod $val The fido2Methods - * - * @return Authentication - */ - public function setFido2Methods($val) - { - $this->_propDict["fido2Methods"] = $val; - return $this; - } - - - /** - * Gets the methods - * - * @return array The methods - */ - public function getMethods() - { - if (array_key_exists("methods", $this->_propDict)) { - return $this->_propDict["methods"]; - } else { - return null; - } - } - - /** - * Sets the methods - * - * @param AuthenticationMethod $val The methods - * - * @return Authentication - */ - public function setMethods($val) - { - $this->_propDict["methods"] = $val; - return $this; - } - - - /** - * Gets the microsoftAuthenticatorMethods - * - * @return array The microsoftAuthenticatorMethods - */ - public function getMicrosoftAuthenticatorMethods() - { - if (array_key_exists("microsoftAuthenticatorMethods", $this->_propDict)) { - return $this->_propDict["microsoftAuthenticatorMethods"]; - } else { - return null; - } - } - - /** - * Sets the microsoftAuthenticatorMethods - * - * @param MicrosoftAuthenticatorAuthenticationMethod $val The microsoftAuthenticatorMethods - * - * @return Authentication - */ - public function setMicrosoftAuthenticatorMethods($val) - { - $this->_propDict["microsoftAuthenticatorMethods"] = $val; - return $this; - } - - - /** - * Gets the windowsHelloForBusinessMethods - * - * @return array The windowsHelloForBusinessMethods - */ - public function getWindowsHelloForBusinessMethods() - { - if (array_key_exists("windowsHelloForBusinessMethods", $this->_propDict)) { - return $this->_propDict["windowsHelloForBusinessMethods"]; - } else { - return null; - } - } - - /** - * Sets the windowsHelloForBusinessMethods - * - * @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/AuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethod.php deleted file mode 100644 index f274317e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethod.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\AuthenticationMethodState")) { - 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 deleted file mode 100644 index b72881d6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodKeyStrength.php +++ /dev/null @@ -1,35 +0,0 @@ -_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. - * - * @return AuthenticationMethodTargetType The targetType - */ - public function getTargetType() - { - if (array_key_exists("targetType", $this->_propDict)) { - if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\AuthenticationMethodTargetType")) { - 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. - * - * @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 deleted file mode 100644 index 03f32705..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AuthenticationMethodTargetType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * - * @param string $val The description - * - * @return AuthenticationMethodsPolicy - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * - * @return string 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 AuthenticationMethodsPolicy - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the lastModifiedDateTime - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 AuthenticationMethodsPolicy - */ - public function setLastModifiedDateTime($val) - { - $this->_propDict["lastModifiedDateTime"] = $val; - return $this; - } - - /** - * Gets the policyVersion - * - * @return string The policyVersion - */ - public function getPolicyVersion() - { - if (array_key_exists("policyVersion", $this->_propDict)) { - return $this->_propDict["policyVersion"]; - } else { - return null; - } - } - - /** - * Sets the policyVersion - * - * @param string $val The policyVersion - * - * @return AuthenticationMethodsPolicy - */ - public function setPolicyVersion($val) - { - $this->_propDict["policyVersion"] = $val; - return $this; - } - - /** - * Gets the reconfirmationInDays - * - * @return int 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 authenticationMethodConfigurations - * - * @return array The authenticationMethodConfigurations - */ - public function getAuthenticationMethodConfigurations() - { - if (array_key_exists("authenticationMethodConfigurations", $this->_propDict)) { - return $this->_propDict["authenticationMethodConfigurations"]; - } else { - return null; - } - } - - /** - * Sets the authenticationMethodConfigurations - * - * @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/AuthenticatorAppFeatureSettings.php b/vendor/microsoft/microsoft-graph/src/Model/AuthenticatorAppFeatureSettings.php deleted file mode 100644 index d9b28280..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AuthenticatorAppFeatureSettings.php +++ /dev/null @@ -1,33 +0,0 @@ -_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 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 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 The allowInvitesFrom - */ - public function getAllowInvitesFrom() - { - if (array_key_exists("allowInvitesFrom", $this->_propDict)) { - if (is_a($this->_propDict["allowInvitesFrom"], "\Microsoft\Graph\Model\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. Setting to true 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 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. Setting to true 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 The defaultUserRolePermissions - */ - public function getDefaultUserRolePermissions() - { - if (array_key_exists("defaultUserRolePermissions", $this->_propDict)) { - if (is_a($this->_propDict["defaultUserRolePermissions"], "\Microsoft\Graph\Model\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; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php b/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php deleted file mode 100644 index 08eef626..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesMailTips.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The messageLanguage - */ - public function getMessageLanguage() - { - if (array_key_exists("messageLanguage", $this->_propDict)) { - if (is_a($this->_propDict["messageLanguage"], "\Microsoft\Graph\Model\LocaleInfo")) { - 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 The scheduledEndTime - */ - public function getScheduledEndTime() - { - if (array_key_exists("scheduledEndTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledEndTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The scheduledStartTime - */ - public function getScheduledStartTime() - { - if (array_key_exists("scheduledStartTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledStartTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index 671cdb7e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesSetting.php +++ /dev/null @@ -1,214 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["externalAudience"], "\Microsoft\Graph\Model\ExternalAudienceScope")) { - 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 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 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 The scheduledEndDateTime - */ - public function getScheduledEndDateTime() - { - if (array_key_exists("scheduledEndDateTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledEndDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The scheduledStartDateTime - */ - public function getScheduledStartDateTime() - { - if (array_key_exists("scheduledStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledStartDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\AutomaticRepliesStatus")) { - 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 deleted file mode 100644 index 064dcca3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/AutomaticRepliesStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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/BaseItem.php b/vendor/microsoft/microsoft-graph/src/Model/BaseItem.php deleted file mode 100644 index f167f419..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/BaseItem.php +++ /dev/null @@ -1,374 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The parentReference - */ - public function getParentReference() - { - if (array_key_exists("parentReference", $this->_propDict)) { - if (is_a($this->_propDict["parentReference"], "\Microsoft\Graph\Model\ItemReference")) { - 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 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 The createdByUser - */ - public function getCreatedByUser() - { - if (array_key_exists("createdByUser", $this->_propDict)) { - if (is_a($this->_propDict["createdByUser"], "\Microsoft\Graph\Model\User")) { - 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 The lastModifiedByUser - */ - public function getLastModifiedByUser() - { - if (array_key_exists("lastModifiedByUser", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedByUser"], "\Microsoft\Graph\Model\User")) { - 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 deleted file mode 100644 index b77aea11..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/BaseItemVersion.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The publication - */ - public function getPublication() - { - if (array_key_exists("publication", $this->_propDict)) { - if (is_a($this->_propDict["publication"], "\Microsoft\Graph\Model\PublicationFacet")) { - 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/BitLockerEncryptionMethod.php b/vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php deleted file mode 100644 index 7baf4d63..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/BitLockerEncryptionMethod.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The encryptionMethod - */ - public function getEncryptionMethod() - { - if (array_key_exists("encryptionMethod", $this->_propDict)) { - if (is_a($this->_propDict["encryptionMethod"], "\Microsoft\Graph\Model\BitLockerEncryptionMethod")) { - 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 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/BodyType.php b/vendor/microsoft/microsoft-graph/src/Model/BodyType.php deleted file mode 100644 index b6d9f4ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/BodyType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 deleted file mode 100644 index 3cb98eeb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Calendar.php +++ /dev/null @@ -1,567 +0,0 @@ -_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 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 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 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 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 The color - */ - public function getColor() - { - if (array_key_exists("color", $this->_propDict)) { - if (is_a($this->_propDict["color"], "\Microsoft\Graph\Model\CalendarColor")) { - 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 The defaultOnlineMeetingProvider - */ - public function getDefaultOnlineMeetingProvider() - { - if (array_key_exists("defaultOnlineMeetingProvider", $this->_propDict)) { - if (is_a($this->_propDict["defaultOnlineMeetingProvider"], "\Microsoft\Graph\Model\OnlineMeetingProviderType")) { - 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 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 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 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 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 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 The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\EmailAddress")) { - 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 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 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 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 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 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 deleted file mode 100644 index cb7f8fd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CalendarColor.php +++ /dev/null @@ -1,43 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 6b7a62f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CalendarPermission.php +++ /dev/null @@ -1,181 +0,0 @@ -_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 The emailAddress - */ - public function getEmailAddress() - { - if (array_key_exists("emailAddress", $this->_propDict)) { - if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\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 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 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 The role - */ - public function getRole() - { - if (array_key_exists("role", $this->_propDict)) { - if (is_a($this->_propDict["role"], "\Microsoft\Graph\Model\CalendarRoleType")) { - 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 deleted file mode 100644 index c873bda5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CalendarRoleType.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The sharingMessageAction - */ - public function getSharingMessageAction() - { - if (array_key_exists("sharingMessageAction", $this->_propDict)) { - if (is_a($this->_propDict["sharingMessageAction"], "\Microsoft\Graph\Model\CalendarSharingMessageAction")) { - 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 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 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 deleted file mode 100644 index 233e7b6d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CalendarSharingMessageAction.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\CalendarSharingAction")) { - 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 The actionType - */ - public function getActionType() - { - if (array_key_exists("actionType", $this->_propDict)) { - if (is_a($this->_propDict["actionType"], "\Microsoft\Graph\Model\CalendarSharingActionType")) { - 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\CalendarSharingActionImportance")) { - 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 deleted file mode 100644 index 549000d8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Call.php +++ /dev/null @@ -1,698 +0,0 @@ -_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 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 - * - * @return CallOptions The callOptions - */ - public function getCallOptions() - { - if (array_key_exists("callOptions", $this->_propDict)) { - if (is_a($this->_propDict["callOptions"], "\Microsoft\Graph\Model\CallOptions")) { - return $this->_propDict["callOptions"]; - } else { - $this->_propDict["callOptions"] = new CallOptions($this->_propDict["callOptions"]); - return $this->_propDict["callOptions"]; - } - } - return null; - } - - /** - * Sets the callOptions - * - * @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 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 The chatInfo - */ - public function getChatInfo() - { - if (array_key_exists("chatInfo", $this->_propDict)) { - if (is_a($this->_propDict["chatInfo"], "\Microsoft\Graph\Model\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 The direction - */ - public function getDirection() - { - if (array_key_exists("direction", $this->_propDict)) { - if (is_a($this->_propDict["direction"], "\Microsoft\Graph\Model\CallDirection")) { - 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 The incomingContext - */ - public function getIncomingContext() - { - if (array_key_exists("incomingContext", $this->_propDict)) { - if (is_a($this->_propDict["incomingContext"], "\Microsoft\Graph\Model\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 The mediaConfig - */ - public function getMediaConfig() - { - if (array_key_exists("mediaConfig", $this->_propDict)) { - if (is_a($this->_propDict["mediaConfig"], "\Microsoft\Graph\Model\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 The mediaState - */ - public function getMediaState() - { - if (array_key_exists("mediaState", $this->_propDict)) { - if (is_a($this->_propDict["mediaState"], "\Microsoft\Graph\Model\CallMediaState")) { - 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 The meetingInfo - */ - public function getMeetingInfo() - { - if (array_key_exists("meetingInfo", $this->_propDict)) { - if (is_a($this->_propDict["meetingInfo"], "\Microsoft\Graph\Model\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 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 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 The resultInfo - */ - public function getResultInfo() - { - if (array_key_exists("resultInfo", $this->_propDict)) { - if (is_a($this->_propDict["resultInfo"], "\Microsoft\Graph\Model\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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\ParticipantInfo")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\CallState")) { - 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 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 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 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 The toneInfo - */ - public function getToneInfo() - { - if (array_key_exists("toneInfo", $this->_propDict)) { - if (is_a($this->_propDict["toneInfo"], "\Microsoft\Graph\Model\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 The transcription - */ - public function getTranscription() - { - if (array_key_exists("transcription", $this->_propDict)) { - if (is_a($this->_propDict["transcription"], "\Microsoft\Graph\Model\CallTranscriptionInfo")) { - 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 operations - * Read-only. Nullable. - * - * @return array 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 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 deleted file mode 100644 index 2e1bff16..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CallDirection.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["audio"], "\Microsoft\Graph\Model\MediaState")) { - 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 deleted file mode 100644 index de309b59..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CallOptions.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["final"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The original - */ - public function getOriginal() - { - if (array_key_exists("original", $this->_propDict)) { - if (is_a($this->_propDict["original"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The routingType - */ - public function getRoutingType() - { - if (array_key_exists("routingType", $this->_propDict)) { - if (is_a($this->_propDict["routingType"], "\Microsoft\Graph\Model\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/CallState.php b/vendor/microsoft/microsoft-graph/src/Model/CallState.php deleted file mode 100644 index 29e8cb05..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CallState.php +++ /dev/null @@ -1,42 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\CallTranscriptionState")) { - 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 deleted file mode 100644 index 26204072..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CallTranscriptionState.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["certificate"]; - } else { - $this->_propDict["certificate"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 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 deleted file mode 100644 index 72921861..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CertificateBasedAuthConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index f941066a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CertificationControl.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 53bb37fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChangeNotification.php +++ /dev/null @@ -1,331 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["changeType"], "\Microsoft\Graph\Model\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 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 The encryptedContent - */ - public function getEncryptedContent() - { - if (array_key_exists("encryptedContent", $this->_propDict)) { - if (is_a($this->_propDict["encryptedContent"], "\Microsoft\Graph\Model\ChangeNotificationEncryptedContent")) { - 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 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, removed, reauthorizationRequired. - * - * @return LifecycleEventType The lifecycleEvent - */ - public function getLifecycleEvent() - { - if (array_key_exists("lifecycleEvent", $this->_propDict)) { - if (is_a($this->_propDict["lifecycleEvent"], "\Microsoft\Graph\Model\LifecycleEventType")) { - 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, removed, reauthorizationRequired. - * - * @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 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. Required. - * - * @return ResourceData The resourceData - */ - public function getResourceData() - { - if (array_key_exists("resourceData", $this->_propDict)) { - if (is_a($this->_propDict["resourceData"], "\Microsoft\Graph\Model\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. Required. - * - * @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 The subscriptionExpirationDateTime - */ - public function getSubscriptionExpirationDateTime() - { - if (array_key_exists("subscriptionExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["subscriptionExpirationDateTime"], "\DateTime")) { - 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index edc4fa5a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationCollection.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\ChangeNotification")) { - 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 deleted file mode 100644 index b8a9cced..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChangeNotificationEncryptedContent.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index d744b6af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChangeTrackedEntity.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 8d9a70f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChangeType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 cannot be changed. Default: standard. - * - * @return ChannelMembershipType The membershipType - */ - public function getMembershipType() - { - if (array_key_exists("membershipType", $this->_propDict)) { - if (is_a($this->_propDict["membershipType"], "\Microsoft\Graph\Model\ChannelMembershipType")) { - 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 cannot be changed. Default: standard. - * - * @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 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 The filesFolder - */ - public function getFilesFolder() - { - if (array_key_exists("filesFolder", $this->_propDict)) { - if (is_a($this->_propDict["filesFolder"], "\Microsoft\Graph\Model\DriveItem")) { - 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 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 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 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/ChannelIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/ChannelIdentity.php deleted file mode 100644 index d338d070..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChannelIdentity.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1805243f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChannelMembershipType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["chatType"], "\Microsoft\Graph\Model\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 and meeting. - * - * @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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 topic - * (Optional) Subject or topic for the chat. Only available for group chats. - * - * @return string 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 installedApps - * A collection of all the apps in the chat. Nullable. - * - * @return array 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 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 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 - * - * @return array The tabs - */ - public function getTabs() - { - if (array_key_exists("tabs", $this->_propDict)) { - return $this->_propDict["tabs"]; - } else { - return null; - } - } - - /** - * Sets the tabs - * - * @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 deleted file mode 100644 index a37017e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatInfo.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 61a1e1a1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessage.php +++ /dev/null @@ -1,710 +0,0 @@ -_propDict)) { - return $this->_propDict["attachments"]; - } else { - return null; - } - } - - /** - * Sets the attachments - * Attached files. Attachments are currently read-only – sending attachments is not supported. - * - * @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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody")) { - 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 The channelIdentity - */ - public function getChannelIdentity() - { - if (array_key_exists("channelIdentity", $this->_propDict)) { - if (is_a($this->_propDict["channelIdentity"], "\Microsoft\Graph\Model\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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The deletedDateTime - */ - public function getDeletedDateTime() - { - if (array_key_exists("deletedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["deletedDateTime"], "\DateTime")) { - 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 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 from - * Read only. Details of the sender of the chat message. - * - * @return IdentitySet The from - */ - public function getFrom() - { - if (array_key_exists("from", $this->_propDict)) { - if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["from"]; - } else { - $this->_propDict["from"] = new IdentitySet($this->_propDict["from"]); - return $this->_propDict["from"]; - } - } - return null; - } - - /** - * Sets the from - * Read only. Details of the sender of the chat message. - * - * @param IdentitySet $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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\ChatMessageImportance")) { - 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 The lastEditedDateTime - */ - public function getLastEditedDateTime() - { - if (array_key_exists("lastEditedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastEditedDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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. Currently supports user, bot, team, channel. - * - * @return array 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. Currently supports user, bot, team, channel. - * - * @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. - * - * @return ChatMessageType The messageType - */ - public function getMessageType() - { - if (array_key_exists("messageType", $this->_propDict)) { - if (is_a($this->_propDict["messageType"], "\Microsoft\Graph\Model\ChatMessageType")) { - 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. - * - * @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 The policyViolation - */ - public function getPolicyViolation() - { - if (array_key_exists("policyViolation", $this->_propDict)) { - if (is_a($this->_propDict["policyViolation"], "\Microsoft\Graph\Model\ChatMessagePolicyViolation")) { - 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 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 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 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 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 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 e.g. images, code snippets etc. - * - * @return array 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 e.g. images, code snippets etc. - * - * @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. - * - * @return array 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. - * - * @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 deleted file mode 100644 index 72e12aae..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageAttachment.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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/ChatMessageHostedContent.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageHostedContent.php deleted file mode 100644 index 75d13792..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageHostedContent.php +++ /dev/null @@ -1,27 +0,0 @@ -_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. If it was a channel or team that was @mentioned, the identitySet contains a conversation property giving the ID of the team/channel, and a conversationIdentityType property that represents either the team or channel. - * - * @return IdentitySet The mentioned - */ - public function getMentioned() - { - if (array_key_exists("mentioned", $this->_propDict)) { - if (is_a($this->_propDict["mentioned"], "\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["mentioned"]; - } else { - $this->_propDict["mentioned"] = new IdentitySet($this->_propDict["mentioned"]); - return $this->_propDict["mentioned"]; - } - } - return null; - } - - /** - * Sets the mentioned - * The entity (user, application, team, or channel) that was mentioned. If it was a channel or team that was @mentioned, the identitySet contains a conversation property giving the ID of the team/channel, and a conversationIdentityType property that represents either the team or channel. - * - * @param IdentitySet $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 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/ChatMessagePolicyViolation.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolation.php deleted file mode 100644 index 91063bcb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolation.php +++ /dev/null @@ -1,186 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["dlpAction"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationDlpActionTypes")) { - 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 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 The policyTip - */ - public function getPolicyTip() - { - if (array_key_exists("policyTip", $this->_propDict)) { - if (is_a($this->_propDict["policyTip"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationPolicyTip")) { - 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 The userAction - */ - public function getUserAction() - { - if (array_key_exists("userAction", $this->_propDict)) { - if (is_a($this->_propDict["userAction"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationUserActionTypes")) { - 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 The verdictDetails - */ - public function getVerdictDetails() - { - if (array_key_exists("verdictDetails", $this->_propDict)) { - if (is_a($this->_propDict["verdictDetails"], "\Microsoft\Graph\Model\ChatMessagePolicyViolationVerdictDetailsTypes")) { - 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 deleted file mode 100644 index fc058ac2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationDlpActionTypes.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index a80d6182..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessagePolicyViolationUserActionTypes.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 IdentitySet The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["user"]; - } else { - $this->_propDict["user"] = new IdentitySet($this->_propDict["user"]); - return $this->_propDict["user"]; - } - } - return null; - } - - /** - * Sets the user - * The user who reacted to the message. - * - * @param IdentitySet $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/ChatMessageType.php b/vendor/microsoft/microsoft-graph/src/Model/ChatMessageType.php deleted file mode 100644 index fbfba3b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ChatMessageType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 48a627cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ClaimsMappingPolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["cloudAppSecurityType"], "\Microsoft\Graph\Model\CloudAppSecuritySessionControlType")) { - 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. Learn more about these values here: https://docs.microsoft.com/cloud-app-security/proxy-deployment-aad#step-1-create-an-azure-ad-conditional-access-test-policy- - * - * @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 deleted file mode 100644 index 1841ac5d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CloudAppSecuritySessionControlType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 40691e60..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CloudCommunications.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 448be4d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ColumnDefinition.php +++ /dev/null @@ -1,651 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["boolean"], "\Microsoft\Graph\Model\BooleanColumn")) { - 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 The calculated - */ - public function getCalculated() - { - if (array_key_exists("calculated", $this->_propDict)) { - if (is_a($this->_propDict["calculated"], "\Microsoft\Graph\Model\CalculatedColumn")) { - 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 The choice - */ - public function getChoice() - { - if (array_key_exists("choice", $this->_propDict)) { - if (is_a($this->_propDict["choice"], "\Microsoft\Graph\Model\ChoiceColumn")) { - 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 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 currency - * This column stores currency values. - * - * @return CurrencyColumn The currency - */ - public function getCurrency() - { - if (array_key_exists("currency", $this->_propDict)) { - if (is_a($this->_propDict["currency"], "\Microsoft\Graph\Model\CurrencyColumn")) { - 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 The dateTime - */ - public function getDateTime() - { - if (array_key_exists("dateTime", $this->_propDict)) { - if (is_a($this->_propDict["dateTime"], "\Microsoft\Graph\Model\DateTimeColumn")) { - 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 The defaultValue - */ - public function getDefaultValue() - { - if (array_key_exists("defaultValue", $this->_propDict)) { - if (is_a($this->_propDict["defaultValue"], "\Microsoft\Graph\Model\DefaultColumnValue")) { - 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 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 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 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 The geolocation - */ - public function getGeolocation() - { - if (array_key_exists("geolocation", $this->_propDict)) { - if (is_a($this->_propDict["geolocation"], "\Microsoft\Graph\Model\GeolocationColumn")) { - 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 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 indexed - * Specifies whether the column values can used for sorting and searching. - * - * @return bool 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 lookup - * This column's data is looked up from another source in the site. - * - * @return LookupColumn The lookup - */ - public function getLookup() - { - if (array_key_exists("lookup", $this->_propDict)) { - if (is_a($this->_propDict["lookup"], "\Microsoft\Graph\Model\LookupColumn")) { - 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 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 The number - */ - public function getNumber() - { - if (array_key_exists("number", $this->_propDict)) { - if (is_a($this->_propDict["number"], "\Microsoft\Graph\Model\NumberColumn")) { - 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 The personOrGroup - */ - public function getPersonOrGroup() - { - if (array_key_exists("personOrGroup", $this->_propDict)) { - if (is_a($this->_propDict["personOrGroup"], "\Microsoft\Graph\Model\PersonOrGroupColumn")) { - 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 readOnly - * Specifies whether the column values can be modified. - * - * @return bool 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 is not optional. - * - * @return bool 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 is not optional. - * - * @param bool $val The required - * - * @return ColumnDefinition - */ - public function setRequired($val) - { - $this->_propDict["required"] = boolval($val); - return $this; - } - - /** - * Gets the text - * This column stores text values. - * - * @return TextColumn The text - */ - public function getText() - { - if (array_key_exists("text", $this->_propDict)) { - if (is_a($this->_propDict["text"], "\Microsoft\Graph\Model\TextColumn")) { - 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; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php b/vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php deleted file mode 100644 index e3a630e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ColumnLink.php +++ /dev/null @@ -1,56 +0,0 @@ -_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/CommsNotification.php b/vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php deleted file mode 100644 index 80efdcbe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CommsNotification.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["changeType"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 00997ffd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CommsNotifications.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\CommsNotification")) { - 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 deleted file mode 100644 index 6c783655..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CommsOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -_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 The resultInfo - */ - public function getResultInfo() - { - if (array_key_exists("resultInfo", $this->_propDict)) { - if (is_a($this->_propDict["resultInfo"], "\Microsoft\Graph\Model\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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\OperationStatus")) { - 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 deleted file mode 100644 index c0ee8960..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ComplexExtensionValue.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificationControls"], "\Microsoft\Graph\Model\CertificationControl")) { - 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 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 deleted file mode 100644 index bf053eda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartner.php +++ /dev/null @@ -1,299 +0,0 @@ -_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 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 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 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 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 The lastHeartbeatDateTime - */ - public function getLastHeartbeatDateTime() - { - if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime")) { - 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 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 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 The partnerState - */ - public function getPartnerState() - { - if (array_key_exists("partnerState", $this->_propDict)) { - if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\DeviceManagementPartnerTenantState")) { - 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 deleted file mode 100644 index 43dabbc0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ComplianceManagementPartnerAssignment.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index b8cd39a3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ComplianceState.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 includeUserActions - * User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice - * - * @return string 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 deleted file mode 100644 index c5b7d9ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessClientApp.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applications"], "\Microsoft\Graph\Model\ConditionalAccessApplications")) { - 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 clientAppTypes - * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. - * - * @return ConditionalAccessClientApp The clientAppTypes - */ - public function getClientAppTypes() - { - if (array_key_exists("clientAppTypes", $this->_propDict)) { - if (is_a($this->_propDict["clientAppTypes"], "\Microsoft\Graph\Model\ConditionalAccessClientApp")) { - 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 locations - * Locations included in and excluded from the policy. - * - * @return ConditionalAccessLocations The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - if (is_a($this->_propDict["locations"], "\Microsoft\Graph\Model\ConditionalAccessLocations")) { - 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 The platforms - */ - public function getPlatforms() - { - if (array_key_exists("platforms", $this->_propDict)) { - if (is_a($this->_propDict["platforms"], "\Microsoft\Graph\Model\ConditionalAccessPlatforms")) { - 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 The signInRiskLevels - */ - public function getSignInRiskLevels() - { - if (array_key_exists("signInRiskLevels", $this->_propDict)) { - if (is_a($this->_propDict["signInRiskLevels"], "\Microsoft\Graph\Model\RiskLevel")) { - 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 The userRiskLevels - */ - public function getUserRiskLevels() - { - if (array_key_exists("userRiskLevels", $this->_propDict)) { - if (is_a($this->_propDict["userRiskLevels"], "\Microsoft\Graph\Model\RiskLevel")) { - 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. Required. - * - * @return ConditionalAccessUsers The users - */ - public function getUsers() - { - if (array_key_exists("users", $this->_propDict)) { - if (is_a($this->_propDict["users"], "\Microsoft\Graph\Model\ConditionalAccessUsers")) { - 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. 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 deleted file mode 100644 index 212bce0b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessDevicePlatform.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["builtInControls"], "\Microsoft\Graph\Model\ConditionalAccessGrantControl")) { - 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. Learn more about custom controls here: https://docs.microsoft.com/azure/active-directory/conditional-access/controls#custom-controls-preview - * - * @return string 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. Learn more about custom controls here: https://docs.microsoft.com/azure/active-directory/conditional-access/controls#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 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 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 deleted file mode 100644 index eeb85543..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessLocations.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 5a7ab0dc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPlatforms.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["excludePlatforms"], "\Microsoft\Graph\Model\ConditionalAccessDevicePlatform")) { - 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. - * - * @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. - * - * @return ConditionalAccessDevicePlatform The includePlatforms - */ - public function getIncludePlatforms() - { - if (array_key_exists("includePlatforms", $this->_propDict)) { - if (is_a($this->_propDict["includePlatforms"], "\Microsoft\Graph\Model\ConditionalAccessDevicePlatform")) { - 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. - * - * @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 deleted file mode 100644 index 0aeed5e8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicy.php +++ /dev/null @@ -1,283 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["conditions"], "\Microsoft\Graph\Model\ConditionalAccessConditionSet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The grantControls - */ - public function getGrantControls() - { - if (array_key_exists("grantControls", $this->_propDict)) { - if (is_a($this->_propDict["grantControls"], "\Microsoft\Graph\Model\ConditionalAccessGrantControls")) { - 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 The sessionControls - */ - public function getSessionControls() - { - if (array_key_exists("sessionControls", $this->_propDict)) { - if (is_a($this->_propDict["sessionControls"], "\Microsoft\Graph\Model\ConditionalAccessSessionControls")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ConditionalAccessPolicyState")) { - 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 deleted file mode 100644 index c63f8035..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessPolicyState.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - return $this->_propDict["namedLocations"]; - } else { - return null; - } - } - - /** - * Sets the namedLocations - * - * @param NamedLocation $val The namedLocations - * - * @return ConditionalAccessRoot - */ - public function setNamedLocations($val) - { - $this->_propDict["namedLocations"] = $val; - return $this; - } - - - /** - * Gets the policies - * - * @return array The policies - */ - public function getPolicies() - { - if (array_key_exists("policies", $this->_propDict)) { - return $this->_propDict["policies"]; - } else { - return null; - } - } - - /** - * Sets the 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 deleted file mode 100644 index 6c2e037e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControl.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 84f71303..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessSessionControls.php +++ /dev/null @@ -1,158 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicationEnforcedRestrictions"], "\Microsoft\Graph\Model\ApplicationEnforcedRestrictionsSessionControl")) { - 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 The cloudAppSecurity - */ - public function getCloudAppSecurity() - { - if (array_key_exists("cloudAppSecurity", $this->_propDict)) { - if (is_a($this->_propDict["cloudAppSecurity"], "\Microsoft\Graph\Model\CloudAppSecuritySessionControl")) { - 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 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 The persistentBrowser - */ - public function getPersistentBrowser() - { - if (array_key_exists("persistentBrowser", $this->_propDict)) { - if (is_a($this->_propDict["persistentBrowser"], "\Microsoft\Graph\Model\PersistentBrowserSessionControl")) { - 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 The signInFrequency - */ - public function getSignInFrequency() - { - if (array_key_exists("signInFrequency", $this->_propDict)) { - if (is_a($this->_propDict["signInFrequency"], "\Microsoft\Graph\Model\SignInFrequencySessionControl")) { - 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 deleted file mode 100644 index 7a00587d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConditionalAccessStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index a25351b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConfigurationManagerClientEnabledFeatures.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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/ConnectionDirection.php b/vendor/microsoft/microsoft-graph/src/Model/ConnectionDirection.php deleted file mode 100644 index 96ef00ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConnectionDirection.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The birthday - */ - public function getBirthday() - { - if (array_key_exists("birthday", $this->_propDict)) { - if (is_a($this->_propDict["birthday"], "\DateTime")) { - 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 The businessAddress - */ - public function getBusinessAddress() - { - if (array_key_exists("businessAddress", $this->_propDict)) { - if (is_a($this->_propDict["businessAddress"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 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 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 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 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 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 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 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 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 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 The homeAddress - */ - public function getHomeAddress() - { - if (array_key_exists("homeAddress", $this->_propDict)) { - if (is_a($this->_propDict["homeAddress"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 - * The contact's instant messaging (IM) addresses. - * - * @return string The imAddresses - */ - public function getImAddresses() - { - if (array_key_exists("imAddresses", $this->_propDict)) { - return $this->_propDict["imAddresses"]; - } else { - return null; - } - } - - /** - * Sets the imAddresses - * The contact's instant messaging (IM) addresses. - * - * @param string $val The imAddresses - * - * @return Contact - */ - public function setImAddresses($val) - { - $this->_propDict["imAddresses"] = $val; - return $this; - } - - /** - * Gets the initials - * The contact's initials. - * - * @return string The initials - */ - public function getInitials() - { - if (array_key_exists("initials", $this->_propDict)) { - return $this->_propDict["initials"]; - } else { - return null; - } - } - - /** - * Sets the initials - * The contact's initials. - * - * @param string $val The initials - * - * @return Contact - */ - public function setInitials($val) - { - $this->_propDict["initials"] = $val; - return $this; - } - - /** - * Gets the jobTitle - * The contact’s job title. - * - * @return string The jobTitle - */ - public function getJobTitle() - { - if (array_key_exists("jobTitle", $this->_propDict)) { - return $this->_propDict["jobTitle"]; - } else { - return null; - } - } - - /** - * Sets the jobTitle - * The contact’s job title. - * - * @param string $val The jobTitle - * - * @return Contact - */ - public function setJobTitle($val) - { - $this->_propDict["jobTitle"] = $val; - return $this; - } - - /** - * Gets the manager - * The name of the contact's manager. - * - * @return string The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - return $this->_propDict["manager"]; - } else { - return null; - } - } - - /** - * Sets the manager - * The name of the contact's manager. - * - * @param string $val The manager - * - * @return Contact - */ - public function setManager($val) - { - $this->_propDict["manager"] = $val; - return $this; - } - - /** - * Gets the middleName - * The contact's middle name. - * - * @return string The middleName - */ - public function getMiddleName() - { - if (array_key_exists("middleName", $this->_propDict)) { - return $this->_propDict["middleName"]; - } else { - return null; - } - } - - /** - * Sets the middleName - * The contact's middle name. - * - * @param string $val The middleName - * - * @return Contact - */ - public function setMiddleName($val) - { - $this->_propDict["middleName"] = $val; - return $this; - } - - /** - * Gets the mobilePhone - * The contact's mobile phone number. - * - * @return string The mobilePhone - */ - public function getMobilePhone() - { - if (array_key_exists("mobilePhone", $this->_propDict)) { - return $this->_propDict["mobilePhone"]; - } else { - return null; - } - } - - /** - * Sets the mobilePhone - * The contact's mobile phone number. - * - * @param string $val The mobilePhone - * - * @return Contact - */ - public function setMobilePhone($val) - { - $this->_propDict["mobilePhone"] = $val; - return $this; - } - - /** - * Gets the nickName - * The contact's nickname. - * - * @return string The nickName - */ - public function getNickName() - { - if (array_key_exists("nickName", $this->_propDict)) { - return $this->_propDict["nickName"]; - } else { - return null; - } - } - - /** - * Sets the nickName - * The contact's nickname. - * - * @param string $val The nickName - * - * @return Contact - */ - public function setNickName($val) - { - $this->_propDict["nickName"] = $val; - return $this; - } - - /** - * Gets the officeLocation - * The location of the contact's office. - * - * @return string 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 contact's office. - * - * @param string $val The officeLocation - * - * @return Contact - */ - public function setOfficeLocation($val) - { - $this->_propDict["officeLocation"] = $val; - return $this; - } - - /** - * Gets the otherAddress - * Other addresses for the contact. - * - * @return PhysicalAddress The otherAddress - */ - public function getOtherAddress() - { - if (array_key_exists("otherAddress", $this->_propDict)) { - if (is_a($this->_propDict["otherAddress"], "\Microsoft\Graph\Model\PhysicalAddress")) { - return $this->_propDict["otherAddress"]; - } else { - $this->_propDict["otherAddress"] = new PhysicalAddress($this->_propDict["otherAddress"]); - return $this->_propDict["otherAddress"]; - } - } - return null; - } - - /** - * Sets the otherAddress - * Other addresses for the contact. - * - * @param PhysicalAddress $val The otherAddress - * - * @return Contact - */ - public function setOtherAddress($val) - { - $this->_propDict["otherAddress"] = $val; - return $this; - } - - /** - * Gets the parentFolderId - * The ID of the contact's parent folder. - * - * @return string 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 contact's parent folder. - * - * @param string $val The parentFolderId - * - * @return Contact - */ - public function setParentFolderId($val) - { - $this->_propDict["parentFolderId"] = $val; - return $this; - } - - /** - * Gets the personalNotes - * The user's notes about the contact. - * - * @return string The personalNotes - */ - public function getPersonalNotes() - { - if (array_key_exists("personalNotes", $this->_propDict)) { - return $this->_propDict["personalNotes"]; - } else { - return null; - } - } - - /** - * Sets the personalNotes - * The user's notes about the contact. - * - * @param string $val The personalNotes - * - * @return Contact - */ - public function setPersonalNotes($val) - { - $this->_propDict["personalNotes"] = $val; - return $this; - } - - /** - * Gets the profession - * The contact's profession. - * - * @return string The profession - */ - public function getProfession() - { - if (array_key_exists("profession", $this->_propDict)) { - return $this->_propDict["profession"]; - } else { - return null; - } - } - - /** - * Sets the profession - * The contact's profession. - * - * @param string $val The profession - * - * @return Contact - */ - public function setProfession($val) - { - $this->_propDict["profession"] = $val; - return $this; - } - - /** - * Gets the spouseName - * The name of the contact's spouse/partner. - * - * @return string The spouseName - */ - public function getSpouseName() - { - if (array_key_exists("spouseName", $this->_propDict)) { - return $this->_propDict["spouseName"]; - } else { - return null; - } - } - - /** - * Sets the spouseName - * The name of the contact's spouse/partner. - * - * @param string $val The spouseName - * - * @return Contact - */ - public function setSpouseName($val) - { - $this->_propDict["spouseName"] = $val; - return $this; - } - - /** - * Gets the surname - * The contact's surname. - * - * @return string The surname - */ - public function getSurname() - { - if (array_key_exists("surname", $this->_propDict)) { - return $this->_propDict["surname"]; - } else { - return null; - } - } - - /** - * Sets the surname - * The contact's surname. - * - * @param string $val The surname - * - * @return Contact - */ - public function setSurname($val) - { - $this->_propDict["surname"] = $val; - return $this; - } - - /** - * Gets the title - * The contact's title. - * - * @return string The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - return $this->_propDict["title"]; - } else { - return null; - } - } - - /** - * Sets the title - * The contact's title. - * - * @param string $val The title - * - * @return Contact - */ - public function setTitle($val) - { - $this->_propDict["title"] = $val; - return $this; - } - - /** - * Gets the yomiCompanyName - * The phonetic Japanese company name of the contact. - * - * @return string The yomiCompanyName - */ - public function getYomiCompanyName() - { - if (array_key_exists("yomiCompanyName", $this->_propDict)) { - return $this->_propDict["yomiCompanyName"]; - } else { - return null; - } - } - - /** - * Sets the yomiCompanyName - * The phonetic Japanese company name of the contact. - * - * @param string $val The yomiCompanyName - * - * @return Contact - */ - public function setYomiCompanyName($val) - { - $this->_propDict["yomiCompanyName"] = $val; - return $this; - } - - /** - * Gets the yomiGivenName - * The phonetic Japanese given name (first name) of the contact. - * - * @return string The yomiGivenName - */ - public function getYomiGivenName() - { - if (array_key_exists("yomiGivenName", $this->_propDict)) { - return $this->_propDict["yomiGivenName"]; - } else { - return null; - } - } - - /** - * Sets the yomiGivenName - * The phonetic Japanese given name (first name) of the contact. - * - * @param string $val The yomiGivenName - * - * @return Contact - */ - public function setYomiGivenName($val) - { - $this->_propDict["yomiGivenName"] = $val; - return $this; - } - - /** - * Gets the yomiSurname - * The phonetic Japanese surname (last name) of the contact. - * - * @return string The yomiSurname - */ - public function getYomiSurname() - { - if (array_key_exists("yomiSurname", $this->_propDict)) { - return $this->_propDict["yomiSurname"]; - } else { - return null; - } - } - - /** - * Sets the yomiSurname - * The phonetic Japanese surname (last name) of the contact. - * - * @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 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 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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\ProfilePhoto")) { - 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 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 deleted file mode 100644 index 876e43fe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ContactFolder.php +++ /dev/null @@ -1,205 +0,0 @@ -_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 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 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 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 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 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/ContentType.php b/vendor/microsoft/microsoft-graph/src/Model/ContentType.php deleted file mode 100644 index 6c2a670c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ContentType.php +++ /dev/null @@ -1,326 +0,0 @@ -_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 group - * The name of the group this content type belongs to. Helps organize related content types. - * - * @return string 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 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 The inheritedFrom - */ - public function getInheritedFrom() - { - if (array_key_exists("inheritedFrom", $this->_propDict)) { - if (is_a($this->_propDict["inheritedFrom"], "\Microsoft\Graph\Model\ItemReference")) { - 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 name - * The name of the content type. - * - * @return string 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 The order - */ - public function getOrder() - { - if (array_key_exists("order", $this->_propDict)) { - if (is_a($this->_propDict["order"], "\Microsoft\Graph\Model\ContentTypeOrder")) { - 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 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 readOnly - * If true, the content type cannot be modified unless this value is first set to false. - * - * @return bool 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 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 columnLinks - * The collection of columns that are required by this content type - * - * @return array 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; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php b/vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php deleted file mode 100644 index a5c4f293..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ContentTypeInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c5e89eed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ContentTypeOrder.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 5628c339..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Contract.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index f84d32e2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ControlScore.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 8e308329..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Conversation.php +++ /dev/null @@ -1,206 +0,0 @@ -_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. - * - * @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 - * - * @return \DateTime The lastDeliveredDateTime - */ - public function getLastDeliveredDateTime() - { - if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime")) { - 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 - * - * @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 converstaion. - * - * @return string 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 converstaion. - * - * @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 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 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 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 deleted file mode 100644 index b8703546..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConversationMember.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The visibleHistoryStartDateTime - */ - public function getVisibleHistoryStartDateTime() - { - if (array_key_exists("visibleHistoryStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["visibleHistoryStartDateTime"], "\DateTime")) { - 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/ConversationThread.php b/vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php deleted file mode 100644 index edc87feb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConversationThread.php +++ /dev/null @@ -1,295 +0,0 @@ -_propDict)) { - return $this->_propDict["ccRecipients"]; - } else { - return null; - } - } - - /** - * Sets the ccRecipients - * The Cc: recipients for the thread. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return bool 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. - * - * @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 - * - * @return \DateTime The lastDeliveredDateTime - */ - public function getLastDeliveredDateTime() - { - if (array_key_exists("lastDeliveredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastDeliveredDateTime"], "\DateTime")) { - 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 - * - * @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. - * - * @return string 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 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. - * - * @return string 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 ConversationThread - */ - public function setTopic($val) - { - $this->_propDict["topic"] = $val; - return $this; - } - - - /** - * Gets the toRecipients - * The To: recipients for the thread. - * - * @return array 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. - * - * @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. - * - * @return string 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. - * - * @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 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 deleted file mode 100644 index 2cec3444..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ConvertIdResult.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["errorDetails"], "\Microsoft\Graph\Model\GenericError")) { - 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 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 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 deleted file mode 100644 index 8c0a4eb2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CopyNotebookModel.php +++ /dev/null @@ -1,446 +0,0 @@ -_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 The createdByIdentity - */ - public function getCreatedByIdentity() - { - if (array_key_exists("createdByIdentity", $this->_propDict)) { - if (is_a($this->_propDict["createdByIdentity"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdTime - */ - public function getCreatedTime() - { - if (array_key_exists("createdTime", $this->_propDict)) { - if (is_a($this->_propDict["createdTime"], "\DateTime")) { - 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 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 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 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 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 The lastModifiedByIdentity - */ - public function getLastModifiedByIdentity() - { - if (array_key_exists("lastModifiedByIdentity", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedByIdentity"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedTime - */ - public function getLastModifiedTime() - { - if (array_key_exists("lastModifiedTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedTime"], "\DateTime")) { - 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\NotebookLinks")) { - 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 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 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 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 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 The userRole - */ - public function getUserRole() - { - if (array_key_exists("userRole", $this->_propDict)) { - if (is_a($this->_propDict["userRole"], "\Microsoft\Graph\Model\OnenoteUserRole")) { - 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/CountryNamedLocation.php b/vendor/microsoft/microsoft-graph/src/Model/CountryNamedLocation.php deleted file mode 100644 index 4ad87a72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CountryNamedLocation.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 includeUnknownCountriesAndRegions - * True if IP addresses that don't map to a country or region should be included in the named location. - * - * @return bool 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. - * - * @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 deleted file mode 100644 index 1707b2e3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CurrencyColumn.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 965f6062..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/CustomTimeZone.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The daylightOffset - */ - public function getDaylightOffset() - { - if (array_key_exists("daylightOffset", $this->_propDict)) { - if (is_a($this->_propDict["daylightOffset"], "\Microsoft\Graph\Model\DaylightTimeZoneOffset")) { - 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 The standardOffset - */ - public function getStandardOffset() - { - if (array_key_exists("standardOffset", $this->_propDict)) { - if (is_a($this->_propDict["standardOffset"], "\Microsoft\Graph\Model\StandardTimeZoneOffset")) { - 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 deleted file mode 100644 index 0f612413..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperation.php +++ /dev/null @@ -1,213 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the status - * Possible values are: notStarted, running, complete, failed, unknownFutureValue. - * - * @return DataPolicyOperationStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\DataPolicyOperationStatus")) { - 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 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 The submittedDateTime - */ - public function getSubmittedDateTime() - { - if (array_key_exists("submittedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["submittedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index e08c85a6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DataPolicyOperationStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 deleted file mode 100644 index 56d36114..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DateTimeTimeZone.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 73829a80..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DayOfWeek.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 deleted file mode 100644 index 04c5f7b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DefaultColumnValue.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 2e3128ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DefaultManagedAppProtection.php +++ /dev/null @@ -1,385 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appDataEncryptionType"], "\Microsoft\Graph\Model\ManagedAppDataEncryptionType")) { - 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 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 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 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 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 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 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 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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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 deleted file mode 100644 index a88a8207..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DefaultUserRolePermissions.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 016b5ee4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DefenderCloudBlockLevelType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["highSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 The lowSeverity - */ - public function getLowSeverity() - { - if (array_key_exists("lowSeverity", $this->_propDict)) { - if (is_a($this->_propDict["lowSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 The moderateSeverity - */ - public function getModerateSeverity() - { - if (array_key_exists("moderateSeverity", $this->_propDict)) { - if (is_a($this->_propDict["moderateSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 The severeSeverity - */ - public function getSevereSeverity() - { - if (array_key_exists("severeSeverity", $this->_propDict)) { - if (is_a($this->_propDict["severeSeverity"], "\Microsoft\Graph\Model\DefenderThreatAction")) { - 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 deleted file mode 100644 index 73c4eb9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DefenderMonitorFileActivity.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classification"], "\Microsoft\Graph\Model\PermissionClassificationType")) { - 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 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 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 deleted file mode 100644 index 10d0d87c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeleteUserFromSharedAppleDeviceActionResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 901f1a3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Deleted.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 4f0ac0c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DetailsInfo.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 9f0deaac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Device.php +++ /dev/null @@ -1,739 +0,0 @@ -_propDict)) { - return $this->_propDict["accountEnabled"]; - } else { - return null; - } - } - - /** - * Sets the accountEnabled - * true if the account is enabled; otherwise, false. default is true. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return \DateTime The approximateLastSignInDateTime - */ - public function getApproximateLastSignInDateTime() - { - if (array_key_exists("approximateLastSignInDateTime", $this->_propDict)) { - if (is_a($this->_propDict["approximateLastSignInDateTime"], "\DateTime")) { - 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. - * - * @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 The complianceExpirationDateTime - */ - public function getComplianceExpirationDateTime() - { - if (array_key_exists("complianceExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["complianceExpirationDateTime"], "\DateTime")) { - 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. - * - * @return string 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. - * - * @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 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 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. - * - * @return string 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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. - * - * @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. - * - * @return bool 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return string 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. - * - * @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 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 that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. - * - * @return array 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 group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @param DirectoryObject $val The registeredUsers - * - * @return Device - */ - public function setRegisteredUsers($val) - { - $this->_propDict["registeredUsers"] = $val; - return $this; - } - - - /** - * Gets the transitiveMemberOf - * - * @return array 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 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 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 deleted file mode 100644 index 78e86589..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceActionResult.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The actionState - */ - public function getActionState() - { - if (array_key_exists("actionState", $this->_propDict)) { - if (is_a($this->_propDict["actionState"], "\Microsoft\Graph\Model\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 The lastUpdatedDateTime - */ - public function getLastUpdatedDateTime() - { - if (array_key_exists("lastUpdatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdatedDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 1f236327..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementAssignmentTarget.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index 12230c06..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceAndAppManagementRoleDefinition.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 The microsoftStoreForBusinessLastCompletedApplicationSyncTime - */ - public function getMicrosoftStoreForBusinessLastCompletedApplicationSyncTime() - { - if (array_key_exists("microsoftStoreForBusinessLastCompletedApplicationSyncTime", $this->_propDict)) { - if (is_a($this->_propDict["microsoftStoreForBusinessLastCompletedApplicationSyncTime"], "\DateTime")) { - 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 The microsoftStoreForBusinessLastSuccessfulSyncDateTime - */ - public function getMicrosoftStoreForBusinessLastSuccessfulSyncDateTime() - { - if (array_key_exists("microsoftStoreForBusinessLastSuccessfulSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["microsoftStoreForBusinessLastSuccessfulSyncDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 30ca38f7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCategory.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index f53ec689..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionItem.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actionType"], "\Microsoft\Graph\Model\DeviceComplianceActionType")) { - 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 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 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 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 deleted file mode 100644 index 5e89580c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceActionType.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index d7b8e250..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceDeviceStatus.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index b9bbcd2f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicy.php +++ /dev/null @@ -1,396 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 The deviceStatusOverview - */ - public function getDeviceStatusOverview() - { - if (array_key_exists("deviceStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["deviceStatusOverview"], "\Microsoft\Graph\Model\DeviceComplianceDeviceOverview")) { - 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 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 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 The userStatusOverview - */ - public function getUserStatusOverview() - { - if (array_key_exists("userStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["userStatusOverview"], "\Microsoft\Graph\Model\DeviceComplianceUserOverview")) { - 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 deleted file mode 100644 index a035213c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 118a19ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyDeviceStateSummary.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 91306b83..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingState.php +++ /dev/null @@ -1,372 +0,0 @@ -_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 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 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 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 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 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 The sources - */ - public function getSources() - { - if (array_key_exists("sources", $this->_propDict)) { - if (is_a($this->_propDict["sources"], "\Microsoft\Graph\Model\SettingSource")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 32913fa2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicySettingStateSummary.php +++ /dev/null @@ -1,351 +0,0 @@ -_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 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 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 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 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, all. - * - * @return PolicyPlatformType The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType")) { - 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, 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 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 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 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 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 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 deleted file mode 100644 index 8414a0f1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceCompliancePolicyState.php +++ /dev/null @@ -1,208 +0,0 @@ -_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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 deleted file mode 100644 index 9fbcd119..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceScheduledActionForRule.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 DeviceComplianceScheduledActionForRule - */ - public function setRuleName($val) - { - $this->_propDict["ruleName"] = $val; - return $this; - } - - - /** - * Gets the scheduledActionConfigurations - * The list of scheduled action configurations for this compliance policy. - * - * @return array 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. - * - * @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 deleted file mode 100644 index 4cde51a3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceSettingState.php +++ /dev/null @@ -1,354 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 1e0b3402..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserOverview.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 7899db97..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceComplianceUserStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index acb7e54e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfiguration.php +++ /dev/null @@ -1,366 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 The deviceStatusOverview - */ - public function getDeviceStatusOverview() - { - if (array_key_exists("deviceStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["deviceStatusOverview"], "\Microsoft\Graph\Model\DeviceConfigurationDeviceOverview")) { - 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 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 The userStatusOverview - */ - public function getUserStatusOverview() - { - if (array_key_exists("userStatusOverview", $this->_propDict)) { - if (is_a($this->_propDict["userStatusOverview"], "\Microsoft\Graph\Model\DeviceConfigurationUserOverview")) { - 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 deleted file mode 100644 index 4e84af02..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 23f9304c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceOverview.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index d5aa79c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStateSummary.php +++ /dev/null @@ -1,230 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 96e45fdb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationDeviceStatus.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index 02ddf6d9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationSettingState.php +++ /dev/null @@ -1,372 +0,0 @@ -_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 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 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 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 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 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 The sources - */ - public function getSources() - { - if (array_key_exists("sources", $this->_propDict)) { - if (is_a($this->_propDict["sources"], "\Microsoft\Graph\Model\SettingSource")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 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 deleted file mode 100644 index 830d30b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationState.php +++ /dev/null @@ -1,208 +0,0 @@ -_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 The platformType - */ - public function getPlatformType() - { - if (array_key_exists("platformType", $this->_propDict)) { - if (is_a($this->_propDict["platformType"], "\Microsoft\Graph\Model\PolicyPlatformType")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 deleted file mode 100644 index 73056c5e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserOverview.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 41173f9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceConfigurationUserStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index 5589d594..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceDetail.php +++ /dev/null @@ -1,222 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index e9cac290..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentConfiguration.php +++ /dev/null @@ -1,239 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 0cb7544d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentFailureReason.php +++ /dev/null @@ -1,44 +0,0 @@ -_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 deleted file mode 100644 index 5ddd7078..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestriction.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 0ecaa1ab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentPlatformRestrictionsConfiguration.php +++ /dev/null @@ -1,192 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["androidRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The iosRestriction - */ - public function getIosRestriction() - { - if (array_key_exists("iosRestriction", $this->_propDict)) { - if (is_a($this->_propDict["iosRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The macOSRestriction - */ - public function getMacOSRestriction() - { - if (array_key_exists("macOSRestriction", $this->_propDict)) { - if (is_a($this->_propDict["macOSRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The windowsMobileRestriction - */ - public function getWindowsMobileRestriction() - { - if (array_key_exists("windowsMobileRestriction", $this->_propDict)) { - if (is_a($this->_propDict["windowsMobileRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 The windowsRestriction - */ - public function getWindowsRestriction() - { - if (array_key_exists("windowsRestriction", $this->_propDict)) { - if (is_a($this->_propDict["windowsRestriction"], "\Microsoft\Graph\Model\DeviceEnrollmentPlatformRestriction")) { - 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 deleted file mode 100644 index 41d708f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceEnrollmentType.php +++ /dev/null @@ -1,42 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["enhancedBiometricsState"], "\Microsoft\Graph\Model\Enablement")) { - 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 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 The pinLowercaseCharactersUsage - */ - public function getPinLowercaseCharactersUsage() - { - if (array_key_exists("pinLowercaseCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinLowercaseCharactersUsage"], "\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) { - 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 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 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 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 The pinSpecialCharactersUsage - */ - public function getPinSpecialCharactersUsage() - { - if (array_key_exists("pinSpecialCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinSpecialCharactersUsage"], "\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) { - 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 The pinUppercaseCharactersUsage - */ - public function getPinUppercaseCharactersUsage() - { - if (array_key_exists("pinUppercaseCharactersUsage", $this->_propDict)) { - if (is_a($this->_propDict["pinUppercaseCharactersUsage"], "\Microsoft\Graph\Model\WindowsHelloForBusinessPinUsage")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\Enablement")) { - 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 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 deleted file mode 100644 index e7148477..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceExchangeAccessStateSummary.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 65638a9a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceGeoLocation.php +++ /dev/null @@ -1,255 +0,0 @@ -_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 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 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 The lastCollectedDateTime - */ - public function getLastCollectedDateTime() - { - if (array_key_exists("lastCollectedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastCollectedDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index ecc4bc94..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceHealthAttestationState.php +++ /dev/null @@ -1,927 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The issuedDateTime - */ - public function getIssuedDateTime() - { - if (array_key_exists("issuedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["issuedDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 14c322bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceInstallState.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 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 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 The installState - */ - public function getInstallState() - { - if (array_key_exists("installState", $this->_propDict)) { - if (is_a($this->_propDict["installState"], "\Microsoft\Graph\Model\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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 57e481e5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagement.php +++ /dev/null @@ -1,1013 +0,0 @@ -_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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\DeviceManagementSettings")) { - 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 The intuneBrand - */ - public function getIntuneBrand() - { - if (array_key_exists("intuneBrand", $this->_propDict)) { - if (is_a($this->_propDict["intuneBrand"], "\Microsoft\Graph\Model\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 The subscriptionState - */ - public function getSubscriptionState() - { - if (array_key_exists("subscriptionState", $this->_propDict)) { - if (is_a($this->_propDict["subscriptionState"], "\Microsoft\Graph\Model\DeviceManagementSubscriptionState")) { - 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 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 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 The deviceCompliancePolicyDeviceStateSummary - */ - public function getDeviceCompliancePolicyDeviceStateSummary() - { - if (array_key_exists("deviceCompliancePolicyDeviceStateSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceCompliancePolicyDeviceStateSummary"], "\Microsoft\Graph\Model\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 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 The deviceConfigurationDeviceStateSummaries - */ - public function getDeviceConfigurationDeviceStateSummaries() - { - if (array_key_exists("deviceConfigurationDeviceStateSummaries", $this->_propDict)) { - if (is_a($this->_propDict["deviceConfigurationDeviceStateSummaries"], "\Microsoft\Graph\Model\DeviceConfigurationDeviceStateSummary")) { - 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 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 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 The softwareUpdateStatusSummary - */ - public function getSoftwareUpdateStatusSummary() - { - if (array_key_exists("softwareUpdateStatusSummary", $this->_propDict)) { - if (is_a($this->_propDict["softwareUpdateStatusSummary"], "\Microsoft\Graph\Model\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 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 The conditionalAccessSettings - */ - public function getConditionalAccessSettings() - { - if (array_key_exists("conditionalAccessSettings", $this->_propDict)) { - if (is_a($this->_propDict["conditionalAccessSettings"], "\Microsoft\Graph\Model\OnPremisesConditionalAccessSettings")) { - 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 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 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 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 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 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 The applePushNotificationCertificate - */ - public function getApplePushNotificationCertificate() - { - if (array_key_exists("applePushNotificationCertificate", $this->_propDict)) { - if (is_a($this->_propDict["applePushNotificationCertificate"], "\Microsoft\Graph\Model\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 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 The managedDeviceOverview - */ - public function getManagedDeviceOverview() - { - if (array_key_exists("managedDeviceOverview", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceOverview"], "\Microsoft\Graph\Model\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 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 notificationMessageTemplates - * The Notification Message Templates. - * - * @return array 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 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 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 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 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 telecomExpenseManagementPartners - * The telecom expense management partners. - * - * @return array 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 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 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 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 deleted file mode 100644 index f97d67de..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeAccessState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The exchangeConnectorType - */ - public function getExchangeConnectorType() - { - if (array_key_exists("exchangeConnectorType", $this->_propDict)) { - if (is_a($this->_propDict["exchangeConnectorType"], "\Microsoft\Graph\Model\DeviceManagementExchangeConnectorType")) { - 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\DeviceManagementExchangeConnectorStatus")) { - 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 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 deleted file mode 100644 index c4bd5a4d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnectorStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 The lastHeartbeatDateTime - */ - public function getLastHeartbeatDateTime() - { - if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime")) { - 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 The partnerAppType - */ - public function getPartnerAppType() - { - if (array_key_exists("partnerAppType", $this->_propDict)) { - if (is_a($this->_propDict["partnerAppType"], "\Microsoft\Graph\Model\DeviceManagementPartnerAppType")) { - 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 The partnerState - */ - public function getPartnerState() - { - if (array_key_exists("partnerState", $this->_propDict)) { - if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\DeviceManagementPartnerTenantState")) { - 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 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 The whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime - */ - public function getWhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime() - { - if (array_key_exists("whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime", $this->_propDict)) { - if (is_a($this->_propDict["whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime"], "\DateTime")) { - 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 The whenPartnerDevicesWillBeRemovedDateTime - */ - public function getWhenPartnerDevicesWillBeRemovedDateTime() - { - if (array_key_exists("whenPartnerDevicesWillBeRemovedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["whenPartnerDevicesWillBeRemovedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 782952e1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementPartnerAppType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 deleted file mode 100644 index 4b7190ee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementSubscriptionState.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 The eventDateTime - */ - public function getEventDateTime() - { - if (array_key_exists("eventDateTime", $this->_propDict)) { - if (is_a($this->_propDict["eventDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index f37beb31..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceOperatingSystemSummary.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 76b44d89..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DeviceRegistrationState.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 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 deleted file mode 100644 index fec5b65b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DiagnosticDataSubmissionMode.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - return $this->_propDict["administrativeUnits"]; - } else { - return null; - } - } - - /** - * Sets the administrativeUnits - * - * @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 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; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/DirectoryAudit.php b/vendor/microsoft/microsoft-graph/src/Model/DirectoryAudit.php deleted file mode 100644 index 23919cfd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DirectoryAudit.php +++ /dev/null @@ -1,358 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 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 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 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 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 The initiatedBy - */ - public function getInitiatedBy() - { - if (array_key_exists("initiatedBy", $this->_propDict)) { - if (is_a($this->_propDict["initiatedBy"], "\Microsoft\Graph\Model\AuditActivityInitiator")) { - 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 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 - * - * @return string The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - return $this->_propDict["operationType"]; - } else { - return null; - } - } - - /** - * Sets the operationType - * - * @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 The result - */ - public function getResult() - { - if (array_key_exists("result", $this->_propDict)) { - if (is_a($this->_propDict["result"], "\Microsoft\Graph\Model\OperationResult")) { - 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 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 - * Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. - * - * @return array The targetResources - */ - public function getTargetResources() - { - if (array_key_exists("targetResources", $this->_propDict)) { - return $this->_propDict["targetResources"]; - } else { - return null; - } - } - - /** - * Sets the targetResources - * Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. - * - * @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 deleted file mode 100644 index 6eab46d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DirectoryObject.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deletedDateTime"], "\DateTime")) { - return $this->_propDict["deletedDateTime"]; - } else { - $this->_propDict["deletedDateTime"] = new \DateTime($this->_propDict["deletedDateTime"]); - return $this->_propDict["deletedDateTime"]; - } - } - return null; - } - - /** - * Sets the deletedDateTime - * - * @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 deleted file mode 100644 index 51c396f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DirectoryObjectPartnerReference.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index e0cc1d01..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DirectoryRole.php +++ /dev/null @@ -1,174 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * The description for the directory role. Read-only. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return array 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. - * - * @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 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 deleted file mode 100644 index e7aa2001..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DirectoryRoleTemplate.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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/Domain.php b/vendor/microsoft/microsoft-graph/src/Model/Domain.php deleted file mode 100644 index e043f37b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Domain.php +++ /dev/null @@ -1,494 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\DomainState")) { - 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 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 - * Read-only, Nullable - * - * @return array The domainNameReferences - */ - public function getDomainNameReferences() - { - if (array_key_exists("domainNameReferences", $this->_propDict)) { - return $this->_propDict["domainNameReferences"]; - } else { - return null; - } - } - - /** - * Sets the domainNameReferences - * Read-only, Nullable - * - * @param DirectoryObject $val The domainNameReferences - * - * @return Domain - */ - public function setDomainNameReferences($val) - { - $this->_propDict["domainNameReferences"] = $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 - * - * @return array 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 - * - * @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 - * - * @return array 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 - * - * @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 deleted file mode 100644 index e9fcfbe4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsCnameRecord.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 4b2a63d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsMxRecord.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 486e13f1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsRecord.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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, TxtKey - * - * @return string 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, TxtKey - * - * @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 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 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 deleted file mode 100644 index 8e767262..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsSrvRecord.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 4070c3ac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsTxtRecord.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 3e9c666b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainDnsUnavailableRecord.php +++ /dev/null @@ -1,56 +0,0 @@ -_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/DomainState.php b/vendor/microsoft/microsoft-graph/src/Model/DomainState.php deleted file mode 100644 index e4496290..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DomainState.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index e05d0c1d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Drive.php +++ /dev/null @@ -1,342 +0,0 @@ -_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 The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The quota - */ - public function getQuota() - { - if (array_key_exists("quota", $this->_propDict)) { - if (is_a($this->_propDict["quota"], "\Microsoft\Graph\Model\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 The sharePointIds - */ - public function getSharePointIds() - { - if (array_key_exists("sharePointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharePointIds"], "\Microsoft\Graph\Model\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 The system - */ - public function getSystem() - { - if (array_key_exists("system", $this->_propDict)) { - if (is_a($this->_propDict["system"], "\Microsoft\Graph\Model\SystemFacet")) { - 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 following - * The list of items the user is following. Only in OneDrive for Business. - * - * @return array 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 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 The list - */ - public function getList() - { - if (array_key_exists("list", $this->_propDict)) { - if (is_a($this->_propDict["list"], "\Microsoft\Graph\Model\GraphList")) { - 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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\DriveItem")) { - 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 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 deleted file mode 100644 index 905e7aa0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DriveItem.php +++ /dev/null @@ -1,990 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["audio"], "\Microsoft\Graph\Model\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. - * - * @param Audio $val The audio - * - * @return DriveItem - */ - public function setAudio($val) - { - $this->_propDict["audio"] = $val; - return $this; - } - - /** - * Gets the content - * The content stream, if the item represents a file. - * - * @return \GuzzleHttp\Psr7\Stream The content - */ - public function getContent() - { - if (array_key_exists("content", $this->_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 The deleted - */ - public function getDeleted() - { - if (array_key_exists("deleted", $this->_propDict)) { - if (is_a($this->_propDict["deleted"], "\Microsoft\Graph\Model\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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\Microsoft\Graph\Model\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 The fileSystemInfo - */ - public function getFileSystemInfo() - { - if (array_key_exists("fileSystemInfo", $this->_propDict)) { - if (is_a($this->_propDict["fileSystemInfo"], "\Microsoft\Graph\Model\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 The folder - */ - public function getFolder() - { - if (array_key_exists("folder", $this->_propDict)) { - if (is_a($this->_propDict["folder"], "\Microsoft\Graph\Model\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 The image - */ - public function getImage() - { - if (array_key_exists("image", $this->_propDict)) { - if (is_a($this->_propDict["image"], "\Microsoft\Graph\Model\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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\GeoCoordinates")) { - 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 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 The package - */ - public function getPackage() - { - if (array_key_exists("package", $this->_propDict)) { - if (is_a($this->_propDict["package"], "\Microsoft\Graph\Model\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 The pendingOperations - */ - public function getPendingOperations() - { - if (array_key_exists("pendingOperations", $this->_propDict)) { - if (is_a($this->_propDict["pendingOperations"], "\Microsoft\Graph\Model\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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\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 The publication - */ - public function getPublication() - { - if (array_key_exists("publication", $this->_propDict)) { - if (is_a($this->_propDict["publication"], "\Microsoft\Graph\Model\PublicationFacet")) { - 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 The remoteItem - */ - public function getRemoteItem() - { - if (array_key_exists("remoteItem", $this->_propDict)) { - if (is_a($this->_propDict["remoteItem"], "\Microsoft\Graph\Model\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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\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 The searchResult - */ - public function getSearchResult() - { - if (array_key_exists("searchResult", $this->_propDict)) { - if (is_a($this->_propDict["searchResult"], "\Microsoft\Graph\Model\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 The shared - */ - public function getShared() - { - if (array_key_exists("shared", $this->_propDict)) { - if (is_a($this->_propDict["shared"], "\Microsoft\Graph\Model\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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\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 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 The specialFolder - */ - public function getSpecialFolder() - { - if (array_key_exists("specialFolder", $this->_propDict)) { - if (is_a($this->_propDict["specialFolder"], "\Microsoft\Graph\Model\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 The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - if (is_a($this->_propDict["video"], "\Microsoft\Graph\Model\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 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 The workbook - */ - public function getWorkbook() - { - if (array_key_exists("workbook", $this->_propDict)) { - if (is_a($this->_propDict["workbook"], "\Microsoft\Graph\Model\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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Microsoft\Graph\Model\ItemAnalytics")) { - 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 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 The listItem - */ - public function getListItem() - { - if (array_key_exists("listItem", $this->_propDict)) { - if (is_a($this->_propDict["listItem"], "\Microsoft\Graph\Model\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 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 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 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 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 deleted file mode 100644 index 40569e68..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DriveItemUploadableProperties.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 The fileSystemInfo - */ - public function getFileSystemInfo() - { - if (array_key_exists("fileSystemInfo", $this->_propDict)) { - if (is_a($this->_propDict["fileSystemInfo"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index da4d359e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DriveItemVersion.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 005d46fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/DriveRecipient.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index b3fba89e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EBookInstallSummary.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 5388547b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EdgeCookiePolicy.php +++ /dev/null @@ -1,36 +0,0 @@ -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 The edgeSearchEngineType - */ - public function getEdgeSearchEngineType() - { - if (array_key_exists("edgeSearchEngineType", $this->_propDict)) { - if (is_a($this->_propDict["edgeSearchEngineType"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 5e1f75f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineBase.php +++ /dev/null @@ -1,26 +0,0 @@ -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 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 deleted file mode 100644 index 1d5c3760..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EdgeSearchEngineType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The licenseType - */ - public function getLicenseType() - { - if (array_key_exists("licenseType", $this->_propDict)) { - if (is_a($this->_propDict["licenseType"], "\Microsoft\Graph\Model\EditionUpgradeLicenseType")) { - 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 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 The targetEdition - */ - public function getTargetEdition() - { - if (array_key_exists("targetEdition", $this->_propDict)) { - if (is_a($this->_propDict["targetEdition"], "\Microsoft\Graph\Model\Windows10EditionType")) { - 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 deleted file mode 100644 index 49aa994d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EditionUpgradeLicenseType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The course - */ - public function getCourse() - { - if (array_key_exists("course", $this->_propDict)) { - if (is_a($this->_propDict["course"], "\Microsoft\Graph\Model\EducationCourse")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 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 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 The externalSource - */ - public function getExternalSource() - { - if (array_key_exists("externalSource", $this->_propDict)) { - if (is_a($this->_propDict["externalSource"], "\Microsoft\Graph\Model\EducationExternalSource")) { - 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 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 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 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 The term - */ - public function getTerm() - { - if (array_key_exists("term", $this->_propDict)) { - if (is_a($this->_propDict["term"], "\Microsoft\Graph\Model\EducationTerm")) { - 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 group - * The directory group corresponding to this class. - * - * @return Group The group - */ - public function getGroup() - { - if (array_key_exists("group", $this->_propDict)) { - if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\Group")) { - return $this->_propDict["group"]; - } else { - $this->_propDict["group"] = new Group($this->_propDict["group"]); - return $this->_propDict["group"]; - } - } - return null; - } - - /** - * Sets the group - * The directory group corresponding to this class. - * - * @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 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 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 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 deleted file mode 100644 index 120f7a21..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationCourse.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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/EducationExternalSource.php b/vendor/microsoft/microsoft-graph/src/Model/EducationExternalSource.php deleted file mode 100644 index 03da18c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationExternalSource.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 6d7a1eb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationOrganization.php +++ /dev/null @@ -1,145 +0,0 @@ -_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 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 The externalSource - */ - public function getExternalSource() - { - if (array_key_exists("externalSource", $this->_propDict)) { - if (is_a($this->_propDict["externalSource"], "\Microsoft\Graph\Model\EducationExternalSource")) { - 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 - * - * @return string The externalSourceDetail - */ - public function getExternalSourceDetail() - { - if (array_key_exists("externalSourceDetail", $this->_propDict)) { - return $this->_propDict["externalSourceDetail"]; - } else { - return null; - } - } - - /** - * Sets the externalSourceDetail - * - * @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/EducationRoot.php b/vendor/microsoft/microsoft-graph/src/Model/EducationRoot.php deleted file mode 100644 index e9d14309..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationRoot.php +++ /dev/null @@ -1,150 +0,0 @@ -_propDict)) { - return $this->_propDict["classes"]; - } else { - return null; - } - } - - /** - * Sets the classes - * Read-only. Nullable. - * - * @param EducationClass $val The classes - * - * @return EducationRoot - */ - public function setClasses($val) - { - $this->_propDict["classes"] = $val; - return $this; - } - - /** - * Gets the me - * Read-only. Nullable. - * - * @return EducationUser The me - */ - public function getMe() - { - if (array_key_exists("me", $this->_propDict)) { - if (is_a($this->_propDict["me"], "\Microsoft\Graph\Model\EducationUser")) { - return $this->_propDict["me"]; - } else { - $this->_propDict["me"] = new EducationUser($this->_propDict["me"]); - return $this->_propDict["me"]; - } - } - return null; - } - - /** - * Sets the me - * Read-only. Nullable. - * - * @param EducationUser $val The me - * - * @return EducationRoot - */ - public function setMe($val) - { - $this->_propDict["me"] = $val; - return $this; - } - - - /** - * Gets the schools - * Read-only. Nullable. - * - * @return array The schools - */ - public function getSchools() - { - if (array_key_exists("schools", $this->_propDict)) { - return $this->_propDict["schools"]; - } else { - return null; - } - } - - /** - * Sets the schools - * Read-only. Nullable. - * - * @param EducationSchool $val The schools - * - * @return EducationRoot - */ - public function setSchools($val) - { - $this->_propDict["schools"] = $val; - return $this; - } - - - /** - * Gets the users - * Read-only. Nullable. - * - * @return array The users - */ - public function getUsers() - { - if (array_key_exists("users", $this->_propDict)) { - return $this->_propDict["users"]; - } else { - return null; - } - } - - /** - * Sets the users - * Read-only. Nullable. - * - * @param EducationUser $val The users - * - * @return EducationRoot - */ - public function setUsers($val) - { - $this->_propDict["users"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EducationSchool.php b/vendor/microsoft/microsoft-graph/src/Model/EducationSchool.php deleted file mode 100644 index b9037d79..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationSchool.php +++ /dev/null @@ -1,443 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 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 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 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 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 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 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 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 - * - * @return AdministrativeUnit The administrativeUnit - */ - public function getAdministrativeUnit() - { - if (array_key_exists("administrativeUnit", $this->_propDict)) { - if (is_a($this->_propDict["administrativeUnit"], "\Microsoft\Graph\Model\AdministrativeUnit")) { - return $this->_propDict["administrativeUnit"]; - } else { - $this->_propDict["administrativeUnit"] = new AdministrativeUnit($this->_propDict["administrativeUnit"]); - return $this->_propDict["administrativeUnit"]; - } - } - return null; - } - - /** - * Sets the administrativeUnit - * - * @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 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 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 deleted file mode 100644 index a6fb4434..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationStudent.php +++ /dev/null @@ -1,204 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["birthDate"], "\DateTime")) { - 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 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 The gender - */ - public function getGender() - { - if (array_key_exists("gender", $this->_propDict)) { - if (is_a($this->_propDict["gender"], "\Microsoft\Graph\Model\EducationGender")) { - 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 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 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 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/EducationTeacher.php b/vendor/microsoft/microsoft-graph/src/Model/EducationTeacher.php deleted file mode 100644 index 3bafbb73..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationTeacher.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 0175e3d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationTerm.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 The endDate - */ - public function getEndDate() - { - if (array_key_exists("endDate", $this->_propDict)) { - if (is_a($this->_propDict["endDate"], "\DateTime")) { - 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 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 The startDate - */ - public function getStartDate() - { - if (array_key_exists("startDate", $this->_propDict)) { - if (is_a($this->_propDict["startDate"], "\DateTime")) { - 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 deleted file mode 100644 index 15e8f255..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationUser.php +++ /dev/null @@ -1,1086 +0,0 @@ -_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 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 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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 The externalSource - */ - public function getExternalSource() - { - if (array_key_exists("externalSource", $this->_propDict)) { - if (is_a($this->_propDict["externalSource"], "\Microsoft\Graph\Model\EducationExternalSource")) { - 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 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 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 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 The mailingAddress - */ - public function getMailingAddress() - { - if (array_key_exists("mailingAddress", $this->_propDict)) { - if (is_a($this->_propDict["mailingAddress"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 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 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 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 The onPremisesInfo - */ - public function getOnPremisesInfo() - { - if (array_key_exists("onPremisesInfo", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesInfo"], "\Microsoft\Graph\Model\EducationOnPremisesInfo")) { - 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 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 The passwordProfile - */ - public function getPasswordProfile() - { - if (array_key_exists("passwordProfile", $this->_propDict)) { - if (is_a($this->_propDict["passwordProfile"], "\Microsoft\Graph\Model\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 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 The primaryRole - */ - public function getPrimaryRole() - { - if (array_key_exists("primaryRole", $this->_propDict)) { - if (is_a($this->_propDict["primaryRole"], "\Microsoft\Graph\Model\EducationUserRole")) { - 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 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 The refreshTokensValidFromDateTime - */ - public function getRefreshTokensValidFromDateTime() - { - if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) { - if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime")) { - 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 The residenceAddress - */ - public function getResidenceAddress() - { - if (array_key_exists("residenceAddress", $this->_propDict)) { - if (is_a($this->_propDict["residenceAddress"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 - * - * @return bool The showInAddressList - */ - public function getShowInAddressList() - { - if (array_key_exists("showInAddressList", $this->_propDict)) { - return $this->_propDict["showInAddressList"]; - } else { - return null; - } - } - - /** - * Sets the showInAddressList - * - * @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 The student - */ - public function getStudent() - { - if (array_key_exists("student", $this->_propDict)) { - if (is_a($this->_propDict["student"], "\Microsoft\Graph\Model\EducationStudent")) { - 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 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 The teacher - */ - public function getTeacher() - { - if (array_key_exists("teacher", $this->_propDict)) { - if (is_a($this->_propDict["teacher"], "\Microsoft\Graph\Model\EducationTeacher")) { - 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 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 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 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 classes - * Classes to which the user belongs. Nullable. - * - * @return array 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 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 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 corresponding to this user. - * - * @return User The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\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 corresponding 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 deleted file mode 100644 index e1790189..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EducationUserRole.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 deleted file mode 100644 index 70781f46..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EmailAuthenticationMethodConfiguration.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowExternalIdToUseEmailOtp"], "\Microsoft\Graph\Model\ExternalEmailOtpState")) { - 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 March 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 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 deleted file mode 100644 index e697c2a6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EmailFileAssessmentRequest.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The destinationRoutingReason - */ - public function getDestinationRoutingReason() - { - if (array_key_exists("destinationRoutingReason", $this->_propDict)) { - if (is_a($this->_propDict["destinationRoutingReason"], "\Microsoft\Graph\Model\MailDestinationRoutingReason")) { - 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 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 deleted file mode 100644 index 7e941748..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EmailRole.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 deleted file mode 100644 index 44e55336..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Enablement.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 6f899177..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EndpointType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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/EnrollmentTroubleshootingEvent.php b/vendor/microsoft/microsoft-graph/src/Model/EnrollmentTroubleshootingEvent.php deleted file mode 100644 index 7effd53e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EnrollmentTroubleshootingEvent.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 The enrollmentType - */ - public function getEnrollmentType() - { - if (array_key_exists("enrollmentType", $this->_propDict)) { - if (is_a($this->_propDict["enrollmentType"], "\Microsoft\Graph\Model\DeviceEnrollmentType")) { - 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 The failureCategory - */ - public function getFailureCategory() - { - if (array_key_exists("failureCategory", $this->_propDict)) { - if (is_a($this->_propDict["failureCategory"], "\Microsoft\Graph\Model\DeviceEnrollmentFailureReason")) { - 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 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 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 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 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 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/Entity.php b/vendor/microsoft/microsoft-graph/src/Model/Entity.php deleted file mode 100644 index 1271f168..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Entity.php +++ /dev/null @@ -1,125 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new Entity - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 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 The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - return $serializableProperties; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/EntityType.php b/vendor/microsoft/microsoft-graph/src/Model/EntityType.php deleted file mode 100644 index f1fdf66b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EntityType.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 Event - */ - public function setAllowNewTimeProposals($val) - { - $this->_propDict["allowNewTimeProposals"] = boolval($val); - return $this; - } - - - /** - * Gets the attendees - * The collection of attendees for the event. - * - * @return array 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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody")) { - 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 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 The end - */ - public function getEnd() - { - if (array_key_exists("end", $this->_propDict)) { - if (is_a($this->_propDict["end"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 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 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 - * The importance of the event. The possible values are: low, normal, high. - * - * @return Importance The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\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 event. The possible values are: low, normal, high. - * - * @param Importance $val The importance - * - * @return Event - */ - public function setImportance($val) - { - $this->_propDict["importance"] = $val; - return $this; - } - - /** - * Gets the isAllDay - * Set to true if the event lasts all day. - * - * @return bool The isAllDay - */ - public function getIsAllDay() - { - if (array_key_exists("isAllDay", $this->_propDict)) { - return $this->_propDict["isAllDay"]; - } else { - return null; - } - } - - /** - * Sets the isAllDay - * Set to true if the event lasts all day. - * - * @param bool $val The isAllDay - * - * @return Event - */ - public function setIsAllDay($val) - { - $this->_propDict["isAllDay"] = boolval($val); - return $this; - } - - /** - * Gets the isCancelled - * Set to true if the event has been canceled. - * - * @return bool The isCancelled - */ - public function getIsCancelled() - { - if (array_key_exists("isCancelled", $this->_propDict)) { - return $this->_propDict["isCancelled"]; - } else { - return null; - } - } - - /** - * Sets the isCancelled - * Set to true if the event has been canceled. - * - * @param bool $val The isCancelled - * - * @return Event - */ - public function setIsCancelled($val) - { - $this->_propDict["isCancelled"] = boolval($val); - return $this; - } - - /** - * Gets the isDraft - * Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees. - * - * @return bool The isDraft - */ - public function getIsDraft() - { - if (array_key_exists("isDraft", $this->_propDict)) { - return $this->_propDict["isDraft"]; - } else { - return null; - } - } - - /** - * Sets the isDraft - * Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees. - * - * @param bool $val The isDraft - * - * @return Event - */ - public function setIsDraft($val) - { - $this->_propDict["isDraft"] = boolval($val); - return $this; - } - - /** - * Gets the isOnlineMeeting - * True if this event has online meeting information, false otherwise. Default is false. Optional. - * - * @return bool The isOnlineMeeting - */ - public function getIsOnlineMeeting() - { - if (array_key_exists("isOnlineMeeting", $this->_propDict)) { - return $this->_propDict["isOnlineMeeting"]; - } else { - return null; - } - } - - /** - * Sets the isOnlineMeeting - * True if this event has online meeting information, false otherwise. Default is false. Optional. - * - * @param bool $val The isOnlineMeeting - * - * @return Event - */ - public function setIsOnlineMeeting($val) - { - $this->_propDict["isOnlineMeeting"] = boolval($val); - return $this; - } - - /** - * Gets the isOrganizer - * Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. - * - * @return bool The isOrganizer - */ - public function getIsOrganizer() - { - if (array_key_exists("isOrganizer", $this->_propDict)) { - return $this->_propDict["isOrganizer"]; - } else { - return null; - } - } - - /** - * Sets the isOrganizer - * Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner. - * - * @param bool $val The isOrganizer - * - * @return Event - */ - public function setIsOrganizer($val) - { - $this->_propDict["isOrganizer"] = boolval($val); - return $this; - } - - /** - * Gets the isReminderOn - * Set to true if an alert is set to remind the user of the event. - * - * @return bool 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 event. - * - * @param bool $val The isReminderOn - * - * @return Event - */ - public function setIsReminderOn($val) - { - $this->_propDict["isReminderOn"] = boolval($val); - return $this; - } - - /** - * Gets the location - * The location of the event. - * - * @return Location The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\Location")) { - return $this->_propDict["location"]; - } else { - $this->_propDict["location"] = new Location($this->_propDict["location"]); - return $this->_propDict["location"]; - } - } - return null; - } - - /** - * Sets the location - * The location of the event. - * - * @param Location $val The location - * - * @return Event - */ - public function setLocation($val) - { - $this->_propDict["location"] = $val; - return $this; - } - - - /** - * Gets the locations - * The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. - * - * @return array The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - return $this->_propDict["locations"]; - } else { - return null; - } - } - - /** - * Sets the locations - * The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value. - * - * @param Location $val The locations - * - * @return Event - */ - public function setLocations($val) - { - $this->_propDict["locations"] = $val; - return $this; - } - - /** - * Gets the onlineMeeting - * Details for an attendee to join the meeting online. Read-only. - * - * @return OnlineMeetingInfo The onlineMeeting - */ - public function getOnlineMeeting() - { - if (array_key_exists("onlineMeeting", $this->_propDict)) { - if (is_a($this->_propDict["onlineMeeting"], "\Microsoft\Graph\Model\OnlineMeetingInfo")) { - return $this->_propDict["onlineMeeting"]; - } else { - $this->_propDict["onlineMeeting"] = new OnlineMeetingInfo($this->_propDict["onlineMeeting"]); - return $this->_propDict["onlineMeeting"]; - } - } - return null; - } - - /** - * Sets the onlineMeeting - * Details for an attendee to join the meeting online. Read-only. - * - * @param OnlineMeetingInfo $val The onlineMeeting - * - * @return Event - */ - public function setOnlineMeeting($val) - { - $this->_propDict["onlineMeeting"] = $val; - return $this; - } - - /** - * Gets the onlineMeetingProvider - * Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. - * - * @return OnlineMeetingProviderType The onlineMeetingProvider - */ - public function getOnlineMeetingProvider() - { - if (array_key_exists("onlineMeetingProvider", $this->_propDict)) { - if (is_a($this->_propDict["onlineMeetingProvider"], "\Microsoft\Graph\Model\OnlineMeetingProviderType")) { - return $this->_propDict["onlineMeetingProvider"]; - } else { - $this->_propDict["onlineMeetingProvider"] = new OnlineMeetingProviderType($this->_propDict["onlineMeetingProvider"]); - return $this->_propDict["onlineMeetingProvider"]; - } - } - return null; - } - - /** - * Sets the onlineMeetingProvider - * Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional. - * - * @param OnlineMeetingProviderType $val The onlineMeetingProvider - * - * @return Event - */ - public function setOnlineMeetingProvider($val) - { - $this->_propDict["onlineMeetingProvider"] = $val; - return $this; - } - - /** - * Gets the onlineMeetingUrl - * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. - * - * @return string The onlineMeetingUrl - */ - public function getOnlineMeetingUrl() - { - if (array_key_exists("onlineMeetingUrl", $this->_propDict)) { - return $this->_propDict["onlineMeetingUrl"]; - } else { - return null; - } - } - - /** - * Sets the onlineMeetingUrl - * A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only. - * - * @param string $val The onlineMeetingUrl - * - * @return Event - */ - public function setOnlineMeetingUrl($val) - { - $this->_propDict["onlineMeetingUrl"] = $val; - return $this; - } - - /** - * Gets the organizer - * The organizer of the event. - * - * @return Recipient The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\Recipient")) { - return $this->_propDict["organizer"]; - } else { - $this->_propDict["organizer"] = new Recipient($this->_propDict["organizer"]); - return $this->_propDict["organizer"]; - } - } - return null; - } - - /** - * Sets the organizer - * The organizer of the event. - * - * @param Recipient $val The organizer - * - * @return Event - */ - public function setOrganizer($val) - { - $this->_propDict["organizer"] = $val; - return $this; - } - - /** - * Gets the originalEndTimeZone - * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @return string The originalEndTimeZone - */ - public function getOriginalEndTimeZone() - { - if (array_key_exists("originalEndTimeZone", $this->_propDict)) { - return $this->_propDict["originalEndTimeZone"]; - } else { - return null; - } - } - - /** - * Sets the originalEndTimeZone - * The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @param string $val The originalEndTimeZone - * - * @return Event - */ - public function setOriginalEndTimeZone($val) - { - $this->_propDict["originalEndTimeZone"] = $val; - return $this; - } - - /** - * Gets the originalStart - * The Timestamp type represents date and time information 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 The originalStart - */ - public function getOriginalStart() - { - if (array_key_exists("originalStart", $this->_propDict)) { - if (is_a($this->_propDict["originalStart"], "\DateTime")) { - return $this->_propDict["originalStart"]; - } else { - $this->_propDict["originalStart"] = new \DateTime($this->_propDict["originalStart"]); - return $this->_propDict["originalStart"]; - } - } - return null; - } - - /** - * Sets the originalStart - * The Timestamp type represents date and time information 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 originalStart - * - * @return Event - */ - public function setOriginalStart($val) - { - $this->_propDict["originalStart"] = $val; - return $this; - } - - /** - * Gets the originalStartTimeZone - * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @return string The originalStartTimeZone - */ - public function getOriginalStartTimeZone() - { - if (array_key_exists("originalStartTimeZone", $this->_propDict)) { - return $this->_propDict["originalStartTimeZone"]; - } else { - return null; - } - } - - /** - * Sets the originalStartTimeZone - * The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook. - * - * @param string $val The originalStartTimeZone - * - * @return Event - */ - public function setOriginalStartTimeZone($val) - { - $this->_propDict["originalStartTimeZone"] = $val; - return $this; - } - - /** - * Gets the recurrence - * The recurrence pattern for the event. - * - * @return PatternedRecurrence The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 event. - * - * @param PatternedRecurrence $val The recurrence - * - * @return Event - */ - public function setRecurrence($val) - { - $this->_propDict["recurrence"] = $val; - return $this; - } - - /** - * Gets the reminderMinutesBeforeStart - * The number of minutes before the event start time that the reminder alert occurs. - * - * @return int The reminderMinutesBeforeStart - */ - public function getReminderMinutesBeforeStart() - { - if (array_key_exists("reminderMinutesBeforeStart", $this->_propDict)) { - return $this->_propDict["reminderMinutesBeforeStart"]; - } else { - return null; - } - } - - /** - * Sets the reminderMinutesBeforeStart - * The number of minutes before the event start time that the reminder alert occurs. - * - * @param int $val The reminderMinutesBeforeStart - * - * @return Event - */ - public function setReminderMinutesBeforeStart($val) - { - $this->_propDict["reminderMinutesBeforeStart"] = intval($val); - return $this; - } - - /** - * Gets the responseRequested - * Default is true, which represents the organizer would like an invitee to send a response to the event. - * - * @return bool The responseRequested - */ - public function getResponseRequested() - { - if (array_key_exists("responseRequested", $this->_propDict)) { - return $this->_propDict["responseRequested"]; - } else { - return null; - } - } - - /** - * Sets the responseRequested - * Default is true, which represents the organizer would like an invitee to send a response to the event. - * - * @param bool $val The responseRequested - * - * @return Event - */ - public function setResponseRequested($val) - { - $this->_propDict["responseRequested"] = boolval($val); - return $this; - } - - /** - * Gets the responseStatus - * Indicates the type of response sent in response to an event message. - * - * @return ResponseStatus The responseStatus - */ - public function getResponseStatus() - { - if (array_key_exists("responseStatus", $this->_propDict)) { - if (is_a($this->_propDict["responseStatus"], "\Microsoft\Graph\Model\ResponseStatus")) { - return $this->_propDict["responseStatus"]; - } else { - $this->_propDict["responseStatus"] = new ResponseStatus($this->_propDict["responseStatus"]); - return $this->_propDict["responseStatus"]; - } - } - return null; - } - - /** - * Sets the responseStatus - * Indicates the type of response sent in response to an event message. - * - * @param ResponseStatus $val The responseStatus - * - * @return Event - */ - public function setResponseStatus($val) - { - $this->_propDict["responseStatus"] = $val; - return $this; - } - - /** - * Gets the sensitivity - * The possible values are: normal, personal, private, confidential. - * - * @return Sensitivity The sensitivity - */ - public function getSensitivity() - { - if (array_key_exists("sensitivity", $this->_propDict)) { - if (is_a($this->_propDict["sensitivity"], "\Microsoft\Graph\Model\Sensitivity")) { - return $this->_propDict["sensitivity"]; - } else { - $this->_propDict["sensitivity"] = new Sensitivity($this->_propDict["sensitivity"]); - return $this->_propDict["sensitivity"]; - } - } - return null; - } - - /** - * Sets the sensitivity - * The possible values are: normal, personal, private, confidential. - * - * @param Sensitivity $val The sensitivity - * - * @return Event - */ - public function setSensitivity($val) - { - $this->_propDict["sensitivity"] = $val; - return $this; - } - - /** - * Gets the seriesMasterId - * The ID for the recurring series master item, if this event is part of a recurring series. - * - * @return string The seriesMasterId - */ - public function getSeriesMasterId() - { - if (array_key_exists("seriesMasterId", $this->_propDict)) { - return $this->_propDict["seriesMasterId"]; - } else { - return null; - } - } - - /** - * Sets the seriesMasterId - * The ID for the recurring series master item, if this event is part of a recurring series. - * - * @param string $val The seriesMasterId - * - * @return Event - */ - public function setSeriesMasterId($val) - { - $this->_propDict["seriesMasterId"] = $val; - return $this; - } - - /** - * Gets the showAs - * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - * - * @return FreeBusyStatus The showAs - */ - public function getShowAs() - { - if (array_key_exists("showAs", $this->_propDict)) { - if (is_a($this->_propDict["showAs"], "\Microsoft\Graph\Model\FreeBusyStatus")) { - return $this->_propDict["showAs"]; - } else { - $this->_propDict["showAs"] = new FreeBusyStatus($this->_propDict["showAs"]); - return $this->_propDict["showAs"]; - } - } - return null; - } - - /** - * Sets the showAs - * The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown. - * - * @param FreeBusyStatus $val The showAs - * - * @return Event - */ - public function setShowAs($val) - { - $this->_propDict["showAs"] = $val; - return $this; - } - - /** - * Gets the start - * The date, time, and time zone that the event starts. By default, the start time is in UTC. - * - * @return DateTimeTimeZone The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 event starts. By default, the start time is in UTC. - * - * @param DateTimeTimeZone $val The start - * - * @return Event - */ - public function setStart($val) - { - $this->_propDict["start"] = $val; - return $this; - } - - /** - * Gets the subject - * The text of the event's subject line. - * - * @return string The subject - */ - public function getSubject() - { - if (array_key_exists("subject", $this->_propDict)) { - return $this->_propDict["subject"]; - } else { - return null; - } - } - - /** - * Sets the subject - * The text of the event's subject line. - * - * @param string $val The subject - * - * @return Event - */ - public function setSubject($val) - { - $this->_propDict["subject"] = $val; - return $this; - } - - /** - * Gets the transactionId - * A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional. - * - * @return string The transactionId - */ - public function getTransactionId() - { - if (array_key_exists("transactionId", $this->_propDict)) { - return $this->_propDict["transactionId"]; - } else { - return null; - } - } - - /** - * Sets the transactionId - * A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional. - * - * @param string $val The transactionId - * - * @return Event - */ - public function setTransactionId($val) - { - $this->_propDict["transactionId"] = $val; - return $this; - } - - /** - * Gets the type - * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. - * - * @return EventType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\EventType")) { - return $this->_propDict["type"]; - } else { - $this->_propDict["type"] = new EventType($this->_propDict["type"]); - return $this->_propDict["type"]; - } - } - return null; - } - - /** - * Sets the type - * The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only. - * - * @param EventType $val The type - * - * @return Event - */ - public function setType($val) - { - $this->_propDict["type"] = $val; - return $this; - } - - /** - * Gets the webLink - * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame. - * - * @return string The webLink - */ - public function getWebLink() - { - if (array_key_exists("webLink", $this->_propDict)) { - return $this->_propDict["webLink"]; - } else { - return null; - } - } - - /** - * Sets the webLink - * The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame. - * - * @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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Microsoft\Graph\Model\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 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 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 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 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 deleted file mode 100644 index 8f738963..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EventMessage.php +++ /dev/null @@ -1,333 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 - * True if this meeting request is accessible to a delegate, false otherwise. Default is false. - * - * @return bool The isDelegated - */ - public function getIsDelegated() - { - if (array_key_exists("isDelegated", $this->_propDict)) { - return $this->_propDict["isDelegated"]; - } else { - return null; - } - } - - /** - * Sets the isDelegated - * True if this meeting request is accessible to a delegate, false otherwise. Default is false. - * - * @param bool $val The isDelegated - * - * @return EventMessage - */ - public function setIsDelegated($val) - { - $this->_propDict["isDelegated"] = boolval($val); - return $this; - } - - /** - * Gets the isOutOfDate - * - * @return bool 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\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 - * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. - * - * @return MeetingMessageType The meetingMessageType - */ - public function getMeetingMessageType() - { - if (array_key_exists("meetingMessageType", $this->_propDict)) { - if (is_a($this->_propDict["meetingMessageType"], "\Microsoft\Graph\Model\MeetingMessageType")) { - return $this->_propDict["meetingMessageType"]; - } else { - $this->_propDict["meetingMessageType"] = new MeetingMessageType($this->_propDict["meetingMessageType"]); - return $this->_propDict["meetingMessageType"]; - } - } - return null; - } - - /** - * Sets the meetingMessageType - * The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined. - * - * @param MeetingMessageType $val The meetingMessageType - * - * @return EventMessage - */ - public function setMeetingMessageType($val) - { - $this->_propDict["meetingMessageType"] = $val; - return $this; - } - - /** - * Gets the recurrence - * - * @return PatternedRecurrence The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\EventType")) { - 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 The event - */ - public function getEvent() - { - if (array_key_exists("event", $this->_propDict)) { - if (is_a($this->_propDict["event"], "\Microsoft\Graph\Model\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/EventMessageRequest.php b/vendor/microsoft/microsoft-graph/src/Model/EventMessageRequest.php deleted file mode 100644 index 1352fcce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EventMessageRequest.php +++ /dev/null @@ -1,215 +0,0 @@ -_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 The meetingRequestType - */ - public function getMeetingRequestType() - { - if (array_key_exists("meetingRequestType", $this->_propDict)) { - if (is_a($this->_propDict["meetingRequestType"], "\Microsoft\Graph\Model\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 The previousEndDateTime - */ - public function getPreviousEndDateTime() - { - if (array_key_exists("previousEndDateTime", $this->_propDict)) { - if (is_a($this->_propDict["previousEndDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The previousLocation - */ - public function getPreviousLocation() - { - if (array_key_exists("previousLocation", $this->_propDict)) { - if (is_a($this->_propDict["previousLocation"], "\Microsoft\Graph\Model\Location")) { - 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 The previousStartDateTime - */ - public function getPreviousStartDateTime() - { - if (array_key_exists("previousStartDateTime", $this->_propDict)) { - if (is_a($this->_propDict["previousStartDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 deleted file mode 100644 index bb16498d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EventMessageResponse.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["proposedNewTime"], "\Microsoft\Graph\Model\TimeSlot")) { - 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 The responseType - */ - public function getResponseType() - { - if (array_key_exists("responseType", $this->_propDict)) { - if (is_a($this->_propDict["responseType"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index db4ffc3f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/EventType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 sycned from onpremises directory using Azure AD Connect. Read-only. - * - * @return bool 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 sycned from onpremises 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 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 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 deleted file mode 100644 index bc2e5312..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ExtensionSchemaProperty.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 9f3ce8f6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ExternalAudienceScope.php +++ /dev/null @@ -1,35 +0,0 @@ -_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/FeatureRolloutPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/FeatureRolloutPolicy.php deleted file mode 100644 index 71897448..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FeatureRolloutPolicy.php +++ /dev/null @@ -1,206 +0,0 @@ -_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 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 The feature - */ - public function getFeature() - { - if (array_key_exists("feature", $this->_propDict)) { - if (is_a($this->_propDict["feature"], "\Microsoft\Graph\Model\StagedFeatureName")) { - 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 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 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 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/Fido2AuthenticationMethod.php b/vendor/microsoft/microsoft-graph/src/Model/Fido2AuthenticationMethod.php deleted file mode 100644 index d4f98d4e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Fido2AuthenticationMethod.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 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 The attestationLevel - */ - public function getAttestationLevel() - { - if (array_key_exists("attestationLevel", $this->_propDict)) { - if (is_a($this->_propDict["attestationLevel"], "\Microsoft\Graph\Model\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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index a927189f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Fido2AuthenticationMethodConfiguration.php +++ /dev/null @@ -1,148 +0,0 @@ -_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 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 The keyRestrictions - */ - public function getKeyRestrictions() - { - if (array_key_exists("keyRestrictions", $this->_propDict)) { - if (is_a($this->_propDict["keyRestrictions"], "\Microsoft\Graph\Model\Fido2KeyRestrictions")) { - 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 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 deleted file mode 100644 index 215e5d9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Fido2KeyRestrictions.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The enforcementType - */ - public function getEnforcementType() - { - if (array_key_exists("enforcementType", $this->_propDict)) { - if (is_a($this->_propDict["enforcementType"], "\Microsoft\Graph\Model\Fido2RestrictionEnforcementType")) { - 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 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 deleted file mode 100644 index 62d9a31f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Fido2RestrictionEnforcementType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hashes"], "\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 0ffc4bb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FileAssessmentRequest.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 9baa5586..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FileAttachment.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["contentBytes"]; - } else { - $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index b31d8ae2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FileEncryptionInfo.php +++ /dev/null @@ -1,247 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encryptionKey"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["encryptionKey"]; - } else { - $this->_propDict["encryptionKey"] = \GuzzleHttp\Psr7\stream_for($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 The fileDigest - */ - public function getFileDigest() - { - if (array_key_exists("fileDigest", $this->_propDict)) { - if (is_a($this->_propDict["fileDigest"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["fileDigest"]; - } else { - $this->_propDict["fileDigest"] = \GuzzleHttp\Psr7\stream_for($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 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 The initializationVector - */ - public function getInitializationVector() - { - if (array_key_exists("initializationVector", $this->_propDict)) { - if (is_a($this->_propDict["initializationVector"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["initializationVector"]; - } else { - $this->_propDict["initializationVector"] = \GuzzleHttp\Psr7\stream_for($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 The mac - */ - public function getMac() - { - if (array_key_exists("mac", $this->_propDict)) { - if (is_a($this->_propDict["mac"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["mac"]; - } else { - $this->_propDict["mac"] = \GuzzleHttp\Psr7\stream_for($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 The macKey - */ - public function getMacKey() - { - if (array_key_exists("macKey", $this->_propDict)) { - if (is_a($this->_propDict["macKey"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["macKey"]; - } else { - $this->_propDict["macKey"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index abe42492..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FileHash.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hashType"], "\Microsoft\Graph\Model\FileHashType")) { - 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 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 deleted file mode 100644 index 6b6f7141..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FileHashType.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fileHash"], "\Microsoft\Graph\Model\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 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 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 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 deleted file mode 100644 index 76d5eb9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FileSystemInfo.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastAccessedDateTime - */ - public function getLastAccessedDateTime() - { - if (array_key_exists("lastAccessedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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/FirewallCertificateRevocationListCheckMethodType.php b/vendor/microsoft/microsoft-graph/src/Model/FirewallCertificateRevocationListCheckMethodType.php deleted file mode 100644 index fb27ca2c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FirewallCertificateRevocationListCheckMethodType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The view - */ - public function getView() - { - if (array_key_exists("view", $this->_propDict)) { - if (is_a($this->_propDict["view"], "\Microsoft\Graph\Model\FolderView")) { - 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 deleted file mode 100644 index d32f9f4c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FolderView.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 3d4acbff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FollowupFlag.php +++ /dev/null @@ -1,158 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The flagStatus - */ - public function getFlagStatus() - { - if (array_key_exists("flagStatus", $this->_propDict)) { - if (is_a($this->_propDict["flagStatus"], "\Microsoft\Graph\Model\FollowupFlagStatus")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index d17ce968..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FollowupFlagStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 deleted file mode 100644 index 118f0023..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/FreeBusyStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 deleted file mode 100644 index 50c81741..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GeoCoordinates.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 96cbe1b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GeolocationColumn.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - return $this->_propDict["displayName"]; - } else { - return null; - } - } - - /** - * Sets the displayName - * The displayable title of the list. - * - * @param string $val The displayName - * - * @return List - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the list - * Provides additional details about the list. - * - * @return ListInfo The list - */ - public function getList() - { - if (array_key_exists("list", $this->_propDict)) { - if (is_a($this->_propDict["list"], "\Microsoft\Graph\Model\ListInfo")) { - 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 List - */ - public function setList($val) - { - $this->_propDict["list"] = $val; - return $this; - } - - /** - * Gets the sharepointIds - * Returns identifiers useful for SharePoint REST compatibility. Read-only. - * - * @return SharepointIds The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\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 List - */ - 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 The system - */ - public function getSystem() - { - if (array_key_exists("system", $this->_propDict)) { - if (is_a($this->_propDict["system"], "\Microsoft\Graph\Model\SystemFacet")) { - 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 List - */ - public function setSystem($val) - { - $this->_propDict["system"] = $val; - return $this; - } - - - /** - * Gets the columns - * The collection of field definitions for this list. - * - * @return array 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 List - */ - public function setColumns($val) - { - $this->_propDict["columns"] = $val; - return $this; - } - - - /** - * Gets the contentTypes - * The collection of content types present in this list. - * - * @return array 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 List - */ - 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\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 List - */ - public function setDrive($val) - { - $this->_propDict["drive"] = $val; - return $this; - } - - - /** - * Gets the items - * All items contained in the list. - * - * @return array 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 List - */ - public function setItems($val) - { - $this->_propDict["items"] = $val; - return $this; - } - - - /** - * Gets the subscriptions - * The set of subscriptions on the list. - * - * @return array 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 List - */ - 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 deleted file mode 100644 index b491bfdf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GraphPrint.php +++ /dev/null @@ -1,309 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new Print - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\PrintSettings")) { - 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 Print - */ - public function setSettings($val) - { - $this->_propDict["settings"] = $val; - return $this; - } - - - /** - * Gets the connectors - * The list of available print connectors. - * - * @return array 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 Print - */ - public function setConnectors($val) - { - $this->_propDict["connectors"] = $val; - return $this; - } - - - /** - * Gets the operations - * The list of print long running operations. - * - * @return array 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 Print - */ - public function setOperations($val) - { - $this->_propDict["operations"] = $val; - return $this; - } - - - /** - * Gets the printers - * The list of printers registered in the tenant. - * - * @return array 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 Print - */ - public function setPrinters($val) - { - $this->_propDict["printers"] = $val; - return $this; - } - - - /** - * Gets the services - * The list of available Universal Print service endpoints. - * - * @return array 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 Print - */ - public function setServices($val) - { - $this->_propDict["services"] = $val; - return $this; - } - - - /** - * Gets the shares - * The list of printer shares registered in the tenant. - * - * @return array 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 Print - */ - 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 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 Print - */ - public function setTaskDefinitions($val) - { - $this->_propDict["taskDefinitions"] = $val; - return $this; - } - - /** - * Gets the ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - return $serializableProperties; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Group.php b/vendor/microsoft/microsoft-graph/src/Model/Group.php deleted file mode 100644 index afd74408..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Group.php +++ /dev/null @@ -1,1944 +0,0 @@ -_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. Read-only. - * - * @return array 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. 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. - * - * @return string 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. - * - * @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. Read-only. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. 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. - * - * @return string 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. - * - * @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. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby. - * - * @return string 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. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter 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. Read-only. - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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. 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. - * - * @return string 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. - * - * @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). - * - * @return bool 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). - * - * @param bool $val The hasMembersWithLicenseErrors - * - * @return Group - */ - public function setHasMembersWithLicenseErrors($val) - { - $this->_propDict["hasMembersWithLicenseErrors"] = 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 The licenseProcessingState - */ - public function getLicenseProcessingState() - { - if (array_key_exists("licenseProcessingState", $this->_propDict)) { - if (is_a($this->_propDict["licenseProcessingState"], "\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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. Returned by default. - * - * @return bool 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. Returned by default. - * - * @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 in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.&lt;&gt;,SPACE. Returned by default. Supports $filter. - * - * @return string 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 in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.&lt;&gt;,SPACE. Returned by default. Supports $filter. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. - * - * @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 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. - * - * @return array 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. - * - * @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. Read-only. - * - * @return string 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. 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. Read-only. - * - * @return string 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. 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. - * - * @return bool 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. - * - * @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 group. For more information, see OneDrive Online Multi-Geo. Returned by default. - * - * @return string 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 group. For more information, see OneDrive Online Multi-Geo. 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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. Read-only. - * - * @return \DateTime The renewedDateTime - */ - public function getRenewedDateTime() - { - if (array_key_exists("renewedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["renewedDateTime"], "\DateTime")) { - 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. 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. Returned by default. Supports $filter. - * - * @return bool 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. Returned by default. Supports $filter. - * - * @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 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 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. See group visibility options to learn more. Returned by default. - * - * @return string 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. See group visibility options to learn more. Returned by default. - * - * @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 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 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 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 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 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 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 - * - * @return bool The isArchived - */ - public function getIsArchived() - { - if (array_key_exists("isArchived", $this->_propDict)) { - return $this->_propDict["isArchived"]; - } else { - return null; - } - } - - /** - * Sets the isArchived - * - * @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. - * - * @return array 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. - * - * @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 The createdOnBehalfOf - */ - public function getCreatedOnBehalfOf() - { - if (array_key_exists("createdOnBehalfOf", $this->_propDict)) { - if (is_a($this->_propDict["createdOnBehalfOf"], "\Microsoft\Graph\Model\DirectoryObject")) { - 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. - * - * @return array 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. - * - * @param DirectoryObject $val The memberOf - * - * @return Group - */ - public function setMemberOf($val) - { - $this->_propDict["memberOf"] = $val; - return $this; - } - - - /** - * Gets the members - * Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @return array The members - */ - public function getMembers() - { - if (array_key_exists("members", $this->_propDict)) { - return $this->_propDict["members"]; - } else { - return null; - } - } - - /** - * Sets the members - * Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @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 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. The owners are a set of non-admin users who are allowed to modify this object. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @return array 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. The owners are a set of non-admin users who are allowed to modify this object. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. - * - * @param DirectoryObject $val The owners - * - * @return Group - */ - public function setOwners($val) - { - $this->_propDict["owners"] = $val; - return $this; - } - - - /** - * Gets the permissionGrants - * - * @return array The permissionGrants - */ - public function getPermissionGrants() - { - if (array_key_exists("permissionGrants", $this->_propDict)) { - return $this->_propDict["permissionGrants"]; - } else { - return null; - } - } - - /** - * Sets the permissionGrants - * - * @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 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 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 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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Microsoft\Graph\Model\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 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 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 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 The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\ProfilePhoto")) { - 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 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 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 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\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 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 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 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 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 The planner - */ - public function getPlanner() - { - if (array_key_exists("planner", $this->_propDict)) { - if (is_a($this->_propDict["planner"], "\Microsoft\Graph\Model\PlannerGroup")) { - 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 The onenote - */ - public function getOnenote() - { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "\Microsoft\Graph\Model\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 - * - * @return Team The team - */ - public function getTeam() - { - if (array_key_exists("team", $this->_propDict)) { - if (is_a($this->_propDict["team"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 8dd96065..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GroupAssignmentTarget.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.groupAssignmentTarget"); - } - - /** - * Gets the groupId - * The group Id that is the target of the assignment. - * - * @return string 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 deleted file mode 100644 index 5e55bd23..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GroupLifecyclePolicy.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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/GroupSetting.php b/vendor/microsoft/microsoft-graph/src/Model/GroupSetting.php deleted file mode 100644 index 25d38f1e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GroupSetting.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 template used to create this group of settings. Read-only. - * - * @return string 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 GroupSetting - */ - public function setTemplateId($val) - { - $this->_propDict["templateId"] = $val; - return $this; - } - - - /** - * Gets the values - * Collection of name value pairs. Must contain and set all the settings defined in the template. - * - * @return array 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. Must contain and set all the settings defined in the template. - * - * @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 deleted file mode 100644 index 73768086..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GroupSettingTemplate.php +++ /dev/null @@ -1,115 +0,0 @@ -_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. - * - * @return string 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. - * - * @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 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 deleted file mode 100644 index 991e9174..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/GroupType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index c51d24b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/HomeRealmDiscoveryPolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 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/IPv4CidrRange.php b/vendor/microsoft/microsoft-graph/src/Model/IPv4CidrRange.php deleted file mode 100644 index 50694baf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IPv4CidrRange.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iPv4CidrRange"); - } - - /** - * Gets the cidrAddress - * IPv4 address in CIDR notation - * - * @return string 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 - * - * @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 deleted file mode 100644 index 13bf5c54..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IPv4Range.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.iPv4Range"); - } - - /** - * Gets the lowerAddress - * Lower address. - * - * @return string 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 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 deleted file mode 100644 index e073b2cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IPv6CidrRange.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iPv6CidrRange"); - } - - /** - * Gets the cidrAddress - * IPv6 address in CIDR notation - * - * @return string 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 - * - * @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 deleted file mode 100644 index 0b7920c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IPv6Range.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.iPv6Range"); - } - - /** - * Gets the lowerAddress - * Lower address. - * - * @return string 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 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 deleted file mode 100644 index dfb80eba..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Identity.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/IdentityContainer.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityContainer.php deleted file mode 100644 index 5cbf3da0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IdentityContainer.php +++ /dev/null @@ -1,58 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["conditionalAccess"], "\Microsoft\Graph\Model\ConditionalAccessRoot")) { - return $this->_propDict["conditionalAccess"]; - } else { - $this->_propDict["conditionalAccess"] = new ConditionalAccessRoot($this->_propDict["conditionalAccess"]); - return $this->_propDict["conditionalAccess"]; - } - } - return null; - } - - /** - * Sets the conditionalAccess - * - * @param ConditionalAccessRoot $val The conditionalAccess - * - * @return IdentityContainer - */ - public function setConditionalAccess($val) - { - $this->_propDict["conditionalAccess"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityGovernance.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityGovernance.php deleted file mode 100644 index 1eadbadf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IdentityGovernance.php +++ /dev/null @@ -1,158 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new IdentityGovernance - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the IdentityGovernance - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - /** - * Gets the appConsent - * - * @return AppConsentApprovalRoute The appConsent - */ - public function getAppConsent() - { - if (array_key_exists("appConsent", $this->_propDict)) { - if (is_a($this->_propDict["appConsent"], "\Microsoft\Graph\Model\AppConsentApprovalRoute")) { - 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 The termsOfUse - */ - public function getTermsOfUse() - { - if (array_key_exists("termsOfUse", $this->_propDict)) { - if (is_a($this->_propDict["termsOfUse"], "\Microsoft\Graph\Model\TermsOfUseContainer")) { - 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 ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - return $serializableProperties; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/IdentityProvider.php b/vendor/microsoft/microsoft-graph/src/Model/IdentityProvider.php deleted file mode 100644 index d0ca4a00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IdentityProvider.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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/IdentitySecurityDefaultsEnforcementPolicy.php b/vendor/microsoft/microsoft-graph/src/Model/IdentitySecurityDefaultsEnforcementPolicy.php deleted file mode 100644 index feadd427..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IdentitySecurityDefaultsEnforcementPolicy.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 6246ab41..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IdentitySet.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["application"]; - } else { - $this->_propDict["application"] = new Identity($this->_propDict["application"]); - return $this->_propDict["application"]; - } - } - return null; - } - - /** - * Sets the application - * Optional. The application associated with this action. - * - * @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 - * Optional. The device associated with this action. - * - * @return Identity The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["device"]; - } else { - $this->_propDict["device"] = new Identity($this->_propDict["device"]); - return $this->_propDict["device"]; - } - } - return null; - } - - /** - * Sets the device - * Optional. The device associated with this action. - * - * @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 - * Optional. The user associated with this action. - * - * @return Identity The user - */ - public function getUser() - { - if (array_key_exists("user", $this->_propDict)) { - if (is_a($this->_propDict["user"], "\Microsoft\Graph\Model\Identity")) { - return $this->_propDict["user"]; - } else { - $this->_propDict["user"] = new Identity($this->_propDict["user"]); - return $this->_propDict["user"]; - } - } - return null; - } - - /** - * Sets the user - * Optional. The user associated with this action. - * - * @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/Image.php b/vendor/microsoft/microsoft-graph/src/Model/Image.php deleted file mode 100644 index 0b873804..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Image.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1f4a1c9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ImageInfo.php +++ /dev/null @@ -1,136 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index e2b46d9c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ImplicitGrantSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 7c71b419..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Importance.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The onBehalfOf - */ - public function getOnBehalfOf() - { - if (array_key_exists("onBehalfOf", $this->_propDict)) { - if (is_a($this->_propDict["onBehalfOf"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The transferor - */ - public function getTransferor() - { - if (array_key_exists("transferor", $this->_propDict)) { - if (is_a($this->_propDict["transferor"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index 88385485..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IncompleteData.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["missingDataBeforeDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 1db827fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InferenceClassification.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 05bc567c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationOverride.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["classifyAs"], "\Microsoft\Graph\Model\InferenceClassificationType")) { - 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 The senderEmailAddress - */ - public function getSenderEmailAddress() - { - if (array_key_exists("senderEmailAddress", $this->_propDict)) { - if (is_a($this->_propDict["senderEmailAddress"], "\Microsoft\Graph\Model\EmailAddress")) { - 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 deleted file mode 100644 index 0c70583a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InferenceClassificationType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index 4b0cb7da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InformationalUrl.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index febb3186..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Initiator.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["initiatorType"], "\Microsoft\Graph\Model\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, app, 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 deleted file mode 100644 index 79efafda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InitiatorType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index f5f4f11f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InstallIntent.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["permissions"], "\Microsoft\Graph\Model\ResourcePermission")) { - 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 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 deleted file mode 100644 index 95209407..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IntegerRange.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/InternetMessageHeader.php b/vendor/microsoft/microsoft-graph/src/Model/InternetMessageHeader.php deleted file mode 100644 index 0246e0eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InternetMessageHeader.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 1e402512..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InternetSiteSecurityLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 The darkBackgroundLogo - */ - public function getDarkBackgroundLogo() - { - if (array_key_exists("darkBackgroundLogo", $this->_propDict)) { - if (is_a($this->_propDict["darkBackgroundLogo"], "\Microsoft\Graph\Model\MimeContent")) { - 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 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 The lightBackgroundLogo - */ - public function getLightBackgroundLogo() - { - if (array_key_exists("lightBackgroundLogo", $this->_propDict)) { - if (is_a($this->_propDict["lightBackgroundLogo"], "\Microsoft\Graph\Model\MimeContent")) { - 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 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 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 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 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 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 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 The themeColor - */ - public function getThemeColor() - { - if (array_key_exists("themeColor", $this->_propDict)) { - if (is_a($this->_propDict["themeColor"], "\Microsoft\Graph\Model\RgbColor")) { - 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 deleted file mode 100644 index 300d3b99..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InvestigationSecurityState.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index e333a7de..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Invitation.php +++ /dev/null @@ -1,296 +0,0 @@ -_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 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 The invitedUserMessageInfo - */ - public function getInvitedUserMessageInfo() - { - if (array_key_exists("invitedUserMessageInfo", $this->_propDict)) { - if (is_a($this->_propDict["invitedUserMessageInfo"], "\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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 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 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 or not. The default is false. - * - * @return bool 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 or not. 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 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 The invitedUser - */ - public function getInvitedUser() - { - if (array_key_exists("invitedUser", $this->_propDict)) { - if (is_a($this->_propDict["invitedUser"], "\Microsoft\Graph\Model\User")) { - 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 deleted file mode 100644 index 42fc0151..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InvitationParticipantInfo.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 replacesCallId - * Optional. The call which the target idenity is currently a part of. This call will be dropped once the participant is added. - * - * @return string 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 idenity is currently a part of. This call will be dropped once the participant is added. - * - * @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/InviteParticipantsOperation.php b/vendor/microsoft/microsoft-graph/src/Model/InviteParticipantsOperation.php deleted file mode 100644 index ca51a562..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InviteParticipantsOperation.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index f62cac00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/InvitedUserMessageInfo.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["ccRecipients"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 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 deleted file mode 100644 index 0851ddda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosCertificateProfile.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 The passcodeRequiredType - */ - public function getPasscodeRequiredType() - { - if (array_key_exists("passcodeRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passcodeRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 deleted file mode 100644 index 89882c88..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosCustomConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["payload"]; - } else { - $this->_propDict["payload"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index fc935b5a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosDeviceFeaturesConfiguration.php +++ /dev/null @@ -1,175 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 43dab2bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosDeviceType.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 6c331951..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosGeneralDeviceConfiguration.php +++ /dev/null @@ -1,3886 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The appsVisibilityListType - */ - public function getAppsVisibilityListType() - { - if (array_key_exists("appsVisibilityListType", $this->_propDict)) { - if (is_a($this->_propDict["appsVisibilityListType"], "\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The mediaContentRatingApps - */ - public function getMediaContentRatingApps() - { - if (array_key_exists("mediaContentRatingApps", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingApps"], "\Microsoft\Graph\Model\RatingAppsType")) { - 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 The mediaContentRatingAustralia - */ - public function getMediaContentRatingAustralia() - { - if (array_key_exists("mediaContentRatingAustralia", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingAustralia"], "\Microsoft\Graph\Model\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 The mediaContentRatingCanada - */ - public function getMediaContentRatingCanada() - { - if (array_key_exists("mediaContentRatingCanada", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingCanada"], "\Microsoft\Graph\Model\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 The mediaContentRatingFrance - */ - public function getMediaContentRatingFrance() - { - if (array_key_exists("mediaContentRatingFrance", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingFrance"], "\Microsoft\Graph\Model\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 The mediaContentRatingGermany - */ - public function getMediaContentRatingGermany() - { - if (array_key_exists("mediaContentRatingGermany", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingGermany"], "\Microsoft\Graph\Model\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 The mediaContentRatingIreland - */ - public function getMediaContentRatingIreland() - { - if (array_key_exists("mediaContentRatingIreland", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingIreland"], "\Microsoft\Graph\Model\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 The mediaContentRatingJapan - */ - public function getMediaContentRatingJapan() - { - if (array_key_exists("mediaContentRatingJapan", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingJapan"], "\Microsoft\Graph\Model\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 The mediaContentRatingNewZealand - */ - public function getMediaContentRatingNewZealand() - { - if (array_key_exists("mediaContentRatingNewZealand", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingNewZealand"], "\Microsoft\Graph\Model\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 The mediaContentRatingUnitedKingdom - */ - public function getMediaContentRatingUnitedKingdom() - { - if (array_key_exists("mediaContentRatingUnitedKingdom", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingUnitedKingdom"], "\Microsoft\Graph\Model\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 The mediaContentRatingUnitedStates - */ - public function getMediaContentRatingUnitedStates() - { - if (array_key_exists("mediaContentRatingUnitedStates", $this->_propDict)) { - if (is_a($this->_propDict["mediaContentRatingUnitedStates"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passcodeRequiredType - */ - public function getPasscodeRequiredType() - { - if (array_key_exists("passcodeRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passcodeRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 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 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 The safariCookieSettings - */ - public function getSafariCookieSettings() - { - if (array_key_exists("safariCookieSettings", $this->_propDict)) { - if (is_a($this->_propDict["safariCookieSettings"], "\Microsoft\Graph\Model\WebBrowserCookieSettings")) { - 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 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 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 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 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 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 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 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 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 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 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 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. - * - * @return bool 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. - * - * @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 deleted file mode 100644 index 641b1b20..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenApp.php +++ /dev/null @@ -1,63 +0,0 @@ -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 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 deleted file mode 100644 index da1f1076..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolder.php +++ /dev/null @@ -1,68 +0,0 @@ -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 The pages - */ - public function getPages() - { - if (array_key_exists("pages", $this->_propDict)) { - if (is_a($this->_propDict["pages"], "\Microsoft\Graph\Model\IosHomeScreenFolderPage")) { - 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 deleted file mode 100644 index 8e10c860..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenFolderPage.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["apps"], "\Microsoft\Graph\Model\IosHomeScreenApp")) { - 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 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 deleted file mode 100644 index d56bfb87..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index af69dae9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosHomeScreenPage.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The icons - */ - public function getIcons() - { - if (array_key_exists("icons", $this->_propDict)) { - if (is_a($this->_propDict["icons"], "\Microsoft\Graph\Model\IosHomeScreenItem")) { - 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 deleted file mode 100644 index 3153b94f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosLobApp.php +++ /dev/null @@ -1,213 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 7278d76a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosLobAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iosLobAppAssignmentSettings"); - } - - /** - * Gets the vpnConfigurationId - * The VPN Configuration Id to apply for this app. - * - * @return string 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 deleted file mode 100644 index 641b7c0f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppProtection.php +++ /dev/null @@ -1,239 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appDataEncryptionType"], "\Microsoft\Graph\Model\ManagedAppDataEncryptionType")) { - 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 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 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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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 deleted file mode 100644 index 87db8c0f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosManagedAppRegistration.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 v8_0 - * Version 8.0 or later. - * - * @return bool 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 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 deleted file mode 100644 index af0cda74..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppConfiguration.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["encodedSettingXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["encodedSettingXml"]; - } else { - $this->_propDict["encodedSettingXml"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 465b5133..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosMobileAppIdentifier.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iosMobileAppIdentifier"); - } - - /** - * Gets the bundleId - * The identifier for an app, as specified in the app store. - * - * @return string 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 deleted file mode 100644 index 3ff6e88e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosNetworkUsageRule.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The managedApps - */ - public function getManagedApps() - { - if (array_key_exists("managedApps", $this->_propDict)) { - if (is_a($this->_propDict["managedApps"], "\Microsoft\Graph\Model\AppListItem")) { - 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 deleted file mode 100644 index dce996b8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosNotificationAlertType.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["alertType"], "\Microsoft\Graph\Model\IosNotificationAlertType")) { - 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 33e3cd6f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosStoreApp.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 deleted file mode 100644 index c8777cd0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosStoreAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.iosStoreAppAssignmentSettings"); - } - - /** - * Gets the vpnConfigurationId - * The VPN Configuration Id to apply for this app. - * - * @return string 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 deleted file mode 100644 index 597c4dd7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosUpdateConfiguration.php +++ /dev/null @@ -1,152 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activeHoursEnd"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 The activeHoursStart - */ - public function getActiveHoursStart() - { - if (array_key_exists("activeHoursStart", $this->_propDict)) { - if (is_a($this->_propDict["activeHoursStart"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 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 deleted file mode 100644 index 26d4816e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosUpdateDeviceStatus.php +++ /dev/null @@ -1,362 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 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 The installStatus - */ - public function getInstallStatus() - { - if (array_key_exists("installStatus", $this->_propDict)) { - if (is_a($this->_propDict["installStatus"], "\Microsoft\Graph\Model\IosUpdatesInstallStatus")) { - 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 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 deleted file mode 100644 index 6aaed934..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosUpdatesInstallStatus.php +++ /dev/null @@ -1,50 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The licensingType - */ - public function getLicensingType() - { - if (array_key_exists("licensingType", $this->_propDict)) { - if (is_a($this->_propDict["licensingType"], "\Microsoft\Graph\Model\VppLicensingType")) { - 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 The releaseDateTime - */ - public function getReleaseDateTime() - { - if (array_key_exists("releaseDateTime", $this->_propDict)) { - if (is_a($this->_propDict["releaseDateTime"], "\DateTime")) { - 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 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 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 The vppTokenAccountType - */ - public function getVppTokenAccountType() - { - if (array_key_exists("vppTokenAccountType", $this->_propDict)) { - if (is_a($this->_propDict["vppTokenAccountType"], "\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index bad5f4b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosVppAppAssignmentSettings.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.iosVppAppAssignmentSettings"); - } - - /** - * Gets the useDeviceLicensing - * Whether or not to use device licensing. - * - * @return bool 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 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 deleted file mode 100644 index 8b914470..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosVppEBook.php +++ /dev/null @@ -1,259 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index 963b1c67..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IosVppEBookAssignment.php +++ /dev/null @@ -1,27 +0,0 @@ -_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. - * - * @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. - * - * @return bool 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. - * - * @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 deleted file mode 100644 index 93bb9d43..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/IpRange.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 deleted file mode 100644 index 95a0f7d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemActivity.php +++ /dev/null @@ -1,159 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["access"], "\Microsoft\Graph\Model\AccessAction")) { - 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 The activityDateTime - */ - public function getActivityDateTime() - { - if (array_key_exists("activityDateTime", $this->_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 The actor - */ - public function getActor() - { - if (array_key_exists("actor", $this->_propDict)) { - if (is_a($this->_propDict["actor"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 4b28a0d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemActivityStat.php +++ /dev/null @@ -1,350 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["access"], "\Microsoft\Graph\Model\ItemActionStat")) { - 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 The create - */ - public function getCreate() - { - if (array_key_exists("create", $this->_propDict)) { - if (is_a($this->_propDict["create"], "\Microsoft\Graph\Model\ItemActionStat")) { - 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 The delete - */ - public function getDelete() - { - if (array_key_exists("delete", $this->_propDict)) { - if (is_a($this->_propDict["delete"], "\Microsoft\Graph\Model\ItemActionStat")) { - 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 The edit - */ - public function getEdit() - { - if (array_key_exists("edit", $this->_propDict)) { - if (is_a($this->_propDict["edit"], "\Microsoft\Graph\Model\ItemActionStat")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The incompleteData - */ - public function getIncompleteData() - { - if (array_key_exists("incompleteData", $this->_propDict)) { - if (is_a($this->_propDict["incompleteData"], "\Microsoft\Graph\Model\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 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 The move - */ - public function getMove() - { - if (array_key_exists("move", $this->_propDict)) { - if (is_a($this->_propDict["move"], "\Microsoft\Graph\Model\ItemActionStat")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 7dd34757..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemAnalytics.php +++ /dev/null @@ -1,117 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allTime"], "\Microsoft\Graph\Model\ItemActivityStat")) { - 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 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 The lastSevenDays - */ - public function getLastSevenDays() - { - if (array_key_exists("lastSevenDays", $this->_propDict)) { - if (is_a($this->_propDict["lastSevenDays"], "\Microsoft\Graph\Model\ItemActivityStat")) { - 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 deleted file mode 100644 index ba128917..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["item"], "\Microsoft\Graph\Model\OutlookItem")) { - 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 deleted file mode 100644 index f11cea25..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemBody.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The contentType - */ - public function getContentType() - { - if (array_key_exists("contentType", $this->_propDict)) { - if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\BodyType")) { - 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 deleted file mode 100644 index 445f6f25..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemPreviewInfo.php +++ /dev/null @@ -1,104 +0,0 @@ -_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 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 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 deleted file mode 100644 index 5eabcf1c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ItemReference.php +++ /dev/null @@ -1,255 +0,0 @@ -_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 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 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 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 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 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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 4365388b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/KeyCredential.php +++ /dev/null @@ -1,270 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customKeyIdentifier"]; - } else { - $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\stream_for($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 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 Timestamp type represents date and time information 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 KeyCredential The KeyCredential - */ - public function setEndDateTime($val) - { - $this->_propDict["endDateTime"] = $val; - return $this; - } - - /** - * Gets the key - * Value for the key credential. Should be a base 64 encoded value. - * - * @return \GuzzleHttp\Psr7\Stream The key - */ - public function getKey() - { - if (array_key_exists("key", $this->_propDict)) { - if (is_a($this->_propDict["key"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["key"]; - } else { - $this->_propDict["key"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["key"]); - return $this->_propDict["key"]; - } - } - return null; - } - - /** - * Sets the key - * 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 KeyCredential The KeyCredential - */ - public function setKey($val) - { - $this->_propDict["key"] = $val; - return $this; - } - /** - * Gets the keyId - * The unique identifier (GUID) for the key. - * - * @return string 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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'. - * - * @return string 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'. - * - * @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 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 deleted file mode 100644 index 1e6a27c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/KeyValue.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 5822f9e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/KeyValuePair.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index d33c4ca1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LicenseAssignmentState.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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. Possible values: CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Others. For more information on how to identify and resolve license assignment errors see here. - * - * @return string 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. Possible values: CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Others. 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 skuId - * The unique identifier for the SKU. Read-Only. - * - * @return string 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. Possible values: Active, ActiveWithError, Disabled and Error. - * - * @return string 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. Possible values: 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 deleted file mode 100644 index 5507b45f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LicenseDetails.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index d64a65c6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LicenseProcessingState.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index d933954b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LicenseUnitsDetail.php +++ /dev/null @@ -1,110 +0,0 @@ -_propDict)) { - return $this->_propDict["enabled"]; - } else { - return null; - } - } - - /** - * Sets the enabled - * The number of units that are enabled. - * - * @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. - * - * @return int 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. - * - * @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. - * - * @return int 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. - * - * @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 deleted file mode 100644 index 174a1614..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LifecycleEventType.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 578ff0c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ListInfo.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 5b9e8d85..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ListItem.php +++ /dev/null @@ -1,222 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\ContentTypeInfo")) { - 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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Microsoft\Graph\Model\ItemAnalytics")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Microsoft\Graph\Model\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 The fields - */ - public function getFields() - { - if (array_key_exists("fields", $this->_propDict)) { - if (is_a($this->_propDict["fields"], "\Microsoft\Graph\Model\FieldValueSet")) { - 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 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 deleted file mode 100644 index 2dd529a4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ListItemVersion.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fields"], "\Microsoft\Graph\Model\FieldValueSet")) { - 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 deleted file mode 100644 index cff5891f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LobbyBypassScope.php +++ /dev/null @@ -1,37 +0,0 @@ -_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. Possible values are listed in the following table. Optional. - * - * @return LobbyBypassScope The scope - */ - public function getScope() - { - if (array_key_exists("scope", $this->_propDict)) { - if (is_a($this->_propDict["scope"], "\Microsoft\Graph\Model\LobbyBypassScope")) { - 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. Possible values are listed in the following table. 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 deleted file mode 100644 index 367c6b16..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LocaleInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 131eade2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LocalizedNotificationMessage.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index da2df99c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LocateDeviceActionResult.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceLocation"], "\Microsoft\Graph\Model\DeviceGeoLocation")) { - 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 deleted file mode 100644 index d30f87df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Location.php +++ /dev/null @@ -1,270 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 The coordinates - */ - public function getCoordinates() - { - if (array_key_exists("coordinates", $this->_propDict)) { - if (is_a($this->_propDict["coordinates"], "\Microsoft\Graph\Model\OutlookGeoCoordinates")) { - 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 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 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 The locationType - */ - public function getLocationType() - { - if (array_key_exists("locationType", $this->_propDict)) { - if (is_a($this->_propDict["locationType"], "\Microsoft\Graph\Model\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 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 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 The uniqueIdType - */ - public function getUniqueIdType() - { - if (array_key_exists("uniqueIdType", $this->_propDict)) { - if (is_a($this->_propDict["uniqueIdType"], "\Microsoft\Graph\Model\LocationUniqueIdType")) { - 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 deleted file mode 100644 index 642db90d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LocationConstraint.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - if (is_a($this->_propDict["locations"], "\Microsoft\Graph\Model\LocationConstraintItem")) { - 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 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 deleted file mode 100644 index a96fa254..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LocationConstraintItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 76bd2e44..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/LocationType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index ce090625..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MacOSCompliancePolicy.php +++ /dev/null @@ -1,528 +0,0 @@ -_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 The deviceThreatProtectionRequiredSecurityLevel - */ - public function getDeviceThreatProtectionRequiredSecurityLevel() - { - if (array_key_exists("deviceThreatProtectionRequiredSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["deviceThreatProtectionRequiredSecurityLevel"], "\Microsoft\Graph\Model\DeviceThreatProtectionLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 deleted file mode 100644 index 43d4deb1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MacOSCustomConfiguration.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["payload"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["payload"]; - } else { - $this->_propDict["payload"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index 8d3ec362..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MacOSDeviceFeaturesConfiguration.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 deleted file mode 100644 index 73c0c38c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MacOSOfficeSuiteApp.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["destinationRoutingReason"], "\Microsoft\Graph\Model\MailDestinationRoutingReason")) { - 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 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 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 deleted file mode 100644 index 5a43b0da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MailDestinationRoutingReason.php +++ /dev/null @@ -1,48 +0,0 @@ -_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 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 parentFolderId - * The unique identifier for the mailFolder's parent mailFolder. - * - * @return string 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 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 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 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 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 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 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 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 deleted file mode 100644 index b30a893f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MailSearchFolder.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 991541cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MailTips.php +++ /dev/null @@ -1,387 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["automaticReplies"], "\Microsoft\Graph\Model\AutomaticRepliesMailTips")) { - 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 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 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 The emailAddress - */ - public function getEmailAddress() - { - if (array_key_exists("emailAddress", $this->_propDict)) { - if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\MailTipsError")) { - 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 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 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 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 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 The recipientScope - */ - public function getRecipientScope() - { - if (array_key_exists("recipientScope", $this->_propDict)) { - if (is_a($this->_propDict["recipientScope"], "\Microsoft\Graph\Model\RecipientScopeType")) { - 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 The recipientSuggestions - */ - public function getRecipientSuggestions() - { - if (array_key_exists("recipientSuggestions", $this->_propDict)) { - if (is_a($this->_propDict["recipientSuggestions"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 deleted file mode 100644 index 6d83d160..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MailTipsError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index ce64b439..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MailTipsType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 The automaticRepliesSetting - */ - public function getAutomaticRepliesSetting() - { - if (array_key_exists("automaticRepliesSetting", $this->_propDict)) { - if (is_a($this->_propDict["automaticRepliesSetting"], "\Microsoft\Graph\Model\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 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 The delegateMeetingMessageDeliveryOptions - */ - public function getDelegateMeetingMessageDeliveryOptions() - { - if (array_key_exists("delegateMeetingMessageDeliveryOptions", $this->_propDict)) { - if (is_a($this->_propDict["delegateMeetingMessageDeliveryOptions"], "\Microsoft\Graph\Model\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 The language - */ - public function getLanguage() - { - if (array_key_exists("language", $this->_propDict)) { - if (is_a($this->_propDict["language"], "\Microsoft\Graph\Model\LocaleInfo")) { - 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 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 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 workingHours - * The days of the week and hours in a specific time zone that the user works. - * - * @return WorkingHours The workingHours - */ - public function getWorkingHours() - { - if (array_key_exists("workingHours", $this->_propDict)) { - if (is_a($this->_propDict["workingHours"], "\Microsoft\Graph\Model\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/MalwareState.php b/vendor/microsoft/microsoft-graph/src/Model/MalwareState.php deleted file mode 100644 index 62af759f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MalwareState.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index e22e68b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidLobApp.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 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 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 deleted file mode 100644 index 917e2c60..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAndroidStoreApp.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\AndroidMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index d2dc6fff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedApp.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appAvailability"], "\Microsoft\Graph\Model\ManagedAppAvailability")) { - 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 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 deleted file mode 100644 index 7d73f402..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppAvailability.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index 6a957010..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppDataEncryptionType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index c13f9500..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppFlaggedReason.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 85ee8e92..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPinCharacterSet.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 0df46f65..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummary.php +++ /dev/null @@ -1,177 +0,0 @@ -_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 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 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 The lastRefreshTime - */ - public function getLastRefreshTime() - { - if (array_key_exists("lastRefreshTime", $this->_propDict)) { - if (is_a($this->_propDict["lastRefreshTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 9efe7423..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppPolicyDeploymentSummaryPerApp.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The mobileAppIdentifier - */ - public function getMobileAppIdentifier() - { - if (array_key_exists("mobileAppIdentifier", $this->_propDict)) { - if (is_a($this->_propDict["mobileAppIdentifier"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 68ea9d72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppProtection.php +++ /dev/null @@ -1,847 +0,0 @@ -_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 The allowedInboundDataTransferSources - */ - public function getAllowedInboundDataTransferSources() - { - if (array_key_exists("allowedInboundDataTransferSources", $this->_propDict)) { - if (is_a($this->_propDict["allowedInboundDataTransferSources"], "\Microsoft\Graph\Model\ManagedAppDataTransferLevel")) { - 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 The allowedOutboundClipboardSharingLevel - */ - public function getAllowedOutboundClipboardSharingLevel() - { - if (array_key_exists("allowedOutboundClipboardSharingLevel", $this->_propDict)) { - if (is_a($this->_propDict["allowedOutboundClipboardSharingLevel"], "\Microsoft\Graph\Model\ManagedAppClipboardSharingLevel")) { - 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 The allowedOutboundDataTransferDestinations - */ - public function getAllowedOutboundDataTransferDestinations() - { - if (array_key_exists("allowedOutboundDataTransferDestinations", $this->_propDict)) { - if (is_a($this->_propDict["allowedOutboundDataTransferDestinations"], "\Microsoft\Graph\Model\ManagedAppDataTransferLevel")) { - 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 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 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 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 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 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 The managedBrowser - */ - public function getManagedBrowser() - { - if (array_key_exists("managedBrowser", $this->_propDict)) { - if (is_a($this->_propDict["managedBrowser"], "\Microsoft\Graph\Model\ManagedBrowserType")) { - 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 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 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 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 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 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 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 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 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 Duration The periodBeforePinReset - */ - public function getPeriodBeforePinReset() - { - if (array_key_exists("periodBeforePinReset", $this->_propDict)) { - if (is_a($this->_propDict["periodBeforePinReset"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodBeforePinReset"]; - } else { - $this->_propDict["periodBeforePinReset"] = new Duration($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 Duration $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 Duration The periodOfflineBeforeAccessCheck - */ - public function getPeriodOfflineBeforeAccessCheck() - { - if (array_key_exists("periodOfflineBeforeAccessCheck", $this->_propDict)) { - if (is_a($this->_propDict["periodOfflineBeforeAccessCheck"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodOfflineBeforeAccessCheck"]; - } else { - $this->_propDict["periodOfflineBeforeAccessCheck"] = new Duration($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 Duration $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 Duration The periodOfflineBeforeWipeIsEnforced - */ - public function getPeriodOfflineBeforeWipeIsEnforced() - { - if (array_key_exists("periodOfflineBeforeWipeIsEnforced", $this->_propDict)) { - if (is_a($this->_propDict["periodOfflineBeforeWipeIsEnforced"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodOfflineBeforeWipeIsEnforced"]; - } else { - $this->_propDict["periodOfflineBeforeWipeIsEnforced"] = new Duration($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 Duration $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 Duration The periodOnlineBeforeAccessCheck - */ - public function getPeriodOnlineBeforeAccessCheck() - { - if (array_key_exists("periodOnlineBeforeAccessCheck", $this->_propDict)) { - if (is_a($this->_propDict["periodOnlineBeforeAccessCheck"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["periodOnlineBeforeAccessCheck"]; - } else { - $this->_propDict["periodOnlineBeforeAccessCheck"] = new Duration($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 Duration $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 The pinCharacterSet - */ - public function getPinCharacterSet() - { - if (array_key_exists("pinCharacterSet", $this->_propDict)) { - if (is_a($this->_propDict["pinCharacterSet"], "\Microsoft\Graph\Model\ManagedAppPinCharacterSet")) { - 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 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 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 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 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 deleted file mode 100644 index b7980f39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppRegistration.php +++ /dev/null @@ -1,478 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["appIdentifier"], "\Microsoft\Graph\Model\MobileAppIdentifier")) { - 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 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 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 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 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 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 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 deleted file mode 100644 index 0a4464c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatus.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 553668eb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedAppStatusRaw.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 1da191bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedBrowserType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 The complianceGracePeriodExpirationDateTime - */ - public function getComplianceGracePeriodExpirationDateTime() - { - if (array_key_exists("complianceGracePeriodExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 The complianceState - */ - public function getComplianceState() - { - if (array_key_exists("complianceState", $this->_propDict)) { - if (is_a($this->_propDict["complianceState"], "\Microsoft\Graph\Model\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 The configurationManagerClientEnabledFeatures - */ - public function getConfigurationManagerClientEnabledFeatures() - { - if (array_key_exists("configurationManagerClientEnabledFeatures", $this->_propDict)) { - if (is_a($this->_propDict["configurationManagerClientEnabledFeatures"], "\Microsoft\Graph\Model\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 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 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, appleUserEnrollment, appleUserEnrollmentWithServiceAccount, azureAdJoinUsingAzureVmExtension, androidEnterpriseDedicatedDevice, androidEnterpriseFullyManaged, androidEnterpriseCorporateWorkProfile. - * - * @return DeviceEnrollmentType The deviceEnrollmentType - */ - public function getDeviceEnrollmentType() - { - if (array_key_exists("deviceEnrollmentType", $this->_propDict)) { - if (is_a($this->_propDict["deviceEnrollmentType"], "\Microsoft\Graph\Model\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, 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 The deviceHealthAttestationState - */ - public function getDeviceHealthAttestationState() - { - if (array_key_exists("deviceHealthAttestationState", $this->_propDict)) { - if (is_a($this->_propDict["deviceHealthAttestationState"], "\Microsoft\Graph\Model\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 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 The deviceRegistrationState - */ - public function getDeviceRegistrationState() - { - if (array_key_exists("deviceRegistrationState", $this->_propDict)) { - if (is_a($this->_propDict["deviceRegistrationState"], "\Microsoft\Graph\Model\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 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 The easActivationDateTime - */ - public function getEasActivationDateTime() - { - if (array_key_exists("easActivationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["easActivationDateTime"], "\DateTime")) { - 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 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 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 The enrolledDateTime - */ - public function getEnrolledDateTime() - { - if (array_key_exists("enrolledDateTime", $this->_propDict)) { - if (is_a($this->_propDict["enrolledDateTime"], "\DateTime")) { - 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 exchangeAccessState - * The Access State of the device in Exchange. This property is read-only. Possible values are: none, unknown, allowed, blocked, quarantined. - * - * @return DeviceManagementExchangeAccessState The exchangeAccessState - */ - public function getExchangeAccessState() - { - if (array_key_exists("exchangeAccessState", $this->_propDict)) { - if (is_a($this->_propDict["exchangeAccessState"], "\Microsoft\Graph\Model\DeviceManagementExchangeAccessState")) { - 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 The exchangeAccessStateReason - */ - public function getExchangeAccessStateReason() - { - if (array_key_exists("exchangeAccessStateReason", $this->_propDict)) { - if (is_a($this->_propDict["exchangeAccessStateReason"], "\Microsoft\Graph\Model\DeviceManagementExchangeAccessStateReason")) { - 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 The exchangeLastSuccessfulSyncDateTime - */ - public function getExchangeLastSuccessfulSyncDateTime() - { - if (array_key_exists("exchangeLastSuccessfulSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["exchangeLastSuccessfulSyncDateTime"], "\DateTime")) { - 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 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 imei - * IMEI. This property is read-only. - * - * @return string 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 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 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 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 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 The managedDeviceOwnerType - */ - public function getManagedDeviceOwnerType() - { - if (array_key_exists("managedDeviceOwnerType", $this->_propDict)) { - if (is_a($this->_propDict["managedDeviceOwnerType"], "\Microsoft\Graph\Model\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. - * - * @return ManagementAgentType The managementAgent - */ - public function getManagementAgent() - { - if (array_key_exists("managementAgent", $this->_propDict)) { - if (is_a($this->_propDict["managementAgent"], "\Microsoft\Graph\Model\ManagementAgentType")) { - 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. - * - * @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 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 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 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 operatingSystem - * Operating system of the device. Windows, iOS, etc. This property is read-only. - * - * @return string 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 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 The partnerReportedThreatState - */ - public function getPartnerReportedThreatState() - { - if (array_key_exists("partnerReportedThreatState", $this->_propDict)) { - if (is_a($this->_propDict["partnerReportedThreatState"], "\Microsoft\Graph\Model\ManagedDevicePartnerReportedHealthState")) { - 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 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 remoteAssistanceSessionErrorDetails - * An error string that identifies issues when creating Remote Assistance session objects. This property is read-only. - * - * @return string 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 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 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 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 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 userDisplayName - * User display name. This property is read-only. - * - * @return string 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 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 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 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 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 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 The deviceCategory - */ - public function getDeviceCategory() - { - if (array_key_exists("deviceCategory", $this->_propDict)) { - if (is_a($this->_propDict["deviceCategory"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 9dba62c4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfiguration.php +++ /dev/null @@ -1,365 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 The deviceStatusSummary - */ - public function getDeviceStatusSummary() - { - if (array_key_exists("deviceStatusSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceStatusSummary"], "\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationDeviceSummary")) { - 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 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 The userStatusSummary - */ - public function getUserStatusSummary() - { - if (array_key_exists("userStatusSummary", $this->_propDict)) { - if (is_a($this->_propDict["userStatusSummary"], "\Microsoft\Graph\Model\ManagedDeviceMobileAppConfigurationUserSummary")) { - 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 deleted file mode 100644 index ed9959df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index d7a2781a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceStatus.php +++ /dev/null @@ -1,242 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["complianceGracePeriodExpirationDateTime"], "\DateTime")) { - 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 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 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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index 99a614a7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationDeviceSummary.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index df190577..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_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 The lastReportedDateTime - */ - public function getLastReportedDateTime() - { - if (array_key_exists("lastReportedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastReportedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ComplianceStatus")) { - 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 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 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 deleted file mode 100644 index c06e5a2c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceMobileAppConfigurationUserSummary.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 The lastUpdateDateTime - */ - public function getLastUpdateDateTime() - { - if (array_key_exists("lastUpdateDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastUpdateDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index e33fa2df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOverview.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceExchangeAccessStateSummary"], "\Microsoft\Graph\Model\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 The deviceOperatingSystemSummary - */ - public function getDeviceOperatingSystemSummary() - { - if (array_key_exists("deviceOperatingSystemSummary", $this->_propDict)) { - if (is_a($this->_propDict["deviceOperatingSystemSummary"], "\Microsoft\Graph\Model\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 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 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 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 deleted file mode 100644 index 57a6a41e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedDeviceOwnerType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The largeCover - */ - public function getLargeCover() - { - if (array_key_exists("largeCover", $this->_propDict)) { - if (is_a($this->_propDict["largeCover"], "\Microsoft\Graph\Model\MimeContent")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The publishedDateTime - */ - public function getPublishedDateTime() - { - if (array_key_exists("publishedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["publishedDateTime"], "\DateTime")) { - 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 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 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 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 The installSummary - */ - public function getInstallSummary() - { - if (array_key_exists("installSummary", $this->_propDict)) { - if (is_a($this->_propDict["installSummary"], "\Microsoft\Graph\Model\EBookInstallSummary")) { - 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 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 deleted file mode 100644 index f670ffb3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedEBookAssignment.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["installIntent"], "\Microsoft\Graph\Model\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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 79072de7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSLobApp.php +++ /dev/null @@ -1,213 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 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 deleted file mode 100644 index 7f1ee6ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedIOSStoreApp.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableDeviceType"], "\Microsoft\Graph\Model\IosDeviceType")) { - 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\IosMinimumOperatingSystem")) { - 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 deleted file mode 100644 index 16931b90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileApp.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["mobileAppIdentifier"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index d789138e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagedMobileLobApp.php +++ /dev/null @@ -1,144 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 738786b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ManagementAgentType.php +++ /dev/null @@ -1,43 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingAustraliaMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingAustraliaTelevisionType")) { - 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 deleted file mode 100644 index 4369b3af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingCanada.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingCanadaMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingCanadaTelevisionType")) { - 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 deleted file mode 100644 index cc202eac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingFrance.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingFranceMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingFranceTelevisionType")) { - 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 deleted file mode 100644 index d0e0bd82..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingGermany.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingGermanyMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingGermanyTelevisionType")) { - 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 deleted file mode 100644 index c43a11f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingIreland.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingIrelandMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingIrelandTelevisionType")) { - 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 deleted file mode 100644 index 3d74a9f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingJapan.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingJapanMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingJapanTelevisionType")) { - 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 deleted file mode 100644 index 2b611460..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingNewZealand.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingNewZealandMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingNewZealandTelevisionType")) { - 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 deleted file mode 100644 index 93c98dfe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedKingdom.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingUnitedKingdomMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingUnitedKingdomTelevisionType")) { - 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 deleted file mode 100644 index a1132016..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaContentRatingUnitedStates.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["movieRating"], "\Microsoft\Graph\Model\RatingUnitedStatesMoviesType")) { - 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 The tvRating - */ - public function getTvRating() - { - if (array_key_exists("tvRating", $this->_propDict)) { - if (is_a($this->_propDict["tvRating"], "\Microsoft\Graph\Model\RatingUnitedStatesTelevisionType")) { - 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 deleted file mode 100644 index 319789cd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaDirection.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 deleted file mode 100644 index 8acdf976..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaPrompt.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["mediaInfo"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index b4053004..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MediaState.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["direction"], "\Microsoft\Graph\Model\MediaDirection")) { - 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 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 The mediaType - */ - public function getMediaType() - { - if (array_key_exists("mediaType", $this->_propDict)) { - if (is_a($this->_propDict["mediaType"], "\Microsoft\Graph\Model\Modality")) { - 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 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 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/MeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingInfo.php deleted file mode 100644 index 50004010..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MeetingInfo.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet")) { - 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. Possible values are attendee, presenter, producer, and unknownFutureValue. - * - * @return OnlineMeetingRole The role - */ - public function getRole() - { - if (array_key_exists("role", $this->_propDict)) { - if (is_a($this->_propDict["role"], "\Microsoft\Graph\Model\OnlineMeetingRole")) { - 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. Possible values are attendee, presenter, producer, and unknownFutureValue. - * - * @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 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 deleted file mode 100644 index 5c8bb9b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MeetingParticipants.php +++ /dev/null @@ -1,88 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendees"], "\Microsoft\Graph\Model\MeetingParticipantInfo")) { - return $this->_propDict["attendees"]; - } else { - $this->_propDict["attendees"] = new MeetingParticipantInfo($this->_propDict["attendees"]); - return $this->_propDict["attendees"]; - } - } - return null; - } - - /** - * Sets the 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 - * - * @return MeetingParticipantInfo The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\MeetingParticipantInfo")) { - return $this->_propDict["organizer"]; - } else { - $this->_propDict["organizer"] = new MeetingParticipantInfo($this->_propDict["organizer"]); - return $this->_propDict["organizer"]; - } - } - return null; - } - - /** - * Sets the 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/MeetingRequestType.php b/vendor/microsoft/microsoft-graph/src/Model/MeetingRequestType.php deleted file mode 100644 index 81f31553..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MeetingRequestType.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attendeeAvailability"], "\Microsoft\Graph\Model\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 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 The locations - */ - public function getLocations() - { - if (array_key_exists("locations", $this->_propDict)) { - if (is_a($this->_propDict["locations"], "\Microsoft\Graph\Model\Location")) { - 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 The meetingTimeSlot - */ - public function getMeetingTimeSlot() - { - if (array_key_exists("meetingTimeSlot", $this->_propDict)) { - if (is_a($this->_propDict["meetingTimeSlot"], "\Microsoft\Graph\Model\TimeSlot")) { - 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 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 The organizerAvailability - */ - public function getOrganizerAvailability() - { - if (array_key_exists("organizerAvailability", $this->_propDict)) { - if (is_a($this->_propDict["organizerAvailability"], "\Microsoft\Graph\Model\FreeBusyStatus")) { - 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 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 deleted file mode 100644 index b6ef5c77..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MeetingTimeSuggestionsResult.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The meetingTimeSuggestions - */ - public function getMeetingTimeSuggestions() - { - if (array_key_exists("meetingTimeSuggestions", $this->_propDict)) { - if (is_a($this->_propDict["meetingTimeSuggestions"], "\Microsoft\Graph\Model\MeetingTimeSuggestion")) { - 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/Message.php b/vendor/microsoft/microsoft-graph/src/Model/Message.php deleted file mode 100644 index cc09c899..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Message.php +++ /dev/null @@ -1,946 +0,0 @@ -_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 The body - */ - public function getBody() - { - if (array_key_exists("body", $this->_propDict)) { - if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 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 The conversationIndex - */ - public function getConversationIndex() - { - if (array_key_exists("conversationIndex", $this->_propDict)) { - if (is_a($this->_propDict["conversationIndex"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["conversationIndex"]; - } else { - $this->_propDict["conversationIndex"] = \GuzzleHttp\Psr7\stream_for($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 The flag - */ - public function getFlag() - { - if (array_key_exists("flag", $this->_propDict)) { - if (is_a($this->_propDict["flag"], "\Microsoft\Graph\Model\FollowupFlag")) { - 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 The from - */ - public function getFrom() - { - if (array_key_exists("from", $this->_propDict)) { - if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 - * The importance of the message. The possible values are: low, normal, and high. - * - * @return Importance The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\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 message. The possible values are: low, normal, and high. - * - * @param Importance $val The importance - * - * @return Message - */ - public function setImportance($val) - { - $this->_propDict["importance"] = $val; - return $this; - } - - /** - * Gets the inferenceClassification - * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. - * - * @return InferenceClassificationType The inferenceClassification - */ - public function getInferenceClassification() - { - if (array_key_exists("inferenceClassification", $this->_propDict)) { - if (is_a($this->_propDict["inferenceClassification"], "\Microsoft\Graph\Model\InferenceClassificationType")) { - return $this->_propDict["inferenceClassification"]; - } else { - $this->_propDict["inferenceClassification"] = new InferenceClassificationType($this->_propDict["inferenceClassification"]); - return $this->_propDict["inferenceClassification"]; - } - } - return null; - } - - /** - * Sets the inferenceClassification - * The classification of the message for the user, based on inferred relevance or importance, or on an explicit override. The possible values are: focused or other. - * - * @param InferenceClassificationType $val The inferenceClassification - * - * @return Message - */ - public function setInferenceClassification($val) - { - $this->_propDict["inferenceClassification"] = $val; - return $this; - } - - - /** - * Gets the internetMessageHeaders - * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. - * - * @return array The internetMessageHeaders - */ - public function getInternetMessageHeaders() - { - if (array_key_exists("internetMessageHeaders", $this->_propDict)) { - return $this->_propDict["internetMessageHeaders"]; - } else { - return null; - } - } - - /** - * Sets the internetMessageHeaders - * A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only. - * - * @param InternetMessageHeader $val The internetMessageHeaders - * - * @return Message - */ - public function setInternetMessageHeaders($val) - { - $this->_propDict["internetMessageHeaders"] = $val; - return $this; - } - - /** - * Gets the internetMessageId - * The message ID in the format specified by RFC2822. - * - * @return string The internetMessageId - */ - public function getInternetMessageId() - { - if (array_key_exists("internetMessageId", $this->_propDict)) { - return $this->_propDict["internetMessageId"]; - } else { - return null; - } - } - - /** - * Sets the internetMessageId - * The message ID in the format specified by RFC2822. - * - * @param string $val The internetMessageId - * - * @return Message - */ - public function setInternetMessageId($val) - { - $this->_propDict["internetMessageId"] = $val; - return $this; - } - - /** - * Gets the isDeliveryReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @return bool The isDeliveryReceiptRequested - */ - public function getIsDeliveryReceiptRequested() - { - if (array_key_exists("isDeliveryReceiptRequested", $this->_propDict)) { - return $this->_propDict["isDeliveryReceiptRequested"]; - } else { - return null; - } - } - - /** - * Sets the isDeliveryReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @param bool $val The isDeliveryReceiptRequested - * - * @return Message - */ - public function setIsDeliveryReceiptRequested($val) - { - $this->_propDict["isDeliveryReceiptRequested"] = boolval($val); - return $this; - } - - /** - * Gets the isDraft - * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. - * - * @return bool The isDraft - */ - public function getIsDraft() - { - if (array_key_exists("isDraft", $this->_propDict)) { - return $this->_propDict["isDraft"]; - } else { - return null; - } - } - - /** - * Sets the isDraft - * Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet. - * - * @param bool $val The isDraft - * - * @return Message - */ - public function setIsDraft($val) - { - $this->_propDict["isDraft"] = boolval($val); - return $this; - } - - /** - * Gets the isRead - * Indicates whether the message has been read. - * - * @return bool 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 message has been read. - * - * @param bool $val The isRead - * - * @return Message - */ - public function setIsRead($val) - { - $this->_propDict["isRead"] = boolval($val); - return $this; - } - - /** - * Gets the isReadReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @return bool The isReadReceiptRequested - */ - public function getIsReadReceiptRequested() - { - if (array_key_exists("isReadReceiptRequested", $this->_propDict)) { - return $this->_propDict["isReadReceiptRequested"]; - } else { - return null; - } - } - - /** - * Sets the isReadReceiptRequested - * Indicates whether a read receipt is requested for the message. - * - * @param bool $val The isReadReceiptRequested - * - * @return Message - */ - public function setIsReadReceiptRequested($val) - { - $this->_propDict["isReadReceiptRequested"] = boolval($val); - return $this; - } - - /** - * Gets the parentFolderId - * The unique identifier for the message's parent mailFolder. - * - * @return string 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 message's parent mailFolder. - * - * @param string $val The parentFolderId - * - * @return Message - */ - public function setParentFolderId($val) - { - $this->_propDict["parentFolderId"] = $val; - return $this; - } - - /** - * Gets the receivedDateTime - * The date and time the message was received. 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. - * - * @return \DateTime The receivedDateTime - */ - public function getReceivedDateTime() - { - if (array_key_exists("receivedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["receivedDateTime"], "\DateTime")) { - return $this->_propDict["receivedDateTime"]; - } else { - $this->_propDict["receivedDateTime"] = new \DateTime($this->_propDict["receivedDateTime"]); - return $this->_propDict["receivedDateTime"]; - } - } - return null; - } - - /** - * Sets the receivedDateTime - * The date and time the message was received. 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. - * - * @param \DateTime $val The receivedDateTime - * - * @return Message - */ - public function setReceivedDateTime($val) - { - $this->_propDict["receivedDateTime"] = $val; - return $this; - } - - - /** - * Gets the replyTo - * The email addresses to use when replying. - * - * @return array The replyTo - */ - public function getReplyTo() - { - if (array_key_exists("replyTo", $this->_propDict)) { - return $this->_propDict["replyTo"]; - } else { - return null; - } - } - - /** - * Sets the replyTo - * The email addresses to use when replying. - * - * @param Recipient $val The replyTo - * - * @return Message - */ - public function setReplyTo($val) - { - $this->_propDict["replyTo"] = $val; - return $this; - } - - /** - * Gets the sender - * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, the value must correspond to the actual mailbox used. Find out more about setting the from and sender properties of a message. - * - * @return Recipient The sender - */ - public function getSender() - { - if (array_key_exists("sender", $this->_propDict)) { - if (is_a($this->_propDict["sender"], "\Microsoft\Graph\Model\Recipient")) { - return $this->_propDict["sender"]; - } else { - $this->_propDict["sender"] = new Recipient($this->_propDict["sender"]); - return $this->_propDict["sender"]; - } - } - return null; - } - - /** - * Sets the sender - * The account that is actually used to generate the message. In most cases, this value is the same as the from property. You can set this property to a different value when sending a message from a shared mailbox, for a shared calendar, or as a delegate. In any case, 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 sender - * - * @return Message - */ - public function setSender($val) - { - $this->_propDict["sender"] = $val; - return $this; - } - - /** - * Gets the sentDateTime - * The date and time the message was sent. 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. - * - * @return \DateTime The sentDateTime - */ - public function getSentDateTime() - { - if (array_key_exists("sentDateTime", $this->_propDict)) { - if (is_a($this->_propDict["sentDateTime"], "\DateTime")) { - return $this->_propDict["sentDateTime"]; - } else { - $this->_propDict["sentDateTime"] = new \DateTime($this->_propDict["sentDateTime"]); - return $this->_propDict["sentDateTime"]; - } - } - return null; - } - - /** - * Sets the sentDateTime - * The date and time the message was sent. 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. - * - * @param \DateTime $val The sentDateTime - * - * @return Message - */ - public function setSentDateTime($val) - { - $this->_propDict["sentDateTime"] = $val; - return $this; - } - - /** - * Gets the subject - * The subject of the message. - * - * @return string 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 message. - * - * @param string $val The subject - * - * @return Message - */ - public function setSubject($val) - { - $this->_propDict["subject"] = $val; - return $this; - } - - - /** - * Gets the toRecipients - * The To: recipients for the message. - * - * @return array 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 message. - * - * @param Recipient $val The toRecipients - * - * @return Message - */ - public function setToRecipients($val) - { - $this->_propDict["toRecipients"] = $val; - return $this; - } - - /** - * Gets the uniqueBody - * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. - * - * @return ItemBody The uniqueBody - */ - public function getUniqueBody() - { - if (array_key_exists("uniqueBody", $this->_propDict)) { - if (is_a($this->_propDict["uniqueBody"], "\Microsoft\Graph\Model\ItemBody")) { - return $this->_propDict["uniqueBody"]; - } else { - $this->_propDict["uniqueBody"] = new ItemBody($this->_propDict["uniqueBody"]); - return $this->_propDict["uniqueBody"]; - } - } - return null; - } - - /** - * Sets the uniqueBody - * The part of the body of the message that is unique to the current message. uniqueBody is not returned by default but can be retrieved for a given message by use of the ?$select=uniqueBody query. It can be in HTML or text format. - * - * @param ItemBody $val The uniqueBody - * - * @return Message - */ - public function setUniqueBody($val) - { - $this->_propDict["uniqueBody"] = $val; - return $this; - } - - /** - * Gets the webLink - * The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook on the web review pane.The message 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 The webLink - */ - public function getWebLink() - { - if (array_key_exists("webLink", $this->_propDict)) { - return $this->_propDict["webLink"]; - } else { - return null; - } - } - - /** - * Sets the webLink - * The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, then the browser will show the message in the Outlook on the web review pane.The message 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 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 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 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 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 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 deleted file mode 100644 index d576b109..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MessageActionFlag.php +++ /dev/null @@ -1,43 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["actions"], "\Microsoft\Graph\Model\MessageRuleActions")) { - 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 The conditions - */ - public function getConditions() - { - if (array_key_exists("conditions", $this->_propDict)) { - if (is_a($this->_propDict["conditions"], "\Microsoft\Graph\Model\MessageRulePredicates")) { - 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 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 The exceptions - */ - public function getExceptions() - { - if (array_key_exists("exceptions", $this->_propDict)) { - if (is_a($this->_propDict["exceptions"], "\Microsoft\Graph\Model\MessageRulePredicates")) { - 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 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 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 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 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 deleted file mode 100644 index 85333dda..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MessageRuleActions.php +++ /dev/null @@ -1,354 +0,0 @@ -_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 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 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 The forwardAsAttachmentTo - */ - public function getForwardAsAttachmentTo() - { - if (array_key_exists("forwardAsAttachmentTo", $this->_propDict)) { - if (is_a($this->_propDict["forwardAsAttachmentTo"], "\Microsoft\Graph\Model\Recipient")) { - 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 The forwardTo - */ - public function getForwardTo() - { - if (array_key_exists("forwardTo", $this->_propDict)) { - if (is_a($this->_propDict["forwardTo"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 The markImportance - */ - public function getMarkImportance() - { - if (array_key_exists("markImportance", $this->_propDict)) { - if (is_a($this->_propDict["markImportance"], "\Microsoft\Graph\Model\Importance")) { - 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 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 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 The redirectTo - */ - public function getRedirectTo() - { - if (array_key_exists("redirectTo", $this->_propDict)) { - if (is_a($this->_propDict["redirectTo"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 deleted file mode 100644 index 58a8a21f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MessageRulePredicates.php +++ /dev/null @@ -1,896 +0,0 @@ -_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 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 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 The fromAddresses - */ - public function getFromAddresses() - { - if (array_key_exists("fromAddresses", $this->_propDict)) { - if (is_a($this->_propDict["fromAddresses"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 The messageActionFlag - */ - public function getMessageActionFlag() - { - if (array_key_exists("messageActionFlag", $this->_propDict)) { - if (is_a($this->_propDict["messageActionFlag"], "\Microsoft\Graph\Model\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 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 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 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 The sensitivity - */ - public function getSensitivity() - { - if (array_key_exists("sensitivity", $this->_propDict)) { - if (is_a($this->_propDict["sensitivity"], "\Microsoft\Graph\Model\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 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 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 The sentToAddresses - */ - public function getSentToAddresses() - { - if (array_key_exists("sentToAddresses", $this->_propDict)) { - if (is_a($this->_propDict["sentToAddresses"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 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 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 The withinSizeRange - */ - public function getWithinSizeRange() - { - if (array_key_exists("withinSizeRange", $this->_propDict)) { - if (is_a($this->_propDict["withinSizeRange"], "\Microsoft\Graph\Model\SizeRange")) { - 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 deleted file mode 100644 index ce7355ee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MessageSecurityState.php +++ /dev/null @@ -1,265 +0,0 @@ -_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 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 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 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 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 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 The messageReceivedDateTime - */ - public function getMessageReceivedDateTime() - { - if (array_key_exists("messageReceivedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["messageReceivedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 5f43615a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethod.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 581172ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 27adc55c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMethodTarget.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMode"], "\Microsoft\Graph\Model\MicrosoftAuthenticatorAuthenticationMode")) { - 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. Possible values are: any, deviceBasedPush (passwordless only), push. - * - * @param MicrosoftAuthenticatorAuthenticationMode $val The authenticationMode - * - * @return MicrosoftAuthenticatorAuthenticationMethodTarget - */ - public function setAuthenticationMode($val) - { - $this->_propDict["authenticationMode"] = $val; - return $this; - } - - /** - * Gets the featureSettings - * Determines what additional settings should be applied to Microsoft Authenticator. Possible values are: null, requireNumberMatching (Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications). - * - * @return AuthenticatorAppFeatureSettings The featureSettings - */ - public function getFeatureSettings() - { - if (array_key_exists("featureSettings", $this->_propDict)) { - if (is_a($this->_propDict["featureSettings"], "\Microsoft\Graph\Model\AuthenticatorAppFeatureSettings")) { - return $this->_propDict["featureSettings"]; - } else { - $this->_propDict["featureSettings"] = new AuthenticatorAppFeatureSettings($this->_propDict["featureSettings"]); - return $this->_propDict["featureSettings"]; - } - } - return null; - } - - /** - * Sets the featureSettings - * Determines what additional settings should be applied to Microsoft Authenticator. Possible values are: null, requireNumberMatching (Requires number matching for MFA notifications. Value is ignored for phone sign-in notifications). - * - * @param AuthenticatorAppFeatureSettings $val The featureSettings - * - * @return MicrosoftAuthenticatorAuthenticationMethodTarget - */ - public function setFeatureSettings($val) - { - $this->_propDict["featureSettings"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMode.php b/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMode.php deleted file mode 100644 index 42a33847..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftAuthenticatorAuthenticationMode.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["licenseType"], "\Microsoft\Graph\Model\MicrosoftStoreForBusinessLicenseType")) { - 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 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 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 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 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 deleted file mode 100644 index 932fdffb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessAppAssignmentSettings.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.microsoftStoreForBusinessAppAssignmentSettings"); - } - - /** - * Gets the useDeviceContext - * Whether or not to use device execution context for Microsoft Store for Business mobile app. - * - * @return bool 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 deleted file mode 100644 index 966e1fc6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MicrosoftStoreForBusinessLicenseType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index dd59c3f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MiracastChannel.php +++ /dev/null @@ -1,53 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The largeIcon - */ - public function getLargeIcon() - { - if (array_key_exists("largeIcon", $this->_propDict)) { - if (is_a($this->_propDict["largeIcon"], "\Microsoft\Graph\Model\MimeContent")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 The publishingState - */ - public function getPublishingState() - { - if (array_key_exists("publishingState", $this->_propDict)) { - if (is_a($this->_propDict["publishingState"], "\Microsoft\Graph\Model\MobileAppPublishingState")) { - 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 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 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 deleted file mode 100644 index 173706bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignment.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["intent"], "\Microsoft\Graph\Model\InstallIntent")) { - 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\MobileAppAssignmentSettings")) { - 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 The target - */ - public function getTarget() - { - if (array_key_exists("target", $this->_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 5ddd3525..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileAppAssignmentSettings.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index cd4a6046..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileAppContent.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 43ead8c0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFile.php +++ /dev/null @@ -1,304 +0,0 @@ -_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 The azureStorageUriExpirationDateTime - */ - public function getAzureStorageUriExpirationDateTime() - { - if (array_key_exists("azureStorageUriExpirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["azureStorageUriExpirationDateTime"], "\DateTime")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The manifest - */ - public function getManifest() - { - if (array_key_exists("manifest", $this->_propDict)) { - if (is_a($this->_propDict["manifest"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["manifest"]; - } else { - $this->_propDict["manifest"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 The uploadState - */ - public function getUploadState() - { - if (array_key_exists("uploadState", $this->_propDict)) { - if (is_a($this->_propDict["uploadState"], "\Microsoft\Graph\Model\MobileAppContentFileUploadState")) { - 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 deleted file mode 100644 index 882c21d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileAppContentFileUploadState.php +++ /dev/null @@ -1,48 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deadlineDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 432c0c39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileAppPublishingState.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 3e48fe94..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileThreatDefenseConnector.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 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 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 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 The lastHeartbeatDateTime - */ - public function getLastHeartbeatDateTime() - { - if (array_key_exists("lastHeartbeatDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastHeartbeatDateTime"], "\DateTime")) { - 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 The partnerState - */ - public function getPartnerState() - { - if (array_key_exists("partnerState", $this->_propDict)) { - if (is_a($this->_propDict["partnerState"], "\Microsoft\Graph\Model\MobileThreatPartnerTenantState")) { - 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 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 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 deleted file mode 100644 index 15bf1618..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MobileThreatPartnerTenantState.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 deleted file mode 100644 index 2c779aed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MultiValueLegacyExtendedProperty.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index a8f65d73..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/MuteParticipantOperation.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The modifiedDateTime - */ - public function getModifiedDateTime() - { - if (array_key_exists("modifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 8d0335af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/NetworkConnection.php +++ /dev/null @@ -1,606 +0,0 @@ -_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 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 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 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 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 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 The direction - */ - public function getDirection() - { - if (array_key_exists("direction", $this->_propDict)) { - if (is_a($this->_propDict["direction"], "\Microsoft\Graph\Model\ConnectionDirection")) { - 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 The domainRegisteredDateTime - */ - public function getDomainRegisteredDateTime() - { - if (array_key_exists("domainRegisteredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["domainRegisteredDateTime"], "\DateTime")) { - 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 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 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 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 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 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 The protocol - */ - public function getProtocol() - { - if (array_key_exists("protocol", $this->_propDict)) { - if (is_a($this->_propDict["protocol"], "\Microsoft\Graph\Model\SecurityNetworkProtocol")) { - 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 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ConnectionStatus")) { - 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 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 deleted file mode 100644 index 7b67f3f7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Notebook.php +++ /dev/null @@ -1,269 +0,0 @@ -_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 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\NotebookLinks")) { - 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 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 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 The userRole - */ - public function getUserRole() - { - if (array_key_exists("userRole", $this->_propDict)) { - if (is_a($this->_propDict["userRole"], "\Microsoft\Graph\Model\OnenoteUserRole")) { - 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 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 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 deleted file mode 100644 index 7786485f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/NotebookLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index aebedf09..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/NotificationMessageTemplate.php +++ /dev/null @@ -1,181 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["brandingOptions"], "\Microsoft\Graph\Model\NotificationTemplateBrandingOptions")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 6b7025a8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/NotificationTemplateBrandingOptions.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index a0692cbd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OAuth2PermissionGrant.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 if 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 The consentType - */ - public function getConsentType() - { - if (array_key_exists("consentType", $this->_propDict)) { - return $this->_propDict["consentType"]; - } else { - return null; - } - } - - /** - * Sets the consentType - * Indicates if 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 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 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 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 deleted file mode 100644 index 5554e49d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ObjectIdentity.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 character limit. - * - * @return string 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 starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 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 or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. 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 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 or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. 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 deleted file mode 100644 index 97235695..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OfferShiftRequest.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recipientActionDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index e1f09e0a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OfficeGraphInsights.php +++ /dev/null @@ -1,117 +0,0 @@ -_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 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 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 deleted file mode 100644 index 26db0e06..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSetting.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index f6fd2432..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBase64.php +++ /dev/null @@ -1,91 +0,0 @@ -setODataType("#microsoft.graph.omaSettingBase64"); - } - - /** - * Gets the fileName - * File name associated with the Value property (.cer - * - * @return string 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 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 deleted file mode 100644 index feba9f52..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingBoolean.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.omaSettingBoolean"); - } - - /** - * Gets the value - * Value. - * - * @return bool 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 deleted file mode 100644 index 1a2eeae1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingDateTime.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.omaSettingDateTime"); - } - - - /** - * Gets the value - * Value. - * - * @return \DateTime The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\DateTime")) { - 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 deleted file mode 100644 index ced4a78f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingFloatingPoint.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.omaSettingFloatingPoint"); - } - - - /** - * Gets the value - * Value. - * - * @return Single The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\Microsoft\Graph\Model\Single")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = new Single($this->_propDict["value"]); - return $this->_propDict["value"]; - } - } - return null; - } - - /** - * Sets the value - * Value. - * - * @param Single $val The value to assign to the value - * - * @return OmaSettingFloatingPoint The 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 deleted file mode 100644 index af6fe690..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingInteger.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.omaSettingInteger"); - } - - /** - * Gets the value - * Value. - * - * @return int 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 deleted file mode 100644 index 71c4548b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingString.php +++ /dev/null @@ -1,63 +0,0 @@ -setODataType("#microsoft.graph.omaSettingString"); - } - - /** - * Gets the value - * Value. - * - * @return string 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 deleted file mode 100644 index 71683ca6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OmaSettingStringXml.php +++ /dev/null @@ -1,96 +0,0 @@ -setODataType("#microsoft.graph.omaSettingStringXml"); - } - - /** - * Gets the fileName - * File name associated with the Value property (.xml). - * - * @return string 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 The value - */ - public function getValue() - { - if (array_key_exists("value", $this->_propDict)) { - if (is_a($this->_propDict["value"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["value"]; - } else { - $this->_propDict["value"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 2db998d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnPremisesConditionalAccessSettings.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 0f21ecc2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnPremisesExtensionAttributes.php +++ /dev/null @@ -1,446 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index fa23f1f8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnPremisesProvisioningError.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The occurredDateTime - */ - public function getOccurredDateTime() - { - if (array_key_exists("occurredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["occurredDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 423fc859..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Onenote.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 4a460fd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityBaseModel.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 9f8bda99..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntityHierarchyModel.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index aa394e27..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteEntitySchemaObjectModel.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 855d2949..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperation.php +++ /dev/null @@ -1,147 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\OnenoteOperationError")) { - 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 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 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 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 deleted file mode 100644 index 30688c45..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteOperationError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index fefd23b7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenotePage.php +++ /dev/null @@ -1,364 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\PageLinks")) { - 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 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 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 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 The parentNotebook - */ - public function getParentNotebook() - { - if (array_key_exists("parentNotebook", $this->_propDict)) { - if (is_a($this->_propDict["parentNotebook"], "\Microsoft\Graph\Model\Notebook")) { - 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 The parentSection - */ - public function getParentSection() - { - if (array_key_exists("parentSection", $this->_propDict)) { - if (is_a($this->_propDict["parentSection"], "\Microsoft\Graph\Model\OnenoteSection")) { - 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 deleted file mode 100644 index b8b149ed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreview.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\OnenotePagePreviewLinks")) { - 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 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 deleted file mode 100644 index 7567583f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenotePagePreviewLinks.php +++ /dev/null @@ -1,57 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["previewImageUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index bc19e27d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchActionType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["action"], "\Microsoft\Graph\Model\OnenotePatchActionType")) { - 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 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 The position - */ - public function getPosition() - { - if (array_key_exists("position", $this->_propDict)) { - if (is_a($this->_propDict["position"], "\Microsoft\Graph\Model\OnenotePatchInsertPosition")) { - 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 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 deleted file mode 100644 index 88f91f5b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenotePatchInsertPosition.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index d9f94b1f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteSection.php +++ /dev/null @@ -1,214 +0,0 @@ -_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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\SectionLinks")) { - 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 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 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 The parentNotebook - */ - public function getParentNotebook() - { - if (array_key_exists("parentNotebook", $this->_propDict)) { - if (is_a($this->_propDict["parentNotebook"], "\Microsoft\Graph\Model\Notebook")) { - 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 The parentSectionGroup - */ - public function getParentSectionGroup() - { - if (array_key_exists("parentSectionGroup", $this->_propDict)) { - if (is_a($this->_propDict["parentSectionGroup"], "\Microsoft\Graph\Model\SectionGroup")) { - 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 deleted file mode 100644 index e31194a5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnenoteSourceService.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["allowedPresenters"], "\Microsoft\Graph\Model\OnlineMeetingPresenters")) { - 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. Possible values are everyone, organization, roleIsPresenter, organizer, and unknownFutureValue. - * - * @param OnlineMeetingPresenters $val The allowedPresenters - * - * @return OnlineMeeting - */ - public function setAllowedPresenters($val) - { - $this->_propDict["allowedPresenters"] = $val; - return $this; - } - - /** - * Gets the audioConferencing - * The phone access (dial-in) information for an online meeting. Read-only. - * - * @return AudioConferencing The audioConferencing - */ - public function getAudioConferencing() - { - if (array_key_exists("audioConferencing", $this->_propDict)) { - if (is_a($this->_propDict["audioConferencing"], "\Microsoft\Graph\Model\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 chatInfo - * The chat information associated with this online meeting. - * - * @return ChatInfo The chatInfo - */ - public function getChatInfo() - { - if (array_key_exists("chatInfo", $this->_propDict)) { - if (is_a($this->_propDict["chatInfo"], "\Microsoft\Graph\Model\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 The creationDateTime - */ - public function getCreationDateTime() - { - if (array_key_exists("creationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["creationDateTime"], "\DateTime")) { - 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 isEntryExitAnnounced - * Whether or not to announce when callers join or leave. - * - * @return bool The isEntryExitAnnounced - */ - public function getIsEntryExitAnnounced() - { - if (array_key_exists("isEntryExitAnnounced", $this->_propDict)) { - return $this->_propDict["isEntryExitAnnounced"]; - } else { - return null; - } - } - - /** - * Sets the isEntryExitAnnounced - * Whether or not 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 The joinInformation - */ - public function getJoinInformation() - { - if (array_key_exists("joinInformation", $this->_propDict)) { - if (is_a($this->_propDict["joinInformation"], "\Microsoft\Graph\Model\ItemBody")) { - 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 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 The lobbyBypassSettings - */ - public function getLobbyBypassSettings() - { - if (array_key_exists("lobbyBypassSettings", $this->_propDict)) { - if (is_a($this->_propDict["lobbyBypassSettings"], "\Microsoft\Graph\Model\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 The participants - */ - public function getParticipants() - { - if (array_key_exists("participants", $this->_propDict)) { - if (is_a($this->_propDict["participants"], "\Microsoft\Graph\Model\MeetingParticipants")) { - 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 startDateTime - * The meeting start time in UTC. - * - * @return \DateTime The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 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; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingInfo.php b/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingInfo.php deleted file mode 100644 index 1b7d2bbe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingInfo.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 The phones - */ - public function getPhones() - { - if (array_key_exists("phones", $this->_propDict)) { - if (is_a($this->_propDict["phones"], "\Microsoft\Graph\Model\Phone")) { - 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 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 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 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 deleted file mode 100644 index 68b553e9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OnlineMeetingPresenters.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["draftOpenShift"], "\Microsoft\Graph\Model\OpenShiftItem")) { - 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 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 The sharedOpenShift - */ - public function getSharedOpenShift() - { - if (array_key_exists("sharedOpenShift", $this->_propDict)) { - if (is_a($this->_propDict["sharedOpenShift"], "\Microsoft\Graph\Model\OpenShiftItem")) { - 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 deleted file mode 100644 index 7b10ab23..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OpenShiftChangeRequest.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index b81a518b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OpenShiftItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index cfa2b101..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OpenTypeExtension.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 3841c3e6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Operation.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastActionDateTime - */ - public function getLastActionDateTime() - { - if (array_key_exists("lastActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\OperationStatus")) { - 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 deleted file mode 100644 index 67ac3191..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OperationError.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c43fcd64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OperationResult.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 3151d038..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OptionalClaims.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accessToken"], "\Microsoft\Graph\Model\OptionalClaim")) { - 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 The idToken - */ - public function getIdToken() - { - if (array_key_exists("idToken", $this->_propDict)) { - if (is_a($this->_propDict["idToken"], "\Microsoft\Graph\Model\OptionalClaim")) { - 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 The saml2Token - */ - public function getSaml2Token() - { - if (array_key_exists("saml2Token", $this->_propDict)) { - if (is_a($this->_propDict["saml2Token"], "\Microsoft\Graph\Model\OptionalClaim")) { - 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 deleted file mode 100644 index a1a79357..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OrgContact.php +++ /dev/null @@ -1,561 +0,0 @@ -_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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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'. - * - * @return string 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'. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. - * - * @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. - * - * @return array 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. - * - * @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). - * - * @return bool 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). - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return DirectoryObject The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - if (is_a($this->_propDict["manager"], "\Microsoft\Graph\Model\DirectoryObject")) { - 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. - * - * @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. - * - * @return array 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. - * - * @param DirectoryObject $val The memberOf - * - * @return OrgContact - */ - public function setMemberOf($val) - { - $this->_propDict["memberOf"] = $val; - return $this; - } - - - /** - * Gets the transitiveMemberOf - * - * @return array 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 deleted file mode 100644 index d5cd2dc3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Organization.php +++ /dev/null @@ -1,769 +0,0 @@ -_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 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 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 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/region abbreviation for the organization. - * - * @return string The countryLetterCode - */ - public function getCountryLetterCode() - { - if (array_key_exists("countryLetterCode", $this->_propDict)) { - return $this->_propDict["countryLetterCode"]; - } else { - return null; - } - } - - /** - * Sets the countryLetterCode - * Country/region abbreviation for the organization. - * - * @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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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-premise 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 The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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-premise 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 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 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 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 The privacyProfile - */ - public function getPrivacyProfile() - { - if (array_key_exists("privacyProfile", $this->_propDict)) { - if (is_a($this->_propDict["privacyProfile"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 The mobileDeviceManagementAuthority - */ - public function getMobileDeviceManagementAuthority() - { - if (array_key_exists("mobileDeviceManagementAuthority", $this->_propDict)) { - if (is_a($this->_propDict["mobileDeviceManagementAuthority"], "\Microsoft\Graph\Model\MdmAuthority")) { - 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 - * - * @return OrganizationalBranding The branding - */ - public function getBranding() - { - if (array_key_exists("branding", $this->_propDict)) { - if (is_a($this->_propDict["branding"], "\Microsoft\Graph\Model\OrganizationalBranding")) { - return $this->_propDict["branding"]; - } else { - $this->_propDict["branding"] = new OrganizationalBranding($this->_propDict["branding"]); - return $this->_propDict["branding"]; - } - } - return null; - } - - /** - * Sets the branding - * - * @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 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 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 deleted file mode 100644 index ec7a749f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBranding.php +++ /dev/null @@ -1,55 +0,0 @@ -_propDict)) { - return $this->_propDict["localizations"]; - } else { - return null; - } - } - - /** - * Sets the localizations - * - * @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 deleted file mode 100644 index 492a6a61..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OrganizationalBrandingLocalization.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - return $this->_propDict["backgroundColor"]; - } else { - return null; - } - } - - /** - * Sets the backgroundColor - * Color that will appear in place of the background image in low-bandwidth connections. The primary color of your banner logo or your organization color is recommended to be used here. Specify this in hexadecimal (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. .png or .jpg not larger than 1920x1080 and smaller than 300kb. A smaller image will reduce bandwidth requirements and make page loads more performant. - * - * @return \GuzzleHttp\Psr7\Stream The backgroundImage - */ - public function getBackgroundImage() - { - if (array_key_exists("backgroundImage", $this->_propDict)) { - if (is_a($this->_propDict["backgroundImage"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["backgroundImage"]; - } else { - $this->_propDict["backgroundImage"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["backgroundImage"]); - return $this->_propDict["backgroundImage"]; - } - } - return null; - } - - /** - * Sets the backgroundImage - * Image that appears as the background of the sign in page. .png or .jpg not larger than 1920x1080 and smaller than 300kb. A smaller image will reduce bandwidth requirements and make page loads more performant. - * - * @param \GuzzleHttp\Psr7\Stream $val The backgroundImage - * - * @return OrganizationalBrandingProperties - */ - public function setBackgroundImage($val) - { - $this->_propDict["backgroundImage"] = $val; - return $this; - } - - /** - * Gets the bannerLogo - * A banner version of your company logo which appears appears on the sign-in page. .png or .jpg no larger than 36x245px. We recommend using a transparent image with no padding around the logo. - * - * @return \GuzzleHttp\Psr7\Stream The bannerLogo - */ - public function getBannerLogo() - { - if (array_key_exists("bannerLogo", $this->_propDict)) { - if (is_a($this->_propDict["bannerLogo"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["bannerLogo"]; - } else { - $this->_propDict["bannerLogo"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["bannerLogo"]); - return $this->_propDict["bannerLogo"]; - } - } - return null; - } - - /** - * Sets the bannerLogo - * A banner version of your company logo which appears appears on the sign-in page. .png or .jpg no larger than 36x245px. 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 signInPageText - * Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters. - * - * @return string 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. You can use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be Unicode 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 - * Square version of your company logo. This appears in Windows 10 out-of-box (OOBE) experiences and when Windows Autopilot is enabled for deployment. .png or .jpg no larger than 240x240px and no more than 10kb in size. We recommend using a transparent image with no padding around the logo. - * - * @return \GuzzleHttp\Psr7\Stream The squareLogo - */ - public function getSquareLogo() - { - if (array_key_exists("squareLogo", $this->_propDict)) { - if (is_a($this->_propDict["squareLogo"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["squareLogo"]; - } else { - $this->_propDict["squareLogo"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["squareLogo"]); - return $this->_propDict["squareLogo"]; - } - } - return null; - } - - /** - * Sets the squareLogo - * Square version of your company logo. This appears in Windows 10 out-of-box (OOBE) experiences and when Windows Autopilot is enabled for deployment. .png or .jpg no larger than 240x240px and no more than 10kb 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 usernameHintText - * String that shows as the hint in the username textbox on the sign in screen. This text must be Unicode, without links or code, and can't exceed 64 characters. - * - * @return string The usernameHintText - */ - public function getUsernameHintText() - { - if (array_key_exists("usernameHintText", $this->_propDict)) { - return $this->_propDict["usernameHintText"]; - } else { - return null; - } - } - - /** - * Sets the usernameHintText - * String that shows as the hint in the username textbox on the sign in screen. This text must be 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 deleted file mode 100644 index 8aef7678..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OrganizerMeetingInfo.php +++ /dev/null @@ -1,68 +0,0 @@ -setODataType("#microsoft.graph.organizerMeetingInfo"); - } - - - /** - * Gets the organizer - * The organizer Azure Active Directory identity. - * - * @return IdentitySet The organizer - */ - public function getOrganizer() - { - if (array_key_exists("organizer", $this->_propDict)) { - if (is_a($this->_propDict["organizer"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 deleted file mode 100644 index 22ec7eb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OutgoingCallOptions.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.outgoingCallOptions"); - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/OutlookCategory.php b/vendor/microsoft/microsoft-graph/src/Model/OutlookCategory.php deleted file mode 100644 index 13dedb6b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OutlookCategory.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["color"], "\Microsoft\Graph\Model\CategoryColor")) { - 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 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 deleted file mode 100644 index cc43f4e9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OutlookGeoCoordinates.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index f933bfc5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OutlookItem.php +++ /dev/null @@ -1,151 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index d34c6f34..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/OutlookUser.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 41251a69..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Package.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index d7318903..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PageLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index 4eea97c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ParentalControlSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 84d8ebe7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Participant.php +++ /dev/null @@ -1,181 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["info"], "\Microsoft\Graph\Model\ParticipantInfo")) { - 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 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 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 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 recordingInfo - * Information on whether the participant has recording capability. - * - * @return RecordingInfo The recordingInfo - */ - public function getRecordingInfo() - { - if (array_key_exists("recordingInfo", $this->_propDict)) { - if (is_a($this->_propDict["recordingInfo"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index c092a183..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ParticipantInfo.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The endpointType - */ - public function getEndpointType() - { - if (array_key_exists("endpointType", $this->_propDict)) { - if (is_a($this->_propDict["endpointType"], "\Microsoft\Graph\Model\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 The identity - */ - public function getIdentity() - { - if (array_key_exists("identity", $this->_propDict)) { - if (is_a($this->_propDict["identity"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 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/PasswordCredential.php b/vendor/microsoft/microsoft-graph/src/Model/PasswordCredential.php deleted file mode 100644 index 638e13ca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PasswordCredential.php +++ /dev/null @@ -1,237 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["customKeyIdentifier"]; - } else { - $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\stream_for($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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 23408240..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PasswordProfile.php +++ /dev/null @@ -1,110 +0,0 @@ -_propDict)) { - return $this->_propDict["forceChangePasswordNextSignIn"]; - } else { - return null; - } - } - - /** - * Sets the forceChangePasswordNextSignIn - * If true, at next sign-in, the user must change their password. 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 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 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 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 deleted file mode 100644 index 7811716d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PatternedRecurrence.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["pattern"], "\Microsoft\Graph\Model\RecurrencePattern")) { - 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. - * - * @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 The range - */ - public function getRange() - { - if (array_key_exists("range", $this->_propDict)) { - if (is_a($this->_propDict["range"], "\Microsoft\Graph\Model\RecurrenceRange")) { - 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 deleted file mode 100644 index 092a76ee..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PendingContentUpdate.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["queuedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 65de03dd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PendingOperations.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["pendingContentUpdate"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 9b1c360f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Permission.php +++ /dev/null @@ -1,309 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 - * For user type permissions, the details of the users & applications for this permission. Read-only. - * - * @return IdentitySet The grantedTo - */ - public function getGrantedTo() - { - if (array_key_exists("grantedTo", $this->_propDict)) { - if (is_a($this->_propDict["grantedTo"], "\Microsoft\Graph\Model\IdentitySet")) { - return $this->_propDict["grantedTo"]; - } else { - $this->_propDict["grantedTo"] = new IdentitySet($this->_propDict["grantedTo"]); - return $this->_propDict["grantedTo"]; - } - } - return null; - } - - /** - * Sets the grantedTo - * For user type permissions, the details of the users & applications for this permission. Read-only. - * - * @param IdentitySet $val The grantedTo - * - * @return Permission - */ - public function setGrantedTo($val) - { - $this->_propDict["grantedTo"] = $val; - return $this; - } - - - /** - * Gets the grantedToIdentities - * For link type permissions, the details of the users to whom permission was granted. Read-only. - * - * @return array The grantedToIdentities - */ - public function getGrantedToIdentities() - { - if (array_key_exists("grantedToIdentities", $this->_propDict)) { - return $this->_propDict["grantedToIdentities"]; - } else { - return null; - } - } - - /** - * Sets the grantedToIdentities - * For link type permissions, the details of the users to whom permission was granted. Read-only. - * - * @param IdentitySet $val The grantedToIdentities - * - * @return Permission - */ - public function setGrantedToIdentities($val) - { - $this->_propDict["grantedToIdentities"] = $val; - return $this; - } - - /** - * Gets the hasPassword - * This indicates whether password is set for this permission, it's only showing in response. Optional and Read-only and for OneDrive Personal only. - * - * @return bool The hasPassword - */ - public function getHasPassword() - { - if (array_key_exists("hasPassword", $this->_propDict)) { - return $this->_propDict["hasPassword"]; - } else { - return null; - } - } - - /** - * Sets the hasPassword - * This indicates whether password is set for this permission, it's only showing in response. Optional and Read-only and 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 The inheritedFrom - */ - public function getInheritedFrom() - { - if (array_key_exists("inheritedFrom", $this->_propDict)) { - if (is_a($this->_propDict["inheritedFrom"], "\Microsoft\Graph\Model\ItemReference")) { - 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 The invitation - */ - public function getInvitation() - { - if (array_key_exists("invitation", $this->_propDict)) { - if (is_a($this->_propDict["invitation"], "\Microsoft\Graph\Model\SharingInvitation")) { - 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 The link - */ - public function getLink() - { - if (array_key_exists("link", $this->_propDict)) { - if (is_a($this->_propDict["link"], "\Microsoft\Graph\Model\SharingLink")) { - 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, e.g. read. See below for the full list of roles. Read-only. - * - * @return string 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, e.g. 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 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 deleted file mode 100644 index 2325b9bd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PermissionClassificationType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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 The permissionType - */ - public function getPermissionType() - { - if (array_key_exists("permissionType", $this->_propDict)) { - if (is_a($this->_propDict["permissionType"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 516675cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PermissionGrantPolicy.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 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 deleted file mode 100644 index 8ccdb3f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PermissionScope.php +++ /dev/null @@ -1,276 +0,0 @@ -_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 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 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 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 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 - * Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. This will be the default behavior, but each customer can choose to customize the behavior in their organization (by allowing, restricting or limiting user consent to this delegated permission.) - * - * @return string The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - return $this->_propDict["type"]; - } else { - return null; - } - } - - /** - * Sets the type - * Specifies whether this delegated permission should be considered safe for non-admin users to consent to on behalf of themselves, or whether an administrator should be required for consent to the permissions. This will be the default behavior, but each customer can choose to customize the behavior in their organization (by allowing, restricting or limiting user consent to this delegated permission.) - * - * @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 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 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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 0a5e25ef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PermissionType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["mode"], "\Microsoft\Graph\Model\PersistentBrowserSessionMode")) { - 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 deleted file mode 100644 index 2dce5783..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionMode.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 The personType - */ - public function getPersonType() - { - if (array_key_exists("personType", $this->_propDict)) { - if (is_a($this->_propDict["personType"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 8b71a8e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PersonOrGroupColumn.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index e2c01517..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PersonType.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index d8ac801b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Phone.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\PhoneType")) { - 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 deleted file mode 100644 index 51391e72..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PhoneType.php +++ /dev/null @@ -1,42 +0,0 @@ -_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 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 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 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 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 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 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 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 The takenDateTime - */ - public function getTakenDateTime() - { - if (array_key_exists("takenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["takenDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 8393a11e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddress.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 0e205274..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PhysicalAddressType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 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 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/Place.php b/vendor/microsoft/microsoft-graph/src/Model/Place.php deleted file mode 100644 index db690f92..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Place.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress")) { - 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 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 The geoCoordinates - */ - public function getGeoCoordinates() - { - if (array_key_exists("geoCoordinates", $this->_propDict)) { - if (is_a($this->_propDict["geoCoordinates"], "\Microsoft\Graph\Model\OutlookGeoCoordinates")) { - 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 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 deleted file mode 100644 index 7fcebc52..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Planner.php +++ /dev/null @@ -1,117 +0,0 @@ -_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 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 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 deleted file mode 100644 index ba31263b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerAppliedCategories.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["orderHintsByAssignee"], "\Microsoft\Graph\Model\PlannerOrderHintsByAssignee")) { - 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 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 deleted file mode 100644 index af4130fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignment.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The assignedDateTime - */ - public function getAssignedDateTime() - { - if (array_key_exists("assignedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["assignedDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 8adb7c70..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerAssignments.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 2d7e0815..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerBucketTaskBoardTaskFormat.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index ec2679e0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerCategoryDescriptions.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 category2 - * The label associated with Category 2 - * - * @return string 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 category3 - * The label associated with Category 3 - * - * @return string 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 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 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 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; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItem.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItem.php deleted file mode 100644 index f289ffcb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItem.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index e017fb0b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerChecklistItems.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index c29f7059..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerExternalReferences.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index 9450907b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerOrderHintsByAssignee.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 - * ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated. - * - * @return string The owner - */ - public function getOwner() - { - if (array_key_exists("owner", $this->_propDict)) { - return $this->_propDict["owner"]; - } else { - return null; - } - } - - /** - * Sets the owner - * ID of the Group that owns the plan. A valid group must exist before this field can be set. After it is set, this property can’t be updated. - * - * @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 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 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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PlannerPlanDetails")) { - 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 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/PlannerPlanDetails.php b/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanDetails.php deleted file mode 100644 index 805a8549..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerPlanDetails.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["categoryDescriptions"], "\Microsoft\Graph\Model\PlannerCategoryDescriptions")) { - 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 The sharedWith - */ - public function getSharedWith() - { - if (array_key_exists("sharedWith", $this->_propDict)) { - if (is_a($this->_propDict["sharedWith"], "\Microsoft\Graph\Model\PlannerUserIds")) { - 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 deleted file mode 100644 index 8eeab964..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerPreviewType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 deleted file mode 100644 index 389ac4ed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerTask.php +++ /dev/null @@ -1,775 +0,0 @@ -_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 The appliedCategories - */ - public function getAppliedCategories() - { - if (array_key_exists("appliedCategories", $this->_propDict)) { - if (is_a($this->_propDict["appliedCategories"], "\Microsoft\Graph\Model\PlannerAppliedCategories")) { - 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 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 The assignments - */ - public function getAssignments() - { - if (array_key_exists("assignments", $this->_propDict)) { - if (is_a($this->_propDict["assignments"], "\Microsoft\Graph\Model\PlannerAssignments")) { - 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 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 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 The completedBy - */ - public function getCompletedBy() - { - if (array_key_exists("completedBy", $this->_propDict)) { - if (is_a($this->_propDict["completedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\DateTime")) { - 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 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 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 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 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 The previewType - */ - public function getPreviewType() - { - if (array_key_exists("previewType", $this->_propDict)) { - if (is_a($this->_propDict["previewType"], "\Microsoft\Graph\Model\PlannerPreviewType")) { - 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 referenceCount - * Number of external references that exist on the task. - * - * @return int 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 The assignedToTaskBoardFormat - */ - public function getAssignedToTaskBoardFormat() - { - if (array_key_exists("assignedToTaskBoardFormat", $this->_propDict)) { - if (is_a($this->_propDict["assignedToTaskBoardFormat"], "\Microsoft\Graph\Model\PlannerAssignedToTaskBoardTaskFormat")) { - 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 The bucketTaskBoardFormat - */ - public function getBucketTaskBoardFormat() - { - if (array_key_exists("bucketTaskBoardFormat", $this->_propDict)) { - if (is_a($this->_propDict["bucketTaskBoardFormat"], "\Microsoft\Graph\Model\PlannerBucketTaskBoardTaskFormat")) { - 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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PlannerTaskDetails")) { - 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 The progressTaskBoardFormat - */ - public function getProgressTaskBoardFormat() - { - if (array_key_exists("progressTaskBoardFormat", $this->_propDict)) { - if (is_a($this->_propDict["progressTaskBoardFormat"], "\Microsoft\Graph\Model\PlannerProgressTaskBoardTaskFormat")) { - 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 deleted file mode 100644 index 1375a953..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerTaskDetails.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["checklist"], "\Microsoft\Graph\Model\PlannerChecklistItems")) { - 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 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 The previewType - */ - public function getPreviewType() - { - if (array_key_exists("previewType", $this->_propDict)) { - if (is_a($this->_propDict["previewType"], "\Microsoft\Graph\Model\PlannerPreviewType")) { - 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 The references - */ - public function getReferences() - { - if (array_key_exists("references", $this->_propDict)) { - if (is_a($this->_propDict["references"], "\Microsoft\Graph\Model\PlannerExternalReferences")) { - 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 deleted file mode 100644 index 0a7e7977..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerUser.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 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 deleted file mode 100644 index 983ed8f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PlannerUserIds.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * Description for this policy. - * - * @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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index 26b68c73..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PolicyPlatformType.php +++ /dev/null @@ -1,40 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["authenticationMethodsPolicy"], "\Microsoft\Graph\Model\AuthenticationMethodsPolicy")) { - return $this->_propDict["authenticationMethodsPolicy"]; - } else { - $this->_propDict["authenticationMethodsPolicy"] = new AuthenticationMethodsPolicy($this->_propDict["authenticationMethodsPolicy"]); - return $this->_propDict["authenticationMethodsPolicy"]; - } - } - return null; - } - - /** - * Sets the authenticationMethodsPolicy - * - * @param AuthenticationMethodsPolicy $val The authenticationMethodsPolicy - * - * @return PolicyRoot - */ - public function setAuthenticationMethodsPolicy($val) - { - $this->_propDict["authenticationMethodsPolicy"] = $val; - return $this; - } - - - /** - * Gets the activityBasedTimeoutPolicies - * - * @return array The activityBasedTimeoutPolicies - */ - public function getActivityBasedTimeoutPolicies() - { - if (array_key_exists("activityBasedTimeoutPolicies", $this->_propDict)) { - return $this->_propDict["activityBasedTimeoutPolicies"]; - } else { - return null; - } - } - - /** - * Sets the activityBasedTimeoutPolicies - * - * @param ActivityBasedTimeoutPolicy $val The activityBasedTimeoutPolicies - * - * @return PolicyRoot - */ - public function setActivityBasedTimeoutPolicies($val) - { - $this->_propDict["activityBasedTimeoutPolicies"] = $val; - return $this; - } - - /** - * Gets the authorizationPolicy - * - * @return AuthorizationPolicy The authorizationPolicy - */ - public function getAuthorizationPolicy() - { - if (array_key_exists("authorizationPolicy", $this->_propDict)) { - if (is_a($this->_propDict["authorizationPolicy"], "\Microsoft\Graph\Model\AuthorizationPolicy")) { - return $this->_propDict["authorizationPolicy"]; - } else { - $this->_propDict["authorizationPolicy"] = new AuthorizationPolicy($this->_propDict["authorizationPolicy"]); - return $this->_propDict["authorizationPolicy"]; - } - } - return null; - } - - /** - * Sets the authorizationPolicy - * - * @param AuthorizationPolicy $val The authorizationPolicy - * - * @return PolicyRoot - */ - public function setAuthorizationPolicy($val) - { - $this->_propDict["authorizationPolicy"] = $val; - return $this; - } - - - /** - * Gets the claimsMappingPolicies - * - * @return array The claimsMappingPolicies - */ - public function getClaimsMappingPolicies() - { - if (array_key_exists("claimsMappingPolicies", $this->_propDict)) { - return $this->_propDict["claimsMappingPolicies"]; - } else { - return null; - } - } - - /** - * Sets the claimsMappingPolicies - * - * @param ClaimsMappingPolicy $val The claimsMappingPolicies - * - * @return PolicyRoot - */ - public function setClaimsMappingPolicies($val) - { - $this->_propDict["claimsMappingPolicies"] = $val; - return $this; - } - - - /** - * Gets the homeRealmDiscoveryPolicies - * - * @return array 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 PolicyRoot - */ - public function setHomeRealmDiscoveryPolicies($val) - { - $this->_propDict["homeRealmDiscoveryPolicies"] = $val; - return $this; - } - - - /** - * Gets the permissionGrantPolicies - * - * @return array The permissionGrantPolicies - */ - public function getPermissionGrantPolicies() - { - if (array_key_exists("permissionGrantPolicies", $this->_propDict)) { - return $this->_propDict["permissionGrantPolicies"]; - } else { - return null; - } - } - - /** - * Sets the permissionGrantPolicies - * - * @param PermissionGrantPolicy $val The permissionGrantPolicies - * - * @return PolicyRoot - */ - public function setPermissionGrantPolicies($val) - { - $this->_propDict["permissionGrantPolicies"] = $val; - return $this; - } - - - /** - * Gets the tokenIssuancePolicies - * - * @return array 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 PolicyRoot - */ - public function setTokenIssuancePolicies($val) - { - $this->_propDict["tokenIssuancePolicies"] = $val; - return $this; - } - - - /** - * Gets the tokenLifetimePolicies - * - * @return array The tokenLifetimePolicies - */ - public function getTokenLifetimePolicies() - { - if (array_key_exists("tokenLifetimePolicies", $this->_propDict)) { - return $this->_propDict["tokenLifetimePolicies"]; - } else { - return null; - } - } - - /** - * Sets the tokenLifetimePolicies - * - * @param TokenLifetimePolicy $val The tokenLifetimePolicies - * - * @return PolicyRoot - */ - public function setTokenLifetimePolicies($val) - { - $this->_propDict["tokenLifetimePolicies"] = $val; - return $this; - } - - - /** - * Gets the featureRolloutPolicies - * - * @return array The featureRolloutPolicies - */ - public function getFeatureRolloutPolicies() - { - if (array_key_exists("featureRolloutPolicies", $this->_propDict)) { - return $this->_propDict["featureRolloutPolicies"]; - } else { - return null; - } - } - - /** - * Sets the featureRolloutPolicies - * - * @param FeatureRolloutPolicy $val The featureRolloutPolicies - * - * @return PolicyRoot - */ - public function setFeatureRolloutPolicies($val) - { - $this->_propDict["featureRolloutPolicies"] = $val; - return $this; - } - - /** - * Gets the adminConsentRequestPolicy - * - * @return AdminConsentRequestPolicy The adminConsentRequestPolicy - */ - public function getAdminConsentRequestPolicy() - { - if (array_key_exists("adminConsentRequestPolicy", $this->_propDict)) { - if (is_a($this->_propDict["adminConsentRequestPolicy"], "\Microsoft\Graph\Model\AdminConsentRequestPolicy")) { - return $this->_propDict["adminConsentRequestPolicy"]; - } else { - $this->_propDict["adminConsentRequestPolicy"] = new AdminConsentRequestPolicy($this->_propDict["adminConsentRequestPolicy"]); - return $this->_propDict["adminConsentRequestPolicy"]; - } - } - return null; - } - - /** - * Sets the adminConsentRequestPolicy - * - * @param AdminConsentRequestPolicy $val The adminConsentRequestPolicy - * - * @return PolicyRoot - */ - public function setAdminConsentRequestPolicy($val) - { - $this->_propDict["adminConsentRequestPolicy"] = $val; - return $this; - } - - - /** - * Gets the conditionalAccessPolicies - * - * @return array The conditionalAccessPolicies - */ - public function getConditionalAccessPolicies() - { - if (array_key_exists("conditionalAccessPolicies", $this->_propDict)) { - return $this->_propDict["conditionalAccessPolicies"]; - } else { - return null; - } - } - - /** - * Sets the conditionalAccessPolicies - * - * @param ConditionalAccessPolicy $val The conditionalAccessPolicies - * - * @return PolicyRoot - */ - public function setConditionalAccessPolicies($val) - { - $this->_propDict["conditionalAccessPolicies"] = $val; - return $this; - } - - /** - * Gets the identitySecurityDefaultsEnforcementPolicy - * - * @return IdentitySecurityDefaultsEnforcementPolicy The identitySecurityDefaultsEnforcementPolicy - */ - public function getIdentitySecurityDefaultsEnforcementPolicy() - { - if (array_key_exists("identitySecurityDefaultsEnforcementPolicy", $this->_propDict)) { - if (is_a($this->_propDict["identitySecurityDefaultsEnforcementPolicy"], "\Microsoft\Graph\Model\IdentitySecurityDefaultsEnforcementPolicy")) { - return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; - } else { - $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = new IdentitySecurityDefaultsEnforcementPolicy($this->_propDict["identitySecurityDefaultsEnforcementPolicy"]); - return $this->_propDict["identitySecurityDefaultsEnforcementPolicy"]; - } - } - return null; - } - - /** - * Sets the identitySecurityDefaultsEnforcementPolicy - * - * @param IdentitySecurityDefaultsEnforcementPolicy $val The identitySecurityDefaultsEnforcementPolicy - * - * @return PolicyRoot - */ - public function setIdentitySecurityDefaultsEnforcementPolicy($val) - { - $this->_propDict["identitySecurityDefaultsEnforcementPolicy"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/Post.php b/vendor/microsoft/microsoft-graph/src/Model/Post.php deleted file mode 100644 index 22f71380..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Post.php +++ /dev/null @@ -1,429 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody")) { - 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 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 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 The from - */ - public function getFrom() - { - if (array_key_exists("from", $this->_propDict)) { - if (is_a($this->_propDict["from"], "\Microsoft\Graph\Model\Recipient")) { - 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 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 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 The receivedDateTime - */ - public function getReceivedDateTime() - { - if (array_key_exists("receivedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["receivedDateTime"], "\DateTime")) { - 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 The sender - */ - public function getSender() - { - if (array_key_exists("sender", $this->_propDict)) { - if (is_a($this->_propDict["sender"], "\Microsoft\Graph\Model\Recipient")) { - 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return Post The inReplyTo - */ - public function getInReplyTo() - { - if (array_key_exists("inReplyTo", $this->_propDict)) { - if (is_a($this->_propDict["inReplyTo"], "\Microsoft\Graph\Model\Post")) { - 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. - * - * @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 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 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/PreAuthorizedApplication.php b/vendor/microsoft/microsoft-graph/src/Model/PreAuthorizedApplication.php deleted file mode 100644 index 0ba78bbc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PreAuthorizedApplication.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 54d1beb9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrereleaseFeatures.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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/PrintCertificateSigningRequest.php b/vendor/microsoft/microsoft-graph/src/Model/PrintCertificateSigningRequest.php deleted file mode 100644 index d1abb1ad..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintCertificateSigningRequest.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 68b2b345..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintColorMode.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\PrinterLocation")) { - 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 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 The registeredDateTime - */ - public function getRegisteredDateTime() - { - if (array_key_exists("registeredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registeredDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 810ffa69..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintDocument.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index 5ddfd12a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintDocumentUploadProperties.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index f369d228..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintDuplexMode.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Microsoft\Graph\Model\PrintJobConfiguration")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\UserIdentity")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintJobStatus")) { - 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 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 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 deleted file mode 100644 index 35147bdb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintJobConfiguration.php +++ /dev/null @@ -1,606 +0,0 @@ -_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 The colorMode - */ - public function getColorMode() - { - if (array_key_exists("colorMode", $this->_propDict)) { - if (is_a($this->_propDict["colorMode"], "\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 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 The duplexMode - */ - public function getDuplexMode() - { - if (array_key_exists("duplexMode", $this->_propDict)) { - if (is_a($this->_propDict["duplexMode"], "\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The feedOrientation - */ - public function getFeedOrientation() - { - if (array_key_exists("feedOrientation", $this->_propDict)) { - if (is_a($this->_propDict["feedOrientation"], "\Microsoft\Graph\Model\PrinterFeedOrientation")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 The margin - */ - public function getMargin() - { - if (array_key_exists("margin", $this->_propDict)) { - if (is_a($this->_propDict["margin"], "\Microsoft\Graph\Model\PrintMargin")) { - 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, along with any custom sizes supported by the associated printer. - * - * @return string 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, along with any custom sizes supported by the associated printer. - * - * @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. Valid values are described in the following table. - * - * @return string 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. Valid values are described in the following table. - * - * @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 The multipageLayout - */ - public function getMultipageLayout() - { - if (array_key_exists("multipageLayout", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayout"], "\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientation - */ - public function getOrientation() - { - if (array_key_exists("orientation", $this->_propDict)) { - if (is_a($this->_propDict["orientation"], "\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 The pageRanges - */ - public function getPageRanges() - { - if (array_key_exists("pageRanges", $this->_propDict)) { - if (is_a($this->_propDict["pageRanges"], "\Microsoft\Graph\Model\IntegerRange")) { - 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 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 The quality - */ - public function getQuality() - { - if (array_key_exists("quality", $this->_propDict)) { - if (is_a($this->_propDict["quality"], "\Microsoft\Graph\Model\PrintQuality")) { - 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 The scaling - */ - public function getScaling() - { - if (array_key_exists("scaling", $this->_propDict)) { - if (is_a($this->_propDict["scaling"], "\Microsoft\Graph\Model\PrintScaling")) { - 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 deleted file mode 100644 index f27bc3a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintJobProcessingState.php +++ /dev/null @@ -1,41 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PrintJobStateDetail")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrintJobProcessingState")) { - 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 deleted file mode 100644 index a1f6734e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintMargin.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 0bdb8c12..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintMultipageLayout.php +++ /dev/null @@ -1,41 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintOperationStatus")) { - 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 deleted file mode 100644 index f9305ac9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintOperationProcessingState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrintOperationProcessingState")) { - 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 deleted file mode 100644 index cfb27ce1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintOrientation.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 deleted file mode 100644 index 5cc353f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintServiceEndpoint.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 00ec90f3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 346ee138..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintTask.php +++ /dev/null @@ -1,155 +0,0 @@ -_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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrintTaskStatus")) { - 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Microsoft\Graph\Model\PrintTaskDefinition")) { - 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 The trigger - */ - public function getTrigger() - { - if (array_key_exists("trigger", $this->_propDict)) { - if (is_a($this->_propDict["trigger"], "\Microsoft\Graph\Model\PrintTaskTrigger")) { - 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 deleted file mode 100644 index 2b82eb38..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintTaskDefinition.php +++ /dev/null @@ -1,119 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\AppIdentity")) { - 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 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 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 deleted file mode 100644 index 9de90bbb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintTaskProcessingState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrintTaskProcessingState")) { - 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 deleted file mode 100644 index e6de3be6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintTaskTrigger.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["event"], "\Microsoft\Graph\Model\PrintEvent")) { - 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 The definition - */ - public function getDefinition() - { - if (array_key_exists("definition", $this->_propDict)) { - if (is_a($this->_propDict["definition"], "\Microsoft\Graph\Model\PrintTaskDefinition")) { - 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 deleted file mode 100644 index e5346eff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintUsage.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 The usageDate - */ - public function getUsageDate() - { - if (array_key_exists("usageDate", $this->_propDict)) { - if (is_a($this->_propDict["usageDate"], "\DateTime")) { - 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 deleted file mode 100644 index 009fea54..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByPrinter.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index d9977907..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrintUsageByUser.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index ff6c5e64..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Printer.php +++ /dev/null @@ -1,241 +0,0 @@ -_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 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 The lastSeenDateTime - */ - public function getLastSeenDateTime() - { - if (array_key_exists("lastSeenDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSeenDateTime"], "\DateTime")) { - 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 The registeredDateTime - */ - public function getRegisteredDateTime() - { - if (array_key_exists("registeredDateTime", $this->_propDict)) { - if (is_a($this->_propDict["registeredDateTime"], "\DateTime")) { - 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 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 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 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 deleted file mode 100644 index 694fc754..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterBase.php +++ /dev/null @@ -1,305 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["capabilities"], "\Microsoft\Graph\Model\PrinterCapabilities")) { - 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 The defaults - */ - public function getDefaults() - { - if (array_key_exists("defaults", $this->_propDict)) { - if (is_a($this->_propDict["defaults"], "\Microsoft\Graph\Model\PrinterDefaults")) { - 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 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 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 The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\PrinterLocation")) { - 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 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\PrinterStatus")) { - 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 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 deleted file mode 100644 index c6046faa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterCapabilities.php +++ /dev/null @@ -1,771 +0,0 @@ -_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 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 The colorModes - */ - public function getColorModes() - { - if (array_key_exists("colorModes", $this->_propDict)) { - if (is_a($this->_propDict["colorModes"], "\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 The copiesPerJob - */ - public function getCopiesPerJob() - { - if (array_key_exists("copiesPerJob", $this->_propDict)) { - if (is_a($this->_propDict["copiesPerJob"], "\Microsoft\Graph\Model\IntegerRange")) { - 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 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 The duplexModes - */ - public function getDuplexModes() - { - if (array_key_exists("duplexModes", $this->_propDict)) { - if (is_a($this->_propDict["duplexModes"], "\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The feedOrientations - */ - public function getFeedOrientations() - { - if (array_key_exists("feedOrientations", $this->_propDict)) { - if (is_a($this->_propDict["feedOrientations"], "\Microsoft\Graph\Model\PrinterFeedOrientation")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 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 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 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, along with any custom sizes supported by the associated printer. - * - * @return string 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, along with any custom sizes supported by the associated printer. - * - * @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. Valid values are described in the following table. - * - * @return string 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. Valid values are described in the following table. - * - * @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 The multipageLayouts - */ - public function getMultipageLayouts() - { - if (array_key_exists("multipageLayouts", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayouts"], "\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientations - */ - public function getOrientations() - { - if (array_key_exists("orientations", $this->_propDict)) { - if (is_a($this->_propDict["orientations"], "\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 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 The qualities - */ - public function getQualities() - { - if (array_key_exists("qualities", $this->_propDict)) { - if (is_a($this->_propDict["qualities"], "\Microsoft\Graph\Model\PrintQuality")) { - 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 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 The scalings - */ - public function getScalings() - { - if (array_key_exists("scalings", $this->_propDict)) { - if (is_a($this->_propDict["scalings"], "\Microsoft\Graph\Model\PrintScaling")) { - 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 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 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 deleted file mode 100644 index fda799c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterCreateOperation.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The printer - */ - public function getPrinter() - { - if (array_key_exists("printer", $this->_propDict)) { - if (is_a($this->_propDict["printer"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index e1f81edf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterDefaults.php +++ /dev/null @@ -1,537 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["colorMode"], "\Microsoft\Graph\Model\PrintColorMode")) { - 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 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 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 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 The duplexMode - */ - public function getDuplexMode() - { - if (array_key_exists("duplexMode", $this->_propDict)) { - if (is_a($this->_propDict["duplexMode"], "\Microsoft\Graph\Model\PrintDuplexMode")) { - 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 The finishings - */ - public function getFinishings() - { - if (array_key_exists("finishings", $this->_propDict)) { - if (is_a($this->_propDict["finishings"], "\Microsoft\Graph\Model\PrintFinishing")) { - 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 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 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 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, along with any custom sizes supported by the associated printer. - * - * @return string 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, along with any custom sizes supported by the associated printer. - * - * @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. Valid values are described in the following table. - * - * @return string 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. Valid values are described in the following table. - * - * @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 The multipageLayout - */ - public function getMultipageLayout() - { - if (array_key_exists("multipageLayout", $this->_propDict)) { - if (is_a($this->_propDict["multipageLayout"], "\Microsoft\Graph\Model\PrintMultipageLayout")) { - 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 The orientation - */ - public function getOrientation() - { - if (array_key_exists("orientation", $this->_propDict)) { - if (is_a($this->_propDict["orientation"], "\Microsoft\Graph\Model\PrintOrientation")) { - 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 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 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 The quality - */ - public function getQuality() - { - if (array_key_exists("quality", $this->_propDict)) { - if (is_a($this->_propDict["quality"], "\Microsoft\Graph\Model\PrintQuality")) { - 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 The scaling - */ - public function getScaling() - { - if (array_key_exists("scaling", $this->_propDict)) { - if (is_a($this->_propDict["scaling"], "\Microsoft\Graph\Model\PrintScaling")) { - 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 deleted file mode 100644 index 8f898741..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterFeedOrientation.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index ab020e7f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterProcessingState.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The printer - */ - public function getPrinter() - { - if (array_key_exists("printer", $this->_propDict)) { - if (is_a($this->_propDict["printer"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index b1d832d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrinterStatus.php +++ /dev/null @@ -1,120 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PrinterProcessingStateDetail")) { - 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\PrinterProcessingState")) { - 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/PrivacyProfile.php b/vendor/microsoft/microsoft-graph/src/Model/PrivacyProfile.php deleted file mode 100644 index c0ecf8b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PrivacyProfile.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index c256a042..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Process.php +++ /dev/null @@ -1,382 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The fileHash - */ - public function getFileHash() - { - if (array_key_exists("fileHash", $this->_propDict)) { - if (is_a($this->_propDict["fileHash"], "\Microsoft\Graph\Model\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 The integrityLevel - */ - public function getIntegrityLevel() - { - if (array_key_exists("integrityLevel", $this->_propDict)) { - if (is_a($this->_propDict["integrityLevel"], "\Microsoft\Graph\Model\ProcessIntegrityLevel")) { - 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 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 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 The parentProcessCreatedDateTime - */ - public function getParentProcessCreatedDateTime() - { - if (array_key_exists("parentProcessCreatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["parentProcessCreatedDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index a208484f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProcessIntegrityLevel.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 deleted file mode 100644 index 018cde58..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Prompt.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\DetailsInfo")) { - 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 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 deleted file mode 100644 index a6638e36..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProvisionedPlan.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 9cbe4e79..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningAction.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - return $this->_propDict["additionalDetails"]; - } else { - return null; - } - } - - /** - * Sets the additionalDetails - * - * @param string $val The value of the additionalDetails - * - * @return ProvisioningErrorInfo - */ - public function setAdditionalDetails($val) - { - $this->_propDict["additionalDetails"] = $val; - return $this; - } - - /** - * Gets the errorCategory - * - * @return ProvisioningStatusErrorCategory The errorCategory - */ - public function getErrorCategory() - { - if (array_key_exists("errorCategory", $this->_propDict)) { - if (is_a($this->_propDict["errorCategory"], "\Microsoft\Graph\Model\ProvisioningStatusErrorCategory")) { - return $this->_propDict["errorCategory"]; - } else { - $this->_propDict["errorCategory"] = new ProvisioningStatusErrorCategory($this->_propDict["errorCategory"]); - return $this->_propDict["errorCategory"]; - } - } - return null; - } - - /** - * Sets the errorCategory - * - * @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 - * - * @return string The errorCode - */ - public function getErrorCode() - { - if (array_key_exists("errorCode", $this->_propDict)) { - return $this->_propDict["errorCode"]; - } else { - return null; - } - } - - /** - * Sets the errorCode - * - * @param string $val The value of the errorCode - * - * @return ProvisioningErrorInfo - */ - public function setErrorCode($val) - { - $this->_propDict["errorCode"] = $val; - return $this; - } - /** - * Gets the reason - * - * @return string The reason - */ - public function getReason() - { - if (array_key_exists("reason", $this->_propDict)) { - return $this->_propDict["reason"]; - } else { - return null; - } - } - - /** - * Sets the reason - * - * @param string $val The value of the reason - * - * @return ProvisioningErrorInfo - */ - public function setReason($val) - { - $this->_propDict["reason"] = $val; - return $this; - } - /** - * Gets the recommendedAction - * - * @return string The recommendedAction - */ - public function getRecommendedAction() - { - if (array_key_exists("recommendedAction", $this->_propDict)) { - return $this->_propDict["recommendedAction"]; - } else { - return null; - } - } - - /** - * Sets the recommendedAction - * - * @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 deleted file mode 100644 index 09e6daaa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningObjectSummary.php +++ /dev/null @@ -1,525 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activityDateTime"], "\DateTime")) { - 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 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 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 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 The initiatedBy - */ - public function getInitiatedBy() - { - if (array_key_exists("initiatedBy", $this->_propDict)) { - if (is_a($this->_propDict["initiatedBy"], "\Microsoft\Graph\Model\Initiator")) { - 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 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 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 - * - * @return ProvisioningAction The provisioningAction - */ - public function getProvisioningAction() - { - if (array_key_exists("provisioningAction", $this->_propDict)) { - if (is_a($this->_propDict["provisioningAction"], "\Microsoft\Graph\Model\ProvisioningAction")) { - return $this->_propDict["provisioningAction"]; - } else { - $this->_propDict["provisioningAction"] = new ProvisioningAction($this->_propDict["provisioningAction"]); - return $this->_propDict["provisioningAction"]; - } - } - return null; - } - - /** - * Sets the provisioningAction - * - * @param ProvisioningAction $val The provisioningAction - * - * @return ProvisioningObjectSummary - */ - public function setProvisioningAction($val) - { - $this->_propDict["provisioningAction"] = $val; - return $this; - } - - /** - * Gets the provisioningStatusInfo - * - * @return ProvisioningStatusInfo The provisioningStatusInfo - */ - public function getProvisioningStatusInfo() - { - if (array_key_exists("provisioningStatusInfo", $this->_propDict)) { - if (is_a($this->_propDict["provisioningStatusInfo"], "\Microsoft\Graph\Model\ProvisioningStatusInfo")) { - return $this->_propDict["provisioningStatusInfo"]; - } else { - $this->_propDict["provisioningStatusInfo"] = new ProvisioningStatusInfo($this->_propDict["provisioningStatusInfo"]); - return $this->_propDict["provisioningStatusInfo"]; - } - } - return null; - } - - /** - * Sets the provisioningStatusInfo - * - * @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 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 The servicePrincipal - */ - public function getServicePrincipal() - { - if (array_key_exists("servicePrincipal", $this->_propDict)) { - if (is_a($this->_propDict["servicePrincipal"], "\Microsoft\Graph\Model\ProvisioningServicePrincipal")) { - 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 The sourceIdentity - */ - public function getSourceIdentity() - { - if (array_key_exists("sourceIdentity", $this->_propDict)) { - if (is_a($this->_propDict["sourceIdentity"], "\Microsoft\Graph\Model\ProvisionedIdentity")) { - 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 The sourceSystem - */ - public function getSourceSystem() - { - if (array_key_exists("sourceSystem", $this->_propDict)) { - if (is_a($this->_propDict["sourceSystem"], "\Microsoft\Graph\Model\ProvisioningSystem")) { - 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 The targetIdentity - */ - public function getTargetIdentity() - { - if (array_key_exists("targetIdentity", $this->_propDict)) { - if (is_a($this->_propDict["targetIdentity"], "\Microsoft\Graph\Model\ProvisionedIdentity")) { - 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 The targetSystem - */ - public function getTargetSystem() - { - if (array_key_exists("targetSystem", $this->_propDict)) { - if (is_a($this->_propDict["targetSystem"], "\Microsoft\Graph\Model\ProvisioningSystem")) { - 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 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 deleted file mode 100644 index 4f555fab..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningResult.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["errorInformation"], "\Microsoft\Graph\Model\ProvisioningErrorInfo")) { - 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 - * - * @return ProvisioningResult The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ProvisioningResult")) { - return $this->_propDict["status"]; - } else { - $this->_propDict["status"] = new ProvisioningResult($this->_propDict["status"]); - return $this->_propDict["status"]; - } - } - return null; - } - - /** - * Sets the status - * - * @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 deleted file mode 100644 index e9b3e843..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStep.php +++ /dev/null @@ -1,181 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\DetailsInfo")) { - 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 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 The provisioningStepType - */ - public function getProvisioningStepType() - { - if (array_key_exists("provisioningStepType", $this->_propDict)) { - if (is_a($this->_propDict["provisioningStepType"], "\Microsoft\Graph\Model\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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ProvisioningResult")) { - 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 deleted file mode 100644 index 89211c31..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProvisioningStepType.php +++ /dev/null @@ -1,39 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\DetailsInfo")) { - return $this->_propDict["details"]; - } else { - $this->_propDict["details"] = new DetailsInfo($this->_propDict["details"]); - return $this->_propDict["details"]; - } - } - return null; - } - - /** - * Sets the details - * - * @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 deleted file mode 100644 index f02158b4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ProxiedDomain.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 68723450..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PublicClientApplication.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 765a39ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PublicError.php +++ /dev/null @@ -1,176 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PublicErrorDetail")) { - 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 The innerError - */ - public function getInnerError() - { - if (array_key_exists("innerError", $this->_propDict)) { - if (is_a($this->_propDict["innerError"], "\Microsoft\Graph\Model\PublicInnerError")) { - 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 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 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 deleted file mode 100644 index c2b2ad88..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PublicErrorDetail.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 7337492f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PublicInnerError.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The details - */ - public function getDetails() - { - if (array_key_exists("details", $this->_propDict)) { - if (is_a($this->_propDict["details"], "\Microsoft\Graph\Model\PublicErrorDetail")) { - 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 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 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 deleted file mode 100644 index f519150f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/PublicationFacet.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index ce67ab7b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Quota.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 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 The storagePlanInformation - */ - public function getStoragePlanInformation() - { - if (array_key_exists("storagePlanInformation", $this->_propDict)) { - if (is_a($this->_propDict["storagePlanInformation"], "\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index ad836b02..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RatingAppsType.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - return $this->_propDict["roleAssignments"]; - } else { - return null; - } - } - - /** - * Sets the roleAssignments - * - * @param UnifiedRoleAssignment $val The roleAssignments - * - * @return RbacApplication - */ - public function setRoleAssignments($val) - { - $this->_propDict["roleAssignments"] = $val; - return $this; - } - - - /** - * Gets the roleDefinitions - * - * @return array 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 RbacApplication - */ - public function setRoleDefinitions($val) - { - $this->_propDict["roleDefinitions"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RecentNotebook.php b/vendor/microsoft/microsoft-graph/src/Model/RecentNotebook.php deleted file mode 100644 index 80ff32cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecentNotebook.php +++ /dev/null @@ -1,153 +0,0 @@ -_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 The lastAccessedTime - */ - public function getLastAccessedTime() - { - if (array_key_exists("lastAccessedTime", $this->_propDict)) { - if (is_a($this->_propDict["lastAccessedTime"], "\DateTime")) { - 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 The links - */ - public function getLinks() - { - if (array_key_exists("links", $this->_propDict)) { - if (is_a($this->_propDict["links"], "\Microsoft\Graph\Model\RecentNotebookLinks")) { - 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 The sourceService - */ - public function getSourceService() - { - if (array_key_exists("sourceService", $this->_propDict)) { - if (is_a($this->_propDict["sourceService"], "\Microsoft\Graph\Model\OnenoteSourceService")) { - 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 deleted file mode 100644 index 0be756aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecentNotebookLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index 859f7439..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Recipient.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["emailAddress"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 57fc48bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecipientScopeType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 deleted file mode 100644 index 7c310c82..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecordingInfo.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The recordingStatus - */ - public function getRecordingStatus() - { - if (array_key_exists("recordingStatus", $this->_propDict)) { - if (is_a($this->_propDict["recordingStatus"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index a76bf275..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecordingStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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. 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 The daysOfWeek - */ - public function getDaysOfWeek() - { - if (array_key_exists("daysOfWeek", $this->_propDict)) { - if (is_a($this->_propDict["daysOfWeek"], "\Microsoft\Graph\Model\DayOfWeek")) { - 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. 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. Possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly. - * - * @return DayOfWeek The firstDayOfWeek - */ - public function getFirstDayOfWeek() - { - if (array_key_exists("firstDayOfWeek", $this->_propDict)) { - if (is_a($this->_propDict["firstDayOfWeek"], "\Microsoft\Graph\Model\DayOfWeek")) { - 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. 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 daysOfsWeek the event occurs, counted from the first instance in the month. Possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly. - * - * @return WeekIndex The index - */ - public function getIndex() - { - if (array_key_exists("index", $this->_propDict)) { - if (is_a($this->_propDict["index"], "\Microsoft\Graph\Model\WeekIndex")) { - 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 daysOfsWeek the event occurs, counted from the first instance in the month. 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 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 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. - * - * @return RecurrencePatternType The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\RecurrencePatternType")) { - 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. - * - * @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 deleted file mode 100644 index d553e673..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecurrencePatternType.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDate"], "\DateTime")) { - 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 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 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 The startDate - */ - public function getStartDate() - { - if (array_key_exists("startDate", $this->_propDict)) { - if (is_a($this->_propDict["startDate"], "\DateTime")) { - 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\RecurrenceRangeType")) { - 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 deleted file mode 100644 index 9cb39cc0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RecurrenceRangeType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hive"], "\Microsoft\Graph\Model\RegistryHive")) { - 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 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 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 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 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 The operation - */ - public function getOperation() - { - if (array_key_exists("operation", $this->_propDict)) { - if (is_a($this->_propDict["operation"], "\Microsoft\Graph\Model\RegistryOperation")) { - 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 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 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 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 The valueType - */ - public function getValueType() - { - if (array_key_exists("valueType", $this->_propDict)) { - if (is_a($this->_propDict["valueType"], "\Microsoft\Graph\Model\RegistryValueType")) { - 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 deleted file mode 100644 index c73dc4a7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RegistryOperation.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The eventEndTime - */ - public function getEventEndTime() - { - if (array_key_exists("eventEndTime", $this->_propDict)) { - if (is_a($this->_propDict["eventEndTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 The eventLocation - */ - public function getEventLocation() - { - if (array_key_exists("eventLocation", $this->_propDict)) { - if (is_a($this->_propDict["eventLocation"], "\Microsoft\Graph\Model\Location")) { - 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 The eventStartTime - */ - public function getEventStartTime() - { - if (array_key_exists("eventStartTime", $this->_propDict)) { - if (is_a($this->_propDict["eventStartTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 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 The reminderFireTime - */ - public function getReminderFireTime() - { - if (array_key_exists("reminderFireTime", $this->_propDict)) { - if (is_a($this->_propDict["reminderFireTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 deleted file mode 100644 index 3dfb7bbe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RemoteAssistanceOnboardingStatus.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The lastConnectionDateTime - */ - public function getLastConnectionDateTime() - { - if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime")) { - 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 The onboardingStatus - */ - public function getOnboardingStatus() - { - if (array_key_exists("onboardingStatus", $this->_propDict)) { - if (is_a($this->_propDict["onboardingStatus"], "\Microsoft\Graph\Model\RemoteAssistanceOnboardingStatus")) { - 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 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 deleted file mode 100644 index 706ef9d1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RemoteItem.php +++ /dev/null @@ -1,628 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\Microsoft\Graph\Model\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 The fileSystemInfo - */ - public function getFileSystemInfo() - { - if (array_key_exists("fileSystemInfo", $this->_propDict)) { - if (is_a($this->_propDict["fileSystemInfo"], "\Microsoft\Graph\Model\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 The folder - */ - public function getFolder() - { - if (array_key_exists("folder", $this->_propDict)) { - if (is_a($this->_propDict["folder"], "\Microsoft\Graph\Model\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 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 The image - */ - public function getImage() - { - if (array_key_exists("image", $this->_propDict)) { - if (is_a($this->_propDict["image"], "\Microsoft\Graph\Model\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 The lastModifiedBy - */ - public function getLastModifiedBy() - { - if (array_key_exists("lastModifiedBy", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 The package - */ - public function getPackage() - { - if (array_key_exists("package", $this->_propDict)) { - if (is_a($this->_propDict["package"], "\Microsoft\Graph\Model\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 The parentReference - */ - public function getParentReference() - { - if (array_key_exists("parentReference", $this->_propDict)) { - if (is_a($this->_propDict["parentReference"], "\Microsoft\Graph\Model\ItemReference")) { - 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 The shared - */ - public function getShared() - { - if (array_key_exists("shared", $this->_propDict)) { - if (is_a($this->_propDict["shared"], "\Microsoft\Graph\Model\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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\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 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 The specialFolder - */ - public function getSpecialFolder() - { - if (array_key_exists("specialFolder", $this->_propDict)) { - if (is_a($this->_propDict["specialFolder"], "\Microsoft\Graph\Model\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 The video - */ - public function getVideo() - { - if (array_key_exists("video", $this->_propDict)) { - if (is_a($this->_propDict["video"], "\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 377b71fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RemoteLockActionResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/Report.php b/vendor/microsoft/microsoft-graph/src/Model/Report.php deleted file mode 100644 index 853d67a0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Report.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 deleted file mode 100644 index 89c72ff7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ReportRoot.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 990abf90..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Request.php +++ /dev/null @@ -1,201 +0,0 @@ -_propDict)) { - return $this->_propDict["approvalId"]; - } else { - return null; - } - } - - /** - * Sets the approvalId - * - * @param string $val The approvalId - * - * @return Request - */ - public function setApprovalId($val) - { - $this->_propDict["approvalId"] = $val; - return $this; - } - - /** - * Gets the completedDateTime - * - * @return \DateTime The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\DateTime")) { - 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 Request - */ - public function setCompletedDateTime($val) - { - $this->_propDict["completedDateTime"] = $val; - return $this; - } - - /** - * Gets the createdBy - * - * @return IdentitySet The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 Request - */ - public function setCreatedBy($val) - { - $this->_propDict["createdBy"] = $val; - return $this; - } - - /** - * Gets the createdDateTime - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 Request - */ - public function setCreatedDateTime($val) - { - $this->_propDict["createdDateTime"] = $val; - return $this; - } - - /** - * Gets the customData - * - * @return string The customData - */ - public function getCustomData() - { - if (array_key_exists("customData", $this->_propDict)) { - return $this->_propDict["customData"]; - } else { - return null; - } - } - - /** - * Sets the customData - * - * @param string $val The customData - * - * @return Request - */ - public function setCustomData($val) - { - $this->_propDict["customData"] = $val; - return $this; - } - - /** - * Gets the status - * - * @return string 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 Request - */ - public function setStatus($val) - { - $this->_propDict["status"] = $val; - return $this; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RequiredPasswordType.php b/vendor/microsoft/microsoft-graph/src/Model/RequiredPasswordType.php deleted file mode 100644 index 906f3b10..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RequiredPasswordType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["resourceAccess"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 29a3456f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResetPasscodeActionResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 475c7e14..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourceAccess.php +++ /dev/null @@ -1,82 +0,0 @@ -_propDict)) { - return $this->_propDict["id"]; - } else { - return null; - } - } - - /** - * Sets the id - * The unique identifier for one of the oauth2PermissionScopes or appRole instances that the resource application exposes. - * - * @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 an oauth2PermissionScopes or an appRole. Possible values are Scope or Role. - * - * @return string 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 an oauth2PermissionScopes or an appRole. Possible values are Scope or Role. - * - * @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 deleted file mode 100644 index fcda6c2a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourceAction.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 048307ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourceData.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 deleted file mode 100644 index 0bcd8b00..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourcePermission.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 1d2d98b6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourceReference.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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/ResourceSpecificPermissionGrant.php b/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermissionGrant.php deleted file mode 100644 index dcdde031..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourceSpecificPermissionGrant.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 permission. Read-only. - * - * @return string 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 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 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 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 deleted file mode 100644 index f1dbcd16..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResourceVisualization.php +++ /dev/null @@ -1,250 +0,0 @@ -_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 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 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 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 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 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 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 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 deleted file mode 100644 index 55ec6981..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResponseStatus.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["response"], "\Microsoft\Graph\Model\ResponseType")) { - 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. - * - * @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 The time - */ - public function getTime() - { - if (array_key_exists("time", $this->_propDict)) { - if (is_a($this->_propDict["time"], "\DateTime")) { - 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 deleted file mode 100644 index 7c4b10cf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResponseType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 deleted file mode 100644 index c102f75f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ResultInfo.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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/RgbColor.php b/vendor/microsoft/microsoft-graph/src/Model/RgbColor.php deleted file mode 100644 index 57bbb646..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RgbColor.php +++ /dev/null @@ -1,125 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["b"], "\Microsoft\Graph\Model\Byte")) { - 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 The g - */ - public function getG() - { - if (array_key_exists("g", $this->_propDict)) { - if (is_a($this->_propDict["g"], "\Microsoft\Graph\Model\Byte")) { - 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 The r - */ - public function getR() - { - if (array_key_exists("r", $this->_propDict)) { - if (is_a($this->_propDict["r"], "\Microsoft\Graph\Model\Byte")) { - 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/RiskDetail.php b/vendor/microsoft/microsoft-graph/src/Model/RiskDetail.php deleted file mode 100644 index 11d890da..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RiskDetail.php +++ /dev/null @@ -1,44 +0,0 @@ -_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 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 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 The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\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/RoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/RoleDefinition.php deleted file mode 100644 index ae947d1f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RoleDefinition.php +++ /dev/null @@ -1,174 +0,0 @@ -_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 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 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 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 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/RoleManagement.php b/vendor/microsoft/microsoft-graph/src/Model/RoleManagement.php deleted file mode 100644 index 54f2bcb0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RoleManagement.php +++ /dev/null @@ -1,96 +0,0 @@ - string) - */ - protected $_propDict; - - /** - * Construct a new RoleManagement - * - * @param array $propDict A list of properties to set - */ - function __construct($propDict = array()) - { - $this->_propDict = $propDict; - } - - /** - * Gets the property dictionary of the RoleManagement - * - * @return array The list of properties - */ - public function getProperties() - { - return $this->_propDict; - } - - /** - * Gets the ODataType - * - * @return string The ODataType - */ - public function getODataType() - { - return $this->_propDict["@odata.type"]; - } - - /** - * Sets the ODataType - * - * @param string 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() - { - $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(); - } - } - return $serializableProperties; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/RolePermission.php b/vendor/microsoft/microsoft-graph/src/Model/RolePermission.php deleted file mode 100644 index 3a4c5c25..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RolePermission.php +++ /dev/null @@ -1,59 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["resourceActions"], "\Microsoft\Graph\Model\ResourceAction")) { - 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 deleted file mode 100644 index 110c8009..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Room.php +++ /dev/null @@ -1,408 +0,0 @@ -_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 The bookingType - */ - public function getBookingType() - { - if (array_key_exists("bookingType", $this->_propDict)) { - if (is_a($this->_propDict["bookingType"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 482ae130..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/RoomList.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index cc30f2f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Root.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 deleted file mode 100644 index 4ef89e5c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Schedule.php +++ /dev/null @@ -1,579 +0,0 @@ -_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 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 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 The provisionStatus - */ - public function getProvisionStatus() - { - if (array_key_exists("provisionStatus", $this->_propDict)) { - if (is_a($this->_propDict["provisionStatus"], "\Microsoft\Graph\Model\OperationStatus")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 16acb7fd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequest.php +++ /dev/null @@ -1,259 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["assignedTo"], "\Microsoft\Graph\Model\ScheduleChangeRequestActor")) { - 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 The managerActionDateTime - */ - public function getManagerActionDateTime() - { - if (array_key_exists("managerActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["managerActionDateTime"], "\DateTime")) { - 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 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 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 The senderDateTime - */ - public function getSenderDateTime() - { - if (array_key_exists("senderDateTime", $this->_propDict)) { - if (is_a($this->_propDict["senderDateTime"], "\DateTime")) { - 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 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\ScheduleChangeState")) { - 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 deleted file mode 100644 index 21c448ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScheduleChangeRequestActor.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The theme - */ - public function getTheme() - { - if (array_key_exists("theme", $this->_propDict)) { - if (is_a($this->_propDict["theme"], "\Microsoft\Graph\Model\ScheduleEntityTheme")) { - 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 deleted file mode 100644 index f545d1d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScheduleEntityTheme.php +++ /dev/null @@ -1,45 +0,0 @@ -_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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\FreeBusyError")) { - 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 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 The scheduleItems - */ - public function getScheduleItems() - { - if (array_key_exists("scheduleItems", $this->_propDict)) { - if (is_a($this->_propDict["scheduleItems"], "\Microsoft\Graph\Model\ScheduleItem")) { - 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 The workingHours - */ - public function getWorkingHours() - { - if (array_key_exists("workingHours", $this->_propDict)) { - if (is_a($this->_propDict["workingHours"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 15b2152a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScheduleItem.php +++ /dev/null @@ -1,209 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["end"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 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 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 The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\FreeBusyStatus")) { - 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 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 deleted file mode 100644 index d6582102..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SchedulingGroup.php +++ /dev/null @@ -1,114 +0,0 @@ -_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 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 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 deleted file mode 100644 index 65936eca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SchemaExtension.php +++ /dev/null @@ -1,173 +0,0 @@ -_propDict)) { - return $this->_propDict["description"]; - } else { - return null; - } - } - - /** - * Sets the description - * Description for the schema extension. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return string 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. - * - * @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 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 deleted file mode 100644 index f679ac18..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScopedRoleMembership.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The roleMemberInfo - */ - public function getRoleMemberInfo() - { - if (array_key_exists("roleMemberInfo", $this->_propDict)) { - if (is_a($this->_propDict["roleMemberInfo"], "\Microsoft\Graph\Model\Identity")) { - 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 deleted file mode 100644 index 7a7be04d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScoredEmailAddress.php +++ /dev/null @@ -1,139 +0,0 @@ -_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 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 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 The selectionLikelihood - */ - public function getSelectionLikelihood() - { - if (array_key_exists("selectionLikelihood", $this->_propDict)) { - if (is_a($this->_propDict["selectionLikelihood"], "\Microsoft\Graph\Model\SelectionLikelihoodInfo")) { - 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 deleted file mode 100644 index 73407dd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ScreenSharingRole.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 summary - * A summary of the result, if a summary is available. - * - * @return string 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index 3baacb4f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SearchHitsContainer.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hits"], "\Microsoft\Graph\Model\SearchHit")) { - 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 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 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 deleted file mode 100644 index 94c37240..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SearchQuery.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index fb5fc3e9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SearchRequest.php +++ /dev/null @@ -1,232 +0,0 @@ -_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 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, externalItem. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. - * - * @return EntityType The entityTypes - */ - public function getEntityTypes() - { - if (array_key_exists("entityTypes", $this->_propDict)) { - if (is_a($this->_propDict["entityTypes"], "\Microsoft\Graph\Model\EntityType")) { - 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, 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 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 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 The query - */ - public function getQuery() - { - if (array_key_exists("query", $this->_propDict)) { - if (is_a($this->_propDict["query"], "\Microsoft\Graph\Model\SearchQuery")) { - 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 size - * The size of the page to be retrieved. Optional. - * - * @return int 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; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SearchResponse.php b/vendor/microsoft/microsoft-graph/src/Model/SearchResponse.php deleted file mode 100644 index 0066ee07..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SearchResponse.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["hitsContainers"], "\Microsoft\Graph\Model\SearchHitsContainer")) { - 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 searchTerms - * Contains the search terms sent in the initial search query. - * - * @return string 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 deleted file mode 100644 index 9b186941..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SearchResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 1f681920..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SectionGroup.php +++ /dev/null @@ -1,211 +0,0 @@ -_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 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 The parentNotebook - */ - public function getParentNotebook() - { - if (array_key_exists("parentNotebook", $this->_propDict)) { - if (is_a($this->_propDict["parentNotebook"], "\Microsoft\Graph\Model\Notebook")) { - 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 The parentSectionGroup - */ - public function getParentSectionGroup() - { - if (array_key_exists("parentSectionGroup", $this->_propDict)) { - if (is_a($this->_propDict["parentSectionGroup"], "\Microsoft\Graph\Model\SectionGroup")) { - 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 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 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 deleted file mode 100644 index c7b5e410..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SectionLinks.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["oneNoteClientUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 The oneNoteWebUrl - */ - public function getOneNoteWebUrl() - { - if (array_key_exists("oneNoteWebUrl", $this->_propDict)) { - if (is_a($this->_propDict["oneNoteWebUrl"], "\Microsoft\Graph\Model\ExternalLink")) { - 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 deleted file mode 100644 index 187bd614..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SecureScore.php +++ /dev/null @@ -1,327 +0,0 @@ -_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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the enabledServices - * Microsoft-provided services for the tenant (for example, Exchange online, Skype, Sharepoint). - * - * @return string 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 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 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"] = $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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 793809aa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlProfile.php +++ /dev/null @@ -1,586 +0,0 @@ -_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 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 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 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 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 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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"] = $val; - return $this; - } - - /** - * Gets the rank - * Microsoft's stack ranking of control. - * - * @return int 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 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 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 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 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 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 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 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 The vendorInformation - */ - public function getVendorInformation() - { - if (array_key_exists("vendorInformation", $this->_propDict)) { - if (is_a($this->_propDict["vendorInformation"], "\Microsoft\Graph\Model\SecurityVendorInformation")) { - 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 deleted file mode 100644 index 5bc466b5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SecureScoreControlStateUpdate.php +++ /dev/null @@ -1,161 +0,0 @@ -_propDict)) { - return $this->_propDict["assignedTo"]; - } else { - return null; - } - } - - /** - * Sets the assignedTo - * - * @param string $val The value of the assignedTo - * - * @return SecureScoreControlStateUpdate - */ - public function setAssignedTo($val) - { - $this->_propDict["assignedTo"] = $val; - return $this; - } - /** - * Gets the comment - * - * @return string 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 value of the comment - * - * @return SecureScoreControlStateUpdate - */ - public function setComment($val) - { - $this->_propDict["comment"] = $val; - return $this; - } - /** - * Gets the state - * - * @return string 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 SecureScoreControlStateUpdate - */ - public function setState($val) - { - $this->_propDict["state"] = $val; - return $this; - } - /** - * Gets the updatedBy - * - * @return string The updatedBy - */ - public function getUpdatedBy() - { - if (array_key_exists("updatedBy", $this->_propDict)) { - return $this->_propDict["updatedBy"]; - } else { - return null; - } - } - - /** - * Sets the updatedBy - * - * @param string $val The value of the updatedBy - * - * @return SecureScoreControlStateUpdate - */ - public function setUpdatedBy($val) - { - $this->_propDict["updatedBy"] = $val; - return $this; - } - - /** - * Gets the updatedDateTime - * - * @return \DateTime The updatedDateTime - */ - public function getUpdatedDateTime() - { - if (array_key_exists("updatedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["updatedDateTime"], "\DateTime")) { - return $this->_propDict["updatedDateTime"]; - } else { - $this->_propDict["updatedDateTime"] = new \DateTime($this->_propDict["updatedDateTime"]); - return $this->_propDict["updatedDateTime"]; - } - } - return null; - } - - /** - * Sets the updatedDateTime - * - * @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 deleted file mode 100644 index bad9191b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Security.php +++ /dev/null @@ -1,113 +0,0 @@ -_propDict)) { - return $this->_propDict["alerts"]; - } else { - return null; - } - } - - /** - * Sets the alerts - * Read-only. Nullable. - * - * @param Alert $val The alerts - * - * @return Security - */ - public function setAlerts($val) - { - $this->_propDict["alerts"] = $val; - return $this; - } - - - /** - * Gets the secureScoreControlProfiles - * - * @return array 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 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 deleted file mode 100644 index 1cf858c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SecurityNetworkProtocol.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 The resourceType - */ - public function getResourceType() - { - if (array_key_exists("resourceType", $this->_propDict)) { - if (is_a($this->_propDict["resourceType"], "\Microsoft\Graph\Model\SecurityResourceType")) { - 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 deleted file mode 100644 index 5c4239bc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SecurityResourceType.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index d329949b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SelectionLikelihoodInfo.php +++ /dev/null @@ -1,34 +0,0 @@ -setODataType("#microsoft.graph.serviceHostedMediaConfig"); - } - - - /** - * Gets the preFetchMedia - * The list of media to pre-fetch. - * - * @return MediaInfo The preFetchMedia - */ - public function getPreFetchMedia() - { - if (array_key_exists("preFetchMedia", $this->_propDict)) { - if (is_a($this->_propDict["preFetchMedia"], "\Microsoft\Graph\Model\MediaInfo")) { - 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 deleted file mode 100644 index f307ea79..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ServicePlanInfo.php +++ /dev/null @@ -1,138 +0,0 @@ -_propDict)) { - return $this->_propDict["appliesTo"]; - } else { - return null; - } - } - - /** - * Sets the appliesTo - * The object the service plan can be assigned to. Possible values:'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. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'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 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. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'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 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 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 deleted file mode 100644 index 401396c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ServicePrincipal.php +++ /dev/null @@ -1,1328 +0,0 @@ -_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 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 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. - * - * @return string 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. - * - * @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 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 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). - * - * @return string 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). - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return bool 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. - * - * @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 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. - * - * @return string 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. - * - * @param string $val The description - * - * @return ServicePrincipal - */ - public function setDescription($val) - { - $this->_propDict["description"] = $val; - return $this; - } - - /** - * Gets the displayName - * The display name for the service principal. - * - * @return string 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 ServicePrincipal - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - - /** - * Gets the homepage - * Home page or landing page of the application. - * - * @return string 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. - * - * @return InformationalUrl The info - */ - public function getInfo() - { - if (array_key_exists("info", $this->_propDict)) { - if (is_a($this->_propDict["info"], "\Microsoft\Graph\Model\InformationalUrl")) { - 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. - * - * @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. - * - * @return array 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. - * - * @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 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 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 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 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 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 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 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 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 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 samlSingleSignOnSettings - * The collection for settings related to saml single sign-on. - * - * @return SamlSingleSignOnSettings The samlSingleSignOnSettings - */ - public function getSamlSingleSignOnSettings() - { - if (array_key_exists("samlSingleSignOnSettings", $this->_propDict)) { - if (is_a($this->_propDict["samlSingleSignOnSettings"], "\Microsoft\Graph\Model\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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 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. - * - * @return string 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. - * - * @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 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @param TokenLifetimePolicy $val The tokenLifetimePolicies - * - * @return ServicePrincipal - */ - public function setTokenLifetimePolicies($val) - { - $this->_propDict["tokenLifetimePolicies"] = $val; - return $this; - } - - - /** - * Gets the transitiveMemberOf - * - * @return array 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/SettingSource.php b/vendor/microsoft/microsoft-graph/src/Model/SettingSource.php deleted file mode 100644 index 5afdcc4c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SettingSource.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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; - } -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/SettingStateDeviceSummary.php b/vendor/microsoft/microsoft-graph/src/Model/SettingStateDeviceSummary.php deleted file mode 100644 index 5bc6582f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SettingStateDeviceSummary.php +++ /dev/null @@ -1,288 +0,0 @@ -_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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 781a4432..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SettingTemplateValue.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index b5f9b494..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SettingValue.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/Shared.php b/vendor/microsoft/microsoft-graph/src/Model/Shared.php deleted file mode 100644 index 5fb095c2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Shared.php +++ /dev/null @@ -1,153 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 The sharedBy - */ - public function getSharedBy() - { - if (array_key_exists("sharedBy", $this->_propDict)) { - if (is_a($this->_propDict["sharedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The sharedDateTime - */ - public function getSharedDateTime() - { - if (array_key_exists("sharedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["sharedDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index 1345be8f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharedDriveItem.php +++ /dev/null @@ -1,288 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["owner"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The driveItem - */ - public function getDriveItem() - { - if (array_key_exists("driveItem", $this->_propDict)) { - if (is_a($this->_propDict["driveItem"], "\Microsoft\Graph\Model\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 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 The list - */ - public function getList() - { - if (array_key_exists("list", $this->_propDict)) { - if (is_a($this->_propDict["list"], "\Microsoft\Graph\Model\GraphList")) { - 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 The listItem - */ - public function getListItem() - { - if (array_key_exists("listItem", $this->_propDict)) { - if (is_a($this->_propDict["listItem"], "\Microsoft\Graph\Model\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 The permission - */ - public function getPermission() - { - if (array_key_exists("permission", $this->_propDict)) { - if (is_a($this->_propDict["permission"], "\Microsoft\Graph\Model\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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\DriveItem")) { - 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 The site - */ - public function getSite() - { - if (array_key_exists("site", $this->_propDict)) { - if (is_a($this->_propDict["site"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index c32a1fa3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharedInsight.php +++ /dev/null @@ -1,218 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastShared"], "\Microsoft\Graph\Model\SharingDetail")) { - 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 The resourceReference - */ - public function getResourceReference() - { - if (array_key_exists("resourceReference", $this->_propDict)) { - if (is_a($this->_propDict["resourceReference"], "\Microsoft\Graph\Model\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 The resourceVisualization - */ - public function getResourceVisualization() - { - if (array_key_exists("resourceVisualization", $this->_propDict)) { - if (is_a($this->_propDict["resourceVisualization"], "\Microsoft\Graph\Model\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 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 The lastSharedMethod - */ - public function getLastSharedMethod() - { - if (array_key_exists("lastSharedMethod", $this->_propDict)) { - if (is_a($this->_propDict["lastSharedMethod"], "\Microsoft\Graph\Model\Entity")) { - 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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index c9d6baef..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharedPCAccountDeletionPolicyType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accountDeletionPolicy"], "\Microsoft\Graph\Model\SharedPCAccountDeletionPolicyType")) { - 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 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 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 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 deleted file mode 100644 index 1380f9c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharedPCAllowedAccountType.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["accountManagerPolicy"], "\Microsoft\Graph\Model\SharedPCAccountManagerPolicy")) { - 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 The allowedAccounts - */ - public function getAllowedAccounts() - { - if (array_key_exists("allowedAccounts", $this->_propDict)) { - if (is_a($this->_propDict["allowedAccounts"], "\Microsoft\Graph\Model\SharedPCAllowedAccountType")) { - 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 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 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 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 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 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 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 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 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 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 The maintenanceStartTime - */ - public function getMaintenanceStartTime() - { - if (array_key_exists("maintenanceStartTime", $this->_propDict)) { - if (is_a($this->_propDict["maintenanceStartTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index d3e6d782..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharepointIds.php +++ /dev/null @@ -1,222 +0,0 @@ -_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 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 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 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 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 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 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 deleted file mode 100644 index 8b0eb96d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharingDetail.php +++ /dev/null @@ -1,179 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["sharedBy"], "\Microsoft\Graph\Model\InsightIdentity")) { - 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 would look like this: 2014-01-01T00:00:00Z. Read-only. - * - * @return \DateTime The sharedDateTime - */ - public function getSharedDateTime() - { - if (array_key_exists("sharedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["sharedDateTime"], "\DateTime")) { - 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 would look like this: 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 The sharingReference - */ - public function getSharingReference() - { - if (array_key_exists("sharingReference", $this->_propDict)) { - if (is_a($this->_propDict["sharingReference"], "\Microsoft\Graph\Model\ResourceReference")) { - 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 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 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 deleted file mode 100644 index 2ac7a1cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharingInvitation.php +++ /dev/null @@ -1,141 +0,0 @@ -_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 The invitedBy - */ - public function getInvitedBy() - { - if (array_key_exists("invitedBy", $this->_propDict)) { - if (is_a($this->_propDict["invitedBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 deleted file mode 100644 index 4397f465..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SharingLink.php +++ /dev/null @@ -1,199 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\Identity")) { - 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 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 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 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 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 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 deleted file mode 100644 index 9ff75f30..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Shift.php +++ /dev/null @@ -1,151 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["draftShift"], "\Microsoft\Graph\Model\ShiftItem")) { - 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 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 The sharedShift - */ - public function getSharedShift() - { - if (array_key_exists("sharedShift", $this->_propDict)) { - if (is_a($this->_propDict["sharedShift"], "\Microsoft\Graph\Model\ShiftItem")) { - 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 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 deleted file mode 100644 index 2a361612..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ShiftActivity.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 The endDateTime - */ - public function getEndDateTime() - { - if (array_key_exists("endDateTime", $this->_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 The theme - */ - public function getTheme() - { - if (array_key_exists("theme", $this->_propDict)) { - if (is_a($this->_propDict["theme"], "\Microsoft\Graph\Model\ScheduleEntityTheme")) { - 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 deleted file mode 100644 index 54a071d7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ShiftAvailability.php +++ /dev/null @@ -1,120 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The timeSlots - */ - public function getTimeSlots() - { - if (array_key_exists("timeSlots", $this->_propDict)) { - if (is_a($this->_propDict["timeSlots"], "\Microsoft\Graph\Model\TimeRange")) { - 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 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 deleted file mode 100644 index c3fa3bd3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ShiftItem.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activities"], "\Microsoft\Graph\Model\ShiftActivity")) { - 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 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 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 deleted file mode 100644 index 00902d55..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ShiftPreferences.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index f69826ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SignIn.php +++ /dev/null @@ -1,732 +0,0 @@ -_propDict)) { - return $this->_propDict["appDisplayName"]; - } else { - return null; - } - } - - /** - * Sets the appDisplayName - * The application name displayed in the Azure Portal. - * - * @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. - * - * @return string 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. - * - * @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 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 Active Sync, Modern clients, IMAP, MAPI, SMTP, or POP. - * - * @return string 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 Active Sync, Modern clients, IMAP, MAPI, SMTP, or POP. - * - * @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. - * - * @return ConditionalAccessStatus The conditionalAccessStatus - */ - public function getConditionalAccessStatus() - { - if (array_key_exists("conditionalAccessStatus", $this->_propDict)) { - if (is_a($this->_propDict["conditionalAccessStatus"], "\Microsoft\Graph\Model\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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. - * - * @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. - * - * @return DeviceDetail The deviceDetail - */ - public function getDeviceDetail() - { - if (array_key_exists("deviceDetail", $this->_propDict)) { - if (is_a($this->_propDict["deviceDetail"], "\Microsoft\Graph\Model\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. - * - * @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. - * - * @return string 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. - * - * @param string $val The ipAddress - * - * @return SignIn - */ - public function setIpAddress($val) - { - $this->_propDict["ipAddress"] = $val; - return $this; - } - - /** - * Gets the isInteractive - * Indicates whether a sign-in is interactive or not. - * - * @return bool 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 sign-in is interactive or not. - * - * @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. - * - * @return SignInLocation The location - */ - public function getLocation() - { - if (array_key_exists("location", $this->_propDict)) { - if (is_a($this->_propDict["location"], "\Microsoft\Graph\Model\SignInLocation")) { - 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. - * - * @return RiskDetail The riskDetail - */ - public function getRiskDetail() - { - if (array_key_exists("riskDetail", $this->_propDict)) { - if (is_a($this->_propDict["riskDetail"], "\Microsoft\Graph\Model\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. 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 - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. - * - * @return array The riskEventTypes - */ - public function getRiskEventTypes() - { - if (array_key_exists("riskEventTypes", $this->_propDict)) { - return $this->_propDict["riskEventTypes"]; - } else { - return null; - } - } - - /** - * Sets the riskEventTypes - * The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue. - * - * @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. - * - * @return string 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. - * - * @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. Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. - * - * @return RiskLevel The riskLevelAggregated - */ - public function getRiskLevelAggregated() - { - if (array_key_exists("riskLevelAggregated", $this->_propDict)) { - if (is_a($this->_propDict["riskLevelAggregated"], "\Microsoft\Graph\Model\RiskLevel")) { - 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. 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. Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned hidden. - * - * @return RiskLevel The riskLevelDuringSignIn - */ - public function getRiskLevelDuringSignIn() - { - if (array_key_exists("riskLevelDuringSignIn", $this->_propDict)) { - if (is_a($this->_propDict["riskLevelDuringSignIn"], "\Microsoft\Graph\Model\RiskLevel")) { - 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. 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. - * - * @return RiskState The riskState - */ - public function getRiskState() - { - if (array_key_exists("riskState", $this->_propDict)) { - if (is_a($this->_propDict["riskState"], "\Microsoft\Graph\Model\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. - * - * @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). - * - * @return SignInStatus The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\SignInStatus")) { - 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). - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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. - * - * @return string 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. - * - * @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 deleted file mode 100644 index e340c96b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SignInFrequencySessionControl.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\SigninFrequencyType")) { - 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 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 deleted file mode 100644 index b03311f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SignInLocation.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 The geoCoordinates - */ - public function getGeoCoordinates() - { - if (array_key_exists("geoCoordinates", $this->_propDict)) { - if (is_a($this->_propDict["geoCoordinates"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 14b7315b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SignInStatus.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index 35d6cfb5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SigninFrequencyType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index 20375ecd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Site.php +++ /dev/null @@ -1,495 +0,0 @@ -_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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\PublicError")) { - 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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\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 The sharepointIds - */ - public function getSharepointIds() - { - if (array_key_exists("sharepointIds", $this->_propDict)) { - if (is_a($this->_propDict["sharepointIds"], "\Microsoft\Graph\Model\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 The siteCollection - */ - public function getSiteCollection() - { - if (array_key_exists("siteCollection", $this->_propDict)) { - if (is_a($this->_propDict["siteCollection"], "\Microsoft\Graph\Model\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 The analytics - */ - public function getAnalytics() - { - if (array_key_exists("analytics", $this->_propDict)) { - if (is_a($this->_propDict["analytics"], "\Microsoft\Graph\Model\ItemAnalytics")) { - 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 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 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 The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\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 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 items - * Used to address any item contained in this site. This collection cannot be enumerated. - * - * @return array 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 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 permissions - * The permissions associated with the site. Nullable. - * - * @return array 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 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 onenote - * Calls the OneNote service for notebook related operations. - * - * @return Onenote The onenote - */ - public function getOnenote() - { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 30f9d74f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SiteCollection.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 The root - */ - public function getRoot() - { - if (array_key_exists("root", $this->_propDict)) { - if (is_a($this->_propDict["root"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index ea3a908b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SiteSecurityLevel.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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/SoftwareUpdateStatusSummary.php b/vendor/microsoft/microsoft-graph/src/Model/SoftwareUpdateStatusSummary.php deleted file mode 100644 index 2f666d0c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SoftwareUpdateStatusSummary.php +++ /dev/null @@ -1,462 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/SpaApplication.php b/vendor/microsoft/microsoft-graph/src/Model/SpaApplication.php deleted file mode 100644 index a2c57eca..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SpaApplication.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 0ec96487..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SpecialFolder.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index b8308ea6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/StagedFeatureName.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The dayOfWeek - */ - public function getDayOfWeek() - { - if (array_key_exists("dayOfWeek", $this->_propDict)) { - if (is_a($this->_propDict["dayOfWeek"], "\Microsoft\Graph\Model\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 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 The time - */ - public function getTime() - { - if (array_key_exists("time", $this->_propDict)) { - if (is_a($this->_propDict["time"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 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/StateManagementSetting.php b/vendor/microsoft/microsoft-graph/src/Model/StateManagementSetting.php deleted file mode 100644 index 077bb174..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/StateManagementSetting.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index ca3540e5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/StsPolicy.php +++ /dev/null @@ -1,113 +0,0 @@ -_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 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 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/SubscribeToToneOperation.php b/vendor/microsoft/microsoft-graph/src/Model/SubscribeToToneOperation.php deleted file mode 100644 index d2b79025..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SubscribeToToneOperation.php +++ /dev/null @@ -1,27 +0,0 @@ -_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. - * - * @return string 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. - * - * @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 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 The prepaidUnits - */ - public function getPrepaidUnits() - { - if (array_key_exists("prepaidUnits", $this->_propDict)) { - if (is_a($this->_propDict["prepaidUnits"], "\Microsoft\Graph\Model\LicenseUnitsDetail")) { - 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 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 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 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 deleted file mode 100644 index b6e878b1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Subscription.php +++ /dev/null @@ -1,408 +0,0 @@ -_propDict)) { - return $this->_propDict["applicationId"]; - } else { - return null; - } - } - - /** - * Sets the applicationId - * 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 - * 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. Required. 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 The changeType - */ - public function getChangeType() - { - if (array_key_exists("changeType", $this->_propDict)) { - return $this->_propDict["changeType"]; - } else { - return null; - } - } - - /** - * Sets the changeType - * 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. Required. 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 - * 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. Optional. - * - * @return string The clientState - */ - public function getClientState() - { - if (array_key_exists("clientState", $this->_propDict)) { - return $this->_propDict["clientState"]; - } else { - return null; - } - } - - /** - * Sets the clientState - * 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. Optional. - * - * @param string $val The clientState - * - * @return Subscription - */ - public function setClientState($val) - { - $this->_propDict["clientState"] = $val; - return $this; - } - - /** - * Gets the creatorId - * 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 The creatorId - */ - public function getCreatorId() - { - if (array_key_exists("creatorId", $this->_propDict)) { - return $this->_propDict["creatorId"]; - } else { - return null; - } - } - - /** - * Sets the creatorId - * 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 - * A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. Required when includeResourceData is true. - * - * @return string The encryptionCertificate - */ - public function getEncryptionCertificate() - { - if (array_key_exists("encryptionCertificate", $this->_propDict)) { - return $this->_propDict["encryptionCertificate"]; - } else { - return null; - } - } - - /** - * Sets the encryptionCertificate - * A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. 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 - * A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional. Required when includeResourceData is true. - * - * @return string The encryptionCertificateId - */ - public function getEncryptionCertificateId() - { - if (array_key_exists("encryptionCertificateId", $this->_propDict)) { - return $this->_propDict["encryptionCertificateId"]; - } else { - return null; - } - } - - /** - * Sets the encryptionCertificateId - * A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional. 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 - * 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. See the table below for maximum supported subscription length of time. Required. - * - * @return \DateTime The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - return $this->_propDict["expirationDateTime"]; - } else { - $this->_propDict["expirationDateTime"] = new \DateTime($this->_propDict["expirationDateTime"]); - return $this->_propDict["expirationDateTime"]; - } - } - return null; - } - - /** - * Sets the expirationDateTime - * 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. See the table below for maximum supported subscription length of time. Required. - * - * @param \DateTime $val The expirationDateTime - * - * @return Subscription - */ - public function setExpirationDateTime($val) - { - $this->_propDict["expirationDateTime"] = $val; - return $this; - } - - /** - * Gets the includeResourceData - * When set to true, change notifications include resource data (such as content of a chat message). Optional. - * - * @return bool The includeResourceData - */ - public function getIncludeResourceData() - { - if (array_key_exists("includeResourceData", $this->_propDict)) { - return $this->_propDict["includeResourceData"]; - } else { - return null; - } - } - - /** - * Sets the includeResourceData - * When set to true, change notifications include resource data (such as content of a chat message). Optional. - * - * @param bool $val The includeResourceData - * - * @return Subscription - */ - public function setIncludeResourceData($val) - { - $this->_propDict["includeResourceData"] = boolval($val); - return $this; - } - - /** - * Gets the latestSupportedTlsVersion - * 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 The latestSupportedTlsVersion - */ - public function getLatestSupportedTlsVersion() - { - if (array_key_exists("latestSupportedTlsVersion", $this->_propDict)) { - return $this->_propDict["latestSupportedTlsVersion"]; - } else { - return null; - } - } - - /** - * Sets the latestSupportedTlsVersion - * 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 - * The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle notifications. - * - * @return string The lifecycleNotificationUrl - */ - public function getLifecycleNotificationUrl() - { - if (array_key_exists("lifecycleNotificationUrl", $this->_propDict)) { - return $this->_propDict["lifecycleNotificationUrl"]; - } else { - return null; - } - } - - /** - * Sets the lifecycleNotificationUrl - * The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle notifications. - * - * @param string $val The lifecycleNotificationUrl - * - * @return Subscription - */ - public function setLifecycleNotificationUrl($val) - { - $this->_propDict["lifecycleNotificationUrl"] = $val; - return $this; - } - - /** - * Gets the notificationQueryOptions - * OData Query Options for specifying value for the targeting resource. Clients receive notifications when 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 eg when the print job is completed, when a print job resource isFetchable property value becomes true etc. - * - * @return string The notificationQueryOptions - */ - public function getNotificationQueryOptions() - { - if (array_key_exists("notificationQueryOptions", $this->_propDict)) { - return $this->_propDict["notificationQueryOptions"]; - } else { - return null; - } - } - - /** - * Sets the notificationQueryOptions - * OData Query Options for specifying value for the targeting resource. Clients receive notifications when 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 eg when the print job is completed, 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 - * The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Required. - * - * @return string The notificationUrl - */ - public function getNotificationUrl() - { - if (array_key_exists("notificationUrl", $this->_propDict)) { - return $this->_propDict["notificationUrl"]; - } else { - return null; - } - } - - /** - * Sets the notificationUrl - * The URL of the endpoint that receives the change notifications. This URL must make use of the HTTPS protocol. Required. - * - * @param string $val The notificationUrl - * - * @return Subscription - */ - public function setNotificationUrl($val) - { - $this->_propDict["notificationUrl"] = $val; - return $this; - } - - /** - * Gets the resource - * 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. Required. - * - * @return string The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - return $this->_propDict["resource"]; - } else { - return null; - } - } - - /** - * Sets the resource - * 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. Required. - * - * @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 deleted file mode 100644 index eea6c1fb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SwapShiftsChangeRequest.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 37a75b02..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/SystemFacet.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 The groupType - */ - public function getGroupType() - { - if (array_key_exists("groupType", $this->_propDict)) { - if (is_a($this->_propDict["groupType"], "\Microsoft\Graph\Model\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 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 The modifiedProperties - */ - public function getModifiedProperties() - { - if (array_key_exists("modifiedProperties", $this->_propDict)) { - if (is_a($this->_propDict["modifiedProperties"], "\Microsoft\Graph\Model\ModifiedProperty")) { - 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 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 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 deleted file mode 100644 index 8c24860f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppConfiguration.php +++ /dev/null @@ -1,178 +0,0 @@ -_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 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 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 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 The deploymentSummary - */ - public function getDeploymentSummary() - { - if (array_key_exists("deploymentSummary", $this->_propDict)) { - if (is_a($this->_propDict["deploymentSummary"], "\Microsoft\Graph\Model\ManagedAppPolicyDeploymentSummary")) { - 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/TargetedManagedAppPolicyAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppPolicyAssignment.php deleted file mode 100644 index cb3f71ce..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppPolicyAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index 1862294b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TargetedManagedAppProtection.php +++ /dev/null @@ -1,86 +0,0 @@ -_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 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 deleted file mode 100644 index 8a2b9b8b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TaskStatus.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. - * - * @return string 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. - * - * @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 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 The funSettings - */ - public function getFunSettings() - { - if (array_key_exists("funSettings", $this->_propDict)) { - if (is_a($this->_propDict["funSettings"], "\Microsoft\Graph\Model\TeamFunSettings")) { - 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 The guestSettings - */ - public function getGuestSettings() - { - if (array_key_exists("guestSettings", $this->_propDict)) { - if (is_a($this->_propDict["guestSettings"], "\Microsoft\Graph\Model\TeamGuestSettings")) { - 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 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 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 The memberSettings - */ - public function getMemberSettings() - { - if (array_key_exists("memberSettings", $this->_propDict)) { - if (is_a($this->_propDict["memberSettings"], "\Microsoft\Graph\Model\TeamMemberSettings")) { - 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 The messagingSettings - */ - public function getMessagingSettings() - { - if (array_key_exists("messagingSettings", $this->_propDict)) { - if (is_a($this->_propDict["messagingSettings"], "\Microsoft\Graph\Model\TeamMessagingSettings")) { - 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 The specialization - */ - public function getSpecialization() - { - if (array_key_exists("specialization", $this->_propDict)) { - if (is_a($this->_propDict["specialization"], "\Microsoft\Graph\Model\TeamSpecialization")) { - 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 The visibility - */ - public function getVisibility() - { - if (array_key_exists("visibility", $this->_propDict)) { - if (is_a($this->_propDict["visibility"], "\Microsoft\Graph\Model\TeamVisibilityType")) { - 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 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 schedule - * The schedule of shifts for this team. - * - * @return Schedule The schedule - */ - public function getSchedule() - { - if (array_key_exists("schedule", $this->_propDict)) { - if (is_a($this->_propDict["schedule"], "\Microsoft\Graph\Model\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; - } - - - /** - * Gets the channels - * The collection of channels & messages associated with the team. - * - * @return array 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 & 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 The group - */ - public function getGroup() - { - if (array_key_exists("group", $this->_propDict)) { - if (is_a($this->_propDict["group"], "\Microsoft\Graph\Model\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 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 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 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 The primaryChannel - */ - public function getPrimaryChannel() - { - if (array_key_exists("primaryChannel", $this->_propDict)) { - if (is_a($this->_propDict["primaryChannel"], "\Microsoft\Graph\Model\Channel")) { - 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 The template - */ - public function getTemplate() - { - if (array_key_exists("template", $this->_propDict)) { - if (is_a($this->_propDict["template"], "\Microsoft\Graph\Model\TeamsTemplate")) { - 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; - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/TeamClassSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamClassSettings.php deleted file mode 100644 index beb0554e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamClassSettings.php +++ /dev/null @@ -1,54 +0,0 @@ -_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/TeamFunSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamFunSettings.php deleted file mode 100644 index 89bba2ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamFunSettings.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 The giphyContentRating - */ - public function getGiphyContentRating() - { - if (array_key_exists("giphyContentRating", $this->_propDict)) { - if (is_a($this->_propDict["giphyContentRating"], "\Microsoft\Graph\Model\GiphyRatingType")) { - 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 deleted file mode 100644 index 7bf89d89..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamGuestSettings.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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/TeamMemberSettings.php b/vendor/microsoft/microsoft-graph/src/Model/TeamMemberSettings.php deleted file mode 100644 index 587e3f3a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamMemberSettings.php +++ /dev/null @@ -1,194 +0,0 @@ -_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 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 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 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 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 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 deleted file mode 100644 index 22b83d71..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamMessagingSettings.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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/TeamSpecialization.php b/vendor/microsoft/microsoft-graph/src/Model/TeamSpecialization.php deleted file mode 100644 index d3a5efcd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamSpecialization.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 The distributionMethod - */ - public function getDistributionMethod() - { - if (array_key_exists("distributionMethod", $this->_propDict)) { - if (is_a($this->_propDict["distributionMethod"], "\Microsoft\Graph\Model\TeamsAppDistributionMethod")) { - 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 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 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 deleted file mode 100644 index 1c79ebfd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDefinition.php +++ /dev/null @@ -1,300 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The publishingState - */ - public function getPublishingState() - { - if (array_key_exists("publishingState", $this->_propDict)) { - if (is_a($this->_propDict["publishingState"], "\Microsoft\Graph\Model\TeamsAppPublishingState")) { - 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 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 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 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 The bot - */ - public function getBot() - { - if (array_key_exists("bot", $this->_propDict)) { - if (is_a($this->_propDict["bot"], "\Microsoft\Graph\Model\TeamworkBot")) { - 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 deleted file mode 100644 index bd4fd4ed..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppDistributionMethod.php +++ /dev/null @@ -1,36 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["teamsApp"], "\Microsoft\Graph\Model\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 The teamsAppDefinition - */ - public function getTeamsAppDefinition() - { - if (array_key_exists("teamsAppDefinition", $this->_propDict)) { - if (is_a($this->_propDict["teamsAppDefinition"], "\Microsoft\Graph\Model\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/TeamsAppPublishingState.php b/vendor/microsoft/microsoft-graph/src/Model/TeamsAppPublishingState.php deleted file mode 100644 index 2a2562fc..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamsAppPublishingState.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The error - */ - public function getError() - { - if (array_key_exists("error", $this->_propDict)) { - if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\OperationError")) { - 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 The lastActionDateTime - */ - public function getLastActionDateTime() - { - if (array_key_exists("lastActionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastActionDateTime"], "\DateTime")) { - 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 which type of operation is being described. - * - * @return TeamsAsyncOperationType The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\TeamsAsyncOperationType")) { - return $this->_propDict["operationType"]; - } else { - $this->_propDict["operationType"] = new TeamsAsyncOperationType($this->_propDict["operationType"]); - return $this->_propDict["operationType"]; - } - } - return null; - } - - /** - * Sets the operationType - * Denotes which type of operation is 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\TeamsAsyncOperationStatus")) { - 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 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 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 deleted file mode 100644 index c4d4239b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperationStatus.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["configuration"], "\Microsoft\Graph\Model\TeamsTabConfiguration")) { - 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 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 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 The teamsApp - */ - public function getTeamsApp() - { - if (array_key_exists("teamsApp", $this->_propDict)) { - if (is_a($this->_propDict["teamsApp"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 6c86e56e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamsTabConfiguration.php +++ /dev/null @@ -1,138 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 3b5a57ff..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamsTemplate.php +++ /dev/null @@ -1,27 +0,0 @@ -_propDict)) { - return $this->_propDict["workforceIntegrations"]; - } else { - return null; - } - } - - /** - * Sets the workforceIntegrations - * - * @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 deleted file mode 100644 index d3fea5fa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopic.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\TeamworkActivityTopicSource")) { - 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 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 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 deleted file mode 100644 index 8a0c929c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamworkActivityTopicSource.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["contentBytes"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["contentBytes"]; - } else { - $this->_propDict["contentBytes"] = \GuzzleHttp\Psr7\stream_for($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 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 deleted file mode 100644 index 402ed179..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeamworkNotificationRecipient.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 The lastConnectionDateTime - */ - public function getLastConnectionDateTime() - { - if (array_key_exists("lastConnectionDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastConnectionDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index b7ee19ec..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceAudioQuality.php +++ /dev/null @@ -1,26 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["averageInboundJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageInboundJitter"]; - } else { - $this->_propDict["averageInboundJitter"] = new Duration($this->_propDict["averageInboundJitter"]); - return $this->_propDict["averageInboundJitter"]; - } - } - return null; - } - - /** - * Sets the averageInboundJitter - * The average inbound stream network jitter. - * - * @param Duration $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 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 Duration The averageInboundRoundTripDelay - */ - public function getAverageInboundRoundTripDelay() - { - if (array_key_exists("averageInboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["averageInboundRoundTripDelay"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageInboundRoundTripDelay"]; - } else { - $this->_propDict["averageInboundRoundTripDelay"] = new Duration($this->_propDict["averageInboundRoundTripDelay"]); - return $this->_propDict["averageInboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the averageInboundRoundTripDelay - * The average inbound stream network round trip delay. - * - * @param Duration $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 Duration The averageOutboundJitter - */ - public function getAverageOutboundJitter() - { - if (array_key_exists("averageOutboundJitter", $this->_propDict)) { - if (is_a($this->_propDict["averageOutboundJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageOutboundJitter"]; - } else { - $this->_propDict["averageOutboundJitter"] = new Duration($this->_propDict["averageOutboundJitter"]); - return $this->_propDict["averageOutboundJitter"]; - } - } - return null; - } - - /** - * Sets the averageOutboundJitter - * The average outbound stream network jitter. - * - * @param Duration $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 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 Duration The averageOutboundRoundTripDelay - */ - public function getAverageOutboundRoundTripDelay() - { - if (array_key_exists("averageOutboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["averageOutboundRoundTripDelay"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["averageOutboundRoundTripDelay"]; - } else { - $this->_propDict["averageOutboundRoundTripDelay"] = new Duration($this->_propDict["averageOutboundRoundTripDelay"]); - return $this->_propDict["averageOutboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the averageOutboundRoundTripDelay - * The average outbound stream network round trip delay. - * - * @param Duration $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 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 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 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 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 Duration The maximumInboundJitter - */ - public function getMaximumInboundJitter() - { - if (array_key_exists("maximumInboundJitter", $this->_propDict)) { - if (is_a($this->_propDict["maximumInboundJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumInboundJitter"]; - } else { - $this->_propDict["maximumInboundJitter"] = new Duration($this->_propDict["maximumInboundJitter"]); - return $this->_propDict["maximumInboundJitter"]; - } - } - return null; - } - - /** - * Sets the maximumInboundJitter - * The maximum inbound stream network jitter. - * - * @param Duration $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 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 Duration The maximumInboundRoundTripDelay - */ - public function getMaximumInboundRoundTripDelay() - { - if (array_key_exists("maximumInboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["maximumInboundRoundTripDelay"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumInboundRoundTripDelay"]; - } else { - $this->_propDict["maximumInboundRoundTripDelay"] = new Duration($this->_propDict["maximumInboundRoundTripDelay"]); - return $this->_propDict["maximumInboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the maximumInboundRoundTripDelay - * The maximum inbound stream network round trip delay. - * - * @param Duration $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 Duration The maximumOutboundJitter - */ - public function getMaximumOutboundJitter() - { - if (array_key_exists("maximumOutboundJitter", $this->_propDict)) { - if (is_a($this->_propDict["maximumOutboundJitter"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumOutboundJitter"]; - } else { - $this->_propDict["maximumOutboundJitter"] = new Duration($this->_propDict["maximumOutboundJitter"]); - return $this->_propDict["maximumOutboundJitter"]; - } - } - return null; - } - - /** - * Sets the maximumOutboundJitter - * The maximum outbound stream network jitter. - * - * @param Duration $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 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 Duration The maximumOutboundRoundTripDelay - */ - public function getMaximumOutboundRoundTripDelay() - { - if (array_key_exists("maximumOutboundRoundTripDelay", $this->_propDict)) { - if (is_a($this->_propDict["maximumOutboundRoundTripDelay"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["maximumOutboundRoundTripDelay"]; - } else { - $this->_propDict["maximumOutboundRoundTripDelay"] = new Duration($this->_propDict["maximumOutboundRoundTripDelay"]); - return $this->_propDict["maximumOutboundRoundTripDelay"]; - } - } - return null; - } - - /** - * Sets the maximumOutboundRoundTripDelay - * The maximum outbound stream network round trip delay. - * - * @param Duration $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 Duration The mediaDuration - */ - public function getMediaDuration() - { - if (array_key_exists("mediaDuration", $this->_propDict)) { - if (is_a($this->_propDict["mediaDuration"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["mediaDuration"]; - } else { - $this->_propDict["mediaDuration"] = new Duration($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 Duration $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 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 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 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 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 deleted file mode 100644 index ad96556b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceQuality.php +++ /dev/null @@ -1,311 +0,0 @@ -_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 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 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 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 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 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 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 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 The mediaQualityList - */ - public function getMediaQualityList() - { - if (array_key_exists("mediaQualityList", $this->_propDict)) { - if (is_a($this->_propDict["mediaQualityList"], "\Microsoft\Graph\Model\TeleconferenceDeviceMediaQuality")) { - 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 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 deleted file mode 100644 index 816c708f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TeleconferenceDeviceScreenSharingQuality.php +++ /dev/null @@ -1,26 +0,0 @@ -_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 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 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 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/TermsAndConditions.php b/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditions.php deleted file mode 100644 index 5a832484..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditions.php +++ /dev/null @@ -1,327 +0,0 @@ -_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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index dfa17416..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAcceptanceStatus.php +++ /dev/null @@ -1,180 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["acceptedDateTime"], "\DateTime")) { - 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 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 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 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 The termsAndConditions - */ - public function getTermsAndConditions() - { - if (array_key_exists("termsAndConditions", $this->_propDict)) { - if (is_a($this->_propDict["termsAndConditions"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 168fed60..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TermsAndConditionsAssignment.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["target"], "\Microsoft\Graph\Model\DeviceAndAppManagementAssignmentTarget")) { - 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 deleted file mode 100644 index c4ef439c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TermsExpiration.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["frequency"], "\Microsoft\Graph\Model\Duration")) { - return $this->_propDict["frequency"]; - } else { - $this->_propDict["frequency"] = new Duration($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 Duration $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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index a2de2fa3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TermsOfUseContainer.php +++ /dev/null @@ -1,83 +0,0 @@ -_propDict)) { - return $this->_propDict["agreementAcceptances"]; - } else { - return null; - } - } - - /** - * Sets the agreementAcceptances - * - * @param AgreementAcceptance $val The agreementAcceptances - * - * @return TermsOfUseContainer - */ - public function setAgreementAcceptances($val) - { - $this->_propDict["agreementAcceptances"] = $val; - return $this; - } - - - /** - * Gets the agreements - * - * @return array The agreements - */ - public function getAgreements() - { - if (array_key_exists("agreements", $this->_propDict)) { - return $this->_propDict["agreements"]; - } else { - return null; - } - } - - /** - * Sets the agreements - * - * @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 deleted file mode 100644 index df78e818..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TextColumn.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index 4b307fb5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentContentType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["category"], "\Microsoft\Graph\Model\ThreatCategory")) { - 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 The contentType - */ - public function getContentType() - { - if (array_key_exists("contentType", $this->_propDict)) { - if (is_a($this->_propDict["contentType"], "\Microsoft\Graph\Model\ThreatAssessmentContentType")) { - 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 The createdBy - */ - public function getCreatedBy() - { - if (array_key_exists("createdBy", $this->_propDict)) { - if (is_a($this->_propDict["createdBy"], "\Microsoft\Graph\Model\IdentitySet")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The expectedAssessment - */ - public function getExpectedAssessment() - { - if (array_key_exists("expectedAssessment", $this->_propDict)) { - if (is_a($this->_propDict["expectedAssessment"], "\Microsoft\Graph\Model\ThreatExpectedAssessment")) { - 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 The requestSource - */ - public function getRequestSource() - { - if (array_key_exists("requestSource", $this->_propDict)) { - if (is_a($this->_propDict["requestSource"], "\Microsoft\Graph\Model\ThreatAssessmentRequestSource")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\ThreatAssessmentStatus")) { - 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 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 deleted file mode 100644 index ca3d02de..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentRequestSource.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The resultType - */ - public function getResultType() - { - if (array_key_exists("resultType", $this->_propDict)) { - if (is_a($this->_propDict["resultType"], "\Microsoft\Graph\Model\ThreatAssessmentResultType")) { - 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 deleted file mode 100644 index b3ee30f9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ThreatAssessmentResultType.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["content"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["content"]; - } else { - $this->_propDict["content"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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/ThumbnailSet.php b/vendor/microsoft/microsoft-graph/src/Model/ThumbnailSet.php deleted file mode 100644 index 9234ab39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/ThumbnailSet.php +++ /dev/null @@ -1,159 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["large"], "\Microsoft\Graph\Model\Thumbnail")) { - 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 The medium - */ - public function getMedium() - { - if (array_key_exists("medium", $this->_propDict)) { - if (is_a($this->_propDict["medium"], "\Microsoft\Graph\Model\Thumbnail")) { - 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 The small - */ - public function getSmall() - { - if (array_key_exists("small", $this->_propDict)) { - if (is_a($this->_propDict["small"], "\Microsoft\Graph\Model\Thumbnail")) { - 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 The source - */ - public function getSource() - { - if (array_key_exists("source", $this->_propDict)) { - if (is_a($this->_propDict["source"], "\Microsoft\Graph\Model\Thumbnail")) { - 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/TimeConstraint.php b/vendor/microsoft/microsoft-graph/src/Model/TimeConstraint.php deleted file mode 100644 index d25b1f9b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeConstraint.php +++ /dev/null @@ -1,90 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["activityDomain"], "\Microsoft\Graph\Model\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 The timeSlots - */ - public function getTimeSlots() - { - if (array_key_exists("timeSlots", $this->_propDict)) { - if (is_a($this->_propDict["timeSlots"], "\Microsoft\Graph\Model\TimeSlot")) { - 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 deleted file mode 100644 index 4bfade76..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeOff.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["draftTimeOff"], "\Microsoft\Graph\Model\TimeOffItem")) { - 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 The sharedTimeOff - */ - public function getSharedTimeOff() - { - if (array_key_exists("sharedTimeOff", $this->_propDict)) { - if (is_a($this->_propDict["sharedTimeOff"], "\Microsoft\Graph\Model\TimeOffItem")) { - 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 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 deleted file mode 100644 index 84cbd48d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeOffItem.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index ccd40dfd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeOffReason.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The iconType - */ - public function getIconType() - { - if (array_key_exists("iconType", $this->_propDict)) { - if (is_a($this->_propDict["iconType"], "\Microsoft\Graph\Model\TimeOffReasonIconType")) { - 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 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 deleted file mode 100644 index 46b4cabf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeOffReasonIconType.php +++ /dev/null @@ -1,54 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endDateTime"], "\DateTime")) { - 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 The startDateTime - */ - public function getStartDateTime() - { - if (array_key_exists("startDateTime", $this->_propDict)) { - if (is_a($this->_propDict["startDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 0b61c428..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeRange.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index 8d745f86..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeSlot.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["end"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 begins. - * - * @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 ends. - * - * @return DateTimeTimeZone The start - */ - public function getStart() - { - if (array_key_exists("start", $this->_propDict)) { - if (is_a($this->_propDict["start"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 ends. - * - * @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 deleted file mode 100644 index c0375a52..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeZoneBase.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 455c4e66..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeZoneInformation.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 9ee320f9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TimeZoneStandard.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 deleted file mode 100644 index abda33e4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TodoTask.php +++ /dev/null @@ -1,475 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["body"], "\Microsoft\Graph\Model\ItemBody")) { - 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 The bodyLastModifiedDateTime - */ - public function getBodyLastModifiedDateTime() - { - if (array_key_exists("bodyLastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["bodyLastModifiedDateTime"], "\DateTime")) { - 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 completedDateTime - * The date in the specified time zone that the task was finished. - * - * @return DateTimeTimeZone The completedDateTime - */ - public function getCompletedDateTime() - { - if (array_key_exists("completedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["completedDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The dueDateTime - */ - public function getDueDateTime() - { - if (array_key_exists("dueDateTime", $this->_propDict)) { - if (is_a($this->_propDict["dueDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The importance - */ - public function getImportance() - { - if (array_key_exists("importance", $this->_propDict)) { - if (is_a($this->_propDict["importance"], "\Microsoft\Graph\Model\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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The recurrence - */ - public function getRecurrence() - { - if (array_key_exists("recurrence", $this->_propDict)) { - if (is_a($this->_propDict["recurrence"], "\Microsoft\Graph\Model\PatternedRecurrence")) { - 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 The reminderDateTime - */ - public function getReminderDateTime() - { - if (array_key_exists("reminderDateTime", $this->_propDict)) { - if (is_a($this->_propDict["reminderDateTime"], "\Microsoft\Graph\Model\DateTimeTimeZone")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\TaskStatus")) { - 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 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 extensions - * The collection of open extensions defined for the task. Nullable. - * - * @return array 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 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 deleted file mode 100644 index aa32777f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TodoTaskList.php +++ /dev/null @@ -1,207 +0,0 @@ -_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 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 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 The wellknownListName - */ - public function getWellknownListName() - { - if (array_key_exists("wellknownListName", $this->_propDict)) { - if (is_a($this->_propDict["wellknownListName"], "\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index 8662e7cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/TokenIssuancePolicy.php +++ /dev/null @@ -1,27 +0,0 @@ -setODataType("#microsoft.graph.tokenMeetingInfo"); - } - - /** - * Gets the token - * The token used to join the call. - * - * @return string 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 deleted file mode 100644 index 64c5e874..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Tone.php +++ /dev/null @@ -1,49 +0,0 @@ -_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 The tone - */ - public function getTone() - { - if (array_key_exists("tone", $this->_propDict)) { - if (is_a($this->_propDict["tone"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index b3787c8e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Trending.php +++ /dev/null @@ -1,186 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The resourceReference - */ - public function getResourceReference() - { - if (array_key_exists("resourceReference", $this->_propDict)) { - if (is_a($this->_propDict["resourceReference"], "\Microsoft\Graph\Model\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 The resourceVisualization - */ - public function getResourceVisualization() - { - if (array_key_exists("resourceVisualization", $this->_propDict)) { - if (is_a($this->_propDict["resourceVisualization"], "\Microsoft\Graph\Model\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 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"] = $val; - return $this; - } - - /** - * Gets the resource - * Used for navigating to the trending document. - * - * @return Entity The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity")) { - 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/UnifiedRoleAssignment.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignment.php deleted file mode 100644 index c0cffe30..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleAssignment.php +++ /dev/null @@ -1,294 +0,0 @@ -_propDict)) { - return $this->_propDict["appScopeId"]; - } else { - return null; - } - } - - /** - * Sets the appScopeId - * Id 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. - * - * @param string $val The appScopeId - * - * @return UnifiedRoleAssignment - */ - public function setAppScopeId($val) - { - $this->_propDict["appScopeId"] = $val; - return $this; - } - - /** - * Gets the condition - * - * @return string 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 - * Id 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 The directoryScopeId - */ - public function getDirectoryScopeId() - { - if (array_key_exists("directoryScopeId", $this->_propDict)) { - return $this->_propDict["directoryScopeId"]; - } else { - return null; - } - } - - /** - * Sets the directoryScopeId - * Id 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 - * Objectid of the principal to which the assignment is granted. - * - * @return string The principalId - */ - public function getPrincipalId() - { - if (array_key_exists("principalId", $this->_propDict)) { - return $this->_propDict["principalId"]; - } else { - return null; - } - } - - /** - * Sets the principalId - * Objectid of the principal to which the assignment is granted. - * - * @param string $val The principalId - * - * @return UnifiedRoleAssignment - */ - public function setPrincipalId($val) - { - $this->_propDict["principalId"] = $val; - return $this; - } - - /** - * Gets the roleDefinitionId - * ID of the unifiedRoleDefinition the assignment is for. Read only. - * - * @return string The roleDefinitionId - */ - public function getRoleDefinitionId() - { - if (array_key_exists("roleDefinitionId", $this->_propDict)) { - return $this->_propDict["roleDefinitionId"]; - } else { - return null; - } - } - - /** - * Sets the roleDefinitionId - * ID of the unifiedRoleDefinition the assignment is for. Read only. - * - * @param string $val The roleDefinitionId - * - * @return UnifiedRoleAssignment - */ - public function setRoleDefinitionId($val) - { - $this->_propDict["roleDefinitionId"] = $val; - return $this; - } - - /** - * Gets the appScope - * - * @return AppScope The appScope - */ - public function getAppScope() - { - if (array_key_exists("appScope", $this->_propDict)) { - if (is_a($this->_propDict["appScope"], "\Microsoft\Graph\Model\AppScope")) { - return $this->_propDict["appScope"]; - } else { - $this->_propDict["appScope"] = new AppScope($this->_propDict["appScope"]); - return $this->_propDict["appScope"]; - } - } - return null; - } - - /** - * Sets the appScope - * - * @param AppScope $val The appScope - * - * @return UnifiedRoleAssignment - */ - public function setAppScope($val) - { - $this->_propDict["appScope"] = $val; - return $this; - } - - /** - * Gets the directoryScope - * - * @return DirectoryObject The directoryScope - */ - public function getDirectoryScope() - { - if (array_key_exists("directoryScope", $this->_propDict)) { - if (is_a($this->_propDict["directoryScope"], "\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["directoryScope"]; - } else { - $this->_propDict["directoryScope"] = new DirectoryObject($this->_propDict["directoryScope"]); - return $this->_propDict["directoryScope"]; - } - } - return null; - } - - /** - * Sets the directoryScope - * - * @param DirectoryObject $val The directoryScope - * - * @return UnifiedRoleAssignment - */ - public function setDirectoryScope($val) - { - $this->_propDict["directoryScope"] = $val; - return $this; - } - - /** - * Gets the principal - * - * @return DirectoryObject The principal - */ - public function getPrincipal() - { - if (array_key_exists("principal", $this->_propDict)) { - if (is_a($this->_propDict["principal"], "\Microsoft\Graph\Model\DirectoryObject")) { - return $this->_propDict["principal"]; - } else { - $this->_propDict["principal"] = new DirectoryObject($this->_propDict["principal"]); - return $this->_propDict["principal"]; - } - } - return null; - } - - /** - * Sets the principal - * - * @param DirectoryObject $val The principal - * - * @return UnifiedRoleAssignment - */ - public function setPrincipal($val) - { - $this->_propDict["principal"] = $val; - return $this; - } - - /** - * Gets the roleDefinition - * - * @return UnifiedRoleDefinition The roleDefinition - */ - public function getRoleDefinition() - { - if (array_key_exists("roleDefinition", $this->_propDict)) { - if (is_a($this->_propDict["roleDefinition"], "\Microsoft\Graph\Model\UnifiedRoleDefinition")) { - return $this->_propDict["roleDefinition"]; - } else { - $this->_propDict["roleDefinition"] = new UnifiedRoleDefinition($this->_propDict["roleDefinition"]); - return $this->_propDict["roleDefinition"]; - } - } - return null; - } - - /** - * Sets the roleDefinition - * - * @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/UnifiedRoleDefinition.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleDefinition.php deleted file mode 100644 index 95dfead2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRoleDefinition.php +++ /dev/null @@ -1,288 +0,0 @@ -_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. - * - * @return string 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. - * - * @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. - * - * @return bool 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. - * - * @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 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 is going to be deprecated soon. Attach scope to role assignment - * - * @return string 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 is going to 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 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 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 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 - * - * @return array The inheritsPermissionsFrom - */ - public function getInheritsPermissionsFrom() - { - if (array_key_exists("inheritsPermissionsFrom", $this->_propDict)) { - return $this->_propDict["inheritsPermissionsFrom"]; - } else { - return null; - } - } - - /** - * Sets the inheritsPermissionsFrom - * - * @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/UnifiedRolePermission.php b/vendor/microsoft/microsoft-graph/src/Model/UnifiedRolePermission.php deleted file mode 100644 index 53d496b0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UnifiedRolePermission.php +++ /dev/null @@ -1,108 +0,0 @@ -_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 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 - * - * @return string The excludedResourceActions - */ - public function getExcludedResourceActions() - { - if (array_key_exists("excludedResourceActions", $this->_propDict)) { - return $this->_propDict["excludedResourceActions"]; - } else { - return null; - } - } - - /** - * Sets the excludedResourceActions - * - * @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/UnmuteParticipantOperation.php b/vendor/microsoft/microsoft-graph/src/Model/UnmuteParticipantOperation.php deleted file mode 100644 index c46a3bc8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UnmuteParticipantOperation.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 The deviceAccount - */ - public function getDeviceAccount() - { - if (array_key_exists("deviceAccount", $this->_propDict)) { - if (is_a($this->_propDict["deviceAccount"], "\Microsoft\Graph\Model\WindowsDeviceAccount")) { - 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 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 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 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 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 deleted file mode 100644 index d81b9b4f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UploadSession.php +++ /dev/null @@ -1,115 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 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 deleted file mode 100644 index 2503fe5b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UriClickSecurityState.php +++ /dev/null @@ -1,187 +0,0 @@ -_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 The clickDateTime - */ - public function getClickDateTime() - { - if (array_key_exists("clickDateTime", $this->_propDict)) { - if (is_a($this->_propDict["clickDateTime"], "\DateTime")) { - 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 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 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 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 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 deleted file mode 100644 index 645bc31b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UrlAssessmentRequest.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index d6c6427f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UsageDetails.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastAccessedDateTime"], "\DateTime")) { - 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 would look like this: 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 would look like this: 2014-01-01T00:00:00Z. Read-only. - * - * @return \DateTime The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 would look like this: 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 deleted file mode 100644 index 09f4765d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UsedInsight.php +++ /dev/null @@ -1,159 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["lastUsed"], "\Microsoft\Graph\Model\UsageDetails")) { - 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 The resourceReference - */ - public function getResourceReference() - { - if (array_key_exists("resourceReference", $this->_propDict)) { - if (is_a($this->_propDict["resourceReference"], "\Microsoft\Graph\Model\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 The resourceVisualization - */ - public function getResourceVisualization() - { - if (array_key_exists("resourceVisualization", $this->_propDict)) { - if (is_a($this->_propDict["resourceVisualization"], "\Microsoft\Graph\Model\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 The resource - */ - public function getResource() - { - if (array_key_exists("resource", $this->_propDict)) { - if (is_a($this->_propDict["resource"], "\Microsoft\Graph\Model\Entity")) { - 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 deleted file mode 100644 index b2cb245d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/User.php +++ /dev/null @@ -1,3462 +0,0 @@ -_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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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. Not nullable. Supports $filter. - * - * @return array 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. Supports $filter. - * - * @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. Returned only on $select. Read-only. Not nullable. - * - * @return array 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. Returned only on $select. Read-only. Not nullable. - * - * @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. Returned by default. Read-only for users synced from on-premises directory. - * - * @return string 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. Returned by default. Read-only for users synced from on-premises directory. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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 of the company name is 64 characters.Returned only on $select. - * - * @return string 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 of the company name is 64 characters.Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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'. Returned only on $select. Supports $filter. - * - * @return string 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'. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Read-only. Supports $filter. - * - * @return \DateTime The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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. Returned only on $select. Read-only. Supports $filter. - * - * @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 as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Returned only on $select. Read-only. - * - * @return string 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 as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Returned only on $select. Read-only. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned by default. Supports $filter and $orderby. - * - * @return string 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. Returned by default. Supports $filter and $orderby. - * - * @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. Returned only on $select. Supports $filter. - * - * @return \DateTime The employeeHireDate - */ - public function getEmployeeHireDate() - { - if (array_key_exists("employeeHireDate", $this->_propDict)) { - if (is_a($this->_propDict["employeeHireDate"], "\DateTime")) { - 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return EmployeeOrgData The employeeOrgData - */ - public function getEmployeeOrgData() - { - if (array_key_exists("employeeOrgData", $this->_propDict)) { - if (is_a($this->_propDict["employeeOrgData"], "\Microsoft\Graph\Model\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. Returned only on $select. - * - * @param EmployeeOrgData $val The employeeOrgData - * - * @return User - */ - public function setEmployeeOrgData($val) - { - $this->_propDict["employeeOrgData"] = $val; - return $this; - } - - /** - * Gets the employeeType - * Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter. - * - * @return string 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: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'. - * - * @return string 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. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'. - * - * @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. Returned only on $select. - * - * @return \DateTime The externalUserStateChangeDateTime - */ - public function getExternalUserStateChangeDateTime() - { - if (array_key_exists("externalUserStateChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["externalUserStateChangeDateTime"], "\DateTime")) { - 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. Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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. Returned by default. Supports $filter. - * - * @return string 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. Returned by default. Supports $filter. - * - * @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. Returned only on $select. Supports $filter. - * - * @return array 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. Returned only on $select. Supports $filter. - * - * @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. - * - * @return string 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. - * - * @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 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. Returned by default. Supports $filter. - * - * @return string 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. Returned by default. Supports $filter. - * - * @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. The Timestamp type represents date and time information 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. Read-only. - * - * @return \DateTime The lastPasswordChangeDateTime - */ - public function getLastPasswordChangeDateTime() - { - if (array_key_exists("lastPasswordChangeDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastPasswordChangeDateTime"], "\DateTime")) { - 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. The Timestamp type represents date and time information 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. Read-only. - * - * @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 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. Returned only on $select. Read-only. - * - * @return array 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. Returned only on $select. Read-only. - * - * @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, 'jeff@contoso.onmicrosoft.com'. Returned by default. Supports $filter and endsWith. - * - * @return string 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'. Returned by default. Supports $filter and endsWith. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned by default. Read-only for users synced from on-premises directory. - * - * @return string 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. Returned by default. Read-only for users synced from on-premises directory. - * - * @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. Returned by default. - * - * @return string 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. Returned by default. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. 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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @param string $val The onPremisesDomainName - * - * @return User - */ - public function setOnPremisesDomainName($val) - { - $this->_propDict["onPremisesDomainName"] = $val; - return $this; - } - - /** - * Gets the onPremisesExtensionAttributes - * Contains extensionAttributes 1-15 for the user. Note that 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 and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select. - * - * @return OnPremisesExtensionAttributes The onPremisesExtensionAttributes - */ - public function getOnPremisesExtensionAttributes() - { - if (array_key_exists("onPremisesExtensionAttributes", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesExtensionAttributes"], "\Microsoft\Graph\Model\OnPremisesExtensionAttributes")) { - return $this->_propDict["onPremisesExtensionAttributes"]; - } else { - $this->_propDict["onPremisesExtensionAttributes"] = new OnPremisesExtensionAttributes($this->_propDict["onPremisesExtensionAttributes"]); - return $this->_propDict["onPremisesExtensionAttributes"]; - } - } - return null; - } - - /** - * Sets the onPremisesExtensionAttributes - * Contains extensionAttributes 1-15 for the user. Note that 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 and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. 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. Important: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter. - * - * @return string 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. Important: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. Read-only. - * - * @return \DateTime The onPremisesLastSyncDateTime - */ - public function getOnPremisesLastSyncDateTime() - { - if (array_key_exists("onPremisesLastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["onPremisesLastSyncDateTime"], "\DateTime")) { - 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. Returned only on $select. Read-only. - * - * @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. Returned only on $select. - * - * @return array 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 only on $select. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @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). Returned only on $select. Read-only. - * - * @return bool 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). Returned only on $select. Read-only. - * - * @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. Returned only on $select. Read-only. - * - * @return string 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. Returned only on $select. Read-only. - * - * @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'].Returned only on $select. Supports$filter. - * - * @return string 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'].Returned only on $select. Supports$filter. - * - * @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'.Returned only on $select. - * - * @return string 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'.Returned only on $select. - * - * @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. Returned only on $select. - * - * @return PasswordProfile The passwordProfile - */ - public function getPasswordProfile() - { - if (array_key_exists("passwordProfile", $this->_propDict)) { - if (is_a($this->_propDict["passwordProfile"], "\Microsoft\Graph\Model\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. Returned only on $select. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @param string $val The postalCode - * - * @return User - */ - public function setPostalCode($val) - { - $this->_propDict["postalCode"] = $val; - return $this; - } - - /** - * Gets the preferredLanguage - * The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default. - * - * @return string 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'. Returned by default. - * - * @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. Returned only on $select. Read-only. Not nullable. - * - * @return array 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. Returned only on $select. Read-only. Not nullable. - * - * @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'] The any operator is required for filter expressions on multi-valued properties. Returned only on $select. Read-only, Not nullable. Supports $filter. - * - * @return string 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. Returned only on $select. Read-only, Not nullable. Supports $filter. - * - * @param string $val The proxyAddresses - * - * @return User - */ - public function setProxyAddresses($val) - { - $this->_propDict["proxyAddresses"] = $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. Returned only on $select. - * - * @return bool 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. Returned only on $select. - * - * @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. Returned only on $select. Read-only. Use revokeSignInSessions to reset. - * - * @return \DateTime The signInSessionsValidFromDateTime - */ - public function getSignInSessionsValidFromDateTime() - { - if (array_key_exists("signInSessionsValidFromDateTime", $this->_propDict)) { - if (is_a($this->_propDict["signInSessionsValidFromDateTime"], "\DateTime")) { - 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. Returned only on $select. 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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return string 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. Returned only on $select. - * - * @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). Returned by default. Supports $filter. - * - * @return string 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). Returned by default. Supports $filter. - * - * @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. Returned only on $select. Supports $filter. - * - * @return string 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. Returned only on $select. Supports $filter. - * - * @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. Returned by default. Supports $filter, $orderby, and endsWith. - * - * @return string 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. Returned by default. Supports $filter, $orderby, and endsWith. - * - * @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'. Returned only on $select. Supports $filter. - * - * @return string 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'. Returned only on $select. Supports $filter. - * - * @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. Returned only on $select. - * - * @return MailboxSettings The mailboxSettings - */ - public function getMailboxSettings() - { - if (array_key_exists("mailboxSettings", $this->_propDict)) { - if (is_a($this->_propDict["mailboxSettings"], "\Microsoft\Graph\Model\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. 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 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 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 The birthday - */ - public function getBirthday() - { - if (array_key_exists("birthday", $this->_propDict)) { - if (is_a($this->_propDict["birthday"], "\DateTime")) { - 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 The hireDate - */ - public function getHireDate() - { - if (array_key_exists("hireDate", $this->_propDict)) { - if (is_a($this->_propDict["hireDate"], "\DateTime")) { - 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 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 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 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 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 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 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 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. - * - * @return array 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. - * - * @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 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. - * - * @return array 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. - * - * @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 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.) - * - * @return DirectoryObject The manager - */ - public function getManager() - { - if (array_key_exists("manager", $this->_propDict)) { - if (is_a($this->_propDict["manager"], "\Microsoft\Graph\Model\DirectoryObject")) { - 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.) - * - * @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. - * - * @return array 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. - * - * @param DirectoryObject $val The memberOf - * - * @return User - */ - public function setMemberOf($val) - { - $this->_propDict["memberOf"] = $val; - return $this; - } - - - /** - * Gets the oauth2PermissionGrants - * - * @return array 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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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. - * - * @return array 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. - * - * @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 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 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 The calendar - */ - public function getCalendar() - { - if (array_key_exists("calendar", $this->_propDict)) { - if (is_a($this->_propDict["calendar"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 The inferenceClassification - */ - public function getInferenceClassification() - { - if (array_key_exists("inferenceClassification", $this->_propDict)) { - if (is_a($this->_propDict["inferenceClassification"], "\Microsoft\Graph\Model\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 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 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 The outlook - */ - public function getOutlook() - { - if (array_key_exists("outlook", $this->_propDict)) { - if (is_a($this->_propDict["outlook"], "\Microsoft\Graph\Model\OutlookUser")) { - 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 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 photo - * The user's profile photo. Read-only. - * - * @return ProfilePhoto The photo - */ - public function getPhoto() - { - if (array_key_exists("photo", $this->_propDict)) { - if (is_a($this->_propDict["photo"], "\Microsoft\Graph\Model\ProfilePhoto")) { - 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 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 drive - * The user's OneDrive. Read-only. - * - * @return Drive The drive - */ - public function getDrive() - { - if (array_key_exists("drive", $this->_propDict)) { - if (is_a($this->_propDict["drive"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 The planner - */ - public function getPlanner() - { - if (array_key_exists("planner", $this->_propDict)) { - if (is_a($this->_propDict["planner"], "\Microsoft\Graph\Model\PlannerUser")) { - 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 The insights - */ - public function getInsights() - { - if (array_key_exists("insights", $this->_propDict)) { - if (is_a($this->_propDict["insights"], "\Microsoft\Graph\Model\OfficeGraphInsights")) { - 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 The settings - */ - public function getSettings() - { - if (array_key_exists("settings", $this->_propDict)) { - if (is_a($this->_propDict["settings"], "\Microsoft\Graph\Model\UserSettings")) { - 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 The onenote - */ - public function getOnenote() - { - if (array_key_exists("onenote", $this->_propDict)) { - if (is_a($this->_propDict["onenote"], "\Microsoft\Graph\Model\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 activities - * The user's activities across devices. Read-only. Nullable. - * - * @return array 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 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 The presence - */ - public function getPresence() - { - if (array_key_exists("presence", $this->_propDict)) { - if (is_a($this->_propDict["presence"], "\Microsoft\Graph\Model\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 - * - * @return Authentication The authentication - */ - public function getAuthentication() - { - if (array_key_exists("authentication", $this->_propDict)) { - if (is_a($this->_propDict["authentication"], "\Microsoft\Graph\Model\Authentication")) { - return $this->_propDict["authentication"]; - } else { - $this->_propDict["authentication"] = new Authentication($this->_propDict["authentication"]); - return $this->_propDict["authentication"]; - } - } - return null; - } - - /** - * Sets the authentication - * - * @param Authentication $val The authentication - * - * @return User - */ - public function setAuthentication($val) - { - $this->_propDict["authentication"] = $val; - return $this; - } - - - /** - * Gets the joinedTeams - * The Microsoft Teams teams that the user is a member of. Read-only. Nullable. - * - * @return array 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 The teamwork - */ - public function getTeamwork() - { - if (array_key_exists("teamwork", $this->_propDict)) { - if (is_a($this->_propDict["teamwork"], "\Microsoft\Graph\Model\UserTeamwork")) { - 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 The todo - */ - public function getTodo() - { - if (array_key_exists("todo", $this->_propDict)) { - if (is_a($this->_propDict["todo"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 3f4bd872..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserAccountSecurityType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 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 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 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 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 The createdDateTime - */ - public function getCreatedDateTime() - { - if (array_key_exists("createdDateTime", $this->_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\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 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 The visualElements - */ - public function getVisualElements() - { - if (array_key_exists("visualElements", $this->_propDict)) { - if (is_a($this->_propDict["visualElements"], "\Microsoft\Graph\Model\VisualInfo")) { - 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 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/UserConsentRequest.php b/vendor/microsoft/microsoft-graph/src/Model/UserConsentRequest.php deleted file mode 100644 index e993fbf5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserConsentRequest.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The approval - */ - public function getApproval() - { - if (array_key_exists("approval", $this->_propDict)) { - if (is_a($this->_propDict["approval"], "\Microsoft\Graph\Model\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/UserIdentity.php b/vendor/microsoft/microsoft-graph/src/Model/UserIdentity.php deleted file mode 100644 index 5391e671..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserIdentity.php +++ /dev/null @@ -1,138 +0,0 @@ -_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. - * - * @param string $val The value of the displayName - * - * @return UserIdentity - */ - public function setDisplayName($val) - { - $this->_propDict["displayName"] = $val; - return $this; - } - /** - * Gets the id - * Unique identifier for the identity. - * - * @return string 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 UserIdentity - */ - public function setId($val) - { - $this->_propDict["id"] = $val; - return $this; - } - /** - * Gets the ipAddress - * Indicates the client IP address used by user performing the activity (audit log only). - * - * @return string The ipAddress - */ - public function getIpAddress() - { - if (array_key_exists("ipAddress", $this->_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 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 deleted file mode 100644 index b20fec5d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserInstallStateSummary.php +++ /dev/null @@ -1,173 +0,0 @@ -_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 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 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 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 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/UserScopeTeamsAppInstallation.php b/vendor/microsoft/microsoft-graph/src/Model/UserScopeTeamsAppInstallation.php deleted file mode 100644 index 6cfe5af3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserScopeTeamsAppInstallation.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["chat"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index ea300ed9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserSecurityState.php +++ /dev/null @@ -1,438 +0,0 @@ -_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 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 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 The emailRole - */ - public function getEmailRole() - { - if (array_key_exists("emailRole", $this->_propDict)) { - if (is_a($this->_propDict["emailRole"], "\Microsoft\Graph\Model\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 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 The logonDateTime - */ - public function getLogonDateTime() - { - if (array_key_exists("logonDateTime", $this->_propDict)) { - if (is_a($this->_propDict["logonDateTime"], "\DateTime")) { - 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 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 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 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 The logonType - */ - public function getLogonType() - { - if (array_key_exists("logonType", $this->_propDict)) { - if (is_a($this->_propDict["logonType"], "\Microsoft\Graph\Model\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 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 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 The userAccountType - */ - public function getUserAccountType() - { - if (array_key_exists("userAccountType", $this->_propDict)) { - if (is_a($this->_propDict["userAccountType"], "\Microsoft\Graph\Model\UserAccountSecurityType")) { - 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 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 deleted file mode 100644 index 03ed7850..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserSettings.php +++ /dev/null @@ -1,118 +0,0 @@ -_propDict)) { - return $this->_propDict["contributionToContentDiscoveryAsOrganizationDisabled"]; - } else { - return null; - } - } - - /** - * Sets the contributionToContentDiscoveryAsOrganizationDisabled - * Reflects the organization level setting controlling delegate access to the trending API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected for the whole organization. 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, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. Users can control this setting in Office Delve. - * - * @return bool 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, the delegate access to the user's trending API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Microsoft 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. 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 The shiftPreferences - */ - public function getShiftPreferences() - { - if (array_key_exists("shiftPreferences", $this->_propDict)) { - if (is_a($this->_propDict["shiftPreferences"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 725409e7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/UserTeamwork.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index facb10cb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/VerifiedDomain.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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/Video.php b/vendor/microsoft/microsoft-graph/src/Model/Video.php deleted file mode 100644 index 1247d296..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Video.php +++ /dev/null @@ -1,306 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 97b92b67..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/VisibilitySetting.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["attribution"], "\Microsoft\Graph\Model\ImageInfo")) { - 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 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 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 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 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/VppLicensingType.php b/vendor/microsoft/microsoft-graph/src/Model/VppLicensingType.php deleted file mode 100644 index 5a124fc1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/VppLicensingType.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 725dd5b7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/VppToken.php +++ /dev/null @@ -1,370 +0,0 @@ -_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 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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 The lastModifiedDateTime - */ - public function getLastModifiedDateTime() - { - if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime")) { - 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 The lastSyncDateTime - */ - public function getLastSyncDateTime() - { - if (array_key_exists("lastSyncDateTime", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime")) { - 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 The lastSyncStatus - */ - public function getLastSyncStatus() - { - if (array_key_exists("lastSyncStatus", $this->_propDict)) { - if (is_a($this->_propDict["lastSyncStatus"], "\Microsoft\Graph\Model\VppTokenSyncStatus")) { - 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 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 The state - */ - public function getState() - { - if (array_key_exists("state", $this->_propDict)) { - if (is_a($this->_propDict["state"], "\Microsoft\Graph\Model\VppTokenState")) { - 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 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 The vppTokenAccountType - */ - public function getVppTokenAccountType() - { - if (array_key_exists("vppTokenAccountType", $this->_propDict)) { - if (is_a($this->_propDict["vppTokenAccountType"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index 1ee06b96..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/VppTokenAccountType.php +++ /dev/null @@ -1,34 +0,0 @@ -_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 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 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 deleted file mode 100644 index 9ca7f47b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WebApp.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 6cbe4bf4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WebApplication.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 The implicitGrantSettings - */ - public function getImplicitGrantSettings() - { - if (array_key_exists("implicitGrantSettings", $this->_propDict)) { - if (is_a($this->_propDict["implicitGrantSettings"], "\Microsoft\Graph\Model\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 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 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 deleted file mode 100644 index a39aeaf6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WebBrowserCookieSettings.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\WebsiteType")) { - 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 deleted file mode 100644 index 9526956e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WebsiteType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitectures"], "\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 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 The installExperience - */ - public function getInstallExperience() - { - if (array_key_exists("installExperience", $this->_propDict)) { - if (is_a($this->_propDict["installExperience"], "\Microsoft\Graph\Model\Win32LobAppInstallExperience")) { - 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 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 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 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 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 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 The msiInformation - */ - public function getMsiInformation() - { - if (array_key_exists("msiInformation", $this->_propDict)) { - if (is_a($this->_propDict["msiInformation"], "\Microsoft\Graph\Model\Win32LobAppMsiInformation")) { - 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 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 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 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 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 deleted file mode 100644 index eff09cbd..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppAssignmentSettings.php +++ /dev/null @@ -1,134 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppAssignmentSettings"); - } - - - /** - * Gets the installTimeSettings - * The install time settings to apply for this app assignment. - * - * @return MobileAppInstallTimeSettings The installTimeSettings - */ - public function getInstallTimeSettings() - { - if (array_key_exists("installTimeSettings", $this->_propDict)) { - if (is_a($this->_propDict["installTimeSettings"], "\Microsoft\Graph\Model\MobileAppInstallTimeSettings")) { - 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 The notifications - */ - public function getNotifications() - { - if (array_key_exists("notifications", $this->_propDict)) { - if (is_a($this->_propDict["notifications"], "\Microsoft\Graph\Model\Win32LobAppNotification")) { - 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 The restartSettings - */ - public function getRestartSettings() - { - if (array_key_exists("restartSettings", $this->_propDict)) { - if (is_a($this->_propDict["restartSettings"], "\Microsoft\Graph\Model\Win32LobAppRestartSettings")) { - 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/Win32LobAppFileSystemOperationType.php b/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppFileSystemOperationType.php deleted file mode 100644 index 9f34ad4f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppFileSystemOperationType.php +++ /dev/null @@ -1,38 +0,0 @@ -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 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 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 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\Win32LobAppFileSystemOperationType")) { - 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 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 deleted file mode 100644 index 847b2bbf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppInstallExperience.php +++ /dev/null @@ -1,92 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["deviceRestartBehavior"], "\Microsoft\Graph\Model\Win32LobAppRestartBehavior")) { - 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Microsoft\Graph\Model\RunAsAccountType")) { - 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 deleted file mode 100644 index 94c416c7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiInformation.php +++ /dev/null @@ -1,227 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["packageType"], "\Microsoft\Graph\Model\Win32LobAppMsiPackageType")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index 90fbe46b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppMsiPackageType.php +++ /dev/null @@ -1,35 +0,0 @@ -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 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 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 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\Win32LobAppPowerShellScriptRuleOperationType")) { - 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 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 The runAsAccount - */ - public function getRunAsAccount() - { - if (array_key_exists("runAsAccount", $this->_propDict)) { - if (is_a($this->_propDict["runAsAccount"], "\Microsoft\Graph\Model\RunAsAccountType")) { - 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 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 deleted file mode 100644 index 52b719a3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppPowerShellScriptRuleOperationType.php +++ /dev/null @@ -1,39 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppProductCodeRule"); - } - - /** - * Gets the productCode - * The product code of the app. - * - * @return string 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 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 The productVersionOperator - */ - public function getProductVersionOperator() - { - if (array_key_exists("productVersionOperator", $this->_propDict)) { - if (is_a($this->_propDict["productVersionOperator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 deleted file mode 100644 index 2c3d1f16..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRule.php +++ /dev/null @@ -1,213 +0,0 @@ -setODataType("#microsoft.graph.win32LobAppRegistryRule"); - } - - /** - * Gets the check32BitOn64System - * A value indicating whether to search the 32-bit registry on 64-bit systems. - * - * @return bool 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 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 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 The operationType - */ - public function getOperationType() - { - if (array_key_exists("operationType", $this->_propDict)) { - if (is_a($this->_propDict["operationType"], "\Microsoft\Graph\Model\Win32LobAppRegistryRuleOperationType")) { - 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 The operator - */ - public function getOperator() - { - if (array_key_exists("operator", $this->_propDict)) { - if (is_a($this->_propDict["operator"], "\Microsoft\Graph\Model\Win32LobAppRuleOperator")) { - 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 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 deleted file mode 100644 index aa7e5ee6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRegistryRuleOperationType.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 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 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 deleted file mode 100644 index 4ea59ef1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCode.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The type - */ - public function getType() - { - if (array_key_exists("type", $this->_propDict)) { - if (is_a($this->_propDict["type"], "\Microsoft\Graph\Model\Win32LobAppReturnCodeType")) { - 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 deleted file mode 100644 index a056452e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppReturnCodeType.php +++ /dev/null @@ -1,37 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["ruleType"], "\Microsoft\Graph\Model\Win32LobAppRuleType")) { - 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 deleted file mode 100644 index 70d5d5f4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Win32LobAppRuleOperator.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 deleted file mode 100644 index d961887a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10CustomConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 29c92170..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10EditionType.php +++ /dev/null @@ -1,44 +0,0 @@ -_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 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 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 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 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 The applicationGuardBlockClipboardSharing - */ - public function getApplicationGuardBlockClipboardSharing() - { - if (array_key_exists("applicationGuardBlockClipboardSharing", $this->_propDict)) { - if (is_a($this->_propDict["applicationGuardBlockClipboardSharing"], "\Microsoft\Graph\Model\ApplicationGuardBlockClipboardSharingType")) { - 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 The applicationGuardBlockFileTransfer - */ - public function getApplicationGuardBlockFileTransfer() - { - if (array_key_exists("applicationGuardBlockFileTransfer", $this->_propDict)) { - if (is_a($this->_propDict["applicationGuardBlockFileTransfer"], "\Microsoft\Graph\Model\ApplicationGuardBlockFileTransferType")) { - 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 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 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 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 The appLockerApplicationControl - */ - public function getAppLockerApplicationControl() - { - if (array_key_exists("appLockerApplicationControl", $this->_propDict)) { - if (is_a($this->_propDict["appLockerApplicationControl"], "\Microsoft\Graph\Model\AppLockerApplicationControlType")) { - 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 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 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 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 The bitLockerRemovableDrivePolicy - */ - public function getBitLockerRemovableDrivePolicy() - { - if (array_key_exists("bitLockerRemovableDrivePolicy", $this->_propDict)) { - if (is_a($this->_propDict["bitLockerRemovableDrivePolicy"], "\Microsoft\Graph\Model\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 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 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 The defenderExploitProtectionXml - */ - public function getDefenderExploitProtectionXml() - { - if (array_key_exists("defenderExploitProtectionXml", $this->_propDict)) { - if (is_a($this->_propDict["defenderExploitProtectionXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["defenderExploitProtectionXml"]; - } else { - $this->_propDict["defenderExploitProtectionXml"] = \GuzzleHttp\Psr7\stream_for($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 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 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 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 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 The firewallCertificateRevocationListCheckMethod - */ - public function getFirewallCertificateRevocationListCheckMethod() - { - if (array_key_exists("firewallCertificateRevocationListCheckMethod", $this->_propDict)) { - if (is_a($this->_propDict["firewallCertificateRevocationListCheckMethod"], "\Microsoft\Graph\Model\FirewallCertificateRevocationListCheckMethodType")) { - 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 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 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 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 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 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 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 The firewallPacketQueueingMethod - */ - public function getFirewallPacketQueueingMethod() - { - if (array_key_exists("firewallPacketQueueingMethod", $this->_propDict)) { - if (is_a($this->_propDict["firewallPacketQueueingMethod"], "\Microsoft\Graph\Model\FirewallPacketQueueingMethodType")) { - 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 The firewallPreSharedKeyEncodingMethod - */ - public function getFirewallPreSharedKeyEncodingMethod() - { - if (array_key_exists("firewallPreSharedKeyEncodingMethod", $this->_propDict)) { - if (is_a($this->_propDict["firewallPreSharedKeyEncodingMethod"], "\Microsoft\Graph\Model\FirewallPreSharedKeyEncodingMethodType")) { - 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 The firewallProfileDomain - */ - public function getFirewallProfileDomain() - { - if (array_key_exists("firewallProfileDomain", $this->_propDict)) { - if (is_a($this->_propDict["firewallProfileDomain"], "\Microsoft\Graph\Model\WindowsFirewallNetworkProfile")) { - 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 The firewallProfilePrivate - */ - public function getFirewallProfilePrivate() - { - if (array_key_exists("firewallProfilePrivate", $this->_propDict)) { - if (is_a($this->_propDict["firewallProfilePrivate"], "\Microsoft\Graph\Model\WindowsFirewallNetworkProfile")) { - 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 The firewallProfilePublic - */ - public function getFirewallProfilePublic() - { - if (array_key_exists("firewallProfilePublic", $this->_propDict)) { - if (is_a($this->_propDict["firewallProfilePublic"], "\Microsoft\Graph\Model\WindowsFirewallNetworkProfile")) { - 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 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 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 deleted file mode 100644 index 89357407..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10EnterpriseModernAppManagementConfiguration.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 8eab1abe..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10GeneralConfiguration.php +++ /dev/null @@ -1,5984 +0,0 @@ -_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 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 The appsAllowTrustedAppsSideloading - */ - public function getAppsAllowTrustedAppsSideloading() - { - if (array_key_exists("appsAllowTrustedAppsSideloading", $this->_propDict)) { - if (is_a($this->_propDict["appsAllowTrustedAppsSideloading"], "\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The defenderCloudBlockLevel - */ - public function getDefenderCloudBlockLevel() - { - if (array_key_exists("defenderCloudBlockLevel", $this->_propDict)) { - if (is_a($this->_propDict["defenderCloudBlockLevel"], "\Microsoft\Graph\Model\DefenderCloudBlockLevelType")) { - 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 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 The defenderDetectedMalwareActions - */ - public function getDefenderDetectedMalwareActions() - { - if (array_key_exists("defenderDetectedMalwareActions", $this->_propDict)) { - if (is_a($this->_propDict["defenderDetectedMalwareActions"], "\Microsoft\Graph\Model\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 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 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 The defenderMonitorFileActivity - */ - public function getDefenderMonitorFileActivity() - { - if (array_key_exists("defenderMonitorFileActivity", $this->_propDict)) { - if (is_a($this->_propDict["defenderMonitorFileActivity"], "\Microsoft\Graph\Model\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 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 The defenderPromptForSampleSubmission - */ - public function getDefenderPromptForSampleSubmission() - { - if (array_key_exists("defenderPromptForSampleSubmission", $this->_propDict)) { - if (is_a($this->_propDict["defenderPromptForSampleSubmission"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 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 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 The defenderScanType - */ - public function getDefenderScanType() - { - if (array_key_exists("defenderScanType", $this->_propDict)) { - if (is_a($this->_propDict["defenderScanType"], "\Microsoft\Graph\Model\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 The defenderScheduledQuickScanTime - */ - public function getDefenderScheduledQuickScanTime() - { - if (array_key_exists("defenderScheduledQuickScanTime", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledQuickScanTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 The defenderScheduledScanTime - */ - public function getDefenderScheduledScanTime() - { - if (array_key_exists("defenderScheduledScanTime", $this->_propDict)) { - if (is_a($this->_propDict["defenderScheduledScanTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 The defenderSystemScanSchedule - */ - public function getDefenderSystemScanSchedule() - { - if (array_key_exists("defenderSystemScanSchedule", $this->_propDict)) { - if (is_a($this->_propDict["defenderSystemScanSchedule"], "\Microsoft\Graph\Model\WeeklySchedule")) { - 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 The developerUnlockSetting - */ - public function getDeveloperUnlockSetting() - { - if (array_key_exists("developerUnlockSetting", $this->_propDict)) { - if (is_a($this->_propDict["developerUnlockSetting"], "\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 The diagnosticsDataSubmissionMode - */ - public function getDiagnosticsDataSubmissionMode() - { - if (array_key_exists("diagnosticsDataSubmissionMode", $this->_propDict)) { - if (is_a($this->_propDict["diagnosticsDataSubmissionMode"], "\Microsoft\Graph\Model\DiagnosticDataSubmissionMode")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The edgeCookiePolicy - */ - public function getEdgeCookiePolicy() - { - if (array_key_exists("edgeCookiePolicy", $this->_propDict)) { - if (is_a($this->_propDict["edgeCookiePolicy"], "\Microsoft\Graph\Model\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 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 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 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 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 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 The edgeSearchEngine - */ - public function getEdgeSearchEngine() - { - if (array_key_exists("edgeSearchEngine", $this->_propDict)) { - if (is_a($this->_propDict["edgeSearchEngine"], "\Microsoft\Graph\Model\EdgeSearchEngineBase")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The networkProxyServer - */ - public function getNetworkProxyServer() - { - if (array_key_exists("networkProxyServer", $this->_propDict)) { - if (is_a($this->_propDict["networkProxyServer"], "\Microsoft\Graph\Model\Windows10NetworkProxyServer")) { - 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 The privacyAdvertisingId - */ - public function getPrivacyAdvertisingId() - { - if (array_key_exists("privacyAdvertisingId", $this->_propDict)) { - if (is_a($this->_propDict["privacyAdvertisingId"], "\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 The safeSearchFilter - */ - public function getSafeSearchFilter() - { - if (array_key_exists("safeSearchFilter", $this->_propDict)) { - if (is_a($this->_propDict["safeSearchFilter"], "\Microsoft\Graph\Model\SafeSearchFilterType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The startMenuAppListVisibility - */ - public function getStartMenuAppListVisibility() - { - if (array_key_exists("startMenuAppListVisibility", $this->_propDict)) { - if (is_a($this->_propDict["startMenuAppListVisibility"], "\Microsoft\Graph\Model\WindowsStartMenuAppListVisibilityType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The startMenuLayoutEdgeAssetsXml - */ - public function getStartMenuLayoutEdgeAssetsXml() - { - if (array_key_exists("startMenuLayoutEdgeAssetsXml", $this->_propDict)) { - if (is_a($this->_propDict["startMenuLayoutEdgeAssetsXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["startMenuLayoutEdgeAssetsXml"]; - } else { - $this->_propDict["startMenuLayoutEdgeAssetsXml"] = \GuzzleHttp\Psr7\stream_for($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 The startMenuLayoutXml - */ - public function getStartMenuLayoutXml() - { - if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { - if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["startMenuLayoutXml"]; - } else { - $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\stream_for($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 The startMenuMode - */ - public function getStartMenuMode() - { - if (array_key_exists("startMenuMode", $this->_propDict)) { - if (is_a($this->_propDict["startMenuMode"], "\Microsoft\Graph\Model\WindowsStartMenuModeType")) { - 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 The startMenuPinnedFolderDocuments - */ - public function getStartMenuPinnedFolderDocuments() - { - if (array_key_exists("startMenuPinnedFolderDocuments", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderDocuments"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderDownloads - */ - public function getStartMenuPinnedFolderDownloads() - { - if (array_key_exists("startMenuPinnedFolderDownloads", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderDownloads"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderFileExplorer - */ - public function getStartMenuPinnedFolderFileExplorer() - { - if (array_key_exists("startMenuPinnedFolderFileExplorer", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderFileExplorer"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderHomeGroup - */ - public function getStartMenuPinnedFolderHomeGroup() - { - if (array_key_exists("startMenuPinnedFolderHomeGroup", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderHomeGroup"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderMusic - */ - public function getStartMenuPinnedFolderMusic() - { - if (array_key_exists("startMenuPinnedFolderMusic", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderMusic"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderNetwork - */ - public function getStartMenuPinnedFolderNetwork() - { - if (array_key_exists("startMenuPinnedFolderNetwork", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderNetwork"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderPersonalFolder - */ - public function getStartMenuPinnedFolderPersonalFolder() - { - if (array_key_exists("startMenuPinnedFolderPersonalFolder", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderPersonalFolder"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderPictures - */ - public function getStartMenuPinnedFolderPictures() - { - if (array_key_exists("startMenuPinnedFolderPictures", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderPictures"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderSettings - */ - public function getStartMenuPinnedFolderSettings() - { - if (array_key_exists("startMenuPinnedFolderSettings", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderSettings"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 The startMenuPinnedFolderVideos - */ - public function getStartMenuPinnedFolderVideos() - { - if (array_key_exists("startMenuPinnedFolderVideos", $this->_propDict)) { - if (is_a($this->_propDict["startMenuPinnedFolderVideos"], "\Microsoft\Graph\Model\VisibilitySetting")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The windowsSpotlightConfigureOnLockScreen - */ - public function getWindowsSpotlightConfigureOnLockScreen() - { - if (array_key_exists("windowsSpotlightConfigureOnLockScreen", $this->_propDict)) { - if (is_a($this->_propDict["windowsSpotlightConfigureOnLockScreen"], "\Microsoft\Graph\Model\WindowsSpotlightEnablementSettings")) { - 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 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 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 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 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 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 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 deleted file mode 100644 index 3a70633e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10MobileCompliancePolicy.php +++ /dev/null @@ -1,495 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 deleted file mode 100644 index fd97f1a9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10NetworkProxyServer.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index ce171856..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10SecureAssessmentConfiguration.php +++ /dev/null @@ -1,172 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index b31ff792..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows10TeamGeneralConfiguration.php +++ /dev/null @@ -1,619 +0,0 @@ -_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 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 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 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 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 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 The maintenanceWindowStartTime - */ - public function getMaintenanceWindowStartTime() - { - if (array_key_exists("maintenanceWindowStartTime", $this->_propDict)) { - if (is_a($this->_propDict["maintenanceWindowStartTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 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 The miracastChannel - */ - public function getMiracastChannel() - { - if (array_key_exists("miracastChannel", $this->_propDict)) { - if (is_a($this->_propDict["miracastChannel"], "\Microsoft\Graph\Model\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 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 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 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 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 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 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 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 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 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 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 The welcomeScreenMeetingInformation - */ - public function getWelcomeScreenMeetingInformation() - { - if (array_key_exists("welcomeScreenMeetingInformation", $this->_propDict)) { - if (is_a($this->_propDict["welcomeScreenMeetingInformation"], "\Microsoft\Graph\Model\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 deleted file mode 100644 index aa54a359..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows81CompliancePolicy.php +++ /dev/null @@ -1,350 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 deleted file mode 100644 index da70efb7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/Windows81GeneralConfiguration.php +++ /dev/null @@ -1,1004 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 The browserInternetSecurityLevel - */ - public function getBrowserInternetSecurityLevel() - { - if (array_key_exists("browserInternetSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["browserInternetSecurityLevel"], "\Microsoft\Graph\Model\InternetSiteSecurityLevel")) { - 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 The browserIntranetSecurityLevel - */ - public function getBrowserIntranetSecurityLevel() - { - if (array_key_exists("browserIntranetSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["browserIntranetSecurityLevel"], "\Microsoft\Graph\Model\SiteSecurityLevel")) { - 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 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 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 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 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 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 The browserTrustedSitesSecurityLevel - */ - public function getBrowserTrustedSitesSecurityLevel() - { - if (array_key_exists("browserTrustedSitesSecurityLevel", $this->_propDict)) { - if (is_a($this->_propDict["browserTrustedSitesSecurityLevel"], "\Microsoft\Graph\Model\SiteSecurityLevel")) { - 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 The userAccountControlSettings - */ - public function getUserAccountControlSettings() - { - if (array_key_exists("userAccountControlSettings", $this->_propDict)) { - if (is_a($this->_propDict["userAccountControlSettings"], "\Microsoft\Graph\Model\WindowsUserAccountControlSettings")) { - 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 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 deleted file mode 100644 index 236f6885..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsArchitecture.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 deleted file mode 100644 index c4c71eac..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderScanActionResult.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index b75123c1..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeliveryOptimizationMode.php +++ /dev/null @@ -1,39 +0,0 @@ -_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 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 deleted file mode 100644 index 325c92b9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAccount.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index afe15f43..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceAzureADAccount.php +++ /dev/null @@ -1,54 +0,0 @@ -_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 deleted file mode 100644 index 2e7e644e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsDeviceType.php +++ /dev/null @@ -1,37 +0,0 @@ -_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 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 The firewallEnabled - */ - public function getFirewallEnabled() - { - if (array_key_exists("firewallEnabled", $this->_propDict)) { - if (is_a($this->_propDict["firewallEnabled"], "\Microsoft\Graph\Model\StateManagementSetting")) { - 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 5495c176..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessAuthenticationMethod.php +++ /dev/null @@ -1,155 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { - 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 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 The keyStrength - */ - public function getKeyStrength() - { - if (array_key_exists("keyStrength", $this->_propDict)) { - if (is_a($this->_propDict["keyStrength"], "\Microsoft\Graph\Model\AuthenticationMethodKeyStrength")) { - 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. - * - * @return Device The device - */ - public function getDevice() - { - if (array_key_exists("device", $this->_propDict)) { - if (is_a($this->_propDict["device"], "\Microsoft\Graph\Model\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. - * - * @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 deleted file mode 100644 index fc3b2697..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsHelloForBusinessPinUsage.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 The dataRecoveryCertificate - */ - public function getDataRecoveryCertificate() - { - if (array_key_exists("dataRecoveryCertificate", $this->_propDict)) { - if (is_a($this->_propDict["dataRecoveryCertificate"], "\Microsoft\Graph\Model\WindowsInformationProtectionDataRecoveryCertificate")) { - 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 The enforcementLevel - */ - public function getEnforcementLevel() - { - if (array_key_exists("enforcementLevel", $this->_propDict)) { - if (is_a($this->_propDict["enforcementLevel"], "\Microsoft\Graph\Model\WindowsInformationProtectionEnforcementLevel")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 700d06c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionApp.php +++ /dev/null @@ -1,166 +0,0 @@ -_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 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 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 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 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 deleted file mode 100644 index aed8f66c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLearningSummary.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 The applicationType - */ - public function getApplicationType() - { - if (array_key_exists("applicationType", $this->_propDict)) { - if (is_a($this->_propDict["applicationType"], "\Microsoft\Graph\Model\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 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 deleted file mode 100644 index 79ef486c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionAppLockerFile.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 The file - */ - public function getFile() - { - if (array_key_exists("file", $this->_propDict)) { - if (is_a($this->_propDict["file"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["file"]; - } else { - $this->_propDict["file"] = \GuzzleHttp\Psr7\stream_for($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 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 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 deleted file mode 100644 index da2e2875..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDataRecoveryCertificate.php +++ /dev/null @@ -1,148 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["certificate"], "\GuzzleHttp\Psr7\Stream")) { - return $this->_propDict["certificate"]; - } else { - $this->_propDict["certificate"] = \GuzzleHttp\Psr7\stream_for($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 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 The expirationDateTime - */ - public function getExpirationDateTime() - { - if (array_key_exists("expirationDateTime", $this->_propDict)) { - if (is_a($this->_propDict["expirationDateTime"], "\DateTime")) { - 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 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 deleted file mode 100644 index 2fac6f7e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionDesktopApp.php +++ /dev/null @@ -1,119 +0,0 @@ -setODataType("#microsoft.graph.windowsInformationProtectionDesktopApp"); - } - - /** - * Gets the binaryName - * The binary name. - * - * @return string 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 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 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 deleted file mode 100644 index 9342e55b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionEnforcementLevel.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The ranges - */ - public function getRanges() - { - if (array_key_exists("ranges", $this->_propDict)) { - if (is_a($this->_propDict["ranges"], "\Microsoft\Graph\Model\IpRange")) { - 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 deleted file mode 100644 index 62b3cd65..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionNetworkLearningSummary.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 3f4b4b9f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionPinCharacterRequirements.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 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 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 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 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 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 The pinLowercaseLetters - */ - public function getPinLowercaseLetters() - { - if (array_key_exists("pinLowercaseLetters", $this->_propDict)) { - if (is_a($this->_propDict["pinLowercaseLetters"], "\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements")) { - 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 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 The pinSpecialCharacters - */ - public function getPinSpecialCharacters() - { - if (array_key_exists("pinSpecialCharacters", $this->_propDict)) { - if (is_a($this->_propDict["pinSpecialCharacters"], "\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements")) { - 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 The pinUppercaseLetters - */ - public function getPinUppercaseLetters() - { - if (array_key_exists("pinUppercaseLetters", $this->_propDict)) { - if (is_a($this->_propDict["pinUppercaseLetters"], "\Microsoft\Graph\Model\WindowsInformationProtectionPinCharacterRequirements")) { - 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 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 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 deleted file mode 100644 index bebfa8df..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionProxiedDomainCollection.php +++ /dev/null @@ -1,87 +0,0 @@ -_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 The proxiedDomains - */ - public function getProxiedDomains() - { - if (array_key_exists("proxiedDomains", $this->_propDict)) { - if (is_a($this->_propDict["proxiedDomains"], "\Microsoft\Graph\Model\ProxiedDomain")) { - 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 deleted file mode 100644 index a93cf9f5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionResourceCollection.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index 64b6ec83..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsInformationProtectionStoreApp.php +++ /dev/null @@ -1,35 +0,0 @@ -setODataType("#microsoft.graph.windowsInformationProtectionStoreApp"); - } - -} diff --git a/vendor/microsoft/microsoft-graph/src/Model/WindowsMinimumOperatingSystem.php b/vendor/microsoft/microsoft-graph/src/Model/WindowsMinimumOperatingSystem.php deleted file mode 100644 index 14f33959..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsMinimumOperatingSystem.php +++ /dev/null @@ -1,110 +0,0 @@ -_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 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 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 deleted file mode 100644 index c2c225a2..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsMobileMSI.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index 0ec4e683..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CompliancePolicy.php +++ /dev/null @@ -1,350 +0,0 @@ -_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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 deleted file mode 100644 index a5604605..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81CustomConfiguration.php +++ /dev/null @@ -1,57 +0,0 @@ -_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 deleted file mode 100644 index 0b67bd8c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsPhone81GeneralConfiguration.php +++ /dev/null @@ -1,877 +0,0 @@ -_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 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 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 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 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 The compliantAppListType - */ - public function getCompliantAppListType() - { - if (array_key_exists("compliantAppListType", $this->_propDict)) { - if (is_a($this->_propDict["compliantAppListType"], "\Microsoft\Graph\Model\AppListType")) { - 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The passwordRequiredType - */ - public function getPasswordRequiredType() - { - if (array_key_exists("passwordRequiredType", $this->_propDict)) { - if (is_a($this->_propDict["passwordRequiredType"], "\Microsoft\Graph\Model\RequiredPasswordType")) { - 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 4c383751..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsSpotlightEnablementSettings.php +++ /dev/null @@ -1,35 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["applicableArchitectures"], "\Microsoft\Graph\Model\WindowsArchitecture")) { - 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 The applicableDeviceTypes - */ - public function getApplicableDeviceTypes() - { - if (array_key_exists("applicableDeviceTypes", $this->_propDict)) { - if (is_a($this->_propDict["applicableDeviceTypes"], "\Microsoft\Graph\Model\WindowsDeviceType")) { - 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 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 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 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 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 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 The minimumSupportedOperatingSystem - */ - public function getMinimumSupportedOperatingSystem() - { - if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) { - if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Microsoft\Graph\Model\WindowsMinimumOperatingSystem")) { - 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 deleted file mode 100644 index 360cc110..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateActiveHoursInstall.php +++ /dev/null @@ -1,101 +0,0 @@ -setODataType("#microsoft.graph.windowsUpdateActiveHoursInstall"); - } - - - /** - * Gets the activeHoursEnd - * Active Hours End - * - * @return TimeOfDay The activeHoursEnd - */ - public function getActiveHoursEnd() - { - if (array_key_exists("activeHoursEnd", $this->_propDict)) { - if (is_a($this->_propDict["activeHoursEnd"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 The activeHoursStart - */ - public function getActiveHoursStart() - { - if (array_key_exists("activeHoursStart", $this->_propDict)) { - if (is_a($this->_propDict["activeHoursStart"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index 8227ca6e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateForBusinessConfiguration.php +++ /dev/null @@ -1,432 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["automaticUpdateMode"], "\Microsoft\Graph\Model\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 The businessReadyUpdatesOnly - */ - public function getBusinessReadyUpdatesOnly() - { - if (array_key_exists("businessReadyUpdatesOnly", $this->_propDict)) { - if (is_a($this->_propDict["businessReadyUpdatesOnly"], "\Microsoft\Graph\Model\WindowsUpdateType")) { - 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 The deliveryOptimizationMode - */ - public function getDeliveryOptimizationMode() - { - if (array_key_exists("deliveryOptimizationMode", $this->_propDict)) { - if (is_a($this->_propDict["deliveryOptimizationMode"], "\Microsoft\Graph\Model\WindowsDeliveryOptimizationMode")) { - 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 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 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 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 The featureUpdatesPauseExpiryDateTime - */ - public function getFeatureUpdatesPauseExpiryDateTime() - { - if (array_key_exists("featureUpdatesPauseExpiryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["featureUpdatesPauseExpiryDateTime"], "\DateTime")) { - 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 The installationSchedule - */ - public function getInstallationSchedule() - { - if (array_key_exists("installationSchedule", $this->_propDict)) { - if (is_a($this->_propDict["installationSchedule"], "\Microsoft\Graph\Model\WindowsUpdateInstallScheduleType")) { - 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 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 The prereleaseFeatures - */ - public function getPrereleaseFeatures() - { - if (array_key_exists("prereleaseFeatures", $this->_propDict)) { - if (is_a($this->_propDict["prereleaseFeatures"], "\Microsoft\Graph\Model\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 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 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 The qualityUpdatesPauseExpiryDateTime - */ - public function getQualityUpdatesPauseExpiryDateTime() - { - if (array_key_exists("qualityUpdatesPauseExpiryDateTime", $this->_propDict)) { - if (is_a($this->_propDict["qualityUpdatesPauseExpiryDateTime"], "\DateTime")) { - 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 deleted file mode 100644 index ca1d5e6d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateInstallScheduleType.php +++ /dev/null @@ -1,26 +0,0 @@ -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 The scheduledInstallDay - */ - public function getScheduledInstallDay() - { - if (array_key_exists("scheduledInstallDay", $this->_propDict)) { - if (is_a($this->_propDict["scheduledInstallDay"], "\Microsoft\Graph\Model\WeeklySchedule")) { - 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 The scheduledInstallTime - */ - public function getScheduledInstallTime() - { - if (array_key_exists("scheduledInstallTime", $this->_propDict)) { - if (is_a($this->_propDict["scheduledInstallTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 deleted file mode 100644 index 040aca2c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WindowsUpdateType.php +++ /dev/null @@ -1,38 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["application"], "\Microsoft\Graph\Model\WorkbookApplication")) { - 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 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 The functions - */ - public function getFunctions() - { - if (array_key_exists("functions", $this->_propDict)) { - if (is_a($this->_propDict["functions"], "\Microsoft\Graph\Model\WorkbookFunctions")) { - 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 workbook scoped named items (named ranges and constants). Read-only. - * - * @return array 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 workbook 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 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 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 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 deleted file mode 100644 index 04dbc0c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookApplication.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 4231e1c5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChart.php +++ /dev/null @@ -1,400 +0,0 @@ -_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"] = $val; - return $this; - } - - /** - * Gets the left - * The distance, in points, from the left side of the chart to the worksheet origin. - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the name - * Represents the name of a chart object. - * - * @return string 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 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"] = $val; - return $this; - } - - /** - * Gets the width - * Represents the width, in points, of the chart object. - * - * @return float 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"] = $val; - return $this; - } - - /** - * Gets the axes - * Represents chart axes. Read-only. - * - * @return WorkbookChartAxes The axes - */ - public function getAxes() - { - if (array_key_exists("axes", $this->_propDict)) { - if (is_a($this->_propDict["axes"], "\Microsoft\Graph\Model\WorkbookChartAxes")) { - 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 The dataLabels - */ - public function getDataLabels() - { - if (array_key_exists("dataLabels", $this->_propDict)) { - if (is_a($this->_propDict["dataLabels"], "\Microsoft\Graph\Model\WorkbookChartDataLabels")) { - 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAreaFormat")) { - 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 The legend - */ - public function getLegend() - { - if (array_key_exists("legend", $this->_propDict)) { - if (is_a($this->_propDict["legend"], "\Microsoft\Graph\Model\WorkbookChartLegend")) { - 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 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 The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - if (is_a($this->_propDict["title"], "\Microsoft\Graph\Model\WorkbookChartTitle")) { - 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index 42738ac5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAreaFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index e7bd7f8c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxes.php +++ /dev/null @@ -1,126 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["categoryAxis"], "\Microsoft\Graph\Model\WorkbookChartAxis")) { - 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 The seriesAxis - */ - public function getSeriesAxis() - { - if (array_key_exists("seriesAxis", $this->_propDict)) { - if (is_a($this->_propDict["seriesAxis"], "\Microsoft\Graph\Model\WorkbookChartAxis")) { - 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 The valueAxis - */ - public function getValueAxis() - { - if (array_key_exists("valueAxis", $this->_propDict)) { - if (is_a($this->_propDict["valueAxis"], "\Microsoft\Graph\Model\WorkbookChartAxis")) { - 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 deleted file mode 100644 index c655e991..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxis.php +++ /dev/null @@ -1,275 +0,0 @@ -_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 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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAxisFormat")) { - 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 The majorGridlines - */ - public function getMajorGridlines() - { - if (array_key_exists("majorGridlines", $this->_propDict)) { - if (is_a($this->_propDict["majorGridlines"], "\Microsoft\Graph\Model\WorkbookChartGridlines")) { - 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 The minorGridlines - */ - public function getMinorGridlines() - { - if (array_key_exists("minorGridlines", $this->_propDict)) { - if (is_a($this->_propDict["minorGridlines"], "\Microsoft\Graph\Model\WorkbookChartGridlines")) { - 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 The title - */ - public function getTitle() - { - if (array_key_exists("title", $this->_propDict)) { - if (is_a($this->_propDict["title"], "\Microsoft\Graph\Model\WorkbookChartAxisTitle")) { - 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 deleted file mode 100644 index 1cb5fdeb..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 The line - */ - public function getLine() - { - if (array_key_exists("line", $this->_propDict)) { - if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat")) { - 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 deleted file mode 100644 index d5c34b20..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitle.php +++ /dev/null @@ -1,118 +0,0 @@ -_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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAxisTitleFormat")) { - 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 deleted file mode 100644 index 3d3aceb8..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartAxisTitleFormat.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 6a67f14e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabelFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index e183e667..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartDataLabels.php +++ /dev/null @@ -1,292 +0,0 @@ -_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 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 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 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 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 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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartDataLabelFormat")) { - 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 deleted file mode 100644 index e72bf80d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartFill.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the underline - * Type of underline applied to the font. The possible values are: None, Single. - * - * @return string 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 deleted file mode 100644 index db3d1c78..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlines.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartGridlinesFormat")) { - 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 deleted file mode 100644 index 1fb43aaf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartGridlinesFormat.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat")) { - 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 deleted file mode 100644 index b8427bf0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegend.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartLegendFormat")) { - 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 deleted file mode 100644 index 1ca8bde9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLegendFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 35955e9d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartLineFormat.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index fb410a84..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPoint.php +++ /dev/null @@ -1,89 +0,0 @@ -_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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartPointFormat")) { - 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 deleted file mode 100644 index 4bd3f0c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartPointFormat.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 deleted file mode 100644 index 671eb1d0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeries.php +++ /dev/null @@ -1,119 +0,0 @@ -_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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartSeriesFormat")) { - 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 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 deleted file mode 100644 index 163559bf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartSeriesFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The line - */ - public function getLine() - { - if (array_key_exists("line", $this->_propDict)) { - if (is_a($this->_propDict["line"], "\Microsoft\Graph\Model\WorkbookChartLineFormat")) { - 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 deleted file mode 100644 index b74b840b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitle.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartTitleFormat")) { - 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 deleted file mode 100644 index 222eea9d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookChartTitleFormat.php +++ /dev/null @@ -1,93 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont")) { - 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 deleted file mode 100644 index 94cc421e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookComment.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index 007ef8d4..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookCommentReply.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 3cc5892b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilter.php +++ /dev/null @@ -1,60 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["criteria"], "\Microsoft\Graph\Model\WorkbookFilterCriteria")) { - 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 deleted file mode 100644 index a4feda39..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterCriteria.php +++ /dev/null @@ -1,239 +0,0 @@ -_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 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 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 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 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 The icon - */ - public function getIcon() - { - if (array_key_exists("icon", $this->_propDict)) { - if (is_a($this->_propDict["icon"], "\Microsoft\Graph\Model\WorkbookIcon")) { - 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 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 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 deleted file mode 100644 index e3355a8a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFilterDatetime.php +++ /dev/null @@ -1,78 +0,0 @@ -_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 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 deleted file mode 100644 index 8e1f4f55..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFormatProtection.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 2b74c6af..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctionResult.php +++ /dev/null @@ -1,81 +0,0 @@ -_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 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 deleted file mode 100644 index cd4e42d5..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookFunctions.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 deleted file mode 100644 index 2136668a..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookNamedItem.php +++ /dev/null @@ -1,234 +0,0 @@ -_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 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 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 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 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 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index d188f764..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\WorkbookOperationError")) { - 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 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 The status - */ - public function getStatus() - { - if (array_key_exists("status", $this->_propDict)) { - if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\WorkbookOperationStatus")) { - 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 deleted file mode 100644 index 9f81af59..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationError.php +++ /dev/null @@ -1,113 +0,0 @@ -_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 The innerError - */ - public function getInnerError() - { - if (array_key_exists("innerError", $this->_propDict)) { - if (is_a($this->_propDict["innerError"], "\Microsoft\Graph\Model\WorkbookOperationError")) { - 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 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 deleted file mode 100644 index 62122ba3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookOperationStatus.php +++ /dev/null @@ -1,36 +0,0 @@ -_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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index 765a4da7..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRange.php +++ /dev/null @@ -1,619 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 The format - */ - public function getFormat() - { - if (array_key_exists("format", $this->_propDict)) { - if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookRangeFormat")) { - 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 The sort - */ - public function getSort() - { - if (array_key_exists("sort", $this->_propDict)) { - if (is_a($this->_propDict["sort"], "\Microsoft\Graph\Model\WorkbookRangeSort")) { - 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index 628e51b3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeBorder.php +++ /dev/null @@ -1,143 +0,0 @@ -_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 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 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 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 deleted file mode 100644 index a45490c3..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFill.php +++ /dev/null @@ -1,56 +0,0 @@ -_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 deleted file mode 100644 index 8536cafa..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFont.php +++ /dev/null @@ -1,201 +0,0 @@ -_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 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 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 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 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"] = $val; - return $this; - } - - /** - * Gets the underline - * Type of underline applied to the font. Possible values are: None, Single, Double, SingleAccountant, DoubleAccountant. - * - * @return string 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 deleted file mode 100644 index 354ade4b..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeFormat.php +++ /dev/null @@ -1,301 +0,0 @@ -_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"] = $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 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 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"] = $val; - return $this; - } - - /** - * Gets the verticalAlignment - * Represents the vertical alignment for the specified object. Possible values are: Top, Center, Bottom, Justify, Distributed. - * - * @return string 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 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 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 The fill - */ - public function getFill() - { - if (array_key_exists("fill", $this->_propDict)) { - if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookRangeFill")) { - 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 The font - */ - public function getFont() - { - if (array_key_exists("font", $this->_propDict)) { - if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookRangeFont")) { - 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 The protection - */ - public function getProtection() - { - if (array_key_exists("protection", $this->_propDict)) { - if (is_a($this->_propDict["protection"], "\Microsoft\Graph\Model\WorkbookFormatProtection")) { - 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 deleted file mode 100644 index a228ca0c..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeReference.php +++ /dev/null @@ -1,52 +0,0 @@ -_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 deleted file mode 100644 index 4020e319..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookRangeSort.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index c3985ebf..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookSessionInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -_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 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 deleted file mode 100644 index edf4a578..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookSortField.php +++ /dev/null @@ -1,199 +0,0 @@ -_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 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 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 The icon - */ - public function getIcon() - { - if (array_key_exists("icon", $this->_propDict)) { - if (is_a($this->_propDict["icon"], "\Microsoft\Graph\Model\WorkbookIcon")) { - 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 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 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 deleted file mode 100644 index 0fde61e6..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTable.php +++ /dev/null @@ -1,443 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 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 The sort - */ - public function getSort() - { - if (array_key_exists("sort", $this->_propDict)) { - if (is_a($this->_propDict["sort"], "\Microsoft\Graph\Model\WorkbookTableSort")) { - 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 The worksheet - */ - public function getWorksheet() - { - if (array_key_exists("worksheet", $this->_propDict)) { - if (is_a($this->_propDict["worksheet"], "\Microsoft\Graph\Model\WorkbookWorksheet")) { - 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 deleted file mode 100644 index 5427094e..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableColumn.php +++ /dev/null @@ -1,147 +0,0 @@ -_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 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 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 The filter - */ - public function getFilter() - { - if (array_key_exists("filter", $this->_propDict)) { - if (is_a($this->_propDict["filter"], "\Microsoft\Graph\Model\WorkbookFilter")) { - 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 deleted file mode 100644 index c60662ea..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableRow.php +++ /dev/null @@ -1,85 +0,0 @@ -_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 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 deleted file mode 100644 index 228fca87..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookTableSort.php +++ /dev/null @@ -1,115 +0,0 @@ -_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 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 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 deleted file mode 100644 index dc6c7178..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheet.php +++ /dev/null @@ -1,267 +0,0 @@ -_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 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 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 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 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 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 The protection - */ - public function getProtection() - { - if (array_key_exists("protection", $this->_propDict)) { - if (is_a($this->_propDict["protection"], "\Microsoft\Graph\Model\WorkbookWorksheetProtection")) { - 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 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 deleted file mode 100644 index 4a51245d..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtection.php +++ /dev/null @@ -1,89 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["options"], "\Microsoft\Graph\Model\WorkbookWorksheetProtectionOptions")) { - 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 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 deleted file mode 100644 index 5daaf34f..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkbookWorksheetProtectionOptions.php +++ /dev/null @@ -1,334 +0,0 @@ -_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 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 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 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 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 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 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 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 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 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 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 deleted file mode 100644 index 2efc7df0..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegration.php +++ /dev/null @@ -1,209 +0,0 @@ -_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 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 The encryption - */ - public function getEncryption() - { - if (array_key_exists("encryption", $this->_propDict)) { - if (is_a($this->_propDict["encryption"], "\Microsoft\Graph\Model\WorkforceIntegrationEncryption")) { - 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 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 will replace supports in v1.0. We recommend that you use this property instead of supports. The supports property will still be supported in beta for the time being. Possible values are none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences. If selecting more than one value, all values must start with the first letter in uppercase. - * - * @return WorkforceIntegrationSupportedEntities The supportedEntities - */ - public function getSupportedEntities() - { - if (array_key_exists("supportedEntities", $this->_propDict)) { - if (is_a($this->_propDict["supportedEntities"], "\Microsoft\Graph\Model\WorkforceIntegrationSupportedEntities")) { - return $this->_propDict["supportedEntities"]; - } else { - $this->_propDict["supportedEntities"] = new WorkforceIntegrationSupportedEntities($this->_propDict["supportedEntities"]); - return $this->_propDict["supportedEntities"]; - } - } - return null; - } - - /** - * Sets the supportedEntities - * This property will replace supports in v1.0. We recommend that you use this property instead of supports. The supports property will still be supported in beta for the time being. Possible values are none, shift, swapRequest, openshift, openShiftRequest, userShiftPreferences. 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 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 deleted file mode 100644 index 2cf390c9..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryption.php +++ /dev/null @@ -1,87 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["protocol"], "\Microsoft\Graph\Model\WorkforceIntegrationEncryptionProtocol")) { - 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 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 deleted file mode 100644 index 58257342..00000000 --- a/vendor/microsoft/microsoft-graph/src/Model/WorkforceIntegrationEncryptionProtocol.php +++ /dev/null @@ -1,34 +0,0 @@ -_propDict)) { - if (is_a($this->_propDict["daysOfWeek"], "\Microsoft\Graph\Model\DayOfWeek")) { - 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 The endTime - */ - public function getEndTime() - { - if (array_key_exists("endTime", $this->_propDict)) { - if (is_a($this->_propDict["endTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 The startTime - */ - public function getStartTime() - { - if (array_key_exists("startTime", $this->_propDict)) { - if (is_a($this->_propDict["startTime"], "\Microsoft\Graph\Model\TimeOfDay")) { - 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 The timeZone - */ - public function getTimeZone() - { - if (array_key_exists("timeZone", $this->_propDict)) { - if (is_a($this->_propDict["timeZone"], "\Microsoft\Graph\Model\TimeZoneBase")) { - 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/tests/Core/ExceptionWrapperTest.php b/vendor/microsoft/microsoft-graph/tests/Core/ExceptionWrapperTest.php deleted file mode 100644 index 53321c7c..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Core/ExceptionWrapperTest.php +++ /dev/null @@ -1,33 +0,0 @@ - 'content')); - $ex = new BadResponseException("Error: API returned 400", new Request("GET", "/endpoint"), new Response(400, [], $responseBody)); - $graphException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); - $this->assertInstanceOf(GraphException::class, $graphException); - } - - public function testWrapBadResponseExceptionHasResponseBody() - { - $responseBody = json_encode(array('body' => 'content')); - $ex = new BadResponseException("Error: API returned 400", new Request("GET", "/endpoint"), new Response(400, [], $responseBody)); - $graphException = ExceptionWrapper::wrapGuzzleBadResponseException($ex); - $this->assertStringContainsString($responseBody, $graphException->getMessage()); - } - - public function testWrapBadResponseExceptionWithInvalidInput() - { - $this->expectException(TypeError::class); - ExceptionWrapper::wrapGuzzleBadResponseException(null); - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Exception/ExceptionTest.php b/vendor/microsoft/microsoft-graph/tests/Exception/ExceptionTest.php deleted file mode 100644 index 39520e09..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Exception/ExceptionTest.php +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index c7abf67a..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/AzureTest.php +++ /dev/null @@ -1,43 +0,0 @@ -_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 deleted file mode 100644 index 51884734..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/ContactTest.php +++ /dev/null @@ -1,49 +0,0 @@ -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 deleted file mode 100644 index 75ae9913..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/DeltaQueryTest.php +++ /dev/null @@ -1,75 +0,0 @@ -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 deleted file mode 100644 index 46284f4c..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/EventTest.php +++ /dev/null @@ -1,27 +0,0 @@ -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 deleted file mode 100644 index a1f66b94..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/ExcelTest.php +++ /dev/null @@ -1,322 +0,0 @@ -_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 deleted file mode 100644 index 004d775f..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/GraphTestBase.php +++ /dev/null @@ -1,89 +0,0 @@ -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 deleted file mode 100644 index 72730351..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/MailTest.php +++ /dev/null @@ -1,127 +0,0 @@ -_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 deleted file mode 100644 index 1f126987..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/OnedriveTest.php +++ /dev/null @@ -1,208 +0,0 @@ -_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 deleted file mode 100644 index 20139725..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/OnenoteTest.php +++ /dev/null @@ -1,125 +0,0 @@ -_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 deleted file mode 100644 index b57ef8fa..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/OpenTypeTest.php +++ /dev/null @@ -1,59 +0,0 @@ -_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 deleted file mode 100644 index fb7257f5..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/PlannerTest.php +++ /dev/null @@ -1,109 +0,0 @@ -_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 deleted file mode 100644 index 59dadf10..00000000 Binary files a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/document.pdf and /dev/null differ diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/excelTestResource.xlsx b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/excelTestResource.xlsx deleted file mode 100644 index 9a2c0d95..00000000 Binary files a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/excelTestResource.xlsx and /dev/null differ diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/hamilton.jpg b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/hamilton.jpg deleted file mode 100644 index c4ba7c45..00000000 Binary files a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/hamilton.jpg and /dev/null differ diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/metadata.xml b/vendor/microsoft/microsoft-graph/tests/Functional/Resources/metadata.xml deleted file mode 100644 index 3fbcae7d..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/Resources/metadata.xml +++ /dev/null @@ -1,2103 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vendor/microsoft/microsoft-graph/tests/Functional/SharepointTest.php b/vendor/microsoft/microsoft-graph/tests/Functional/SharepointTest.php deleted file mode 100644 index b9ee5d8b..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/SharepointTest.php +++ /dev/null @@ -1,40 +0,0 @@ -_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 deleted file mode 100644 index 75ab9df7..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/TermStoreTest.php +++ /dev/null @@ -1,27 +0,0 @@ -_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 deleted file mode 100644 index 7535a53f..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/TestConstants.php +++ /dev/null @@ -1,35 +0,0 @@ -_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 deleted file mode 100644 index 1ae31931..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Functional/WebhooksTest.php +++ /dev/null @@ -1,38 +0,0 @@ -_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 deleted file mode 100644 index f35a8efd..00000000 --- a/vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index 700f7acd..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Http/GraphCollectionRequestTest.php +++ /dev/null @@ -1,74 +0,0 @@ -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' => '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 testEndpointManipulation() - { - //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); - } -} \ 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 deleted file mode 100644 index fed0eb9a..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Http/GraphRequestTest.php +++ /dev/null @@ -1,238 +0,0 @@ -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); - - $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(GraphException::class); - $mockResponse = array(new Response(400)); - $client = MockClientFactory::create(['http_errors' => true], $mockResponse); - $this->requests[0]->execute($client); - } - - public function testExecuteWith5xxResponse() - { - $this->expectException(GraphException::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 deleted file mode 100644 index 2bdff40b..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Http/GraphResponseTest.php +++ /dev/null @@ -1,152 +0,0 @@ -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->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 deleted file mode 100644 index 1826403d..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Http/HttpTest.php +++ /dev/null @@ -1,159 +0,0 @@ - '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(GraphException::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\stream_for('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()); - } -} \ No newline at end of file diff --git a/vendor/microsoft/microsoft-graph/tests/Http/MockClientFactory.php b/vendor/microsoft/microsoft-graph/tests/Http/MockClientFactory.php deleted file mode 100644 index f9910f40..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Http/MockClientFactory.php +++ /dev/null @@ -1,28 +0,0 @@ -root = vfsStream::setup('testDir'); - - $this->body = json_encode(array('body' => 'content')); - $stream = GuzzleHttp\Psr7\stream_for('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 deleted file mode 100644 index 90c93c29..00000000 --- a/vendor/microsoft/microsoft-graph/tests/Model/ModelTest.php +++ /dev/null @@ -1,94 +0,0 @@ -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/nicolab/php-ftp-client/.gitignore b/vendor/nicolab/php-ftp-client/.gitignore deleted file mode 100644 index 9bbd83f2..00000000 --- a/vendor/nicolab/php-ftp-client/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/vendor -composer.phar -composer.lock -.DS_Store -Thumbs.db -/.Trash-1000 -.idea/ \ No newline at end of file diff --git a/vendor/nicolab/php-ftp-client/LICENSE b/vendor/nicolab/php-ftp-client/LICENSE deleted file mode 100644 index ce9fd638..00000000 --- a/vendor/nicolab/php-ftp-client/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Nicolas Tallefourtane dev@nicolab.net - -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/nicolab/php-ftp-client/README.md b/vendor/nicolab/php-ftp-client/README.md deleted file mode 100644 index 82d6cd4f..00000000 --- a/vendor/nicolab/php-ftp-client/README.md +++ /dev/null @@ -1,249 +0,0 @@ -# nicolab/php-ftp-client - -A flexible FTP and SSL-FTP client for PHP. -This lib provides helpers easy to use to manage the remote files. - -> This package is aimed to remain simple and light. It's only a wrapper of the FTP native API of PHP, with some useful helpers. If you want to customize some methods, you can do this by inheriting one of the [3 classes of the package](src/FtpClient). - - -## Install - - * Use composer: _require_ `nicolab/php-ftp-client` - - * Or use GIT clone command: `git clone git@github.com:Nicolab/php-ftp-client.git` - - * Or download the library, configure your autoloader or include the 3 files of `php-ftp-client/src/FtpClient` directory. - - -## Getting Started - -Connect to a server FTP : - -```php -$ftp = new \FtpClient\FtpClient(); -$ftp->connect($host); -$ftp->login($login, $password); -``` - -OR - -Connect to a server FTP via SSL (on port 990 or another port) : - -```php -$ftp = new \FtpClient\FtpClient(); -$ftp->connect($host, true, 990); -$ftp->login($login, $password); -``` - -Note: The connection is implicitly closed at the end of script execution (when the object is destroyed). Therefore it is unnecessary to call `$ftp->close()`, except for an explicit re-connection. - - -### Usage - -Upload all files and all directories is easy : - -```php -// upload with the BINARY mode -$ftp->putAll($source_directory, $target_directory); - -// Is equal to -$ftp->putAll($source_directory, $target_directory, FTP_BINARY); - -// or upload with the ASCII mode -$ftp->putAll($source_directory, $target_directory, FTP_ASCII); -``` - -*Note : FTP_ASCII and FTP_BINARY are predefined PHP internal constants.* - -Get a directory size : - -```php -// size of the current directory -$size = $ftp->dirSize(); - -// size of a given directory -$size = $ftp->dirSize('/path/of/directory'); -``` - -Count the items in a directory : - -```php -// count in the current directory -$total = $ftp->count(); - -// count in a given directory -$total = $ftp->count('/path/of/directory'); - -// count only the "files" in the current directory -$total_file = $ftp->count('.', 'file'); - -// count only the "files" in a given directory -$total_file = $ftp->count('/path/of/directory', 'file'); - -// count only the "directories" in a given directory -$total_dir = $ftp->count('/path/of/directory', 'directory'); - -// count only the "symbolic links" in a given directory -$total_link = $ftp->count('/path/of/directory', 'link'); -``` - -Detailed list of all files and directories : - -```php -// scan the current directory and returns the details of each item -$items = $ftp->scanDir(); - -// scan the current directory (recursive) and returns the details of each item -var_dump($ftp->scanDir('.', true)); -``` - -Result: - - 'directory#www' => - array (size=10) - 'permissions' => string 'drwx---r-x' (length=10) - 'number' => string '3' (length=1) - 'owner' => string '32385' (length=5) - 'group' => string 'users' (length=5) - 'size' => string '5' (length=1) - 'month' => string 'Nov' (length=3) - 'day' => string '24' (length=2) - 'time' => string '17:25' (length=5) - 'name' => string 'www' (length=3) - 'type' => string 'directory' (length=9) - - 'link#www/index.html' => - array (size=11) - 'permissions' => string 'lrwxrwxrwx' (length=10) - 'number' => string '1' (length=1) - 'owner' => string '0' (length=1) - 'group' => string 'users' (length=5) - 'size' => string '38' (length=2) - 'month' => string 'Nov' (length=3) - 'day' => string '16' (length=2) - 'time' => string '14:57' (length=5) - 'name' => string 'index.html' (length=10) - 'type' => string 'link' (length=4) - 'target' => string '/var/www/shared/index.html' (length=26) - - 'file#www/README' => - array (size=10) - 'permissions' => string '-rw----r--' (length=10) - 'number' => string '1' (length=1) - 'owner' => string '32385' (length=5) - 'group' => string 'users' (length=5) - 'size' => string '0' (length=1) - 'month' => string 'Nov' (length=3) - 'day' => string '24' (length=2) - 'time' => string '17:25' (length=5) - 'name' => string 'README' (length=6) - 'type' => string 'file' (length=4) - - -All FTP PHP functions are supported and some improved : - -```php -// Requests execution of a command on the FTP server -$ftp->exec($command); - -// Turns passive mode on or off -$ftp->pasv(true); - -// Set permissions on a file via FTP -$ftp->chmod(0777, 'file.php'); - -// Removes a directory -$ftp->rmdir('path/of/directory/to/remove'); - -// Removes a directory (recursive) -$ftp->rmdir('path/of/directory/to/remove', true); - -// Creates a directory -$ftp->mkdir('path/of/directory/to/create'); - -// Creates a directory (recursive), -// creates automaticaly the sub directory if not exist -$ftp->mkdir('path/of/directory/to/create', true); - -// and more ... -``` - -Get the help information of remote FTP server : - -```php -var_dump($ftp->help()); -``` - -Result : - - array (size=6) - 0 => string '214-The following SITE commands are recognized' (length=46) - 1 => string ' ALIAS' (length=6) - 2 => string ' CHMOD' (length=6) - 3 => string ' IDLE' (length=5) - 4 => string ' UTIME' (length=6) - 5 => string '214 Pure-FTPd - http://pureftpd.org/' (length=36) - - -_Note : The result depend of FTP server._ - - -### Extend - -Create your custom `FtpClient`. - -```php -// MyFtpClient.php - -/** - * My custom FTP Client - * @inheritDoc - */ -class MyFtpClient extends \FtpClient\FtpClient { - - public function removeByTime($path, $timestamp) { - // your code here - } - - public function search($regex) { - // your code here - } -} -``` - -```php -// example.php -$ftp = new MyFtpClient(); -$ftp->connect($host); -$ftp->login($login, $password); - -// remove the old files -$ftp->removeByTime('/www/mysite.com/demo', time() - 86400); - -// search PNG files -$ftp->search('/(.*)\.png$/i'); -``` - - -## API doc - -See the [source code](https://github.com/Nicolab/php-ftp-client/tree/master/src/FtpClient) for more details. -It is fully documented :blue_book: - - -## Testing - -Tested with "atoum" unit testing framework. - - -## License - -[MIT](https://github.com/Nicolab/php-ftp-client/blob/master/LICENSE) c) 2014, Nicolas Tallefourtane. - - -## Author - -| [![Nicolas Tallefourtane - Nicolab.net](http://www.gravatar.com/avatar/d7dd0f4769f3aa48a3ecb308f0b457fc?s=64)](http://nicolab.net) | -|---| -| [Nicolas Talle](http://nicolab.net) | -| [![Make a donation via Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PGRH4ZXP36GUC) | diff --git a/vendor/nicolab/php-ftp-client/composer.json b/vendor/nicolab/php-ftp-client/composer.json deleted file mode 100644 index 3e1556d2..00000000 --- a/vendor/nicolab/php-ftp-client/composer.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "nicolab/php-ftp-client", - "type": "library", - "description": "A flexible FTP and SSL-FTP client for PHP. This lib provides helpers easy to use to manage the remote files.", - "license": "MIT", - "keywords": ["ftp", "sftp", "ssl-ftp", "ssl", "file", "server", "lib", "helper"], - "homepage": "https://github.com/Nicolab/php-ftp-client", - - "authors" : [ - { - "name" : "Nicolas Tallefourtane", - "email" : "dev@nicolab.net", - "homepage" : "http://nicolab.net" - } - ], - "require": { - "php": ">=5.4", - "ext-ftp": "*" - }, - "autoload": { - "psr-0": {"FtpClient": "src/"} - } -} diff --git a/vendor/nicolab/php-ftp-client/src/FtpClient/FtpClient.php b/vendor/nicolab/php-ftp-client/src/FtpClient/FtpClient.php deleted file mode 100644 index 53db2dcb..00000000 --- a/vendor/nicolab/php-ftp-client/src/FtpClient/FtpClient.php +++ /dev/null @@ -1,956 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * @copyright Nicolas Tallefourtane http://nicolab.net - */ -namespace FtpClient; - -use \Countable; - -/** - * The FTP and SSL-FTP client for PHP. - * - * @method bool alloc(int $filesize, string &$result = null) Allocates space for a file to be uploaded - * @method bool append(string $remote_file, string $local_file, int $mode = FTP_BINARY) Append the contents of a file to another file on the FTP server - * @method bool cdup() Changes to the parent directory - * @method bool chdir(string $directory) Changes the current directory on a FTP server - * @method int chmod(int $mode, string $filename) Set permissions on a file via FTP - * @method bool delete(string $path) Deletes a file on the FTP server - * @method bool exec(string $command) Requests execution of a command on the FTP server - * @method bool fget(resource $handle, string $remote_file, int $mode, int $resumepos = 0) Downloads a file from the FTP server and saves to an open file - * @method bool fput(string $remote_file, resource $handle, int $mode, int $startpos = 0) Uploads from an open file to the FTP server - * @method mixed get_option(int $option) Retrieves various runtime behaviours of the current FTP stream - * @method bool get(string $local_file, string $remote_file, int $mode, int $resumepos = 0) Downloads a file from the FTP server - * @method int mdtm(string $remote_file) Returns the last modified time of the given file - * @method array mlsd(string $remote_dir) Returns a list of files in the given directory - * @method int nb_continue() Continues retrieving/sending a file (non-blocking) - * @method int nb_fget(resource $handle, string $remote_file, int $mode, int $resumepos = 0) Retrieves a file from the FTP server and writes it to an open file (non-blocking) - * @method int nb_fput(string $remote_file, resource $handle, int $mode, int $startpos = 0) Stores a file from an open file to the FTP server (non-blocking) - * @method int nb_get(string $local_file, string $remote_file, int $mode, int $resumepos = 0) Retrieves a file from the FTP server and writes it to a local file (non-blocking) - * @method int nb_put(string $remote_file, string $local_file, int $mode, int $startpos = 0) Stores a file on the FTP server (non-blocking) - * @method bool pasv(bool $pasv) Turns passive mode on or off - * @method bool put(string $remote_file, string $local_file, int $mode, int $startpos = 0) Uploads a file to the FTP server - * @method string pwd() Returns the current directory name - * @method bool quit() Closes an FTP connection - * @method array raw(string $command) Sends an arbitrary command to an FTP server - * @method bool rename(string $oldname, string $newname) Renames a file or a directory on the FTP server - * @method bool set_option(int $option, mixed $value) Set miscellaneous runtime FTP options - * @method bool site(string $command) Sends a SITE command to the server - * @method int size(string $remote_file) Returns the size of the given file - * @method string systype() Returns the system type identifier of the remote FTP server - * - * @author Nicolas Tallefourtane - */ -class FtpClient implements Countable -{ - /** - * The connection with the server. - * - * @var resource - */ - protected $conn; - - /** - * PHP FTP functions wrapper. - * - * @var FtpWrapper - */ - private $ftp; - - /** - * Constructor. - * - * @param resource|null $connection - * @throws FtpException If FTP extension is not loaded. - */ - public function __construct($connection = null) - { - if (!extension_loaded('ftp')) { - throw new FtpException('FTP extension is not loaded!'); - } - - if ($connection) { - $this->conn = $connection; - } - - $this->setWrapper(new FtpWrapper($this->conn)); - } - - /** - * Close the connection when the object is destroyed. - */ - public function __destruct() - { - if ($this->conn) { - $this->ftp->close(); - } - } - - /** - * Call an internal method or a FTP method handled by the wrapper. - * - * Wrap the FTP PHP functions to call as method of FtpClient object. - * The connection is automaticaly passed to the FTP PHP functions. - * - * @param string $method - * @param array $arguments - * @return mixed - * @throws FtpException When the function is not valid - */ - public function __call($method, array $arguments) - { - return $this->ftp->__call($method, $arguments); - } - - /** - * Overwrites the PHP limit - * - * @param string|null $memory The memory limit, if null is not modified - * @param int $time_limit The max execution time, unlimited by default - * @param bool $ignore_user_abort Ignore user abort, true by default - * @return FtpClient - */ - public function setPhpLimit($memory = null, $time_limit = 0, $ignore_user_abort = true) - { - if (null !== $memory) { - ini_set('memory_limit', $memory); - } - - ignore_user_abort($ignore_user_abort); - set_time_limit($time_limit); - - return $this; - } - - /** - * Get the help information of the remote FTP server. - * - * @return array - */ - public function help() - { - return $this->ftp->raw('help'); - } - - /** - * Open a FTP connection. - * - * @param string $host - * @param bool $ssl - * @param int $port - * @param int $timeout - * - * @return FtpClient - * @throws FtpException If unable to connect - */ - public function connect($host, $ssl = false, $port = 21, $timeout = 90) - { - if ($ssl) { - $this->conn = $this->ftp->ssl_connect($host, $port, $timeout); - } else { - $this->conn = $this->ftp->connect($host, $port, $timeout); - } - - if (!$this->conn) { - throw new FtpException('Unable to connect'); - } - - return $this; - } - - /** - * Closes the current FTP connection. - * - * @return bool - */ - public function close() - { - if ($this->conn) { - $this->ftp->close(); - $this->conn = null; - } - } - - /** - * Get the connection with the server. - * - * @return resource - */ - public function getConnection() - { - return $this->conn; - } - - /** - * Get the wrapper. - * - * @return FtpWrapper - */ - public function getWrapper() - { - return $this->ftp; - } - - /** - * Logs in to an FTP connection. - * - * @param string $username - * @param string $password - * - * @return FtpClient - * @throws FtpException If the login is incorrect - */ - public function login($username = 'anonymous', $password = '') - { - $result = $this->ftp->login($username, $password); - - if ($result === false) { - throw new FtpException('Login incorrect'); - } - - return $this; - } - - /** - * Returns the last modified time of the given file. - * Return -1 on error - * - * @param string $remoteFile - * @param string|null $format - * - * @return int - */ - public function modifiedTime($remoteFile, $format = null) - { - $time = $this->ftp->mdtm($remoteFile); - - if ($time !== -1 && $format !== null) { - return date($format, $time); - } - - return $time; - } - - /** - * Changes to the parent directory. - * - * @throws FtpException - * @return FtpClient - */ - public function up() - { - $result = $this->ftp->cdup(); - - if ($result === false) { - throw new FtpException('Unable to get parent folder'); - } - - return $this; - } - - /** - * Returns a list of files in the given directory. - * - * @param string $directory The directory, by default is "." the current directory - * @param bool $recursive - * @param callable $filter A callable to filter the result, by default is asort() PHP function. - * The result is passed in array argument, - * must take the argument by reference ! - * The callable should proceed with the reference array - * because is the behavior of several PHP sorting - * functions (by reference ensure directly the compatibility - * with all PHP sorting functions). - * - * @return array - * @throws FtpException If unable to list the directory - */ - public function nlist($directory = '.', $recursive = false, $filter = 'sort') - { - if (!$this->isDir($directory)) { - throw new FtpException('"'.$directory.'" is not a directory'); - } - - $files = $this->ftp->nlist($directory); - - if ($files === false) { - throw new FtpException('Unable to list directory'); - } - - $result = array(); - $dir_len = strlen($directory); - - // if it's the current - if (false !== ($kdot = array_search('.', $files))) { - unset($files[$kdot]); - } - - // if it's the parent - if(false !== ($kdot = array_search('..', $files))) { - unset($files[$kdot]); - } - - if (!$recursive) { - $result = $files; - - // working with the reference (behavior of several PHP sorting functions) - $filter($result); - - return $result; - } - - // utils for recursion - $flatten = function (array $arr) use (&$flatten) { - $flat = []; - - foreach ($arr as $k => $v) { - if (is_array($v)) { - $flat = array_merge($flat, $flatten($v)); - } else { - $flat[] = $v; - } - } - - return $flat; - }; - - foreach ($files as $file) { - $file = $directory.'/'.$file; - - // if contains the root path (behavior of the recursivity) - if (0 === strpos($file, $directory, $dir_len)) { - $file = substr($file, $dir_len); - } - - if ($this->isDir($file)) { - $result[] = $file; - $items = $flatten($this->nlist($file, true, $filter)); - - foreach ($items as $item) { - $result[] = $item; - } - - } else { - $result[] = $file; - } - } - - $result = array_unique($result); - $filter($result); - - return $result; - } - - /** - * Creates a directory. - * - * @see FtpClient::rmdir() - * @see FtpClient::remove() - * @see FtpClient::put() - * @see FtpClient::putAll() - * - * @param string $directory The directory - * @param bool $recursive - * @return bool - */ - public function mkdir($directory, $recursive = false) - { - if (!$recursive or $this->isDir($directory)) { - return $this->ftp->mkdir($directory); - } - - $result = false; - $pwd = $this->ftp->pwd(); - $parts = explode('/', $directory); - - foreach ($parts as $part) { - if ($part == '') { - continue; - } - - if (!@$this->ftp->chdir($part)) { - $result = $this->ftp->mkdir($part); - $this->ftp->chdir($part); - } - } - - $this->ftp->chdir($pwd); - - return $result; - } - - /** - * Remove a directory. - * - * @see FtpClient::mkdir() - * @see FtpClient::cleanDir() - * @see FtpClient::remove() - * @see FtpClient::delete() - * @param string $directory - * @param bool $recursive Forces deletion if the directory is not empty - * @return bool - * @throws FtpException If unable to list the directory to remove - */ - public function rmdir($directory, $recursive = true) - { - if ($recursive) { - $files = $this->nlist($directory, false, 'rsort'); - - // remove children - foreach ($files as $file) { - $this->remove($file, true); - } - } - - // remove the directory - return $this->ftp->rmdir($directory); - } - - /** - * Empty directory. - * - * @see FtpClient::remove() - * @see FtpClient::delete() - * @see FtpClient::rmdir() - * - * @param string $directory - * @return bool - */ - public function cleanDir($directory) - { - if (!$files = $this->nlist($directory)) { - return $this->isEmpty($directory); - } - - // remove children - foreach ($files as $file) { - $this->remove($file, true); - } - - return $this->isEmpty($directory); - } - - /** - * Remove a file or a directory. - * - * @see FtpClient::rmdir() - * @see FtpClient::cleanDir() - * @see FtpClient::delete() - * @param string $path The path of the file or directory to remove - * @param bool $recursive Is effective only if $path is a directory, {@see FtpClient::rmdir()} - * @return bool - */ - public function remove($path, $recursive = false) - { - if ($path == '.' || $path == '..') { - return false; - } - - try { - if (@$this->ftp->delete($path) - or ($this->isDir($path) - and $this->rmdir($path, $recursive))) { - return true; - } else { - // in special cases the delete can fail (for example, at Symfony's "r+e.gex[c]a(r)s" directory) - $newPath = preg_replace('/[^A-Za-z0-9\/]/', '', $path); - if ($this->rename($path, $newPath)) { - if (@$this->ftp->delete($newPath) - or ($this->isDir($newPath) - and $this->rmdir($newPath, $recursive))) { - return true; - } - } - } - - return false; - } catch (\Exception $e) { - return false; - } - } - - /** - * Check if a directory exist. - * - * @param string $directory - * @return bool - * @throws FtpException - */ - public function isDir($directory) - { - $pwd = $this->ftp->pwd(); - - if ($pwd === false) { - throw new FtpException('Unable to resolve the current directory'); - } - - if (@$this->ftp->chdir($directory)) { - $this->ftp->chdir($pwd); - return true; - } - - $this->ftp->chdir($pwd); - - return false; - } - - /** - * Check if a directory is empty. - * - * @param string $directory - * @return bool - */ - public function isEmpty($directory) - { - return $this->count($directory, null, false) === 0 ? true : false; - } - - /** - * Scan a directory and returns the details of each item. - * - * @see FtpClient::nlist() - * @see FtpClient::rawlist() - * @see FtpClient::parseRawList() - * @see FtpClient::dirSize() - * @param string $directory - * @param bool $recursive - * @return array - */ - public function scanDir($directory = '.', $recursive = false) - { - return $this->parseRawList($this->rawlist($directory, $recursive)); - } - - /** - * Returns the total size of the given directory in bytes. - * - * @param string $directory The directory, by default is the current directory. - * @param bool $recursive true by default - * @return int The size in bytes. - */ - public function dirSize($directory = '.', $recursive = true) - { - $items = $this->scanDir($directory, $recursive); - $size = 0; - - foreach ($items as $item) { - $size += (int) $item['size']; - } - - return $size; - } - - /** - * Count the items (file, directory, link, unknown). - * - * @param string $directory The directory, by default is the current directory. - * @param string|null $type The type of item to count (file, directory, link, unknown) - * @param bool $recursive true by default - * @return int - */ - public function count($directory = '.', $type = null, $recursive = true) - { - $items = (null === $type ? $this->nlist($directory, $recursive) - : $this->scanDir($directory, $recursive)); - - $count = 0; - foreach ($items as $item) { - if (null === $type or $item['type'] == $type) { - $count++; - } - } - - return $count; - } - - /** - * Downloads a file from the FTP server into a string - * - * @param string $remote_file - * @param int $mode - * @param int $resumepos - * @return string|null - */ - public function getContent($remote_file, $mode = FTP_BINARY, $resumepos = 0) - { - $handle = fopen('php://temp', 'r+'); - - if ($this->ftp->fget($handle, $remote_file, $mode, $resumepos)) { - rewind($handle); - return stream_get_contents($handle); - } - - return null; - } - - /** - * Uploads a file to the server from a string. - * - * @param string $remote_file - * @param string $content - * @return FtpClient - * @throws FtpException When the transfer fails - */ - public function putFromString($remote_file, $content) - { - $handle = fopen('php://temp', 'w'); - - fwrite($handle, $content); - rewind($handle); - - if ($this->ftp->fput($remote_file, $handle, FTP_BINARY)) { - return $this; - } - - throw new FtpException('Unable to put the file "'.$remote_file.'"'); - } - - /** - * Uploads a file to the server. - * - * @param string $local_file - * @return FtpClient - * @throws FtpException When the transfer fails - */ - public function putFromPath($local_file) - { - $remote_file = basename($local_file); - $handle = fopen($local_file, 'r'); - - if ($this->ftp->fput($remote_file, $handle, FTP_BINARY)) { - rewind($handle); - return $this; - } - - throw new FtpException( - 'Unable to put the remote file from the local file "'.$local_file.'"' - ); - } - - /** - * Upload files. - * - * @param string $source_directory - * @param string $target_directory - * @param int $mode - * @return FtpClient - */ - public function putAll($source_directory, $target_directory, $mode = FTP_BINARY) - { - $d = dir($source_directory); - - // do this for each file in the directory - while ($file = $d->read()) { - - // to prevent an infinite loop - if ($file != "." && $file != "..") { - - // do the following if it is a directory - if (is_dir($source_directory.'/'.$file)) { - if (!$this->isDir($target_directory.'/'.$file)) { - - // create directories that do not yet exist - $this->ftp->mkdir($target_directory.'/'.$file); - } - - // recursive part - $this->putAll( - $source_directory.'/'.$file, $target_directory.'/'.$file, - $mode - ); - } else { - - // put the files - $this->ftp->put( - $target_directory.'/'.$file, $source_directory.'/'.$file, - $mode - ); - } - } - } - - $d->close(); - - return $this; - } - - /** - * Downloads all files from remote FTP directory - * - * @param string $source_directory The remote directory - * @param string $target_directory The local directory - * @param int $mode - * @return FtpClient - */ - public function getAll($source_directory, $target_directory, $mode = FTP_BINARY) - { - if ($source_directory != ".") { - if ($this->ftp->chdir($source_directory) == false) { - throw new FtpException("Unable to change directory: ".$source_directory); - } - - if (!(is_dir($target_directory))) { - mkdir($target_directory); - } - - chdir($target_directory); - } - - $contents = $this->ftp->nlist("."); - - foreach ($contents as $file) { - if ($file == '.' || $file == '..') { - continue; - } - - $this->ftp->get($target_directory."/".$file, $file, $mode); - } - - $this->ftp->chdir(".."); - chdir(".."); - - return $this; - } - - /** - * Returns a detailed list of files in the given directory. - * - * @see FtpClient::nlist() - * @see FtpClient::scanDir() - * @see FtpClient::dirSize() - * @param string $directory The directory, by default is the current directory - * @param bool $recursive - * @return array - * @throws FtpException - */ - public function rawlist($directory = '.', $recursive = false) - { - if (!$this->isDir($directory)) { - throw new FtpException('"'.$directory.'" is not a directory.'); - } - - if (strpos($directory, " ") > 0) { - $ftproot = $this->ftp->pwd(); - $this->ftp->chdir($directory); - $list = $this->ftp->rawlist(""); - $this->ftp->chdir($ftproot); - } else { - $list = $this->ftp->rawlist($directory); - } - - $items = array(); - - if (!$list) { - return $items; - } - - if (false == $recursive) { - foreach ($list as $path => $item) { - $chunks = preg_split("/\s+/", $item); - - // if not "name" - if (!isset($chunks[8]) || strlen($chunks[8]) === 0 || $chunks[8] == '.' || $chunks[8] == '..') { - continue; - } - - $path = $directory.'/'.$chunks[8]; - - if (isset($chunks[9])) { - $nbChunks = count($chunks); - - for ($i = 9; $i < $nbChunks; $i++) { - $path .= ' '.$chunks[$i]; - } - } - - - if (substr($path, 0, 2) == './') { - $path = substr($path, 2); - } - - $items[ $this->rawToType($item).'#'.$path ] = $item; - } - - return $items; - } - - $path = ''; - - foreach ($list as $item) { - $len = strlen($item); - - if (!$len - - // "." - || ($item[$len-1] == '.' && $item[$len-2] == ' ' - - // ".." - or $item[$len-1] == '.' && $item[$len-2] == '.' && $item[$len-3] == ' ') - ) { - - continue; - } - - $chunks = preg_split("/\s+/", $item); - - // if not "name" - if (!isset($chunks[8]) || strlen($chunks[8]) === 0 || $chunks[8] == '.' || $chunks[8] == '..') { - continue; - } - - $path = $directory.'/'.$chunks[8]; - - if (isset($chunks[9])) { - $nbChunks = count($chunks); - - for ($i = 9; $i < $nbChunks; $i++) { - $path .= ' '.$chunks[$i]; - } - } - - if (substr($path, 0, 2) == './') { - $path = substr($path, 2); - } - - $items[$this->rawToType($item).'#'.$path] = $item; - - if ($item[0] == 'd') { - $sublist = $this->rawlist($path, true); - - foreach ($sublist as $subpath => $subitem) { - $items[$subpath] = $subitem; - } - } - } - - return $items; - } - - /** - * Parse raw list. - * - * @see FtpClient::rawlist() - * @see FtpClient::scanDir() - * @see FtpClient::dirSize() - * @param array $rawlist - * @return array - */ - public function parseRawList(array $rawlist) - { - $items = array(); - $path = ''; - - foreach ($rawlist as $key => $child) { - $chunks = preg_split("/\s+/", $child, 9); - - if (isset($chunks[8]) && ($chunks[8] == '.' or $chunks[8] == '..')) { - continue; - } - - if (count($chunks) === 1) { - $len = strlen($chunks[0]); - - if ($len && $chunks[0][$len-1] == ':') { - $path = substr($chunks[0], 0, -1); - } - - continue; - } - - // Prepare for filename that has space - $nameSlices = array_slice($chunks, 8, true); - - $item = [ - 'permissions' => $chunks[0], - 'number' => $chunks[1], - 'owner' => $chunks[2], - 'group' => $chunks[3], - 'size' => $chunks[4], - 'month' => $chunks[5], - 'day' => $chunks[6], - 'time' => $chunks[7], - 'name' => implode(' ', $nameSlices), - 'type' => $this->rawToType($chunks[0]), - ]; - - if ($item['type'] == 'link' && isset($chunks[10])) { - $item['target'] = $chunks[10]; // 9 is "->" - } - - // if the key is not the path, behavior of ftp_rawlist() PHP function - if (is_int($key) || false === strpos($key, $item['name'])) { - array_splice($chunks, 0, 8); - - $key = $item['type'].'#' - .($path ? $path.'/' : '') - .implode(' ', $chunks); - - if ($item['type'] == 'link') { - // get the first part of 'link#the-link.ext -> /path/of/the/source.ext' - $exp = explode(' ->', $key); - $key = rtrim($exp[0]); - } - - $items[$key] = $item; - } else { - // the key is the path, behavior of FtpClient::rawlist() method() - $items[$key] = $item; - } - } - - return $items; - } - - /** - * Convert raw info (drwx---r-x ...) to type (file, directory, link, unknown). - * Only the first char is used for resolving. - * - * @param string $permission Example : drwx---r-x - * - * @return string The file type (file, directory, link, unknown) - * @throws FtpException - */ - public function rawToType($permission) - { - if (!is_string($permission)) { - throw new FtpException('The "$permission" argument must be a string, "' - .gettype($permission).'" given.'); - } - - if (empty($permission[0])) { - return 'unknown'; - } - - switch ($permission[0]) { - case '-': - return 'file'; - - case 'd': - return 'directory'; - - case 'l': - return 'link'; - - default: - return 'unknown'; - } - } - - /** - * Set the wrapper which forward the PHP FTP functions to use in FtpClient instance. - * - * @param FtpWrapper $wrapper - * @return FtpClient - */ - protected function setWrapper(FtpWrapper $wrapper) - { - $this->ftp = $wrapper; - - return $this; - } -} diff --git a/vendor/nicolab/php-ftp-client/src/FtpClient/FtpException.php b/vendor/nicolab/php-ftp-client/src/FtpClient/FtpException.php deleted file mode 100644 index f17ed7f8..00000000 --- a/vendor/nicolab/php-ftp-client/src/FtpClient/FtpException.php +++ /dev/null @@ -1,20 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * @copyright Nicolas Tallefourtane http://nicolab.net - */ -namespace FtpClient; - -/** - * The FtpException class. - * Exception thrown if an error on runtime of the FTP client occurs. - * @inheritDoc - * @author Nicolas Tallefourtane - */ -class FtpException extends \Exception {} diff --git a/vendor/nicolab/php-ftp-client/src/FtpClient/FtpWrapper.php b/vendor/nicolab/php-ftp-client/src/FtpClient/FtpWrapper.php deleted file mode 100644 index 3a0d45f5..00000000 --- a/vendor/nicolab/php-ftp-client/src/FtpClient/FtpWrapper.php +++ /dev/null @@ -1,116 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * @copyright Nicolas Tallefourtane http://nicolab.net - */ -namespace FtpClient; - -/** - * Wrap the PHP FTP functions - * - * @method bool alloc(int $filesize, string &$result = null) Allocates space for a file to be uploaded - * @method bool cdup() Changes to the parent directory - * @method bool chdir(string $directory) Changes the current directory on a FTP server - * @method int chmod(int $mode, string $filename) Set permissions on a file via FTP - * @method bool close() Closes an FTP connection - * @method bool delete(string $path) Deletes a file on the FTP server - * @method bool exec(string $command) Requests execution of a command on the FTP server - * @method bool fget(resource $handle, string $remote_file, int $mode, int $resumepos = 0) Downloads a file from the FTP server and saves to an open file - * @method bool fput(string $remote_file, resource $handle, int $mode, int $startpos = 0) Uploads from an open file to the FTP server - * @method mixed get_option(int $option) Retrieves various runtime behaviours of the current FTP stream - * @method bool get(string $local_file, string $remote_file, int $mode, int $resumepos = 0) Downloads a file from the FTP server - * @method bool login(string $username, string $password) Logs in to an FTP connection - * @method int mdtm(string $remote_file) Returns the last modified time of the given file - * @method bool mkdir(string $directory) Creates a directory - * @method array mlsd(string $remote_dir) Returns a list of files in the given directory - * @method int nb_continue() Continues retrieving/sending a file (non-blocking) - * @method int nb_fget(resource $handle, string $remote_file, int $mode, int $resumepos = 0) Retrieves a file from the FTP server and writes it to an open file (non-blocking) - * @method int nb_fput(string $remote_file, resource $handle, int $mode, int $startpos = 0) Stores a file from an open file to the FTP server (non-blocking) - * @method int nb_get(string $local_file, string $remote_file, int $mode, int $resumepos = 0) Retrieves a file from the FTP server and writes it to a local file (non-blocking) - * @method int nb_put(string $remote_file, string $local_file, int $mode, int $startpos = 0) Stores a file on the FTP server (non-blocking) - * @method array nlist(string $directory) Returns a list of file names in the given directory; remote_dir parameter may also include arguments - * @method bool pasv(bool $pasv) Turns passive mode on or off - * @method bool put(string $remote_file, string $local_file, int $mode, int $startpos = 0) Uploads a file to the FTP server - * @method string pwd() Returns the current directory name - * @method bool quit() Closes an FTP connection - * @method array raw(string $command) Sends an arbitrary command to an FTP server - * @method array rawlist(string $directory, bool $recursive = false) Returns a detailed list of files in the given directory - * @method bool rename(string $oldname, string $newname) Renames a file or a directory on the FTP server - * @method bool rmdir(string $directory) Removes a directory - * @method bool set_option(int $option, mixed $value) Set miscellaneous runtime FTP options - * @method bool site(string $command) Sends a SITE command to the server - * @method int size(string $remote_file) Returns the size of the given file - * @method string systype() Returns the system type identifier of the remote FTP server - * - * @author Nicolas Tallefourtane - */ -class FtpWrapper -{ - /** - * The connection with the server - * - * @var resource - */ - protected $conn; - - /** - * Constructor. - * - * @param resource &$connection The FTP (or SSL-FTP) connection (takes by reference). - */ - public function __construct(&$connection) - { - $this->conn = &$connection; - } - - /** - * Forward the method call to FTP functions - * - * @param string $function - * @param array $arguments - * @return mixed - * @throws FtpException When the function is not valid - */ - public function __call($function, array $arguments) - { - $function = 'ftp_' . $function; - - if (function_exists($function)) { - array_unshift($arguments, $this->conn); - return @call_user_func_array($function, $arguments); - } - - throw new FtpException("{$function} is not a valid FTP function"); - } - - /** - * Opens a FTP connection - * - * @param string $host - * @param int $port - * @param int $timeout - * @return resource - */ - public function connect($host, $port = 21, $timeout = 90) - { - return @ftp_connect($host, $port, $timeout); - } - - /** - * Opens a Secure SSL-FTP connection - * @param string $host - * @param int $port - * @param int $timeout - * @return resource - */ - public function ssl_connect($host, $port = 21, $timeout = 90) - { - return @ftp_ssl_connect($host, $port, $timeout); - } -} diff --git a/vendor/nicolab/php-ftp-client/tests/.atoum.php b/vendor/nicolab/php-ftp-client/tests/.atoum.php deleted file mode 100644 index cee6cf65..00000000 --- a/vendor/nicolab/php-ftp-client/tests/.atoum.php +++ /dev/null @@ -1,10 +0,0 @@ -addDefaultReport(); - -// This will add a green or red logo after each run depending on its status. -$report->addField(new atoum\report\fields\runner\result\logo()); - -$script->bootstrapFile(__DIR__. '/bootstrap.php'); -$runner->addTestsFromDirectory(__DIR__. '/units'); diff --git a/vendor/nicolab/php-ftp-client/tests/bootstrap.php b/vendor/nicolab/php-ftp-client/tests/bootstrap.php deleted file mode 100644 index f6ab8c3b..00000000 --- a/vendor/nicolab/php-ftp-client/tests/bootstrap.php +++ /dev/null @@ -1,6 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * @copyright Nicolas Tallefourtane http://nicolab.net - */ -namespace tests\units\FtpClient; - -use - mageekguy\atoum, - FtpClient\FtpClient as TestedClass -; - -/** - * Tests the FtpClient\FtpClient class. - * @author Nicolas Tallefourtane - */ -class FtpClient extends atoum\test -{ - - public function test__construct() - { - $this - ->given($ftp = new TestedClass()) - ->object($ftp) - ->isInstanceOf('\FtpClient\FtpClient') - ; - } -} diff --git a/vendor/nicolab/php-ftp-client/tests/units/FtpClient/FtpException.php b/vendor/nicolab/php-ftp-client/tests/units/FtpClient/FtpException.php deleted file mode 100644 index 7ae56da1..00000000 --- a/vendor/nicolab/php-ftp-client/tests/units/FtpClient/FtpException.php +++ /dev/null @@ -1,43 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * @copyright Nicolas Tallefourtane http://nicolab.net - */ -namespace tests\units\FtpClient; - -use - mageekguy\atoum, - FtpClient\FtpException as TestedClass -; - -/** - * Tests the FtpClient\FtpException class. - * @author Nicolas Tallefourtane - */ -class FtpException extends atoum\test -{ - - public function test__instance() - { - $ftp = new \FtpClient\FtpClient(); - - $this - ->given($e = new TestedClass()) - ->object($e) - ->isInstanceOf('\FtpClient\FtpException') - ->isInstanceOf('\Exception') - - ->exception(function () use ($ftp) { - $ftp->doNotExist(); - }) - ->isInstanceOf('\FtpClient\FtpException') - ->isInstanceOf('\Exception') - ; - } -} diff --git a/vendor/nicolab/php-ftp-client/tests/units/FtpClient/FtpWrapper.php b/vendor/nicolab/php-ftp-client/tests/units/FtpClient/FtpWrapper.php deleted file mode 100644 index da67e91c..00000000 --- a/vendor/nicolab/php-ftp-client/tests/units/FtpClient/FtpWrapper.php +++ /dev/null @@ -1,53 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * @copyright Nicolas Tallefourtane http://nicolab.net - */ -namespace tests\units\FtpClient; - -use - mageekguy\atoum, - FtpClient\FtpWrapper as TestedClass -; - -/** - * Tests the FtpClient\FtpWrapper class. - * @author Nicolas Tallefourtane - */ -class FtpWrapper extends atoum\test -{ - - public function test__construct() - { - $conn = null; - - $this - ->given($wrapper = new TestedClass($conn)) - ->object($wrapper) - ->isInstanceOf('\FtpClient\FtpWrapper') - ; - } - - public function test__call() - { - $conn = null; - - $this - ->given($wrapper = new TestedClass($conn)) - ->exception(function () use ($wrapper) { - $wrapper->doNotExist(); - }) - ->isInstanceOf('\FtpClient\FtpException') - ->isInstanceOf('\Exception') - - ->variable(array($wrapper, 'alloc')) - ->isCallable() - ; - } -} diff --git a/vendor/phpmailer/phpmailer/COMMITMENT b/vendor/phpmailer/phpmailer/COMMITMENT deleted file mode 100644 index a687e0dd..00000000 --- a/vendor/phpmailer/phpmailer/COMMITMENT +++ /dev/null @@ -1,46 +0,0 @@ -GPL Cooperation Commitment -Version 1.0 - -Before filing or continuing to prosecute any legal proceeding or claim -(other than a Defensive Action) arising from termination of a Covered -License, we commit to extend to the person or entity ('you') accused -of violating the Covered License the following provisions regarding -cure and reinstatement, taken from GPL version 3. As used here, the -term 'this License' refers to the specific Covered License being -enforced. - - However, if you cease all violation of this License, then your - license from a particular copyright holder is reinstated (a) - provisionally, unless and until the copyright holder explicitly - and finally terminates your license, and (b) permanently, if the - copyright holder fails to notify you of the violation by some - reasonable means prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is - reinstated permanently if the copyright holder notifies you of the - violation by some reasonable means, this is the first time you - have received notice of violation of this License (for any work) - from that copyright holder, and you cure the violation prior to 30 - days after your receipt of the notice. - -We intend this Commitment to be irrevocable, and binding and -enforceable against us and assignees of or successors to our -copyrights. - -Definitions - -'Covered License' means the GNU General Public License, version 2 -(GPLv2), the GNU Lesser General Public License, version 2.1 -(LGPLv2.1), or the GNU Library General Public License, version 2 -(LGPLv2), all as published by the Free Software Foundation. - -'Defensive Action' means a legal proceeding or claim that We bring -against you in response to a prior proceeding or claim initiated by -you or your affiliate. - -'We' means each contributor to this repository as of the date of -inclusion of this file, including subsidiaries of a corporate -contributor. - -This work is available under a Creative Commons Attribution-ShareAlike -4.0 International license (https://creativecommons.org/licenses/by-sa/4.0/). diff --git a/vendor/phpmailer/phpmailer/LICENSE b/vendor/phpmailer/phpmailer/LICENSE deleted file mode 100644 index f166cc57..00000000 --- a/vendor/phpmailer/phpmailer/LICENSE +++ /dev/null @@ -1,502 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! \ No newline at end of file diff --git a/vendor/phpmailer/phpmailer/README.md b/vendor/phpmailer/phpmailer/README.md deleted file mode 100644 index fa27d2f6..00000000 --- a/vendor/phpmailer/phpmailer/README.md +++ /dev/null @@ -1,222 +0,0 @@ -![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png) - -# PHPMailer – A full-featured email creation and transfer class for PHP - -[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions) [![Latest Stable Version](https://poser.pugx.org/phpmailer/phpmailer/v/stable.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![Total Downloads](https://poser.pugx.org/phpmailer/phpmailer/downloads)](https://packagist.org/packages/phpmailer/phpmailer) [![License](https://poser.pugx.org/phpmailer/phpmailer/license.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![API Docs](https://github.com/phpmailer/phpmailer/workflows/Docs/badge.svg)](https://phpmailer.github.io/PHPMailer/) - -## Features -- Probably the world's most popular code for sending email from PHP! -- Used by many open-source projects: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more -- Integrated SMTP support – send without a local mail server -- Send emails with multiple To, CC, BCC and Reply-to addresses -- Multipart/alternative emails for mail clients that do not read HTML email -- Add attachments, including inline -- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings -- SMTP authentication with LOGIN, PLAIN, CRAM-MD5, and XOAUTH2 mechanisms over SMTPS and SMTP+STARTTLS transports -- Validates email addresses automatically -- Protects against header injection attacks -- Error messages in over 50 languages! -- DKIM and S/MIME signing support -- Compatible with PHP 5.5 and later, including PHP 8.0 -- Namespaced to prevent name clashes -- Much more! - -## Why you might need it -Many PHP developers need to send email from their code. The only PHP function that supports this directly is [`mail()`](https://www.php.net/manual/en/function.mail.php). However, it does not provide any assistance for making use of popular features such as encryption, authentication, HTML messages, and attachments. - -Formatting email correctly is surprisingly difficult. There are myriad overlapping (and conflicting) standards, requiring tight adherence to horribly complicated formatting and encoding rules – the vast majority of code that you'll find online that uses the `mail()` function directly is just plain wrong, if not unsafe! - -The PHP `mail()` function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD, and macOS platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP client allows email sending on all platforms without needing a local mail server. Be aware though, that the `mail()` function should be avoided when possible; it's both faster and [safer](https://exploitbox.io/paper/Pwning-PHP-Mail-Function-For-Fun-And-RCE.html) to use SMTP to localhost. - -*Please* don't be tempted to do it yourself – if you don't use PHPMailer, there are many other excellent libraries that -you should look at before rolling your own. Try [SwiftMailer](https://swiftmailer.symfony.com/) -, [Laminas/Mail](https://docs.laminas.dev/laminas-mail/), [ZetaComponents](https://github.com/zetacomponents/Mail) etc. - -## License -This software is distributed under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html) license, along with the [GPL Cooperation Commitment](https://gplcc.github.io/gplcc/). Please read [LICENSE](https://github.com/PHPMailer/PHPMailer/blob/master/LICENSE) for information on the software availability and distribution. - -## Installation & loading -PHPMailer is available on [Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailer. Just add this line to your `composer.json` file: - -```json -"phpmailer/phpmailer": "^6.2" -``` - -or run - -```sh -composer require phpmailer/phpmailer -``` - -Note that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PHPMailer. - -If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-client` package in your `composer.json`. - -Alternatively, if you're not using Composer, you -can [download PHPMailer as a zip file](https://github.com/PHPMailer/PHPMailer/archive/master.zip), (note that docs and examples are not included in the zip file), then copy the contents of the PHPMailer folder into one of the `include_path` directories specified in your PHP configuration and load each class file manually: - -```php -SMTPDebug = SMTP::DEBUG_SERVER; //Enable verbose debug output - $mail->isSMTP(); //Send using SMTP - $mail->Host = 'smtp.example.com'; //Set the SMTP server to send through - $mail->SMTPAuth = true; //Enable SMTP authentication - $mail->Username = 'user@example.com'; //SMTP username - $mail->Password = 'secret'; //SMTP password - $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; //Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` encouraged - $mail->Port = 587; //TCP port to connect to, use 465 for `PHPMailer::ENCRYPTION_SMTPS` above - - //Recipients - $mail->setFrom('from@example.com', 'Mailer'); - $mail->addAddress('joe@example.net', 'Joe User'); //Add a recipient - $mail->addAddress('ellen@example.com'); //Name is optional - $mail->addReplyTo('info@example.com', 'Information'); - $mail->addCC('cc@example.com'); - $mail->addBCC('bcc@example.com'); - - //Attachments - $mail->addAttachment('/var/tmp/file.tar.gz'); //Add attachments - $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); //Optional name - - //Content - $mail->isHTML(true); //Set email format to HTML - $mail->Subject = 'Here is the subject'; - $mail->Body = 'This is the HTML message body in bold!'; - $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; - - $mail->send(); - echo 'Message has been sent'; -} catch (Exception $e) { - echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; -} -``` - -You'll find plenty to play with in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder, which covers many common scenarios including sending through gmail, building contact forms, sending to mailing lists, and more. - -If you are re-using the instance (e.g. when sending to a mailing list), you may need to clear the recipient list to avoid sending duplicate messages. See [the mailing list example](https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps) for further guidance. - -That's it. You should now be ready to use PHPMailer! - -## Localization -PHPMailer defaults to English, but in the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder you'll find many translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this: - -```php -//To load the French version -$mail->setLanguage('fr', '/optional/path/to/language/directory/'); -``` - -We welcome corrections and new languages – if you're looking for corrections, run the [PHPMailerLangTest.php](https://github.com/PHPMailer/PHPMailer/tree/master/test/PHPMailerLangTest.php) script in the tests folder and it will show any missing translations. - -## Documentation -Start reading at the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, head for [the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) as it's frequently updated. - -Examples of how to use PHPMailer for common scenarios can be found in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder. If you're looking for a good starting point, we recommend you start with [the Gmail example](https://github.com/PHPMailer/PHPMailer/tree/master/examples/gmail.phps). - -To reduce PHPMailer's deployed code footprint, examples are not included if you load PHPMailer via Composer or via [GitHub's zip file download](https://github.com/PHPMailer/PHPMailer/archive/master.zip), so you'll need to either clone the git repository or use the above links to get to the examples directly. - -Complete generated API documentation is [available online](https://phpmailer.github.io/PHPMailer/). - -You can generate complete API-level documentation by running `phpdoc` in the top-level folder, and documentation will appear in the `docs` folder, though you'll need to have [PHPDocumentor](http://www.phpdoc.org) installed. You may find [the unit tests](https://github.com/PHPMailer/PHPMailer/blob/master/test/PHPMailerTest.php) a good reference for how to do various operations such as encryption. - -If the documentation doesn't cover what you need, search the [many questions on Stack Overflow](http://stackoverflow.com/questions/tagged/phpmailer), and before you ask a question about "SMTP Error: Could not connect to SMTP host.", [read the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting). - -## Tests -[PHPMailer tests](https://github.com/PHPMailer/PHPMailer/tree/master/test/) use PHPUnit 9, with [a polyfill](https://github.com/Yoast/PHPUnit-Polyfills) to let 9-style tests run on older PHPUnit and PHP versions. - -[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions) - -If this isn't passing, is there something you can do to help? - -## Security -Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. - -See [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) and [PHPMailer's security advisories on GitHub](https://github.com/PHPMailer/PHPMailer/security). - -## Contributing -Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues). - -We're particularly interested in fixing edge-cases, expanding test coverage and updating translations. - -If you found a mistake in the docs, or want to add something, go ahead and amend the wiki – anyone can edit it. - -If you have git clones from prior to the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone: - -```sh -git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git -``` - -Please *don't* use the SourceForge or Google Code projects any more; they are obsolete and no longer maintained. - -## Sponsorship -Development time and resources for PHPMailer are provided by [Smartmessages.net](https://info.smartmessages.net/), the world's only privacy-first email marketing system. - -Smartmessages.net privacy-first email marketing logo - -Donations are very welcome, whether in beer 🍺, T-shirts 👕, or cold, hard cash 💰. Sponsorship through GitHub is a simple and convenient way to say "thank you" to PHPMailer's maintainers and contributors – just click the "Sponsor" button [on the project page](https://github.com/PHPMailer/PHPMailer). If your company uses PHPMailer, consider taking part in Tidelift's enterprise support programme. - -## PHPMailer For Enterprise - -Available as part of the Tidelift Subscription. - -The maintainers of PHPMailer and thousands of other packages are working with Tidelift to deliver commercial -support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and -improve code health, while paying the maintainers of the exact packages you -use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-phpmailer-phpmailer?utm_source=packagist-phpmailer-phpmailer&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) - -## Changelog -See [changelog](changelog.md). - -## History -- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/). -- [Marcus Bointon](https://github.com/Synchro) (`coolbru` on SF) and Andy Prevost (`codeworxtech`) took over the project in 2004. -- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski. -- Marcus created [his fork on GitHub](https://github.com/Synchro/PHPMailer) in 2008. -- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer in 2013. -- PHPMailer moves to [the PHPMailer organisation](https://github.com/PHPMailer) on GitHub in 2013. - -### What's changed since moving from SourceForge? -- Official successor to the SourceForge and Google Code projects. -- Test suite. -- Continuous integration with Github Actions. -- Composer support. -- Public development. -- Additional languages and language strings. -- CRAM-MD5 authentication support. -- Preserves full repo history of authors, commits and branches from the original SourceForge project. diff --git a/vendor/phpmailer/phpmailer/SECURITY.md b/vendor/phpmailer/phpmailer/SECURITY.md deleted file mode 100644 index 035a87f7..00000000 --- a/vendor/phpmailer/phpmailer/SECURITY.md +++ /dev/null @@ -1,37 +0,0 @@ -# Security notices relating to PHPMailer - -Please disclose any security issues or vulnerabilities found through [Tidelift's coordinated disclosure system](https://tidelift.com/security) or to the maintainers privately. - -PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the `$patternselect` parameter to `validateAddress()` is set to `'php'` (the default, defined by `PHPMailer::$validator`), and the global namespace contains a function called `php`, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names. Recorded as [CVE-2021-3603](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603). Reported by [Vikrant Singh Chauhan](mailto:vi@hackberry.xyz) via [huntr.dev](https://www.huntr.dev/). - -PHPMailer versions 6.4.1 and earlier contain a possible remote code execution vulnerability through the `$lang_path` parameter of the `setLanguage()` method. If the `$lang_path` parameter is passed unfiltered from user input, it can be set to [a UNC path](https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths), and if an attacker is also able to persuade the server to load a file from that UNC path, a script file under their control may be executed. This vulnerability only applies to systems that resolve UNC paths, typically only Microsoft Windows. -PHPMailer 6.5.0 mitigates this by no longer treating translation files as PHP code, but by parsing their text content directly. This approach avoids the possibility of executing unknown code while retaining backward compatibility. This isn't ideal, so the current translation format is deprecated and will be replaced in the next major release. Recorded as [CVE-2021-34551](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34551). Reported by [Jilin Diting Information Technology Co., Ltd](https://listensec.com) via Tidelift. - -PHPMailer versions between 6.1.8 and 6.4.0 contain a regression of the earlier CVE-2018-19296 object injection vulnerability as a result of [a fix for Windows UNC paths in 6.1.8](https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9). Recorded as [CVE-2020-36326](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-36326). Reported by Fariskhi Vidyan via Tidelift. 6.4.1 fixes this issue, and also enforces stricter checks for URL schemes in local path contexts. - -PHPMailer versions 6.1.5 and earlier contain an output escaping bug that occurs in `Content-Type` and `Content-Disposition` when filenames passed into `addAttachment` and other methods that accept attachment names contain double quote characters, in contravention of RFC822 3.4.1. No specific vulnerability has been found relating to this, but it could allow file attachments to bypass attachment filters that are based on matching filename extensions. Recorded as [CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625). Reported by Elar Lang of Clarified Security. - -PHPMailer versions prior to 6.0.6 and 5.2.27 are vulnerable to an object injection attack by passing `phar://` paths into `addAttachment()` and other functions that may receive unfiltered local paths, possibly leading to RCE. Recorded as [CVE-2018-19296](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-19296). See [this article](https://knasmueller.net/5-answers-about-php-phar-exploitation) for more info on this type of vulnerability. Mitigated by blocking the use of paths containing URL-protocol style prefixes such as `phar://`. Reported by Sehun Oh of cyberone.kr. - -PHPMailer versions prior to 5.2.24 (released July 26th 2017) have an XSS vulnerability in one of the code examples, [CVE-2017-11503](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11503). The `code_generator.phps` example did not filter user input prior to output. This file is distributed with a `.phps` extension, so it it not normally executable unless it is explicitly renamed, and the file is not included when PHPMailer is loaded through composer, so it is safe by default. There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project. - -PHPMailer versions prior to 5.2.22 (released January 9th 2017) have a local file disclosure vulnerability, [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223). If content passed into `msgHTML()` is sourced from unfiltered user input, relative paths can map to absolute local file paths and added as attachments. Also note that `addAttachment` (just like `file_get_contents`, `passthru`, `unlink`, etc) should not be passed user-sourced params either! Reported by Yongxiang Li of Asiasecurity. - -PHPMailer versions prior to 5.2.20 (released December 28th 2016) are vulnerable to [CVE-2016-10045](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10045) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html), and patched by Paul Buonopane (@Zenexer). - -PHPMailer versions prior to 5.2.18 (released December 2016) are vulnerable to [CVE-2016-10033](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10033) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](http://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html). - -PHPMailer versions prior to 5.2.14 (released November 2015) are vulnerable to [CVE-2015-8476](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8476) an SMTP CRLF injection bug permitting arbitrary message sending. - -PHPMailer versions prior to 5.2.10 (released May 2015) are vulnerable to [CVE-2008-5619](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-5619), a remote code execution vulnerability in the bundled html2text library. This file was removed in 5.2.10, so if you are using a version prior to that and make use of the html2text function, it's vitally important that you upgrade and remove this file. - -PHPMailer versions prior to 2.0.7 and 2.2.1 are vulnerable to [CVE-2012-0796](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0796), an email header injection attack. - -Joomla 1.6.0 uses PHPMailer in an unsafe way, allowing it to reveal local file paths, reported in [CVE-2011-3747](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3747). - -PHPMailer didn't sanitise the `$lang_path` parameter in `SetLanguage`. This wasn't a problem in itself, but some apps (PHPClassifieds, ATutor) also failed to sanitise user-provided parameters passed to it, permitting semi-arbitrary local file inclusion, reported in [CVE-2010-4914](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-4914), [CVE-2007-2021](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2021) and [CVE-2006-5734](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-5734). - -PHPMailer 1.7.2 and earlier contained a possible DDoS vulnerability reported in [CVE-2005-1807](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-1807). - -PHPMailer 1.7 and earlier (June 2003) have a possible vulnerability in the `SendmailSend` method where shell commands may not be sanitised. Reported in [CVE-2007-3215](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-3215). - diff --git a/vendor/phpmailer/phpmailer/VERSION b/vendor/phpmailer/phpmailer/VERSION deleted file mode 100644 index 4be2c727..00000000 --- a/vendor/phpmailer/phpmailer/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.5.0 \ No newline at end of file diff --git a/vendor/phpmailer/phpmailer/composer.json b/vendor/phpmailer/phpmailer/composer.json deleted file mode 100644 index 58393b2c..00000000 --- a/vendor/phpmailer/phpmailer/composer.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "name": "phpmailer/phpmailer", - "type": "library", - "description": "PHPMailer is a full-featured email creation and transfer class for PHP", - "authors": [ - { - "name": "Marcus Bointon", - "email": "phpmailer@synchromedia.co.uk" - }, - { - "name": "Jim Jagielski", - "email": "jimjag@gmail.com" - }, - { - "name": "Andy Prevost", - "email": "codeworxtech@users.sourceforge.net" - }, - { - "name": "Brent R. Matzelle" - } - ], - "funding": [ - { - "url": "https://github.com/Synchro", - "type": "github" - } - ], - "require": { - "php": ">=5.5.0", - "ext-ctype": "*", - "ext-filter": "*", - "ext-hash": "*" - }, - "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "doctrine/annotations": "^1.2", - "phpcompatibility/php-compatibility": "^9.3.5", - "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.5.6", - "yoast/phpunit-polyfills": "^0.2.0" - }, - "suggest": { - "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", - "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", - "league/oauth2-google": "Needed for Google XOAUTH2 authentication", - "psr/log": "For optional PSR-3 debug logging", - "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", - "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" - }, - "autoload": { - "psr-4": { - "PHPMailer\\PHPMailer\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "PHPMailer\\Test\\": "test/" - } - }, - "license": "LGPL-2.1-only", - "scripts": { - "check": "./vendor/bin/phpcs", - "test": "./vendor/bin/phpunit" - } -} diff --git a/vendor/phpmailer/phpmailer/get_oauth_token.php b/vendor/phpmailer/phpmailer/get_oauth_token.php deleted file mode 100644 index befdc34a..00000000 --- a/vendor/phpmailer/phpmailer/get_oauth_token.php +++ /dev/null @@ -1,146 +0,0 @@ - - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - * @copyright 2012 - 2020 Marcus Bointon - * @copyright 2010 - 2012 Jim Jagielski - * @copyright 2004 - 2009 Andy Prevost - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @note This program is distributed in the hope that it will be useful - WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - */ - -/** - * Get an OAuth2 token from an OAuth2 provider. - * * Install this script on your server so that it's accessible - * as [https/http]:////get_oauth_token.php - * e.g.: http://localhost/phpmailer/get_oauth_token.php - * * Ensure dependencies are installed with 'composer install' - * * Set up an app in your Google/Yahoo/Microsoft account - * * Set the script address as the app's redirect URL - * If no refresh token is obtained when running this file, - * revoke access to your app and run the script again. - */ - -namespace PHPMailer\PHPMailer; - -/** - * Aliases for League Provider Classes - * Make sure you have added these to your composer.json and run `composer install` - * Plenty to choose from here: - * @see http://oauth2-client.thephpleague.com/providers/thirdparty/ - */ -//@see https://github.com/thephpleague/oauth2-google -use League\OAuth2\Client\Provider\Google; -//@see https://packagist.org/packages/hayageek/oauth2-yahoo -use Hayageek\OAuth2\Client\Provider\Yahoo; -//@see https://github.com/stevenmaguire/oauth2-microsoft -use Stevenmaguire\OAuth2\Client\Provider\Microsoft; - -if (!isset($_GET['code']) && !isset($_GET['provider'])) { - ?> - -Select Provider:
          -Google
          -Yahoo
          -Microsoft/Outlook/Hotmail/Live/Office365
          - - - $clientId, - 'clientSecret' => $clientSecret, - 'redirectUri' => $redirectUri, - 'accessType' => 'offline' -]; - -$options = []; -$provider = null; - -switch ($providerName) { - case 'Google': - $provider = new Google($params); - $options = [ - 'scope' => [ - 'https://mail.google.com/' - ] - ]; - break; - case 'Yahoo': - $provider = new Yahoo($params); - break; - case 'Microsoft': - $provider = new Microsoft($params); - $options = [ - 'scope' => [ - 'wl.imap', - 'wl.offline_access' - ] - ]; - break; -} - -if (null === $provider) { - exit('Provider missing'); -} - -if (!isset($_GET['code'])) { - //If we don't have an authorization code then get one - $authUrl = $provider->getAuthorizationUrl($options); - $_SESSION['oauth2state'] = $provider->getState(); - header('Location: ' . $authUrl); - exit; - //Check given state against previously stored one to mitigate CSRF attack -} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) { - unset($_SESSION['oauth2state']); - unset($_SESSION['provider']); - exit('Invalid state'); -} else { - unset($_SESSION['provider']); - //Try to get an access token (using the authorization code grant) - $token = $provider->getAccessToken( - 'authorization_code', - [ - 'code' => $_GET['code'] - ] - ); - //Use this to interact with an API on the users behalf - //Use this to get a new access token if the old one expires - echo 'Refresh Token: ', $token->getRefreshToken(); -} diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php deleted file mode 100644 index 0b2a72d5..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php +++ /dev/null @@ -1,26 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'خطأ SMTP : لا يمكن تأكيد الهوية.'; -$PHPMAILER_LANG['connect_host'] = 'خطأ SMTP: لا يمكن الاتصال بالخادم SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'خطأ SMTP: لم يتم قبول المعلومات .'; -$PHPMAILER_LANG['empty_message'] = 'نص الرسالة فارغ'; -$PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: '; -$PHPMAILER_LANG['execute'] = 'لا يمكن تنفيذ : '; -$PHPMAILER_LANG['file_access'] = 'لا يمكن الوصول للملف: '; -$PHPMAILER_LANG['file_open'] = 'خطأ في الملف: لا يمكن فتحه: '; -$PHPMAILER_LANG['from_failed'] = 'خطأ على مستوى عنوان المرسل : '; -$PHPMAILER_LANG['instantiate'] = 'لا يمكن توفير خدمة البريد.'; -$PHPMAILER_LANG['invalid_address'] = 'الإرسال غير ممكن لأن عنوان البريد الإلكتروني غير صالح: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.'; -$PHPMAILER_LANG['provide_address'] = 'يجب توفير عنوان البريد الإلكتروني لمستلم واحد على الأقل.'; -$PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية فشل في الارسال لكل من : '; -$PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.'; -$PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'لا يمكن تعيين أو إعادة تعيين متغير: '; -$PHPMAILER_LANG['extension_missing'] = 'الإضافة غير موجودة: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php deleted file mode 100644 index 552167ef..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela prijava.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Nije moguće spojiti se sa SMTP serverom.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.'; -$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; -$PHPMAILER_LANG['encoding'] = 'Nepoznata kriptografija: '; -$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: '; -$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; -$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; -$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje sa navedenih e-mail adresa nije uspjelo: '; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedene e-mail adrese nije uspjelo: '; -$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.'; -$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.'; -$PHPMAILER_LANG['provide_address'] = 'Definišite barem jednu adresu primaoca.'; -$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP server nije uspjelo.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP greška: '; -$PHPMAILER_LANG['variable_set'] = 'Nije moguće postaviti varijablu ili je vratiti nazad: '; -$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php deleted file mode 100644 index 9e92ddaa..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідэнтыфікацыі.'; -$PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ўстанавіць сувязь з SMTP-серверам.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звесткі непрынятыя.'; -$PHPMAILER_LANG['empty_message'] = 'Пустое паведамленне.'; -$PHPMAILER_LANG['encoding'] = 'Невядомая кадыроўка тэксту: '; -$PHPMAILER_LANG['execute'] = 'Нельга выканаць каманду: '; -$PHPMAILER_LANG['file_access'] = 'Няма доступу да файла: '; -$PHPMAILER_LANG['file_open'] = 'Нельга адкрыць файл: '; -$PHPMAILER_LANG['from_failed'] = 'Няправільны адрас адпраўніка: '; -$PHPMAILER_LANG['instantiate'] = 'Нельга прымяніць функцыю mail().'; -$PHPMAILER_LANG['invalid_address'] = 'Нельга даслаць паведамленне, няправільны email атрымальніка: '; -$PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі ласка, правільны email атрымальніка.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы сервер не падтрымліваецца.'; -$PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: няправільныя атрымальнікі: '; -$PHPMAILER_LANG['signing'] = 'Памылка подпісу паведамлення: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка сувязі з SMTP-серверам.'; -$PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Нельга ўстанавіць або перамяніць значэнне пераменнай: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php deleted file mode 100644 index c41f675d..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: Не може да се удостовери пред сървъра.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: Не може да се свърже с SMTP хоста.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: данните не са приети.'; -$PHPMAILER_LANG['empty_message'] = 'Съдържанието на съобщението е празно'; -$PHPMAILER_LANG['encoding'] = 'Неизвестно кодиране: '; -$PHPMAILER_LANG['execute'] = 'Не може да се изпълни: '; -$PHPMAILER_LANG['file_access'] = 'Няма достъп до файл: '; -$PHPMAILER_LANG['file_open'] = 'Файлова грешка: Не може да се отвори файл: '; -$PHPMAILER_LANG['from_failed'] = 'Следните адреси за подател са невалидни: '; -$PHPMAILER_LANG['instantiate'] = 'Не може да се инстанцира функцията mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Невалиден адрес: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' - пощенски сървър не се поддържа.'; -$PHPMAILER_LANG['provide_address'] = 'Трябва да предоставите поне един email адрес за получател.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Следните адреси за Получател са невалидни: '; -$PHPMAILER_LANG['signing'] = 'Грешка при подписване: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP провален connect().'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP сървърна грешка: '; -$PHPMAILER_LANG['variable_set'] = 'Не може да се установи или възстанови променлива: '; -$PHPMAILER_LANG['extension_missing'] = 'Липсва разширение: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php deleted file mode 100644 index 34684855..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s’ha pogut autenticar.'; -$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.'; -$PHPMAILER_LANG['empty_message'] = 'El cos del missatge està buit.'; -$PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: '; -$PHPMAILER_LANG['execute'] = 'No es pot executar: '; -$PHPMAILER_LANG['file_access'] = 'No es pot accedir a l’arxiu: '; -$PHPMAILER_LANG['file_open'] = 'Error d’Arxiu: No es pot obrir l’arxiu: '; -$PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: '; -$PHPMAILER_LANG['instantiate'] = 'No s’ha pogut crear una instància de la funció Mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Adreça d’email invalida: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat'; -$PHPMAILER_LANG['provide_address'] = 'S’ha de proveir almenys una adreça d’email com a destinatari.'; -$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: '; -$PHPMAILER_LANG['signing'] = 'Error al signar: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Ha fallat el SMTP Connect().'; -$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'No s’ha pogut establir o restablir la variable: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php deleted file mode 100644 index 500c9526..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:身份验证失败。'; -$PHPMAILER_LANG['connect_host'] = 'SMTP 错误: 不能连接SMTP主机。'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误: 数据不可接受。'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = '未知编码:'; -$PHPMAILER_LANG['execute'] = '不能执行: '; -$PHPMAILER_LANG['file_access'] = '不能访问文件:'; -$PHPMAILER_LANG['file_open'] = '文件错误:不能打开文件:'; -$PHPMAILER_LANG['from_failed'] = '下面的发送地址邮件发送失败了: '; -$PHPMAILER_LANG['instantiate'] = '不能实现mail方法。'; -//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' 您所选择的发送邮件的方法并不支持。'; -$PHPMAILER_LANG['provide_address'] = '您必须提供至少一个 收信人的email地址。'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误: 下面的 收件人失败了: '; -//$PHPMAILER_LANG['signing'] = 'Signing Error: '; -//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; -//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php deleted file mode 100644 index e770a1a2..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php +++ /dev/null @@ -1,28 +0,0 @@ - - * Rewrite and extension of the work by Mikael Stokkebro - * - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Login mislykkedes.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Forbindelse til SMTP serveren kunne ikke oprettes.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data blev ikke accepteret.'; -$PHPMAILER_LANG['empty_message'] = 'Meddelelsen er uden indhold'; -$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; -$PHPMAILER_LANG['execute'] = 'Kunne ikke afvikle: '; -$PHPMAILER_LANG['file_access'] = 'Kunne ikke tilgå filen: '; -$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: '; -$PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: '; -$PHPMAILER_LANG['instantiate'] = 'Email funktionen kunne ikke initialiseres.'; -$PHPMAILER_LANG['invalid_address'] = 'Udgyldig adresse: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.'; -$PHPMAILER_LANG['provide_address'] = 'Indtast mindst en modtagers email adresse.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: '; -$PHPMAILER_LANG['signing'] = 'Signeringsfejl: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fejlede.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP server fejl: '; -$PHPMAILER_LANG['variable_set'] = 'Kunne ikke definere eller nulstille variablen: '; -$PHPMAILER_LANG['extension_missing'] = 'Udvidelse mangler: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php deleted file mode 100644 index e7e59d2b..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +++ /dev/null @@ -1,28 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Error SMTP: Imposible autentificar.'; -$PHPMAILER_LANG['connect_host'] = 'Error SMTP: Imposible conectar al servidor SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.'; -$PHPMAILER_LANG['empty_message'] = 'El cuerpo del mensaje está vacío.'; -$PHPMAILER_LANG['encoding'] = 'Codificación desconocida: '; -$PHPMAILER_LANG['execute'] = 'Imposible ejecutar: '; -$PHPMAILER_LANG['file_access'] = 'Imposible acceder al archivo: '; -$PHPMAILER_LANG['file_open'] = 'Error de Archivo: Imposible abrir el archivo: '; -$PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: '; -$PHPMAILER_LANG['instantiate'] = 'Imposible crear una instancia de la función Mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Imposible enviar: dirección de email inválido: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.'; -$PHPMAILER_LANG['provide_address'] = 'Debe proporcionar al menos una dirección de email de destino.'; -$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinos fallaron: '; -$PHPMAILER_LANG['signing'] = 'Error al firmar: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falló.'; -$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'No se pudo configurar la variable: '; -$PHPMAILER_LANG['extension_missing'] = 'Extensión faltante: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php deleted file mode 100644 index 93addc9e..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +++ /dev/null @@ -1,28 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.'; -$PHPMAILER_LANG['empty_message'] = 'Tühi kirja sisu'; -$PHPMAILER_LANG["encoding"] = 'Tundmatu kodeering: '; -$PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: '; -$PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: '; -$PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: '; -$PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: '; -$PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.'; -$PHPMAILER_LANG['invalid_address'] = 'Saatmine peatatud, e-posti address vigane: '; -$PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: '; -$PHPMAILER_LANG["signing"] = 'Viga allkirjastamisel: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() ebaõnnestus.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP serveri viga: '; -$PHPMAILER_LANG['variable_set'] = 'Ei õnnestunud määrata või lähtestada muutujat: '; -$PHPMAILER_LANG['extension_missing'] = 'Nõutud laiendus on puudu: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php deleted file mode 100644 index 295a47f9..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @author Mohammad Hossein Mojtahedi - */ - -$PHPMAILER_LANG['authenticate'] = 'خطای SMTP: احراز هویت با شکست مواجه شد.'; -$PHPMAILER_LANG['connect_host'] = 'خطای SMTP: اتصال به سرور SMTP برقرار نشد.'; -$PHPMAILER_LANG['data_not_accepted'] = 'خطای SMTP: داده‌ها نا‌درست هستند.'; -$PHPMAILER_LANG['empty_message'] = 'بخش متن پیام خالی است.'; -$PHPMAILER_LANG['encoding'] = 'کد‌گذاری نا‌شناخته: '; -$PHPMAILER_LANG['execute'] = 'امکان اجرا وجود ندارد: '; -$PHPMAILER_LANG['file_access'] = 'امکان دسترسی به فایل وجود ندارد: '; -$PHPMAILER_LANG['file_open'] = 'خطای File: امکان بازکردن فایل وجود ندارد: '; -$PHPMAILER_LANG['from_failed'] = 'آدرس فرستنده اشتباه است: '; -$PHPMAILER_LANG['instantiate'] = 'امکان معرفی تابع ایمیل وجود ندارد.'; -$PHPMAILER_LANG['invalid_address'] = 'آدرس ایمیل معتبر نیست: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer پشتیبانی نمی‌شود.'; -$PHPMAILER_LANG['provide_address'] = 'باید حداقل یک آدرس گیرنده وارد کنید.'; -$PHPMAILER_LANG['recipients_failed'] = 'خطای SMTP: ارسال به آدرس گیرنده با خطا مواجه شد: '; -$PHPMAILER_LANG['signing'] = 'خطا در امضا: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'خطا در اتصال به SMTP.'; -$PHPMAILER_LANG['smtp_error'] = 'خطا در SMTP Server: '; -$PHPMAILER_LANG['variable_set'] = 'امکان ارسال یا ارسال مجدد متغیر‌ها وجود ندارد: '; -$PHPMAILER_LANG['extension_missing'] = 'افزونه موجود نیست: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php deleted file mode 100644 index 243c0548..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +++ /dev/null @@ -1,28 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = 'Ókend encoding: '; -$PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: '; -$PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: '; -$PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: '; -$PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: '; -$PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.'; -//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.'; -$PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: '; -//$PHPMAILER_LANG['signing'] = 'Signing Error: '; -//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; -//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php deleted file mode 100644 index b57f0ec6..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +++ /dev/null @@ -1,32 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Erro SMTP: Non puido ser autentificado.'; -$PHPMAILER_LANG['connect_host'] = 'Erro SMTP: Non puido conectar co servidor SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Erro SMTP: Datos non aceptados.'; -$PHPMAILER_LANG['empty_message'] = 'Corpo da mensaxe vacía'; -$PHPMAILER_LANG['encoding'] = 'Codificación descoñecida: '; -$PHPMAILER_LANG['execute'] = 'Non puido ser executado: '; -$PHPMAILER_LANG['file_access'] = 'Nob puido acceder ó arquivo: '; -$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: No puido abrir o arquivo: '; -$PHPMAILER_LANG['from_failed'] = 'A(s) seguinte(s) dirección(s) de remitente(s) deron erro: '; -$PHPMAILER_LANG['instantiate'] = 'Non puido crear unha instancia da función Mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Non puido envia-lo correo: dirección de email inválida: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer non está soportado.'; -$PHPMAILER_LANG['provide_address'] = 'Debe engadir polo menos unha dirección de email coma destino.'; -$PHPMAILER_LANG['recipients_failed'] = 'Erro SMTP: Os seguintes destinos fallaron: '; -$PHPMAILER_LANG['signing'] = 'Erro ó firmar: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallou.'; -$PHPMAILER_LANG['smtp_error'] = 'Erro do servidor SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Non puidemos axustar ou reaxustar a variábel: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php deleted file mode 100644 index b123aa5f..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'שגיאת SMTP: פעולת האימות נכשלה.'; -$PHPMAILER_LANG['connect_host'] = 'שגיאת SMTP: לא הצלחתי להתחבר לשרת SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'שגיאת SMTP: מידע לא התקבל.'; -$PHPMAILER_LANG['empty_message'] = 'גוף ההודעה ריק'; -$PHPMAILER_LANG['invalid_address'] = 'כתובת שגויה: '; -$PHPMAILER_LANG['encoding'] = 'קידוד לא מוכר: '; -$PHPMAILER_LANG['execute'] = 'לא הצלחתי להפעיל את: '; -$PHPMAILER_LANG['file_access'] = 'לא ניתן לגשת לקובץ: '; -$PHPMAILER_LANG['file_open'] = 'שגיאת קובץ: לא ניתן לגשת לקובץ: '; -$PHPMAILER_LANG['from_failed'] = 'כתובות הנמענים הבאות נכשלו: '; -$PHPMAILER_LANG['instantiate'] = 'לא הצלחתי להפעיל את פונקציית המייל.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' אינה נתמכת.'; -$PHPMAILER_LANG['provide_address'] = 'חובה לספק לפחות כתובת אחת של מקבל המייל.'; -$PHPMAILER_LANG['recipients_failed'] = 'שגיאת SMTP: הנמענים הבאים נכשלו: '; -$PHPMAILER_LANG['signing'] = 'שגיאת חתימה: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -$PHPMAILER_LANG['smtp_error'] = 'שגיאת שרת SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'לא ניתן לקבוע או לשנות את המשתנה: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php deleted file mode 100644 index d973a359..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP त्रुटि: प्रामाणिकता की जांच नहीं हो सका। '; -$PHPMAILER_LANG['connect_host'] = 'SMTP त्रुटि: SMTP सर्वर से कनेक्ट नहीं हो सका। '; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP त्रुटि: डेटा स्वीकार नहीं किया जाता है। '; -$PHPMAILER_LANG['empty_message'] = 'संदेश खाली है। '; -$PHPMAILER_LANG['encoding'] = 'अज्ञात एन्कोडिंग प्रकार। '; -$PHPMAILER_LANG['execute'] = 'आदेश को निष्पादित करने में विफल। '; -$PHPMAILER_LANG['file_access'] = 'फ़ाइल उपलब्ध नहीं है। '; -$PHPMAILER_LANG['file_open'] = 'फ़ाइल त्रुटि: फाइल को खोला नहीं जा सका। '; -$PHPMAILER_LANG['from_failed'] = 'प्रेषक का पता गलत है। '; -$PHPMAILER_LANG['instantiate'] = 'मेल फ़ंक्शन कॉल नहीं कर सकता है।'; -$PHPMAILER_LANG['invalid_address'] = 'पता गलत है। '; -$PHPMAILER_LANG['mailer_not_supported'] = 'मेल सर्वर के साथ काम नहीं करता है। '; -$PHPMAILER_LANG['provide_address'] = 'आपको कम से कम एक प्राप्तकर्ता का ई-मेल पता प्रदान करना होगा।'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP त्रुटि: निम्न प्राप्तकर्ताओं को पते भेजने में विफल। '; -$PHPMAILER_LANG['signing'] = 'साइनअप त्रुटि:। '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP का connect () फ़ंक्शन विफल हुआ। '; -$PHPMAILER_LANG['smtp_error'] = 'SMTP सर्वर त्रुटि। '; -$PHPMAILER_LANG['variable_set'] = 'चर को बना या संशोधित नहीं किया जा सकता। '; -$PHPMAILER_LANG['extension_missing'] = 'एक्सटेन्षन गायब है: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php deleted file mode 100644 index cacb6c37..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela autentikacija.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Ne mogu se spojiti na SMTP poslužitelj.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.'; -$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; -$PHPMAILER_LANG['encoding'] = 'Nepoznati encoding: '; -$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: '; -$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; -$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; -$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje s navedenih e-mail adresa nije uspjelo: '; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedenih e-mail adresa nije uspjelo: '; -$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.'; -$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.'; -$PHPMAILER_LANG['provide_address'] = 'Definirajte barem jednu adresu primatelja.'; -$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP poslužitelj nije uspjelo.'; -$PHPMAILER_LANG['smtp_error'] = 'Greška SMTP poslužitelja: '; -$PHPMAILER_LANG['variable_set'] = 'Ne mogu postaviti varijablu niti ju vratiti nazad: '; -$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proširenje: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php deleted file mode 100644 index e6b58b0d..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP -ի սխալ: չհաջողվեց ստուգել իսկությունը.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP -ի սխալ: չհաջողվեց կապ հաստատել SMTP սերվերի հետ.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP -ի սխալ: տվյալները ընդունված չեն.'; -$PHPMAILER_LANG['empty_message'] = 'Հաղորդագրությունը դատարկ է'; -$PHPMAILER_LANG['encoding'] = 'Կոդավորման անհայտ տեսակ: '; -$PHPMAILER_LANG['execute'] = 'Չհաջողվեց իրականացնել հրամանը: '; -$PHPMAILER_LANG['file_access'] = 'Ֆայլը հասանելի չէ: '; -$PHPMAILER_LANG['file_open'] = 'Ֆայլի սխալ: ֆայլը չհաջողվեց բացել: '; -$PHPMAILER_LANG['from_failed'] = 'Ուղարկողի հետևյալ հասցեն սխալ է: '; -$PHPMAILER_LANG['instantiate'] = 'Հնարավոր չէ կանչել mail ֆունկցիան.'; -$PHPMAILER_LANG['invalid_address'] = 'Հասցեն սխալ է: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' փոստային սերվերի հետ չի աշխատում.'; -$PHPMAILER_LANG['provide_address'] = 'Անհրաժեշտ է տրամադրել գոնե մեկ ստացողի e-mail հասցե.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP -ի սխալ: չի հաջողվել ուղարկել հետևյալ ստացողների հասցեներին: '; -$PHPMAILER_LANG['signing'] = 'Ստորագրման սխալ: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP -ի connect() ֆունկցիան չի հաջողվել'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP սերվերի սխալ: '; -$PHPMAILER_LANG['variable_set'] = 'Չի հաջողվում ստեղծել կամ վերափոխել փոփոխականը: '; -$PHPMAILER_LANG['extension_missing'] = 'Հավելվածը բացակայում է: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php deleted file mode 100644 index 212a11f1..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @author @januridp - * @author Ian Mustafa - */ - -$PHPMAILER_LANG['authenticate'] = 'Kesalahan SMTP: Tidak dapat mengotentikasi.'; -$PHPMAILER_LANG['connect_host'] = 'Kesalahan SMTP: Tidak dapat terhubung ke host SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Kesalahan SMTP: Data tidak diterima.'; -$PHPMAILER_LANG['empty_message'] = 'Isi pesan kosong'; -$PHPMAILER_LANG['encoding'] = 'Pengkodean karakter tidak dikenali: '; -$PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses: '; -$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas: '; -$PHPMAILER_LANG['file_open'] = 'Kesalahan Berkas: Berkas tidak dapat dibuka: '; -$PHPMAILER_LANG['from_failed'] = 'Alamat pengirim berikut mengakibatkan kesalahan: '; -$PHPMAILER_LANG['instantiate'] = 'Tidak dapat menginisialisasi fungsi surel.'; -$PHPMAILER_LANG['invalid_address'] = 'Gagal terkirim, alamat surel tidak sesuai: '; -$PHPMAILER_LANG['invalid_hostentry'] = 'Gagal terkirim, entri host tidak sesuai: '; -$PHPMAILER_LANG['invalid_host'] = 'Gagal terkirim, host tidak sesuai: '; -$PHPMAILER_LANG['provide_address'] = 'Harus tersedia minimal satu alamat tujuan'; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tidak didukung'; -$PHPMAILER_LANG['recipients_failed'] = 'Kesalahan SMTP: Alamat tujuan berikut menyebabkan kesalahan: '; -$PHPMAILER_LANG['signing'] = 'Kesalahan dalam penandatangan SSL: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.'; -$PHPMAILER_LANG['smtp_error'] = 'Kesalahan pada pelayan SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Tidak dapat mengatur atau mengatur ulang variabel: '; -$PHPMAILER_LANG['extension_missing'] = 'Ekstensi PHP tidak tersedia: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php deleted file mode 100644 index 08a6b733..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @author Stefano Sabatini - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dati non accettati dal server.'; -$PHPMAILER_LANG['empty_message'] = 'Il corpo del messaggio è vuoto'; -$PHPMAILER_LANG['encoding'] = 'Codifica dei caratteri sconosciuta: '; -$PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: '; -$PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: '; -$PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: '; -$PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: '; -$PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail'; -$PHPMAILER_LANG['invalid_address'] = 'Impossibile inviare, l\'indirizzo email non è valido: '; -$PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente'; -$PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato un errore: '; -$PHPMAILER_LANG['signing'] = 'Errore nella firma: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallita.'; -$PHPMAILER_LANG['smtp_error'] = 'Errore del server SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Impossibile impostare o resettare la variabile: '; -$PHPMAILER_LANG['extension_missing'] = 'Estensione mancante: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php deleted file mode 100644 index eee79898..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @author Yoshi Sakai - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTPエラー: 認証できませんでした。'; -$PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPホストに接続できませんでした。'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データが受け付けられませんでした。'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = '不明なエンコーディング: '; -$PHPMAILER_LANG['execute'] = '実行できませんでした: '; -$PHPMAILER_LANG['file_access'] = 'ファイルにアクセスできません: '; -$PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開けません: '; -$PHPMAILER_LANG['from_failed'] = 'Fromアドレスを登録する際にエラーが発生しました: '; -$PHPMAILER_LANG['instantiate'] = 'メール関数が正常に動作しませんでした。'; -//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: '; -$PHPMAILER_LANG['provide_address'] = '少なくとも1つメールアドレスを 指定する必要があります。'; -$PHPMAILER_LANG['mailer_not_supported'] = ' メーラーがサポートされていません。'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次の受信者アドレスに 間違いがあります: '; -//$PHPMAILER_LANG['signing'] = 'Signing Error: '; -//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; -//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; -//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php deleted file mode 100644 index 51fe403b..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP შეცდომა: ავტორიზაცია შეუძლებელია.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP შეცდომა: SMTP სერვერთან დაკავშირება შეუძლებელია.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP შეცდომა: მონაცემები არ იქნა მიღებული.'; -$PHPMAILER_LANG['encoding'] = 'კოდირების უცნობი ტიპი: '; -$PHPMAILER_LANG['execute'] = 'შეუძლებელია შემდეგი ბრძანების შესრულება: '; -$PHPMAILER_LANG['file_access'] = 'შეუძლებელია წვდომა ფაილთან: '; -$PHPMAILER_LANG['file_open'] = 'ფაილური სისტემის შეცდომა: არ იხსნება ფაილი: '; -$PHPMAILER_LANG['from_failed'] = 'გამგზავნის არასწორი მისამართი: '; -$PHPMAILER_LANG['instantiate'] = 'mail ფუნქციის გაშვება ვერ ხერხდება.'; -$PHPMAILER_LANG['provide_address'] = 'გთხოვთ მიუთითოთ ერთი ადრესატის e-mail მისამართი მაინც.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' - საფოსტო სერვერის მხარდაჭერა არ არის.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP შეცდომა: შემდეგ მისამართებზე გაგზავნა ვერ მოხერხდა: '; -$PHPMAILER_LANG['empty_message'] = 'შეტყობინება ცარიელია'; -$PHPMAILER_LANG['invalid_address'] = 'არ გაიგზავნა, e-mail მისამართის არასწორი ფორმატი: '; -$PHPMAILER_LANG['signing'] = 'ხელმოწერის შეცდომა: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'შეცდომა SMTP სერვერთან დაკავშირებისას'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP სერვერის შეცდომა: '; -$PHPMAILER_LANG['variable_set'] = 'შეუძლებელია შემდეგი ცვლადის შექმნა ან შეცვლა: '; -$PHPMAILER_LANG['extension_missing'] = 'ბიბლიოთეკა არ არსებობს: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php deleted file mode 100644 index 8c97dd94..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP 오류: 인증할 수 없습니다.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP 오류: SMTP 호스트에 접속할 수 없습니다.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 오류: 데이터가 받아들여지지 않았습니다.'; -$PHPMAILER_LANG['empty_message'] = '메세지 내용이 없습니다'; -$PHPMAILER_LANG['encoding'] = '알 수 없는 인코딩: '; -$PHPMAILER_LANG['execute'] = '실행 불가: '; -$PHPMAILER_LANG['file_access'] = '파일 접근 불가: '; -$PHPMAILER_LANG['file_open'] = '파일 오류: 파일을 열 수 없습니다: '; -$PHPMAILER_LANG['from_failed'] = '다음 From 주소에서 오류가 발생했습니다: '; -$PHPMAILER_LANG['instantiate'] = 'mail 함수를 인스턴스화할 수 없습니다'; -$PHPMAILER_LANG['invalid_address'] = '잘못된 주소: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' 메일러는 지원되지 않습니다.'; -$PHPMAILER_LANG['provide_address'] = '적어도 한 개 이상의 수신자 메일 주소를 제공해야 합니다.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP 오류: 다음 수신자에서 오류가 발생했습니다: '; -$PHPMAILER_LANG['signing'] = '서명 오류: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 연결을 실패하였습니다.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP 서버 오류: '; -$PHPMAILER_LANG['variable_set'] = '변수 설정 및 초기화 불가: '; -$PHPMAILER_LANG['extension_missing'] = '확장자 없음: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php deleted file mode 100644 index 4f115b1c..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP klaida: autentifikacija nepavyko.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP klaida: nepavyksta prisijungti prie SMTP stoties.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP klaida: duomenys nepriimti.'; -$PHPMAILER_LANG['empty_message'] = 'Laiško turinys tuščias'; -$PHPMAILER_LANG['encoding'] = 'Neatpažinta koduotė: '; -$PHPMAILER_LANG['execute'] = 'Nepavyko įvykdyti komandos: '; -$PHPMAILER_LANG['file_access'] = 'Byla nepasiekiama: '; -$PHPMAILER_LANG['file_open'] = 'Bylos klaida: Nepavyksta atidaryti: '; -$PHPMAILER_LANG['from_failed'] = 'Neteisingas siuntėjo adresas: '; -$PHPMAILER_LANG['instantiate'] = 'Nepavyko paleisti mail funkcijos.'; -$PHPMAILER_LANG['invalid_address'] = 'Neteisingas adresas: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' pašto stotis nepalaikoma.'; -$PHPMAILER_LANG['provide_address'] = 'Nurodykite bent vieną gavėjo adresą.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP klaida: nepavyko išsiųsti šiems gavėjams: '; -$PHPMAILER_LANG['signing'] = 'Prisijungimo klaida: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP susijungimo klaida'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP stoties klaida: '; -$PHPMAILER_LANG['variable_set'] = 'Nepavyko priskirti reikšmės kintamajam: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php deleted file mode 100644 index 679b18cf..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP kļūda: Autorizācija neizdevās.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Kļūda: Nevar izveidot savienojumu ar SMTP serveri.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Kļūda: Nepieņem informāciju.'; -$PHPMAILER_LANG['empty_message'] = 'Ziņojuma teksts ir tukšs'; -$PHPMAILER_LANG['encoding'] = 'Neatpazīts kodējums: '; -$PHPMAILER_LANG['execute'] = 'Neizdevās izpildīt komandu: '; -$PHPMAILER_LANG['file_access'] = 'Fails nav pieejams: '; -$PHPMAILER_LANG['file_open'] = 'Faila kļūda: Nevar atvērt failu: '; -$PHPMAILER_LANG['from_failed'] = 'Nepareiza sūtītāja adrese: '; -$PHPMAILER_LANG['instantiate'] = 'Nevar palaist sūtīšanas funkciju.'; -$PHPMAILER_LANG['invalid_address'] = 'Nepareiza adrese: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' sūtītājs netiek atbalstīts.'; -$PHPMAILER_LANG['provide_address'] = 'Lūdzu, norādiet vismaz vienu adresātu.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP kļūda: neizdevās nosūtīt šādiem saņēmējiem: '; -$PHPMAILER_LANG['signing'] = 'Autorizācijas kļūda: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP savienojuma kļūda'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP servera kļūda: '; -$PHPMAILER_LANG['variable_set'] = 'Nevar piešķirt mainīgā vērtību: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php deleted file mode 100644 index 8a94f6a0..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Hadisoana SMTP: Tsy nahomby ny fanamarinana.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Tsy afaka mampifandray amin\'ny mpampiantrano SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP diso: tsy voarakitra ny angona.'; -$PHPMAILER_LANG['empty_message'] = 'Tsy misy ny votoaty mailaka.'; -$PHPMAILER_LANG['encoding'] = 'Tsy fantatra encoding: '; -$PHPMAILER_LANG['execute'] = 'Tsy afaka manatanteraka ity baiko manaraka ity: '; -$PHPMAILER_LANG['file_access'] = 'Tsy nahomby ny fidirana amin\'ity rakitra ity: '; -$PHPMAILER_LANG['file_open'] = 'Hadisoana diso: Tsy afaka nanokatra ity file manaraka ity: '; -$PHPMAILER_LANG['from_failed'] = 'Ny adiresy iraka manaraka dia diso: '; -$PHPMAILER_LANG['instantiate'] = 'Tsy afaka nanomboka ny hetsika mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Tsy mety ny adiresy: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tsy manohana.'; -$PHPMAILER_LANG['provide_address'] = 'Alefaso azafady iray adiresy iray farafahakeliny.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Tsy mety ireo mpanaraka ireto: '; -$PHPMAILER_LANG['signing'] = 'Error nandritra ny sonia:'; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Tsy nahomby ny fifandraisana tamin\'ny server SMTP.'; -$PHPMAILER_LANG['smtp_error'] = 'Fahadisoana tamin\'ny server SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Tsy azo atao ny mametraka na mamerina ny variable: '; -$PHPMAILER_LANG['extension_missing'] = 'Tsy hita ny ampahany: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php deleted file mode 100644 index 71db3383..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Ralat SMTP: Tidak dapat pengesahan.'; -$PHPMAILER_LANG['connect_host'] = 'Ralat SMTP: Tidak dapat menghubungi hos pelayan SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Ralat SMTP: Data tidak diterima oleh pelayan.'; -$PHPMAILER_LANG['empty_message'] = 'Tiada isi untuk mesej'; -$PHPMAILER_LANG['encoding'] = 'Pengekodan tidak diketahui: '; -$PHPMAILER_LANG['execute'] = 'Tidak dapat melaksanakan: '; -$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses fail: '; -$PHPMAILER_LANG['file_open'] = 'Ralat Fail: Tidak dapat membuka fail: '; -$PHPMAILER_LANG['from_failed'] = 'Berikut merupakan ralat dari alamat e-mel: '; -$PHPMAILER_LANG['instantiate'] = 'Tidak dapat memberi contoh fungsi e-mel.'; -$PHPMAILER_LANG['invalid_address'] = 'Alamat emel tidak sah: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' jenis penghantar emel tidak disokong.'; -$PHPMAILER_LANG['provide_address'] = 'Anda perlu menyediakan sekurang-kurangnya satu alamat e-mel penerima.'; -$PHPMAILER_LANG['recipients_failed'] = 'Ralat SMTP: Penerima e-mel berikut telah gagal: '; -$PHPMAILER_LANG['signing'] = 'Ralat pada tanda tangan: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() telah gagal.'; -$PHPMAILER_LANG['smtp_error'] = 'Ralat pada pelayan SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Tidak boleh menetapkan atau menetapkan semula pembolehubah: '; -$PHPMAILER_LANG['extension_missing'] = 'Sambungan hilang: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php deleted file mode 100644 index 65793ce2..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php +++ /dev/null @@ -1,26 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP-fout: authenticatie mislukt.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon niet verbinden met SMTP-host.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data niet geaccepteerd.'; -$PHPMAILER_LANG['empty_message'] = 'Berichttekst is leeg'; -$PHPMAILER_LANG['encoding'] = 'Onbekende codering: '; -$PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: '; -$PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: '; -$PHPMAILER_LANG['file_open'] = 'Bestandsfout: kon bestand niet openen: '; -$PHPMAILER_LANG['from_failed'] = 'Het volgende afzendersadres is mislukt: '; -$PHPMAILER_LANG['instantiate'] = 'Kon mailfunctie niet initialiseren.'; -$PHPMAILER_LANG['invalid_address'] = 'Ongeldig adres: '; -$PHPMAILER_LANG['invalid_hostentry'] = 'Ongeldige hostentry: '; -$PHPMAILER_LANG['invalid_host'] = 'Ongeldige host: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.'; -$PHPMAILER_LANG['provide_address'] = 'Er moet minstens één ontvanger worden opgegeven.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: de volgende ontvangers zijn mislukt: '; -$PHPMAILER_LANG['signing'] = 'Signeerfout: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Verbinding mislukt.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP-serverfout: '; -$PHPMAILER_LANG['variable_set'] = 'Kan de volgende variabele niet instellen of resetten: '; -$PHPMAILER_LANG['extension_missing'] = 'Extensie afwezig: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php deleted file mode 100644 index 23caa71b..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Erro do SMTP: Não foi possível realizar a autenticação.'; -$PHPMAILER_LANG['connect_host'] = 'Erro do SMTP: Não foi possível realizar ligação com o servidor SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Erro do SMTP: Os dados foram rejeitados.'; -$PHPMAILER_LANG['empty_message'] = 'A mensagem no e-mail está vazia.'; -$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: '; -$PHPMAILER_LANG['execute'] = 'Não foi possível executar: '; -$PHPMAILER_LANG['file_access'] = 'Não foi possível aceder o ficheiro: '; -$PHPMAILER_LANG['file_open'] = 'Abertura do ficheiro: Não foi possível abrir o ficheiro: '; -$PHPMAILER_LANG['from_failed'] = 'Ocorreram falhas nos endereços dos seguintes remententes: '; -$PHPMAILER_LANG['instantiate'] = 'Não foi possível iniciar uma instância da função mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Não foi enviado nenhum e-mail para o endereço de e-mail inválido: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.'; -$PHPMAILER_LANG['provide_address'] = 'Tem de fornecer pelo menos um endereço como destinatário do e-mail.'; -$PHPMAILER_LANG['recipients_failed'] = 'Erro do SMTP: O endereço do seguinte destinatário falhou: '; -$PHPMAILER_LANG['signing'] = 'Erro ao assinar: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.'; -$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: '; -$PHPMAILER_LANG['extension_missing'] = 'Extensão em falta: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php deleted file mode 100644 index d8638098..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php +++ /dev/null @@ -1,30 +0,0 @@ - - * @author Lucas Guimarães - * @author Phelipe Alves - * @author Fabio Beneditto - */ - -$PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.'; -$PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar ao servidor SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados rejeitados.'; -$PHPMAILER_LANG['empty_message'] = 'Mensagem vazia'; -$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: '; -$PHPMAILER_LANG['execute'] = 'Não foi possível executar: '; -$PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: '; -$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: '; -$PHPMAILER_LANG['from_failed'] = 'Os seguintes remetentes falharam: '; -$PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.'; -$PHPMAILER_LANG['invalid_address'] = 'Endereço de e-mail inválido: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.'; -$PHPMAILER_LANG['provide_address'] = 'Você deve informar pelo menos um destinatário.'; -$PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os seguintes destinatários falharam: '; -$PHPMAILER_LANG['signing'] = 'Erro de Assinatura: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.'; -$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: '; -$PHPMAILER_LANG['extension_missing'] = 'Extensão não existe: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php deleted file mode 100644 index 292ec1e4..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Eroare SMTP: Autentificarea a eșuat.'; -$PHPMAILER_LANG['connect_host'] = 'Eroare SMTP: Conectarea la serverul SMTP a eșuat.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Eroare SMTP: Datele nu au fost acceptate.'; -$PHPMAILER_LANG['empty_message'] = 'Mesajul este gol.'; -$PHPMAILER_LANG['encoding'] = 'Encodare necunoscută: '; -$PHPMAILER_LANG['execute'] = 'Nu se poate executa următoarea comandă: '; -$PHPMAILER_LANG['file_access'] = 'Nu se poate accesa următorul fișier: '; -$PHPMAILER_LANG['file_open'] = 'Eroare fișier: Nu se poate deschide următorul fișier: '; -$PHPMAILER_LANG['from_failed'] = 'Următoarele adrese From au dat eroare: '; -$PHPMAILER_LANG['instantiate'] = 'Funcția mail nu a putut fi inițializată.'; -$PHPMAILER_LANG['invalid_address'] = 'Adresa de email nu este validă: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nu este suportat.'; -$PHPMAILER_LANG['provide_address'] = 'Trebuie să adăugați cel puțin o adresă de email.'; -$PHPMAILER_LANG['recipients_failed'] = 'Eroare SMTP: Următoarele adrese de email au eșuat: '; -$PHPMAILER_LANG['signing'] = 'A aparut o problemă la semnarea emailului. '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Conectarea la serverul SMTP a eșuat.'; -$PHPMAILER_LANG['smtp_error'] = 'Eroare server SMTP: '; -$PHPMAILER_LANG['variable_set'] = 'Nu se poate seta/reseta variabila. '; -$PHPMAILER_LANG['extension_missing'] = 'Lipsește extensia: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php deleted file mode 100644 index 8c8c5e81..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @author Foster Snowhill - */ - -$PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.'; -$PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удается подключиться к SMTP-серверу.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не приняты.'; -$PHPMAILER_LANG['encoding'] = 'Неизвестная кодировка: '; -$PHPMAILER_LANG['execute'] = 'Невозможно выполнить команду: '; -$PHPMAILER_LANG['file_access'] = 'Нет доступа к файлу: '; -$PHPMAILER_LANG['file_open'] = 'Файловая ошибка: не удаётся открыть файл: '; -$PHPMAILER_LANG['from_failed'] = 'Неверный адрес отправителя: '; -$PHPMAILER_LANG['instantiate'] = 'Невозможно запустить функцию mail().'; -$PHPMAILER_LANG['provide_address'] = 'Пожалуйста, введите хотя бы один email-адрес получателя.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' — почтовый сервер не поддерживается.'; -$PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: не удалась отправка таким адресатам: '; -$PHPMAILER_LANG['empty_message'] = 'Пустое сообщение'; -$PHPMAILER_LANG['invalid_address'] = 'Не отправлено из-за неправильного формата email-адреса: '; -$PHPMAILER_LANG['signing'] = 'Ошибка подписи: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Ошибка соединения с SMTP-сервером'; -$PHPMAILER_LANG['smtp_error'] = 'Ошибка SMTP-сервера: '; -$PHPMAILER_LANG['variable_set'] = 'Невозможно установить или сбросить переменную: '; -$PHPMAILER_LANG['extension_missing'] = 'Расширение отсутствует: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php deleted file mode 100644 index 028f5bc4..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +++ /dev/null @@ -1,30 +0,0 @@ - - * @author Peter Orlický - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentifikácie.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nebolo možné nadviazať spojenie so SMTP serverom.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dáta neboli prijaté'; -$PHPMAILER_LANG['empty_message'] = 'Prázdne telo správy.'; -$PHPMAILER_LANG['encoding'] = 'Neznáme kódovanie: '; -$PHPMAILER_LANG['execute'] = 'Nedá sa vykonať: '; -$PHPMAILER_LANG['file_access'] = 'Súbor nebol nájdený: '; -$PHPMAILER_LANG['file_open'] = 'File Error: Súbor sa otvoriť pre čítanie: '; -$PHPMAILER_LANG['from_failed'] = 'Následujúca adresa From je nesprávna: '; -$PHPMAILER_LANG['instantiate'] = 'Nedá sa vytvoriť inštancia emailovej funkcie.'; -$PHPMAILER_LANG['invalid_address'] = 'Neodoslané, emailová adresa je nesprávna: '; -$PHPMAILER_LANG['invalid_hostentry'] = 'Záznam hostiteľa je nesprávny: '; -$PHPMAILER_LANG['invalid_host'] = 'Hostiteľ je nesprávny: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' emailový klient nieje podporovaný.'; -$PHPMAILER_LANG['provide_address'] = 'Musíte zadať aspoň jednu emailovú adresu príjemcu.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy príjemcov niesu správne '; -$PHPMAILER_LANG['signing'] = 'Chyba prihlasovania: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zlyhalo.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP chyba serveru: '; -$PHPMAILER_LANG['variable_set'] = 'Nemožno nastaviť alebo resetovať premennú: '; -$PHPMAILER_LANG['extension_missing'] = 'Chýba rozšírenie: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php deleted file mode 100644 index c437a886..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @author Filip Š - * @author Blaž Oražem - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP napaka: Avtentikacija ni uspela.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP napaka: Vzpostavljanje povezave s SMTP gostiteljem ni uspelo.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP napaka: Strežnik zavrača podatke.'; -$PHPMAILER_LANG['empty_message'] = 'E-poštno sporočilo nima vsebine.'; -$PHPMAILER_LANG['encoding'] = 'Nepoznan tip kodiranja: '; -$PHPMAILER_LANG['execute'] = 'Operacija ni uspela: '; -$PHPMAILER_LANG['file_access'] = 'Nimam dostopa do datoteke: '; -$PHPMAILER_LANG['file_open'] = 'Ne morem odpreti datoteke: '; -$PHPMAILER_LANG['from_failed'] = 'Neveljaven e-naslov pošiljatelja: '; -$PHPMAILER_LANG['instantiate'] = 'Ne morem inicializirati mail funkcije.'; -$PHPMAILER_LANG['invalid_address'] = 'E-poštno sporočilo ni bilo poslano. E-naslov je neveljaven: '; -$PHPMAILER_LANG['invalid_hostentry'] = 'Neveljaven vnos gostitelja: '; -$PHPMAILER_LANG['invalid_host'] = 'Neveljaven gostitelj: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer ni podprt.'; -$PHPMAILER_LANG['provide_address'] = 'Prosimo, vnesite vsaj enega naslovnika.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP napaka: Sledeči naslovniki so neveljavni: '; -$PHPMAILER_LANG['signing'] = 'Napaka pri podpisovanju: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Ne morem vzpostaviti povezave s SMTP strežnikom.'; -$PHPMAILER_LANG['smtp_error'] = 'Napaka SMTP strežnika: '; -$PHPMAILER_LANG['variable_set'] = 'Ne morem nastaviti oz. ponastaviti spremenljivke: '; -$PHPMAILER_LANG['extension_missing'] = 'Manjkajoča razširitev: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php deleted file mode 100644 index 0b5280f7..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @author Miloš Milanović - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: аутентификација није успела.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: повезивање са SMTP сервером није успело.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: подаци нису прихваћени.'; -$PHPMAILER_LANG['empty_message'] = 'Садржај поруке је празан.'; -$PHPMAILER_LANG['encoding'] = 'Непознато кодирање: '; -$PHPMAILER_LANG['execute'] = 'Није могуће извршити наредбу: '; -$PHPMAILER_LANG['file_access'] = 'Није могуће приступити датотеци: '; -$PHPMAILER_LANG['file_open'] = 'Није могуће отворити датотеку: '; -$PHPMAILER_LANG['from_failed'] = 'SMTP грешка: слање са следећих адреса није успело: '; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: слање на следеће адресе није успело: '; -$PHPMAILER_LANG['instantiate'] = 'Није могуће покренути mail функцију.'; -$PHPMAILER_LANG['invalid_address'] = 'Порука није послата. Неисправна адреса: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' мејлер није подржан.'; -$PHPMAILER_LANG['provide_address'] = 'Дефинишите бар једну адресу примаоца.'; -$PHPMAILER_LANG['signing'] = 'Грешка приликом пријаве: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Повезивање са SMTP сервером није успело.'; -$PHPMAILER_LANG['smtp_error'] = 'Грешка SMTP сервера: '; -$PHPMAILER_LANG['variable_set'] = 'Није могуће задати нити ресетовати променљиву: '; -$PHPMAILER_LANG['extension_missing'] = 'Недостаје проширење: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr_latn.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr_latn.php deleted file mode 100644 index 62138329..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr_latn.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @author Miloš Milanović - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP greška: autentifikacija nije uspela.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP greška: povezivanje sa SMTP serverom nije uspelo.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP greška: podaci nisu prihvaćeni.'; -$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; -$PHPMAILER_LANG['encoding'] = 'Nepoznato kodiranje: '; -$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: '; -$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; -$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; -$PHPMAILER_LANG['from_failed'] = 'SMTP greška: slanje sa sledećih adresa nije uspelo: '; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP greška: slanje na sledeće adrese nije uspelo: '; -$PHPMAILER_LANG['instantiate'] = 'Nije moguće pokrenuti mail funkciju.'; -$PHPMAILER_LANG['invalid_address'] = 'Poruka nije poslata. Neispravna adresa: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' majler nije podržan.'; -$PHPMAILER_LANG['provide_address'] = 'Definišite bar jednu adresu primaoca.'; -$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Povezivanje sa SMTP serverom nije uspelo.'; -$PHPMAILER_LANG['smtp_error'] = 'Greška SMTP servera: '; -$PHPMAILER_LANG['variable_set'] = 'Nije moguće zadati niti resetovati promenljivu: '; -$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proširenje: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php deleted file mode 100644 index 9872c192..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.'; -//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; -$PHPMAILER_LANG['encoding'] = 'Okänt encode-format: '; -$PHPMAILER_LANG['execute'] = 'Kunde inte köra: '; -$PHPMAILER_LANG['file_access'] = 'Ingen åtkomst till fil: '; -$PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: '; -$PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: '; -$PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.'; -$PHPMAILER_LANG['invalid_address'] = 'Felaktig adress: '; -$PHPMAILER_LANG['provide_address'] = 'Du måste ange minst en mottagares e-postadress.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: '; -$PHPMAILER_LANG['signing'] = 'Signeringsfel: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() misslyckades.'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP serverfel: '; -$PHPMAILER_LANG['variable_set'] = 'Kunde inte definiera eller återställa variabel: '; -$PHPMAILER_LANG['extension_missing'] = 'Tillägg ej tillgängligt: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php deleted file mode 100644 index d15bed1c..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php +++ /dev/null @@ -1,28 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Hindi mapatotohanan.'; -$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Hindi makakonekta sa SMTP host.'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Ang datos ay hindi naitanggap.'; -$PHPMAILER_LANG['empty_message'] = 'Walang laman ang mensahe'; -$PHPMAILER_LANG['encoding'] = 'Hindi alam ang encoding: '; -$PHPMAILER_LANG['execute'] = 'Hindi maisasagawa: '; -$PHPMAILER_LANG['file_access'] = 'Hindi ma-access ang file: '; -$PHPMAILER_LANG['file_open'] = 'File Error: Hindi mabuksan ang file: '; -$PHPMAILER_LANG['from_failed'] = 'Ang sumusunod na address ay nabigo: '; -$PHPMAILER_LANG['instantiate'] = 'Hindi maisimulan ang instance ng mail function.'; -$PHPMAILER_LANG['invalid_address'] = 'Hindi wasto ang address na naibigay: '; -$PHPMAILER_LANG['mailer_not_supported'] = 'Ang mailer ay hindi suportado.'; -$PHPMAILER_LANG['provide_address'] = 'Kailangan mong magbigay ng kahit isang email address na tatanggap.'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Ang mga sumusunod na tatanggap ay nabigo: '; -$PHPMAILER_LANG['signing'] = 'Hindi ma-sign: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Ang SMTP connect() ay nabigo.'; -$PHPMAILER_LANG['smtp_error'] = 'Ang server ng SMTP ay nabigo: '; -$PHPMAILER_LANG['variable_set'] = 'Hindi matatakda o ma-reset ang mga variables: '; -$PHPMAILER_LANG['extension_missing'] = 'Nawawala ang extension: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php deleted file mode 100644 index f938f802..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @fixed by Boris Yurchenko - */ - -$PHPMAILER_LANG['authenticate'] = 'Помилка SMTP: помилка авторизації.'; -$PHPMAILER_LANG['connect_host'] = 'Помилка SMTP: не вдається під\'єднатися до SMTP-серверу.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Помилка SMTP: дані не прийнято.'; -$PHPMAILER_LANG['encoding'] = 'Невідоме кодування: '; -$PHPMAILER_LANG['execute'] = 'Неможливо виконати команду: '; -$PHPMAILER_LANG['file_access'] = 'Немає доступу до файлу: '; -$PHPMAILER_LANG['file_open'] = 'Помилка файлової системи: не вдається відкрити файл: '; -$PHPMAILER_LANG['from_failed'] = 'Невірна адреса відправника: '; -$PHPMAILER_LANG['instantiate'] = 'Неможливо запустити функцію mail().'; -$PHPMAILER_LANG['provide_address'] = 'Будь ласка, введіть хоча б одну email-адресу отримувача.'; -$PHPMAILER_LANG['mailer_not_supported'] = ' - поштовий сервер не підтримується.'; -$PHPMAILER_LANG['recipients_failed'] = 'Помилка SMTP: не вдалося відправлення для таких отримувачів: '; -$PHPMAILER_LANG['empty_message'] = 'Пусте повідомлення'; -$PHPMAILER_LANG['invalid_address'] = 'Не відправлено через неправильний формат email-адреси: '; -$PHPMAILER_LANG['signing'] = 'Помилка підпису: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Помилка з\'єднання з SMTP-сервером'; -$PHPMAILER_LANG['smtp_error'] = 'Помилка SMTP-сервера: '; -$PHPMAILER_LANG['variable_set'] = 'Неможливо встановити або скинути змінну: '; -$PHPMAILER_LANG['extension_missing'] = 'Розширення відсутнє: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php deleted file mode 100644 index d65576e2..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php +++ /dev/null @@ -1,27 +0,0 @@ - - */ - -$PHPMAILER_LANG['authenticate'] = 'Lỗi SMTP: Không thể xác thực.'; -$PHPMAILER_LANG['connect_host'] = 'Lỗi SMTP: Không thể kết nối máy chủ SMTP.'; -$PHPMAILER_LANG['data_not_accepted'] = 'Lỗi SMTP: Dữ liệu không được chấp nhận.'; -$PHPMAILER_LANG['empty_message'] = 'Không có nội dung'; -$PHPMAILER_LANG['encoding'] = 'Mã hóa không xác định: '; -$PHPMAILER_LANG['execute'] = 'Không thực hiện được: '; -$PHPMAILER_LANG['file_access'] = 'Không thể truy cập tệp tin '; -$PHPMAILER_LANG['file_open'] = 'Lỗi Tập tin: Không thể mở tệp tin: '; -$PHPMAILER_LANG['from_failed'] = 'Lỗi địa chỉ gửi đi: '; -$PHPMAILER_LANG['instantiate'] = 'Không dùng được các hàm gửi thư.'; -$PHPMAILER_LANG['invalid_address'] = 'Đại chỉ emai không đúng: '; -$PHPMAILER_LANG['mailer_not_supported'] = ' trình gửi thư không được hỗ trợ.'; -$PHPMAILER_LANG['provide_address'] = 'Bạn phải cung cấp ít nhất một địa chỉ người nhận.'; -$PHPMAILER_LANG['recipients_failed'] = 'Lỗi SMTP: lỗi địa chỉ người nhận: '; -$PHPMAILER_LANG['signing'] = 'Lỗi đăng nhập: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'Lỗi kết nối với SMTP'; -$PHPMAILER_LANG['smtp_error'] = 'Lỗi máy chủ smtp '; -$PHPMAILER_LANG['variable_set'] = 'Không thể thiết lập hoặc thiết lập lại biến: '; -//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php deleted file mode 100644 index 35e4e700..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @author Peter Dave Hello <@PeterDaveHello/> - * @author Jason Chiang - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登入失敗。'; -$PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連線到 SMTP 主機。'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:無法接受的資料。'; -$PHPMAILER_LANG['empty_message'] = '郵件內容為空'; -$PHPMAILER_LANG['encoding'] = '未知編碼: '; -$PHPMAILER_LANG['execute'] = '無法執行:'; -$PHPMAILER_LANG['file_access'] = '無法存取檔案:'; -$PHPMAILER_LANG['file_open'] = '檔案錯誤:無法開啟檔案:'; -$PHPMAILER_LANG['from_failed'] = '發送地址錯誤:'; -$PHPMAILER_LANG['instantiate'] = '未知函數呼叫。'; -$PHPMAILER_LANG['invalid_address'] = '因為電子郵件地址無效,無法傳送: '; -$PHPMAILER_LANG['mailer_not_supported'] = '不支援的發信客戶端。'; -$PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:以下收件人地址錯誤:'; -$PHPMAILER_LANG['signing'] = '電子簽章錯誤: '; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 連線失敗'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP 伺服器錯誤: '; -$PHPMAILER_LANG['variable_set'] = '無法設定或重設變數: '; -$PHPMAILER_LANG['extension_missing'] = '遺失模組 Extension: '; diff --git a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php b/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php deleted file mode 100644 index 728a4994..00000000 --- a/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +++ /dev/null @@ -1,29 +0,0 @@ - - * @author young - * @author Teddysun - */ - -$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。'; -$PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。'; -$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。'; -$PHPMAILER_LANG['empty_message'] = '邮件正文为空。'; -$PHPMAILER_LANG['encoding'] = '未知编码:'; -$PHPMAILER_LANG['execute'] = '无法执行:'; -$PHPMAILER_LANG['file_access'] = '无法访问文件:'; -$PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:'; -$PHPMAILER_LANG['from_failed'] = '发送地址错误:'; -$PHPMAILER_LANG['instantiate'] = '未知函数调用。'; -$PHPMAILER_LANG['invalid_address'] = '发送失败,电子邮箱地址是无效的:'; -$PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。'; -$PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。'; -$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:'; -$PHPMAILER_LANG['signing'] = '登录失败:'; -$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP服务器连接失败。'; -$PHPMAILER_LANG['smtp_error'] = 'SMTP服务器出错:'; -$PHPMAILER_LANG['variable_set'] = '无法设置或重置变量:'; -$PHPMAILER_LANG['extension_missing'] = '丢失模块 Extension:'; diff --git a/vendor/phpmailer/phpmailer/phpunit.xml.dist b/vendor/phpmailer/phpmailer/phpunit.xml.dist deleted file mode 100644 index c68df965..00000000 --- a/vendor/phpmailer/phpmailer/phpunit.xml.dist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - ./test/ - - - - - - - - languages - pop3 - - - - - ./src - - - - - - - - diff --git a/vendor/phpmailer/phpmailer/src/Exception.php b/vendor/phpmailer/phpmailer/src/Exception.php deleted file mode 100644 index a50a8991..00000000 --- a/vendor/phpmailer/phpmailer/src/Exception.php +++ /dev/null @@ -1,40 +0,0 @@ - - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - * @copyright 2012 - 2020 Marcus Bointon - * @copyright 2010 - 2012 Jim Jagielski - * @copyright 2004 - 2009 Andy Prevost - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @note This program is distributed in the hope that it will be useful - WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - */ - -namespace PHPMailer\PHPMailer; - -/** - * PHPMailer exception handler. - * - * @author Marcus Bointon - */ -class Exception extends \Exception -{ - /** - * Prettify error message output. - * - * @return string - */ - public function errorMessage() - { - return '' . htmlspecialchars($this->getMessage()) . "
          \n"; - } -} diff --git a/vendor/phpmailer/phpmailer/src/OAuth.php b/vendor/phpmailer/phpmailer/src/OAuth.php deleted file mode 100644 index c93d0be1..00000000 --- a/vendor/phpmailer/phpmailer/src/OAuth.php +++ /dev/null @@ -1,139 +0,0 @@ - - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - * @copyright 2012 - 2020 Marcus Bointon - * @copyright 2010 - 2012 Jim Jagielski - * @copyright 2004 - 2009 Andy Prevost - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @note This program is distributed in the hope that it will be useful - WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - */ - -namespace PHPMailer\PHPMailer; - -use League\OAuth2\Client\Grant\RefreshToken; -use League\OAuth2\Client\Provider\AbstractProvider; -use League\OAuth2\Client\Token\AccessToken; - -/** - * OAuth - OAuth2 authentication wrapper class. - * Uses the oauth2-client package from the League of Extraordinary Packages. - * - * @see http://oauth2-client.thephpleague.com - * - * @author Marcus Bointon (Synchro/coolbru) - */ -class OAuth -{ - /** - * An instance of the League OAuth Client Provider. - * - * @var AbstractProvider - */ - protected $provider; - - /** - * The current OAuth access token. - * - * @var AccessToken - */ - protected $oauthToken; - - /** - * The user's email address, usually used as the login ID - * and also the from address when sending email. - * - * @var string - */ - protected $oauthUserEmail = ''; - - /** - * The client secret, generated in the app definition of the service you're connecting to. - * - * @var string - */ - protected $oauthClientSecret = ''; - - /** - * The client ID, generated in the app definition of the service you're connecting to. - * - * @var string - */ - protected $oauthClientId = ''; - - /** - * The refresh token, used to obtain new AccessTokens. - * - * @var string - */ - protected $oauthRefreshToken = ''; - - /** - * OAuth constructor. - * - * @param array $options Associative array containing - * `provider`, `userName`, `clientSecret`, `clientId` and `refreshToken` elements - */ - public function __construct($options) - { - $this->provider = $options['provider']; - $this->oauthUserEmail = $options['userName']; - $this->oauthClientSecret = $options['clientSecret']; - $this->oauthClientId = $options['clientId']; - $this->oauthRefreshToken = $options['refreshToken']; - } - - /** - * Get a new RefreshToken. - * - * @return RefreshToken - */ - protected function getGrant() - { - return new RefreshToken(); - } - - /** - * Get a new AccessToken. - * - * @return AccessToken - */ - protected function getToken() - { - return $this->provider->getAccessToken( - $this->getGrant(), - ['refresh_token' => $this->oauthRefreshToken] - ); - } - - /** - * Generate a base64-encoded OAuth token. - * - * @return string - */ - public function getOauth64() - { - //Get a new token if it's not available or has expired - if (null === $this->oauthToken || $this->oauthToken->hasExpired()) { - $this->oauthToken = $this->getToken(); - } - - return base64_encode( - 'user=' . - $this->oauthUserEmail . - "\001auth=Bearer " . - $this->oauthToken . - "\001\001" - ); - } -} diff --git a/vendor/phpmailer/phpmailer/src/PHPMailer.php b/vendor/phpmailer/phpmailer/src/PHPMailer.php deleted file mode 100644 index eb4b742b..00000000 --- a/vendor/phpmailer/phpmailer/src/PHPMailer.php +++ /dev/null @@ -1,4970 +0,0 @@ - - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - * @copyright 2012 - 2020 Marcus Bointon - * @copyright 2010 - 2012 Jim Jagielski - * @copyright 2004 - 2009 Andy Prevost - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @note This program is distributed in the hope that it will be useful - WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - */ - -namespace PHPMailer\PHPMailer; - -/** - * PHPMailer - PHP email creation and transport class. - * - * @author Marcus Bointon (Synchro/coolbru) - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - */ -class PHPMailer -{ - const CHARSET_ASCII = 'us-ascii'; - const CHARSET_ISO88591 = 'iso-8859-1'; - const CHARSET_UTF8 = 'utf-8'; - - const CONTENT_TYPE_PLAINTEXT = 'text/plain'; - const CONTENT_TYPE_TEXT_CALENDAR = 'text/calendar'; - const CONTENT_TYPE_TEXT_HTML = 'text/html'; - const CONTENT_TYPE_MULTIPART_ALTERNATIVE = 'multipart/alternative'; - const CONTENT_TYPE_MULTIPART_MIXED = 'multipart/mixed'; - const CONTENT_TYPE_MULTIPART_RELATED = 'multipart/related'; - - const ENCODING_7BIT = '7bit'; - const ENCODING_8BIT = '8bit'; - const ENCODING_BASE64 = 'base64'; - const ENCODING_BINARY = 'binary'; - const ENCODING_QUOTED_PRINTABLE = 'quoted-printable'; - - const ENCRYPTION_STARTTLS = 'tls'; - const ENCRYPTION_SMTPS = 'ssl'; - - const ICAL_METHOD_REQUEST = 'REQUEST'; - const ICAL_METHOD_PUBLISH = 'PUBLISH'; - const ICAL_METHOD_REPLY = 'REPLY'; - const ICAL_METHOD_ADD = 'ADD'; - const ICAL_METHOD_CANCEL = 'CANCEL'; - const ICAL_METHOD_REFRESH = 'REFRESH'; - const ICAL_METHOD_COUNTER = 'COUNTER'; - const ICAL_METHOD_DECLINECOUNTER = 'DECLINECOUNTER'; - - /** - * Email priority. - * Options: null (default), 1 = High, 3 = Normal, 5 = low. - * When null, the header is not set at all. - * - * @var int|null - */ - public $Priority; - - /** - * The character set of the message. - * - * @var string - */ - public $CharSet = self::CHARSET_ISO88591; - - /** - * The MIME Content-type of the message. - * - * @var string - */ - public $ContentType = self::CONTENT_TYPE_PLAINTEXT; - - /** - * The message encoding. - * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable". - * - * @var string - */ - public $Encoding = self::ENCODING_8BIT; - - /** - * Holds the most recent mailer error message. - * - * @var string - */ - public $ErrorInfo = ''; - - /** - * The From email address for the message. - * - * @var string - */ - public $From = 'root@localhost'; - - /** - * The From name of the message. - * - * @var string - */ - public $FromName = 'Root User'; - - /** - * The envelope sender of the message. - * This will usually be turned into a Return-Path header by the receiver, - * and is the address that bounces will be sent to. - * If not empty, will be passed via `-f` to sendmail or as the 'MAIL FROM' value over SMTP. - * - * @var string - */ - public $Sender = ''; - - /** - * The Subject of the message. - * - * @var string - */ - public $Subject = ''; - - /** - * An HTML or plain text message body. - * If HTML then call isHTML(true). - * - * @var string - */ - public $Body = ''; - - /** - * The plain-text message body. - * This body can be read by mail clients that do not have HTML email - * capability such as mutt & Eudora. - * Clients that can read HTML will view the normal Body. - * - * @var string - */ - public $AltBody = ''; - - /** - * An iCal message part body. - * Only supported in simple alt or alt_inline message types - * To generate iCal event structures, use classes like EasyPeasyICS or iCalcreator. - * - * @see http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/ - * @see http://kigkonsult.se/iCalcreator/ - * - * @var string - */ - public $Ical = ''; - - /** - * Value-array of "method" in Contenttype header "text/calendar" - * - * @var string[] - */ - protected static $IcalMethods = [ - self::ICAL_METHOD_REQUEST, - self::ICAL_METHOD_PUBLISH, - self::ICAL_METHOD_REPLY, - self::ICAL_METHOD_ADD, - self::ICAL_METHOD_CANCEL, - self::ICAL_METHOD_REFRESH, - self::ICAL_METHOD_COUNTER, - self::ICAL_METHOD_DECLINECOUNTER, - ]; - - /** - * The complete compiled MIME message body. - * - * @var string - */ - protected $MIMEBody = ''; - - /** - * The complete compiled MIME message headers. - * - * @var string - */ - protected $MIMEHeader = ''; - - /** - * Extra headers that createHeader() doesn't fold in. - * - * @var string - */ - protected $mailHeader = ''; - - /** - * Word-wrap the message body to this number of chars. - * Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance. - * - * @see static::STD_LINE_LENGTH - * - * @var int - */ - public $WordWrap = 0; - - /** - * Which method to use to send mail. - * Options: "mail", "sendmail", or "smtp". - * - * @var string - */ - public $Mailer = 'mail'; - - /** - * The path to the sendmail program. - * - * @var string - */ - public $Sendmail = '/usr/sbin/sendmail'; - - /** - * Whether mail() uses a fully sendmail-compatible MTA. - * One which supports sendmail's "-oi -f" options. - * - * @var bool - */ - public $UseSendmailOptions = true; - - /** - * The email address that a reading confirmation should be sent to, also known as read receipt. - * - * @var string - */ - public $ConfirmReadingTo = ''; - - /** - * The hostname to use in the Message-ID header and as default HELO string. - * If empty, PHPMailer attempts to find one with, in order, - * $_SERVER['SERVER_NAME'], gethostname(), php_uname('n'), or the value - * 'localhost.localdomain'. - * - * @see PHPMailer::$Helo - * - * @var string - */ - public $Hostname = ''; - - /** - * An ID to be used in the Message-ID header. - * If empty, a unique id will be generated. - * You can set your own, but it must be in the format "", - * as defined in RFC5322 section 3.6.4 or it will be ignored. - * - * @see https://tools.ietf.org/html/rfc5322#section-3.6.4 - * - * @var string - */ - public $MessageID = ''; - - /** - * The message Date to be used in the Date header. - * If empty, the current date will be added. - * - * @var string - */ - public $MessageDate = ''; - - /** - * SMTP hosts. - * Either a single hostname or multiple semicolon-delimited hostnames. - * You can also specify a different port - * for each host by using this format: [hostname:port] - * (e.g. "smtp1.example.com:25;smtp2.example.com"). - * You can also specify encryption type, for example: - * (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465"). - * Hosts will be tried in order. - * - * @var string - */ - public $Host = 'localhost'; - - /** - * The default SMTP server port. - * - * @var int - */ - public $Port = 25; - - /** - * The SMTP HELO/EHLO name used for the SMTP connection. - * Default is $Hostname. If $Hostname is empty, PHPMailer attempts to find - * one with the same method described above for $Hostname. - * - * @see PHPMailer::$Hostname - * - * @var string - */ - public $Helo = ''; - - /** - * What kind of encryption to use on the SMTP connection. - * Options: '', static::ENCRYPTION_STARTTLS, or static::ENCRYPTION_SMTPS. - * - * @var string - */ - public $SMTPSecure = ''; - - /** - * Whether to enable TLS encryption automatically if a server supports it, - * even if `SMTPSecure` is not set to 'tls'. - * Be aware that in PHP >= 5.6 this requires that the server's certificates are valid. - * - * @var bool - */ - public $SMTPAutoTLS = true; - - /** - * Whether to use SMTP authentication. - * Uses the Username and Password properties. - * - * @see PHPMailer::$Username - * @see PHPMailer::$Password - * - * @var bool - */ - public $SMTPAuth = false; - - /** - * Options array passed to stream_context_create when connecting via SMTP. - * - * @var array - */ - public $SMTPOptions = []; - - /** - * SMTP username. - * - * @var string - */ - public $Username = ''; - - /** - * SMTP password. - * - * @var string - */ - public $Password = ''; - - /** - * SMTP auth type. - * Options are CRAM-MD5, LOGIN, PLAIN, XOAUTH2, attempted in that order if not specified. - * - * @var string - */ - public $AuthType = ''; - - /** - * An instance of the PHPMailer OAuth class. - * - * @var OAuth - */ - protected $oauth; - - /** - * The SMTP server timeout in seconds. - * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2. - * - * @var int - */ - public $Timeout = 300; - - /** - * Comma separated list of DSN notifications - * 'NEVER' under no circumstances a DSN must be returned to the sender. - * If you use NEVER all other notifications will be ignored. - * 'SUCCESS' will notify you when your mail has arrived at its destination. - * 'FAILURE' will arrive if an error occurred during delivery. - * 'DELAY' will notify you if there is an unusual delay in delivery, but the actual - * delivery's outcome (success or failure) is not yet decided. - * - * @see https://tools.ietf.org/html/rfc3461 See section 4.1 for more information about NOTIFY - */ - public $dsn = ''; - - /** - * SMTP class debug output mode. - * Debug output level. - * Options: - * @see SMTP::DEBUG_OFF: No output - * @see SMTP::DEBUG_CLIENT: Client messages - * @see SMTP::DEBUG_SERVER: Client and server messages - * @see SMTP::DEBUG_CONNECTION: As SERVER plus connection status - * @see SMTP::DEBUG_LOWLEVEL: Noisy, low-level data output, rarely needed - * - * @see SMTP::$do_debug - * - * @var int - */ - public $SMTPDebug = 0; - - /** - * How to handle debug output. - * Options: - * * `echo` Output plain-text as-is, appropriate for CLI - * * `html` Output escaped, line breaks converted to `
          `, appropriate for browser output - * * `error_log` Output to error log as configured in php.ini - * By default PHPMailer will use `echo` if run from a `cli` or `cli-server` SAPI, `html` otherwise. - * Alternatively, you can provide a callable expecting two params: a message string and the debug level: - * - * ```php - * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; - * ``` - * - * Alternatively, you can pass in an instance of a PSR-3 compatible logger, though only `debug` - * level output is used: - * - * ```php - * $mail->Debugoutput = new myPsr3Logger; - * ``` - * - * @see SMTP::$Debugoutput - * - * @var string|callable|\Psr\Log\LoggerInterface - */ - public $Debugoutput = 'echo'; - - /** - * Whether to keep the SMTP connection open after each message. - * If this is set to true then the connection will remain open after a send, - * and closing the connection will require an explicit call to smtpClose(). - * It's a good idea to use this if you are sending multiple messages as it reduces overhead. - * See the mailing list example for how to use it. - * - * @var bool - */ - public $SMTPKeepAlive = false; - - /** - * Whether to split multiple to addresses into multiple messages - * or send them all in one message. - * Only supported in `mail` and `sendmail` transports, not in SMTP. - * - * @var bool - * - * @deprecated 6.0.0 PHPMailer isn't a mailing list manager! - */ - public $SingleTo = false; - - /** - * Storage for addresses when SingleTo is enabled. - * - * @var array - */ - protected $SingleToArray = []; - - /** - * Whether to generate VERP addresses on send. - * Only applicable when sending via SMTP. - * - * @see https://en.wikipedia.org/wiki/Variable_envelope_return_path - * @see http://www.postfix.org/VERP_README.html Postfix VERP info - * - * @var bool - */ - public $do_verp = false; - - /** - * Whether to allow sending messages with an empty body. - * - * @var bool - */ - public $AllowEmpty = false; - - /** - * DKIM selector. - * - * @var string - */ - public $DKIM_selector = ''; - - /** - * DKIM Identity. - * Usually the email address used as the source of the email. - * - * @var string - */ - public $DKIM_identity = ''; - - /** - * DKIM passphrase. - * Used if your key is encrypted. - * - * @var string - */ - public $DKIM_passphrase = ''; - - /** - * DKIM signing domain name. - * - * @example 'example.com' - * - * @var string - */ - public $DKIM_domain = ''; - - /** - * DKIM Copy header field values for diagnostic use. - * - * @var bool - */ - public $DKIM_copyHeaderFields = true; - - /** - * DKIM Extra signing headers. - * - * @example ['List-Unsubscribe', 'List-Help'] - * - * @var array - */ - public $DKIM_extraHeaders = []; - - /** - * DKIM private key file path. - * - * @var string - */ - public $DKIM_private = ''; - - /** - * DKIM private key string. - * - * If set, takes precedence over `$DKIM_private`. - * - * @var string - */ - public $DKIM_private_string = ''; - - /** - * Callback Action function name. - * - * The function that handles the result of the send email action. - * It is called out by send() for each email sent. - * - * Value can be any php callable: http://www.php.net/is_callable - * - * Parameters: - * bool $result result of the send action - * array $to email addresses of the recipients - * array $cc cc email addresses - * array $bcc bcc email addresses - * string $subject the subject - * string $body the email body - * string $from email address of sender - * string $extra extra information of possible use - * "smtp_transaction_id' => last smtp transaction id - * - * @var string - */ - public $action_function = ''; - - /** - * What to put in the X-Mailer header. - * Options: An empty string for PHPMailer default, whitespace/null for none, or a string to use. - * - * @var string|null - */ - public $XMailer = ''; - - /** - * Which validator to use by default when validating email addresses. - * May be a callable to inject your own validator, but there are several built-in validators. - * The default validator uses PHP's FILTER_VALIDATE_EMAIL filter_var option. - * - * @see PHPMailer::validateAddress() - * - * @var string|callable - */ - public static $validator = 'php'; - - /** - * An instance of the SMTP sender class. - * - * @var SMTP - */ - protected $smtp; - - /** - * The array of 'to' names and addresses. - * - * @var array - */ - protected $to = []; - - /** - * The array of 'cc' names and addresses. - * - * @var array - */ - protected $cc = []; - - /** - * The array of 'bcc' names and addresses. - * - * @var array - */ - protected $bcc = []; - - /** - * The array of reply-to names and addresses. - * - * @var array - */ - protected $ReplyTo = []; - - /** - * An array of all kinds of addresses. - * Includes all of $to, $cc, $bcc. - * - * @see PHPMailer::$to - * @see PHPMailer::$cc - * @see PHPMailer::$bcc - * - * @var array - */ - protected $all_recipients = []; - - /** - * An array of names and addresses queued for validation. - * In send(), valid and non duplicate entries are moved to $all_recipients - * and one of $to, $cc, or $bcc. - * This array is used only for addresses with IDN. - * - * @see PHPMailer::$to - * @see PHPMailer::$cc - * @see PHPMailer::$bcc - * @see PHPMailer::$all_recipients - * - * @var array - */ - protected $RecipientsQueue = []; - - /** - * An array of reply-to names and addresses queued for validation. - * In send(), valid and non duplicate entries are moved to $ReplyTo. - * This array is used only for addresses with IDN. - * - * @see PHPMailer::$ReplyTo - * - * @var array - */ - protected $ReplyToQueue = []; - - /** - * The array of attachments. - * - * @var array - */ - protected $attachment = []; - - /** - * The array of custom headers. - * - * @var array - */ - protected $CustomHeader = []; - - /** - * The most recent Message-ID (including angular brackets). - * - * @var string - */ - protected $lastMessageID = ''; - - /** - * The message's MIME type. - * - * @var string - */ - protected $message_type = ''; - - /** - * The array of MIME boundary strings. - * - * @var array - */ - protected $boundary = []; - - /** - * The array of available languages. - * - * @var array - */ - protected $language = []; - - /** - * The number of errors encountered. - * - * @var int - */ - protected $error_count = 0; - - /** - * The S/MIME certificate file path. - * - * @var string - */ - protected $sign_cert_file = ''; - - /** - * The S/MIME key file path. - * - * @var string - */ - protected $sign_key_file = ''; - - /** - * The optional S/MIME extra certificates ("CA Chain") file path. - * - * @var string - */ - protected $sign_extracerts_file = ''; - - /** - * The S/MIME password for the key. - * Used only if the key is encrypted. - * - * @var string - */ - protected $sign_key_pass = ''; - - /** - * Whether to throw exceptions for errors. - * - * @var bool - */ - protected $exceptions = false; - - /** - * Unique ID used for message ID and boundaries. - * - * @var string - */ - protected $uniqueid = ''; - - /** - * The PHPMailer Version number. - * - * @var string - */ - const VERSION = '6.5.0'; - - /** - * Error severity: message only, continue processing. - * - * @var int - */ - const STOP_MESSAGE = 0; - - /** - * Error severity: message, likely ok to continue processing. - * - * @var int - */ - const STOP_CONTINUE = 1; - - /** - * Error severity: message, plus full stop, critical error reached. - * - * @var int - */ - const STOP_CRITICAL = 2; - - /** - * The SMTP standard CRLF line break. - * If you want to change line break format, change static::$LE, not this. - */ - const CRLF = "\r\n"; - - /** - * "Folding White Space" a white space string used for line folding. - */ - const FWS = ' '; - - /** - * SMTP RFC standard line ending; Carriage Return, Line Feed. - * - * @var string - */ - protected static $LE = self::CRLF; - - /** - * The maximum line length supported by mail(). - * - * Background: mail() will sometimes corrupt messages - * with headers headers longer than 65 chars, see #818. - * - * @var int - */ - const MAIL_MAX_LINE_LENGTH = 63; - - /** - * The maximum line length allowed by RFC 2822 section 2.1.1. - * - * @var int - */ - const MAX_LINE_LENGTH = 998; - - /** - * The lower maximum line length allowed by RFC 2822 section 2.1.1. - * This length does NOT include the line break - * 76 means that lines will be 77 or 78 chars depending on whether - * the line break format is LF or CRLF; both are valid. - * - * @var int - */ - const STD_LINE_LENGTH = 76; - - /** - * Constructor. - * - * @param bool $exceptions Should we throw external exceptions? - */ - public function __construct($exceptions = null) - { - if (null !== $exceptions) { - $this->exceptions = (bool) $exceptions; - } - //Pick an appropriate debug output format automatically - $this->Debugoutput = (strpos(PHP_SAPI, 'cli') !== false ? 'echo' : 'html'); - } - - /** - * Destructor. - */ - public function __destruct() - { - //Close any open SMTP connection nicely - $this->smtpClose(); - } - - /** - * Call mail() in a safe_mode-aware fashion. - * Also, unless sendmail_path points to sendmail (or something that - * claims to be sendmail), don't pass params (not a perfect fix, - * but it will do). - * - * @param string $to To - * @param string $subject Subject - * @param string $body Message Body - * @param string $header Additional Header(s) - * @param string|null $params Params - * - * @return bool - */ - private function mailPassthru($to, $subject, $body, $header, $params) - { - //Check overloading of mail function to avoid double-encoding - if (ini_get('mbstring.func_overload') & 1) { - $subject = $this->secureHeader($subject); - } else { - $subject = $this->encodeHeader($this->secureHeader($subject)); - } - //Calling mail() with null params breaks - $this->edebug('Sending with mail()'); - $this->edebug('Sendmail path: ' . ini_get('sendmail_path')); - $this->edebug("Envelope sender: {$this->Sender}"); - $this->edebug("To: {$to}"); - $this->edebug("Subject: {$subject}"); - $this->edebug("Headers: {$header}"); - if (!$this->UseSendmailOptions || null === $params) { - $result = @mail($to, $subject, $body, $header); - } else { - $this->edebug("Additional params: {$params}"); - $result = @mail($to, $subject, $body, $header, $params); - } - $this->edebug('Result: ' . ($result ? 'true' : 'false')); - return $result; - } - - /** - * Output debugging info via a user-defined method. - * Only generates output if debug output is enabled. - * - * @see PHPMailer::$Debugoutput - * @see PHPMailer::$SMTPDebug - * - * @param string $str - */ - protected function edebug($str) - { - if ($this->SMTPDebug <= 0) { - return; - } - //Is this a PSR-3 logger? - if ($this->Debugoutput instanceof \Psr\Log\LoggerInterface) { - $this->Debugoutput->debug($str); - - return; - } - //Avoid clash with built-in function names - if (is_callable($this->Debugoutput) && !in_array($this->Debugoutput, ['error_log', 'html', 'echo'])) { - call_user_func($this->Debugoutput, $str, $this->SMTPDebug); - - return; - } - switch ($this->Debugoutput) { - case 'error_log': - //Don't output, just log - /** @noinspection ForgottenDebugOutputInspection */ - error_log($str); - break; - case 'html': - //Cleans up output a bit for a better looking, HTML-safe output - echo htmlentities( - preg_replace('/[\r\n]+/', '', $str), - ENT_QUOTES, - 'UTF-8' - ), "
          \n"; - break; - case 'echo': - default: - //Normalize line breaks - $str = preg_replace('/\r\n|\r/m', "\n", $str); - echo gmdate('Y-m-d H:i:s'), - "\t", - //Trim trailing space - trim( - //Indent for readability, except for trailing break - str_replace( - "\n", - "\n \t ", - trim($str) - ) - ), - "\n"; - } - } - - /** - * Sets message type to HTML or plain. - * - * @param bool $isHtml True for HTML mode - */ - public function isHTML($isHtml = true) - { - if ($isHtml) { - $this->ContentType = static::CONTENT_TYPE_TEXT_HTML; - } else { - $this->ContentType = static::CONTENT_TYPE_PLAINTEXT; - } - } - - /** - * Send messages using SMTP. - */ - public function isSMTP() - { - $this->Mailer = 'smtp'; - } - - /** - * Send messages using PHP's mail() function. - */ - public function isMail() - { - $this->Mailer = 'mail'; - } - - /** - * Send messages using $Sendmail. - */ - public function isSendmail() - { - $ini_sendmail_path = ini_get('sendmail_path'); - - if (false === stripos($ini_sendmail_path, 'sendmail')) { - $this->Sendmail = '/usr/sbin/sendmail'; - } else { - $this->Sendmail = $ini_sendmail_path; - } - $this->Mailer = 'sendmail'; - } - - /** - * Send messages using qmail. - */ - public function isQmail() - { - $ini_sendmail_path = ini_get('sendmail_path'); - - if (false === stripos($ini_sendmail_path, 'qmail')) { - $this->Sendmail = '/var/qmail/bin/qmail-inject'; - } else { - $this->Sendmail = $ini_sendmail_path; - } - $this->Mailer = 'qmail'; - } - - /** - * Add a "To" address. - * - * @param string $address The email address to send to - * @param string $name - * - * @throws Exception - * - * @return bool true on success, false if address already used or invalid in some way - */ - public function addAddress($address, $name = '') - { - return $this->addOrEnqueueAnAddress('to', $address, $name); - } - - /** - * Add a "CC" address. - * - * @param string $address The email address to send to - * @param string $name - * - * @throws Exception - * - * @return bool true on success, false if address already used or invalid in some way - */ - public function addCC($address, $name = '') - { - return $this->addOrEnqueueAnAddress('cc', $address, $name); - } - - /** - * Add a "BCC" address. - * - * @param string $address The email address to send to - * @param string $name - * - * @throws Exception - * - * @return bool true on success, false if address already used or invalid in some way - */ - public function addBCC($address, $name = '') - { - return $this->addOrEnqueueAnAddress('bcc', $address, $name); - } - - /** - * Add a "Reply-To" address. - * - * @param string $address The email address to reply to - * @param string $name - * - * @throws Exception - * - * @return bool true on success, false if address already used or invalid in some way - */ - public function addReplyTo($address, $name = '') - { - return $this->addOrEnqueueAnAddress('Reply-To', $address, $name); - } - - /** - * Add an address to one of the recipient arrays or to the ReplyTo array. Because PHPMailer - * can't validate addresses with an IDN without knowing the PHPMailer::$CharSet (that can still - * be modified after calling this function), addition of such addresses is delayed until send(). - * Addresses that have been added already return false, but do not throw exceptions. - * - * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo' - * @param string $address The email address to send, resp. to reply to - * @param string $name - * - * @throws Exception - * - * @return bool true on success, false if address already used or invalid in some way - */ - protected function addOrEnqueueAnAddress($kind, $address, $name) - { - $address = trim($address); - $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim - $pos = strrpos($address, '@'); - if (false === $pos) { - //At-sign is missing. - $error_message = sprintf( - '%s (%s): %s', - $this->lang('invalid_address'), - $kind, - $address - ); - $this->setError($error_message); - $this->edebug($error_message); - if ($this->exceptions) { - throw new Exception($error_message); - } - - return false; - } - $params = [$kind, $address, $name]; - //Enqueue addresses with IDN until we know the PHPMailer::$CharSet. - if (static::idnSupported() && $this->has8bitChars(substr($address, ++$pos))) { - if ('Reply-To' !== $kind) { - if (!array_key_exists($address, $this->RecipientsQueue)) { - $this->RecipientsQueue[$address] = $params; - - return true; - } - } elseif (!array_key_exists($address, $this->ReplyToQueue)) { - $this->ReplyToQueue[$address] = $params; - - return true; - } - - return false; - } - - //Immediately add standard addresses without IDN. - return call_user_func_array([$this, 'addAnAddress'], $params); - } - - /** - * Add an address to one of the recipient arrays or to the ReplyTo array. - * Addresses that have been added already return false, but do not throw exceptions. - * - * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo' - * @param string $address The email address to send, resp. to reply to - * @param string $name - * - * @throws Exception - * - * @return bool true on success, false if address already used or invalid in some way - */ - protected function addAnAddress($kind, $address, $name = '') - { - if (!in_array($kind, ['to', 'cc', 'bcc', 'Reply-To'])) { - $error_message = sprintf( - '%s: %s', - $this->lang('Invalid recipient kind'), - $kind - ); - $this->setError($error_message); - $this->edebug($error_message); - if ($this->exceptions) { - throw new Exception($error_message); - } - - return false; - } - if (!static::validateAddress($address)) { - $error_message = sprintf( - '%s (%s): %s', - $this->lang('invalid_address'), - $kind, - $address - ); - $this->setError($error_message); - $this->edebug($error_message); - if ($this->exceptions) { - throw new Exception($error_message); - } - - return false; - } - if ('Reply-To' !== $kind) { - if (!array_key_exists(strtolower($address), $this->all_recipients)) { - $this->{$kind}[] = [$address, $name]; - $this->all_recipients[strtolower($address)] = true; - - return true; - } - } elseif (!array_key_exists(strtolower($address), $this->ReplyTo)) { - $this->ReplyTo[strtolower($address)] = [$address, $name]; - - return true; - } - - return false; - } - - /** - * Parse and validate a string containing one or more RFC822-style comma-separated email addresses - * of the form "display name
          " into an array of name/address pairs. - * Uses the imap_rfc822_parse_adrlist function if the IMAP extension is available. - * Note that quotes in the name part are removed. - * - * @see http://www.andrew.cmu.edu/user/agreen1/testing/mrbs/web/Mail/RFC822.php A more careful implementation - * - * @param string $addrstr The address list string - * @param bool $useimap Whether to use the IMAP extension to parse the list - * - * @return array - */ - public static function parseAddresses($addrstr, $useimap = true) - { - $addresses = []; - if ($useimap && function_exists('imap_rfc822_parse_adrlist')) { - //Use this built-in parser if it's available - $list = imap_rfc822_parse_adrlist($addrstr, ''); - foreach ($list as $address) { - if ( - ('.SYNTAX-ERROR.' !== $address->host) && static::validateAddress( - $address->mailbox . '@' . $address->host - ) - ) { - //Decode the name part if it's present and encoded - if ( - property_exists($address, 'personal') && - extension_loaded('mbstring') && - preg_match('/^=\?.*\?=$/', $address->personal) - ) { - $address->personal = mb_decode_mimeheader($address->personal); - } - - $addresses[] = [ - 'name' => (property_exists($address, 'personal') ? $address->personal : ''), - 'address' => $address->mailbox . '@' . $address->host, - ]; - } - } - } else { - //Use this simpler parser - $list = explode(',', $addrstr); - foreach ($list as $address) { - $address = trim($address); - //Is there a separate name part? - if (strpos($address, '<') === false) { - //No separate name, just use the whole thing - if (static::validateAddress($address)) { - $addresses[] = [ - 'name' => '', - 'address' => $address, - ]; - } - } else { - list($name, $email) = explode('<', $address); - $email = trim(str_replace('>', '', $email)); - $name = trim($name); - if (static::validateAddress($email)) { - //If this name is encoded, decode it - if (preg_match('/^=\?.*\?=$/', $name)) { - $name = mb_decode_mimeheader($name); - } - $addresses[] = [ - //Remove any surrounding quotes and spaces from the name - 'name' => trim($name, '\'" '), - 'address' => $email, - ]; - } - } - } - } - - return $addresses; - } - - /** - * Set the From and FromName properties. - * - * @param string $address - * @param string $name - * @param bool $auto Whether to also set the Sender address, defaults to true - * - * @throws Exception - * - * @return bool - */ - public function setFrom($address, $name = '', $auto = true) - { - $address = trim($address); - $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim - //Don't validate now addresses with IDN. Will be done in send(). - $pos = strrpos($address, '@'); - if ( - (false === $pos) - || ((!$this->has8bitChars(substr($address, ++$pos)) || !static::idnSupported()) - && !static::validateAddress($address)) - ) { - $error_message = sprintf( - '%s (From): %s', - $this->lang('invalid_address'), - $address - ); - $this->setError($error_message); - $this->edebug($error_message); - if ($this->exceptions) { - throw new Exception($error_message); - } - - return false; - } - $this->From = $address; - $this->FromName = $name; - if ($auto && empty($this->Sender)) { - $this->Sender = $address; - } - - return true; - } - - /** - * Return the Message-ID header of the last email. - * Technically this is the value from the last time the headers were created, - * but it's also the message ID of the last sent message except in - * pathological cases. - * - * @return string - */ - public function getLastMessageID() - { - return $this->lastMessageID; - } - - /** - * Check that a string looks like an email address. - * Validation patterns supported: - * * `auto` Pick best pattern automatically; - * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0; - * * `pcre` Use old PCRE implementation; - * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL; - * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements. - * * `noregex` Don't use a regex: super fast, really dumb. - * Alternatively you may pass in a callable to inject your own validator, for example: - * - * ```php - * PHPMailer::validateAddress('user@example.com', function($address) { - * return (strpos($address, '@') !== false); - * }); - * ``` - * - * You can also set the PHPMailer::$validator static to a callable, allowing built-in methods to use your validator. - * - * @param string $address The email address to check - * @param string|callable $patternselect Which pattern to use - * - * @return bool - */ - public static function validateAddress($address, $patternselect = null) - { - if (null === $patternselect) { - $patternselect = static::$validator; - } - //Don't allow strings as callables, see SECURITY.md and CVE-2021-3603 - if (is_callable($patternselect) && !is_string($patternselect)) { - return call_user_func($patternselect, $address); - } - //Reject line breaks in addresses; it's valid RFC5322, but not RFC5321 - if (strpos($address, "\n") !== false || strpos($address, "\r") !== false) { - return false; - } - switch ($patternselect) { - case 'pcre': //Kept for BC - case 'pcre8': - /* - * A more complex and more permissive version of the RFC5322 regex on which FILTER_VALIDATE_EMAIL - * is based. - * In addition to the addresses allowed by filter_var, also permits: - * * dotless domains: `a@b` - * * comments: `1234 @ local(blah) .machine .example` - * * quoted elements: `'"test blah"@example.org'` - * * numeric TLDs: `a@b.123` - * * unbracketed IPv4 literals: `a@192.168.0.1` - * * IPv6 literals: 'first.last@[IPv6:a1::]' - * Not all of these will necessarily work for sending! - * - * @see http://squiloople.com/2009/12/20/email-address-validation/ - * @copyright 2009-2010 Michael Rushton - * Feel free to use and redistribute this code. But please keep this copyright notice. - */ - return (bool) preg_match( - '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' . - '((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)' . - '(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)' . - '([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*' . - '(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)' . - '(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}' . - '|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:' . - '|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}' . - '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD', - $address - ); - case 'html5': - /* - * This is the pattern used in the HTML5 spec for validation of 'email' type form input elements. - * - * @see https://html.spec.whatwg.org/#e-mail-state-(type=email) - */ - return (bool) preg_match( - '/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' . - '[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/sD', - $address - ); - case 'php': - default: - return filter_var($address, FILTER_VALIDATE_EMAIL) !== false; - } - } - - /** - * Tells whether IDNs (Internationalized Domain Names) are supported or not. This requires the - * `intl` and `mbstring` PHP extensions. - * - * @return bool `true` if required functions for IDN support are present - */ - public static function idnSupported() - { - return function_exists('idn_to_ascii') && function_exists('mb_convert_encoding'); - } - - /** - * Converts IDN in given email address to its ASCII form, also known as punycode, if possible. - * Important: Address must be passed in same encoding as currently set in PHPMailer::$CharSet. - * This function silently returns unmodified address if: - * - No conversion is necessary (i.e. domain name is not an IDN, or is already in ASCII form) - * - Conversion to punycode is impossible (e.g. required PHP functions are not available) - * or fails for any reason (e.g. domain contains characters not allowed in an IDN). - * - * @see PHPMailer::$CharSet - * - * @param string $address The email address to convert - * - * @return string The encoded address in ASCII form - */ - public function punyencodeAddress($address) - { - //Verify we have required functions, CharSet, and at-sign. - $pos = strrpos($address, '@'); - if ( - !empty($this->CharSet) && - false !== $pos && - static::idnSupported() - ) { - $domain = substr($address, ++$pos); - //Verify CharSet string is a valid one, and domain properly encoded in this CharSet. - if ($this->has8bitChars($domain) && @mb_check_encoding($domain, $this->CharSet)) { - //Convert the domain from whatever charset it's in to UTF-8 - $domain = mb_convert_encoding($domain, self::CHARSET_UTF8, $this->CharSet); - //Ignore IDE complaints about this line - method signature changed in PHP 5.4 - $errorcode = 0; - if (defined('INTL_IDNA_VARIANT_UTS46')) { - //Use the current punycode standard (appeared in PHP 7.2) - $punycode = idn_to_ascii($domain, $errorcode, \INTL_IDNA_VARIANT_UTS46); - } elseif (defined('INTL_IDNA_VARIANT_2003')) { - //Fall back to this old, deprecated/removed encoding - $punycode = idn_to_ascii($domain, $errorcode, \INTL_IDNA_VARIANT_2003); - } else { - //Fall back to a default we don't know about - $punycode = idn_to_ascii($domain, $errorcode); - } - if (false !== $punycode) { - return substr($address, 0, $pos) . $punycode; - } - } - } - - return $address; - } - - /** - * Create a message and send it. - * Uses the sending method specified by $Mailer. - * - * @throws Exception - * - * @return bool false on error - See the ErrorInfo property for details of the error - */ - public function send() - { - try { - if (!$this->preSend()) { - return false; - } - - return $this->postSend(); - } catch (Exception $exc) { - $this->mailHeader = ''; - $this->setError($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return false; - } - } - - /** - * Prepare a message for sending. - * - * @throws Exception - * - * @return bool - */ - public function preSend() - { - if ( - 'smtp' === $this->Mailer - || ('mail' === $this->Mailer && (\PHP_VERSION_ID >= 80000 || stripos(PHP_OS, 'WIN') === 0)) - ) { - //SMTP mandates RFC-compliant line endings - //and it's also used with mail() on Windows - static::setLE(self::CRLF); - } else { - //Maintain backward compatibility with legacy Linux command line mailers - static::setLE(PHP_EOL); - } - //Check for buggy PHP versions that add a header with an incorrect line break - if ( - 'mail' === $this->Mailer - && ((\PHP_VERSION_ID >= 70000 && \PHP_VERSION_ID < 70017) - || (\PHP_VERSION_ID >= 70100 && \PHP_VERSION_ID < 70103)) - && ini_get('mail.add_x_header') === '1' - && stripos(PHP_OS, 'WIN') === 0 - ) { - trigger_error( - 'Your version of PHP is affected by a bug that may result in corrupted messages.' . - ' To fix it, switch to sending using SMTP, disable the mail.add_x_header option in' . - ' your php.ini, switch to MacOS or Linux, or upgrade your PHP to version 7.0.17+ or 7.1.3+.', - E_USER_WARNING - ); - } - - try { - $this->error_count = 0; //Reset errors - $this->mailHeader = ''; - - //Dequeue recipient and Reply-To addresses with IDN - foreach (array_merge($this->RecipientsQueue, $this->ReplyToQueue) as $params) { - $params[1] = $this->punyencodeAddress($params[1]); - call_user_func_array([$this, 'addAnAddress'], $params); - } - if (count($this->to) + count($this->cc) + count($this->bcc) < 1) { - throw new Exception($this->lang('provide_address'), self::STOP_CRITICAL); - } - - //Validate From, Sender, and ConfirmReadingTo addresses - foreach (['From', 'Sender', 'ConfirmReadingTo'] as $address_kind) { - $this->$address_kind = trim($this->$address_kind); - if (empty($this->$address_kind)) { - continue; - } - $this->$address_kind = $this->punyencodeAddress($this->$address_kind); - if (!static::validateAddress($this->$address_kind)) { - $error_message = sprintf( - '%s (%s): %s', - $this->lang('invalid_address'), - $address_kind, - $this->$address_kind - ); - $this->setError($error_message); - $this->edebug($error_message); - if ($this->exceptions) { - throw new Exception($error_message); - } - - return false; - } - } - - //Set whether the message is multipart/alternative - if ($this->alternativeExists()) { - $this->ContentType = static::CONTENT_TYPE_MULTIPART_ALTERNATIVE; - } - - $this->setMessageType(); - //Refuse to send an empty message unless we are specifically allowing it - if (!$this->AllowEmpty && empty($this->Body)) { - throw new Exception($this->lang('empty_message'), self::STOP_CRITICAL); - } - - //Trim subject consistently - $this->Subject = trim($this->Subject); - //Create body before headers in case body makes changes to headers (e.g. altering transfer encoding) - $this->MIMEHeader = ''; - $this->MIMEBody = $this->createBody(); - //createBody may have added some headers, so retain them - $tempheaders = $this->MIMEHeader; - $this->MIMEHeader = $this->createHeader(); - $this->MIMEHeader .= $tempheaders; - - //To capture the complete message when using mail(), create - //an extra header list which createHeader() doesn't fold in - if ('mail' === $this->Mailer) { - if (count($this->to) > 0) { - $this->mailHeader .= $this->addrAppend('To', $this->to); - } else { - $this->mailHeader .= $this->headerLine('To', 'undisclosed-recipients:;'); - } - $this->mailHeader .= $this->headerLine( - 'Subject', - $this->encodeHeader($this->secureHeader($this->Subject)) - ); - } - - //Sign with DKIM if enabled - if ( - !empty($this->DKIM_domain) - && !empty($this->DKIM_selector) - && (!empty($this->DKIM_private_string) - || (!empty($this->DKIM_private) - && static::isPermittedPath($this->DKIM_private) - && file_exists($this->DKIM_private) - ) - ) - ) { - $header_dkim = $this->DKIM_Add( - $this->MIMEHeader . $this->mailHeader, - $this->encodeHeader($this->secureHeader($this->Subject)), - $this->MIMEBody - ); - $this->MIMEHeader = static::stripTrailingWSP($this->MIMEHeader) . static::$LE . - static::normalizeBreaks($header_dkim) . static::$LE; - } - - return true; - } catch (Exception $exc) { - $this->setError($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return false; - } - } - - /** - * Actually send a message via the selected mechanism. - * - * @throws Exception - * - * @return bool - */ - public function postSend() - { - try { - //Choose the mailer and send through it - switch ($this->Mailer) { - case 'sendmail': - case 'qmail': - return $this->sendmailSend($this->MIMEHeader, $this->MIMEBody); - case 'smtp': - return $this->smtpSend($this->MIMEHeader, $this->MIMEBody); - case 'mail': - return $this->mailSend($this->MIMEHeader, $this->MIMEBody); - default: - $sendMethod = $this->Mailer . 'Send'; - if (method_exists($this, $sendMethod)) { - return $this->$sendMethod($this->MIMEHeader, $this->MIMEBody); - } - - return $this->mailSend($this->MIMEHeader, $this->MIMEBody); - } - } catch (Exception $exc) { - if ($this->Mailer === 'smtp' && $this->SMTPKeepAlive == true) { - $this->smtp->reset(); - } - $this->setError($exc->getMessage()); - $this->edebug($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - } - - return false; - } - - /** - * Send mail using the $Sendmail program. - * - * @see PHPMailer::$Sendmail - * - * @param string $header The message headers - * @param string $body The message body - * - * @throws Exception - * - * @return bool - */ - protected function sendmailSend($header, $body) - { - if ($this->Mailer === 'qmail') { - $this->edebug('Sending with qmail'); - } else { - $this->edebug('Sending with sendmail'); - } - $header = static::stripTrailingWSP($header) . static::$LE . static::$LE; - //This sets the SMTP envelope sender which gets turned into a return-path header by the receiver - //A space after `-f` is optional, but there is a long history of its presence - //causing problems, so we don't use one - //Exim docs: http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html - //Sendmail docs: http://www.sendmail.org/~ca/email/man/sendmail.html - //Qmail docs: http://www.qmail.org/man/man8/qmail-inject.html - //Example problem: https://www.drupal.org/node/1057954 - if (empty($this->Sender) && !empty(ini_get('sendmail_from'))) { - //PHP config has a sender address we can use - $this->Sender = ini_get('sendmail_from'); - } - //CVE-2016-10033, CVE-2016-10045: Don't pass -f if characters will be escaped. - if (!empty($this->Sender) && static::validateAddress($this->Sender) && self::isShellSafe($this->Sender)) { - if ($this->Mailer === 'qmail') { - $sendmailFmt = '%s -f%s'; - } else { - $sendmailFmt = '%s -oi -f%s -t'; - } - } else { - //allow sendmail to choose a default envelope sender. It may - //seem preferable to force it to use the From header as with - //SMTP, but that introduces new problems (see - //), and - //it has historically worked this way. - $sendmailFmt = '%s -oi -t'; - } - - $sendmail = sprintf($sendmailFmt, escapeshellcmd($this->Sendmail), $this->Sender); - $this->edebug('Sendmail path: ' . $this->Sendmail); - $this->edebug('Sendmail command: ' . $sendmail); - $this->edebug('Envelope sender: ' . $this->Sender); - $this->edebug("Headers: {$header}"); - - if ($this->SingleTo) { - foreach ($this->SingleToArray as $toAddr) { - $mail = @popen($sendmail, 'w'); - if (!$mail) { - throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - $this->edebug("To: {$toAddr}"); - fwrite($mail, 'To: ' . $toAddr . "\n"); - fwrite($mail, $header); - fwrite($mail, $body); - $result = pclose($mail); - $addrinfo = static::parseAddresses($toAddr); - $this->doCallback( - ($result === 0), - [[$addrinfo['address'], $addrinfo['name']]], - $this->cc, - $this->bcc, - $this->Subject, - $body, - $this->From, - [] - ); - $this->edebug("Result: " . ($result === 0 ? 'true' : 'false')); - if (0 !== $result) { - throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - } - } else { - $mail = @popen($sendmail, 'w'); - if (!$mail) { - throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - fwrite($mail, $header); - fwrite($mail, $body); - $result = pclose($mail); - $this->doCallback( - ($result === 0), - $this->to, - $this->cc, - $this->bcc, - $this->Subject, - $body, - $this->From, - [] - ); - $this->edebug("Result: " . ($result === 0 ? 'true' : 'false')); - if (0 !== $result) { - throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); - } - } - - return true; - } - - /** - * Fix CVE-2016-10033 and CVE-2016-10045 by disallowing potentially unsafe shell characters. - * Note that escapeshellarg and escapeshellcmd are inadequate for our purposes, especially on Windows. - * - * @see https://github.com/PHPMailer/PHPMailer/issues/924 CVE-2016-10045 bug report - * - * @param string $string The string to be validated - * - * @return bool - */ - protected static function isShellSafe($string) - { - //Future-proof - if ( - escapeshellcmd($string) !== $string - || !in_array(escapeshellarg($string), ["'$string'", "\"$string\""]) - ) { - return false; - } - - $length = strlen($string); - - for ($i = 0; $i < $length; ++$i) { - $c = $string[$i]; - - //All other characters have a special meaning in at least one common shell, including = and +. - //Full stop (.) has a special meaning in cmd.exe, but its impact should be negligible here. - //Note that this does permit non-Latin alphanumeric characters based on the current locale. - if (!ctype_alnum($c) && strpos('@_-.', $c) === false) { - return false; - } - } - - return true; - } - - /** - * Check whether a file path is of a permitted type. - * Used to reject URLs and phar files from functions that access local file paths, - * such as addAttachment. - * - * @param string $path A relative or absolute path to a file - * - * @return bool - */ - protected static function isPermittedPath($path) - { - //Matches scheme definition from https://tools.ietf.org/html/rfc3986#section-3.1 - return !preg_match('#^[a-z][a-z\d+.-]*://#i', $path); - } - - /** - * Check whether a file path is safe, accessible, and readable. - * - * @param string $path A relative or absolute path to a file - * - * @return bool - */ - protected static function fileIsAccessible($path) - { - if (!static::isPermittedPath($path)) { - return false; - } - $readable = file_exists($path); - //If not a UNC path (expected to start with \\), check read permission, see #2069 - if (strpos($path, '\\\\') !== 0) { - $readable = $readable && is_readable($path); - } - return $readable; - } - - /** - * Send mail using the PHP mail() function. - * - * @see http://www.php.net/manual/en/book.mail.php - * - * @param string $header The message headers - * @param string $body The message body - * - * @throws Exception - * - * @return bool - */ - protected function mailSend($header, $body) - { - $header = static::stripTrailingWSP($header) . static::$LE . static::$LE; - - $toArr = []; - foreach ($this->to as $toaddr) { - $toArr[] = $this->addrFormat($toaddr); - } - $to = implode(', ', $toArr); - - $params = null; - //This sets the SMTP envelope sender which gets turned into a return-path header by the receiver - //A space after `-f` is optional, but there is a long history of its presence - //causing problems, so we don't use one - //Exim docs: http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html - //Sendmail docs: http://www.sendmail.org/~ca/email/man/sendmail.html - //Qmail docs: http://www.qmail.org/man/man8/qmail-inject.html - //Example problem: https://www.drupal.org/node/1057954 - //CVE-2016-10033, CVE-2016-10045: Don't pass -f if characters will be escaped. - if (empty($this->Sender) && !empty(ini_get('sendmail_from'))) { - //PHP config has a sender address we can use - $this->Sender = ini_get('sendmail_from'); - } - if (!empty($this->Sender) && static::validateAddress($this->Sender)) { - if (self::isShellSafe($this->Sender)) { - $params = sprintf('-f%s', $this->Sender); - } - $old_from = ini_get('sendmail_from'); - ini_set('sendmail_from', $this->Sender); - } - $result = false; - if ($this->SingleTo && count($toArr) > 1) { - foreach ($toArr as $toAddr) { - $result = $this->mailPassthru($toAddr, $this->Subject, $body, $header, $params); - $addrinfo = static::parseAddresses($toAddr); - $this->doCallback( - $result, - [[$addrinfo['address'], $addrinfo['name']]], - $this->cc, - $this->bcc, - $this->Subject, - $body, - $this->From, - [] - ); - } - } else { - $result = $this->mailPassthru($to, $this->Subject, $body, $header, $params); - $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From, []); - } - if (isset($old_from)) { - ini_set('sendmail_from', $old_from); - } - if (!$result) { - throw new Exception($this->lang('instantiate'), self::STOP_CRITICAL); - } - - return true; - } - - /** - * Get an instance to use for SMTP operations. - * Override this function to load your own SMTP implementation, - * or set one with setSMTPInstance. - * - * @return SMTP - */ - public function getSMTPInstance() - { - if (!is_object($this->smtp)) { - $this->smtp = new SMTP(); - } - - return $this->smtp; - } - - /** - * Provide an instance to use for SMTP operations. - * - * @return SMTP - */ - public function setSMTPInstance(SMTP $smtp) - { - $this->smtp = $smtp; - - return $this->smtp; - } - - /** - * Send mail via SMTP. - * Returns false if there is a bad MAIL FROM, RCPT, or DATA input. - * - * @see PHPMailer::setSMTPInstance() to use a different class. - * - * @uses \PHPMailer\PHPMailer\SMTP - * - * @param string $header The message headers - * @param string $body The message body - * - * @throws Exception - * - * @return bool - */ - protected function smtpSend($header, $body) - { - $header = static::stripTrailingWSP($header) . static::$LE . static::$LE; - $bad_rcpt = []; - if (!$this->smtpConnect($this->SMTPOptions)) { - throw new Exception($this->lang('smtp_connect_failed'), self::STOP_CRITICAL); - } - //Sender already validated in preSend() - if ('' === $this->Sender) { - $smtp_from = $this->From; - } else { - $smtp_from = $this->Sender; - } - if (!$this->smtp->mail($smtp_from)) { - $this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError())); - throw new Exception($this->ErrorInfo, self::STOP_CRITICAL); - } - - $callbacks = []; - //Attempt to send to all recipients - foreach ([$this->to, $this->cc, $this->bcc] as $togroup) { - foreach ($togroup as $to) { - if (!$this->smtp->recipient($to[0], $this->dsn)) { - $error = $this->smtp->getError(); - $bad_rcpt[] = ['to' => $to[0], 'error' => $error['detail']]; - $isSent = false; - } else { - $isSent = true; - } - - $callbacks[] = ['issent' => $isSent, 'to' => $to[0], 'name' => $to[1]]; - } - } - - //Only send the DATA command if we have viable recipients - if ((count($this->all_recipients) > count($bad_rcpt)) && !$this->smtp->data($header . $body)) { - throw new Exception($this->lang('data_not_accepted'), self::STOP_CRITICAL); - } - - $smtp_transaction_id = $this->smtp->getLastTransactionID(); - - if ($this->SMTPKeepAlive) { - $this->smtp->reset(); - } else { - $this->smtp->quit(); - $this->smtp->close(); - } - - foreach ($callbacks as $cb) { - $this->doCallback( - $cb['issent'], - [[$cb['to'], $cb['name']]], - [], - [], - $this->Subject, - $body, - $this->From, - ['smtp_transaction_id' => $smtp_transaction_id] - ); - } - - //Create error message for any bad addresses - if (count($bad_rcpt) > 0) { - $errstr = ''; - foreach ($bad_rcpt as $bad) { - $errstr .= $bad['to'] . ': ' . $bad['error']; - } - throw new Exception($this->lang('recipients_failed') . $errstr, self::STOP_CONTINUE); - } - - return true; - } - - /** - * Initiate a connection to an SMTP server. - * Returns false if the operation failed. - * - * @param array $options An array of options compatible with stream_context_create() - * - * @throws Exception - * - * @uses \PHPMailer\PHPMailer\SMTP - * - * @return bool - */ - public function smtpConnect($options = null) - { - if (null === $this->smtp) { - $this->smtp = $this->getSMTPInstance(); - } - - //If no options are provided, use whatever is set in the instance - if (null === $options) { - $options = $this->SMTPOptions; - } - - //Already connected? - if ($this->smtp->connected()) { - return true; - } - - $this->smtp->setTimeout($this->Timeout); - $this->smtp->setDebugLevel($this->SMTPDebug); - $this->smtp->setDebugOutput($this->Debugoutput); - $this->smtp->setVerp($this->do_verp); - $hosts = explode(';', $this->Host); - $lastexception = null; - - foreach ($hosts as $hostentry) { - $hostinfo = []; - if ( - !preg_match( - '/^(?:(ssl|tls):\/\/)?(.+?)(?::(\d+))?$/', - trim($hostentry), - $hostinfo - ) - ) { - $this->edebug($this->lang('invalid_hostentry') . ' ' . trim($hostentry)); - //Not a valid host entry - continue; - } - //$hostinfo[1]: optional ssl or tls prefix - //$hostinfo[2]: the hostname - //$hostinfo[3]: optional port number - //The host string prefix can temporarily override the current setting for SMTPSecure - //If it's not specified, the default value is used - - //Check the host name is a valid name or IP address before trying to use it - if (!static::isValidHost($hostinfo[2])) { - $this->edebug($this->lang('invalid_host') . ' ' . $hostinfo[2]); - continue; - } - $prefix = ''; - $secure = $this->SMTPSecure; - $tls = (static::ENCRYPTION_STARTTLS === $this->SMTPSecure); - if ('ssl' === $hostinfo[1] || ('' === $hostinfo[1] && static::ENCRYPTION_SMTPS === $this->SMTPSecure)) { - $prefix = 'ssl://'; - $tls = false; //Can't have SSL and TLS at the same time - $secure = static::ENCRYPTION_SMTPS; - } elseif ('tls' === $hostinfo[1]) { - $tls = true; - //TLS doesn't use a prefix - $secure = static::ENCRYPTION_STARTTLS; - } - //Do we need the OpenSSL extension? - $sslext = defined('OPENSSL_ALGO_SHA256'); - if (static::ENCRYPTION_STARTTLS === $secure || static::ENCRYPTION_SMTPS === $secure) { - //Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled - if (!$sslext) { - throw new Exception($this->lang('extension_missing') . 'openssl', self::STOP_CRITICAL); - } - } - $host = $hostinfo[2]; - $port = $this->Port; - if ( - array_key_exists(3, $hostinfo) && - is_numeric($hostinfo[3]) && - $hostinfo[3] > 0 && - $hostinfo[3] < 65536 - ) { - $port = (int) $hostinfo[3]; - } - if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) { - try { - if ($this->Helo) { - $hello = $this->Helo; - } else { - $hello = $this->serverHostname(); - } - $this->smtp->hello($hello); - //Automatically enable TLS encryption if: - //* it's not disabled - //* we have openssl extension - //* we are not already using SSL - //* the server offers STARTTLS - if ($this->SMTPAutoTLS && $sslext && 'ssl' !== $secure && $this->smtp->getServerExt('STARTTLS')) { - $tls = true; - } - if ($tls) { - if (!$this->smtp->startTLS()) { - throw new Exception($this->lang('connect_host')); - } - //We must resend EHLO after TLS negotiation - $this->smtp->hello($hello); - } - if ( - $this->SMTPAuth && !$this->smtp->authenticate( - $this->Username, - $this->Password, - $this->AuthType, - $this->oauth - ) - ) { - throw new Exception($this->lang('authenticate')); - } - - return true; - } catch (Exception $exc) { - $lastexception = $exc; - $this->edebug($exc->getMessage()); - //We must have connected, but then failed TLS or Auth, so close connection nicely - $this->smtp->quit(); - } - } - } - //If we get here, all connection attempts have failed, so close connection hard - $this->smtp->close(); - //As we've caught all exceptions, just report whatever the last one was - if ($this->exceptions && null !== $lastexception) { - throw $lastexception; - } - - return false; - } - - /** - * Close the active SMTP session if one exists. - */ - public function smtpClose() - { - if ((null !== $this->smtp) && $this->smtp->connected()) { - $this->smtp->quit(); - $this->smtp->close(); - } - } - - /** - * Set the language for error messages. - * Returns false if it cannot load the language file. - * The default language is English. - * - * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr") - * @param string $lang_path Path to the language file directory, with trailing separator (slash).D - * Do not set this from user input! - * - * @return bool - */ - public function setLanguage($langcode = 'en', $lang_path = '') - { - //Backwards compatibility for renamed language codes - $renamed_langcodes = [ - 'br' => 'pt_br', - 'cz' => 'cs', - 'dk' => 'da', - 'no' => 'nb', - 'se' => 'sv', - 'rs' => 'sr', - 'tg' => 'tl', - 'am' => 'hy', - ]; - - if (array_key_exists($langcode, $renamed_langcodes)) { - $langcode = $renamed_langcodes[$langcode]; - } - - //Define full set of translatable strings in English - $PHPMAILER_LANG = [ - 'authenticate' => 'SMTP Error: Could not authenticate.', - 'connect_host' => 'SMTP Error: Could not connect to SMTP host.', - 'data_not_accepted' => 'SMTP Error: data not accepted.', - 'empty_message' => 'Message body empty', - 'encoding' => 'Unknown encoding: ', - 'execute' => 'Could not execute: ', - 'file_access' => 'Could not access file: ', - 'file_open' => 'File Error: Could not open file: ', - 'from_failed' => 'The following From address failed: ', - 'instantiate' => 'Could not instantiate mail function.', - 'invalid_address' => 'Invalid address: ', - 'invalid_hostentry' => 'Invalid hostentry: ', - 'invalid_host' => 'Invalid host: ', - 'mailer_not_supported' => ' mailer is not supported.', - 'provide_address' => 'You must provide at least one recipient email address.', - 'recipients_failed' => 'SMTP Error: The following recipients failed: ', - 'signing' => 'Signing Error: ', - 'smtp_connect_failed' => 'SMTP connect() failed.', - 'smtp_error' => 'SMTP server error: ', - 'variable_set' => 'Cannot set or reset variable: ', - 'extension_missing' => 'Extension missing: ', - ]; - if (empty($lang_path)) { - //Calculate an absolute path so it can work if CWD is not here - $lang_path = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'language' . DIRECTORY_SEPARATOR; - } - //Validate $langcode - if (!preg_match('/^[a-z]{2}(?:_[a-zA-Z]{2})?$/', $langcode)) { - $langcode = 'en'; - } - $foundlang = true; - $lang_file = $lang_path . 'phpmailer.lang-' . $langcode . '.php'; - //There is no English translation file - if ('en' !== $langcode) { - //Make sure language file path is readable - if (!static::fileIsAccessible($lang_file)) { - $foundlang = false; - } else { - //$foundlang = include $lang_file; - $lines = file($lang_file); - foreach ($lines as $line) { - //Translation file lines look like this: - //$PHPMAILER_LANG['authenticate'] = 'SMTP-Fehler: Authentifizierung fehlgeschlagen.'; - //These files are parsed as text and not PHP so as to avoid the possibility of code injection - //See https://blog.stevenlevithan.com/archives/match-quoted-string - $matches = []; - if ( - preg_match( - '/^\$PHPMAILER_LANG\[\'([a-z\d_]+)\'\]\s*=\s*(["\'])(.+)*?\2;/', - $line, - $matches - ) && - //Ignore unknown translation keys - array_key_exists($matches[1], $PHPMAILER_LANG) - ) { - //Overwrite language-specific strings so we'll never have missing translation keys. - $PHPMAILER_LANG[$matches[1]] = (string)$matches[3]; - } - } - } - } - $this->language = $PHPMAILER_LANG; - - return $foundlang; //Returns false if language not found - } - - /** - * Get the array of strings for the current language. - * - * @return array - */ - public function getTranslations() - { - return $this->language; - } - - /** - * Create recipient headers. - * - * @param string $type - * @param array $addr An array of recipients, - * where each recipient is a 2-element indexed array with element 0 containing an address - * and element 1 containing a name, like: - * [['joe@example.com', 'Joe User'], ['zoe@example.com', 'Zoe User']] - * - * @return string - */ - public function addrAppend($type, $addr) - { - $addresses = []; - foreach ($addr as $address) { - $addresses[] = $this->addrFormat($address); - } - - return $type . ': ' . implode(', ', $addresses) . static::$LE; - } - - /** - * Format an address for use in a message header. - * - * @param array $addr A 2-element indexed array, element 0 containing an address, element 1 containing a name like - * ['joe@example.com', 'Joe User'] - * - * @return string - */ - public function addrFormat($addr) - { - if (empty($addr[1])) { //No name provided - return $this->secureHeader($addr[0]); - } - - return $this->encodeHeader($this->secureHeader($addr[1]), 'phrase') . - ' <' . $this->secureHeader($addr[0]) . '>'; - } - - /** - * Word-wrap message. - * For use with mailers that do not automatically perform wrapping - * and for quoted-printable encoded messages. - * Original written by philippe. - * - * @param string $message The message to wrap - * @param int $length The line length to wrap to - * @param bool $qp_mode Whether to run in Quoted-Printable mode - * - * @return string - */ - public function wrapText($message, $length, $qp_mode = false) - { - if ($qp_mode) { - $soft_break = sprintf(' =%s', static::$LE); - } else { - $soft_break = static::$LE; - } - //If utf-8 encoding is used, we will need to make sure we don't - //split multibyte characters when we wrap - $is_utf8 = static::CHARSET_UTF8 === strtolower($this->CharSet); - $lelen = strlen(static::$LE); - $crlflen = strlen(static::$LE); - - $message = static::normalizeBreaks($message); - //Remove a trailing line break - if (substr($message, -$lelen) === static::$LE) { - $message = substr($message, 0, -$lelen); - } - - //Split message into lines - $lines = explode(static::$LE, $message); - //Message will be rebuilt in here - $message = ''; - foreach ($lines as $line) { - $words = explode(' ', $line); - $buf = ''; - $firstword = true; - foreach ($words as $word) { - if ($qp_mode && (strlen($word) > $length)) { - $space_left = $length - strlen($buf) - $crlflen; - if (!$firstword) { - if ($space_left > 20) { - $len = $space_left; - if ($is_utf8) { - $len = $this->utf8CharBoundary($word, $len); - } elseif ('=' === substr($word, $len - 1, 1)) { - --$len; - } elseif ('=' === substr($word, $len - 2, 1)) { - $len -= 2; - } - $part = substr($word, 0, $len); - $word = substr($word, $len); - $buf .= ' ' . $part; - $message .= $buf . sprintf('=%s', static::$LE); - } else { - $message .= $buf . $soft_break; - } - $buf = ''; - } - while ($word !== '') { - if ($length <= 0) { - break; - } - $len = $length; - if ($is_utf8) { - $len = $this->utf8CharBoundary($word, $len); - } elseif ('=' === substr($word, $len - 1, 1)) { - --$len; - } elseif ('=' === substr($word, $len - 2, 1)) { - $len -= 2; - } - $part = substr($word, 0, $len); - $word = (string) substr($word, $len); - - if ($word !== '') { - $message .= $part . sprintf('=%s', static::$LE); - } else { - $buf = $part; - } - } - } else { - $buf_o = $buf; - if (!$firstword) { - $buf .= ' '; - } - $buf .= $word; - - if ('' !== $buf_o && strlen($buf) > $length) { - $message .= $buf_o . $soft_break; - $buf = $word; - } - } - $firstword = false; - } - $message .= $buf . static::$LE; - } - - return $message; - } - - /** - * Find the last character boundary prior to $maxLength in a utf-8 - * quoted-printable encoded string. - * Original written by Colin Brown. - * - * @param string $encodedText utf-8 QP text - * @param int $maxLength Find the last character boundary prior to this length - * - * @return int - */ - public function utf8CharBoundary($encodedText, $maxLength) - { - $foundSplitPos = false; - $lookBack = 3; - while (!$foundSplitPos) { - $lastChunk = substr($encodedText, $maxLength - $lookBack, $lookBack); - $encodedCharPos = strpos($lastChunk, '='); - if (false !== $encodedCharPos) { - //Found start of encoded character byte within $lookBack block. - //Check the encoded byte value (the 2 chars after the '=') - $hex = substr($encodedText, $maxLength - $lookBack + $encodedCharPos + 1, 2); - $dec = hexdec($hex); - if ($dec < 128) { - //Single byte character. - //If the encoded char was found at pos 0, it will fit - //otherwise reduce maxLength to start of the encoded char - if ($encodedCharPos > 0) { - $maxLength -= $lookBack - $encodedCharPos; - } - $foundSplitPos = true; - } elseif ($dec >= 192) { - //First byte of a multi byte character - //Reduce maxLength to split at start of character - $maxLength -= $lookBack - $encodedCharPos; - $foundSplitPos = true; - } elseif ($dec < 192) { - //Middle byte of a multi byte character, look further back - $lookBack += 3; - } - } else { - //No encoded character found - $foundSplitPos = true; - } - } - - return $maxLength; - } - - /** - * Apply word wrapping to the message body. - * Wraps the message body to the number of chars set in the WordWrap property. - * You should only do this to plain-text bodies as wrapping HTML tags may break them. - * This is called automatically by createBody(), so you don't need to call it yourself. - */ - public function setWordWrap() - { - if ($this->WordWrap < 1) { - return; - } - - switch ($this->message_type) { - case 'alt': - case 'alt_inline': - case 'alt_attach': - case 'alt_inline_attach': - $this->AltBody = $this->wrapText($this->AltBody, $this->WordWrap); - break; - default: - $this->Body = $this->wrapText($this->Body, $this->WordWrap); - break; - } - } - - /** - * Assemble message headers. - * - * @return string The assembled headers - */ - public function createHeader() - { - $result = ''; - - $result .= $this->headerLine('Date', '' === $this->MessageDate ? self::rfcDate() : $this->MessageDate); - - //The To header is created automatically by mail(), so needs to be omitted here - if ('mail' !== $this->Mailer) { - if ($this->SingleTo) { - foreach ($this->to as $toaddr) { - $this->SingleToArray[] = $this->addrFormat($toaddr); - } - } elseif (count($this->to) > 0) { - $result .= $this->addrAppend('To', $this->to); - } elseif (count($this->cc) === 0) { - $result .= $this->headerLine('To', 'undisclosed-recipients:;'); - } - } - $result .= $this->addrAppend('From', [[trim($this->From), $this->FromName]]); - - //sendmail and mail() extract Cc from the header before sending - if (count($this->cc) > 0) { - $result .= $this->addrAppend('Cc', $this->cc); - } - - //sendmail and mail() extract Bcc from the header before sending - if ( - ( - 'sendmail' === $this->Mailer || 'qmail' === $this->Mailer || 'mail' === $this->Mailer - ) - && count($this->bcc) > 0 - ) { - $result .= $this->addrAppend('Bcc', $this->bcc); - } - - if (count($this->ReplyTo) > 0) { - $result .= $this->addrAppend('Reply-To', $this->ReplyTo); - } - - //mail() sets the subject itself - if ('mail' !== $this->Mailer) { - $result .= $this->headerLine('Subject', $this->encodeHeader($this->secureHeader($this->Subject))); - } - - //Only allow a custom message ID if it conforms to RFC 5322 section 3.6.4 - //https://tools.ietf.org/html/rfc5322#section-3.6.4 - if ('' !== $this->MessageID && preg_match('/^<.*@.*>$/', $this->MessageID)) { - $this->lastMessageID = $this->MessageID; - } else { - $this->lastMessageID = sprintf('<%s@%s>', $this->uniqueid, $this->serverHostname()); - } - $result .= $this->headerLine('Message-ID', $this->lastMessageID); - if (null !== $this->Priority) { - $result .= $this->headerLine('X-Priority', $this->Priority); - } - if ('' === $this->XMailer) { - $result .= $this->headerLine( - 'X-Mailer', - 'PHPMailer ' . self::VERSION . ' (https://github.com/PHPMailer/PHPMailer)' - ); - } else { - $myXmailer = trim($this->XMailer); - if ($myXmailer) { - $result .= $this->headerLine('X-Mailer', $myXmailer); - } - } - - if ('' !== $this->ConfirmReadingTo) { - $result .= $this->headerLine('Disposition-Notification-To', '<' . $this->ConfirmReadingTo . '>'); - } - - //Add custom headers - foreach ($this->CustomHeader as $header) { - $result .= $this->headerLine( - trim($header[0]), - $this->encodeHeader(trim($header[1])) - ); - } - if (!$this->sign_key_file) { - $result .= $this->headerLine('MIME-Version', '1.0'); - $result .= $this->getMailMIME(); - } - - return $result; - } - - /** - * Get the message MIME type headers. - * - * @return string - */ - public function getMailMIME() - { - $result = ''; - $ismultipart = true; - switch ($this->message_type) { - case 'inline': - $result .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_RELATED . ';'); - $result .= $this->textLine(' boundary="' . $this->boundary[1] . '"'); - break; - case 'attach': - case 'inline_attach': - case 'alt_attach': - case 'alt_inline_attach': - $result .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_MIXED . ';'); - $result .= $this->textLine(' boundary="' . $this->boundary[1] . '"'); - break; - case 'alt': - case 'alt_inline': - $result .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_ALTERNATIVE . ';'); - $result .= $this->textLine(' boundary="' . $this->boundary[1] . '"'); - break; - default: - //Catches case 'plain': and case '': - $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); - $ismultipart = false; - break; - } - //RFC1341 part 5 says 7bit is assumed if not specified - if (static::ENCODING_7BIT !== $this->Encoding) { - //RFC 2045 section 6.4 says multipart MIME parts may only use 7bit, 8bit or binary CTE - if ($ismultipart) { - if (static::ENCODING_8BIT === $this->Encoding) { - $result .= $this->headerLine('Content-Transfer-Encoding', static::ENCODING_8BIT); - } - //The only remaining alternatives are quoted-printable and base64, which are both 7bit compatible - } else { - $result .= $this->headerLine('Content-Transfer-Encoding', $this->Encoding); - } - } - - return $result; - } - - /** - * Returns the whole MIME message. - * Includes complete headers and body. - * Only valid post preSend(). - * - * @see PHPMailer::preSend() - * - * @return string - */ - public function getSentMIMEMessage() - { - return static::stripTrailingWSP($this->MIMEHeader . $this->mailHeader) . - static::$LE . static::$LE . $this->MIMEBody; - } - - /** - * Create a unique ID to use for boundaries. - * - * @return string - */ - protected function generateId() - { - $len = 32; //32 bytes = 256 bits - $bytes = ''; - if (function_exists('random_bytes')) { - try { - $bytes = random_bytes($len); - } catch (\Exception $e) { - //Do nothing - } - } elseif (function_exists('openssl_random_pseudo_bytes')) { - /** @noinspection CryptographicallySecureRandomnessInspection */ - $bytes = openssl_random_pseudo_bytes($len); - } - if ($bytes === '') { - //We failed to produce a proper random string, so make do. - //Use a hash to force the length to the same as the other methods - $bytes = hash('sha256', uniqid((string) mt_rand(), true), true); - } - - //We don't care about messing up base64 format here, just want a random string - return str_replace(['=', '+', '/'], '', base64_encode(hash('sha256', $bytes, true))); - } - - /** - * Assemble the message body. - * Returns an empty string on failure. - * - * @throws Exception - * - * @return string The assembled message body - */ - public function createBody() - { - $body = ''; - //Create unique IDs and preset boundaries - $this->uniqueid = $this->generateId(); - $this->boundary[1] = 'b1_' . $this->uniqueid; - $this->boundary[2] = 'b2_' . $this->uniqueid; - $this->boundary[3] = 'b3_' . $this->uniqueid; - - if ($this->sign_key_file) { - $body .= $this->getMailMIME() . static::$LE; - } - - $this->setWordWrap(); - - $bodyEncoding = $this->Encoding; - $bodyCharSet = $this->CharSet; - //Can we do a 7-bit downgrade? - if (static::ENCODING_8BIT === $bodyEncoding && !$this->has8bitChars($this->Body)) { - $bodyEncoding = static::ENCODING_7BIT; - //All ISO 8859, Windows codepage and UTF-8 charsets are ascii compatible up to 7-bit - $bodyCharSet = static::CHARSET_ASCII; - } - //If lines are too long, and we're not already using an encoding that will shorten them, - //change to quoted-printable transfer encoding for the body part only - if (static::ENCODING_BASE64 !== $this->Encoding && static::hasLineLongerThanMax($this->Body)) { - $bodyEncoding = static::ENCODING_QUOTED_PRINTABLE; - } - - $altBodyEncoding = $this->Encoding; - $altBodyCharSet = $this->CharSet; - //Can we do a 7-bit downgrade? - if (static::ENCODING_8BIT === $altBodyEncoding && !$this->has8bitChars($this->AltBody)) { - $altBodyEncoding = static::ENCODING_7BIT; - //All ISO 8859, Windows codepage and UTF-8 charsets are ascii compatible up to 7-bit - $altBodyCharSet = static::CHARSET_ASCII; - } - //If lines are too long, and we're not already using an encoding that will shorten them, - //change to quoted-printable transfer encoding for the alt body part only - if (static::ENCODING_BASE64 !== $altBodyEncoding && static::hasLineLongerThanMax($this->AltBody)) { - $altBodyEncoding = static::ENCODING_QUOTED_PRINTABLE; - } - //Use this as a preamble in all multipart message types - $mimepre = 'This is a multi-part message in MIME format.' . static::$LE . static::$LE; - switch ($this->message_type) { - case 'inline': - $body .= $mimepre; - $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - $body .= $this->attachAll('inline', $this->boundary[1]); - break; - case 'attach': - $body .= $mimepre; - $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - $body .= $this->attachAll('attachment', $this->boundary[1]); - break; - case 'inline_attach': - $body .= $mimepre; - $body .= $this->textLine('--' . $this->boundary[1]); - $body .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_RELATED . ';'); - $body .= $this->textLine(' boundary="' . $this->boundary[2] . '";'); - $body .= $this->textLine(' type="' . static::CONTENT_TYPE_TEXT_HTML . '"'); - $body .= static::$LE; - $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, '', $bodyEncoding); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - $body .= $this->attachAll('inline', $this->boundary[2]); - $body .= static::$LE; - $body .= $this->attachAll('attachment', $this->boundary[1]); - break; - case 'alt': - $body .= $mimepre; - $body .= $this->getBoundary( - $this->boundary[1], - $altBodyCharSet, - static::CONTENT_TYPE_PLAINTEXT, - $altBodyEncoding - ); - $body .= $this->encodeString($this->AltBody, $altBodyEncoding); - $body .= static::$LE; - $body .= $this->getBoundary( - $this->boundary[1], - $bodyCharSet, - static::CONTENT_TYPE_TEXT_HTML, - $bodyEncoding - ); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - if (!empty($this->Ical)) { - $method = static::ICAL_METHOD_REQUEST; - foreach (static::$IcalMethods as $imethod) { - if (stripos($this->Ical, 'METHOD:' . $imethod) !== false) { - $method = $imethod; - break; - } - } - $body .= $this->getBoundary( - $this->boundary[1], - '', - static::CONTENT_TYPE_TEXT_CALENDAR . '; method=' . $method, - '' - ); - $body .= $this->encodeString($this->Ical, $this->Encoding); - $body .= static::$LE; - } - $body .= $this->endBoundary($this->boundary[1]); - break; - case 'alt_inline': - $body .= $mimepre; - $body .= $this->getBoundary( - $this->boundary[1], - $altBodyCharSet, - static::CONTENT_TYPE_PLAINTEXT, - $altBodyEncoding - ); - $body .= $this->encodeString($this->AltBody, $altBodyEncoding); - $body .= static::$LE; - $body .= $this->textLine('--' . $this->boundary[1]); - $body .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_RELATED . ';'); - $body .= $this->textLine(' boundary="' . $this->boundary[2] . '";'); - $body .= $this->textLine(' type="' . static::CONTENT_TYPE_TEXT_HTML . '"'); - $body .= static::$LE; - $body .= $this->getBoundary( - $this->boundary[2], - $bodyCharSet, - static::CONTENT_TYPE_TEXT_HTML, - $bodyEncoding - ); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - $body .= $this->attachAll('inline', $this->boundary[2]); - $body .= static::$LE; - $body .= $this->endBoundary($this->boundary[1]); - break; - case 'alt_attach': - $body .= $mimepre; - $body .= $this->textLine('--' . $this->boundary[1]); - $body .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_ALTERNATIVE . ';'); - $body .= $this->textLine(' boundary="' . $this->boundary[2] . '"'); - $body .= static::$LE; - $body .= $this->getBoundary( - $this->boundary[2], - $altBodyCharSet, - static::CONTENT_TYPE_PLAINTEXT, - $altBodyEncoding - ); - $body .= $this->encodeString($this->AltBody, $altBodyEncoding); - $body .= static::$LE; - $body .= $this->getBoundary( - $this->boundary[2], - $bodyCharSet, - static::CONTENT_TYPE_TEXT_HTML, - $bodyEncoding - ); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - if (!empty($this->Ical)) { - $method = static::ICAL_METHOD_REQUEST; - foreach (static::$IcalMethods as $imethod) { - if (stripos($this->Ical, 'METHOD:' . $imethod) !== false) { - $method = $imethod; - break; - } - } - $body .= $this->getBoundary( - $this->boundary[2], - '', - static::CONTENT_TYPE_TEXT_CALENDAR . '; method=' . $method, - '' - ); - $body .= $this->encodeString($this->Ical, $this->Encoding); - } - $body .= $this->endBoundary($this->boundary[2]); - $body .= static::$LE; - $body .= $this->attachAll('attachment', $this->boundary[1]); - break; - case 'alt_inline_attach': - $body .= $mimepre; - $body .= $this->textLine('--' . $this->boundary[1]); - $body .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_ALTERNATIVE . ';'); - $body .= $this->textLine(' boundary="' . $this->boundary[2] . '"'); - $body .= static::$LE; - $body .= $this->getBoundary( - $this->boundary[2], - $altBodyCharSet, - static::CONTENT_TYPE_PLAINTEXT, - $altBodyEncoding - ); - $body .= $this->encodeString($this->AltBody, $altBodyEncoding); - $body .= static::$LE; - $body .= $this->textLine('--' . $this->boundary[2]); - $body .= $this->headerLine('Content-Type', static::CONTENT_TYPE_MULTIPART_RELATED . ';'); - $body .= $this->textLine(' boundary="' . $this->boundary[3] . '";'); - $body .= $this->textLine(' type="' . static::CONTENT_TYPE_TEXT_HTML . '"'); - $body .= static::$LE; - $body .= $this->getBoundary( - $this->boundary[3], - $bodyCharSet, - static::CONTENT_TYPE_TEXT_HTML, - $bodyEncoding - ); - $body .= $this->encodeString($this->Body, $bodyEncoding); - $body .= static::$LE; - $body .= $this->attachAll('inline', $this->boundary[3]); - $body .= static::$LE; - $body .= $this->endBoundary($this->boundary[2]); - $body .= static::$LE; - $body .= $this->attachAll('attachment', $this->boundary[1]); - break; - default: - //Catch case 'plain' and case '', applies to simple `text/plain` and `text/html` body content types - //Reset the `Encoding` property in case we changed it for line length reasons - $this->Encoding = $bodyEncoding; - $body .= $this->encodeString($this->Body, $this->Encoding); - break; - } - - if ($this->isError()) { - $body = ''; - if ($this->exceptions) { - throw new Exception($this->lang('empty_message'), self::STOP_CRITICAL); - } - } elseif ($this->sign_key_file) { - try { - if (!defined('PKCS7_TEXT')) { - throw new Exception($this->lang('extension_missing') . 'openssl'); - } - - $file = tempnam(sys_get_temp_dir(), 'srcsign'); - $signed = tempnam(sys_get_temp_dir(), 'mailsign'); - file_put_contents($file, $body); - - //Workaround for PHP bug https://bugs.php.net/bug.php?id=69197 - if (empty($this->sign_extracerts_file)) { - $sign = @openssl_pkcs7_sign( - $file, - $signed, - 'file://' . realpath($this->sign_cert_file), - ['file://' . realpath($this->sign_key_file), $this->sign_key_pass], - [] - ); - } else { - $sign = @openssl_pkcs7_sign( - $file, - $signed, - 'file://' . realpath($this->sign_cert_file), - ['file://' . realpath($this->sign_key_file), $this->sign_key_pass], - [], - PKCS7_DETACHED, - $this->sign_extracerts_file - ); - } - - @unlink($file); - if ($sign) { - $body = file_get_contents($signed); - @unlink($signed); - //The message returned by openssl contains both headers and body, so need to split them up - $parts = explode("\n\n", $body, 2); - $this->MIMEHeader .= $parts[0] . static::$LE . static::$LE; - $body = $parts[1]; - } else { - @unlink($signed); - throw new Exception($this->lang('signing') . openssl_error_string()); - } - } catch (Exception $exc) { - $body = ''; - if ($this->exceptions) { - throw $exc; - } - } - } - - return $body; - } - - /** - * Return the start of a message boundary. - * - * @param string $boundary - * @param string $charSet - * @param string $contentType - * @param string $encoding - * - * @return string - */ - protected function getBoundary($boundary, $charSet, $contentType, $encoding) - { - $result = ''; - if ('' === $charSet) { - $charSet = $this->CharSet; - } - if ('' === $contentType) { - $contentType = $this->ContentType; - } - if ('' === $encoding) { - $encoding = $this->Encoding; - } - $result .= $this->textLine('--' . $boundary); - $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet); - $result .= static::$LE; - //RFC1341 part 5 says 7bit is assumed if not specified - if (static::ENCODING_7BIT !== $encoding) { - $result .= $this->headerLine('Content-Transfer-Encoding', $encoding); - } - $result .= static::$LE; - - return $result; - } - - /** - * Return the end of a message boundary. - * - * @param string $boundary - * - * @return string - */ - protected function endBoundary($boundary) - { - return static::$LE . '--' . $boundary . '--' . static::$LE; - } - - /** - * Set the message type. - * PHPMailer only supports some preset message types, not arbitrary MIME structures. - */ - protected function setMessageType() - { - $type = []; - if ($this->alternativeExists()) { - $type[] = 'alt'; - } - if ($this->inlineImageExists()) { - $type[] = 'inline'; - } - if ($this->attachmentExists()) { - $type[] = 'attach'; - } - $this->message_type = implode('_', $type); - if ('' === $this->message_type) { - //The 'plain' message_type refers to the message having a single body element, not that it is plain-text - $this->message_type = 'plain'; - } - } - - /** - * Format a header line. - * - * @param string $name - * @param string|int $value - * - * @return string - */ - public function headerLine($name, $value) - { - return $name . ': ' . $value . static::$LE; - } - - /** - * Return a formatted mail line. - * - * @param string $value - * - * @return string - */ - public function textLine($value) - { - return $value . static::$LE; - } - - /** - * Add an attachment from a path on the filesystem. - * Never use a user-supplied path to a file! - * Returns false if the file could not be found or read. - * Explicitly *does not* support passing URLs; PHPMailer is not an HTTP client. - * If you need to do that, fetch the resource yourself and pass it in via a local file or string. - * - * @param string $path Path to the attachment - * @param string $name Overrides the attachment name - * @param string $encoding File encoding (see $Encoding) - * @param string $type MIME type, e.g. `image/jpeg`; determined automatically from $path if not specified - * @param string $disposition Disposition to use - * - * @throws Exception - * - * @return bool - */ - public function addAttachment( - $path, - $name = '', - $encoding = self::ENCODING_BASE64, - $type = '', - $disposition = 'attachment' - ) { - try { - if (!static::fileIsAccessible($path)) { - throw new Exception($this->lang('file_access') . $path, self::STOP_CONTINUE); - } - - //If a MIME type is not specified, try to work it out from the file name - if ('' === $type) { - $type = static::filenameToType($path); - } - - $filename = (string) static::mb_pathinfo($path, PATHINFO_BASENAME); - if ('' === $name) { - $name = $filename; - } - if (!$this->validateEncoding($encoding)) { - throw new Exception($this->lang('encoding') . $encoding); - } - - $this->attachment[] = [ - 0 => $path, - 1 => $filename, - 2 => $name, - 3 => $encoding, - 4 => $type, - 5 => false, //isStringAttachment - 6 => $disposition, - 7 => $name, - ]; - } catch (Exception $exc) { - $this->setError($exc->getMessage()); - $this->edebug($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return false; - } - - return true; - } - - /** - * Return the array of attachments. - * - * @return array - */ - public function getAttachments() - { - return $this->attachment; - } - - /** - * Attach all file, string, and binary attachments to the message. - * Returns an empty string on failure. - * - * @param string $disposition_type - * @param string $boundary - * - * @throws Exception - * - * @return string - */ - protected function attachAll($disposition_type, $boundary) - { - //Return text of body - $mime = []; - $cidUniq = []; - $incl = []; - - //Add all attachments - foreach ($this->attachment as $attachment) { - //Check if it is a valid disposition_filter - if ($attachment[6] === $disposition_type) { - //Check for string attachment - $string = ''; - $path = ''; - $bString = $attachment[5]; - if ($bString) { - $string = $attachment[0]; - } else { - $path = $attachment[0]; - } - - $inclhash = hash('sha256', serialize($attachment)); - if (in_array($inclhash, $incl, true)) { - continue; - } - $incl[] = $inclhash; - $name = $attachment[2]; - $encoding = $attachment[3]; - $type = $attachment[4]; - $disposition = $attachment[6]; - $cid = $attachment[7]; - if ('inline' === $disposition && array_key_exists($cid, $cidUniq)) { - continue; - } - $cidUniq[$cid] = true; - - $mime[] = sprintf('--%s%s', $boundary, static::$LE); - //Only include a filename property if we have one - if (!empty($name)) { - $mime[] = sprintf( - 'Content-Type: %s; name=%s%s', - $type, - static::quotedString($this->encodeHeader($this->secureHeader($name))), - static::$LE - ); - } else { - $mime[] = sprintf( - 'Content-Type: %s%s', - $type, - static::$LE - ); - } - //RFC1341 part 5 says 7bit is assumed if not specified - if (static::ENCODING_7BIT !== $encoding) { - $mime[] = sprintf('Content-Transfer-Encoding: %s%s', $encoding, static::$LE); - } - - //Only set Content-IDs on inline attachments - if ((string) $cid !== '' && $disposition === 'inline') { - $mime[] = 'Content-ID: <' . $this->encodeHeader($this->secureHeader($cid)) . '>' . static::$LE; - } - - //Allow for bypassing the Content-Disposition header - if (!empty($disposition)) { - $encoded_name = $this->encodeHeader($this->secureHeader($name)); - if (!empty($encoded_name)) { - $mime[] = sprintf( - 'Content-Disposition: %s; filename=%s%s', - $disposition, - static::quotedString($encoded_name), - static::$LE . static::$LE - ); - } else { - $mime[] = sprintf( - 'Content-Disposition: %s%s', - $disposition, - static::$LE . static::$LE - ); - } - } else { - $mime[] = static::$LE; - } - - //Encode as string attachment - if ($bString) { - $mime[] = $this->encodeString($string, $encoding); - } else { - $mime[] = $this->encodeFile($path, $encoding); - } - if ($this->isError()) { - return ''; - } - $mime[] = static::$LE; - } - } - - $mime[] = sprintf('--%s--%s', $boundary, static::$LE); - - return implode('', $mime); - } - - /** - * Encode a file attachment in requested format. - * Returns an empty string on failure. - * - * @param string $path The full path to the file - * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' - * - * @return string - */ - protected function encodeFile($path, $encoding = self::ENCODING_BASE64) - { - try { - if (!static::fileIsAccessible($path)) { - throw new Exception($this->lang('file_open') . $path, self::STOP_CONTINUE); - } - $file_buffer = file_get_contents($path); - if (false === $file_buffer) { - throw new Exception($this->lang('file_open') . $path, self::STOP_CONTINUE); - } - $file_buffer = $this->encodeString($file_buffer, $encoding); - - return $file_buffer; - } catch (Exception $exc) { - $this->setError($exc->getMessage()); - $this->edebug($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return ''; - } - } - - /** - * Encode a string in requested format. - * Returns an empty string on failure. - * - * @param string $str The text to encode - * @param string $encoding The encoding to use; one of 'base64', '7bit', '8bit', 'binary', 'quoted-printable' - * - * @throws Exception - * - * @return string - */ - public function encodeString($str, $encoding = self::ENCODING_BASE64) - { - $encoded = ''; - switch (strtolower($encoding)) { - case static::ENCODING_BASE64: - $encoded = chunk_split( - base64_encode($str), - static::STD_LINE_LENGTH, - static::$LE - ); - break; - case static::ENCODING_7BIT: - case static::ENCODING_8BIT: - $encoded = static::normalizeBreaks($str); - //Make sure it ends with a line break - if (substr($encoded, -(strlen(static::$LE))) !== static::$LE) { - $encoded .= static::$LE; - } - break; - case static::ENCODING_BINARY: - $encoded = $str; - break; - case static::ENCODING_QUOTED_PRINTABLE: - $encoded = $this->encodeQP($str); - break; - default: - $this->setError($this->lang('encoding') . $encoding); - if ($this->exceptions) { - throw new Exception($this->lang('encoding') . $encoding); - } - break; - } - - return $encoded; - } - - /** - * Encode a header value (not including its label) optimally. - * Picks shortest of Q, B, or none. Result includes folding if needed. - * See RFC822 definitions for phrase, comment and text positions. - * - * @param string $str The header value to encode - * @param string $position What context the string will be used in - * - * @return string - */ - public function encodeHeader($str, $position = 'text') - { - $matchcount = 0; - switch (strtolower($position)) { - case 'phrase': - if (!preg_match('/[\200-\377]/', $str)) { - //Can't use addslashes as we don't know the value of magic_quotes_sybase - $encoded = addcslashes($str, "\0..\37\177\\\""); - if (($str === $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) { - return $encoded; - } - - return "\"$encoded\""; - } - $matchcount = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches); - break; - /* @noinspection PhpMissingBreakStatementInspection */ - case 'comment': - $matchcount = preg_match_all('/[()"]/', $str, $matches); - //fallthrough - case 'text': - default: - $matchcount += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches); - break; - } - - if ($this->has8bitChars($str)) { - $charset = $this->CharSet; - } else { - $charset = static::CHARSET_ASCII; - } - - //Q/B encoding adds 8 chars and the charset ("` =??[QB]??=`"). - $overhead = 8 + strlen($charset); - - if ('mail' === $this->Mailer) { - $maxlen = static::MAIL_MAX_LINE_LENGTH - $overhead; - } else { - $maxlen = static::MAX_LINE_LENGTH - $overhead; - } - - //Select the encoding that produces the shortest output and/or prevents corruption. - if ($matchcount > strlen($str) / 3) { - //More than 1/3 of the content needs encoding, use B-encode. - $encoding = 'B'; - } elseif ($matchcount > 0) { - //Less than 1/3 of the content needs encoding, use Q-encode. - $encoding = 'Q'; - } elseif (strlen($str) > $maxlen) { - //No encoding needed, but value exceeds max line length, use Q-encode to prevent corruption. - $encoding = 'Q'; - } else { - //No reformatting needed - $encoding = false; - } - - switch ($encoding) { - case 'B': - if ($this->hasMultiBytes($str)) { - //Use a custom function which correctly encodes and wraps long - //multibyte strings without breaking lines within a character - $encoded = $this->base64EncodeWrapMB($str, "\n"); - } else { - $encoded = base64_encode($str); - $maxlen -= $maxlen % 4; - $encoded = trim(chunk_split($encoded, $maxlen, "\n")); - } - $encoded = preg_replace('/^(.*)$/m', ' =?' . $charset . "?$encoding?\\1?=", $encoded); - break; - case 'Q': - $encoded = $this->encodeQ($str, $position); - $encoded = $this->wrapText($encoded, $maxlen, true); - $encoded = str_replace('=' . static::$LE, "\n", trim($encoded)); - $encoded = preg_replace('/^(.*)$/m', ' =?' . $charset . "?$encoding?\\1?=", $encoded); - break; - default: - return $str; - } - - return trim(static::normalizeBreaks($encoded)); - } - - /** - * Check if a string contains multi-byte characters. - * - * @param string $str multi-byte text to wrap encode - * - * @return bool - */ - public function hasMultiBytes($str) - { - if (function_exists('mb_strlen')) { - return strlen($str) > mb_strlen($str, $this->CharSet); - } - - //Assume no multibytes (we can't handle without mbstring functions anyway) - return false; - } - - /** - * Does a string contain any 8-bit chars (in any charset)? - * - * @param string $text - * - * @return bool - */ - public function has8bitChars($text) - { - return (bool) preg_match('/[\x80-\xFF]/', $text); - } - - /** - * Encode and wrap long multibyte strings for mail headers - * without breaking lines within a character. - * Adapted from a function by paravoid. - * - * @see http://www.php.net/manual/en/function.mb-encode-mimeheader.php#60283 - * - * @param string $str multi-byte text to wrap encode - * @param string $linebreak string to use as linefeed/end-of-line - * - * @return string - */ - public function base64EncodeWrapMB($str, $linebreak = null) - { - $start = '=?' . $this->CharSet . '?B?'; - $end = '?='; - $encoded = ''; - if (null === $linebreak) { - $linebreak = static::$LE; - } - - $mb_length = mb_strlen($str, $this->CharSet); - //Each line must have length <= 75, including $start and $end - $length = 75 - strlen($start) - strlen($end); - //Average multi-byte ratio - $ratio = $mb_length / strlen($str); - //Base64 has a 4:3 ratio - $avgLength = floor($length * $ratio * .75); - - $offset = 0; - for ($i = 0; $i < $mb_length; $i += $offset) { - $lookBack = 0; - do { - $offset = $avgLength - $lookBack; - $chunk = mb_substr($str, $i, $offset, $this->CharSet); - $chunk = base64_encode($chunk); - ++$lookBack; - } while (strlen($chunk) > $length); - $encoded .= $chunk . $linebreak; - } - - //Chomp the last linefeed - return substr($encoded, 0, -strlen($linebreak)); - } - - /** - * Encode a string in quoted-printable format. - * According to RFC2045 section 6.7. - * - * @param string $string The text to encode - * - * @return string - */ - public function encodeQP($string) - { - return static::normalizeBreaks(quoted_printable_encode($string)); - } - - /** - * Encode a string using Q encoding. - * - * @see http://tools.ietf.org/html/rfc2047#section-4.2 - * - * @param string $str the text to encode - * @param string $position Where the text is going to be used, see the RFC for what that means - * - * @return string - */ - public function encodeQ($str, $position = 'text') - { - //There should not be any EOL in the string - $pattern = ''; - $encoded = str_replace(["\r", "\n"], '', $str); - switch (strtolower($position)) { - case 'phrase': - //RFC 2047 section 5.3 - $pattern = '^A-Za-z0-9!*+\/ -'; - break; - /* - * RFC 2047 section 5.2. - * Build $pattern without including delimiters and [] - */ - /* @noinspection PhpMissingBreakStatementInspection */ - case 'comment': - $pattern = '\(\)"'; - /* Intentional fall through */ - case 'text': - default: - //RFC 2047 section 5.1 - //Replace every high ascii, control, =, ? and _ characters - $pattern = '\000-\011\013\014\016-\037\075\077\137\177-\377' . $pattern; - break; - } - $matches = []; - if (preg_match_all("/[{$pattern}]/", $encoded, $matches)) { - //If the string contains an '=', make sure it's the first thing we replace - //so as to avoid double-encoding - $eqkey = array_search('=', $matches[0], true); - if (false !== $eqkey) { - unset($matches[0][$eqkey]); - array_unshift($matches[0], '='); - } - foreach (array_unique($matches[0]) as $char) { - $encoded = str_replace($char, '=' . sprintf('%02X', ord($char)), $encoded); - } - } - //Replace spaces with _ (more readable than =20) - //RFC 2047 section 4.2(2) - return str_replace(' ', '_', $encoded); - } - - /** - * Add a string or binary attachment (non-filesystem). - * This method can be used to attach ascii or binary data, - * such as a BLOB record from a database. - * - * @param string $string String attachment data - * @param string $filename Name of the attachment - * @param string $encoding File encoding (see $Encoding) - * @param string $type File extension (MIME) type - * @param string $disposition Disposition to use - * - * @throws Exception - * - * @return bool True on successfully adding an attachment - */ - public function addStringAttachment( - $string, - $filename, - $encoding = self::ENCODING_BASE64, - $type = '', - $disposition = 'attachment' - ) { - try { - //If a MIME type is not specified, try to work it out from the file name - if ('' === $type) { - $type = static::filenameToType($filename); - } - - if (!$this->validateEncoding($encoding)) { - throw new Exception($this->lang('encoding') . $encoding); - } - - //Append to $attachment array - $this->attachment[] = [ - 0 => $string, - 1 => $filename, - 2 => static::mb_pathinfo($filename, PATHINFO_BASENAME), - 3 => $encoding, - 4 => $type, - 5 => true, //isStringAttachment - 6 => $disposition, - 7 => 0, - ]; - } catch (Exception $exc) { - $this->setError($exc->getMessage()); - $this->edebug($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return false; - } - - return true; - } - - /** - * Add an embedded (inline) attachment from a file. - * This can include images, sounds, and just about any other document type. - * These differ from 'regular' attachments in that they are intended to be - * displayed inline with the message, not just attached for download. - * This is used in HTML messages that embed the images - * the HTML refers to using the $cid value. - * Never use a user-supplied path to a file! - * - * @param string $path Path to the attachment - * @param string $cid Content ID of the attachment; Use this to reference - * the content when using an embedded image in HTML - * @param string $name Overrides the attachment name - * @param string $encoding File encoding (see $Encoding) - * @param string $type File MIME type - * @param string $disposition Disposition to use - * - * @throws Exception - * - * @return bool True on successfully adding an attachment - */ - public function addEmbeddedImage( - $path, - $cid, - $name = '', - $encoding = self::ENCODING_BASE64, - $type = '', - $disposition = 'inline' - ) { - try { - if (!static::fileIsAccessible($path)) { - throw new Exception($this->lang('file_access') . $path, self::STOP_CONTINUE); - } - - //If a MIME type is not specified, try to work it out from the file name - if ('' === $type) { - $type = static::filenameToType($path); - } - - if (!$this->validateEncoding($encoding)) { - throw new Exception($this->lang('encoding') . $encoding); - } - - $filename = (string) static::mb_pathinfo($path, PATHINFO_BASENAME); - if ('' === $name) { - $name = $filename; - } - - //Append to $attachment array - $this->attachment[] = [ - 0 => $path, - 1 => $filename, - 2 => $name, - 3 => $encoding, - 4 => $type, - 5 => false, //isStringAttachment - 6 => $disposition, - 7 => $cid, - ]; - } catch (Exception $exc) { - $this->setError($exc->getMessage()); - $this->edebug($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return false; - } - - return true; - } - - /** - * Add an embedded stringified attachment. - * This can include images, sounds, and just about any other document type. - * If your filename doesn't contain an extension, be sure to set the $type to an appropriate MIME type. - * - * @param string $string The attachment binary data - * @param string $cid Content ID of the attachment; Use this to reference - * the content when using an embedded image in HTML - * @param string $name A filename for the attachment. If this contains an extension, - * PHPMailer will attempt to set a MIME type for the attachment. - * For example 'file.jpg' would get an 'image/jpeg' MIME type. - * @param string $encoding File encoding (see $Encoding), defaults to 'base64' - * @param string $type MIME type - will be used in preference to any automatically derived type - * @param string $disposition Disposition to use - * - * @throws Exception - * - * @return bool True on successfully adding an attachment - */ - public function addStringEmbeddedImage( - $string, - $cid, - $name = '', - $encoding = self::ENCODING_BASE64, - $type = '', - $disposition = 'inline' - ) { - try { - //If a MIME type is not specified, try to work it out from the name - if ('' === $type && !empty($name)) { - $type = static::filenameToType($name); - } - - if (!$this->validateEncoding($encoding)) { - throw new Exception($this->lang('encoding') . $encoding); - } - - //Append to $attachment array - $this->attachment[] = [ - 0 => $string, - 1 => $name, - 2 => $name, - 3 => $encoding, - 4 => $type, - 5 => true, //isStringAttachment - 6 => $disposition, - 7 => $cid, - ]; - } catch (Exception $exc) { - $this->setError($exc->getMessage()); - $this->edebug($exc->getMessage()); - if ($this->exceptions) { - throw $exc; - } - - return false; - } - - return true; - } - - /** - * Validate encodings. - * - * @param string $encoding - * - * @return bool - */ - protected function validateEncoding($encoding) - { - return in_array( - $encoding, - [ - self::ENCODING_7BIT, - self::ENCODING_QUOTED_PRINTABLE, - self::ENCODING_BASE64, - self::ENCODING_8BIT, - self::ENCODING_BINARY, - ], - true - ); - } - - /** - * Check if an embedded attachment is present with this cid. - * - * @param string $cid - * - * @return bool - */ - protected function cidExists($cid) - { - foreach ($this->attachment as $attachment) { - if ('inline' === $attachment[6] && $cid === $attachment[7]) { - return true; - } - } - - return false; - } - - /** - * Check if an inline attachment is present. - * - * @return bool - */ - public function inlineImageExists() - { - foreach ($this->attachment as $attachment) { - if ('inline' === $attachment[6]) { - return true; - } - } - - return false; - } - - /** - * Check if an attachment (non-inline) is present. - * - * @return bool - */ - public function attachmentExists() - { - foreach ($this->attachment as $attachment) { - if ('attachment' === $attachment[6]) { - return true; - } - } - - return false; - } - - /** - * Check if this message has an alternative body set. - * - * @return bool - */ - public function alternativeExists() - { - return !empty($this->AltBody); - } - - /** - * Clear queued addresses of given kind. - * - * @param string $kind 'to', 'cc', or 'bcc' - */ - public function clearQueuedAddresses($kind) - { - $this->RecipientsQueue = array_filter( - $this->RecipientsQueue, - static function ($params) use ($kind) { - return $params[0] !== $kind; - } - ); - } - - /** - * Clear all To recipients. - */ - public function clearAddresses() - { - foreach ($this->to as $to) { - unset($this->all_recipients[strtolower($to[0])]); - } - $this->to = []; - $this->clearQueuedAddresses('to'); - } - - /** - * Clear all CC recipients. - */ - public function clearCCs() - { - foreach ($this->cc as $cc) { - unset($this->all_recipients[strtolower($cc[0])]); - } - $this->cc = []; - $this->clearQueuedAddresses('cc'); - } - - /** - * Clear all BCC recipients. - */ - public function clearBCCs() - { - foreach ($this->bcc as $bcc) { - unset($this->all_recipients[strtolower($bcc[0])]); - } - $this->bcc = []; - $this->clearQueuedAddresses('bcc'); - } - - /** - * Clear all ReplyTo recipients. - */ - public function clearReplyTos() - { - $this->ReplyTo = []; - $this->ReplyToQueue = []; - } - - /** - * Clear all recipient types. - */ - public function clearAllRecipients() - { - $this->to = []; - $this->cc = []; - $this->bcc = []; - $this->all_recipients = []; - $this->RecipientsQueue = []; - } - - /** - * Clear all filesystem, string, and binary attachments. - */ - public function clearAttachments() - { - $this->attachment = []; - } - - /** - * Clear all custom headers. - */ - public function clearCustomHeaders() - { - $this->CustomHeader = []; - } - - /** - * Add an error message to the error container. - * - * @param string $msg - */ - protected function setError($msg) - { - ++$this->error_count; - if ('smtp' === $this->Mailer && null !== $this->smtp) { - $lasterror = $this->smtp->getError(); - if (!empty($lasterror['error'])) { - $msg .= $this->lang('smtp_error') . $lasterror['error']; - if (!empty($lasterror['detail'])) { - $msg .= ' Detail: ' . $lasterror['detail']; - } - if (!empty($lasterror['smtp_code'])) { - $msg .= ' SMTP code: ' . $lasterror['smtp_code']; - } - if (!empty($lasterror['smtp_code_ex'])) { - $msg .= ' Additional SMTP info: ' . $lasterror['smtp_code_ex']; - } - } - } - $this->ErrorInfo = $msg; - } - - /** - * Return an RFC 822 formatted date. - * - * @return string - */ - public static function rfcDate() - { - //Set the time zone to whatever the default is to avoid 500 errors - //Will default to UTC if it's not set properly in php.ini - date_default_timezone_set(@date_default_timezone_get()); - - return date('D, j M Y H:i:s O'); - } - - /** - * Get the server hostname. - * Returns 'localhost.localdomain' if unknown. - * - * @return string - */ - protected function serverHostname() - { - $result = ''; - if (!empty($this->Hostname)) { - $result = $this->Hostname; - } elseif (isset($_SERVER) && array_key_exists('SERVER_NAME', $_SERVER)) { - $result = $_SERVER['SERVER_NAME']; - } elseif (function_exists('gethostname') && gethostname() !== false) { - $result = gethostname(); - } elseif (php_uname('n') !== false) { - $result = php_uname('n'); - } - if (!static::isValidHost($result)) { - return 'localhost.localdomain'; - } - - return $result; - } - - /** - * Validate whether a string contains a valid value to use as a hostname or IP address. - * IPv6 addresses must include [], e.g. `[::1]`, not just `::1`. - * - * @param string $host The host name or IP address to check - * - * @return bool - */ - public static function isValidHost($host) - { - //Simple syntax limits - if ( - empty($host) - || !is_string($host) - || strlen($host) > 256 - || !preg_match('/^([a-zA-Z\d.-]*|\[[a-fA-F\d:]+])$/', $host) - ) { - return false; - } - //Looks like a bracketed IPv6 address - if (strlen($host) > 2 && substr($host, 0, 1) === '[' && substr($host, -1, 1) === ']') { - return filter_var(substr($host, 1, -1), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) !== false; - } - //If removing all the dots results in a numeric string, it must be an IPv4 address. - //Need to check this first because otherwise things like `999.0.0.0` are considered valid host names - if (is_numeric(str_replace('.', '', $host))) { - //Is it a valid IPv4 address? - return filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) !== false; - } - if (filter_var('http://' . $host, FILTER_VALIDATE_URL) !== false) { - //Is it a syntactically valid hostname? - return true; - } - - return false; - } - - /** - * Get an error message in the current language. - * - * @param string $key - * - * @return string - */ - protected function lang($key) - { - if (count($this->language) < 1) { - $this->setLanguage(); //Set the default language - } - - if (array_key_exists($key, $this->language)) { - if ('smtp_connect_failed' === $key) { - //Include a link to troubleshooting docs on SMTP connection failure. - //This is by far the biggest cause of support questions - //but it's usually not PHPMailer's fault. - return $this->language[$key] . ' https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting'; - } - - return $this->language[$key]; - } - - //Return the key as a fallback - return $key; - } - - /** - * Check if an error occurred. - * - * @return bool True if an error did occur - */ - public function isError() - { - return $this->error_count > 0; - } - - /** - * Add a custom header. - * $name value can be overloaded to contain - * both header name and value (name:value). - * - * @param string $name Custom header name - * @param string|null $value Header value - * - * @throws Exception - */ - public function addCustomHeader($name, $value = null) - { - if (null === $value && strpos($name, ':') !== false) { - //Value passed in as name:value - list($name, $value) = explode(':', $name, 2); - } - $name = trim($name); - $value = trim($value); - //Ensure name is not empty, and that neither name nor value contain line breaks - if (empty($name) || strpbrk($name . $value, "\r\n") !== false) { - if ($this->exceptions) { - throw new Exception('Invalid header name or value'); - } - - return false; - } - $this->CustomHeader[] = [$name, $value]; - - return true; - } - - /** - * Returns all custom headers. - * - * @return array - */ - public function getCustomHeaders() - { - return $this->CustomHeader; - } - - /** - * Create a message body from an HTML string. - * Automatically inlines images and creates a plain-text version by converting the HTML, - * overwriting any existing values in Body and AltBody. - * Do not source $message content from user input! - * $basedir is prepended when handling relative URLs, e.g. and must not be empty - * will look for an image file in $basedir/images/a.png and convert it to inline. - * If you don't provide a $basedir, relative paths will be left untouched (and thus probably break in email) - * Converts data-uri images into embedded attachments. - * If you don't want to apply these transformations to your HTML, just set Body and AltBody directly. - * - * @param string $message HTML message string - * @param string $basedir Absolute path to a base directory to prepend to relative paths to images - * @param bool|callable $advanced Whether to use the internal HTML to text converter - * or your own custom converter - * @return string The transformed message body - * - * @throws Exception - * - * @see PHPMailer::html2text() - */ - public function msgHTML($message, $basedir = '', $advanced = false) - { - preg_match_all('/(? 1 && '/' !== substr($basedir, -1)) { - //Ensure $basedir has a trailing / - $basedir .= '/'; - } - foreach ($images[2] as $imgindex => $url) { - //Convert data URIs into embedded images - //e.g. "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" - $match = []; - if (preg_match('#^data:(image/(?:jpe?g|gif|png));?(base64)?,(.+)#', $url, $match)) { - if (count($match) === 4 && static::ENCODING_BASE64 === $match[2]) { - $data = base64_decode($match[3]); - } elseif ('' === $match[2]) { - $data = rawurldecode($match[3]); - } else { - //Not recognised so leave it alone - continue; - } - //Hash the decoded data, not the URL, so that the same data-URI image used in multiple places - //will only be embedded once, even if it used a different encoding - $cid = substr(hash('sha256', $data), 0, 32) . '@phpmailer.0'; //RFC2392 S 2 - - if (!$this->cidExists($cid)) { - $this->addStringEmbeddedImage( - $data, - $cid, - 'embed' . $imgindex, - static::ENCODING_BASE64, - $match[1] - ); - } - $message = str_replace( - $images[0][$imgindex], - $images[1][$imgindex] . '="cid:' . $cid . '"', - $message - ); - continue; - } - if ( - //Only process relative URLs if a basedir is provided (i.e. no absolute local paths) - !empty($basedir) - //Ignore URLs containing parent dir traversal (..) - && (strpos($url, '..') === false) - //Do not change urls that are already inline images - && 0 !== strpos($url, 'cid:') - //Do not change absolute URLs, including anonymous protocol - && !preg_match('#^[a-z][a-z0-9+.-]*:?//#i', $url) - ) { - $filename = static::mb_pathinfo($url, PATHINFO_BASENAME); - $directory = dirname($url); - if ('.' === $directory) { - $directory = ''; - } - //RFC2392 S 2 - $cid = substr(hash('sha256', $url), 0, 32) . '@phpmailer.0'; - if (strlen($basedir) > 1 && '/' !== substr($basedir, -1)) { - $basedir .= '/'; - } - if (strlen($directory) > 1 && '/' !== substr($directory, -1)) { - $directory .= '/'; - } - if ( - $this->addEmbeddedImage( - $basedir . $directory . $filename, - $cid, - $filename, - static::ENCODING_BASE64, - static::_mime_types((string) static::mb_pathinfo($filename, PATHINFO_EXTENSION)) - ) - ) { - $message = preg_replace( - '/' . $images[1][$imgindex] . '=["\']' . preg_quote($url, '/') . '["\']/Ui', - $images[1][$imgindex] . '="cid:' . $cid . '"', - $message - ); - } - } - } - } - $this->isHTML(); - //Convert all message body line breaks to LE, makes quoted-printable encoding work much better - $this->Body = static::normalizeBreaks($message); - $this->AltBody = static::normalizeBreaks($this->html2text($message, $advanced)); - if (!$this->alternativeExists()) { - $this->AltBody = 'This is an HTML-only message. To view it, activate HTML in your email application.' - . static::$LE; - } - - return $this->Body; - } - - /** - * Convert an HTML string into plain text. - * This is used by msgHTML(). - * Note - older versions of this function used a bundled advanced converter - * which was removed for license reasons in #232. - * Example usage: - * - * ```php - * //Use default conversion - * $plain = $mail->html2text($html); - * //Use your own custom converter - * $plain = $mail->html2text($html, function($html) { - * $converter = new MyHtml2text($html); - * return $converter->get_text(); - * }); - * ``` - * - * @param string $html The HTML text to convert - * @param bool|callable $advanced Any boolean value to use the internal converter, - * or provide your own callable for custom conversion - * - * @return string - */ - public function html2text($html, $advanced = false) - { - if (is_callable($advanced)) { - return call_user_func($advanced, $html); - } - - return html_entity_decode( - trim(strip_tags(preg_replace('/<(head|title|style|script)[^>]*>.*?<\/\\1>/si', '', $html))), - ENT_QUOTES, - $this->CharSet - ); - } - - /** - * Get the MIME type for a file extension. - * - * @param string $ext File extension - * - * @return string MIME type of file - */ - public static function _mime_types($ext = '') - { - $mimes = [ - 'xl' => 'application/excel', - 'js' => 'application/javascript', - 'hqx' => 'application/mac-binhex40', - 'cpt' => 'application/mac-compactpro', - 'bin' => 'application/macbinary', - 'doc' => 'application/msword', - 'word' => 'application/msword', - 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'xltx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', - 'potx' => 'application/vnd.openxmlformats-officedocument.presentationml.template', - 'ppsx' => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', - 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', - 'sldx' => 'application/vnd.openxmlformats-officedocument.presentationml.slide', - 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', - 'dotx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', - 'xlam' => 'application/vnd.ms-excel.addin.macroEnabled.12', - 'xlsb' => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12', - 'class' => 'application/octet-stream', - 'dll' => 'application/octet-stream', - 'dms' => 'application/octet-stream', - 'exe' => 'application/octet-stream', - 'lha' => 'application/octet-stream', - 'lzh' => 'application/octet-stream', - 'psd' => 'application/octet-stream', - 'sea' => 'application/octet-stream', - 'so' => 'application/octet-stream', - 'oda' => 'application/oda', - 'pdf' => 'application/pdf', - 'ai' => 'application/postscript', - 'eps' => 'application/postscript', - 'ps' => 'application/postscript', - 'smi' => 'application/smil', - 'smil' => 'application/smil', - 'mif' => 'application/vnd.mif', - 'xls' => 'application/vnd.ms-excel', - 'ppt' => 'application/vnd.ms-powerpoint', - 'wbxml' => 'application/vnd.wap.wbxml', - 'wmlc' => 'application/vnd.wap.wmlc', - 'dcr' => 'application/x-director', - 'dir' => 'application/x-director', - 'dxr' => 'application/x-director', - 'dvi' => 'application/x-dvi', - 'gtar' => 'application/x-gtar', - 'php3' => 'application/x-httpd-php', - 'php4' => 'application/x-httpd-php', - 'php' => 'application/x-httpd-php', - 'phtml' => 'application/x-httpd-php', - 'phps' => 'application/x-httpd-php-source', - 'swf' => 'application/x-shockwave-flash', - 'sit' => 'application/x-stuffit', - 'tar' => 'application/x-tar', - 'tgz' => 'application/x-tar', - 'xht' => 'application/xhtml+xml', - 'xhtml' => 'application/xhtml+xml', - 'zip' => 'application/zip', - 'mid' => 'audio/midi', - 'midi' => 'audio/midi', - 'mp2' => 'audio/mpeg', - 'mp3' => 'audio/mpeg', - 'm4a' => 'audio/mp4', - 'mpga' => 'audio/mpeg', - 'aif' => 'audio/x-aiff', - 'aifc' => 'audio/x-aiff', - 'aiff' => 'audio/x-aiff', - 'ram' => 'audio/x-pn-realaudio', - 'rm' => 'audio/x-pn-realaudio', - 'rpm' => 'audio/x-pn-realaudio-plugin', - 'ra' => 'audio/x-realaudio', - 'wav' => 'audio/x-wav', - 'mka' => 'audio/x-matroska', - 'bmp' => 'image/bmp', - 'gif' => 'image/gif', - 'jpeg' => 'image/jpeg', - 'jpe' => 'image/jpeg', - 'jpg' => 'image/jpeg', - 'png' => 'image/png', - 'tiff' => 'image/tiff', - 'tif' => 'image/tiff', - 'webp' => 'image/webp', - 'avif' => 'image/avif', - 'heif' => 'image/heif', - 'heifs' => 'image/heif-sequence', - 'heic' => 'image/heic', - 'heics' => 'image/heic-sequence', - 'eml' => 'message/rfc822', - 'css' => 'text/css', - 'html' => 'text/html', - 'htm' => 'text/html', - 'shtml' => 'text/html', - 'log' => 'text/plain', - 'text' => 'text/plain', - 'txt' => 'text/plain', - 'rtx' => 'text/richtext', - 'rtf' => 'text/rtf', - 'vcf' => 'text/vcard', - 'vcard' => 'text/vcard', - 'ics' => 'text/calendar', - 'xml' => 'text/xml', - 'xsl' => 'text/xml', - 'wmv' => 'video/x-ms-wmv', - 'mpeg' => 'video/mpeg', - 'mpe' => 'video/mpeg', - 'mpg' => 'video/mpeg', - 'mp4' => 'video/mp4', - 'm4v' => 'video/mp4', - 'mov' => 'video/quicktime', - 'qt' => 'video/quicktime', - 'rv' => 'video/vnd.rn-realvideo', - 'avi' => 'video/x-msvideo', - 'movie' => 'video/x-sgi-movie', - 'webm' => 'video/webm', - 'mkv' => 'video/x-matroska', - ]; - $ext = strtolower($ext); - if (array_key_exists($ext, $mimes)) { - return $mimes[$ext]; - } - - return 'application/octet-stream'; - } - - /** - * Map a file name to a MIME type. - * Defaults to 'application/octet-stream', i.e.. arbitrary binary data. - * - * @param string $filename A file name or full path, does not need to exist as a file - * - * @return string - */ - public static function filenameToType($filename) - { - //In case the path is a URL, strip any query string before getting extension - $qpos = strpos($filename, '?'); - if (false !== $qpos) { - $filename = substr($filename, 0, $qpos); - } - $ext = static::mb_pathinfo($filename, PATHINFO_EXTENSION); - - return static::_mime_types($ext); - } - - /** - * Multi-byte-safe pathinfo replacement. - * Drop-in replacement for pathinfo(), but multibyte- and cross-platform-safe. - * - * @see http://www.php.net/manual/en/function.pathinfo.php#107461 - * - * @param string $path A filename or path, does not need to exist as a file - * @param int|string $options Either a PATHINFO_* constant, - * or a string name to return only the specified piece - * - * @return string|array - */ - public static function mb_pathinfo($path, $options = null) - { - $ret = ['dirname' => '', 'basename' => '', 'extension' => '', 'filename' => '']; - $pathinfo = []; - if (preg_match('#^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^.\\\\/]+?)|))[\\\\/.]*$#m', $path, $pathinfo)) { - if (array_key_exists(1, $pathinfo)) { - $ret['dirname'] = $pathinfo[1]; - } - if (array_key_exists(2, $pathinfo)) { - $ret['basename'] = $pathinfo[2]; - } - if (array_key_exists(5, $pathinfo)) { - $ret['extension'] = $pathinfo[5]; - } - if (array_key_exists(3, $pathinfo)) { - $ret['filename'] = $pathinfo[3]; - } - } - switch ($options) { - case PATHINFO_DIRNAME: - case 'dirname': - return $ret['dirname']; - case PATHINFO_BASENAME: - case 'basename': - return $ret['basename']; - case PATHINFO_EXTENSION: - case 'extension': - return $ret['extension']; - case PATHINFO_FILENAME: - case 'filename': - return $ret['filename']; - default: - return $ret; - } - } - - /** - * Set or reset instance properties. - * You should avoid this function - it's more verbose, less efficient, more error-prone and - * harder to debug than setting properties directly. - * Usage Example: - * `$mail->set('SMTPSecure', static::ENCRYPTION_STARTTLS);` - * is the same as: - * `$mail->SMTPSecure = static::ENCRYPTION_STARTTLS;`. - * - * @param string $name The property name to set - * @param mixed $value The value to set the property to - * - * @return bool - */ - public function set($name, $value = '') - { - if (property_exists($this, $name)) { - $this->$name = $value; - - return true; - } - $this->setError($this->lang('variable_set') . $name); - - return false; - } - - /** - * Strip newlines to prevent header injection. - * - * @param string $str - * - * @return string - */ - public function secureHeader($str) - { - return trim(str_replace(["\r", "\n"], '', $str)); - } - - /** - * Normalize line breaks in a string. - * Converts UNIX LF, Mac CR and Windows CRLF line breaks into a single line break format. - * Defaults to CRLF (for message bodies) and preserves consecutive breaks. - * - * @param string $text - * @param string $breaktype What kind of line break to use; defaults to static::$LE - * - * @return string - */ - public static function normalizeBreaks($text, $breaktype = null) - { - if (null === $breaktype) { - $breaktype = static::$LE; - } - //Normalise to \n - $text = str_replace([self::CRLF, "\r"], "\n", $text); - //Now convert LE as needed - if ("\n" !== $breaktype) { - $text = str_replace("\n", $breaktype, $text); - } - - return $text; - } - - /** - * Remove trailing breaks from a string. - * - * @param string $text - * - * @return string The text to remove breaks from - */ - public static function stripTrailingWSP($text) - { - return rtrim($text, " \r\n\t"); - } - - /** - * Return the current line break format string. - * - * @return string - */ - public static function getLE() - { - return static::$LE; - } - - /** - * Set the line break format string, e.g. "\r\n". - * - * @param string $le - */ - protected static function setLE($le) - { - static::$LE = $le; - } - - /** - * Set the public and private key files and password for S/MIME signing. - * - * @param string $cert_filename - * @param string $key_filename - * @param string $key_pass Password for private key - * @param string $extracerts_filename Optional path to chain certificate - */ - public function sign($cert_filename, $key_filename, $key_pass, $extracerts_filename = '') - { - $this->sign_cert_file = $cert_filename; - $this->sign_key_file = $key_filename; - $this->sign_key_pass = $key_pass; - $this->sign_extracerts_file = $extracerts_filename; - } - - /** - * Quoted-Printable-encode a DKIM header. - * - * @param string $txt - * - * @return string - */ - public function DKIM_QP($txt) - { - $line = ''; - $len = strlen($txt); - for ($i = 0; $i < $len; ++$i) { - $ord = ord($txt[$i]); - if (((0x21 <= $ord) && ($ord <= 0x3A)) || $ord === 0x3C || ((0x3E <= $ord) && ($ord <= 0x7E))) { - $line .= $txt[$i]; - } else { - $line .= '=' . sprintf('%02X', $ord); - } - } - - return $line; - } - - /** - * Generate a DKIM signature. - * - * @param string $signHeader - * - * @throws Exception - * - * @return string The DKIM signature value - */ - public function DKIM_Sign($signHeader) - { - if (!defined('PKCS7_TEXT')) { - if ($this->exceptions) { - throw new Exception($this->lang('extension_missing') . 'openssl'); - } - - return ''; - } - $privKeyStr = !empty($this->DKIM_private_string) ? - $this->DKIM_private_string : - file_get_contents($this->DKIM_private); - if ('' !== $this->DKIM_passphrase) { - $privKey = openssl_pkey_get_private($privKeyStr, $this->DKIM_passphrase); - } else { - $privKey = openssl_pkey_get_private($privKeyStr); - } - if (openssl_sign($signHeader, $signature, $privKey, 'sha256WithRSAEncryption')) { - if (\PHP_MAJOR_VERSION < 8) { - openssl_pkey_free($privKey); - } - - return base64_encode($signature); - } - if (\PHP_MAJOR_VERSION < 8) { - openssl_pkey_free($privKey); - } - - return ''; - } - - /** - * Generate a DKIM canonicalization header. - * Uses the 'relaxed' algorithm from RFC6376 section 3.4.2. - * Canonicalized headers should *always* use CRLF, regardless of mailer setting. - * - * @see https://tools.ietf.org/html/rfc6376#section-3.4.2 - * - * @param string $signHeader Header - * - * @return string - */ - public function DKIM_HeaderC($signHeader) - { - //Normalize breaks to CRLF (regardless of the mailer) - $signHeader = static::normalizeBreaks($signHeader, self::CRLF); - //Unfold header lines - //Note PCRE \s is too broad a definition of whitespace; RFC5322 defines it as `[ \t]` - //@see https://tools.ietf.org/html/rfc5322#section-2.2 - //That means this may break if you do something daft like put vertical tabs in your headers. - $signHeader = preg_replace('/\r\n[ \t]+/', ' ', $signHeader); - //Break headers out into an array - $lines = explode(self::CRLF, $signHeader); - foreach ($lines as $key => $line) { - //If the header is missing a :, skip it as it's invalid - //This is likely to happen because the explode() above will also split - //on the trailing LE, leaving an empty line - if (strpos($line, ':') === false) { - continue; - } - list($heading, $value) = explode(':', $line, 2); - //Lower-case header name - $heading = strtolower($heading); - //Collapse white space within the value, also convert WSP to space - $value = preg_replace('/[ \t]+/', ' ', $value); - //RFC6376 is slightly unclear here - it says to delete space at the *end* of each value - //But then says to delete space before and after the colon. - //Net result is the same as trimming both ends of the value. - //By elimination, the same applies to the field name - $lines[$key] = trim($heading, " \t") . ':' . trim($value, " \t"); - } - - return implode(self::CRLF, $lines); - } - - /** - * Generate a DKIM canonicalization body. - * Uses the 'simple' algorithm from RFC6376 section 3.4.3. - * Canonicalized bodies should *always* use CRLF, regardless of mailer setting. - * - * @see https://tools.ietf.org/html/rfc6376#section-3.4.3 - * - * @param string $body Message Body - * - * @return string - */ - public function DKIM_BodyC($body) - { - if (empty($body)) { - return self::CRLF; - } - //Normalize line endings to CRLF - $body = static::normalizeBreaks($body, self::CRLF); - - //Reduce multiple trailing line breaks to a single one - return static::stripTrailingWSP($body) . self::CRLF; - } - - /** - * Create the DKIM header and body in a new message header. - * - * @param string $headers_line Header lines - * @param string $subject Subject - * @param string $body Body - * - * @throws Exception - * - * @return string - */ - public function DKIM_Add($headers_line, $subject, $body) - { - $DKIMsignatureType = 'rsa-sha256'; //Signature & hash algorithms - $DKIMcanonicalization = 'relaxed/simple'; //Canonicalization methods of header & body - $DKIMquery = 'dns/txt'; //Query method - $DKIMtime = time(); - //Always sign these headers without being asked - //Recommended list from https://tools.ietf.org/html/rfc6376#section-5.4.1 - $autoSignHeaders = [ - 'from', - 'to', - 'cc', - 'date', - 'subject', - 'reply-to', - 'message-id', - 'content-type', - 'mime-version', - 'x-mailer', - ]; - if (stripos($headers_line, 'Subject') === false) { - $headers_line .= 'Subject: ' . $subject . static::$LE; - } - $headerLines = explode(static::$LE, $headers_line); - $currentHeaderLabel = ''; - $currentHeaderValue = ''; - $parsedHeaders = []; - $headerLineIndex = 0; - $headerLineCount = count($headerLines); - foreach ($headerLines as $headerLine) { - $matches = []; - if (preg_match('/^([^ \t]*?)(?::[ \t]*)(.*)$/', $headerLine, $matches)) { - if ($currentHeaderLabel !== '') { - //We were previously in another header; This is the start of a new header, so save the previous one - $parsedHeaders[] = ['label' => $currentHeaderLabel, 'value' => $currentHeaderValue]; - } - $currentHeaderLabel = $matches[1]; - $currentHeaderValue = $matches[2]; - } elseif (preg_match('/^[ \t]+(.*)$/', $headerLine, $matches)) { - //This is a folded continuation of the current header, so unfold it - $currentHeaderValue .= ' ' . $matches[1]; - } - ++$headerLineIndex; - if ($headerLineIndex >= $headerLineCount) { - //This was the last line, so finish off this header - $parsedHeaders[] = ['label' => $currentHeaderLabel, 'value' => $currentHeaderValue]; - } - } - $copiedHeaders = []; - $headersToSignKeys = []; - $headersToSign = []; - foreach ($parsedHeaders as $header) { - //Is this header one that must be included in the DKIM signature? - if (in_array(strtolower($header['label']), $autoSignHeaders, true)) { - $headersToSignKeys[] = $header['label']; - $headersToSign[] = $header['label'] . ': ' . $header['value']; - if ($this->DKIM_copyHeaderFields) { - $copiedHeaders[] = $header['label'] . ':' . //Note no space after this, as per RFC - str_replace('|', '=7C', $this->DKIM_QP($header['value'])); - } - continue; - } - //Is this an extra custom header we've been asked to sign? - if (in_array($header['label'], $this->DKIM_extraHeaders, true)) { - //Find its value in custom headers - foreach ($this->CustomHeader as $customHeader) { - if ($customHeader[0] === $header['label']) { - $headersToSignKeys[] = $header['label']; - $headersToSign[] = $header['label'] . ': ' . $header['value']; - if ($this->DKIM_copyHeaderFields) { - $copiedHeaders[] = $header['label'] . ':' . //Note no space after this, as per RFC - str_replace('|', '=7C', $this->DKIM_QP($header['value'])); - } - //Skip straight to the next header - continue 2; - } - } - } - } - $copiedHeaderFields = ''; - if ($this->DKIM_copyHeaderFields && count($copiedHeaders) > 0) { - //Assemble a DKIM 'z' tag - $copiedHeaderFields = ' z='; - $first = true; - foreach ($copiedHeaders as $copiedHeader) { - if (!$first) { - $copiedHeaderFields .= static::$LE . ' |'; - } - //Fold long values - if (strlen($copiedHeader) > self::STD_LINE_LENGTH - 3) { - $copiedHeaderFields .= substr( - chunk_split($copiedHeader, self::STD_LINE_LENGTH - 3, static::$LE . self::FWS), - 0, - -strlen(static::$LE . self::FWS) - ); - } else { - $copiedHeaderFields .= $copiedHeader; - } - $first = false; - } - $copiedHeaderFields .= ';' . static::$LE; - } - $headerKeys = ' h=' . implode(':', $headersToSignKeys) . ';' . static::$LE; - $headerValues = implode(static::$LE, $headersToSign); - $body = $this->DKIM_BodyC($body); - //Base64 of packed binary SHA-256 hash of body - $DKIMb64 = base64_encode(pack('H*', hash('sha256', $body))); - $ident = ''; - if ('' !== $this->DKIM_identity) { - $ident = ' i=' . $this->DKIM_identity . ';' . static::$LE; - } - //The DKIM-Signature header is included in the signature *except for* the value of the `b` tag - //which is appended after calculating the signature - //https://tools.ietf.org/html/rfc6376#section-3.5 - $dkimSignatureHeader = 'DKIM-Signature: v=1;' . - ' d=' . $this->DKIM_domain . ';' . - ' s=' . $this->DKIM_selector . ';' . static::$LE . - ' a=' . $DKIMsignatureType . ';' . - ' q=' . $DKIMquery . ';' . - ' t=' . $DKIMtime . ';' . - ' c=' . $DKIMcanonicalization . ';' . static::$LE . - $headerKeys . - $ident . - $copiedHeaderFields . - ' bh=' . $DKIMb64 . ';' . static::$LE . - ' b='; - //Canonicalize the set of headers - $canonicalizedHeaders = $this->DKIM_HeaderC( - $headerValues . static::$LE . $dkimSignatureHeader - ); - $signature = $this->DKIM_Sign($canonicalizedHeaders); - $signature = trim(chunk_split($signature, self::STD_LINE_LENGTH - 3, static::$LE . self::FWS)); - - return static::normalizeBreaks($dkimSignatureHeader . $signature); - } - - /** - * Detect if a string contains a line longer than the maximum line length - * allowed by RFC 2822 section 2.1.1. - * - * @param string $str - * - * @return bool - */ - public static function hasLineLongerThanMax($str) - { - return (bool) preg_match('/^(.{' . (self::MAX_LINE_LENGTH + strlen(static::$LE)) . ',})/m', $str); - } - - /** - * If a string contains any "special" characters, double-quote the name, - * and escape any double quotes with a backslash. - * - * @param string $str - * - * @return string - * - * @see RFC822 3.4.1 - */ - public static function quotedString($str) - { - if (preg_match('/[ ()<>@,;:"\/\[\]?=]/', $str)) { - //If the string contains any of these chars, it must be double-quoted - //and any double quotes must be escaped with a backslash - return '"' . str_replace('"', '\\"', $str) . '"'; - } - - //Return the string untouched, it doesn't need quoting - return $str; - } - - /** - * Allows for public read access to 'to' property. - * Before the send() call, queued addresses (i.e. with IDN) are not yet included. - * - * @return array - */ - public function getToAddresses() - { - return $this->to; - } - - /** - * Allows for public read access to 'cc' property. - * Before the send() call, queued addresses (i.e. with IDN) are not yet included. - * - * @return array - */ - public function getCcAddresses() - { - return $this->cc; - } - - /** - * Allows for public read access to 'bcc' property. - * Before the send() call, queued addresses (i.e. with IDN) are not yet included. - * - * @return array - */ - public function getBccAddresses() - { - return $this->bcc; - } - - /** - * Allows for public read access to 'ReplyTo' property. - * Before the send() call, queued addresses (i.e. with IDN) are not yet included. - * - * @return array - */ - public function getReplyToAddresses() - { - return $this->ReplyTo; - } - - /** - * Allows for public read access to 'all_recipients' property. - * Before the send() call, queued addresses (i.e. with IDN) are not yet included. - * - * @return array - */ - public function getAllRecipientAddresses() - { - return $this->all_recipients; - } - - /** - * Perform a callback. - * - * @param bool $isSent - * @param array $to - * @param array $cc - * @param array $bcc - * @param string $subject - * @param string $body - * @param string $from - * @param array $extra - */ - protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body, $from, $extra) - { - if (!empty($this->action_function) && is_callable($this->action_function)) { - call_user_func($this->action_function, $isSent, $to, $cc, $bcc, $subject, $body, $from, $extra); - } - } - - /** - * Get the OAuth instance. - * - * @return OAuth - */ - public function getOAuth() - { - return $this->oauth; - } - - /** - * Set an OAuth instance. - */ - public function setOAuth(OAuth $oauth) - { - $this->oauth = $oauth; - } -} diff --git a/vendor/phpmailer/phpmailer/src/POP3.php b/vendor/phpmailer/phpmailer/src/POP3.php deleted file mode 100644 index b38964b1..00000000 --- a/vendor/phpmailer/phpmailer/src/POP3.php +++ /dev/null @@ -1,448 +0,0 @@ - - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - * @copyright 2012 - 2020 Marcus Bointon - * @copyright 2010 - 2012 Jim Jagielski - * @copyright 2004 - 2009 Andy Prevost - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @note This program is distributed in the hope that it will be useful - WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - */ - -namespace PHPMailer\PHPMailer; - -/** - * PHPMailer POP-Before-SMTP Authentication Class. - * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. - * 1) This class does not support APOP authentication. - * 2) Opening and closing lots of POP3 connections can be quite slow. If you need - * to send a batch of emails then just perform the authentication once at the start, - * and then loop through your mail sending script. Providing this process doesn't - * take longer than the verification period lasts on your POP3 server, you should be fine. - * 3) This is really ancient technology; you should only need to use it to talk to very old systems. - * 4) This POP3 class is deliberately lightweight and incomplete, implementing just - * enough to do authentication. - * If you want a more complete class there are other POP3 classes for PHP available. - * - * @author Richard Davey (original author) - * @author Marcus Bointon (Synchro/coolbru) - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - */ -class POP3 -{ - /** - * The POP3 PHPMailer Version number. - * - * @var string - */ - const VERSION = '6.5.0'; - - /** - * Default POP3 port number. - * - * @var int - */ - const DEFAULT_PORT = 110; - - /** - * Default timeout in seconds. - * - * @var int - */ - const DEFAULT_TIMEOUT = 30; - - /** - * POP3 class debug output mode. - * Debug output level. - * Options: - * @see POP3::DEBUG_OFF: No output - * @see POP3::DEBUG_SERVER: Server messages, connection/server errors - * @see POP3::DEBUG_CLIENT: Client and Server messages, connection/server errors - * - * @var int - */ - public $do_debug = self::DEBUG_OFF; - - /** - * POP3 mail server hostname. - * - * @var string - */ - public $host; - - /** - * POP3 port number. - * - * @var int - */ - public $port; - - /** - * POP3 Timeout Value in seconds. - * - * @var int - */ - public $tval; - - /** - * POP3 username. - * - * @var string - */ - public $username; - - /** - * POP3 password. - * - * @var string - */ - public $password; - - /** - * Resource handle for the POP3 connection socket. - * - * @var resource - */ - protected $pop_conn; - - /** - * Are we connected? - * - * @var bool - */ - protected $connected = false; - - /** - * Error container. - * - * @var array - */ - protected $errors = []; - - /** - * Line break constant. - */ - const LE = "\r\n"; - - /** - * Debug level for no output. - * - * @var int - */ - const DEBUG_OFF = 0; - - /** - * Debug level to show server -> client messages - * also shows clients connection errors or errors from server - * - * @var int - */ - const DEBUG_SERVER = 1; - - /** - * Debug level to show client -> server and server -> client messages. - * - * @var int - */ - const DEBUG_CLIENT = 2; - - /** - * Simple static wrapper for all-in-one POP before SMTP. - * - * @param string $host The hostname to connect to - * @param int|bool $port The port number to connect to - * @param int|bool $timeout The timeout value - * @param string $username - * @param string $password - * @param int $debug_level - * - * @return bool - */ - public static function popBeforeSmtp( - $host, - $port = false, - $timeout = false, - $username = '', - $password = '', - $debug_level = 0 - ) { - $pop = new self(); - - return $pop->authorise($host, $port, $timeout, $username, $password, $debug_level); - } - - /** - * Authenticate with a POP3 server. - * A connect, login, disconnect sequence - * appropriate for POP-before SMTP authorisation. - * - * @param string $host The hostname to connect to - * @param int|bool $port The port number to connect to - * @param int|bool $timeout The timeout value - * @param string $username - * @param string $password - * @param int $debug_level - * - * @return bool - */ - public function authorise($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0) - { - $this->host = $host; - //If no port value provided, use default - if (false === $port) { - $this->port = static::DEFAULT_PORT; - } else { - $this->port = (int) $port; - } - //If no timeout value provided, use default - if (false === $timeout) { - $this->tval = static::DEFAULT_TIMEOUT; - } else { - $this->tval = (int) $timeout; - } - $this->do_debug = $debug_level; - $this->username = $username; - $this->password = $password; - //Reset the error log - $this->errors = []; - //Connect - $result = $this->connect($this->host, $this->port, $this->tval); - if ($result) { - $login_result = $this->login($this->username, $this->password); - if ($login_result) { - $this->disconnect(); - - return true; - } - } - //We need to disconnect regardless of whether the login succeeded - $this->disconnect(); - - return false; - } - - /** - * Connect to a POP3 server. - * - * @param string $host - * @param int|bool $port - * @param int $tval - * - * @return bool - */ - public function connect($host, $port = false, $tval = 30) - { - //Are we already connected? - if ($this->connected) { - return true; - } - - //On Windows this will raise a PHP Warning error if the hostname doesn't exist. - //Rather than suppress it with @fsockopen, capture it cleanly instead - set_error_handler([$this, 'catchWarning']); - - if (false === $port) { - $port = static::DEFAULT_PORT; - } - - //Connect to the POP3 server - $errno = 0; - $errstr = ''; - $this->pop_conn = fsockopen( - $host, //POP3 Host - $port, //Port # - $errno, //Error Number - $errstr, //Error Message - $tval - ); //Timeout (seconds) - //Restore the error handler - restore_error_handler(); - - //Did we connect? - if (false === $this->pop_conn) { - //It would appear not... - $this->setError( - "Failed to connect to server $host on port $port. errno: $errno; errstr: $errstr" - ); - - return false; - } - - //Increase the stream time-out - stream_set_timeout($this->pop_conn, $tval, 0); - - //Get the POP3 server response - $pop3_response = $this->getResponse(); - //Check for the +OK - if ($this->checkResponse($pop3_response)) { - //The connection is established and the POP3 server is talking - $this->connected = true; - - return true; - } - - return false; - } - - /** - * Log in to the POP3 server. - * Does not support APOP (RFC 2828, 4949). - * - * @param string $username - * @param string $password - * - * @return bool - */ - public function login($username = '', $password = '') - { - if (!$this->connected) { - $this->setError('Not connected to POP3 server'); - } - if (empty($username)) { - $username = $this->username; - } - if (empty($password)) { - $password = $this->password; - } - - //Send the Username - $this->sendString("USER $username" . static::LE); - $pop3_response = $this->getResponse(); - if ($this->checkResponse($pop3_response)) { - //Send the Password - $this->sendString("PASS $password" . static::LE); - $pop3_response = $this->getResponse(); - if ($this->checkResponse($pop3_response)) { - return true; - } - } - - return false; - } - - /** - * Disconnect from the POP3 server. - */ - public function disconnect() - { - $this->sendString('QUIT'); - //The QUIT command may cause the daemon to exit, which will kill our connection - //So ignore errors here - try { - @fclose($this->pop_conn); - } catch (Exception $e) { - //Do nothing - } - } - - /** - * Get a response from the POP3 server. - * - * @param int $size The maximum number of bytes to retrieve - * - * @return string - */ - protected function getResponse($size = 128) - { - $response = fgets($this->pop_conn, $size); - if ($this->do_debug >= self::DEBUG_SERVER) { - echo 'Server -> Client: ', $response; - } - - return $response; - } - - /** - * Send raw data to the POP3 server. - * - * @param string $string - * - * @return int - */ - protected function sendString($string) - { - if ($this->pop_conn) { - if ($this->do_debug >= self::DEBUG_CLIENT) { //Show client messages when debug >= 2 - echo 'Client -> Server: ', $string; - } - - return fwrite($this->pop_conn, $string, strlen($string)); - } - - return 0; - } - - /** - * Checks the POP3 server response. - * Looks for for +OK or -ERR. - * - * @param string $string - * - * @return bool - */ - protected function checkResponse($string) - { - if (strpos($string, '+OK') !== 0) { - $this->setError("Server reported an error: $string"); - - return false; - } - - return true; - } - - /** - * Add an error to the internal error store. - * Also display debug output if it's enabled. - * - * @param string $error - */ - protected function setError($error) - { - $this->errors[] = $error; - if ($this->do_debug >= self::DEBUG_SERVER) { - echo '
          ';
          -            foreach ($this->errors as $e) {
          -                print_r($e);
          -            }
          -            echo '
          '; - } - } - - /** - * Get an array of error messages, if any. - * - * @return array - */ - public function getErrors() - { - return $this->errors; - } - - /** - * POP3 connection error handler. - * - * @param int $errno - * @param string $errstr - * @param string $errfile - * @param int $errline - */ - protected function catchWarning($errno, $errstr, $errfile, $errline) - { - $this->setError( - 'Connecting to the POP3 server raised a PHP warning:' . - "errno: $errno errstr: $errstr; errfile: $errfile; errline: $errline" - ); - } -} diff --git a/vendor/phpmailer/phpmailer/src/SMTP.php b/vendor/phpmailer/phpmailer/src/SMTP.php deleted file mode 100644 index a4a91ed0..00000000 --- a/vendor/phpmailer/phpmailer/src/SMTP.php +++ /dev/null @@ -1,1456 +0,0 @@ - - * @author Jim Jagielski (jimjag) - * @author Andy Prevost (codeworxtech) - * @author Brent R. Matzelle (original founder) - * @copyright 2012 - 2020 Marcus Bointon - * @copyright 2010 - 2012 Jim Jagielski - * @copyright 2004 - 2009 Andy Prevost - * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License - * @note This program is distributed in the hope that it will be useful - WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. - */ - -namespace PHPMailer\PHPMailer; - -/** - * PHPMailer RFC821 SMTP email transport class. - * Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server. - * - * @author Chris Ryan - * @author Marcus Bointon - */ -class SMTP -{ - /** - * The PHPMailer SMTP version number. - * - * @var string - */ - const VERSION = '6.5.0'; - - /** - * SMTP line break constant. - * - * @var string - */ - const LE = "\r\n"; - - /** - * The SMTP port to use if one is not specified. - * - * @var int - */ - const DEFAULT_PORT = 25; - - /** - * The maximum line length allowed by RFC 5321 section 4.5.3.1.6, - * *excluding* a trailing CRLF break. - * - * @see https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6 - * - * @var int - */ - const MAX_LINE_LENGTH = 998; - - /** - * The maximum line length allowed for replies in RFC 5321 section 4.5.3.1.5, - * *including* a trailing CRLF line break. - * - * @see https://tools.ietf.org/html/rfc5321#section-4.5.3.1.5 - * - * @var int - */ - const MAX_REPLY_LENGTH = 512; - - /** - * Debug level for no output. - * - * @var int - */ - const DEBUG_OFF = 0; - - /** - * Debug level to show client -> server messages. - * - * @var int - */ - const DEBUG_CLIENT = 1; - - /** - * Debug level to show client -> server and server -> client messages. - * - * @var int - */ - const DEBUG_SERVER = 2; - - /** - * Debug level to show connection status, client -> server and server -> client messages. - * - * @var int - */ - const DEBUG_CONNECTION = 3; - - /** - * Debug level to show all messages. - * - * @var int - */ - const DEBUG_LOWLEVEL = 4; - - /** - * Debug output level. - * Options: - * * self::DEBUG_OFF (`0`) No debug output, default - * * self::DEBUG_CLIENT (`1`) Client commands - * * self::DEBUG_SERVER (`2`) Client commands and server responses - * * self::DEBUG_CONNECTION (`3`) As DEBUG_SERVER plus connection status - * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages. - * - * @var int - */ - public $do_debug = self::DEBUG_OFF; - - /** - * How to handle debug output. - * Options: - * * `echo` Output plain-text as-is, appropriate for CLI - * * `html` Output escaped, line breaks converted to `
          `, appropriate for browser output - * * `error_log` Output to error log as configured in php.ini - * Alternatively, you can provide a callable expecting two params: a message string and the debug level: - * - * ```php - * $smtp->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; - * ``` - * - * Alternatively, you can pass in an instance of a PSR-3 compatible logger, though only `debug` - * level output is used: - * - * ```php - * $mail->Debugoutput = new myPsr3Logger; - * ``` - * - * @var string|callable|\Psr\Log\LoggerInterface - */ - public $Debugoutput = 'echo'; - - /** - * Whether to use VERP. - * - * @see http://en.wikipedia.org/wiki/Variable_envelope_return_path - * @see http://www.postfix.org/VERP_README.html Info on VERP - * - * @var bool - */ - public $do_verp = false; - - /** - * The timeout value for connection, in seconds. - * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2. - * This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure. - * - * @see http://tools.ietf.org/html/rfc2821#section-4.5.3.2 - * - * @var int - */ - public $Timeout = 300; - - /** - * How long to wait for commands to complete, in seconds. - * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2. - * - * @var int - */ - public $Timelimit = 300; - - /** - * Patterns to extract an SMTP transaction id from reply to a DATA command. - * The first capture group in each regex will be used as the ID. - * MS ESMTP returns the message ID, which may not be correct for internal tracking. - * - * @var string[] - */ - protected $smtp_transaction_id_patterns = [ - 'exim' => '/[\d]{3} OK id=(.*)/', - 'sendmail' => '/[\d]{3} 2.0.0 (.*) Message/', - 'postfix' => '/[\d]{3} 2.0.0 Ok: queued as (.*)/', - 'Microsoft_ESMTP' => '/[0-9]{3} 2.[\d].0 (.*)@(?:.*) Queued mail for delivery/', - 'Amazon_SES' => '/[\d]{3} Ok (.*)/', - 'SendGrid' => '/[\d]{3} Ok: queued as (.*)/', - 'CampaignMonitor' => '/[\d]{3} 2.0.0 OK:([a-zA-Z\d]{48})/', - 'Haraka' => '/[\d]{3} Message Queued \((.*)\)/', - ]; - - /** - * The last transaction ID issued in response to a DATA command, - * if one was detected. - * - * @var string|bool|null - */ - protected $last_smtp_transaction_id; - - /** - * The socket for the server connection. - * - * @var ?resource - */ - protected $smtp_conn; - - /** - * Error information, if any, for the last SMTP command. - * - * @var array - */ - protected $error = [ - 'error' => '', - 'detail' => '', - 'smtp_code' => '', - 'smtp_code_ex' => '', - ]; - - /** - * The reply the server sent to us for HELO. - * If null, no HELO string has yet been received. - * - * @var string|null - */ - protected $helo_rply; - - /** - * The set of SMTP extensions sent in reply to EHLO command. - * Indexes of the array are extension names. - * Value at index 'HELO' or 'EHLO' (according to command that was sent) - * represents the server name. In case of HELO it is the only element of the array. - * Other values can be boolean TRUE or an array containing extension options. - * If null, no HELO/EHLO string has yet been received. - * - * @var array|null - */ - protected $server_caps; - - /** - * The most recent reply received from the server. - * - * @var string - */ - protected $last_reply = ''; - - /** - * Output debugging info via a user-selected method. - * - * @param string $str Debug string to output - * @param int $level The debug level of this message; see DEBUG_* constants - * - * @see SMTP::$Debugoutput - * @see SMTP::$do_debug - */ - protected function edebug($str, $level = 0) - { - if ($level > $this->do_debug) { - return; - } - //Is this a PSR-3 logger? - if ($this->Debugoutput instanceof \Psr\Log\LoggerInterface) { - $this->Debugoutput->debug($str); - - return; - } - //Avoid clash with built-in function names - if (is_callable($this->Debugoutput) && !in_array($this->Debugoutput, ['error_log', 'html', 'echo'])) { - call_user_func($this->Debugoutput, $str, $level); - - return; - } - switch ($this->Debugoutput) { - case 'error_log': - //Don't output, just log - error_log($str); - break; - case 'html': - //Cleans up output a bit for a better looking, HTML-safe output - echo gmdate('Y-m-d H:i:s'), ' ', htmlentities( - preg_replace('/[\r\n]+/', '', $str), - ENT_QUOTES, - 'UTF-8' - ), "
          \n"; - break; - case 'echo': - default: - //Normalize line breaks - $str = preg_replace('/\r\n|\r/m', "\n", $str); - echo gmdate('Y-m-d H:i:s'), - "\t", - //Trim trailing space - trim( - //Indent for readability, except for trailing break - str_replace( - "\n", - "\n \t ", - trim($str) - ) - ), - "\n"; - } - } - - /** - * Connect to an SMTP server. - * - * @param string $host SMTP server IP or host name - * @param int $port The port number to connect to - * @param int $timeout How long to wait for the connection to open - * @param array $options An array of options for stream_context_create() - * - * @return bool - */ - public function connect($host, $port = null, $timeout = 30, $options = []) - { - //Clear errors to avoid confusion - $this->setError(''); - //Make sure we are __not__ connected - if ($this->connected()) { - //Already connected, generate error - $this->setError('Already connected to a server'); - - return false; - } - if (empty($port)) { - $port = self::DEFAULT_PORT; - } - //Connect to the SMTP server - $this->edebug( - "Connection: opening to $host:$port, timeout=$timeout, options=" . - (count($options) > 0 ? var_export($options, true) : 'array()'), - self::DEBUG_CONNECTION - ); - - $this->smtp_conn = $this->getSMTPConnection($host, $port, $timeout, $options); - - if ($this->smtp_conn === false) { - //Error info already set inside `getSMTPConnection()` - return false; - } - - $this->edebug('Connection: opened', self::DEBUG_CONNECTION); - - //Get any announcement - $this->last_reply = $this->get_lines(); - $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER); - $responseCode = (int)substr($this->last_reply, 0, 3); - if ($responseCode === 220) { - return true; - } - //Anything other than a 220 response means something went wrong - //RFC 5321 says the server will wait for us to send a QUIT in response to a 554 error - //https://tools.ietf.org/html/rfc5321#section-3.1 - if ($responseCode === 554) { - $this->quit(); - } - //This will handle 421 responses which may not wait for a QUIT (e.g. if the server is being shut down) - $this->edebug('Connection: closing due to error', self::DEBUG_CONNECTION); - $this->close(); - return false; - } - - /** - * Create connection to the SMTP server. - * - * @param string $host SMTP server IP or host name - * @param int $port The port number to connect to - * @param int $timeout How long to wait for the connection to open - * @param array $options An array of options for stream_context_create() - * - * @return false|resource - */ - protected function getSMTPConnection($host, $port = null, $timeout = 30, $options = []) - { - static $streamok; - //This is enabled by default since 5.0.0 but some providers disable it - //Check this once and cache the result - if (null === $streamok) { - $streamok = function_exists('stream_socket_client'); - } - - $errno = 0; - $errstr = ''; - if ($streamok) { - $socket_context = stream_context_create($options); - set_error_handler([$this, 'errorHandler']); - $connection = stream_socket_client( - $host . ':' . $port, - $errno, - $errstr, - $timeout, - STREAM_CLIENT_CONNECT, - $socket_context - ); - restore_error_handler(); - } else { - //Fall back to fsockopen which should work in more places, but is missing some features - $this->edebug( - 'Connection: stream_socket_client not available, falling back to fsockopen', - self::DEBUG_CONNECTION - ); - set_error_handler([$this, 'errorHandler']); - $connection = fsockopen( - $host, - $port, - $errno, - $errstr, - $timeout - ); - restore_error_handler(); - } - - //Verify we connected properly - if (!is_resource($connection)) { - $this->setError( - 'Failed to connect to server', - '', - (string) $errno, - $errstr - ); - $this->edebug( - 'SMTP ERROR: ' . $this->error['error'] - . ": $errstr ($errno)", - self::DEBUG_CLIENT - ); - - return false; - } - - //SMTP server can take longer to respond, give longer timeout for first read - //Windows does not have support for this timeout function - if (strpos(PHP_OS, 'WIN') !== 0) { - $max = (int)ini_get('max_execution_time'); - //Don't bother if unlimited, or if set_time_limit is disabled - if (0 !== $max && $timeout > $max && strpos(ini_get('disable_functions'), 'set_time_limit') === false) { - @set_time_limit($timeout); - } - stream_set_timeout($connection, $timeout, 0); - } - - return $connection; - } - - /** - * Initiate a TLS (encrypted) session. - * - * @return bool - */ - public function startTLS() - { - if (!$this->sendCommand('STARTTLS', 'STARTTLS', 220)) { - return false; - } - - //Allow the best TLS version(s) we can - $crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT; - - //PHP 5.6.7 dropped inclusion of TLS 1.1 and 1.2 in STREAM_CRYPTO_METHOD_TLS_CLIENT - //so add them back in manually if we can - if (defined('STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT')) { - $crypto_method |= STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT; - $crypto_method |= STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT; - } - - //Begin encrypted connection - set_error_handler([$this, 'errorHandler']); - $crypto_ok = stream_socket_enable_crypto( - $this->smtp_conn, - true, - $crypto_method - ); - restore_error_handler(); - - return (bool) $crypto_ok; - } - - /** - * Perform SMTP authentication. - * Must be run after hello(). - * - * @see hello() - * - * @param string $username The user name - * @param string $password The password - * @param string $authtype The auth type (CRAM-MD5, PLAIN, LOGIN, XOAUTH2) - * @param OAuth $OAuth An optional OAuth instance for XOAUTH2 authentication - * - * @return bool True if successfully authenticated - */ - public function authenticate( - $username, - $password, - $authtype = null, - $OAuth = null - ) { - if (!$this->server_caps) { - $this->setError('Authentication is not allowed before HELO/EHLO'); - - return false; - } - - if (array_key_exists('EHLO', $this->server_caps)) { - //SMTP extensions are available; try to find a proper authentication method - if (!array_key_exists('AUTH', $this->server_caps)) { - $this->setError('Authentication is not allowed at this stage'); - //'at this stage' means that auth may be allowed after the stage changes - //e.g. after STARTTLS - - return false; - } - - $this->edebug('Auth method requested: ' . ($authtype ?: 'UNSPECIFIED'), self::DEBUG_LOWLEVEL); - $this->edebug( - 'Auth methods available on the server: ' . implode(',', $this->server_caps['AUTH']), - self::DEBUG_LOWLEVEL - ); - - //If we have requested a specific auth type, check the server supports it before trying others - if (null !== $authtype && !in_array($authtype, $this->server_caps['AUTH'], true)) { - $this->edebug('Requested auth method not available: ' . $authtype, self::DEBUG_LOWLEVEL); - $authtype = null; - } - - if (empty($authtype)) { - //If no auth mechanism is specified, attempt to use these, in this order - //Try CRAM-MD5 first as it's more secure than the others - foreach (['CRAM-MD5', 'LOGIN', 'PLAIN', 'XOAUTH2'] as $method) { - if (in_array($method, $this->server_caps['AUTH'], true)) { - $authtype = $method; - break; - } - } - if (empty($authtype)) { - $this->setError('No supported authentication methods found'); - - return false; - } - $this->edebug('Auth method selected: ' . $authtype, self::DEBUG_LOWLEVEL); - } - - if (!in_array($authtype, $this->server_caps['AUTH'], true)) { - $this->setError("The requested authentication method \"$authtype\" is not supported by the server"); - - return false; - } - } elseif (empty($authtype)) { - $authtype = 'LOGIN'; - } - switch ($authtype) { - case 'PLAIN': - //Start authentication - if (!$this->sendCommand('AUTH', 'AUTH PLAIN', 334)) { - return false; - } - //Send encoded username and password - if ( - //Format from https://tools.ietf.org/html/rfc4616#section-2 - //We skip the first field (it's forgery), so the string starts with a null byte - !$this->sendCommand( - 'User & Password', - base64_encode("\0" . $username . "\0" . $password), - 235 - ) - ) { - return false; - } - break; - case 'LOGIN': - //Start authentication - if (!$this->sendCommand('AUTH', 'AUTH LOGIN', 334)) { - return false; - } - if (!$this->sendCommand('Username', base64_encode($username), 334)) { - return false; - } - if (!$this->sendCommand('Password', base64_encode($password), 235)) { - return false; - } - break; - case 'CRAM-MD5': - //Start authentication - if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) { - return false; - } - //Get the challenge - $challenge = base64_decode(substr($this->last_reply, 4)); - - //Build the response - $response = $username . ' ' . $this->hmac($challenge, $password); - - //send encoded credentials - return $this->sendCommand('Username', base64_encode($response), 235); - case 'XOAUTH2': - //The OAuth instance must be set up prior to requesting auth. - if (null === $OAuth) { - return false; - } - $oauth = $OAuth->getOauth64(); - - //Start authentication - if (!$this->sendCommand('AUTH', 'AUTH XOAUTH2 ' . $oauth, 235)) { - return false; - } - break; - default: - $this->setError("Authentication method \"$authtype\" is not supported"); - - return false; - } - - return true; - } - - /** - * Calculate an MD5 HMAC hash. - * Works like hash_hmac('md5', $data, $key) - * in case that function is not available. - * - * @param string $data The data to hash - * @param string $key The key to hash with - * - * @return string - */ - protected function hmac($data, $key) - { - if (function_exists('hash_hmac')) { - return hash_hmac('md5', $data, $key); - } - - //The following borrowed from - //http://php.net/manual/en/function.mhash.php#27225 - - //RFC 2104 HMAC implementation for php. - //Creates an md5 HMAC. - //Eliminates the need to install mhash to compute a HMAC - //by Lance Rushing - - $bytelen = 64; //byte length for md5 - if (strlen($key) > $bytelen) { - $key = pack('H*', md5($key)); - } - $key = str_pad($key, $bytelen, chr(0x00)); - $ipad = str_pad('', $bytelen, chr(0x36)); - $opad = str_pad('', $bytelen, chr(0x5c)); - $k_ipad = $key ^ $ipad; - $k_opad = $key ^ $opad; - - return md5($k_opad . pack('H*', md5($k_ipad . $data))); - } - - /** - * Check connection state. - * - * @return bool True if connected - */ - public function connected() - { - if (is_resource($this->smtp_conn)) { - $sock_status = stream_get_meta_data($this->smtp_conn); - if ($sock_status['eof']) { - //The socket is valid but we are not connected - $this->edebug( - 'SMTP NOTICE: EOF caught while checking if connected', - self::DEBUG_CLIENT - ); - $this->close(); - - return false; - } - - return true; //everything looks good - } - - return false; - } - - /** - * Close the socket and clean up the state of the class. - * Don't use this function without first trying to use QUIT. - * - * @see quit() - */ - public function close() - { - $this->setError(''); - $this->server_caps = null; - $this->helo_rply = null; - if (is_resource($this->smtp_conn)) { - //Close the connection and cleanup - fclose($this->smtp_conn); - $this->smtp_conn = null; //Makes for cleaner serialization - $this->edebug('Connection: closed', self::DEBUG_CONNECTION); - } - } - - /** - * Send an SMTP DATA command. - * Issues a data command and sends the msg_data to the server, - * finializing the mail transaction. $msg_data is the message - * that is to be send with the headers. Each header needs to be - * on a single line followed by a with the message headers - * and the message body being separated by an additional . - * Implements RFC 821: DATA . - * - * @param string $msg_data Message data to send - * - * @return bool - */ - public function data($msg_data) - { - //This will use the standard timelimit - if (!$this->sendCommand('DATA', 'DATA', 354)) { - return false; - } - - /* The server is ready to accept data! - * According to rfc821 we should not send more than 1000 characters on a single line (including the LE) - * so we will break the data up into lines by \r and/or \n then if needed we will break each of those into - * smaller lines to fit within the limit. - * We will also look for lines that start with a '.' and prepend an additional '.'. - * NOTE: this does not count towards line-length limit. - */ - - //Normalize line breaks before exploding - $lines = explode("\n", str_replace(["\r\n", "\r"], "\n", $msg_data)); - - /* To distinguish between a complete RFC822 message and a plain message body, we check if the first field - * of the first line (':' separated) does not contain a space then it _should_ be a header and we will - * process all lines before a blank line as headers. - */ - - $field = substr($lines[0], 0, strpos($lines[0], ':')); - $in_headers = false; - if (!empty($field) && strpos($field, ' ') === false) { - $in_headers = true; - } - - foreach ($lines as $line) { - $lines_out = []; - if ($in_headers && $line === '') { - $in_headers = false; - } - //Break this line up into several smaller lines if it's too long - //Micro-optimisation: isset($str[$len]) is faster than (strlen($str) > $len), - while (isset($line[self::MAX_LINE_LENGTH])) { - //Working backwards, try to find a space within the last MAX_LINE_LENGTH chars of the line to break on - //so as to avoid breaking in the middle of a word - $pos = strrpos(substr($line, 0, self::MAX_LINE_LENGTH), ' '); - //Deliberately matches both false and 0 - if (!$pos) { - //No nice break found, add a hard break - $pos = self::MAX_LINE_LENGTH - 1; - $lines_out[] = substr($line, 0, $pos); - $line = substr($line, $pos); - } else { - //Break at the found point - $lines_out[] = substr($line, 0, $pos); - //Move along by the amount we dealt with - $line = substr($line, $pos + 1); - } - //If processing headers add a LWSP-char to the front of new line RFC822 section 3.1.1 - if ($in_headers) { - $line = "\t" . $line; - } - } - $lines_out[] = $line; - - //Send the lines to the server - foreach ($lines_out as $line_out) { - //Dot-stuffing as per RFC5321 section 4.5.2 - //https://tools.ietf.org/html/rfc5321#section-4.5.2 - if (!empty($line_out) && $line_out[0] === '.') { - $line_out = '.' . $line_out; - } - $this->client_send($line_out . static::LE, 'DATA'); - } - } - - //Message data has been sent, complete the command - //Increase timelimit for end of DATA command - $savetimelimit = $this->Timelimit; - $this->Timelimit *= 2; - $result = $this->sendCommand('DATA END', '.', 250); - $this->recordLastTransactionID(); - //Restore timelimit - $this->Timelimit = $savetimelimit; - - return $result; - } - - /** - * Send an SMTP HELO or EHLO command. - * Used to identify the sending server to the receiving server. - * This makes sure that client and server are in a known state. - * Implements RFC 821: HELO - * and RFC 2821 EHLO. - * - * @param string $host The host name or IP to connect to - * - * @return bool - */ - public function hello($host = '') - { - //Try extended hello first (RFC 2821) - if ($this->sendHello('EHLO', $host)) { - return true; - } - - //Some servers shut down the SMTP service here (RFC 5321) - if (substr($this->helo_rply, 0, 3) == '421') { - return false; - } - - return $this->sendHello('HELO', $host); - } - - /** - * Send an SMTP HELO or EHLO command. - * Low-level implementation used by hello(). - * - * @param string $hello The HELO string - * @param string $host The hostname to say we are - * - * @return bool - * - * @see hello() - */ - protected function sendHello($hello, $host) - { - $noerror = $this->sendCommand($hello, $hello . ' ' . $host, 250); - $this->helo_rply = $this->last_reply; - if ($noerror) { - $this->parseHelloFields($hello); - } else { - $this->server_caps = null; - } - - return $noerror; - } - - /** - * Parse a reply to HELO/EHLO command to discover server extensions. - * In case of HELO, the only parameter that can be discovered is a server name. - * - * @param string $type `HELO` or `EHLO` - */ - protected function parseHelloFields($type) - { - $this->server_caps = []; - $lines = explode("\n", $this->helo_rply); - - foreach ($lines as $n => $s) { - //First 4 chars contain response code followed by - or space - $s = trim(substr($s, 4)); - if (empty($s)) { - continue; - } - $fields = explode(' ', $s); - if (!empty($fields)) { - if (!$n) { - $name = $type; - $fields = $fields[0]; - } else { - $name = array_shift($fields); - switch ($name) { - case 'SIZE': - $fields = ($fields ? $fields[0] : 0); - break; - case 'AUTH': - if (!is_array($fields)) { - $fields = []; - } - break; - default: - $fields = true; - } - } - $this->server_caps[$name] = $fields; - } - } - } - - /** - * Send an SMTP MAIL command. - * Starts a mail transaction from the email address specified in - * $from. Returns true if successful or false otherwise. If True - * the mail transaction is started and then one or more recipient - * commands may be called followed by a data command. - * Implements RFC 821: MAIL FROM: . - * - * @param string $from Source address of this message - * - * @return bool - */ - public function mail($from) - { - $useVerp = ($this->do_verp ? ' XVERP' : ''); - - return $this->sendCommand( - 'MAIL FROM', - 'MAIL FROM:<' . $from . '>' . $useVerp, - 250 - ); - } - - /** - * Send an SMTP QUIT command. - * Closes the socket if there is no error or the $close_on_error argument is true. - * Implements from RFC 821: QUIT . - * - * @param bool $close_on_error Should the connection close if an error occurs? - * - * @return bool - */ - public function quit($close_on_error = true) - { - $noerror = $this->sendCommand('QUIT', 'QUIT', 221); - $err = $this->error; //Save any error - if ($noerror || $close_on_error) { - $this->close(); - $this->error = $err; //Restore any error from the quit command - } - - return $noerror; - } - - /** - * Send an SMTP RCPT command. - * Sets the TO argument to $toaddr. - * Returns true if the recipient was accepted false if it was rejected. - * Implements from RFC 821: RCPT TO: . - * - * @param string $address The address the message is being sent to - * @param string $dsn Comma separated list of DSN notifications. NEVER, SUCCESS, FAILURE - * or DELAY. If you specify NEVER all other notifications are ignored. - * - * @return bool - */ - public function recipient($address, $dsn = '') - { - if (empty($dsn)) { - $rcpt = 'RCPT TO:<' . $address . '>'; - } else { - $dsn = strtoupper($dsn); - $notify = []; - - if (strpos($dsn, 'NEVER') !== false) { - $notify[] = 'NEVER'; - } else { - foreach (['SUCCESS', 'FAILURE', 'DELAY'] as $value) { - if (strpos($dsn, $value) !== false) { - $notify[] = $value; - } - } - } - - $rcpt = 'RCPT TO:<' . $address . '> NOTIFY=' . implode(',', $notify); - } - - return $this->sendCommand( - 'RCPT TO', - $rcpt, - [250, 251] - ); - } - - /** - * Send an SMTP RSET command. - * Abort any transaction that is currently in progress. - * Implements RFC 821: RSET . - * - * @return bool True on success - */ - public function reset() - { - return $this->sendCommand('RSET', 'RSET', 250); - } - - /** - * Send a command to an SMTP server and check its return code. - * - * @param string $command The command name - not sent to the server - * @param string $commandstring The actual command to send - * @param int|array $expect One or more expected integer success codes - * - * @return bool True on success - */ - protected function sendCommand($command, $commandstring, $expect) - { - if (!$this->connected()) { - $this->setError("Called $command without being connected"); - - return false; - } - //Reject line breaks in all commands - if ((strpos($commandstring, "\n") !== false) || (strpos($commandstring, "\r") !== false)) { - $this->setError("Command '$command' contained line breaks"); - - return false; - } - $this->client_send($commandstring . static::LE, $command); - - $this->last_reply = $this->get_lines(); - //Fetch SMTP code and possible error code explanation - $matches = []; - if (preg_match('/^([\d]{3})[ -](?:([\d]\\.[\d]\\.[\d]{1,2}) )?/', $this->last_reply, $matches)) { - $code = (int) $matches[1]; - $code_ex = (count($matches) > 2 ? $matches[2] : null); - //Cut off error code from each response line - $detail = preg_replace( - "/{$code}[ -]" . - ($code_ex ? str_replace('.', '\\.', $code_ex) . ' ' : '') . '/m', - '', - $this->last_reply - ); - } else { - //Fall back to simple parsing if regex fails - $code = (int) substr($this->last_reply, 0, 3); - $code_ex = null; - $detail = substr($this->last_reply, 4); - } - - $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER); - - if (!in_array($code, (array) $expect, true)) { - $this->setError( - "$command command failed", - $detail, - $code, - $code_ex - ); - $this->edebug( - 'SMTP ERROR: ' . $this->error['error'] . ': ' . $this->last_reply, - self::DEBUG_CLIENT - ); - - return false; - } - - $this->setError(''); - - return true; - } - - /** - * Send an SMTP SAML command. - * Starts a mail transaction from the email address specified in $from. - * Returns true if successful or false otherwise. If True - * the mail transaction is started and then one or more recipient - * commands may be called followed by a data command. This command - * will send the message to the users terminal if they are logged - * in and send them an email. - * Implements RFC 821: SAML FROM: . - * - * @param string $from The address the message is from - * - * @return bool - */ - public function sendAndMail($from) - { - return $this->sendCommand('SAML', "SAML FROM:$from", 250); - } - - /** - * Send an SMTP VRFY command. - * - * @param string $name The name to verify - * - * @return bool - */ - public function verify($name) - { - return $this->sendCommand('VRFY', "VRFY $name", [250, 251]); - } - - /** - * Send an SMTP NOOP command. - * Used to keep keep-alives alive, doesn't actually do anything. - * - * @return bool - */ - public function noop() - { - return $this->sendCommand('NOOP', 'NOOP', 250); - } - - /** - * Send an SMTP TURN command. - * This is an optional command for SMTP that this class does not support. - * This method is here to make the RFC821 Definition complete for this class - * and _may_ be implemented in future. - * Implements from RFC 821: TURN . - * - * @return bool - */ - public function turn() - { - $this->setError('The SMTP TURN command is not implemented'); - $this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT); - - return false; - } - - /** - * Send raw data to the server. - * - * @param string $data The data to send - * @param string $command Optionally, the command this is part of, used only for controlling debug output - * - * @return int|bool The number of bytes sent to the server or false on error - */ - public function client_send($data, $command = '') - { - //If SMTP transcripts are left enabled, or debug output is posted online - //it can leak credentials, so hide credentials in all but lowest level - if ( - self::DEBUG_LOWLEVEL > $this->do_debug && - in_array($command, ['User & Password', 'Username', 'Password'], true) - ) { - $this->edebug('CLIENT -> SERVER: [credentials hidden]', self::DEBUG_CLIENT); - } else { - $this->edebug('CLIENT -> SERVER: ' . $data, self::DEBUG_CLIENT); - } - set_error_handler([$this, 'errorHandler']); - $result = fwrite($this->smtp_conn, $data); - restore_error_handler(); - - return $result; - } - - /** - * Get the latest error. - * - * @return array - */ - public function getError() - { - return $this->error; - } - - /** - * Get SMTP extensions available on the server. - * - * @return array|null - */ - public function getServerExtList() - { - return $this->server_caps; - } - - /** - * Get metadata about the SMTP server from its HELO/EHLO response. - * The method works in three ways, dependent on argument value and current state: - * 1. HELO/EHLO has not been sent - returns null and populates $this->error. - * 2. HELO has been sent - - * $name == 'HELO': returns server name - * $name == 'EHLO': returns boolean false - * $name == any other string: returns null and populates $this->error - * 3. EHLO has been sent - - * $name == 'HELO'|'EHLO': returns the server name - * $name == any other string: if extension $name exists, returns True - * or its options (e.g. AUTH mechanisms supported). Otherwise returns False. - * - * @param string $name Name of SMTP extension or 'HELO'|'EHLO' - * - * @return string|bool|null - */ - public function getServerExt($name) - { - if (!$this->server_caps) { - $this->setError('No HELO/EHLO was sent'); - - return; - } - - if (!array_key_exists($name, $this->server_caps)) { - if ('HELO' === $name) { - return $this->server_caps['EHLO']; - } - if ('EHLO' === $name || array_key_exists('EHLO', $this->server_caps)) { - return false; - } - $this->setError('HELO handshake was used; No information about server extensions available'); - - return; - } - - return $this->server_caps[$name]; - } - - /** - * Get the last reply from the server. - * - * @return string - */ - public function getLastReply() - { - return $this->last_reply; - } - - /** - * Read the SMTP server's response. - * Either before eof or socket timeout occurs on the operation. - * With SMTP we can tell if we have more lines to read if the - * 4th character is '-' symbol. If it is a space then we don't - * need to read anything else. - * - * @return string - */ - protected function get_lines() - { - //If the connection is bad, give up straight away - if (!is_resource($this->smtp_conn)) { - return ''; - } - $data = ''; - $endtime = 0; - stream_set_timeout($this->smtp_conn, $this->Timeout); - if ($this->Timelimit > 0) { - $endtime = time() + $this->Timelimit; - } - $selR = [$this->smtp_conn]; - $selW = null; - while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) { - //Must pass vars in here as params are by reference - //solution for signals inspired by https://github.com/symfony/symfony/pull/6540 - set_error_handler([$this, 'errorHandler']); - $n = stream_select($selR, $selW, $selW, $this->Timelimit); - restore_error_handler(); - - if ($n === false) { - $message = $this->getError()['detail']; - - $this->edebug( - 'SMTP -> get_lines(): select failed (' . $message . ')', - self::DEBUG_LOWLEVEL - ); - - //stream_select returns false when the `select` system call is interrupted - //by an incoming signal, try the select again - if (stripos($message, 'interrupted system call') !== false) { - $this->edebug( - 'SMTP -> get_lines(): retrying stream_select', - self::DEBUG_LOWLEVEL - ); - $this->setError(''); - continue; - } - - break; - } - - if (!$n) { - $this->edebug( - 'SMTP -> get_lines(): select timed-out in (' . $this->Timelimit . ' sec)', - self::DEBUG_LOWLEVEL - ); - break; - } - - //Deliberate noise suppression - errors are handled afterwards - $str = @fgets($this->smtp_conn, self::MAX_REPLY_LENGTH); - $this->edebug('SMTP INBOUND: "' . trim($str) . '"', self::DEBUG_LOWLEVEL); - $data .= $str; - //If response is only 3 chars (not valid, but RFC5321 S4.2 says it must be handled), - //or 4th character is a space or a line break char, we are done reading, break the loop. - //String array access is a significant micro-optimisation over strlen - if (!isset($str[3]) || $str[3] === ' ' || $str[3] === "\r" || $str[3] === "\n") { - break; - } - //Timed-out? Log and break - $info = stream_get_meta_data($this->smtp_conn); - if ($info['timed_out']) { - $this->edebug( - 'SMTP -> get_lines(): stream timed-out (' . $this->Timeout . ' sec)', - self::DEBUG_LOWLEVEL - ); - break; - } - //Now check if reads took too long - if ($endtime && time() > $endtime) { - $this->edebug( - 'SMTP -> get_lines(): timelimit reached (' . - $this->Timelimit . ' sec)', - self::DEBUG_LOWLEVEL - ); - break; - } - } - - return $data; - } - - /** - * Enable or disable VERP address generation. - * - * @param bool $enabled - */ - public function setVerp($enabled = false) - { - $this->do_verp = $enabled; - } - - /** - * Get VERP address generation mode. - * - * @return bool - */ - public function getVerp() - { - return $this->do_verp; - } - - /** - * Set error messages and codes. - * - * @param string $message The error message - * @param string $detail Further detail on the error - * @param string $smtp_code An associated SMTP error code - * @param string $smtp_code_ex Extended SMTP code - */ - protected function setError($message, $detail = '', $smtp_code = '', $smtp_code_ex = '') - { - $this->error = [ - 'error' => $message, - 'detail' => $detail, - 'smtp_code' => $smtp_code, - 'smtp_code_ex' => $smtp_code_ex, - ]; - } - - /** - * Set debug output method. - * - * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it - */ - public function setDebugOutput($method = 'echo') - { - $this->Debugoutput = $method; - } - - /** - * Get debug output method. - * - * @return string - */ - public function getDebugOutput() - { - return $this->Debugoutput; - } - - /** - * Set debug output level. - * - * @param int $level - */ - public function setDebugLevel($level = 0) - { - $this->do_debug = $level; - } - - /** - * Get debug output level. - * - * @return int - */ - public function getDebugLevel() - { - return $this->do_debug; - } - - /** - * Set SMTP timeout. - * - * @param int $timeout The timeout duration in seconds - */ - public function setTimeout($timeout = 0) - { - $this->Timeout = $timeout; - } - - /** - * Get SMTP timeout. - * - * @return int - */ - public function getTimeout() - { - return $this->Timeout; - } - - /** - * Reports an error number and string. - * - * @param int $errno The error number returned by PHP - * @param string $errmsg The error message returned by PHP - * @param string $errfile The file the error occurred in - * @param int $errline The line number the error occurred on - */ - protected function errorHandler($errno, $errmsg, $errfile = '', $errline = 0) - { - $notice = 'Connection failed.'; - $this->setError( - $notice, - $errmsg, - (string) $errno - ); - $this->edebug( - "$notice Error #$errno: $errmsg [$errfile line $errline]", - self::DEBUG_CONNECTION - ); - } - - /** - * Extract and return the ID of the last SMTP transaction based on - * a list of patterns provided in SMTP::$smtp_transaction_id_patterns. - * Relies on the host providing the ID in response to a DATA command. - * If no reply has been received yet, it will return null. - * If no pattern was matched, it will return false. - * - * @return bool|string|null - */ - protected function recordLastTransactionID() - { - $reply = $this->getLastReply(); - - if (empty($reply)) { - $this->last_smtp_transaction_id = null; - } else { - $this->last_smtp_transaction_id = false; - foreach ($this->smtp_transaction_id_patterns as $smtp_transaction_id_pattern) { - $matches = []; - if (preg_match($smtp_transaction_id_pattern, $reply, $matches)) { - $this->last_smtp_transaction_id = trim($matches[1]); - break; - } - } - } - - return $this->last_smtp_transaction_id; - } - - /** - * Get the queue/transaction ID of the last SMTP transaction - * If no reply has been received yet, it will return null. - * If no pattern was matched, it will return false. - * - * @return bool|string|null - * - * @see recordLastTransactionID() - */ - public function getLastTransactionID() - { - return $this->last_smtp_transaction_id; - } -} diff --git a/vendor/psr/http-message/CHANGELOG.md b/vendor/psr/http-message/CHANGELOG.md deleted file mode 100644 index 74b1ef92..00000000 --- a/vendor/psr/http-message/CHANGELOG.md +++ /dev/null @@ -1,36 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file, in reverse chronological order by release. - -## 1.0.1 - 2016-08-06 - -### Added - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Updated all `@return self` annotation references in interfaces to use - `@return static`, which more closelly follows the semantics of the - specification. -- Updated the `MessageInterface::getHeaders()` return annotation to use the - value `string[][]`, indicating the format is a nested array of strings. -- Updated the `@link` annotation for `RequestInterface::withRequestTarget()` - to point to the correct section of RFC 7230. -- Updated the `ServerRequestInterface::withUploadedFiles()` parameter annotation - to add the parameter name (`$uploadedFiles`). -- Updated a `@throws` annotation for the `UploadedFileInterface::moveTo()` - method to correctly reference the method parameter (it was referencing an - incorrect parameter name previously). - -## 1.0.0 - 2016-05-18 - -Initial stable release; reflects accepted PSR-7 specification. diff --git a/vendor/psr/http-message/LICENSE b/vendor/psr/http-message/LICENSE deleted file mode 100644 index c2d8e452..00000000 --- a/vendor/psr/http-message/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2014 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-message/README.md b/vendor/psr/http-message/README.md deleted file mode 100644 index 28185338..00000000 --- a/vendor/psr/http-message/README.md +++ /dev/null @@ -1,13 +0,0 @@ -PSR Http Message -================ - -This repository holds all interfaces/classes/traits related to -[PSR-7](http://www.php-fig.org/psr/psr-7/). - -Note that this is not a HTTP message implementation of its own. It is merely an -interface that describes a HTTP message. See the specification for more details. - -Usage ------ - -We'll certainly need some stuff in here. \ No newline at end of file diff --git a/vendor/psr/http-message/composer.json b/vendor/psr/http-message/composer.json deleted file mode 100644 index b0d2937a..00000000 --- a/vendor/psr/http-message/composer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "psr/http-message", - "description": "Common interface for HTTP messages", - "keywords": ["psr", "psr-7", "http", "http-message", "request", "response"], - "homepage": "https://github.com/php-fig/http-message", - "license": "MIT", - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "require": { - "php": ">=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 deleted file mode 100644 index dd46e5ec..00000000 --- a/vendor/psr/http-message/src/MessageInterface.php +++ /dev/null @@ -1,187 +0,0 @@ -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 deleted file mode 100644 index a96d4fd6..00000000 --- a/vendor/psr/http-message/src/RequestInterface.php +++ /dev/null @@ -1,129 +0,0 @@ -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 deleted file mode 100644 index f68f3912..00000000 --- a/vendor/psr/http-message/src/StreamInterface.php +++ /dev/null @@ -1,158 +0,0 @@ - - * [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/qcloud/cos-sdk-v5/.gitignore b/vendor/qcloud/cos-sdk-v5/.gitignore deleted file mode 100644 index 1c0b8d4d..00000000 --- a/vendor/qcloud/cos-sdk-v5/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.vscode/ -.idea/ \ No newline at end of file diff --git a/vendor/qcloud/cos-sdk-v5/.travis.yml b/vendor/qcloud/cos-sdk-v5/.travis.yml deleted file mode 100644 index 1dfbb818..00000000 --- a/vendor/qcloud/cos-sdk-v5/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: php -php: - - 5.6 -notifications: - email: - recipients: - - wjielai@tencent.com - - fysntian@tencent.com - -before_script: - - composer install --prefer-dist --dev --no-interaction - -script: - - phpunit -v --coverage-clover=coverage.xml - -after_success: - - bash <(curl -s https://codecov.io/bash) diff --git a/vendor/qcloud/cos-sdk-v5/CHANGELOG.md b/vendor/qcloud/cos-sdk-v5/CHANGELOG.md deleted file mode 100644 index a736509c..00000000 --- a/vendor/qcloud/cos-sdk-v5/CHANGELOG.md +++ /dev/null @@ -1,147 +0,0 @@ -cos-php-sdk-v5 Upgrade Guide -==================== -2.1.6 to 2.2.0 ----------- -`PutObject` interface supports ci image process -`GetObject` interface supports ci image process -Add `ImageInfo` interface, which is used for get image info -Add `ImageExif` interface, which is used for get image exif -Add `ImageAve` interface, which is used for get image ave -Add `ImageProcess` interface, which is used for data processing on cloud -Add `Qrcode` interface, which is used for qrcode recognition -Add `QrcodeGenerate` interface, which is used for generate qrcode -Add `DetectLabel` interface, which is used for detect image label -Add `PutBucketImageStyle` interface, which is used for add bucket image style -Add `GetBucketImageStyle` interface, which is used for get bucket image style -Add `DeleteBucketImageStyle` interface, which is used for delete bucket image style -Add `PutBucketGuetzli` interface, which is used for open bucket guetzli state -Add `GetBucketGuetzli` interface, which is used for get bucket guetzli state -Add `DeleteBucketGuetzli` interface, which is used for close bucket guetzli state - -2.1.5 to 2.1.6 ----------- -- Add `allow_redirects` parameter -- Fix `selectObjectContent` interface - -2.1.3 to 2.1.5 ----------- -- The `download` interface supports breakpoint -- Rename `getPresignetUrl` to `getPresignedUrl` - -2.1.2 to 2.1.3 ----------- -- Add `download` interface, which is used for concurrent block download -- Add callback of `upload` and `download` progress -- Fix request retry - -2.1.1 to 2.1.2 ----------- -- The interface supports custom parameters -- Fix `ListBucketInventoryConfigurations` - -2.1.0 to 2.1.1 ----------- -- Fix bug of urlencode when calculating signature - -2.0.9 to 2.1.0 ----------- -- `upload` support upload with multithread -- Add `retry` params for interface retry -- Support add customer header -- Signature will restrict part of the header and all parameters -- Fix `listBuckets` with `doamin` - -2.0.8 to 2.0.9 ----------- -- Fix bug of `listObjectVersions` -- Update `getObject` with param of `saveas` - -2.0.7 to 2.0.8 ----------- -- Fix presigned url when using tmpSecretId/tmpSecretKey/Token - -2.0.6 to 2.0.7 ----------- -- Fix response of `ListParts` - -2.0.5 to 2.0.6 ----------- -- Support Domain -- Add Select Object Content Interface -- Add Traffic Limit -- Fix bug of object endswith / - -2.0.4 to 2.0.5 ----------- -- Fix bug when upload object with metadata - -2.0.3 to 2.0.4 ----------- -- Fix bug when using ip-port - -2.0.2 to 2.0.3 ----------- -- Fix path parse bug with /0/ - -2.0.1 to 2.0.2 ----------- -- Fix bug of `putObject` with `fopen` -- Add ut - - -2.0.0 to 2.0.1 ----------- -- Add interface of inventory/tagging/logging -- Fix bug of some interface with query string - - -1.3 to 2.0 ----------- -cos-php-sdk-v5 now uses [GuzzleHttp] for HTTP message. -Due to fact, it depending on PHP >= 5.6. - -- Use the `Qcloud\Cos\Client\getPresignetUrl()` method instead of the `Qcloud\Cos\Command\createPresignedUrl()` - -v2: -```php -$signedUrl = $cosClient->getPresignetUrl($method='putObject', - $args=['Bucket'=>'examplebucket-1250000000', 'Key'=>'exampleobject', 'Body'=>''], - $expires='+30 minutes'); -``` - -v1: -```php -$command = $cosClient->getCommand('putObject', array( - 'Bucket' => "examplebucket-1250000000", - 'Key' => "exampleobject", - 'Body' => '', -)); -$signedUrl = $command->createPresignedUrl('+30 minutes'); -``` - -- `$copSource` parameters of the `Qcloud\Cos\Client\Copy` interface are no longer compatible with older versions. - -v2: - -```php -$result = $cosClient->copy( - $bucket = '', - $Key = '', - $copySorce = array( - 'Region' => '', - 'Bucket' => '', - 'Key' => '', - ) -); -``` - -v1: -```php -$result = $cosClient->Copy( - $bucket = '', - $key = '', - $copysource = '.cos..myqcloud.com/' -); -``` -- Now when uploading files with using `open()` to upload stream, if the local file does not exist, a 0 byte file will be uploaded without throwing an exception, only a warning. - diff --git a/vendor/qcloud/cos-sdk-v5/LICENSE b/vendor/qcloud/cos-sdk-v5/LICENSE deleted file mode 100644 index 2c948c82..00000000 --- a/vendor/qcloud/cos-sdk-v5/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2017 腾讯云 - -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/qcloud/cos-sdk-v5/README.md b/vendor/qcloud/cos-sdk-v5/README.md deleted file mode 100644 index 9ce3a639..00000000 --- a/vendor/qcloud/cos-sdk-v5/README.md +++ /dev/null @@ -1,302 +0,0 @@ -# COS-PHP-SDK-V5 - -腾讯云 COS-PHP-SDK-V5([XML API](https://cloud.tencent.com/document/product/436/7751)) - -[![Latest Stable Version](https://poser.pugx.org/qcloud/cos-sdk-v5/v/stable)](https://packagist.org/packages/qcloud/cos-sdk-v5) -[![Total Downloads](https://img.shields.io/packagist/dt/qcloud/cos-sdk-v5.svg?style=flat)](https://packagist.org/packages/qcloud/cos-sdk-v5) -[![Build Status](https://travis-ci.com/tencentyun/cos-php-sdk-v5.svg?branch=master)](https://travis-ci.com/tencentyun/cos-php-sdk-v5) -[![codecov](https://codecov.io/gh/tencentyun/cos-php-sdk-v5/branch/master/graph/badge.svg)](https://codecov.io/gh/tencentyun/cos-php-sdk-v5) - -## 环境准备 - -- PHP 5.6+ 您可以通过`php -v`命令查看当前的 PHP 版本。 - -> - 如果您的 php 版本 `>=5.3` 且 `<5.6` , 请使用 [v1.3](https://github.com/tencentyun/cos-php-sdk-v5/tree/1.3) 版本 - -- cURL 扩展 您可以通过`php -m`命令查看 cURL 扩展是否已经安装好。 - -> - Ubuntu 系统中,您可以使用 apt-get 包管理器安装 PHP 的 cURL 扩展,安装命令如下。 - -``` -sudo apt-get install php-curl -``` - -> - CentOS 系统中,您可以使用 yum 包管理器安装 PHP 的 cURL 扩展。 - -``` -sudo yum install php-curl -``` - -## SDK 安装 - -SDK 安装有三种方式: - -- Composer 方式 -- Phar 方式 -- 源码方式 - -### Composer 方式 - -推荐使用 Composer 安装 cos-php-sdk-v5,Composer 是 PHP 的依赖管理工具,允许您声明项目所需的依赖,然后自动将它们安装到您的项目中。 - -> 您可以在 [Composer 官网](https://getcomposer.org/) 上找到更多关于如何安装 Composer,配置自动加载以及用于定义依赖项的其他最佳实践等相关信息。 - -#### 安装步骤: - -1. 打开终端。 -2. 下载 Composer,执行以下命令。 - -``` -curl -sS https://getcomposer.org/installer | php -``` - -3. 创建一个名为`composer.json`的文件,内容如下。 - -```json -{ - "require": { - "qcloud/cos-sdk-v5": "2.*" - } -} -``` - -4. 使用 Composer 安装,执行以下命令。 - -``` -php composer.phar install -``` - -使用该命令后会在当前目录中创建一个 vendor 文件夹,里面包含 SDK 的依赖库和一个 autoload.php 脚本,方便在项目中调用。 - -5. 通过 autoload.php 脚本调用 cos-php-sdk-v5。 - -```php -require '/path/to/vendor/autoload.php'; -``` - -现在您的项目已经可以使用 COS 的 V5 版本 SDK 了。 - -### Phar 方式 - -Phar 方式安装 SDK 的步骤如下: - -1. 在 [GitHub 发布页面](https://github.com/tencentyun/cos-php-sdk-v5/releases) 下载相应的 phar 文件。 -2. 在代码中引入 phar 文件: - -```php -require '/path/to/cos-sdk-v5.phar'; -``` - -### 源码方式 - -源码方式安装 SDK 的步骤如下: - -1. 在 [GitHub 发布页面](https://github.com/tencentyun/cos-php-sdk-v5/releases) 下载相应的 cos-sdk-v5.tar.gz 文件。 -2. 解压后通过 autoload.php 脚本加载 SDK: - -```php -require '/path/to/cos-php-sdk-v5/vendor/autoload.php'; -``` - -## 快速入门 - -可参照 Demo 程序,详见 [sample 目录](https://github.com/tencentyun/cos-php-sdk-v5/tree/master/sample)。 - -## 接口文档 - -PHP SDK 接口文档,详见 [https://cloud.tencent.com/document/product/436/12267](https://cloud.tencent.com/document/product/436/12267) - -### 配置文件 - -```php -$cosClient = new Qcloud\Cos\Client(array( - 'region' => '', - 'credentials' => array( - 'secretId' => '', - 'secretKey' => '' - ) -)); -``` - -若您使用 [临时密钥](https://cloud.tencent.com/document/product/436/14048) 初始化,请用下面方式创建实例。 - -```php -$cosClient = new Qcloud\Cos\Client(array( - 'region' => '', - 'credentials' => array( - 'secretId' => '', - 'secretKey' => '', - 'token' => '' - ) -)); -``` - -### 上传文件 - -- 使用 putObject 接口上传文件(最大 5G) -- 使用 Upload 接口分块上传文件 - -```php -# 上传文件 -## putObject(上传接口,最大支持上传5G文件) -### 上传内存中的字符串 -//bucket 的命名规则为{name}-{appid} ,此处填写的存储桶名称必须为此格式 -try { - $result = $cosClient->putObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'Body' => 'Hello World!')); - print_r($result); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 上传文件流 -try { - $result = $cosClient->putObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'Body' => fopen($local_path, 'rb'))); - print_r($result); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 设置header和meta -try { - $result = $cosClient->putObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'Body' => fopen($local_path, 'rb'), - 'ACL' => 'string', - 'CacheControl' => 'string', - 'ContentDisposition' => 'string', - 'ContentEncoding' => 'string', - 'ContentLanguage' => 'string', - 'ContentLength' => integer, - 'ContentType' => 'string', - 'Expires' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime', - 'Metadata' => array( - 'string' => 'string', - ), - 'StorageClass' => 'string')); - print_r($result); -} catch (\Exception $e) { - echo "$e\n"; -} - -## Upload(高级上传接口,默认使用分块上传最大支持50T) -### 上传内存中的字符串 -try { - $result = $cosClient->Upload( - $bucket = $bucket, - $key = $key, - $body = 'Hello World!'); - print_r($result); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 上传文件流 -try { - $result = $cosClient->Upload( - $bucket = $bucket, - $key = $key, - $body = fopen($local_path, 'rb')); - print_r($result); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 设置header和meta -try { - $result = $cosClient->Upload( - $bucket= $bucket, - $key = $key, - $body = fopen($local_path, 'rb'), - $options = array( - 'ACL' => 'string', - 'CacheControl' => 'string', - 'ContentDisposition' => 'string', - 'ContentEncoding' => 'string', - 'ContentLanguage' => 'string', - 'ContentLength' => integer, - 'ContentType' => 'string', - 'Expires' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime', - 'Metadata' => array( - 'string' => 'string', - ), - 'StorageClass' => 'string')); - print_r($result); -} catch (\Exception $e) { - echo "$e\n"; -} -``` - -### 下载文件 - -- 使用 getObject 接口下载文件 -- 使用 getObjectUrl 接口获取文件下载 URL - -```php -# 下载文件 -## getObject(下载文件) -### 下载到内存 -//bucket 的命名规则为{name}-{appid} ,此处填写的存储桶名称必须为此格式 -try { - $result = $cosClient->getObject(array( - 'Bucket' => $bucket, - 'Key' => $key)); - echo($result['Body']); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 下载到本地 -try { - $result = $cosClient->getObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'SaveAs' => $local_path)); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 指定下载范围 -/* - * Range 字段格式为 'bytes=a-b' - */ -try { - $result = $cosClient->getObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'Range' => 'bytes=0-10', - 'SaveAs' => $local_path)); -} catch (\Exception $e) { - echo "$e\n"; -} - -### 设置返回header -try { - $result = $cosClient->getObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'ResponseCacheControl' => 'string', - 'ResponseContentDisposition' => 'string', - 'ResponseContentEncoding' => 'string', - 'ResponseContentLanguage' => 'string', - 'ResponseContentType' => 'string', - 'ResponseExpires' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime', - 'SaveAs' => $local_path)); -} catch (\Exception $e) { - echo "$e\n"; -} - -## getObjectUrl(获取文件UrL) -try { - $signedUrl = $cosClient->getObjectUrl($bucket, $key, '+10 minutes'); - echo $signedUrl; -} catch (\Exception $e) { - print_r($e); -} -``` diff --git a/vendor/qcloud/cos-sdk-v5/composer.json b/vendor/qcloud/cos-sdk-v5/composer.json deleted file mode 100644 index 3add560b..00000000 --- a/vendor/qcloud/cos-sdk-v5/composer.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "qcloud/cos-sdk-v5", - "description": "PHP SDK for QCloud COS", - "keywords": [ - "qcloud", "cos", "php" - ], - "license": "MIT", - "authors": [ - { - "name": "yaozongyou", - "email": "yaozongyou@vip.qq.com" - }, - { - "name": "lewzylu", - "email": "327874225@qq.com" - } - ], - "autoload": { - "psr-4": { - "Qcloud\\Cos\\": "src/Qcloud/Cos/" - }, - "files": ["src/Qcloud/Cos/Common.php"] - }, - "require": { - "php": ">=5.3.0", - "guzzlehttp/guzzle": "~6.3", - "guzzlehttp/guzzle-services": "~1.1" - } -} diff --git a/vendor/qcloud/cos-sdk-v5/phpunit.xml b/vendor/qcloud/cos-sdk-v5/phpunit.xml deleted file mode 100644 index a8516ed3..00000000 --- a/vendor/qcloud/cos-sdk-v5/phpunit.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - src/Qcloud/Cos/Tests - - - - - src/ - - - - - - diff --git a/vendor/qcloud/cos-sdk-v5/sample/abortMultipartUpload.php b/vendor/qcloud/cos-sdk-v5/sample/abortMultipartUpload.php deleted file mode 100644 index 50cd6da4..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/abortMultipartUpload.php +++ /dev/null @@ -1,27 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->abortMultipartUpload(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'UploadId' => 'string', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/blindWatermark.php b/vendor/qcloud/cos-sdk-v5/sample/blindWatermark.php deleted file mode 100644 index 2fc72534..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/blindWatermark.php +++ /dev/null @@ -1,32 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $blindWatermarkTemplate = new Qcloud\Cos\ImageParamTemplate\BlindWatermarkTemplate(); - $blindWatermarkTemplate->setImage("http://examplebucket-125000000.cos.ap-beijing.myqcloud.com/shuiyin.jpeg"); - $blindWatermarkTemplate->setType(2); - $blindWatermarkTemplate->setLevel(3); - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'ImageHandleParam' => $blindWatermarkTemplate->queryString(), - 'SaveAs' => '/data/exampleobject' - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/catchException.php b/vendor/qcloud/cos-sdk-v5/sample/catchException.php deleted file mode 100644 index b44e6f1f..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/catchException.php +++ /dev/null @@ -1,30 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketAcl(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - $statusCode = $e->getStatusCode(); // 获取错误码 - $errorMessage = $e->getMessage(); // 获取错误信息 - $requestId = $e->getRequestId(); // 获取错误的requestId - $errorCode = $e->getCosErrorCode(); // 获取错误名称 - $request = $e->getRequest(); // 获取完整的请求 - $response = $e->getResponse(); // 获取完整的响应 -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/ciTransformation.php b/vendor/qcloud/cos-sdk-v5/sample/ciTransformation.php deleted file mode 100644 index eece57ad..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/ciTransformation.php +++ /dev/null @@ -1,39 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $imageMogrTemplate = new Qcloud\Cos\ImageParamTemplate\ImageMogrTemplate(); - $imageMogrTemplate->thumbnailByScale(50); - $imageMogrTemplate->rotate(50); - $imageViewTemplate = new Qcloud\Cos\ImageParamTemplate\ImageViewTemplate(); - $imageViewTemplate->setMode(1); - $imageViewTemplate->setWidth(400); - $imageViewTemplate->setHeight(600); - $imageViewTemplate->setQuality(1, 85); - $ciParamTransformation = new Qcloud\Cos\ImageParamTemplate\CIParamTransformation(); - $ciParamTransformation->addRule($imageMogrTemplate); - $ciParamTransformation->addRule($imageViewTemplate); - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'ImageHandleParam' => $ciParamTransformation->queryString(), - 'SaveAs' => '/data/exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/completeMultipartUpload.php b/vendor/qcloud/cos-sdk-v5/sample/completeMultipartUpload.php deleted file mode 100644 index 35e0e04f..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/completeMultipartUpload.php +++ /dev/null @@ -1,37 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->completeMultipartUpload(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'UploadId' => 'string', - 'Parts' => array( - array( - 'ETag' => 'string', - 'PartNumber' => integer, - ), - array( - 'ETag' => 'string', - 'PartNumber' => integer, - )), - // ... repeated - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/copy.php b/vendor/qcloud/cos-sdk-v5/sample/copy.php deleted file mode 100644 index b0e1d6ae..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/copy.php +++ /dev/null @@ -1,32 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $result = $cosClient->copy( - $bucket = 'examplebucket-125000000', //格式:BucketName-APPID - $key = 'exampleobject', - $copySorce = array( - 'Region' => '', - 'Bucket' => '', - 'Key' => '', - ) - ); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/copyObject.php b/vendor/qcloud/cos-sdk-v5/sample/copyObject.php deleted file mode 100644 index 813fc46b..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/copyObject.php +++ /dev/null @@ -1,28 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->copyObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'CopySource' => 'examplebucket2-125000000.cos.ap-guangzhou.myqcloud.com/exampleobject', - 'MetadataDirective' => 'Replaced', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/cosClient.php b/vendor/qcloud/cos-sdk-v5/sample/cosClient.php deleted file mode 100644 index b1a965bf..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/cosClient.php +++ /dev/null @@ -1,30 +0,0 @@ - $region, //园区 - 'schema' => 'https', //协议头部,默认为http - 'timeout' => 10, //超时时间 - 'connect_timeout' => 10, //连接超时时间 - 'ip' => '', //ip - 'port' => '', //端口 - 'endpoint' => '', //endpoint - 'domain' => '', //自定义域名 - 'proxy' => '', //代理服务器 - 'retry' => 10, //重试次数 - 'userAgent' => '', //UA - 'allow_redirects' => false, //是否follow302 - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey, - 'token' => $token, - 'anonymous' => true, //匿名模式 - ) - ) -); diff --git a/vendor/qcloud/cos-sdk-v5/sample/createBucket.php b/vendor/qcloud/cos-sdk-v5/sample/createBucket.php deleted file mode 100644 index eafad495..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/createBucket.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->createBucket(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/createFolder.php b/vendor/qcloud/cos-sdk-v5/sample/createFolder.php deleted file mode 100644 index ccf3948a..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/createFolder.php +++ /dev/null @@ -1,27 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'folder/', - 'Body' => "", - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/createMultipartUpload.php b/vendor/qcloud/cos-sdk-v5/sample/createMultipartUpload.php deleted file mode 100644 index bedca7e3..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/createMultipartUpload.php +++ /dev/null @@ -1,39 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->createMultipartUpload(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - /* - 'CacheControl' => 'string', - 'ContentDisposition' => 'string', - 'ContentEncoding' => 'string', - 'ContentLanguage' => 'string', - 'ContentLength' => integer, - 'ContentType' => 'string', - 'Expires' => 'string', - 'Metadata' => array( - 'string' => 'string', - ), - 'StorageClass' => 'string' - */ - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucket.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucket.php deleted file mode 100644 index a3d1fc26..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucket.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteBucket(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketCors.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketCors.php deleted file mode 100644 index fc958e1a..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketCors.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteBucketCors(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketDomain.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketDomain.php deleted file mode 100644 index 5239fe6d..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketDomain.php +++ /dev/null @@ -1,24 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteBucketDomain(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketGuetzli.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketGuetzli.php deleted file mode 100644 index f165e70d..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketGuetzli.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->DeleteBucketGuetzli(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketImageStyle.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketImageStyle.php deleted file mode 100644 index cc4a2959..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketImageStyle.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->DeleteBucketImageStyle(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketLifecycle.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketLifecycle.php deleted file mode 100644 index dbe3183c..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketLifecycle.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteBucketLifecycle(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketTagging.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketTagging.php deleted file mode 100644 index 9341d2a5..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketTagging.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteBucketTagging(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketWebsite.php b/vendor/qcloud/cos-sdk-v5/sample/deleteBucketWebsite.php deleted file mode 100644 index a2b80141..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteBucketWebsite.php +++ /dev/null @@ -1,24 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteBucketWebsite(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteFolder.php b/vendor/qcloud/cos-sdk-v5/sample/deleteFolder.php deleted file mode 100644 index 61bec247..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteFolder.php +++ /dev/null @@ -1,48 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); - -$cos_path = "cos/folder"; -$nextMarker = ''; -$isTruncated = true; -while ( $isTruncated ) { - try { - $result = $cosClient->listObjects( - ['Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Delimiter' => '', - 'EncodingType' => 'url', - 'Marker' => $nextMarker, - 'Prefix' => $cos_path, - 'MaxKeys' => 1000] - ); - $isTruncated = $result['IsTruncated']; - $nextMarker = $result['NextMarker']; - foreach ( $result['Contents'] as $content ) { - $cos_file_path = $content['Key']; - $local_file_path = $content['Key']; - // 按照需求自定义拼接下载路径 - try { - $cosClient->deleteObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => $cos_file_path, - )); - echo ( $cos_file_path . "\n" ); - } catch ( \Exception $e ) { - echo( $e ); - } - } - } catch ( \Exception $e ) { - echo( $e ); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/deleteObject.php b/vendor/qcloud/cos-sdk-v5/sample/deleteObject.php deleted file mode 100644 index d89655e5..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/deleteObject.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->deleteObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/detectLable.php b/vendor/qcloud/cos-sdk-v5/sample/detectLable.php deleted file mode 100644 index da120c10..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/detectLable.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->DetectLabel(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/download.php b/vendor/qcloud/cos-sdk-v5/sample/download.php deleted file mode 100644 index 2a0b2081..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/download.php +++ /dev/null @@ -1,39 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; - -$printbar = function($totolSize, $downloadedSize) { - printf("downloaded [%d/%d]\n", $downloadedSize, $totolSize); -}; - -try { - $result = $cosClient->download( - $bucket = 'examplebucket-125000000', //格式:BucketName-APPID - $key = 'exampleobject', - $saveAs = $local_path, - $options=['Progress' => $printbar, //指定进度条 - 'PartSize' => 10 * 1024 * 1024, //分块大小 - 'Concurrency' => 5, //并发数 - 'ResumableDownload' => true, //是否开启断点续传,默认为false - 'ResumableTaskFile' => 'tmp.cosresumabletask' //断点文件信息路径,默认为.cosresumabletask - ] - ); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/downloadFolder.php b/vendor/qcloud/cos-sdk-v5/sample/downloadFolder.php deleted file mode 100644 index 0297ad14..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/downloadFolder.php +++ /dev/null @@ -1,55 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey - ) - ) -); -$cos_path = 'cos/folder'; -$nextMarker = ''; -$isTruncated = true; - -while ( $isTruncated ) { - try { - $result = $cosClient->listObjects( - ['Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Delimiter' => '', - 'EncodingType' => 'url', - 'Marker' => $nextMarker, - 'Prefix' => $cos_path, - 'MaxKeys' => 1000] - ); - } catch ( \Exception $e ) { - echo( $e ); - } - $isTruncated = $result['IsTruncated']; - $nextMarker = $result['NextMarker']; - foreach ( $result['Contents'] as $content ) { - $cos_file_path = $content['Key']; - $local_file_path = $content['Key']; - // 按照需求自定义拼接下载路径 - try { - $result = $cosClient->download( - $bucket = 'examplebucket-125000000', //格式:BucketName-APPID - $key = $cos_file_path, - $saveAs = $local_file_path - ); - echo ( $cos_file_path . "\n" ); - } catch ( \Exception $e ) { - echo( $e ); - } - } -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBlindWatermark.php b/vendor/qcloud/cos-sdk-v5/sample/getBlindWatermark.php deleted file mode 100644 index 01a54bbd..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBlindWatermark.php +++ /dev/null @@ -1,36 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $blindWatermarkTemplate = new Qcloud\Cos\ImageParamTemplate\BlindWatermarkTemplate(); - $blindWatermarkTemplate->setPick(); - $blindWatermarkTemplate->setImage("http://examplebucket-125000000.cos.ap-beijing.myqcloud.com/shuiyin.jpeg"); - $blindWatermarkTemplate->setType(2); - $picOperationsTemplate = new Qcloud\Cos\ImageParamTemplate\PicOperationsTransformation(); - $picOperationsTemplate->setIsPicInfo(1); - $picOperationsTemplate->addRule($blindWatermarkTemplate, "resultobject"); - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => fopen($local_path, 'rb'), - 'PicOperations' => $picOperationsTemplate->queryString(), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketAcl.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketAcl.php deleted file mode 100644 index 997c56f0..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketAcl.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketAcl(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketCors.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketCors.php deleted file mode 100644 index 55b347f9..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketCors.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketCors(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketDomain.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketDomain.php deleted file mode 100644 index 72caf276..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketDomain.php +++ /dev/null @@ -1,24 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketDomain(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketGuetzli.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketGuetzli.php deleted file mode 100644 index b1f53956..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketGuetzli.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->GetBucketGuetzli(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketImageStyle.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketImageStyle.php deleted file mode 100644 index bb479178..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketImageStyle.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->GetBucketImageStyle(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'StyleName' => 'stylename', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketInventory.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketInventory.php deleted file mode 100644 index f76f47fb..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketInventory.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketInvnetory(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Id' => 'string', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketLifecycle.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketLifecycle.php deleted file mode 100644 index aef6702c..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketLifecycle.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketLifecycle(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketLogging.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketLogging.php deleted file mode 100644 index 1bea1807..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketLogging.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketLogging(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketTagging.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketTagging.php deleted file mode 100644 index 344d253d..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketTagging.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketTagging(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getBucketWebsite.php b/vendor/qcloud/cos-sdk-v5/sample/getBucketWebsite.php deleted file mode 100644 index 3e5d76dc..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getBucketWebsite.php +++ /dev/null @@ -1,24 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getBucketWebsite(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/getObject.php b/vendor/qcloud/cos-sdk-v5/sample/getObject.php deleted file mode 100644 index cbc0da7f..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getObject.php +++ /dev/null @@ -1,36 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'SaveAs' => '/data/exampleobject', - /* - 'Range' => 'bytes=0-10', - 'ResponseCacheControl' => 'string', - 'ResponseContentDisposition' => 'string', - 'ResponseContentEncoding' => 'string', - 'ResponseContentLanguage' => 'string', - 'ResponseContentType' => 'string', - 'ResponseExpires' => 'string', - */ - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getObjectUrl.php b/vendor/qcloud/cos-sdk-v5/sample/getObjectUrl.php deleted file mode 100644 index 656ffbde..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getObjectUrl.php +++ /dev/null @@ -1,41 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials' => array( - 'secretId' => $secretId, - 'secretKey' => $secretKey - ) - ) -); -$local_path = "/data/exampleobject"; - -try { - $bucket = "examplebucket-1250000000"; //存储桶,格式:BucketName-APPID - $key = "exampleobject"; //对象在存储桶中的位置,即对象键 - $signedUrl = $cosClient->getObjectUrl( - $bucket, - $key, - '+10 minutes', //签名的有效时间 - [ - 'ResponseContentDisposition' => '111', - 'Params' => [ // Params中可以传自定义querystring - 'aaa' => 'bbb', - 'ccc' => 'ddd' - ] - ] - ); - // 请求成功 - echo $signedUrl; -} catch (\Exception $e) { - // 请求失败 - print_r($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/getPresignedUrl.php b/vendor/qcloud/cos-sdk-v5/sample/getPresignedUrl.php deleted file mode 100644 index 2a507ecb..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/getPresignedUrl.php +++ /dev/null @@ -1,29 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $signedUrl = $cosClient->getPresignedUrl( - $method='putObject', - $args=['Bucket'=>'examplebucket-1250000000', //格式:BucketName-APPID - 'Key'=>'exampleobject', - 'Body'=>''], - $expires='+30 minutes"'); - // 请求成功 - echo($signedUrl); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/headBucket.php b/vendor/qcloud/cos-sdk-v5/sample/headBucket.php deleted file mode 100644 index 2f8d0c77..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/headBucket.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->headBucket(array( - 'Bucket' => 'examplebucket-125000000' //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/headObject.php b/vendor/qcloud/cos-sdk-v5/sample/headObject.php deleted file mode 100644 index 0d6ba2b5..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/headObject.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->headObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageAve.php b/vendor/qcloud/cos-sdk-v5/sample/imageAve.php deleted file mode 100644 index 3227e1ee..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageAve.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->ImageAve(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageExif.php b/vendor/qcloud/cos-sdk-v5/sample/imageExif.php deleted file mode 100644 index 877aae7b..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageExif.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->ImageExif(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageInfo.php b/vendor/qcloud/cos-sdk-v5/sample/imageInfo.php deleted file mode 100644 index 11780837..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageInfo.php +++ /dev/null @@ -1,26 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->ImageInfo(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageMogr.php b/vendor/qcloud/cos-sdk-v5/sample/imageMogr.php deleted file mode 100644 index 5b60d2fd..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageMogr.php +++ /dev/null @@ -1,31 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $imageMogrTemplate = new Qcloud\Cos\ImageParamTemplate\ImageMogrTemplate(); - $imageMogrTemplate->thumbnailByScale(50); - $imageMogrTemplate->rotate(50); - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'ImageHandleParam' => $imageMogrTemplate->queryString(), - 'SaveAs' => '/data/exampleobject', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageProcess.php b/vendor/qcloud/cos-sdk-v5/sample/imageProcess.php deleted file mode 100644 index 7b231713..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageProcess.php +++ /dev/null @@ -1,32 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $imageMogrTemplate = new Qcloud\Cos\ImageParamTemplate\ImageMogrTemplate(); - $imageMogrTemplate->thumbnailByScale(50); - $picOperationsTemplate = new Qcloud\Cos\ImageParamTemplate\PicOperationsTransformation(); - $picOperationsTemplate->setIsPicInfo(1); - $picOperationsTemplate->addRule($imageMogrTemplate, "resultobject"); - $result = $cosClient->ImageProcess(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'PicOperations' => $picOperationsTemplate->queryString(), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageView.php b/vendor/qcloud/cos-sdk-v5/sample/imageView.php deleted file mode 100644 index 1bf41b54..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageView.php +++ /dev/null @@ -1,33 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $imageViewTemplate = new Qcloud\Cos\ImageParamTemplate\ImageViewTemplate(); - $imageViewTemplate->setMode(1); - $imageViewTemplate->setWidth(400); - $imageViewTemplate->setHeight(600); - $imageViewTemplate->setQuality(1, 85); - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'ImageHandleParam' => $imageViewTemplate->queryString(), - 'SaveAs' => '/data/exampleobject' - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/imageWatermark.php b/vendor/qcloud/cos-sdk-v5/sample/imageWatermark.php deleted file mode 100644 index f921f506..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/imageWatermark.php +++ /dev/null @@ -1,34 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $imageWatermarkTemplate = new Qcloud\Cos\ImageParamTemplate\ImageWatermarkTemplate(); - $imageWatermarkTemplate->setImage("http://examplebucket-125000000.cos.ap-beijing.myqcloud.com/shuiyin.jpeg"); - $imageWatermarkTemplate->setGravity('center'); - $imageWatermarkTemplate->setDx(10); - $imageWatermarkTemplate->setDy(10); - $imageWatermarkTemplate->setSpcent(100); - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'ImageHandleParam' => $imageWatermarkTemplate->queryString(), - 'SaveAs' => '/data/exampleobject' - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/listBucket.php b/vendor/qcloud/cos-sdk-v5/sample/listBucket.php deleted file mode 100644 index 6dfcf9a6..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/listBucket.php +++ /dev/null @@ -1,24 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); - -try { - $result = $cosClient->listBuckets(); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/listMultipartUploads.php b/vendor/qcloud/cos-sdk-v5/sample/listMultipartUploads.php deleted file mode 100644 index 35c81008..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/listMultipartUploads.php +++ /dev/null @@ -1,31 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->listMultipartUploads(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Delimiter' => '/', - 'EncodingType' => 'url', - 'KeyMarker' => 'string', - 'UploadIdMarker' => 'string', - 'Prefix' => 'prfix', - 'MaxUploads' => 1000, - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/listObjects.php b/vendor/qcloud/cos-sdk-v5/sample/listObjects.php deleted file mode 100644 index 6a4f2a11..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/listObjects.php +++ /dev/null @@ -1,30 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->listObjects(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Delimiter' => '/', - 'EncodingType' => 'url', - 'Marker' => 'prefix/picture.jpg', - 'Prefix' => 'prfix', - 'MaxKeys' => 1000, - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/listParts.php b/vendor/qcloud/cos-sdk-v5/sample/listParts.php deleted file mode 100644 index 6b18478d..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/listParts.php +++ /dev/null @@ -1,29 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->listParts(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'UploadId' => 'NWNhNDY0YzFfMmZiNTM1MGFfNTM2YV8xYjliMTg', - 'PartNumberMarker' => 1, - 'MaxParts' => 1000, - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/picOperations.php b/vendor/qcloud/cos-sdk-v5/sample/picOperations.php deleted file mode 100644 index be7b03e4..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/picOperations.php +++ /dev/null @@ -1,34 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $imageMogrTemplate = new Qcloud\Cos\ImageParamTemplate\ImageMogrTemplate(); - $imageMogrTemplate->thumbnailByScale(50); - $picOperationsTemplate = new Qcloud\Cos\ImageParamTemplate\PicOperationsTransformation(); - $picOperationsTemplate->setIsPicInfo(0); - $picOperationsTemplate->addRule($imageMogrTemplate, "resultobject"); - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => fopen($local_path, 'rb'), - 'PicOperations' => $picOperationsTemplate->queryString(), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBlindWatermark.php b/vendor/qcloud/cos-sdk-v5/sample/putBlindWatermark.php deleted file mode 100644 index d5f9e0f0..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBlindWatermark.php +++ /dev/null @@ -1,35 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $blindWatermarkTemplate = new Qcloud\Cos\ImageParamTemplate\BlindWatermarkTemplate(); - $blindWatermarkTemplate->setText("Test"); - $blindWatermarkTemplate->setType(3); - $picOperationsTemplate = new Qcloud\Cos\ImageParamTemplate\PicOperationsTransformation(); - $picOperationsTemplate->setIsPicInfo(1); - $picOperationsTemplate->addRule($blindWatermarkTemplate, "resultobject"); - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => fopen($local_path, 'rb'), - 'PicOperations' => $picOperationsTemplate->queryString(), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketAcl.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketAcl.php deleted file mode 100644 index c5b475fc..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketAcl.php +++ /dev/null @@ -1,41 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketAcl(array( - //bucket的命名规则为{name}-{appid} ,此处填写的存储桶名称必须为此格式 - 'Bucket' => 'examplebucket-125000000', - 'ACL' => 'private', - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::uin/100000000001:uin/100000000001', - 'ID' => 'qcs::cam::uin/100000000001:uin/100000000001', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - // ... repeated - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/3210232098:uin/3210232098', - 'ID' => 'qcs::cam::uin/3210232098:uin/3210232098', - ))); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketCors.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketCors.php deleted file mode 100644 index 375077bf..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketCors.php +++ /dev/null @@ -1,33 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketCors(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'CORSRules' => array( - array( - 'ID' => '1234', - 'AllowedHeaders' => array('*'), - 'AllowedMethods' => array('PUT'), - 'AllowedOrigins' => array('http://www.qq.com'), - ), - ), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketDomain.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketDomain.php deleted file mode 100644 index 480e3206..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketDomain.php +++ /dev/null @@ -1,33 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketDomain(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'DomainRules' => array( - array( - 'Name' => 'www.qq.com', - 'Status' => 'ENABLED', - 'Type' => 'REST', - 'ForcedReplacement' => 'CNAME', - ), - // ... repeated - ), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketGuetzli.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketGuetzli.php deleted file mode 100644 index d0bd12a9..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketGuetzli.php +++ /dev/null @@ -1,25 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->PutBucketGuetzli(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketImageStyle.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketImageStyle.php deleted file mode 100644 index 9fbb6717..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketImageStyle.php +++ /dev/null @@ -1,27 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->PutBucketImageStyle(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'StyleName' => 'stylename', - 'StyleBody' => 'imageMogr2/thumbnail/!50px', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketInventory.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketInventory.php deleted file mode 100644 index 7b0eb2ec..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketInventory.php +++ /dev/null @@ -1,46 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketInventory(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Id' => 'string', - 'Destination' => array( - 'COSBucketDestination'=>array( - 'Format' => 'CSV', - 'AccountId' => '125000000', - 'Bucket' => 'qcs::cos:ap-chengdu::examplebucket-125000000', - 'Prefix' => 'string', - ) - ), - 'IsEnabled' => 'True', - 'Schedule' => array( - 'Frequency' => 'Daily', - ), - 'Filter' => array( - 'Prefix' => 'string', - ), - 'IncludedObjectVersions' => 'Current', - 'OptionalFields' => array( - 'Size', - 'ETag', - ) - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketLifecycle.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketLifecycle.php deleted file mode 100644 index 96cad2ae..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketLifecycle.php +++ /dev/null @@ -1,45 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketLifecycle(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Rules' => array( - array( - 'Expiration' => array( - 'Days' => integer, - ), - 'ID' => 'string', - 'Filter' => array( - 'Prefix' => 'string' - ), - 'Status' => 'string', - 'Transitions' => array( - array( - 'Days' => integer, - 'StorageClass' => 'string' - ), - // ... repeated - ), - ), - // ... repeated - ) - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketLogging.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketLogging.php deleted file mode 100644 index cc6911f2..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketLogging.php +++ /dev/null @@ -1,29 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketLogging(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'LoggingEnabled' => array( - 'TargetBucket' => 'examplebucket2-125000000', //格式:BucketName-APPID - 'TargetPrefix' => '', - ) - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketTagging.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketTagging.php deleted file mode 100644 index 06cb9eb7..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketTagging.php +++ /dev/null @@ -1,33 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->putBucketTagging(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'TagSet' => array( - array('Key'=>'key1', - 'Value'=>'value1', - ), - array('Key'=>'key2', - 'Value'=>'value2', - ), - ), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putBucketWebsite.php b/vendor/qcloud/cos-sdk-v5/sample/putBucketWebsite.php deleted file mode 100644 index 34421dec..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putBucketWebsite.php +++ /dev/null @@ -1,46 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); - -try { - $result = $cosClient->putBucketWebsite(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'IndexDocument' => array( - 'Suffix' => 'index.html', - ), - 'RedirectAllRequestsTo' => array( - 'Protocol' => 'https', - ), - 'ErrorDocument' => array( - 'Key' => 'Error.html', - ), - 'RoutingRules' => array( - array( - 'Condition' => array( - 'HttpErrorCodeReturnedEquals' => '405', - ), - 'Redirect' => array( - 'Protocol' => 'https', - 'ReplaceKeyWith' => '404.html', - ), - ), - // ... repeated - ), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo "$e\n"; -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/putImageStyle.php b/vendor/qcloud/cos-sdk-v5/sample/putImageStyle.php deleted file mode 100644 index 90b4b017..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putImageStyle.php +++ /dev/null @@ -1,34 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $imageStyleTemplate = new Qcloud\Cos\ImageParamTemplate\ImageStyleTemplate(); - $imageStyleTemplate->setStyle("stylename"); - $picOperationsTemplate = new \Qcloud\Cos\ImageParamTemplate\PicOperationsTransformation(); - $picOperationsTemplate->setIsPicInfo(1); - $picOperationsTemplate->addRule($imageStyleTemplate, "resultobject"); - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => fopen($local_path, 'rb'), - 'PicOperations' => $picOperationsTemplate->queryString(), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putObject.php b/vendor/qcloud/cos-sdk-v5/sample/putObject.php deleted file mode 100644 index b97c5d03..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putObject.php +++ /dev/null @@ -1,41 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => fopen($local_path, 'rb'), - /* - 'CacheControl' => 'string', - 'ContentDisposition' => 'string', - 'ContentEncoding' => 'string', - 'ContentLanguage' => 'string', - 'ContentLength' => integer, - 'ContentType' => 'string', - 'Expires' => 'string', - 'Metadata' => array( - 'string' => 'string', - ), - 'StorageClass' => 'string' - */ - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/putQrcode.php b/vendor/qcloud/cos-sdk-v5/sample/putQrcode.php deleted file mode 100644 index 11147b89..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/putQrcode.php +++ /dev/null @@ -1,34 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; -try { - $imageQrcodeTemplate = new Qcloud\Cos\ImageParamTemplate\ImageQrcodeTemplate(); - $imageQrcodeTemplate->setMode(0); - $picOperationsTemplate = new Qcloud\Cos\ImageParamTemplate\PicOperationsTransformation(); - $picOperationsTemplate->setIsPicInfo(1); - $picOperationsTemplate->addRule($imageQrcodeTemplate, "resultobject"); - $result = $cosClient->putObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => fopen($local_path, 'rb'), - 'PicOperations' => $picOperationsTemplate->queryString(), - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/qrcode.php b/vendor/qcloud/cos-sdk-v5/sample/qrcode.php deleted file mode 100644 index 58431195..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/qrcode.php +++ /dev/null @@ -1,27 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->Qrcode(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Cover' => 0, - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/qrcodeGenerate.php b/vendor/qcloud/cos-sdk-v5/sample/qrcodeGenerate.php deleted file mode 100644 index 94c8b0cd..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/qrcodeGenerate.php +++ /dev/null @@ -1,28 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->QrcodeGenerate(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'QrcodeContent' => '', - 'QrcodeMode' => 0, - 'QrcodeWidth' => '200', - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/restoreObject.php b/vendor/qcloud/cos-sdk-v5/sample/restoreObject.php deleted file mode 100644 index ce819549..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/restoreObject.php +++ /dev/null @@ -1,30 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->restoreObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Days' => integer, - 'CASJobParameters' => array( - 'Tier' =>'string' - ) - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/selectObjectContent.php b/vendor/qcloud/cos-sdk-v5/sample/selectObjectContent.php deleted file mode 100644 index e5e79946..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/selectObjectContent.php +++ /dev/null @@ -1,85 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey - ) -)); -try { - $result = $cosClient->selectObjectContent(array( - 'Bucket' => $bucket, //格式:BucketName-APPID - 'Key' => $key, - 'Expression' => 'Select * from COSObject s', - 'ExpressionType' => 'SQL', - 'InputSerialization' => array( - 'CompressionType' => 'None', - 'CSV' => array( - 'FileHeaderInfo' => 'NONE', - 'RecordDelimiter' => '\n', - 'FieldDelimiter' => ',', - 'QuoteEscapeCharacter' => '"', - 'Comments' => '#', - 'AllowQuotedRecordDelimiter' => 'FALSE' - ) - ), - 'OutputSerialization' => array( - 'CSV' => array( - 'QuoteField' => 'ASNEEDED', - 'RecordDelimiter' => '\n', - 'FieldDelimiter' => ',', - 'QuoteCharacter' => '"', - 'QuoteEscapeCharacter' => '"' - ) - ), - 'RequestProgress' => array( - 'Enabled' => 'FALSE' - ) - )); - // 请求成功 - foreach ($result['Data'] as $data) { - // 迭代遍历select结果 - print_r($data); - } -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - -try { - $result = $cosClient->selectObjectContent(array( - 'Bucket' => $bucket, //格式:BucketName-APPID - 'Key' => $key, - 'Expression' => 'Select * from COSObject s', - 'ExpressionType' => 'SQL', - 'InputSerialization' => array( - 'CompressionType' => 'None', - 'JSON' => array( - 'Type' => 'DOCUMENT' - ) - ), - 'OutputSerialization' => array( - 'JSON' => array( - 'RecordDelimiter' => '\n', - ) - ), - 'RequestProgress' => array( - 'Enabled' => 'FALSE' - ) - )); - // 请求成功 - foreach ($result['Data'] as $data) { - // 迭代遍历select结果 - print_r($data); - } -} catch (\Exception $e) { - // 请求失败 - echo($e); -} diff --git a/vendor/qcloud/cos-sdk-v5/sample/textWatermark.php b/vendor/qcloud/cos-sdk-v5/sample/textWatermark.php deleted file mode 100644 index 83622ea5..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/textWatermark.php +++ /dev/null @@ -1,32 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $textWatermarkTemplate = new Qcloud\Cos\ImageParamTemplate\TextWatermarkTemplate(); - $textWatermarkTemplate->setText("testetst"); - $textWatermarkTemplate->setGravity('center'); - $textWatermarkTemplate->setFontsize(30); - $result = $cosClient->getObject(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'ImageHandleParam' => $textWatermarkTemplate->queryString(), - 'SaveAs' => '/data/exampleobject' - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/upload.php b/vendor/qcloud/cos-sdk-v5/sample/upload.php deleted file mode 100644 index 7ef439fb..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/upload.php +++ /dev/null @@ -1,57 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -$local_path = "/data/exampleobject"; - -$printbar = function($totolSize, $uploadedSize) { - printf("uploaded [%d/%d]\n", $uploadedSize, $totolSize); -}; - -try { - $result = $cosClient->upload( - $bucket = 'examplebucket-125000000', //格式:BucketName-APPID - $key = 'exampleobject', - $body = fopen($local_path, 'rb') - /* - $options = array( - 'ACL' => 'string', - 'CacheControl' => 'string', - 'ContentDisposition' => 'string', - 'ContentEncoding' => 'string', - 'ContentLanguage' => 'string', - 'ContentLength' => integer, - 'ContentType' => 'string', - 'Expires' => 'string', - 'GrantFullControl' => 'string', - 'GrantRead' => 'string', - 'GrantWrite' => 'string', - 'Metadata' => array( - 'string' => 'string', - ), - 'ContentMD5' => 'string', - 'ServerSideEncryption' => 'string', - 'StorageClass' => 'string', //存储类型 - 'Progress' => $printbar, //指定进度条 - 'PartSize' => 10 * 1024 * 1024, //分块大小 - 'Concurrency' => 5 //并发数 - ) - */ - ); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/sample/uploadFolder.php b/vendor/qcloud/cos-sdk-v5/sample/uploadFolder.php deleted file mode 100644 index 6b93925b..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/uploadFolder.php +++ /dev/null @@ -1,45 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey - ) - ) -); - -function uploadfiles( $path, $cosClient ) { - foreach ( scandir( $path ) as $afile ) { - if ( $afile == '.' || $afile == '..' ) continue; - if ( is_dir( $path.'/'.$afile ) ) { - uploadfiles( $path.'/'.$afile, $cosClient ); - } else { - $local_file_path = $path.'/'.$afile; - $cos_file_path = $local_file_path; - // 按照需求自定义拼接上传路径 - try { - $cosClient->upload( - $bucket = 'examplebucket-125000000', //格式:BucketName-APPID - $key = $cos_file_path, - $body = fopen( $cos_file_path, 'rb' ) - ); - } catch ( \Exception $e ) { - echo( $e ); - } - } - } -} - -$local_path = '/data/home/folder'; -uploadfiles( $local_path, $cosClient ); \ No newline at end of file diff --git a/vendor/qcloud/cos-sdk-v5/sample/uploadPart.php b/vendor/qcloud/cos-sdk-v5/sample/uploadPart.php deleted file mode 100644 index d2558070..00000000 --- a/vendor/qcloud/cos-sdk-v5/sample/uploadPart.php +++ /dev/null @@ -1,31 +0,0 @@ - $region, - 'schema' => 'https', //协议头部,默认为http - 'credentials'=> array( - 'secretId' => $secretId , - 'secretKey' => $secretKey))); -try { - $result = $cosClient->uploadPart(array( - 'Bucket' => 'examplebucket-125000000', //格式:BucketName-APPID - 'Key' => 'exampleobject', - 'Body' => 'string', - 'UploadId' => 'NWNhNDY0YzFfMmZiNTM1MGFfNTM2YV8xYjliMTg', - 'PartNumber' => 1, - 'ContentMD5' => 'string', - 'ContentLength' => 100, - )); - // 请求成功 - print_r($result); -} catch (\Exception $e) { - // 请求失败 - echo($e); -} - diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Client.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Client.php deleted file mode 100644 index cacbcdaa..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Client.php +++ /dev/null @@ -1,429 +0,0 @@ -rawCosConfig = $cosConfig; - $this->cosConfig['schema'] = isset($cosConfig['schema']) ? $cosConfig['schema'] : 'http'; - $this->cosConfig['region'] = region_map($cosConfig['region']); - $this->cosConfig['appId'] = isset($cosConfig['credentials']['appId']) ? $cosConfig['credentials']['appId'] : null; - $this->cosConfig['secretId'] = isset($cosConfig['credentials']['secretId']) ? $cosConfig['credentials']['secretId'] : ""; - $this->cosConfig['secretKey'] = isset($cosConfig['credentials']['secretKey']) ? $cosConfig['credentials']['secretKey'] : ""; - $this->cosConfig['anonymous'] = isset($cosConfig['credentials']['anonymous']) ? $cosConfig['anonymous']['anonymous'] : false; - $this->cosConfig['token'] = isset($cosConfig['credentials']['token']) ? $cosConfig['credentials']['token'] : null; - $this->cosConfig['timeout'] = isset($cosConfig['timeout']) ? $cosConfig['timeout'] : 3600; - $this->cosConfig['connect_timeout'] = isset($cosConfig['connect_timeout']) ? $cosConfig['connect_timeout'] : 3600; - $this->cosConfig['ip'] = isset($cosConfig['ip']) ? $cosConfig['ip'] : null; - $this->cosConfig['port'] = isset($cosConfig['port']) ? $cosConfig['port'] : null; - $this->cosConfig['endpoint'] = isset($cosConfig['endpoint']) ? $cosConfig['endpoint'] : null; - $this->cosConfig['domain'] = isset($cosConfig['domain']) ? $cosConfig['domain'] : null; - $this->cosConfig['proxy'] = isset($cosConfig['proxy']) ? $cosConfig['proxy'] : null; - $this->cosConfig['retry'] = isset($cosConfig['retry']) ? $cosConfig['retry'] : 1; - $this->cosConfig['userAgent'] = isset($cosConfig['userAgent']) ? $cosConfig['userAgent'] : 'cos-php-sdk-v5.'. Client::VERSION; - $this->cosConfig['pathStyle'] = isset($cosConfig['pathStyle']) ? $cosConfig['pathStyle'] : false; - $this->cosConfig['allow_redirects'] = isset($cosConfig['allow_redirects']) ? $cosConfig['allow_redirects'] : false; - - $service = Service::getService(); - $handler = HandlerStack::create(); - $handler->push(Middleware::retry($this->retryDecide(), $this->retryDelay())); - $handler->push(Middleware::mapRequest(function (RequestInterface $request) { - return $request->withHeader('User-Agent', $this->cosConfig['userAgent']); - })); - if ($this->cosConfig['anonymous'] != true) { - $handler->push($this::handleSignature($this->cosConfig['secretId'], $this->cosConfig['secretKey'])); - } - if ($this->cosConfig['token'] != null) { - $handler->push(Middleware::mapRequest(function (RequestInterface $request) { - return $request->withHeader('x-cos-security-token', $this->cosConfig['token']); - })); - } - $handler->push($this::handleErrors()); - $this->signature = new Signature($this->cosConfig['secretId'], $this->cosConfig['secretKey'], $this->cosConfig['token']); - $this->httpClient = new HttpClient([ - 'base_uri' => $this->cosConfig['schema'].'://cos.' . $this->cosConfig['region'] . '.myqcloud.com/', - 'timeout' => $this->cosConfig['timeout'], - 'handler' => $handler, - 'proxy' => $this->cosConfig['proxy'], - 'allow_redirects' => $this->cosConfig['allow_redirects'] - ]); - $this->desc = new Description($service); - $this->api = (array)($this->desc->getOperations()); - parent::__construct($this->httpClient, $this->desc, [$this, - 'commandToRequestTransformer'], [$this, 'responseToResultTransformer'], - null); - } - public function retryDecide() { - return function ( - $retries, - RequestInterface $request, - ResponseInterface $response = null, - \Exception $exception = null - ) { - if ($retries >= $this->cosConfig['retry']) { - return false; - } - if ($response != null && $response->getStatusCode() >= 400 ) { - return true; - } - if ($exception instanceof \Qcloud\Cos\Exception\ServiceResponseException) { - if ($exception->getStatusCode() >= 400) { - return true; - } - } - - if ($exception instanceof ConnectException) { - return true; - } - - return false; - }; - } - - public function retryDelay() { - return function ($numberOfRetries) { - return 1000 * $numberOfRetries; - }; - } - public function commandToRequestTransformer(CommandInterface $command) - { - $this->action = $command->GetName(); - $this->operation = $this->api[$this->action]; - $transformer = new CommandToRequestTransformer($this->cosConfig, $this->operation); - $seri = new Serializer($this->desc); - $request = $seri($command); - $request = $transformer->bucketStyleTransformer($command, $request); - $request = $transformer->uploadBodyTransformer($command, $request); - $request = $transformer->metadataTransformer($command, $request); - $request = $transformer->queryStringTransformer($command, $request); - $request = $transformer->md5Transformer($command, $request); - $request = $transformer->specialParamTransformer($command, $request); - $request = $transformer->ciParamTransformer($command, $request); - return $request; - } - - public function responseToResultTransformer(ResponseInterface $response, RequestInterface $request, CommandInterface $command) - { - $transformer = new ResultTransformer($this->cosConfig, $this->operation); - $transformer->writeDataToLocal($command, $request, $response); - $deseri = new Deserializer($this->desc, true); - $result = $deseri($response, $request, $command); - - $result = $transformer->metaDataTransformer($command, $response, $result); - $result = $transformer->extraHeadersTransformer($command, $request, $result); - $result = $transformer->selectContentTransformer($command, $result); - $result = $transformer->ciContentInfoTransformer($command, $result); - return $result; - } - - public function __destruct() { - } - - public function __call($method, array $args) { - try { - $rt = parent::__call(ucfirst($method), $args); - return $rt; - } catch (\Exception $e) { - $previous = $e->getPrevious(); - if ($previous !== null) { - throw $previous; - } else { - throw $e; - } - } - } - - public function getApi() { - return $this->api; - } - - private function getCosConfig() { - return $this->cosConfig; - } - - private function createPresignedUrl(RequestInterface $request, $expires) { - return $this->signature->createPresignedUrl($request, $expires); - } - - public function getPresignetUrl($method, $args, $expires = "+30 minutes") { - return $this->getPresignedUrl($method, $args, $expires); - } - - public function getPresignedUrl($method, $args, $expires = "+30 minutes") { - $command = $this->getCommand($method, $args); - $request = $this->commandToRequestTransformer($command); - return $this->createPresignedUrl($request, $expires); - } - - - public function getObjectUrl($bucket, $key, $expires = "+30 minutes", array $args = array()) { - $command = $this->getCommand('GetObject', $args + array('Bucket' => $bucket, 'Key' => $key)); - $request = $this->commandToRequestTransformer($command); - return $this->createPresignedUrl($request, $expires)->__toString(); - } - - public function upload($bucket, $key, $body, $options = array()) { - $body = Psr7\stream_for($body); - $options['Retry'] = $this->cosConfig['retry']; - $options['PartSize'] = isset($options['PartSize']) ? $options['PartSize'] : MultipartUpload::DEFAULT_PART_SIZE; - if ($body->getSize() < $options['PartSize']) { - $rt = $this->putObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'Body' => $body, - ) + $options); - } - else { - $multipartUpload = new MultipartUpload($this, $body, array( - 'Bucket' => $bucket, - 'Key' => $key, - ) + $options); - - $rt = $multipartUpload->performUploading(); - } - return $rt; - } - - public function download($bucket, $key, $saveAs, $options = array()) { - $options['PartSize'] = isset($options['PartSize']) ? $options['PartSize'] : RangeDownload::DEFAULT_PART_SIZE; - $contentLength = 0; - $versionId = isset($options['VersionId']) ? $options['VersionId'] : ""; - try { - $rt = $this->headObject(array( - 'Bucket'=>$bucket, - 'Key'=>$key, - 'VersionId'=>$versionId, - ) - ); - $contentLength = $rt['ContentLength']; - $resumableJson = [ - 'LastModified' => $rt['LastModified'], - 'ContentLength' => $rt['ContentLength'], - 'ETag' => $rt['ETag'], - 'Crc64ecma' => $rt['Crc64ecma'] - ]; - $options['ResumableJson'] = $resumableJson; - } catch (\Exception $e) { - throw ($e); - } - if ($contentLength < $options['PartSize']) { - $rt = $this->getObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'SaveAs' => $saveAs, - ) + $options); - } else { - $rangeDownload = new RangeDownload($this, $contentLength, $saveAs, array( - 'Bucket' => $bucket, - 'Key' => $key, - ) + $options); - - $rt = $rangeDownload->performDownloading(); - } - return $rt; - } - - public function resumeUpload($bucket, $key, $body, $uploadId, $options = array()) { - $body = Psr7\stream_for($body); - $options['PartSize'] = isset($options['PartSize']) ? $options['PartSize'] : MultipartUpload::DEFAULT_PART_SIZE; - $multipartUpload = new MultipartUpload($this, $body, array( - 'Bucket' => $bucket, - 'Key' => $key, - 'UploadId' => $uploadId, - ) + $options); - - $rt = $multipartUpload->resumeUploading(); - return $rt; - } - - public function copy($bucket, $key, $copySource, $options = array()) { - - $options['PartSize'] = isset($options['PartSize']) ? $options['PartSize'] : Copy::DEFAULT_PART_SIZE; - - // set copysource client - $sourceConfig = $this->rawCosConfig; - $sourceConfig['region'] = $copySource['Region']; - $cosSourceClient = new Client($sourceConfig); - $copySource['VersionId'] = isset($copySource['VersionId']) ? $copySource['VersionId'] : ""; - try { - $rt = $cosSourceClient->headObject( - array('Bucket'=>$copySource['Bucket'], - 'Key'=>$copySource['Key'], - 'VersionId'=>$copySource['VersionId'], - ) - ); - } catch (\Exception $e) { - throw $e; - } - - $contentLength =$rt['ContentLength']; - // sample copy - if ($contentLength < $options['PartSize']) { - $rt = $this->copyObject(array( - 'Bucket' => $bucket, - 'Key' => $key, - 'CopySource' => $copySource['Bucket']. '.cos.'. $copySource['Region']. - ".myqcloud.com/". $copySource['Key']. "?versionId=". $copySource['VersionId'], - ) + $options - ); - return $rt; - } - // multi part copy - $copySource['ContentLength'] = $contentLength; - $copy = new Copy($this, $copySource, array( - 'Bucket' => $bucket, - 'Key' => $key - ) + $options - ); - return $copy->copy(); - } - - public function doesBucketExist($bucket, array $options = array()) - { - try { - $this->HeadBucket(array( - 'Bucket' => $bucket)); - return True; - } catch (\Exception $e){ - return False; - } - } - - public function doesObjectExist($bucket, $key, array $options = array()) - { - try { - $this->HeadObject(array( - 'Bucket' => $bucket, - 'Key' => $key)); - return True; - } catch (\Exception $e){ - return False; - } - } - - public static function explodeKey($key) { - // Remove a leading slash if one is found - $split_key = explode('/', $key && $key[0] == '/' ? substr($key, 1) : $key); - // Remove empty element - $split_key = array_filter($split_key, function($var) { - return !($var == '' || $var == null); - }); - $final_key = implode("/", $split_key); - if (substr($key, -1) == '/') { - $final_key = $final_key . '/'; - } - return $final_key; - } - - - public static function handleSignature($secretId, $secretKey) { - return function (callable $handler) use ($secretId, $secretKey) { - return new SignatureMiddleware($handler, $secretId, $secretKey); - }; - } - - public static function handleErrors() { - return function (callable $handler) { - return new ExceptionMiddleware($handler); - }; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/CommandToRequestTransformer.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/CommandToRequestTransformer.php deleted file mode 100644 index debe4a66..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/CommandToRequestTransformer.php +++ /dev/null @@ -1,219 +0,0 @@ -config = $config; - $this->operation = $operation; - } - - // format bucket style - - public function bucketStyleTransformer( CommandInterface $command, RequestInterface $request ) { - $action = $command->getName(); - if ($action == 'ListBuckets') { - $uri = "service.cos.myqcloud.com"; - - if ($this->config['endpoint'] != null) { - $uri = $this->config['endpoint']; - } - if ($this->config['domain'] != null) { - $uri = $this->config['domain']; - } - if ($this->config['ip'] != null) { - $uri = $this->config['ip']; - if ($this->config['port'] != null) { - $uri = $this->config['ip'] . ":" . $this->config['port']; - } - } - return $request->withUri(new Uri($this->config['schema']."://". $uri. "/")); - } - $operation = $this->operation; - $bucketname = $command['Bucket']; - - $appId = $this->config['appId']; - if ( $appId != null && endWith( $bucketname, '-'.$appId ) == False ) { - $bucketname = $bucketname.'-'.$appId; - } - $command['Bucket'] = $bucketname; - $path = ''; - - $http_method = $operation['httpMethod']; - $uri = $operation['uri']; - - // Hoststyle is used by default - // Pathstyle - if ( $this->config['pathStyle'] != true ) { - if ( isset( $operation['parameters']['Bucket'] ) && $command->hasParam( 'Bucket' ) ) { - $uri = str_replace( '{Bucket}', '', $uri ); - } - - if ( isset( $operation['parameters']['Key'] ) && $command->hasParam( 'Key' ) ) { - $uri = str_replace( '{/Key*}', encodeKey( $command['Key'] ), $uri ); - } - } - - if ($this->config['endpoint'] == null) { - $this->config['endpoint'] = "myqcloud.com"; - } - - $domain_type = '.cos.'; - if ($action == 'PutBucketImageStyle' || $action == 'GetBucketImageStyle' || $action == 'DeleteBucketImageStyle' - || $action == 'PutBucketGuetzli' || $action == 'GetBucketGuetzli' || $action == 'DeleteBucketGuetzli') { - $domain_type = '.pic.'; - } - - $origin_host = $bucketname . $domain_type . $this->config['region'] . '.' . $this->config['endpoint']; - // domain - if ( $this->config['domain'] != null ) { - $origin_host = $this->config['domain']; - } - $host = $origin_host; - if ( $this->config['ip'] != null ) { - $host = $this->config['ip']; - if ( $this->config['port'] != null ) { - $host = $this->config['ip'] . ':' . $this->config['port']; - } - } - - $path = $this->config['schema'].'://'. $host . $uri; - $uri = new Uri( $path ); - $query = $request->getUri()->getQuery(); - if ( $uri->getQuery() != $query && $uri->getQuery() != '' ) { - $query = $uri->getQuery() . '&' . $request->getUri()->getQuery(); - } - $uri = $uri->withQuery( $query ); - $request = $request->withUri( $uri ); - $request = $request->withHeader( 'Host', $origin_host ); - return $request; - } - - // format upload body - - public function uploadBodyTransformer( CommandInterface $command, $request, $bodyParameter = 'Body', $sourceParameter = 'SourceFile' ) { - - $operation = $this->operation; - if ( !isset( $operation['parameters']['Body'] ) ) { - return $request; - } - $source = isset( $command[$sourceParameter] ) ? $command[$sourceParameter] : null; - $body = isset( $command[$bodyParameter] ) ? $command[$bodyParameter] : null; - // If a file path is passed in then get the file handle - if ( is_string( $source ) && file_exists( $source ) ) { - $body = fopen( $source, 'rb' ); - } - // Prepare the body parameter and remove the source file parameter - if ( null !== $body ) { - return $request; - } else { - throw new InvalidArgumentException( - "You must specify a non-null value for the {$bodyParameter} or {$sourceParameter} parameters." ); - } - } - - // update md5 - - public function md5Transformer( CommandInterface $command, $request ) { - $operation = $this->operation; - if ( isset( $operation['data']['contentMd5'] ) ) { - $request = $this->addMd5( $request ); - } - if ( isset( $operation['parameters']['ContentMD5'] ) && - isset( $command['ContentMD5'] ) ) { - $value = $command['ContentMD5']; - if ( $value != false ) { - $request = $this->addMd5( $request ); - } - } - - return $request; - } - - // add Query string - - public function queryStringTransformer( CommandInterface $command, $request ) { - $operation = $this->operation; - if ( isset( $command['Params'] ) ) { - $params = $command['Params']; - foreach ( $params as $key => $value ) { - $uri = $request->getUri(); - $query = $uri->getQuery(); - $uri = $uri->withQuery($query. "&" . $key . "=" . $value ); - $request = $request->withUri( $uri ); - } - } - - return $request; - } - - // add meta - - public function metadataTransformer( CommandInterface $command, $request ) { - $operation = $this->operation; - if ( isset( $command['Metadata'] ) ) { - $meta = $command['Metadata']; - foreach ( $meta as $key => $value ) { - $request = $request->withHeader( 'x-cos-meta-' . $key, $value ); - } - } - $request = headersMap( $command, $request ); - - return $request; - } - - // count md5 - - private function addMd5( $request ) { - $body = $request->getBody(); - if ( $body && $body->getSize() > 0 ) { - $md5 = base64_encode( md5( $body, true ) ); - return $request->withHeader( 'Content-MD5', $md5 ); - } - return $request; - } - - // inventoryId - - public function specialParamTransformer( CommandInterface $command, $request ) { - $action = $command->getName(); - if ( $action == 'PutBucketInventory' ) { - $id = $command['Id']; - $uri = $request->getUri(); - $query = $uri->getQuery(); - $uri = $uri->withQuery( $query . '&Id='.$id ); - return $request->withUri( $uri ); - } - return $request; - } - - public function ciParamTransformer( CommandInterface $command, $request ) { - $action = $command->getName(); - if ( $action == 'GetObject' ) { - if(isset($command['ImageHandleParam']) && $command['ImageHandleParam']){ - $uri = $request->getUri(); - $query = $uri->getQuery(); - if($query){ - $query .= "&" . urlencode($command['ImageHandleParam']); - }else{ - $query .= urlencode($command['ImageHandleParam']); - } - $uri = $uri->withQuery($query); - $request = $request->withUri( $uri ); - } - } - return $request; - } - - public function __destruct() { - } - - } diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Common.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Common.php deleted file mode 100644 index dc8fd3ad..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Common.php +++ /dev/null @@ -1,55 +0,0 @@ -'ap-shanghai', - 'cn-south'=>'ap-guangzhou', - 'cn-north'=>'ap-beijing-1', - 'cn-south-2'=>'ap-guangzhou-2', - 'cn-southwest'=>'ap-chengdu', - 'sg'=>'ap-singapore', - 'tj'=>'ap-beijing-1', - 'bj'=>'ap-beijing', - 'sh'=>'ap-shanghai', - 'gz'=>'ap-guangzhou', - 'cd'=>'ap-chengdu', - 'sgp'=>'ap-singapore' ); - if ( isset($regionmap[ $region]) ) { - return $regionmap[$region]; - } - return $region; -} - -function encodeKey( $key ) { - return str_replace( '%2F', '/', rawurlencode( $key ) ); -} - -function endWith( $haystack, $needle ) { - $length = strlen( $needle ); - if ( $length == 0 ) { - return true; - } - return ( substr( $haystack, -$length ) === $needle ); -} - -function startWith( $haystack, $needle ) { - $length = strlen( $needle ); - if ( $length == 0 ) { - return true; - } - return ( substr( $haystack, $length ) === $needle ); -} - -function headersMap( $command, $request ) { - $headermap = array( - 'TransferEncoding'=>'Transfer-Encoding', - 'ChannelId'=>'x-cos-channel-id' - ); - foreach ( $headermap as $key => $value ) { - if ( isset( $command[$key] ) ) { - $request = $request->withHeader( $value, $command[$key] ); - } - } - return $request; -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Copy.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Copy.php deleted file mode 100644 index 661df592..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Copy.php +++ /dev/null @@ -1,141 +0,0 @@ -client = $client; - $this->copySource = $source; - $this->options = $options; - $this->size = $source['ContentLength']; - unset($source['ContentLength']); - $this->partSize = $this->calculatePartSize($minPartSize); - $this->concurrency = isset($options['Concurrency']) ? $options['Concurrency'] : 10; - $this->retry = isset($options['Retry']) ? $options['Retry'] : 5; - } - public function copy() { - $uploadId= $this->initiateMultipartUpload(); - for ($i = 0; $i < $this->retry; $i += 1) { - $rt = $this->uploadParts($uploadId); - if ($rt == 0) { - break; - } - sleep(1 << $i); - } - foreach ( $this->parts as $key => $row ){ - $num1[$key] = $row ['PartNumber']; - $num2[$key] = $row ['ETag']; - } - array_multisort($num1, SORT_ASC, $num2, SORT_ASC, $this->parts); - return $this->client->completeMultipartUpload(array( - 'Bucket' => $this->options['Bucket'], - 'Key' => $this->options['Key'], - 'UploadId' => $uploadId, - 'Parts' => $this->parts) - ); - - } - public function uploadParts($uploadId) { - $copyRequests = function ($uploadId) { - $offset = 0; - $partNumber = 1; - $partSize = $this->partSize; - $finishedNum = 0; - $this->parts = array(); - for ($index = 1; ; $index ++) { - if ($offset + $partSize >= $this->size) - { - $partSize = $this->size - $offset; - } - $copySourcePath = $this->copySource['Bucket']. '.cos.'. $this->copySource['Region']. - ".myqcloud.com/". $this->copySource['Key']. "?versionId=". $this->copySource['VersionId']; - $params = array( - 'Bucket' => $this->options['Bucket'], - 'Key' => $this->options['Key'], - 'UploadId' => $uploadId, - 'PartNumber' => $partNumber, - 'CopySource'=> $copySourcePath, - 'CopySourceRange' => 'bytes='.((string)$offset).'-'.(string)($offset+$partSize - 1), - ); - if(!isset($this->parts[$partNumber])) { - $command = $this->client->getCommand('uploadPartCopy', $params); - $request = $this->client->commandToRequestTransformer($command); - $this->commandList[$index] = $command; - $this->requestList[$index] = $request; - yield $request; - } - ++$partNumber; - $offset += $partSize; - if ($this->size == $offset) { - break; - } - } - }; - $pool = new Pool($this->client->httpClient, $copyRequests($uploadId), [ - 'concurrency' => $this->concurrency, - 'fulfilled' => function ($response, $index) { - $index = $index + 1; - $response = $this->client->responseToResultTransformer($response, $this->requestList[$index], $this->commandList[$index]); - $part = array('PartNumber' => $index, 'ETag' => $response['ETag']); - $this->parts[$index] = $part; - }, - - 'rejected' => function ($reason, $index) { - $index = $index += 1; - $retry = 2; - for ($i = 1; $i <= $retry; $i++) { - try { - $rt =$this->client->execute($this->commandList[$index]); - $part = array('PartNumber' => $index, 'ETag' => $rt['ETag']); - $this->parts[$index] = $part; - } catch(\Exception $e) { - if ($i == $retry) { - throw($e); - } - } - } - }, - ]); - - // Initiate the transfers and create a promise - $promise = $pool->promise(); - - // Force the pool of requests to complete. - $promise->wait(); - } - - - private function calculatePartSize($minPartSize) - { - $partSize = intval(ceil(($this->size / self::MAX_PARTS))); - $partSize = max($minPartSize, $partSize); - $partSize = min($partSize, self::MAX_PART_SIZE); - $partSize = max($partSize, self::MIN_PART_SIZE); - return $partSize; - } - - private function initiateMultipartUpload() { - $result = $this->client->createMultipartUpload($this->options); - return $result['UploadId']; - } - -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Exception/CosException.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Exception/CosException.php deleted file mode 100644 index bcf06285..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Exception/CosException.php +++ /dev/null @@ -1,7 +0,0 @@ -exceptionCode = $code; - } - - /** - * Get the exception code - * - * @return string|null - */ - public function getExceptionCode() { - return $this->exceptionCode; - } - - /** - * Set the exception type - * - * @param string $type Exception type - */ - public function setExceptionType($type) { - $this->exceptionType = $type; - } - - /** - * Get the exception type (one of client or server) - * - * @return string|null - */ - public function getExceptionType() { - return $this->exceptionType; - } - - /** - * Set the request ID - * - * @param string $id Request ID - */ - public function setRequestId($id) { - $this->requestId = $id; - } - - /** - * Get the Request ID - * - * @return string|null - */ - public function getRequestId() { - return $this->requestId; - } - - /** - * Set the associated response - * - * @param Response $response Response - */ - public function setResponse(ResponseInterface $response) { - $this->response = $response; - } - - /** - * Get the associated response object - * - * @return Response|null - */ - public function getResponse() { - return $this->response; - } - - /** - * Set the associated request - * - * @param RequestInterface $request - */ - public function setRequest(RequestInterface $request) { - $this->request = $request; - } - - /** - * Get the associated request object - * - * @return RequestInterface|null - */ - public function getRequest() { - return $this->request; - } - - /** - * Get the status code of the response - * - * @return int|null - */ - public function getStatusCode() { - return $this->response ? $this->response->getStatusCode() : null; - } - - /** - * Cast to a string - * - * @return string - */ - public function __toString() { - $message = get_class($this) . ': ' - . 'Cos Error Code: ' . $this->getExceptionCode() . ', ' - . 'Status Code: ' . $this->getStatusCode() . ', ' - . 'Cos Request ID: ' . $this->getRequestId() . ', ' - . 'Cos Error Type: ' . $this->getExceptionType() . ', ' - . 'Cos Error Message: ' . $this->getMessage(); - - // Add the User-Agent if available - if ($this->request) { - $message .= ', ' . 'User-Agent: ' . $this->request->getHeader('User-Agent')[0]; - } - - return $message; - } - - /** - * Get the request ID of the error. This value is only present if a - * response was received, and is not present in the event of a networking - * error. - * - * Same as `getRequestId()` method, but matches the interface for SDKv3. - * - * @return string|null Returns null if no response was received - */ - public function getCosRequestId() { - return $this->requestId; - } - - /** - * Get the Cos error type. - * - * Same as `getExceptionType()` method, but matches the interface for SDKv3. - * - * @return string|null Returns null if no response was received - */ - public function getCosErrorType() { - return $this->exceptionType; - } - - /** - * Get the Cos error code. - * - * Same as `getExceptionCode()` method, but matches the interface for SDKv3. - * - * @return string|null Returns null if no response was received - */ - public function getCosErrorCode() { - return $this->exceptionCode; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ExceptionMiddleware.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ExceptionMiddleware.php deleted file mode 100644 index 66639a65..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ExceptionMiddleware.php +++ /dev/null @@ -1,72 +0,0 @@ -nextHandler = $nextHandler; - $this->parser = new ExceptionParser(); - $this->defaultException = 'Qcloud\Cos\Exception\ServiceResponseException'; - } - - /** - * @param RequestInterface $request - * @param array $options - * - * @return PromiseInterface - */ - public function __invoke(RequestInterface $request, array $options) { - $fn = $this->nextHandler; - return $fn($request, $options)->then( - function (ResponseInterface $response) use ($request) { - return $this->handle($request, $response); - } - ); - } - - public function handle(RequestInterface $request, ResponseInterface $response) { - $code = $response->getStatusCode(); - if ($code < 400) { - return $response; - } - - //throw RequestException::create($request, $response); - $parts = $this->parser->parse($request, $response); - - $className = 'Qcloud\\Cos\\Exception\\' . $parts['code']; - if (substr($className, -9) !== 'Exception') { - $className .= 'Exception'; - } - - $className = class_exists($className) ? $className : $this->defaultException; - - throw $this->createException($className, $request, $response, $parts); - } - - protected function createException($className, RequestInterface $request, ResponseInterface $response, array $parts) { - $class = new $className($parts['message']); - - if ($class instanceof ServiceResponseException) { - $class->setExceptionCode($parts['code']); - $class->setExceptionType($parts['type']); - $class->setResponse($response); - $class->setRequest($request); - $class->setRequestId($parts['request_id']); - } - return $class; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ExceptionParser.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ExceptionParser.php deleted file mode 100644 index c15400bb..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ExceptionParser.php +++ /dev/null @@ -1,112 +0,0 @@ - null, - 'message' => null, - //'type' => $response->isClientError() ? 'client' : 'server', - 'type' => 'client', - 'request_id' => null, - 'parsed' => null - ); - - $body = strval($response->getBody()); - - if (empty($body)) { - $this->parseHeaders($request, $response, $data); - return $data; - } - - try { - $xml = new \SimpleXMLElement(utf8_encode($body)); - $this->parseBody($xml, $data); - return $data; - } catch (\Exception $e) { - $data['code'] = 'PhpInternalXmlParseError'; - $data['message'] = 'A non-XML response was received'; - return $data; - } - } - - /** - * Parses additional exception information from the response headers - * - * @param RequestInterface $request Request that was issued - * @param Response $response The response from the request - * @param array $data The current set of exception data - */ - protected function parseHeaders(RequestInterface $request, ResponseInterface $response, array &$data) { - $data['message'] = $response->getStatusCode() . ' ' . $response->getReasonPhrase(); - $requestId = $response->getHeader('x-cos-request-id'); - if (isset($requestId[0])) { - $requestId = $requestId[0]; - $data['request_id'] = $requestId; - $data['message'] .= " (Request-ID: $requestId)"; - } - - // Get the request - $status = $response->getStatusCode(); - $method = $request->getMethod(); - - // Attempt to determine code for 403s and 404s - if ($status === 403) { - $data['code'] = 'AccessDenied'; - } elseif ($method === 'HEAD' && $status === 404) { - $path = explode('/', trim($request->getUri()->getPath(), '/')); - $host = explode('.', $request->getUri()->getHost()); - $bucket = (count($host) >= 4) ? $host[0] : array_shift($path); - $object = array_shift($path); - - if ($bucket && $object) { - $data['code'] = 'NoSuchKey'; - } elseif ($bucket) { - $data['code'] = 'NoSuchBucket'; - } - } - } - - /** - * Parses additional exception information from the response body - * - * @param \SimpleXMLElement $body The response body as XML - * @param array $data The current set of exception data - */ - protected function parseBody(\SimpleXMLElement $body, array &$data) { - $data['parsed'] = $body; - - $namespaces = $body->getDocNamespaces(); - if (isset($namespaces[''])) { - // Account for the default namespace being defined and PHP not being able to handle it :( - $body->registerXPathNamespace('ns', $namespaces['']); - $prefix = 'ns:'; - } else { - $prefix = ''; - } - - if ($tempXml = $body->xpath("//{$prefix}Code[1]")) { - $data['code'] = (string) $tempXml[0]; - } - - if ($tempXml = $body->xpath("//{$prefix}Message[1]")) { - $data['message'] = (string) $tempXml[0]; - } - - $tempXml = $body->xpath("//{$prefix}RequestId[1]"); - if (empty($tempXml)) { - $tempXml = $body->xpath("//{$prefix}RequestID[1]"); - } - if (isset($tempXml[0])) { - $data['request_id'] = (string) $tempXml[0]; - } - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/BlindWatermarkTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/BlindWatermarkTemplate.php deleted file mode 100644 index 0f03b1ea..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/BlindWatermarkTemplate.php +++ /dev/null @@ -1,87 +0,0 @@ -markType = 3; - $this->type = ""; - $this->image = ""; - $this->text = ""; - $this->level = ""; - - } - - public function setPick() { - $this->markType = 4; - } - - public function setType($value) { - $this->type = "/type/" . $value; - } - - public function setImage($value) { - $this->image = "/image/" . $this->ciBase64($value); - } - - public function setText($value) { - $this->text = "/text/" . $this->ciBase64($value); - } - - public function setLevel($value) { - $this->level = "/level/" . $value; - } - - public function getType() { - return $this->type; - } - - public function getImage() { - return $this->image; - } - - public function getText() { - return $this->text; - } - - public function getLevel() { - return $this->level; - } - - - public function queryString() { - $head = "watermark/$this->markType"; - $res = ""; - if($this->type){ - $res .= $this->type; - } - if($this->image){ - $res .= $this->image; - } - if($this->text){ - $res .= $this->text; - } - if($this->level){ - $res .= $this->level; - } - if($res){ - $res = $head . $res; - } - return $res; - } - - public function resetRule() { - $this->markType = 3; - $this->type = ""; - $this->image = ""; - $this->text = ""; - $this->level = ""; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/CIParamTransformation.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/CIParamTransformation.php deleted file mode 100644 index 0ee780aa..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/CIParamTransformation.php +++ /dev/null @@ -1,39 +0,0 @@ -spilt = $spilt; - $this->tranParams = array(); - $this->tranString = ""; - } - - public function addRule(ImageTemplate $template) { - if($template->queryString()){ - $this->tranParams[] = $template->queryString(); - } - } - - public function queryString() { - if($this->tranParams) { - $this->tranString = implode($this->spilt, $this->tranParams); - } - return $this->tranString; - } - - public function resetRule() { - $this->tranParams = array(); - $this->tranString = ""; - } - - public function defineRule($value) { - $this->tranParams[] = $value; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageMogrTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageMogrTemplate.php deleted file mode 100644 index eacf6777..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageMogrTemplate.php +++ /dev/null @@ -1,159 +0,0 @@ -tranParams = array(); - $this->tranString = ""; - } - - public function thumbnailByScale($widthScale) { - $this->tranParams[] = "/thumbnail/!" . $widthScale . "p"; - } - - public function thumbnailByWidthScale($heightScale) { - $this->tranParams[] = "/thumbnail/!" . $heightScale . "px"; - } - - public function thumbnailByHeightScale($scale) { - $this->tranParams[] = "/thumbnail/!x" . $scale . "p"; - } - - public function thumbnailByWidth($width) { - $this->tranParams[] = "/thumbnail/" . $width . "x"; - } - - public function thumbnailByHeight($height) { - $this->tranParams[] = "/thumbnail/x" . $height; - } - - public function thumbnailByMaxWH($maxW, $maxH) { - $this->tranParams[] = "/thumbnail/" . $maxW . "x" . $maxH; - } - - public function thumbnailByMinWH($minW, $minH) { - $this->tranParams[] = "/thumbnail/!" . $minW . "x" . $minH . "r" ; - } - - public function thumbnailByWH($width, $height) { - $this->tranParams[] = "/thumbnail/" . $width . "x" . $height . "!"; - } - - public function thumbnailByPixel($pixel) { - $this->tranParams[] = "/thumbnail/" . $pixel . "@"; - } - - public function cut($width, $height, $dx, $dy) { - $this->tranParams[] = "/cut/" . $width . "x" . "$height" . "x" . $dx . "x" . $dy; - } - - public function cropByWidth($width, $gravity = "") { - $temp = "/crop/" . $width . "x"; - if($gravity){ - $temp .= "/gravity/" . $gravity; - } - $this->tranParams[] = $temp; - } - - public function cropByHeight($height, $gravity = "") { - $temp = "/crop/x" . $height; - if($gravity){ - $temp .= "/gravity/" . $gravity; - } - $this->tranParams[] = $temp; - } - - public function cropByWH($width, $height, $gravity = "") { - $temp = "/crop/" . $width . "x" . $height; - if($gravity){ - $temp .= "/gravity/" . $gravity; - } - $this->tranParams[] = $temp; - } - - public function iradius($radius) { - $this->tranParams[] = "/iradius/" . $radius; - } - - public function rradius($radius) { - $this->tranParams[] = "/rradius/" . $radius; - } - - public function scrop($width, $height) { - $this->tranParams[] = "/scrop/" . $width . "x" . $height; - } - - public function rotate($degree) { - $this->tranParams[] = "/rotate/" . $degree; - } - - public function autoOrient() { - $this->tranParams[] = "/rotate/auto-orient"; - } - - public function format($format) { - $this->tranParams[] = "/format/" . $format; - } - - public function gifOptimization($frameNumber) { - $this->tranParams[] = "/cgif/" . $frameNumber; - } - - public function jpegInterlaceMode($mode) { - $this->tranParams[] = "/interlace/" . $mode; - } - - public function quality($value, $force = 0) { - $temp = "/quality/" . $value; - if($force){ - $temp .= "!"; - } - $this->tranParams[] = $temp; - } - - public function lowestQuality($value) { - $this->tranParams[] = "/lquality/" . $value; - } - - public function relativelyQuality($value) { - $this->tranParams[] = "/rquality/" . $value; - } - - public function blur($radius, $sigma) { - $this->tranParams[] = "/blur/" . $radius . "x" . $sigma; - } - - public function bright($value) { - $this->tranParams[] = "/bright/" . $value; - } - - public function contrast($value) { - $this->tranParams[] = "/contrast/" . $value; - } - - public function sharpen($value) { - $this->tranParams[] = "/sharpen/" . $value; - } - - public function strip() { - $this->tranParams[] = "/strip"; - } - - public function queryString() { - if($this->tranParams) { - $this->tranString = "imageMogr2" . implode("", $this->tranParams); - } - return $this->tranString; - } - - public function resetRule() { - $this->tranString = ""; - $this->tranParams = array(); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageQrcodeTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageQrcodeTemplate.php deleted file mode 100644 index 606168b1..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageQrcodeTemplate.php +++ /dev/null @@ -1,37 +0,0 @@ -mode = ""; - } - - public function setMode($mode) { - $this->mode = "/cover/" . $mode; - } - - public function getMode() { - return $this->mode; - } - - public function queryString() { - $head = "QRcode"; - $res = ""; - if($this->mode) { - $res .= $this->mode; - } - if($res) { - $res = $head . $res; - } - return $res; - } - - public function resetRule() { - $this->mode = ""; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageStyleTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageStyleTemplate.php deleted file mode 100644 index c8fa5332..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageStyleTemplate.php +++ /dev/null @@ -1,33 +0,0 @@ -style = ""; - } - - public function setStyle($styleName) { - $this->style = "style/" . $styleName; - } - - public function getStyle() { - return $this->style; - } - - public function queryString() { - $res = ""; - if($this->style) { - $res = $this->style; - } - return $res; - } - - public function resetRule() { - $this->style = ""; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageTemplate.php deleted file mode 100644 index eabe676b..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageTemplate.php +++ /dev/null @@ -1,18 +0,0 @@ -mode = ""; - $this->width = ""; - $this->height = ""; - $this->format = ""; - $this->quality = ""; - } - - public function setMode($value) { - $this->mode = "/" . $value; - } - - public function setWidth($value) { - $this->width = "/w/" . $value; - } - - public function setHeight($value) { - $this->height = "/h/" . $value; - } - - public function setFormat($value) { - $this->format = "/format/" . $value; - } - - public function setQuality($qualityType, $qualityValue, $force = 0) { - if($qualityType == 1){ - $this->quality = "/q/$qualityValue" ; - if($force){ - $this->quality .= "!"; - } - }else if($qualityType == 2){ - $this->quality = "/rq/$qualityValue" ; - }else if ($qualityType == 3){ - $this->quality = "/lq/$qualityValue" ; - } - } - - public function getMode() { - return $this->mode; - } - - public function getWidth() { - return $this->width; - } - - public function getHeight() { - return $this->height; - } - - public function getFormat() { - return $this->format; - } - - public function getQuality() { - return $this->quality; - } - - public function queryString() { - $head = "imageView2"; - $res = ""; - if($this->mode) { - $res .= $this->mode; - } - if($this->width) { - $res .= $this->width; - } - if($this->height) { - $res .= $this->height; - } - if($this->format) { - $res .= $this->format; - } - if($this->quality) { - $res .= $this->quality; - } - if($res) { - $res = $head . $res; - } - return $res; - } - - public function resetRule() { - $this->mode = ""; - $this->width = ""; - $this->height = ""; - $this->format = ""; - $this->quality = ""; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageWatermarkTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageWatermarkTemplate.php deleted file mode 100644 index d9f4c5ab..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/ImageWatermarkTemplate.php +++ /dev/null @@ -1,122 +0,0 @@ -image = ""; - $this->gravity = ""; - $this->dx = ""; - $this->dy = ""; - $this->blogo = ""; - $this->scatype = ""; - $this->spcent = ""; - } - - public function setImage($value) { - $this->image = "/image/" . $this->ciBase64($value); - } - - public function setGravity($value) { - $this->gravity = "/gravity/" . $value; - } - - public function setDx($value) { - $this->dx = "/dx/" . $value; - } - - public function setDy($value) { - $this->dy = "/dy/" . $value; - } - - public function setBlogo($value) { - $this->blogo = "/blogo/" . $value; - } - - public function setScatype($value) { - $this->scatype = "/scatype/" . $value; - } - - public function setSpcent($value) { - $this->spcent = "/spcent/" . $value; - } - - public function getImage() { - return $this->image; - } - - public function getGravity() { - return $this->gravity; - } - - public function getDx() { - return $this->dx; - } - - public function getDy() { - return $this->dy; - } - - public function getBlogo() { - return $this->blogo; - } - - public function getScatype() { - return $this->scatype; - } - - public function getSpcent() { - return $this->spcent; - } - - public function queryString() { - $head = "watermark/1"; - $res = ""; - if($this->image) { - $res .= $this->image; - } - if($this->gravity) { - $res .= $this->gravity; - } - if($this->dx) { - $res .= $this->dx; - } - if($this->dy) { - $res .= $this->dy; - } - if($this->blogo) { - $res .= $this->blogo; - } - if($this->scatype) { - $res .= $this->scatype; - } - if($this->spcent) { - $res .= $this->spcent; - } - if($res) { - $res = $head . $res; - } - return $res; - } - - public function resetRule() { - $this->image = ""; - $this->gravity = ""; - $this->dx = ""; - $this->dy = ""; - $this->blogo = ""; - $this->scatype = ""; - $this->spcent = ""; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/PicOperationsTransformation.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/PicOperationsTransformation.php deleted file mode 100644 index b10f5d5a..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/PicOperationsTransformation.php +++ /dev/null @@ -1,60 +0,0 @@ -isPicInfo = 0; - $this->rules = array(); - } - - public function setIsPicInfo($value) { - $this->isPicInfo = $value; - } - - public function addRule(ImageTemplate $template, $fileid = "", $bucket = "") { - $rule = $template->queryString(); - if($rule){ - $item = array(); - $item['rule'] = $rule; - if($fileid){ - $item['fileid'] = $fileid; - } - if($bucket) { - $item['bucket'] = $bucket; - } - $this->rules[] = $item; - } - } - - public function getIsPicInfo() { - return $this->isPicInfo; - } - - public function getRules() { - return $this->rules; - } - - public function queryString() { - $res = ""; - $picOperations = array(); - if($this->isPicInfo){ - $picOperations['is_pic_info'] = $this->isPicInfo; - } - if($this->rules){ - $picOperations['rules'] = $this->rules; - } - if($picOperations){ - $res = json_encode($picOperations); - } - return $res; - } - - public function resetRule() { - $this->isPicInfo = 0; - $this->rules = array(); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/TextWatermarkTemplate.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/TextWatermarkTemplate.php deleted file mode 100644 index f1561a75..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ImageParamTemplate/TextWatermarkTemplate.php +++ /dev/null @@ -1,166 +0,0 @@ -text = ""; - $this->font = ""; - $this->fontsize = ""; - $this->fill = ""; - $this->dissolve = ""; - $this->gravity = ""; - $this->dx = ""; - $this->dy = ""; - $this->batch = ""; - $this->degree = ""; - } - - public function setText($value) { - $this->text = "/text/" . $this->ciBase64($value); - } - - public function setFont($value) { - $this->font = "/font/" . $this->ciBase64($value); - } - - public function setFontsize($value) { - $this->fontsize = "/fontsize/" . $value; - } - - public function setFill($value) { - $this->fill = "/fill/" . $this->ciBase64($value); - } - - public function setDissolve($value) { - $this->dissolve = "/dissolve/" . $value; - } - - public function setGravity($value) { - $this->gravity = "/gravity/" . $value; - } - - public function setDx($value) { - $this->dx = "/dx/" . $value; - } - - public function setDy($value) { - $this->dy = "/dy/" . $value; - } - - public function setBatch($value) { - $this->batch = "/batch/" . $value; - } - - public function setDegree($value) { - $this->degree = "/degree/" . $value; - } - - public function getText() { - return $this->text; - } - - public function getFont() { - return $this->font; - } - - public function getFontsize() { - return $this->fontsize; - } - - public function getFill() { - return $this->fill; - } - - public function getDissolve() { - return $this->dissolve; - } - - public function getGravity() { - return $this->gravity; - } - - public function getDx() { - return $this->dx; - } - - public function getDy() { - return $this->dy; - } - - public function getBatch() { - return $this->batch; - } - - public function getDegree() { - return $this->degree; - } - - public function queryString() { - $head = "watermark/2"; - $res = ""; - if($this->text) { - $res .= $this->text; - } - if($this->font) { - $res .= $this->font; - } - if($this->fontsize) { - $res .= $this->fontsize; - } - if($this->fill) { - $res .= $this->fill; - } - if($this->dissolve) { - $res .= $this->dissolve; - } - if($this->gravity) { - $res .= $this->gravity; - } - if($this->dx) { - $res .= $this->dx; - } - if($this->dy) { - $res .= $this->dy; - } - if($this->batch) { - $res .= $this->batch; - } - if($this->degree) { - $res .= $this->degree; - } - if($res) { - $res = $head . $res; - } - return $res; - } - - public function resetRule() { - $this->text = ""; - $this->font = ""; - $this->fontsize = ""; - $this->fill = ""; - $this->dissolve = ""; - $this->gravity = ""; - $this->dx = ""; - $this->dy = ""; - $this->batch = ""; - $this->degree = ""; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/MultipartUpload.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/MultipartUpload.php deleted file mode 100644 index e38ddd40..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/MultipartUpload.php +++ /dev/null @@ -1,162 +0,0 @@ -body = $body; - $this->client = $client; - $this->options = $options; - $this->partSize = $this->calculatePartSize($minPartSize); - $this->concurrency = isset($options['Concurrency']) ? $options['Concurrency'] : 10; - $this->progress = isset($options['Progress']) ? $options['Progress'] : function($totolSize, $uploadedSize) {}; - $this->parts = []; - $this->partNumberList = []; - $this->uploadedSize = 0; - $this->totolSize = $this->body->getSize(); - $this->needMd5 = isset($options['ContentMD5']) ? $options['ContentMD5'] : true; - $this->retry = isset($options['Retry']) ? $options['Retry'] : 3; - } - public function performUploading() { - $uploadId= $this->initiateMultipartUpload(); - $this->uploadParts($uploadId); - foreach ( $this->parts as $key => $row ){ - $num1[$key] = $row ['PartNumber']; - $num2[$key] = $row ['ETag']; - } - array_multisort($num1, SORT_ASC, $num2, SORT_ASC, $this->parts); - return $this->client->completeMultipartUpload(array( - 'Bucket' => $this->options['Bucket'], - 'Key' => $this->options['Key'], - 'UploadId' => $uploadId, - 'Parts' => $this->parts) - ); - - } - public function uploadParts($uploadId) { - $uploadRequests = function ($uploadId) { - $partNumber = 1; - $index = 1; - $offset = 0; - $partSize = 0; - for ( ; ; $partNumber ++) { - if ($this->body->eof()) { - break; - } - $body = $this->body->read($this->partSize); - $partSize = $this->partSize; - if ($offset + $this->partSize >= $this->totolSize) { - $partSize = $this->totolSize - $offset; - } - $offset += $partSize; - if (empty($body)) { - break; - } - if (isset($this->parts[$partNumber])) { - continue; - } - $this->partNumberList[$index]['PartNumber'] = $partNumber; - $this->partNumberList[$index]['PartSize'] = $partSize; - $params = array( - 'Bucket' => $this->options['Bucket'], - 'Key' => $this->options['Key'], - 'UploadId' => $uploadId, - 'PartNumber' => $partNumber, - 'Body' => $body, - 'ContentMD5' => $this->needMd5 - ); - if ($this->needMd5 == false) { - unset($params["ContentMD5"]); - } - if (!isset($this->parts[$partNumber])) { - $command = $this->client->getCommand('uploadPart', $params); - $request = $this->client->commandToRequestTransformer($command); - $index ++; - yield $request; - } - } - }; - $pool = new Pool($this->client->httpClient, $uploadRequests($uploadId), [ - 'concurrency' => $this->concurrency, - 'fulfilled' => function ($response, $index) { - $index = $index + 1; - $partNumber = $this->partNumberList[$index]['PartNumber']; - $partSize = $this->partNumberList[$index]['PartSize']; - $etag = $response->getHeaders()["ETag"][0]; - $part = array('PartNumber' => $partNumber, 'ETag' => $etag); - $this->parts[$partNumber] = $part; - $this->uploadedSize += $partSize; - call_user_func_array($this->progress, [$this->totolSize, $this->uploadedSize]); - }, - - 'rejected' => function ($reason, $index) { - printf("part [%d] upload failed, reason: %s\n", $index, $reason); - throw($reason); - } - ]); - $promise = $pool->promise(); - $promise->wait(); - } - - public function resumeUploading() { - $uploadId = $this->options['UploadId']; - $rt = $this->client->ListParts( - array('UploadId' => $uploadId, - 'Bucket'=>$this->options['Bucket'], - 'Key'=>$this->options['Key'])); - $parts = array(); - if (count($rt['Parts']) > 0) { - foreach ($rt['Parts'] as $part) { - $this->parts[$part['PartNumber']] = array('PartNumber' => $part['PartNumber'], 'ETag' => $part['ETag']); - } - } - $this->uploadParts($uploadId); - foreach ( $this->parts as $key => $row ){ - $num1[$key] = $row ['PartNumber']; - $num2[$key] = $row ['ETag']; - } - array_multisort($num1, SORT_ASC, $num2, SORT_ASC, $this->parts); - return $this->client->completeMultipartUpload(array( - 'Bucket' => $this->options['Bucket'], - 'Key' => $this->options['Key'], - 'UploadId' => $uploadId, - 'Parts' => $this->parts) - ); - } - - private function calculatePartSize($minPartSize) - { - $partSize = intval(ceil(($this->body->getSize() / self::MAX_PARTS))); - $partSize = max($minPartSize, $partSize); - $partSize = min($partSize, self::MAX_PART_SIZE); - $partSize = max($partSize, self::MIN_PART_SIZE); - return $partSize; - } - - private function initiateMultipartUpload() { - $result = $this->client->createMultipartUpload($this->options); - return $result['UploadId']; - } - -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/RangeDownload.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/RangeDownload.php deleted file mode 100644 index e521ac0a..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/RangeDownload.php +++ /dev/null @@ -1,147 +0,0 @@ -client = $client; - $this->options = $options; - $this->partSize = isset( $options['PartSize'] ) ? $options['PartSize'] : self::DEFAULT_PART_SIZE; - $this->concurrency = isset( $options['Concurrency'] ) ? $options['Concurrency'] : 10; - $this->progress = isset( $options['Progress'] ) ? $options['Progress'] : function( $totolSize, $downloadedSize ) { - } - ; - $this->parts = []; - $this->partNumberList = []; - $this->downloadedSize = 0; - $this->totolSize = $contentLength; - $this->saveAs = $saveAs; - $this->resumableJson = []; - $this->resumableJson = isset( $options['ResumableJson'] ) ? $options['ResumableJson'] : []; - unset( $options['ResumableJson'] ); - $this->resumableTaskFile = isset( $options['ResumableTaskFile'] ) ? $options['ResumableTaskFile'] : $saveAs . '.cosresumabletask'; - $this->resumableDownload = isset( $options['ResumableDownload'] ) ? $options['ResumableDownload'] : false; - } - - public function performdownloading() { - if ( $this->resumableDownload ) { - try { - if ( file_exists( $this->resumableTaskFile ) ) { - $origin_content = file_get_contents( $this->resumableTaskFile ); - $this->resumableJsonLocal = json_decode( $origin_content, true ); - if ( $this->resumableJsonLocal == null ) { - $this->resumableJsonLocal = []; - } else if ( $this->resumableJsonLocal['LastModified'] != $this->resumableJson['LastModified'] || - $this->resumableJsonLocal['ContentLength'] != $this->resumableJson['ContentLength'] || - $this->resumableJsonLocal['ETag'] != $this->resumableJson['ETag'] || - $this->resumableJsonLocal['Crc64ecma'] != $this->resumableJson['Crc64ecma'] ) { - $this->resumableDownload = false; - } - } - } catch ( \Exception $e ) { - $this->resumableDownload = false; - } - } - try { - if ($this->resumableDownload) { - $this->fp = fopen( $this->saveAs, 'r+' ); - } else { - $this->fp = fopen( $this->saveAs, 'wb' ); - } - $rt = $this->donwloadParts(); - $this->resumableJson['DownloadedBlocks'] = []; - if (file_exists( $this->resumableTaskFile )) { - unlink($this->resumableTaskFile); - } - } catch ( \Exception $e ) { - $this->fp_resume = fopen( $this->resumableTaskFile, 'wb' ); - fwrite( $this->fp_resume, json_encode( $this->resumableJson ) ); - fclose( $this->fp_resume ); - throw ( $e ); - } - finally { - fclose( $this->fp ); - } - return $rt; - } - - public function donwloadParts() { - $uploadRequests = function () { - $index = 1; - $partSize = 0; - for ( $offset = 0; $offset < $this->totolSize; ) { - $partSize = $this->partSize; - if ( $offset + $this->partSize >= $this->totolSize ) { - $partSize = $this->totolSize - $offset; - } - $this->parts[$index]['PartSize'] = $partSize; - $this->parts[$index]['Offset'] = $offset; - $begin = $offset; - $end = $offset + $partSize - 1; - if ( !( $this->resumableDownload && - isset( $this->resumableJsonLocal['DownloadedBlocks'] ) && - in_array( ['from' => $begin, 'to' => $end], $this->resumableJsonLocal['DownloadedBlocks'] ) ) ) { - $params = array( - 'Bucket' => $this->options['Bucket'], - 'Key' => $this->options['Key'], - 'Range' => sprintf( 'bytes=%d-%d', $begin, $end ) - ); - $command = $this->client->getCommand( 'getObject', $params ); - $request = $this->client->commandToRequestTransformer( $command ); - $index += 1; - yield $request; - } else { - $this->resumableJson['DownloadedBlocks'][] = ['from' => $begin, 'to' => $end]; - $this->downloadedSize += $partSize; - call_user_func_array( $this->progress, [$this->totolSize, $this->downloadedSize] ); - } - $offset += $partSize; - } - - } - ; - - $pool = new Pool( $this->client->httpClient, $uploadRequests(), [ - 'concurrency' => $this->concurrency, - 'fulfilled' => function ( $response, $index ) { - $index = $index + 1; - $stream = $response->getBody(); - $offset = $this->parts[$index]['Offset']; - $partsize = 8192; - $begin = $offset; - fseek( $this->fp, $offset ); - while ( !$stream->eof() ) { - $output = $stream->read( $partsize ); - $writeLen = fwrite( $this->fp, $output ); - $offset += $writeLen; - } - $end = $offset - 1; - $this->resumableJson['DownloadedBlocks'][] = ['from' => $begin, 'to' => $end]; - $partSize = $this->parts[$index]['PartSize']; - $this->downloadedSize += $partSize; - call_user_func_array( $this->progress, [$this->totolSize, $this->downloadedSize] ); - } - , - 'rejected' => function ( $reason, $index ) { - throw( $reason ); - } - ] ); - $promise = $pool->promise(); - $promise->wait(); - } - -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Request/BodyLocation.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Request/BodyLocation.php deleted file mode 100644 index 90f97a54..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Request/BodyLocation.php +++ /dev/null @@ -1,49 +0,0 @@ -getBody()->getContents(); - if ('' !== $value) { - throw new \RuntimeException('Only one "body" location may exist per operation'); - } - // binary string data from bound parameter - $value = $command[$param->getName()]; - return $request->withBody(Psr7\stream_for($value)); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ResultTransformer.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ResultTransformer.php deleted file mode 100644 index bb7e0766..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/ResultTransformer.php +++ /dev/null @@ -1,179 +0,0 @@ -config = $config; - $this->operation = $operation; - } - - public function writeDataToLocal(CommandInterface $command, RequestInterface $request, ResponseInterface $response) { - $action = $command->getName(); - if ($action == "GetObject") { - if (isset($command['SaveAs'])) { - $fp = fopen($command['SaveAs'], "wb"); - $stream = $response->getBody(); - $offset = 0; - $partsize = 8192; - while (!$stream->eof()) { - $output = $stream->read($partsize); - fseek($fp, $offset); - fwrite($fp, $output); - $offset += $partsize; - } - fclose($fp); - } - } - } - - public function metaDataTransformer(CommandInterface $command, ResponseInterface $response, Result $result) { - $headers = $response->getHeaders(); - $metadata = array(); - foreach ($headers as $key => $value) { - if (strpos($key, "x-cos-meta-") === 0) { - $metadata[substr($key, 11)] = $value[0]; - } - } - if (!empty($metadata)) { - $result['Metadata'] = $metadata; - } - return $result; - } - - public function extraHeadersTransformer(CommandInterface $command, RequestInterface $request, Result $result) { - if ($command['Key'] != null && $result['Key'] == null) { - $result['Key'] = $command['Key']; - } - if ($command['Bucket'] != null && $result['Bucket'] == null) { - $result['Bucket'] = $command['Bucket']; - } - $result['Location'] = $request->getHeader("Host")[0] . $request->getUri()->getPath(); - return $result; - } - - public function selectContentTransformer(CommandInterface $command, Result $result) { - $action = $command->getName(); - if ($action == "SelectObjectContent") { - $result['Data'] = $this->getSelectContents($result); - } - return $result; - } - - public function ciContentInfoTransformer(CommandInterface $command, Result $result) { - $action = $command->getName(); - if ($action == "ImageInfo" || $action == "ImageExif" || $action == "ImageAve") { - $length = intval($result['ContentLength']); - if($length > 0){ - $result['Data'] = $this->geCiContentInfo($result, $length); - } - } - - if ($action == "PutObject" && isset($command["PicOperations"]) && $command["PicOperations"]) { - $picOperations = json_decode($command["PicOperations"], true); - $picRuleSize = isset($picOperations['rules']) && is_array($picOperations['rules']) ? sizeof($picOperations['rules']) : 0; - $length = intval($result['ContentLength']); - if($length > 0){ - $content = $this->geCiContentInfo($result, $length); - $obj = simplexml_load_string($content, "SimpleXMLElement", LIBXML_NOCDATA); - $xmlData = json_decode(json_encode($obj),true); - if ($picRuleSize == 1 && isset($xmlData['ProcessResults']['Object'])){ - $tmp = $xmlData['ProcessResults']['Object']; - unset($xmlData['ProcessResults']['Object']); - $xmlData['ProcessResults']['Object'][] = $tmp; - } - $result['Data'] = $xmlData; - } - } - - if ($action == "GetBucketGuetzli" ) { - $length = intval($result['ContentLength']); - if($length > 0){ - $content = $this->geCiContentInfo($result, $length); - $obj = simplexml_load_string($content, "SimpleXMLElement", LIBXML_NOCDATA); - $arr = json_decode(json_encode($obj),true); - $result['GuetzliStatus'] = isset($arr[0]) ? $arr[0] : ''; - } - } - - return $result; - } - - public function geCiContentInfo($result, $length) { - $f = $result['Body']; - $data = ""; - while (!$f->eof()) { - $tmp = $f->read($length); - if (empty($tmp)) { - break; - } - $data .= $tmp; - } - return $data; - } - - public function getSelectContents($result) { - $f = $result['RawData']; - while (!$f->eof()) { - $data = array(); - $tmp = $f->read(4); - if (empty($tmp)) { - break; - } - $totol_length = (int)(unpack("N", $tmp)[1]); - $headers_length = (int)(unpack("N", $f->read(4))[1]); - $body_length = $totol_length - $headers_length - 16; - $predule_crc = (int)(unpack("N", $f->read(4))[1]); - $headers = array(); - for ($offset = 0; $offset < $headers_length;) { - $key_length = (int)(unpack("C", $f->read(1))[1]); - $key = $f->read($key_length); - - $head_value_type = (int)(unpack("C", $f->read(1))[1]); - - $value_length = (int)(unpack("n", $f->read(2))[1]); - $value = $f->read($value_length); - $offset += 4 + $key_length + $value_length; - if ($key == ":message-type") { - $data['MessageType'] = $value; - } - if ($key == ":event-type") { - $data['EventType'] = $value; - } - if ($key == ":error-code") { - $data['ErrorCode'] = $value; - } - if ($key == ":error-message") { - $data['ErrorMessage'] = $value; - } - } - $body = $f->read($body_length); - $message_crc = (int)(unpack("N", $f->read(4))[1]); - $data['Body'] = $body; - yield $data; - } - } - public function __destruct() { - } - -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Serializer.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Serializer.php deleted file mode 100644 index a93778a8..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Serializer.php +++ /dev/null @@ -1,79 +0,0 @@ -offsetExists('key') === true) { - $mode = empty($command->offsetGet('auth')) === false - ? $command->offsetGet('auth') - : 'loco'; - if ($mode !== 'query') { - // else use Authorization header of various types - if ($mode === 'loco') { - $value = 'Loco '.$command->offsetGet('key'); - $request = $request->withHeader('Authorization', $value); - } elseif ($mode === 'basic') { - $value = 'Basic '.base64_encode($command->offsetGet('key').':'); - $request = $request->withHeader('Authorization', $value); - } else { - throw new \InvalidArgumentException("Invalid auth type: {$mode}"); - } - // avoid request sending key parameter in query string - $command->offsetUnset('key'); - } - } - // Remap legacy parameters to common `data` binding on request body - static $remap = [ - 'import' => ['src'=>'data'], - 'translate' => ['translation'=>'data'], - ]; - $name = $command->getName(); - if (isset($remap[$name])) { - foreach ($remap[$name] as $old => $new) { - if ($command->offsetExists($old)) { - $command->offsetSet($new, $command->offsetGet($old)); - $command->offsetUnset($old); - } - } - } - */ - return parent::prepareRequest($command, $request); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Service.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Service.php deleted file mode 100644 index 3ea33dcd..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Service.php +++ /dev/null @@ -1,5738 +0,0 @@ - 'Cos Service', - 'apiVersion' => 'V5', - 'description' => 'Cos V5 API Service', - 'operations' => array( - // 舍弃一个分块上传且删除已上传的分片块的方法. - 'AbortMultipartUpload' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'AbortMultipartUploadOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri'), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey')), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId' - ) - ) - ), - // 创建存储桶(Bucket)的方法. - 'CreateBucket' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'CreateBucketOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CreateBucketConfiguration')), - 'parameters' => array( - 'ACL' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-acl'), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ) - ) - ), - // 完成整个分块上传的方法. - 'CompleteMultipartUpload' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'CompleteMultipartUploadOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CompleteMultipartUpload' - ) - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri'), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'Parts' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true), - 'items' => array( - 'name' => 'CompletedPart', - 'type' => 'object', - 'sentAs' => 'Part', - 'properties' => array( - 'ETag' => array( - 'type' => 'string' - ), - 'PartNumber' => array( - 'type' => 'numeric' - ) - ) - ) - ), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - 'PicOperations' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Pic-Operations', - ) - ) - ), - // 初始化分块上传的方法. - 'CreateMultipartUpload' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}?uploads', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'CreateMultipartUploadOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CreateMultipartUploadRequest' - ) - ), - 'parameters' => array( - 'ACL' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-acl', - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CacheControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - ), - 'GrantFullControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-full-control', - ), - 'GrantRead' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read', - ), - 'GrantReadACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read-acp', - ), - 'GrantWriteACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'StorageClass' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-storage-class', - ), - 'WebsiteRedirectLocation' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-website-redirect-location', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - 'ACP' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'PicOperations' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Pic-Operations', - ) - ) - ), - // 复制对象的方法. - 'CopyObject' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'CopyObjectOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CopyObjectRequest', - ), - ), - 'parameters' => array( - 'ACL' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-acl', - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CacheControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'CopySource' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source', - ), - 'CopySourceIfMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-match', - ), - 'CopySourceIfModifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-modified-since', - ), - 'CopySourceIfNoneMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-none-match', - ), - 'CopySourceIfUnmodifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-unmodified-since', - ), - 'Expires' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - ), - 'GrantFullControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-full-control', - ), - 'GrantRead' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read', - ), - 'GrantReadACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read-acp', - ), - 'GrantWriteACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'MetadataDirective' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-metadata-directive', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'StorageClass' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-storage-class', - ), - 'WebsiteRedirectLocation' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-website-redirect-location', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'CopySourceSSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-algorithm', - ), - 'CopySourceSSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key', - ), - 'CopySourceSSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key-MD5', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - 'ACP' => array( - 'type' => 'object', - 'additionalProperties' => true, - ) - ), - ), - // 删除存储桶 (Bucket)的方法. - 'DeleteBucket' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ) - ) - ), - // 删除跨域访问配置信息的方法 - 'DeleteBucketCors' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}?cors', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketCorsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - // 删除存储桶标签信息的方法 - 'DeleteBucketTagging' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}?tagging', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketTaggingOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - // 删除存储桶标清单任务的方法 - 'DeleteBucketInventory' => array( - 'httpMethod' => 'Delete', - 'uri' => '/{Bucket}?inventory', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketInventoryOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Id' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'id', - ) - ), - ), - // 删除 COS 上单个对象的方法. - 'DeleteObject' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteObjectOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'MFA' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-mfa', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ) - ) - ), - // 批量删除 COS 对象的方法. - 'DeleteObjects' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}?delete', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteObjectsOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'Delete', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Objects' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'sentAs' => 'Object', - 'properties' => array( - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'minLength' => 1, - ), - 'VersionId' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Quiet' => array( - 'type' => 'boolean', - 'format' => 'boolean-string', - 'location' => 'xml', - ), - 'MFA' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-mfa', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ) - ), - ), - // 删除存储桶(Bucket) 的website的方法. - 'DeleteBucketWebsite' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}?website', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketWebsiteOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - // 删除存储桶(Bucket) 的生命周期配置的方法. - 'DeleteBucketLifecycle' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}?lifecycle', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketLifecycleOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - // 删除跨区域复制配置的方法. - 'DeleteBucketReplication' => array( - 'httpMethod' => 'DELETE', - 'uri' => '/{Bucket}?replication', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketReplicationOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - // 下载对象的方法. - 'GetObject' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetObjectOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'IfMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match' - ), - 'IfModifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer' - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Modified-Since' - ), - 'IfNoneMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-None-Match' - ), - 'IfUnmodifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer' - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Unmodified-Since' - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'Range' => array( - 'type' => 'string', - 'location' => 'header'), - 'ResponseCacheControl' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-cache-control' - ), - 'ResponseContentDisposition' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-disposition' - ), - 'ResponseContentEncoding' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-encoding' - ), - 'ResponseContentLanguage' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-language' - ), - 'ResponseContentType' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'response-content-type' - ), - 'ResponseExpires' => array( - 'type' => array( - 'object', - 'string', - 'integer' - ), - 'format' => 'date-time-http', - 'location' => 'query', - 'sentAs' => 'response-expires' - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'TrafficLimit' => array( - 'type' => 'integer', - 'location' => 'header', - 'sentAs' => 'x-cos-traffic-limit', - ) - ) - ), - // 获取 COS 对象的访问权限信息(Access Control List, ACL)的方法. - 'GetObjectAcl' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}?acl', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetObjectAclOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ) - ) - ), - // 获取存储桶(Bucket) 的访问权限信息(Access Control List, ACL)的方法. - 'GetBucketAcl' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?acl', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketAclOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ) - ) - ), - // 查询存储桶(Bucket) 跨域访问配置信息的方法. - 'GetBucketCors' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?cors', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketCorsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 查询存储桶(Bucket) Domain配置信息的方法. - 'GetBucketDomain' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?domain', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketDomainOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 查询存储桶(Bucket) Accelerate配置信息的方法. - 'GetBucketAccelerate' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?accelerate', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketAccelerateOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 查询存储桶(Bucket) Website配置信息的方法. - 'GetBucketWebsite' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?website', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketWebsiteOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 查询存储桶(Bucket) 的生命周期配置的方法. - 'GetBucketLifecycle' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?lifecycle', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketLifecycleOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 获取存储桶(Bucket)版本控制信息的方法. - 'GetBucketVersioning' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?versioning', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketVersioningOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 获取存储桶(Bucket) 跨区域复制配置信息的方法. - 'GetBucketReplication' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?replication', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketReplicationOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 获取存储桶(Bucket) 所在的地域信息的方法. - 'GetBucketLocation' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?location', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketLocationOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - // 获取存储桶(Bucket) Notification信息的方法. - 'GetBucketNotification' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?notification', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketNotificationOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 获取存储桶(Bucket) 日志信息的方法. - 'GetBucketLogging' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?logging', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketLoggingOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 获取存储桶(Bucket) 清单信息的方法. - 'GetBucketInventory' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?inventory', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketInventoryOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Id' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'id', - ) - ), - ), - // 获取存储桶(Bucket) 标签信息的方法. - 'GetBucketTagging' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?tagging', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketTaggingOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ) - ), - ), - // 分块上传的方法. - 'UploadPart' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'UploadPartOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'UploadPartRequest' - ) - ), - 'parameters' => array( - 'Body' => array( - 'type' => array( - 'any'), - 'location' => 'body' - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length' - ), - 'ContentMD5' => array( - 'type' => array( - 'string', - 'boolean' - ), - 'location' => 'header', - 'sentAs' => 'Content-MD5' - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'PartNumber' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'partNumber'), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId'), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - 'TrafficLimit' => array( - 'type' => 'integer', - 'location' => 'header', - 'sentAs' => 'x-cos-traffic-limit', - ) - ) - ), - // 上传对象的方法. - 'PutObject' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutObjectOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'PutObjectRequest' - ) - ), - 'parameters' => array( - 'ACL' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-acl' - ), - 'Body' => array( - 'required' => true, - 'type' => array( - 'any' - ), - 'location' => 'body' - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'CacheControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control' - ), - 'ContentDisposition' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition' - ), - 'ContentEncoding' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding' - ), - 'ContentLanguage' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language' - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length' - ), - 'ContentMD5' => array( - 'type' => array( - 'string', - 'boolean' - ), - 'location' => 'header', - 'sentAs' => 'Content-MD5' - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type' - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'StorageClass' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-storage-class', - ), - 'WebsiteRedirectLocation' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-website-redirect-location', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-cos-kms-key-id', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - 'ACP' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - 'PicOperations' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Pic-Operations', - ), - 'TrafficLimit' => array( - 'type' => 'integer', - 'location' => 'header', - 'sentAs' => 'x-cos-traffic-limit', - ) - ) - ), - // 设置 COS 对象的访问权限信息(Access Control List, ACL)的方法. - 'PutObjectAcl' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}?acl', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutObjectAclOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'AccessControlPolicy', - ), - ), - 'parameters' => array( - 'ACL' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-acl', - ), - 'Grants' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string'), - 'ID' => array( - 'type' => 'string'), - 'Type' => array( - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance')), - 'URI' => array( - 'type' => 'string') )), - 'Permission' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'GrantFullControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-full-control', - ), - 'GrantRead' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read', - ), - 'GrantReadACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read-acp', - ), - 'GrantWrite' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-write', - ), - 'GrantWriteACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-write-acp', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - 'ACP' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - ) - ), - // 设置存储桶(Bucket) 的访问权限(Access Control List, ACL)的方法. - 'PutBucketAcl' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?acl', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketAclOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'AccessControlPolicy', - ), - ), - 'parameters' => array( - 'ACL' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-acl', - ), - 'Grants' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'name' => 'Grant', - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'EmailAddress' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - 'Type' => array( - 'required' => true, - 'type' => 'string', - 'sentAs' => 'xsi:type', - 'data' => array( - 'xmlAttribute' => true, - 'xmlNamespace' => 'http://www.w3.org/2001/XMLSchema-instance', - ), - ), - 'URI' => array( - 'type' => 'string', - ), - ), - ), - 'Permission' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'GrantFullControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-full-control', - ), - 'GrantRead' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read', - ), - 'GrantReadACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-read-acp', - ), - 'GrantWrite' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-write', - ), - 'GrantWriteACP' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-grant-write-acp', - ), - 'ACP' => array( - 'type' => 'object', - 'additionalProperties' => true, - ), - ), - ), - // 设置存储桶(Bucket) 的跨域配置信息的方法. - 'PutBucketCors' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?cors', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketCorsOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'CORSConfiguration', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CORSRules' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'CORSRule', - 'type' => 'object', - 'sentAs' => 'CORSRule', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'AllowedHeaders' => array( - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'AllowedHeader', - 'type' => 'string', - 'sentAs' => 'AllowedHeader', - ), - ), - 'AllowedMethods' => array( - 'required' => true, - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'AllowedMethod', - 'type' => 'string', - 'sentAs' => 'AllowedMethod', - ), - ), - 'AllowedOrigins' => array( - 'required' => true, - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'AllowedOrigin', - 'type' => 'string', - 'sentAs' => 'AllowedOrigin', - ), - ), - 'ExposeHeaders' => array( - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'ExposeHeader', - 'type' => 'string', - 'sentAs' => 'ExposeHeader', - ), - ), - 'MaxAgeSeconds' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - // 设置存储桶(Bucket) 的Domain信息的方法. - 'PutBucketDomain' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?domain', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketDomainOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'DomainConfiguration', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'DomainRules' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'DomainRule', - 'type' => 'object', - 'sentAs' => 'DomainRule', - 'properties' => array( - 'Status' => array( - 'required' => true, - 'type' => 'string', - ), - 'Name' => array( - 'required' => true, - 'type' => 'string', - ), - 'Type' => array( - 'required' => true, - 'type' => 'string', - ), - 'ForcedReplacement' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - // 设置存储桶(Bucket) 生命周期配置的方法. - 'PutBucketLifecycle' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?lifecycle', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketLifecycleOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'LifecycleConfiguration', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Rules' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Rule', - 'type' => 'object', - 'sentAs' => 'Rule', - 'properties' => array( - 'Expiration' => array( - 'type' => 'object', - 'properties' => array( - 'Date' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - ), - 'Days' => array( - 'type' => 'numeric', - ), - ), - ), - 'ID' => array( - 'type' => 'string', - ), - 'Filter' => array( - 'type' => 'object', - 'require' => true, - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - 'require' => true, - ), - 'Tag' => array( - 'type' => 'object', - 'require' => true, - 'properties' => array( - 'Key' => array( - 'type' => 'string' - ), - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey'), - 'Value' => array( - 'type' => 'string' - ), - ) - ) - ), - ), - 'Status' => array( - 'required' => true, - 'type' => 'string', - ), - 'Transitions' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Transition', - 'type' => 'object', - 'sentAs' => 'Transition', - 'properties' => array( - 'Date' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time', - ), - 'Days' => array( - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'type' => 'string', - )))), - 'NoncurrentVersionTransition' => array( - 'type' => 'object', - 'properties' => array( - 'NoncurrentDays' => array( - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - ), - ), - 'NoncurrentVersionExpiration' => array( - 'type' => 'object', - 'properties' => array( - 'NoncurrentDays' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - ), - ), - // 存储桶(Bucket)版本控制的方法. - 'PutBucketVersioning' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?versioning', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketVersioningOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'VersioningConfiguration', - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'MFA' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-mfa', - ), - 'MFADelete' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'MfaDelete', - ), - 'Status' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - // 配置存储桶(Bucket) Accelerate的方法. - 'PutBucketAccelerate' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?accelerate', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketAccelerateOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'AccelerateConfiguration', - ), - 'xmlAllowEmpty' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Status' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'xml', - ), - 'Type' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - // 配置存储桶(Bucket) website的方法. - 'PutBucketWebsite' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?website', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketWebsiteOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'WebsiteConfiguration', - ), - 'xmlAllowEmpty' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'ErrorDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - 'minLength' => 1, - ), - ), - ), - 'IndexDocument' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Suffix' => array( - 'required' => true, - 'type' => 'string', - ), - ), - ), - 'RedirectAllRequestsTo' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'HostName' => array( - 'type' => 'string', - ), - 'Protocol' => array( - 'type' => 'string', - ), - ), - ), - 'RoutingRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'RoutingRule', - 'type' => 'object', - 'properties' => array( - 'Condition' => array( - 'type' => 'object', - 'properties' => array( - 'HttpErrorCodeReturnedEquals' => array( - 'type' => 'string', - ), - 'KeyPrefixEquals' => array( - 'type' => 'string', - ), - ), - ), - 'Redirect' => array( - 'type' => 'object', - 'properties' => array( - 'HostName' => array( - 'type' => 'string', - ), - 'HttpRedirectCode' => array( - 'type' => 'string', - ), - 'Protocol' => array( - 'type' => 'string', - ), - 'ReplaceKeyPrefixWith' => array( - 'type' => 'string', - ), - 'ReplaceKeyWith' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - // 配置存储桶(Bucket) 跨区域复制的方法. - 'PutBucketReplication' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?replication', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketReplicationOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'ReplicationConfiguration', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Role' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'xml', - ), - 'Rules' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'ReplicationRule', - 'type' => 'object', - 'sentAs' => 'Rule', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'Prefix' => array( - 'required' => true, - 'type' => 'string', - ), - 'Status' => array( - 'required' => true, - 'type' => 'string', - ), - 'Destination' => array( - 'required' => true, - 'type' => 'object', - 'properties' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - // 设置存储桶(Bucket) 的回调设置的方法. - 'PutBucketNotification' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?notification', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketNotificationOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'NotificationConfiguration', - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CloudFunctionConfigurations' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'CloudFunctionConfiguration', - 'type' => 'object', - 'sentAs' => 'CloudFunctionConfiguration', - 'properties' => array( - 'Id' => array( - 'type' => 'string', - ), - 'CloudFunction' => array( - 'required' => true, - 'type' => 'string', - 'sentAs' => 'CloudFunction', - ), - 'Events' => array( - 'required' => true, - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'Event', - 'type' => 'string', - 'sentAs' => 'Event', - ), - ), - 'Filter' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'object', - 'sentAs' => 'Key', - 'properties' => array( - 'FilterRules' => array( - 'type' => 'array', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'name' => 'FilterRule', - 'type' => 'object', - 'sentAs' => 'FilterRule', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - ), - 'Value' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - ), - ), - ), - ), - ), - ), - // 配置存储桶(Bucket) 标签的方法. - 'PutBucketTagging' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?tagging', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketTaggingOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'Tagging', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'TagSet' => array( - 'required' => true, - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'TagRule', - 'type' => 'object', - 'sentAs' => 'Tag', - 'properties' => array( - 'Key' => array( - 'required' => true, - 'type' => 'string', - ), - 'Value' => array( - 'required' => true, - 'type' => 'string', - ), - ), - ), - ), - ), - ), - //开启存储桶(Bucket) 日志服务的方法. - 'PutBucketLogging' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?logging', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketLoggingOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'BucketLoggingStatus', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'LoggingEnabled' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'TargetBucket' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'TargetPrefix' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ) - ), - ), - ), - // 配置存储桶(Bucket) 清单的方法. - 'PutBucketInventory' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?inventory', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketInventoryOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'InventoryConfiguration', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Id' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'xml', - ), - 'IsEnabled' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'xml', - ), - 'Destination' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'COSBucketDestination'=> array( - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - 'require' => true, - ), - 'AccountId' => array( - 'type' => 'string', - 'require' => true, - ), - 'Bucket' => array( - 'type' => 'string', - 'require' => true, - ), - 'Prefix' => array( - 'type' => 'string', - ), - 'Encryption' => array( - 'type' => 'object', - 'properties' => array( - 'SSE-COS' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - 'Schedule' => array( - 'required' => true, - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Frequency' => array( - 'type' => 'string', - 'require' => true, - ), - ) - ), - 'Filter' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - ), - ) - ), - 'IncludedObjectVersions' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'xml', - ), - 'OptionalFields' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Fields', - 'type' => 'string', - 'sentAs' => 'Field', - ), - ), - ), - ), - // 回热归档对象的方法. - 'RestoreObject' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}?restore', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'RestoreObjectOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'RestoreRequest', - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'Days' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'xml', - ), - 'CASJobParameters' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Tier' => array( - 'type' => 'string', - 'required' => true, - ), - ), - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - ), - ), - // 查询存储桶(Bucket)中正在进行中的分块上传对象的方法. - 'ListParts' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ListPartsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'MaxParts' => array( - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-parts'), - 'PartNumberMarker' => array( - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'part-number-marker' - ), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId' - ) - ) - ), - // 查询存储桶(Bucket) 下的部分或者全部对象的方法. - 'ListObjects' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ListObjectsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'Delimiter' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'delimiter' - ), - 'EncodingType' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'encoding-type' - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'marker' - ), - 'MaxKeys' => array( - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-keys' - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'prefix' - ) - ) - ), - // 获取所属账户的所有存储空间列表的方法. - 'ListBuckets' => array( - 'httpMethod' => 'GET', - 'uri' => '/', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ListBucketsOutput', - 'responseType' => 'model', - 'parameters' => array( - ), - ), - // 获取多版本对象的方法. - 'ListObjectVersions' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?versions', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ListObjectVersionsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Delimiter' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'delimiter', - ), - 'EncodingType' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'encoding-type', - ), - 'KeyMarker' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'key-marker', - ), - 'MaxKeys' => array( - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-keys', - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'prefix', - ), - 'VersionIdMarker' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'version-id-marker', - ) - ), - ), - // 获取已上传分块列表的方法 - 'ListMultipartUploads' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?uploads', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ListMultipartUploadsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Delimiter' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'delimiter', - ), - 'EncodingType' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'encoding-type', - ), - 'KeyMarker' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'key-marker', - ), - 'MaxUploads' => array( - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'max-uploads', - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'prefix', - ), - 'UploadIdMarker' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'upload-id-marker', - ) - ), - ), - // 获取清单列表的方法. - 'ListBucketInventoryConfigurations' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?inventory', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ListBucketInventoryConfigurationsOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri' - ), - 'ContinuationToken' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'continuation-token', - ), - ), - ), - // 获取对象的meta信息的方法 - 'HeadObject' => array( - 'httpMethod' => 'HEAD', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'HeadObjectOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'IfMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-Match', - ), - 'IfModifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Modified-Since', - ), - 'IfNoneMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'If-None-Match', - ), - 'IfUnmodifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'If-Unmodified-Since', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'Range' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'versionId', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ), - ) - ), - // 存储桶(Bucket) 是否存在的方法. - 'HeadBucket' => array( - 'httpMethod' => 'HEAD', - 'uri' => '/{Bucket}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'HeadBucketOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ) - ), - // 分块copy的方法. - 'UploadPartCopy' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}{/Key*}', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'UploadPartCopyOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'UploadPartCopyRequest', - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'CopySource' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source', - ), - 'CopySourceIfMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-match', - ), - 'CopySourceIfModifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-modified-since', - ), - 'CopySourceIfNoneMatch' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-none-match', - ), - 'CopySourceIfUnmodifiedSince' => array( - 'type' => array( - 'object', - 'string', - 'integer', - ), - 'format' => 'date-time-http', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-if-unmodified-since', - ), - 'CopySourceRange' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-range', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'PartNumber' => array( - 'required' => true, - 'type' => 'numeric', - 'location' => 'query', - 'sentAs' => 'partNumber', - ), - 'UploadId' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'uploadId', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'CopySourceSSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-algorithm', - ), - 'CopySourceSSECustomerKey' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key', - ), - 'CopySourceSSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-server-side-encryption-customer-key-MD5', - ), - 'RequestPayer' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-payer', - ) - ), - ), - 'SelectObjectContent' => array( - 'httpMethod' => 'Post', - 'uri' => '/{/Key*}?select&select-type=2', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'SelectObjectContentOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'SelectRequest', - ), - 'contentMd5' => true, - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey') - ), - 'Expression' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'ExpressionType' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'InputSerialization' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'CompressionType' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'CSV' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'FileHeaderInfo' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RecordDelimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'FieldDelimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'QuoteCharacter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'QuoteEscapeCharacter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Comments' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'AllowQuotedRecordDelimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ) - ), - 'JSON' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Type' => array( - 'type' => 'string', - 'location' => 'xml', - ) - ) - ), - ) - ), - 'OutputSerialization' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'CompressionType' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'CSV' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'QuoteFields' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RecordDelimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'FieldDelimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'QuoteCharacter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'QuoteEscapeCharacter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ) - ), - 'JSON' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'RecordDelimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ) - ) - ), - ) - ), - 'RequestProgress' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'Enabled' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ) - ), - ), - ), - // 存储桶(Bucket)开启智能分层 - 'PutBucketIntelligentTiering' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?intelligenttiering', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketIntelligentTieringOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'IntelligentTieringConfiguration', - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Status' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Transition' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'Days' => array( - 'type' => 'integer', - 'location' => 'xml', - ), - 'RequestFrequent' => array( - 'type' => 'integer', - 'location' => 'xml', - ), - ) - ), - ), - ), - // 查询存储桶(Bucket)智能分层 - 'GetBucketIntelligentTiering' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?intelligenttiering', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketIntelligentTieringOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - //万象-获取图片基本信息 - 'ImageInfo' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}?imageInfo', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ImageInfoOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - ) - ), - //万象-获取图片EXIF信息 - 'ImageExif' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}?exif', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ImageExifOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - ) - ), - //万象-获取图片主色调信息 - 'ImageAve' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}?imageAve', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ImageAveOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - ), - ), - //万象-云上数据处理 - 'ImageProcess' => array( - 'httpMethod' => 'POST', - 'uri' => '/{Bucket}{/Key*}?image_process', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'ImageProcessOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'PicOperations' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Pic-Operations', - ), - ), - ), - //万象-二维码下载时识别 - 'Qrcode' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}?ci-process=QRcode', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'QrcodeOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - 'Cover' => array( - 'type' => 'integer', - 'location' => 'query', - 'sentAs' => 'cover' - ), - ), - ), - //万象-二维码生成 - 'QrcodeGenerate' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?ci-process=qrcode-generate', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'QrcodeGenerateOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'QrcodeContent' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'qrcode-content' - ), - 'QrcodeMode' => array( - 'type' => 'integer', - 'location' => 'query', - 'sentAs' => 'mode' - ), - 'QrcodeWidth' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'query', - 'sentAs' => 'width' - ), - ), - ), - //万象-图片标签 - 'DetectLabel' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}{/Key*}?ci-process=detect-label', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DetectLabelOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'Key' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - 'minLength' => 1, - 'filters' => array( - 'Qcloud\\Cos\\Client::explodeKey' - ) - ), - ), - ), - //万象-增加样式 - 'PutBucketImageStyle' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?style', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketImageStyleOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'AddStyle', - ), - ), - 'parameters' => array( - 'StyleName' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'StyleBody' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - //万象-查询样式 - 'GetBucketImageStyle' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?style', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketImageStyleOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'GetStyle', - ), - ), - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - 'StyleName' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - //万象-删除样式 - 'DeleteBucketImageStyle' => array( - 'httpMethod' => 'Delete', - 'uri' => '/{Bucket}?style', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketImageStyleOutput', - 'responseType' => 'model', - 'data' => array( - 'xmlRoot' => array( - 'name' => 'DeleteStyle', - ), - ), - 'parameters' => array( - 'StyleName' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - //万象-开通Guetzli压缩 - 'PutBucketGuetzli' => array( - 'httpMethod' => 'PUT', - 'uri' => '/{Bucket}?guetzli', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'PutBucketGuetzliOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - //万象-查询Guetzli状态 - 'GetBucketGuetzli' => array( - 'httpMethod' => 'GET', - 'uri' => '/{Bucket}?guetzli', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'GetBucketGuetzliOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - //万象-关闭Guetzli压缩 - 'DeleteBucketGuetzli' => array( - 'httpMethod' => 'Delete', - 'uri' => '/{Bucket}?guetzli', - 'class' => 'Qcloud\\Cos\\Command', - 'responseClass' => 'DeleteBucketGuetzliOutput', - 'responseType' => 'model', - 'parameters' => array( - 'Bucket' => array( - 'required' => true, - 'type' => 'string', - 'location' => 'uri', - ), - ), - ), - ), - 'models' => array( - 'AbortMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'CreateBucketOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'type' => 'string', - 'location' => 'header' - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'CompleteMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Bucket' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Key' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'Expiration' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-expiration', - ), - 'ETag' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-version-id', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ImageInfo' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - ), - 'Width' => array( - 'type' => 'string', - ), - 'Height' => array( - 'type' => 'string', - ), - 'Quality' => array( - 'type' => 'string', - ), - 'Ave' => array( - 'type' => 'string', - ), - 'Orientation' => array( - 'type' => 'string', - ), - ), - ), - 'ProcessResults' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Object' => array( - 'type' => 'array', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'Location' => array( - 'type' => 'string', - ), - 'Format' => array( - 'type' => 'string', - ), - 'Width' => array( - 'type' => 'string', - ), - 'Height' => array( - 'type' => 'string', - ), - 'Size' => array( - 'type' => 'string', - ), - 'Quality' => array( - 'type' => 'string', - ), - 'ETag' => array( - 'type' => 'string', - ), - 'WatermarkStatus' => array( - 'type' => 'integer', - ), - ), - ), - ), - ), - ), - ), - ), - 'CreateMultipartUploadOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Bucket' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'Bucket' - ), - 'Key' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'UploadId' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ) - ) - ), - 'CopyObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ETag' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModified' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Expiration' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-expiration', - ), - 'CopySourceVersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-version-id', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-version-id', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteBucketOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'DeleteBucketCorsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteBucketTaggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteBucketInventoryOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DeleteMarker' => array( - 'type' => 'boolean', - 'location' => 'header', - 'sentAs' => 'x-cos-delete-marker', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-version-id', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteObjectsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Deleted' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Deleted', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'VersionId' => array( - 'type' => 'string', - ), - 'DeleteMarker' => array( - 'type' => 'boolean', - ), - 'DeleteMarkerVersionId' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'Errors' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Error', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'VersionId' => array( - 'type' => 'string', - ), - 'Code' => array( - 'type' => 'string', - ), - 'Message' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteBucketLifecycleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteBucketReplicationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'DeleteBucketWebsiteOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - 'DeleteMarker' => array( - 'type' => 'boolean', - 'location' => 'header', - 'sentAs' => 'x-cos-delete-marker', - ), - 'AcceptRanges' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'accept-ranges', - ), - 'Expiration' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-expiration', - ), - 'Restore' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-restore', - ), - 'LastModified' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Last-Modified', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - 'ETag' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'MissingMeta' => array( - 'type' => 'numeric', - 'location' => 'header', - 'sentAs' => 'x-cos-missing-meta', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-version-id', - ), - 'CacheControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentRange' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Range', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'WebsiteRedirectLocation' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-website-redirect-location', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'StorageClass' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-storage-class', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'ReplicationStatus' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-replication-status', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetObjectAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Grants' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string'), - 'ID' => array( - 'type' => 'string'))), - 'Permission' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string' - ), - 'ID' => array( - 'type' => 'string' - ) - ) - ), - 'Grants' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'AccessControlList', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Grantee' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string' - ), - 'ID' => array( - 'type' => 'string' - ) - ) - ), - 'Permission' => array( - 'type' => 'string' - ) - ) - ) - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'GetBucketCorsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CORSRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'CORSRule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string'), - 'AllowedHeaders' => array( - 'type' => 'array', - 'sentAs' => 'AllowedHeader', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => [ - 'type' => 'string', - ] - ), - 'AllowedMethods' => array( - 'type' => 'array', - 'sentAs' => 'AllowedMethod', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - ), - ), - 'AllowedOrigins' => array( - 'type' => 'array', - 'sentAs' => 'AllowedOrigin', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - ), - ), - 'ExposeHeaders' => array( - 'type' => 'array', - 'sentAs' => 'ExposeHeader', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - ), - ), - 'MaxAgeSeconds' => array( - 'type' => 'numeric', - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketDomainOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DomainRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'DomainRule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Status' => array( - 'type' => 'string' - ), - 'Name' => array( - 'type' => 'string' - ), - 'Type' => array( - 'type' => 'string' - ), - 'ForcedReplacement' => array( - 'type' => 'string' - ), - ), - ), - ), - 'DomainTxtVerification' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-domain-txt-verification', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketLifecycleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Rules' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Rule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Expiration' => array( - 'type' => 'object', - 'properties' => array( - 'Date' => array( - 'type' => 'string', - ), - 'Days' => array( - 'type' => 'numeric', - ), - ), - ), - 'ID' => array( - 'type' => 'string', - ), - 'Filter' => array( - 'type' => 'object', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - ), - 'Tag' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string' - ), - 'Value' => array( - 'type' => 'string' - ), - ) - ) - ), - ), - 'Status' => array( - 'type' => 'string', - ), - 'Transition' => array( - 'type' => 'object', - 'properties' => array( - 'Date' => array( - 'type' => 'string', - ), - 'Days' => array( - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - ), - ), - 'NoncurrentVersionTransition' => array( - 'type' => 'object', - 'properties' => array( - 'NoncurrentDays' => array( - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - ), - ), - 'NoncurrentVersionExpiration' => array( - 'type' => 'object', - 'properties' => array( - 'NoncurrentDays' => array( - 'type' => 'numeric', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketVersioningOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Status' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'MFADelete' => array( - 'type' => 'string', - 'location' => 'xml', - 'sentAs' => 'MfaDelete', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketReplicationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Role' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Rules' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Rule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'Prefix' => array( - 'type' => 'string', - ), - 'Status' => array( - 'type' => 'string', - ), - 'Destination' => array( - 'type' => 'object', - 'properties' => array( - 'Bucket' => array( - 'type' => 'string', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketLocationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Location' => array( - 'type' => 'string', - 'location' => 'body', - 'filters' => array( - 'strval', - 'strip_tags', - 'trim', - ), - ), - ), - ), - 'GetBucketAccelerateOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Status' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Type' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketWebsiteOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RedirectAllRequestsTo' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'HostName' => array( - 'type' => 'string', - ), - 'Protocol' => array( - 'type' => 'string', - ), - ), - ), - 'IndexDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Suffix' => array( - 'type' => 'string', - ), - ), - ), - 'ErrorDocument' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - ), - ), - 'RoutingRules' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'RoutingRule', - 'type' => 'object', - 'sentAs' => 'RoutingRule', - 'properties' => array( - 'Condition' => array( - 'type' => 'object', - 'properties' => array( - 'HttpErrorCodeReturnedEquals' => array( - 'type' => 'string', - ), - 'KeyPrefixEquals' => array( - 'type' => 'string', - ), - ), - ), - 'Redirect' => array( - 'type' => 'object', - 'properties' => array( - 'HostName' => array( - 'type' => 'string', - ), - 'HttpRedirectCode' => array( - 'type' => 'string', - ), - 'Protocol' => array( - 'type' => 'string', - ), - 'ReplaceKeyPrefixWith' => array( - 'type' => 'string', - ), - 'ReplaceKeyWith' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketInventoryOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Destination' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'COSBucketDestination' => array( - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - ), - 'AccountId' => array( - 'type' => 'string', - ), - 'Bucket' => array( - 'type' => 'string', - ), - 'Prefix' => array( - 'type' => 'string', - ), - 'Encryption' => array( - 'type' => 'object', - 'properties' => array( - 'SSE-COS' => array( - 'type' => 'string', - ) - ) - ), - - ), - ), - ), - ), - 'Schedule' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Frequency' => array( - 'type' => 'string', - ), - ), - ), - 'OptionalFields' => array( - 'type' => 'array', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - ), - ), - 'OptionalFields' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Field', - 'type' => 'string', - 'sentAs' => 'Field', - ), - ), - 'IsEnabled' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Id' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'IncludedObjectVersions' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketTaggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'TagSet' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'sentAs' => 'Tag', - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'Value' => array( - 'type' => 'string', - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketNotificationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CloudFunctionConfigurations' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'CloudFunctionConfiguration', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Id' => array( - 'type' => 'string', - ), - 'CloudFunction' => array( - 'type' => 'string', - 'sentAs' => 'CloudFunction', - ), - 'Events' => array( - 'type' => 'array', - 'sentAs' => 'Event', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'string', - ), - ), - 'Filter' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'object', - 'sentAs' => 'Key', - 'properties' => array( - 'FilterRules' => array( - 'type' => 'array', - 'sentAs' => 'FilterRule', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - ), - 'Value' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketLoggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'LoggingEnabled' => array( - 'location' => 'xml', - 'type' => 'object', - 'properties' => array( - 'TargetBucket' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'TargetPrefix' => array( - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'UploadPartOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'ETag' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'UploadPartCopyOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'CopySourceVersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-copy-source-version-id', - ), - 'ETag' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'LastModified' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'PutObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Expiration' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-expiration', - ), - 'ETag' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-version-id', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - ), - ), - 'PutObjectAclOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketCorsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketDomainOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketLifecycleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketVersioningOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketReplicationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketNotificationOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketWebsiteOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketAccelerateOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketLoggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketInventoryOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketTaggingOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'RestoreObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'ListPartsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Bucket' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'Key' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'UploadId' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'PartNumberMarker' => array( - 'type' => 'numeric', - 'location' => 'xml' - ), - 'NextPartNumberMarker' => array( - 'type' => 'numeric', - 'location' => 'xml' - ), - 'MaxParts' => array( - 'type' => 'numeric', - 'location' => 'xml' - ), - 'IsTruncated' => array( - 'type' => 'boolean', - 'location' => 'xml' - ), - 'Parts' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Part', - 'data' => array( - 'xmlFlattened' => true - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'PartNumber' => array( - 'type' => 'numeric' - ), - 'LastModified' => array( - 'type' => 'string' - ), - 'ETag' => array( - 'type' => 'string' - ), - 'Size' => array( - 'type' => 'numeric' - ) - ) - ) - ), - 'Initiator' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'ID' => array( - 'type' => 'string' - ), - 'DisplayName' => array( - 'type' => 'string' - ) - ) - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string' - ), - 'ID' => array( - 'type' => 'string' - ) - ) - ), - 'StorageClass' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'ListObjectsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IsTruncated' => array( - 'type' => 'boolean', - 'location' => 'xml' - ), - 'Marker' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'NextMarker' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'Contents' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string' - ), - 'LastModified' => array( - 'type' => 'string' - ), - 'ETag' => array( - 'type' => 'string' - ), - 'Size' => array( - 'type' => 'numeric' - ), - 'StorageClass' => array( - 'type' => 'string' - ), - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string' - ), - 'ID' => array( - 'type' => 'string' - ) - ) - ) - ) - ) - ), - 'Name' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'Delimiter' => array( - 'type' => 'string', - 'location' => 'xml' - ), - 'MaxKeys' => array( - 'type' => 'numeric', - 'location' => 'xml' - ), - 'CommonPrefixes' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string' - ) - ) - ) - ), - 'EncodingType' => array( - 'type' => 'string', - 'location' => 'xml'), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id' - ) - ) - ), - 'ListBucketsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Buckets' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Name' => array( - 'type' => 'string', - ), - 'CreationDate' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Owner' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'ListObjectVersionsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'IsTruncated' => array( - 'type' => 'boolean', - 'location' => 'xml', - ), - 'KeyMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'VersionIdMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'NextKeyMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'NextVersionIdMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Version' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'ETag' => array( - 'type' => 'string', - ), - 'Size' => array( - 'type' => 'numeric', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - 'Key' => array( - 'type' => 'string', - ), - 'VersionId' => array( - 'type' => 'string', - ), - 'IsLatest' => array( - 'type' => 'boolean', - ), - 'LastModified' => array( - 'type' => 'string', - ), - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DeleteMarkers' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'DeleteMarker', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Key' => array( - 'type' => 'string', - ), - 'VersionId' => array( - 'type' => 'string', - ), - 'IsLatest' => array( - 'type' => 'boolean', - ), - 'LastModified' => array( - 'type' => 'string', - ), - ), - ), - ), - 'Name' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Delimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxKeys' => array( - 'type' => 'numeric', - 'location' => 'xml', - ), - 'CommonPrefixes' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - ), - ), - ), - ), - 'EncodingType' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'ListMultipartUploadsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Bucket' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'KeyMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'UploadIdMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'NextKeyMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Prefix' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Delimiter' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'NextUploadIdMarker' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'MaxUploads' => array( - 'type' => 'numeric', - 'location' => 'xml', - ), - 'IsTruncated' => array( - 'type' => 'boolean', - 'location' => 'xml', - ), - 'Uploads' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'Upload', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'UploadId' => array( - 'type' => 'string', - ), - 'Key' => array( - 'type' => 'string', - ), - 'Initiated' => array( - 'type' => 'string', - ), - 'StorageClass' => array( - 'type' => 'string', - ), - 'Owner' => array( - 'type' => 'object', - 'properties' => array( - 'DisplayName' => array( - 'type' => 'string', - ), - 'ID' => array( - 'type' => 'string', - ), - ), - ), - 'Initiator' => array( - 'type' => 'object', - 'properties' => array( - 'ID' => array( - 'type' => 'string', - ), - 'DisplayName' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'CommonPrefixes' => array( - 'type' => 'array', - 'location' => 'xml', - 'data' => array( - 'xmlFlattened' => true, - ), - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Prefix' => array( - 'type' => 'string', - ), - ), - ), - ), - 'EncodingType' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'ListBucketInventoryConfigurationsOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'InventoryConfiguration' => array( - 'type' => 'array', - 'location' => 'xml', - 'sentAs' => 'InventoryConfiguration', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Destination' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'COSBucketDestination' => array( - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - ), - 'AccountId' => array( - 'type' => 'string', - ), - 'Bucket' => array( - 'type' => 'string', - ), - 'Prefix' => array( - 'type' => 'string', - ), - 'Encryption' => array( - 'type' => 'object', - 'properties' => array( - 'SSE-COS' => array( - 'type' => 'string', - ) - ) - ), - - ), - ), - ), - ), - 'Schedule' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Frequency' => array( - 'type' => 'string', - ), - ), - ), - 'OptionalFields' => array( - 'type' => 'array', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - ), - ), - 'OptionalFields' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'name' => 'Field', - 'type' => 'string', - 'sentAs' => 'Field', - ), - ), - 'IsEnabled' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Id' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'IncludedObjectVersions' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - ), - ), - ), - 'HeadObjectOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'DeleteMarker' => array( - 'type' => 'boolean', - 'location' => 'header', - 'sentAs' => 'x-cos-delete-marker', - ), - 'AcceptRanges' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'accept-ranges', - ), - 'Expiration' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-expiration', - ), - 'Restore' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-restore', - ), - 'LastModified' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Last-Modified', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - 'ETag' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'MissingMeta' => array( - 'type' => 'numeric', - 'location' => 'header', - 'sentAs' => 'x-cos-missing-meta', - ), - 'VersionId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-version-id', - ), - 'CacheControl' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Cache-Control', - ), - 'ContentDisposition' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Disposition', - ), - 'ContentEncoding' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Encoding', - ), - 'ContentLanguage' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Language', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'Expires' => array( - 'type' => 'string', - 'location' => 'header', - ), - 'WebsiteRedirectLocation' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-website-redirect-location', - ), - 'ServerSideEncryption' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption', - ), - 'SSECustomerAlgorithm' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-algorithm', - ), - 'SSECustomerKeyMD5' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-customer-key-MD5', - ), - 'SSEKMSKeyId' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-server-side-encryption-aws-kms-key-id', - ), - 'StorageClass' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-storage-class', - ), - 'RequestCharged' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-request-charged', - ), - 'ReplicationStatus' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'x-cos-replication-status', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ) - ) - ), - 'HeadBucketOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'SelectObjectContentOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RawData' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - ), - ), - 'GetBucketIntelligentTieringOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Status' => array( - 'type' => 'string', - 'location' => 'xml', - ), - 'Transition' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Days' => array( - 'type' => 'string', - ), - 'RequestFrequent' => array( - 'type' => 'string', - ), - ) - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketIntelligentTieringOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'ImageInfoOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - ), - ), - 'ImageExifOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - ), - ), - 'ImageAveOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ContentType' => array( - 'type' => 'string', - 'location' => 'header', - 'sentAs' => 'Content-Type', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - ), - ), - 'ImageProcessOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'OriginalInfo' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'Location' => array( - 'type' => 'string', - ), - 'ETag' => array( - 'type' => 'string', - ), - 'ImageInfo' => array( - 'type' => 'object', - 'properties' => array( - 'Format' => array( - 'type' => 'string', - ), - 'Width' => array( - 'type' => 'string', - ), - 'Height' => array( - 'type' => 'string', - ), - 'Quality' => array( - 'type' => 'string', - ), - 'Ave' => array( - 'type' => 'string', - ), - 'Orientation' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'ProcessResults' => array( - 'type' => 'object', - 'location' => 'xml', - 'properties' => array( - 'Object' => array( - 'type' => 'array', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Key' => array( - 'type' => 'string', - ), - 'Location' => array( - 'type' => 'string', - ), - 'Format' => array( - 'type' => 'string', - ), - 'Width' => array( - 'type' => 'string', - ), - 'Height' => array( - 'type' => 'string', - ), - 'Size' => array( - 'type' => 'string', - ), - 'Quality' => array( - 'type' => 'string', - ), - 'ETag' => array( - 'type' => 'string', - ), - 'WatermarkStatus' => array( - 'type' => 'integer', - ), - ), - ), - ), - ), - ), - ), - ), - 'QrcodeOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'CodeStatus' => array( - 'type' => 'integer', - 'location' => 'xml', - ), - 'QRcodeInfo' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'CodeUrl' => array( - 'type' => 'string', - ), - 'Point' => array( - 'type' => 'array', - 'items' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - 'ResultImage' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'QrcodeGenerateOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ResultImage' => array( - 'type' => 'string', - 'location' => 'xml', - ), - ), - ), - 'DetectLabelOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'Labels' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'Confidence' => array( - 'type' => 'integer', - ), - 'Name' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'PutBucketImageStyleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketImageStyleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'StyleRule' => array( - 'type' => 'array', - 'location' => 'xml', - 'items' => array( - 'type' => 'object', - 'properties' => array( - 'StyleName' => array( - 'type' => 'string', - ), - 'StyleBody' => array( - 'type' => 'string', - ), - ), - ), - ), - ), - ), - 'DeleteBucketImageStyleOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'PutBucketGuetzliOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - 'GetBucketGuetzliOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - 'ContentLength' => array( - 'type' => 'numeric', - 'minimum'=> 0, - 'location' => 'header', - 'sentAs' => 'Content-Length', - ), - 'Body' => array( - 'type' => 'string', - 'instanceOf' => 'GuzzleHttp\\Psr7\\Stream', - 'location' => 'body', - ), - ), - ), - 'DeleteBucketGuetzliOutput' => array( - 'type' => 'object', - 'additionalProperties' => true, - 'properties' => array( - 'RequestId' => array( - 'location' => 'header', - 'sentAs' => 'x-cos-request-id', - ), - ), - ), - ) - ); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Signature.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Signature.php deleted file mode 100644 index 8974c841..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Signature.php +++ /dev/null @@ -1,103 +0,0 @@ -accessKey = $accessKey; - $this->secretKey = $secretKey; - $this->token = $token; - $this->signHeader = [ - 'host', - 'content-type', - 'content-md5', - 'content-disposition', - 'content-encoding', - 'content-length', - 'transfer-encoding', - 'range', - ]; - date_default_timezone_set( 'PRC' ); - } - - public function __destruct() { - } - - public function needCheckHeader( $header ) { - if ( startWith( $header, 'x-cos-' ) ) { - return true; - } - if ( in_array( $header, $this->signHeader ) ) { - return true; - } - return false; - } - - public function signRequest( RequestInterface $request ) { - $authorization = $this->createAuthorization( $request ); - return $request->withHeader( 'Authorization', $authorization ); - } - - public function createAuthorization( RequestInterface $request, $expires = '+30 minutes' ) { - if ( is_null( $expires ) ) { - $expires = '+30 minutes'; - } - $signTime = ( string )( time() - 60 ) . ';' . ( string )( strtotime( $expires ) ); - $urlParamListArray = []; - foreach ( explode( '&', $request->getUri()->getQuery() ) as $query ) { - if (!empty($query)) { - $tmpquery = explode( '=', $query ); - $key = strtolower( $tmpquery[0] ); - if (count($tmpquery) >= 2) { - $value = $tmpquery[1]; - } else { - $value = ""; - } - $urlParamListArray[$key] = $key. '='. $value; - } - } - ksort($urlParamListArray); - $urlParamList = join(';', array_keys($urlParamListArray)); - $httpParameters = join('&', array_values($urlParamListArray)); - - $headerListArray = []; - foreach ( $request->getHeaders() as $key => $value ) { - $key = strtolower( urlencode( $key ) ); - $value = rawurlencode( $value[0] ); - if ( $this->needCheckHeader( $key ) ) { - $headerListArray[$key] = $key. '='. $value; - } - } - ksort($headerListArray); - $headerList = join(';', array_keys($headerListArray)); - $httpHeaders = join('&', array_values($headerListArray)); - $httpString = strtolower( $request->getMethod() ) . "\n" . urldecode( $request->getUri()->getPath() ) . "\n" . $httpParameters. - "\n". $httpHeaders. "\n"; - $sha1edHttpString = sha1( $httpString ); - $stringToSign = "sha1\n$signTime\n$sha1edHttpString\n"; - $signKey = hash_hmac( 'sha1', $signTime, $this->secretKey ); - $signature = hash_hmac( 'sha1', $stringToSign, $signKey ); - $authorization = 'q-sign-algorithm=sha1&q-ak='. $this->accessKey . - "&q-sign-time=$signTime&q-key-time=$signTime&q-header-list=$headerList&q-url-param-list=$urlParamList&" . - "q-signature=$signature"; - return $authorization; - } - - public function createPresignedUrl( RequestInterface $request, $expires = '+30 minutes' ) { - $authorization = $this->createAuthorization( $request, $expires ); - $uri = $request->getUri(); - $query = 'sign='.urlencode( $authorization ) . '&' . $uri->getQuery(); - if ( $this->token != null ) { - $query = $query.'&x-cos-security-token='.$this->token; - } - $uri = $uri->withQuery( $query ); - return $uri; - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/SignatureMiddleware.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/SignatureMiddleware.php deleted file mode 100644 index 78f206ab..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/SignatureMiddleware.php +++ /dev/null @@ -1,28 +0,0 @@ -nextHandler = $nextHandler; - $this->signature = new Signature($accessKey, $secretKey); - } - - public function __invoke(RequestInterface $request, array $options) { - $fn = $this->nextHandler; - return $fn($this->signature->signRequest($request), $options); - } -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Tests/COSTest.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Tests/COSTest.php deleted file mode 100644 index 3d535c5d..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Tests/COSTest.php +++ /dev/null @@ -1,1800 +0,0 @@ -bucket = getenv('COS_BUCKET'); - $this->region = getenv('COS_REGION'); - $this->bucket2 = "tmp".$this->bucket; - $this->cosClient = new Client(array('region' => $this->region, - 'credentials' => array( - 'secretId' => getenv('COS_KEY'), - 'secretKey' => getenv('COS_SECRET')))); - try { - $this->cosClient->createBucket(['Bucket' => $this->bucket]); - } catch(\Exception $e) { - } - } - - protected function tearDown(): void { - } - - function generateRandomString($length = 10) { - $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; - $randomString = ''; - for ($i = 0; $i < $length; $i++) { - $randomString .= $characters[rand(0, strlen($characters) - 1)]; - } - return $randomString; - } - - function generateRandomFile($size = 10, $filename = 'random-file') { - exec("dd if=/dev/urandom of=". $filename. " bs=1 count=". (string)$size); - } - - /********************************** - * TestBucket - **********************************/ - - /* - * put bucket,bucket已经存在 - * BucketAlreadyOwnedByYou - * 409 - */ - public function testCreateExistingBucket() - { - try { - $this->cosClient->createBucket(['Bucket' => $this->bucket]); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'BucketAlreadyOwnedByYou' && $e->getStatusCode() === 409); - } - } - - /* - * put bucket, 创建所有region的bucket - * 409 - */ - public function testValidRegionBucket() - { - $regionlist = array('cn-east','ap-shanghai', - 'cn-south','ap-guangzhou', - 'cn-north','ap-beijing-1', - 'cn-southwest','ap-chengdu', - 'sg','ap-singapore', - 'tj','ap-beijing-1', - 'bj','ap-beijing', - 'sh','ap-shanghai', - 'gz','ap-guangzhou', - 'cd','ap-chengdu', - 'sgp','ap-singapore'); - foreach ($regionlist as$region) { - try { - $this->cosClient = new Client(array('region' => $region, - 'credentials' => array( - 'appId' => getenv('COS_APPID'), - 'secretId' => getenv('COS_KEY'), - 'secretKey' => getenv('COS_SECRET')))); - $this->cosClient->createBucket(['Bucket' => $this->bucket]); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertEquals([$e->getStatusCode()], [409]); - } - } - } - - /* - * put bucket, 不合法的region名 - * 409 - */ - public function testInvalidRegionBucket() - { - $regionlist = array('cn-east-2','ap-shanghai-3'); - foreach ($regionlist as$region) { - try { - $this->cosClient = new Client(array('region' => $region, - 'credentials' => array( - 'appId' => getenv('COS_APPID'), - 'secretId' => getenv('COS_KEY'), - 'secretKey' => getenv('COS_SECRET')))); - $this->cosClient->createBucket(['Bucket' => $this->bucket]); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertFalse(TRUE); - } catch (\GuzzleHttp\Exception\ConnectException $e) { - $this->assertTrue(TRUE); - } - } - } - - /* - * get Service - * 200 - */ - public function testGetService() - { - try { - $this->cosClient->ListBuckets(); - $this->assertTrue(TRUE); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket,bucket名称非法 - * InvalidBucketName - * 400 - */ - public function testCreateInvalidBucket() - { - try { - $this->cosClient->createBucket(array('Bucket' => 'qwe_123' . $this->bucket)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertTrue($e->getExceptionCode() === 'InvalidBucketName' && $e->getStatusCode() === 400); - } - } - - /* - * put bucket,设置bucket公公权限为private - * 200 - */ - public function testCreatePrivateBucket() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->createBucket( - array( - 'Bucket' => $this->bucket2, - 'ACL'=>'private' - )); - sleep(COSTest::SYNC_TIME); - TestHelper::nuke($this->bucket2); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket,设置bucket公公权限为public-read - * 200 - */ - public function testCreatePublicReadBucket() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->createBucket( - array( - 'Bucket' => $this->bucket2, - 'ACL'=>'public-read' - ) - ); - sleep(COSTest::SYNC_TIME); - TestHelper::nuke($this->bucket2); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket,公共权限非法 - * InvalidArgument - * 400 - */ - public function testCreateInvalidACLBucket() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->createBucket( - array( - 'Bucket' => $this->bucket2, - 'ACL'=>'public' - ) - ); - sleep(COSTest::SYNC_TIME); - TestHelper::nuke($this->bucket2); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'InvalidArgument' && $e->getStatusCode() === 400); - } - } - - /* - * put bucket acl,设置bucket公共权限为private - * 200 - */ - public function testPutBucketAclPrivate() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'ACL'=>'private' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket公共权限为public-read - * 200 - */ - public function testPutBucketAclPublicRead() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'ACL'=>'public-read' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,公共权限非法 - * InvalidArgument - * 400 - */ - public function testPutBucketAclInvalid() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'ACL'=>'public' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'InvalidArgument' && $e->getStatusCode() === 400); - } - } - - /* - * put bucket acl,设置bucket账号权限为grant-read - * 200 - */ - public function testPutBucketAclReadToUser() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantRead' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限为grant-write - * 200 - */ - public function testPutBucketAclWriteToUser() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantWrite' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限为grant-full-control - * 200 - */ - public function testPutBucketAclFullToUser() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限,同时授权给多个账户 - * 200 - */ - public function testPutBucketAclToUsers() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970",id="qcs::cam::uin/2779643970:uin/2779643970",id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限,授权给子账号 - * 200 - */ - public function testPutBucketAclToSubuser() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限,同时指定read、write和fullcontrol - * 200 - */ - public function testPutBucketAclReadWriteFull() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantRead' => 'id="qcs::cam::uin/123:uin/123"', - 'GrantWrite' => 'id="qcs::cam::uin/2779643970:uin/2779643970"', - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限,grant值非法 - * InvalidArgument - * 400 - */ - public function testPutBucketAclInvalidGrant() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'GrantFullControl' => 'id="qcs::camuin/321023:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'InvalidArgument' && $e->getStatusCode() === 400); - } - } - - /* - * put bucket acl,设置bucket账号权限,通过body方式授权 - * 200 - */ - public function testPutBucketAclByBody() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - ) - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,设置bucket账号权限,通过body方式授权给anyone - * 200 - */ - public function testPutBucketAclByBodyToAnyone() - { - try { - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket, - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::anyone:anyone', - 'ID' => 'qcs::cam::anyone:anyone', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - ) - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket acl,bucket不存在 - * NoSuchBucket - * 404 - */ - public function testPutBucketAclBucketNonexisted() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->PutBucketAcl( - array( - 'Bucket' => $this->bucket2, - 'GrantFullControl' => 'id="qcs::cam::uin/321023:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'NoSuchBucket' && $e->getStatusCode() === 404); - } - } - - /* - * put bucket acl,覆盖设置 - * x200 - */ - public function testPutBucketAclCover() - { - try { - $this->cosClient->PutBucketAcl(array( - 'Bucket' => $this->bucket, - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970"', - 'GrantRead' => 'id="qcs::cam::uin/2779643970:uin/2779643970"', - 'GrantWrite' => 'id="qcs::cam::uin/2779643970:uin/2779643970"')); - $this->cosClient->PutBucketAcl(array( - 'Bucket' => $this->bucket, - 'GrantWrite' => 'id="qcs::cam::uin/2779643970:uin/2779643970"')); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 正常head bucket - * 200 - */ - public function testHeadBucket() - { - try { - $this->cosClient->HeadBucket(array( - 'Bucket' => $this->bucket)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * head bucket,bucket不存在 - * NoSuchBucket - * 404 - */ - public function testHeadBucketNonexisted() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->HeadBucket(array( - 'Bucket' => $this->bucket2)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'NoSuchBucket' && $e->getStatusCode() === 404); - } - } - - /* - * get bucket,bucket为空 - * 200 - */ - public function testGetBucketEmpty() - { - try { - $this->cosClient->ListObjects(array( - 'Bucket' => $this->bucket)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * get bucket, prefix为中文 - * 200 - */ - public function testGetBucketWithChinese() - { - try { - $this->cosClient->ListObjects(array( - 'Bucket' => $this->bucket, - 'Prefix' => '中文', - 'Delimiter' => '/')); - $this->assertTrue(TRUE); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * get bucket,bucket不存在 - * NoSuchBucket - * 404 - */ - public function testGetBucketNonexisted() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->ListObjects( - array( - 'Bucket' => $this->bucket2 - ) - ); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'NoSuchBucket' && $e->getStatusCode() === 404); - } - } - - - /* - * put bucket cors,cors规则包含多条 - * 200 - */ - public function testPutBucketCors() - { - try { - $this->cosClient->putBucketCors( - array( - 'Bucket' => $this->bucket, - 'CORSRules' => array( - array( - 'ID' => '1234', - 'AllowedHeaders' => array('*',), - 'AllowedMethods' => array('PUT',), - 'AllowedOrigins' => array('*',), - 'ExposeHeaders' => array('*',), - 'MaxAgeSeconds' => 1, - ), - array( - 'ID' => '12345', - 'AllowedHeaders' => array('*',), - 'AllowedMethods' => array('GET',), - 'AllowedOrigins' => array('*',), - 'ExposeHeaders' => array('*',), - 'MaxAgeSeconds' => 1, - ), - ), - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - - /* - * 正常get bucket cors - * 200 - */ - public function testGetBucketCors() - { - try { - $this->cosClient->putBucketCors( - array( - 'Bucket' => $this->bucket, - 'CORSRules' => array( - array( - 'ID' => '1234', - 'AllowedHeaders' => array('*',), - 'AllowedMethods' => array('PUT',), - 'AllowedOrigins' => array('*',), - 'ExposeHeaders' => array('*',), - 'MaxAgeSeconds' => 1, - ), - array( - 'ID' => '12345', - 'AllowedHeaders' => array('*',), - 'AllowedMethods' => array('GET',), - 'AllowedOrigins' => array('*',), - 'ExposeHeaders' => array('*',), - 'MaxAgeSeconds' => 1, - ), - ), - ) - ); - $this->cosClient->getBucketCors( - array( - 'Bucket' => $this->bucket - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * bucket未设置cors规则,发送get bucket cors - * NoSuchCORSConfiguration - * 404 - */ - public function testGetBucketCorsNull() - { - try { - $this->cosClient->deleteBucketCors( - array( - 'Bucket' => $this->bucket - ) - ); - $rt = $this->cosClient->getBucketCors( - array( - 'Bucket' => $this->bucket - ) - ); - print_r($rt); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'NoSuchCORSConfiguration' && $e->getStatusCode() === 404); - } - } - - /* - * 正常get bucket lifecycle - * 200 - */ - public function testGetBucketLifecycle() - { - try { - $result = $this->cosClient->putBucketLifecycle( - array( - 'Bucket' => $this->bucket, - 'Rules' => array( - array( - 'Status' => 'Enabled', - 'Filter' => array( - 'Tag' => array( - 'Key' => 'datalevel', - 'Value' => 'backup' - ) - ), - 'Transitions' => array( - array( - # 30天后转换为Standard_IA - 'Days' => 30, - 'StorageClass' => 'Standard_IA'), - array( - # 365天后转换为Archive - 'Days' => 365, - 'StorageClass' => 'Archive') - ), - 'Expiration' => array( - # 3650天后过期删除 - 'Days' => 3650, - ) - ) - ) - ) - ); - $result = $this->cosClient->getBucketLifecycle(array( - 'Bucket' => $this->bucket, - )); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 正常delete bucket lifecycle - * 200 - */ - public function testDeleteBucketLifecycle() - { - try { - $result = $this->cosClient->putBucketLifecycle( - array( - 'Bucket' => $this->bucket, - 'Rules' => array( - array( - 'Status' => 'Enabled', - 'Filter' => array( - 'Tag' => array( - 'Key' => 'datalevel', - 'Value' => 'backup' - ) - ), - 'Transitions' => array( - array( - # 30天后转换为Standard_IA - 'Days' => 30, - 'StorageClass' => 'Standard_IA'), - array( - # 365天后转换为Archive - 'Days' => 365, - 'StorageClass' => 'Archive') - ), - 'Expiration' => array( - # 3650天后过期删除 - 'Days' => 3650, - ) - ) - ) - ) - ); - $result = $this->cosClient->deleteBucketLifecycle(array( - // Bucket is required - 'Bucket' => $this->bucket, - )); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket lifecycle,请求body中不指定filter - * 200 - */ - public function testPutBucketLifecycleNonFilter() - { - try { - $result = $this->cosClient->putBucketLifecycle( - array( - 'Bucket' => $this->bucket, - 'Rules' => array( - array( - 'Expiration' => array( - 'Days' => 1000, - ), - 'ID' => 'id1', - 'Status' => 'Enabled', - 'Transitions' => array( - array( - 'Days' => 100, - 'StorageClass' => 'Standard_IA'), - ), - ), - ) - ) - ); - $result = $this->cosClient->deleteBucketLifecycle(array( - // Bucket is required - 'Bucket' => $this->bucket, - )); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(True); - } - } - - /* - * put bucket,bucket名称带有- - * 200 - */ - public function testPutBucket2() - { - try { - try{ - $this->cosClient->deleteBucket(array('Bucket' => '12345-'.$this->bucket)); - } catch (\Exception $e) { - } - $this->cosClient->createBucket(array('Bucket' => '12345-'.$this->bucket)); - sleep(COSTest::SYNC_TIME); - $this->cosClient->deleteBucket(array('Bucket' => '12345-'.$this->bucket)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put bucket,bucket名称带有两个- - * 200 - */ - public function testPutBucket3() - { - try { - $this->cosClient->createBucket(array('Bucket' => '12-333-4445' . $this->bucket)); - $this->cosClient->deleteBucket(array('Bucket' => '12-333-4445' . $this->bucket)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 正常get bucket location - * 200 - */ - public function testGetBucketLocation() - { - try { - $this->cosClient->getBucketLocation(array('Bucket' => $this->bucket)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * bucket不存在,发送get bucket location请求 - * NoSuchBucket - * 404 - */ - public function testGetBucketLocationNonExisted() - { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->getBucketLocation(array('Bucket' => $this->bucket2)); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'NoSuchBucket' && $e->getStatusCode() === 404); - } - } - - /********************************** - * TestObject - **********************************/ - - /* - * put object, 从本地上传文件 - * 200 - */ - public function testPutObjectLocalObject() { - try { - $key = '你好.txt'; - $body = $this->generateRandomString(1024+1023); - $md5 = base64_encode(md5($body, true)); - $local_test_key = "local_test_file"; - $f = fopen($local_test_key, "wb"); - fwrite($f, $body); - fclose($f); - $this->cosClient->putObject(['Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => fopen($local_test_key, "rb")]); - $rt = $this->cosClient->getObject(['Bucket'=>$this->bucket, 'Key'=>$key]); - $download_md5 = base64_encode(md5($rt['Body'], true)); - $this->assertEquals($md5, $download_md5); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * upload, 从本地上传 - * 200 - */ - public function testUploadLocalObject() { - try { - $key = '你好.txt'; - $body = $this->generateRandomString(1024+1023); - $md5 = base64_encode(md5($body, true)); - $local_test_key = "local_test_file"; - $f = fopen($local_test_key, "wb"); - fwrite($f, $body); - fclose($f); - $this->cosClient->upload($bucket=$this->bucket, - $key=$key, - $body=fopen($local_test_key, "rb"), - $options=['PartSize'=>1024 * 1024 + 1]); - $rt = $this->cosClient->getObject(['Bucket'=>$this->bucket, 'Key'=>$key]); - $download_md5 = base64_encode(md5($rt['Body'], true)); - $this->assertEquals($md5, $download_md5); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object,请求头部携带服务端加密参数 - * 200 - */ - public function testPutObjectEncryption() - { - try { - $this->cosClient->putObject( - array( - 'Bucket' => $this->bucket, - 'Key' => '11//32//43', - 'Body' => 'Hello World!', - 'ServerSideEncryption' => 'AES256' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 上传文件Bucket不存在 - * NoSuchBucket - * 404 - */ - public function testPutObjectIntoNonexistedBucket() { - try { - TestHelper::nuke($this->bucket2); - sleep(COSTest::SYNC_TIME); - $this->cosClient->putObject( - array( - 'Bucket' => $this->bucket2, 'Key' => 'hello.txt', 'Body' => 'Hello World' - ) - ); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'NoSuchBucket'); - $this->assertTrue($e->getStatusCode() === 404); - } - } - - - /* - * 上传小文件 - * 200 - */ - public function testUploadSmallObject() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 上传空文件 - * 200 - */ - public function testPutObjectEmpty() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', ''); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 上传已存在的文件 - * 200 - */ - public function testPutObjectExisted() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', '1234124'); - $this->cosClient->upload($this->bucket, '你好.txt', '请二位qwe'); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object,请求头部携带自定义头部x-cos-meta- - * 200 - */ - public function testPutObjectMeta() { - try { - $key = '你好.txt'; - $meta = array( - 'test' => str_repeat('a', 1 * 1024), - 'test-meta' => '中文qwe-23ds-ad-xcz.asd.*qweqw' - ); - $this->cosClient->putObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'Body' => '1234124', - 'Metadata' => $meta - - )); - $rt = $this->cosClient->headObject(['Bucket'=>$this->bucket, 'Key'=>$key]); - $this->assertEquals($rt['Metadata'], $meta); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * upload large object,请求头部携带自定义头部x-cos-meta- - * 200 - */ - public function testUploadLargeObjectMeta() { - try { - $key = '你好.txt'; - $meta = array( - 'test' => str_repeat('a', 1 * 1024), - 'test-meta' => 'qwe-23ds-ad-xcz.asd.*qweqw' - ); - $body = $this->generateRandomString(2*1024*1024+1023); - $this->cosClient->upload($bucket=$this->bucket, - $key=$key, - $body=$body, - $options=['PartSize'=>1024 * 1024 + 1, 'Metadata'=>$meta]); - $rt = $this->cosClient->headObject(['Bucket'=>$this->bucket, 'Key'=>$key]); - $this->assertEquals($rt['Metadata'], $meta); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object,请求头部携带自定义头部x-cos-meta- - * KeyTooLong - * 400 - */ - public function testPutObjectMeta2K() { - try { - $this->cosClient->putObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'Body' => '1234124', - 'Metadata' => array( - 'lew' => str_repeat('a', 3 * 1024), - ))); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertEquals( - [$e->getStatusCode(), $e->getExceptionCode()], - [400, 'KeyTooLong'] - ); - print $e; - } - } - - /* - * 上传复杂文件名的文件 - * 200 - */ - public function testUploadComplexObject() { - try { - $key = '→↓←→↖↗↙↘! \"#$%&\'()*+,-./0123456789:;<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'; - $this->cosClient->upload($this->bucket, $key, 'Hello World'); - $this->cosClient->headObject(array( - 'Bucket' => $this->bucket, - 'Key' => $key - )); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 上传大文件 - * 200 - */ - public function testUploadLargeObject() { - try { - $key = '你好.txt'; - $body = $this->generateRandomString(2*1024*1024+1023); - $md5 = base64_encode(md5($body, true)); - $this->cosClient->upload($bucket=$this->bucket, - $key=$key, - $body=$body, - $options=['PartSize'=>1024 * 1024 + 1]); - $rt = $this->cosClient->getObject(['Bucket'=>$this->bucket, 'Key'=>$key]); - $download_md5 = base64_encode(md5($rt['Body'], true)); - $this->assertEquals($md5, $download_md5); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 断点重传 - * 200 - */ - public function testResumeUpload() { - try { - $key = '你好.txt'; - $body = $this->generateRandomString(3*1024*1024+1023); - $partSize = 1024 * 1024 + 1; - $md5 = base64_encode(md5($body, true)); - $rt = $this->cosClient->CreateMultipartUpload(['Bucket' => $this->bucket, - 'Key' => $key]); - $uploadId = $rt['UploadId']; - $this->cosClient->uploadPart(['Bucket' => $this->bucket, - 'Key' => $key, - 'Body' => substr($body, 0, $partSize), - 'UploadId' => $uploadId, - 'PartNumber' => 1]); - $rt = $this->cosClient->ListParts(['Bucket' => $this->bucket, - 'Key' => $key, - 'UploadId' => $uploadId]); - $this->assertEquals(count($rt['Parts']), 1); - $this->cosClient->resumeUpload($bucket=$this->bucket, - $key=$key, - $body=$body, - $uploadId=$uploadId, - $options=['PartSize'=>$partSize]); - $rt = $this->cosClient->getObject(['Bucket'=>$this->bucket, 'Key'=>$key]); - $download_md5 = base64_encode(md5($rt['Body'], true)); - $this->assertEquals($md5, $download_md5); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 下载文件 - * 200 - */ - public function testGetObject() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $this->cosClient->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt',)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * range下载大文件 - * 200 - */ - public function testDownloadLargeObject() { - try { - $key = '你好.txt'; - $local_path = "test_tmp_file"; - $body = $this->generateRandomString(2*1024*1024+1023); - $md5 = base64_encode(md5($body, true)); - $this->cosClient->upload($bucket=$this->bucket, - $key=$key, - $body=$body, - $options=['PartSize'=>1024 * 1024 + 1]); - $rt = $this->cosClient->download($bucket=$this->bucket, - $key=$key, - $saveAs=$local_path, - $options=['PartSize'=>1024 * 1024 + 1]); - $body = file_get_contents($local_path); - $download_md5 = base64_encode(md5($body, true)); - $this->assertEquals($md5, $download_md5); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - /* - * get object,object名称包含特殊字符 - * 200 - */ - public function testGetObjectSpecialName() { - try { - $this->cosClient->upload($this->bucket, '你好<>!@#^%^&*&(&^!@#@!.txt', 'Hello World'); - $this->cosClient->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好<>!@#^%^&*&(&^!@#@!.txt',)); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * get object,请求头部带if-match,参数值为true - * 200 - */ - public function testGetObjectIfMatchTrue() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $this->cosClient->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'IfMatch' => '"b10a8db164e0754105b7a99be72e3fe5"')); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - - /* - * get object,请求头部带if-match,参数值为false - * PreconditionFailed - * 412 - */ - public function testGetObjectIfMatchFalse() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $this->cosClient->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'IfMatch' => '""')); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - $this->assertEquals( - [$e->getStatusCode(), $e->getExceptionCode()], - [412, 'PreconditionFailed'] - ); - print $e; - } - } - - /* - * get object,请求头部带if-none-match,参数值为true - * 200 - */ - public function testGetObjectIfNoneMatchTrue() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $rt = $this->cosClient->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'IfNoneMatch' => '"b10a8db164e0754105b7a99be72e3fe5"')); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - - /* - * get object,请求头部带if-none-match,参数值为false - * PreconditionFailed - * 412 - */ - public function testGetObjectIfNoneMatchFalse() { - try { - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $this->cosClient->getObject(array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'IfNoneMatch' => '""')); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 获取文件url - * 200 - */ - public function testGetObjectUrl() { - try{ - $this->cosClient->getObjectUrl($this->bucket, 'hello.txt', '+10 minutes'); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 复制小文件 - * 200 - */ - public function testCopySmallObject() { - try{ - $this->cosClient->upload($this->bucket, '你好.txt', 'Hello World'); - $this->cosClient->copy($bucket=$this->bucket, - $key='hi.txt', - $copySource = ['Bucket'=>$this->bucket, - 'Region'=>$this->region, - 'Key'=>'你好.txt']); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 复制大文件 - * 200 - */ - public function testCopyLargeObject() { - try{ - $src_key = '你好.txt'; - $dst_key = 'hi.txt'; - $body = $this->generateRandomString(2*1024*1024+333); - $md5 = base64_encode(md5($body, true)); - $this->cosClient->upload($bucket=$this->bucket, - $key=$src_key, - $body=$body, - $options=['PartSize'=>1024 * 1024 + 1]); - $this->cosClient->copy($bucket=$this->bucket, - $key=$dst_key, - $copySource = ['Bucket'=>$this->bucket, - 'Region'=>$this->region, - 'Key'=>$src_key], - $options=['PartSize'=>1024 * 1024 + 1]); - - $rt = $this->cosClient->getObject(['Bucket'=>$this->bucket, 'Key'=>$dst_key]); - $download_md5 = base64_encode(md5($rt['Body'], true)); - $this->assertEquals($md5, $download_md5); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * 设置objectacl - * 200 - */ - public function testPutObjectACL() { - try { - $this->cosClient->upload($this->bucket, '11', 'hello.txt'); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '11', - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - // ... repeated - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - ) - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - - } - - - /* - * 获取objectacl - * 200 - */ - public function testGetObjectACL() - { - try { - $this->cosClient->upload($this->bucket, '11', 'hello.txt'); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '11', - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - ) - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object公共权限为private - * 200 - */ - public function testPutObjectAclPrivate() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'ACL'=>'private' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object公共权限为public-read - * 200 - */ - public function testPutObjectAclPublicRead() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'ACL'=>'public-read' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,公共权限非法 - * InvalidArgument - * 400 - */ - public function testPutObjectAclInvalid() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'ACL'=>'public' - ) - ); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'InvalidArgument' && $e->getStatusCode() === 400); - } - } - - /* - * put object acl,设置object账号权限为grant-read - * 200 - */ - public function testPutObjectAclReadToUser() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'GrantRead' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object账号权限为grant-full-control - * 200 - */ - public function testPutObjectAclFullToUser() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object账号权限,同时授权给多个账户 - * 200 - */ - public function testPutObjectAclToUsers() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970",id="qcs::cam::uin/2779643970:uin/2779643970",id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object账号权限,授权给子账号 - * 200 - */ - public function testPutObjectAclToSubuser() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'GrantFullControl' => 'id="qcs::cam::uin/2779643970:uin/2779643970"' - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object账号权限,grant值非法 - * InvalidArgument - * 400 - */ - public function testPutObjectAclInvalidGrant() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'GrantFullControl' => 'id="qcs::camuin/321023:uin/2779643970"' - ) - ); - $this->assertTrue(False); - } catch (ServiceResponseException $e) { - $this->assertTrue($e->getExceptionCode() === 'InvalidArgument' && $e->getStatusCode() === 400); - } - } - - /* - * put object acl,设置object账号权限,通过body方式授权 - * 200 - */ - public function testPutObjectAclByBody() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->PutObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - // ... repeated - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - ) - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * put object acl,设置object账号权限,通过body方式授权给anyone - * 200 - */ - public function testPutObjectAclByBodyToAnyone() - { - try { - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => '你好.txt', 'Body' => '123')); - $this->cosClient->putObjectAcl( - array( - 'Bucket' => $this->bucket, - 'Key' => '你好.txt', - 'Grants' => array( - array( - 'Grantee' => array( - 'DisplayName' => 'qcs::cam::anyone:anyone', - 'ID' => 'qcs::cam::anyone:anyone', - 'Type' => 'CanonicalUser', - ), - 'Permission' => 'FULL_CONTROL', - ), - // ... repeated - ), - 'Owner' => array( - 'DisplayName' => 'qcs::cam::uin/2779643970:uin/2779643970', - 'ID' => 'qcs::cam::uin/2779643970:uin/2779643970', - ) - ) - ); - $this->assertTrue(True); - } catch (ServiceResponseException $e) { - print $e; - $this->assertFalse(TRUE); - } - } - - /* - * selectobject,select检索数据 - * 200 - */ - public function testSelectObjectContent() - { - $key = '你好.txt'; - try { - $body = "appid,bucket,region -12500001,22weqwe,sh -12500002,we2qwe,sh -12500003,weq3we,sh -12500004,weqw4e,sh -3278522,azxc,gz -4343,ewqew,tj"; - $this->cosClient->putObject(array('Bucket' => $this->bucket,'Key' => $key, 'Body' => $body)); - $result = $this->cosClient->selectObjectContent(array( - 'Bucket' => $this->bucket, //格式:BucketName-APPID - 'Key' => $key, - 'Expression' => 'Select * from COSObject s', - 'ExpressionType' => 'SQL', - 'InputSerialization' => array( - 'CompressionType' => 'NONE', - 'CSV' => array( - 'FileHeaderInfo' => 'USE', - 'RecordDelimiter' => '\n', - 'FieldDelimiter' => ',', - 'QuoteEscapeCharacter' => '"', - 'Comments' => '#', - 'AllowQuotedRecordDelimiter' => 'FALSE' - ) - ), - 'OutputSerialization' => array( - 'CSV' => array( - 'QuoteField' => 'ASNEEDED', - 'RecordDelimiter' => '\n', - 'FieldDelimiter' => ',', - 'QuoteCharacter' => '"', - 'QuoteEscapeCharacter' => '"' - ) - ), - 'RequestProgress' => array( - 'Enabled' => 'FALSE' - ) - )); - foreach ($result['Data'] as $data) { - } - $this->assertTrue(True); - } catch (\Exception $e) { - print ($e); - $this->assertFalse(TRUE); - } - } - -} diff --git a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Tests/TestHelper.php b/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Tests/TestHelper.php deleted file mode 100644 index b95810f2..00000000 --- a/vendor/qcloud/cos-sdk-v5/src/Qcloud/Cos/Tests/TestHelper.php +++ /dev/null @@ -1,44 +0,0 @@ - getenv('COS_REGION'), - 'credentials'=> array( - 'secretId' => getenv('COS_KEY'), - 'secretKey' => getenv('COS_SECRET')))); - $result = $cosClient->listObjects(array('Bucket' => $bucket)); - if (isset($result['Contents'])) { - foreach ($result['Contents'] as $content) { - $cosClient->deleteObject(array('Bucket' => $bucket, 'Key' => $content['Key'])); - } - } - - while(True){ - $result = $cosClient->ListMultipartUploads( - array('Bucket' => $bucket)); - if ($result['Uploads'] == []) { - break; - } - foreach ($result['Uploads'] as $upload) { - try { - $rt = $cosClient->AbortMultipartUpload( - array('Bucket' => $bucket, - 'Key' => $upload['Key'], - 'UploadId' => $upload['UploadId'])); - } catch (\Exception $e) { - print_r($e); - } - } - } - $cosClient->deleteBucket(array('Bucket' => $bucket)); - } catch (\Exception $e) { - // echo "$e\n"; - } - } -} diff --git a/vendor/qiniu/php-sdk/.github/workflows/test-ci.yml b/vendor/qiniu/php-sdk/.github/workflows/test-ci.yml deleted file mode 100644 index a3f76f19..00000000 --- a/vendor/qiniu/php-sdk/.github/workflows/test-ci.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: PHP CI with Composer - -on: - push: - paths-ignore: - - '**.md' - -jobs: - build: - strategy: - fail-fast: false - max-parallel: 1 - matrix: - php-versions: ['5.4', '5.5', '5.6', '7.0'] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup php - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - - - name: Install dependencies - run: | - composer self-update - composer install --no-interaction --prefer-source --dev - - - name: Run cases - run: | - ./vendor/bin/phpcs --standard=PSR2 src - ./vendor/bin/phpcs --standard=PSR2 examples - ./vendor/bin/phpcs --standard=PSR2 tests - ./vendor/bin/phpunit --coverage-clover=coverage.xml - - env: - QINIU_ACCESS_KEY: ${{ secrets.QINIU_ACCESS_KEY }} - QINIU_SECRET_KEY: ${{ secrets.QINIU_SECRET_KEY }} - QINIU_TEST_BUCKET: ${{ secrets.QINIU_TEST_BUCKET }} - QINIU_TEST_DOMAIN: ${{ secrets.QINIU_TEST_DOMAIN }} - - - name: After_success - run: bash <(curl -s https://codecov.io/bash) diff --git a/vendor/qiniu/php-sdk/.gitignore b/vendor/qiniu/php-sdk/.gitignore deleted file mode 100644 index 4c842c82..00000000 --- a/vendor/qiniu/php-sdk/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -*.phar -*.zip -build/artifacts -phpunit.xml -phpunit.functional.xml -.DS_Store -.swp -.build -composer.lock -vendor -src/package.xml -.idea/ diff --git a/vendor/qiniu/php-sdk/.scrutinizer.yml b/vendor/qiniu/php-sdk/.scrutinizer.yml deleted file mode 100644 index 6a2d0d80..00000000 --- a/vendor/qiniu/php-sdk/.scrutinizer.yml +++ /dev/null @@ -1,42 +0,0 @@ -filter: - excluded_paths: [tests/*] -checks: - php: - code_rating: true - remove_extra_empty_lines: true - remove_php_closing_tag: true - remove_trailing_whitespace: true - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: true - order_alphabetically: true - fix_php_opening_tag: true - fix_linefeed: true - fix_line_ending: true - fix_identation_4spaces: true - fix_doc_comments: true -tools: - external_code_coverage: - timeout: 1200 - runs: 3 - php_analyzer: true - php_code_coverage: false - php_code_sniffer: - config: - standard: PSR2 - filter: - paths: ['src'] - php_loc: - enabled: true - excluded_dirs: [vendor, tests] - php_cpd: - enabled: true - excluded_dirs: [vendor, tests] -build: - nodes: - analysis: - tests: - override: - - php-scrutinizer-run - diff --git a/vendor/qiniu/php-sdk/CHANGELOG.md b/vendor/qiniu/php-sdk/CHANGELOG.md deleted file mode 100644 index 35ea351a..00000000 --- a/vendor/qiniu/php-sdk/CHANGELOG.md +++ /dev/null @@ -1,135 +0,0 @@ -# Changelog - -## 7.4.0 (2021-07-19) -* 【对象存储】支持 [分片上传 v2](https://developer.qiniu.com/kodo/7458/multipartupload) 和 断点续传,使用方式见 [开发者文档](https://developer.qiniu.io/kodo/1241/php#form-upload-file-resume) - -## 7.3.0 (2020-09-24) -### 新增 -* 【对象存储】增加异步抓取方法与demo -* 【融合cdn】增加查询CDN刷新记录、查询CDN预取记录方法与demo -* 【云短信】增加查询短信发送记录的方法 -* 【实时音视频】增加rtc停止房间的合流转推方法 -* 【内容审核】增加图片审核、视频审核方法与demo - -### 修复 -* 【对象存储】修复签算 token 时上传策略中的 forceSaveKey 字段不生效的问题 -* 【对象存储】修复更新空间事件通知规则方法 - -### 优化 -* 【对象存储】创建空间迁移到mkbucketv3 api -* 优化对 http2 返回头的判断 -* 优化 demo 中的文档注释说明 -* docs 目录下的 rtc demo 移动至 examples/rtc 目录下 -* docs 目录下的 sms demo 移动至 examples/sms 目录下 - -## 7.2.10 (2019-10-28) -* 去除云短信类类型指定 -* 修改不传文件名时存在表单上传错误的情况 - -## 7.2.9 (2019-07-09) -* 添加空间管理、云短信接口 -* 去除无效参数 - -## 7.2.7 (2018-11-06) -* 添加 QVM 内网上传到 KODO 的 zone 设置 - -## 7.2.6 (2018-05-18) -* 修复rs,rsf在不同机房默认的https域名 - -## 7.2.5 (2018-05-10) -* 修复表单上传中多余的参数checkCrc导致的fname错位问题 - -## 7.2.4 (2018-05-09) -### 增加 -* 连麦功能 - -## 7.2.3 (2018-01-20) -### 增加 -* 新加坡机房 -### 修正 -* 获取域名的入口域名 -* http回复头部兼容大小写 - -## 7.2.2 (2017-11-06) -### 增加 -* Qiniu算法的鉴权方法 - -## 7.1.4 (2017-06-21) -### 增加 -* cdn 文件/目录 刷新 -* cdn 获取 流量/带宽 -* cdn 获取域名的访问日志列表 -* cdn 对资源链接进行时间戳防盗链签名 - -## 7.1.3 (2016-11-18) -### 增加 -* move, copy操作增加force参数 - -## 7.1.2 (2016-11-12) -### 修正 -* 明确抛出获取各区域域名失败时的报错 - -## 7.1.1 (2016-11-02) -### 修正 -* 多区域配置文件存储目录从home修改到tmp目录 - - -## 7.1.0 (2016-10-22) -### 增加 -* 多存储区域的支持 - -## 7.0.8 (2016-07-19) -### 增加 -* demo -* https url 支持 -* deleteAfterDays 策略 -* 添加图片处理链接统一拼接方法 by @SherlockRen - -## 7.0.7 (2016-01-12) -### 修正 -* PersistentFop参数pipeline和notify_url失效 -* resume 模式 close file inputstream - -## 7.0.6 (2015-12-05) -### 修正 -* php7.0 Json 对空字符串解析单元测试报错 -* 开启安全模式或者设置可操作目录树时,设置CURLOPT_FOLLOWLOCATION报错, by @twocabbages -* fetch 支持不指定key, by @sinkcup - -## 7.0.5 (2015-10-29) -### 增加 -* 增加上传策略最小文件大小限制 fsizeMin -* 增加常见examples - -## 7.0.4 (2015-07-23) -### 修正 -* 一些地方的严格比较检查 -* resumeupload 备用地址失效 - -## 7.0.3 (2015-07-10) -### 修改 -* 多zone 支持 - -## 7.0.2 (2015-04-18) -### 修改 -* fetch 接口返回内容调整 -* pfop 接口调整 - -###修正 -* exception 类调用 - -## 7.0.1 (2015-03-27) -### 增加 -* 增加代码注释 - -## 7.0.0 (2015-02-03) - -### 增加 -* 简化上传接口 -* 自动选择断点续上传还是直传 -* 重构代码,接口和内部结构更清晰 -* 改变mime -* 代码覆盖度报告 -* policy改为array, 便于灵活增加,并加入过期字段检查 -* 文件列表支持目录形式 -* 利用元编程方式支持 fop 和 pfop diff --git a/vendor/qiniu/php-sdk/CONTRIBUTING.md b/vendor/qiniu/php-sdk/CONTRIBUTING.md deleted file mode 100644 index 0466bf97..00000000 --- a/vendor/qiniu/php-sdk/CONTRIBUTING.md +++ /dev/null @@ -1,30 +0,0 @@ -# 贡献代码指南 - -我们非常欢迎大家来贡献代码,我们会向贡献者致以最诚挚的敬意。 - -一般可以通过在Github上提交[Pull Request](https://github.com/qiniu/php-sdk)来贡献代码。 - -## Pull Request要求 - -- **[PSR-2 编码风格标准](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** 。要通过项目中的code sniffer检查。 - -- **代码格式** 提交前 请按 ./vendor/bin/phpcbf --standard=PSR2 进行格式化。 - -- **必须添加测试!** - 如果没有测试(单元测试、集成测试都可以),那么提交的补丁是不会通过的。 - -- **记得更新文档** - 保证`README.md`以及其他相关文档及时更新,和代码的变更保持一致性。 - -- **考虑我们的发布周期** - 我们的版本号会服从[SemVer v2.0.0](http://semver.org/),我们绝对不会随意变更对外的API。 - -- **创建feature分支** - 最好不要从你的master分支提交 pull request。 - -- **一个feature提交一个pull请求** - 如果你的代码变更了多个操作,那就提交多个pull请求吧。 - -- **清晰的commit历史** - 保证你的pull请求的每次commit操作都是有意义的。如果你开发中需要执行多次的即时commit操作,那么请把它们放到一起再提交pull请求。 - -## 运行测试 - -``` bash -./vendor/bin/phpunit tests/Qiniu/Tests/ - -``` diff --git a/vendor/qiniu/php-sdk/LICENSE b/vendor/qiniu/php-sdk/LICENSE deleted file mode 100644 index ba646be9..00000000 --- a/vendor/qiniu/php-sdk/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Qiniu, Ltd. - -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/qiniu/php-sdk/README.md b/vendor/qiniu/php-sdk/README.md deleted file mode 100644 index 447a07d9..00000000 --- a/vendor/qiniu/php-sdk/README.md +++ /dev/null @@ -1,76 +0,0 @@ -# Qiniu Cloud SDK for PHP -[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE) -[![Build Status](https://travis-ci.org/qiniu/php-sdk.svg)](https://travis-ci.org/qiniu/php-sdk) -[![GitHub release](https://img.shields.io/github/v/tag/qiniu/php-sdk.svg?label=release)](https://github.com/qiniu/php-sdk/releases) -[![Latest Stable Version](https://img.shields.io/packagist/v/qiniu/php-sdk.svg)](https://packagist.org/packages/qiniu/php-sdk) -[![Total Downloads](https://img.shields.io/packagist/dt/qiniu/php-sdk.svg)](https://packagist.org/packages/qiniu/php-sdk) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/qiniu/php-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/qiniu/php-sdk/?branch=master) -[![Coverage Status](https://codecov.io/gh/qiniu/php-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/qiniu/php-sdk) -[![Join Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/qiniu/php-sdk?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![@qiniu on weibo](http://img.shields.io/badge/weibo-%40qiniutek-blue.svg)](http://weibo.com/qiniutek) - - -## 安装 - -* 推荐使用 `composer` 进行安装。可以使用 composer.json 声明依赖,或者运行下面的命令。SDK 包已经放到这里 [`qiniu/php-sdk`][install-packagist] 。 -```bash -$ composer require qiniu/php-sdk -``` -* 直接下载安装,SDK 没有依赖其他第三方库,但需要参照 composer 的 autoloader,增加一个自己的 autoloader 程序。 - -## 运行环境 - -| Qiniu SDK版本 | PHP 版本 | -|:--------------------:|:---------------------------:| -| 7.x | cURL extension, 5.3 - 5.6,7.0 | -| 6.x | cURL extension, 5.2 - 5.6 | - -## 使用方法 - -### 上传 -```php -use Qiniu\Storage\UploadManager; -use Qiniu\Auth; -... - $uploadMgr = new UploadManager(); - $auth = new Auth($accessKey, $secretKey); - $token = $auth->uploadToken($bucket); - list($ret, $error) = $uploadMgr->putFile($token, 'key', 'filePath'); -... -``` - -## 测试 - -``` bash -$ ./vendor/bin/phpunit tests/Qiniu/Tests/ -``` - -## 常见问题 - -- `$error` 保留了请求响应的信息,失败情况下 `ret` 为 `none`, 将 `$error` 可以打印出来,提交给我们。 -- API 的使用 demo 可以参考 [examples](https://github.com/qiniu/php-sdk/tree/master/examples)。 - -## 代码贡献 - -详情参考[代码提交指南](https://github.com/qiniu/php-sdk/blob/master/CONTRIBUTING.md)。 - -## 贡献记录 - -- [所有贡献者](https://github.com/qiniu/php-sdk/contributors) - -## 联系我们 - -- 如果需要帮助,请提交工单(在portal右侧点击咨询和建议提交工单,或者直接向 support@qiniu.com 发送邮件) -- 如果有什么问题,可以到问答社区提问,[问答社区](https://qiniu.segmentfault.com/) -- 更详细的文档,见[官方文档站](https://developer.qiniu.com/) -- 如果发现了 bug, 欢迎提交 [issue](https://github.com/qiniu/php-sdk/issues) -- 如果有功能需求,欢迎提交 [issue](https://github.com/qiniu/php-sdk/issues) -- 如果要提交代码,欢迎提交 pull request -- 欢迎关注我们的[微信](https://www.qiniu.com/#weixin) [微博](https://weibo.com/qiniutek),及时获取动态信息。 - -## 代码许可 - -The MIT License (MIT).详情见 [License文件](https://github.com/qiniu/php-sdk/blob/master/LICENSE). - -[packagist]: http://packagist.org -[install-packagist]: https://packagist.org/packages/qiniu/php-sdk diff --git a/vendor/qiniu/php-sdk/autoload.php b/vendor/qiniu/php-sdk/autoload.php deleted file mode 100644 index 4379b91d..00000000 --- a/vendor/qiniu/php-sdk/autoload.php +++ /dev/null @@ -1,14 +0,0 @@ -=5.3.3" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~3.6" - }, - "autoload": { - "psr-4": {"Qiniu\\": "src/Qiniu"}, - "files": ["src/Qiniu/functions.php"] - } -} \ No newline at end of file diff --git a/vendor/qiniu/php-sdk/examples/README.md b/vendor/qiniu/php-sdk/examples/README.md deleted file mode 100644 index b7b4f98e..00000000 --- a/vendor/qiniu/php-sdk/examples/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# examples - -这些 examples 旨在帮助你快速了解使用七牛的 SDK。这些 demo 都是可以直接运行的, 但是在运行之前需要填上您自己的参数。 - -比如: - -* `$bucket` 需要填上您想操作的 [bucket名字](https://portal.qiniu.com/kodo/bucket)。 -* `$accessKey` 和 `$secretKey` 可以在我们的[管理后台](https://portal.qiniu.com/user/key)找到。 -* 在进行`视频转码`, `压缩文件`等异步操作时 需要使用到的队列名称也可以在我们[管理后台](https://portal.qiniu.com/dora/media-gate/pipeline)新建。 - diff --git a/vendor/qiniu/php-sdk/examples/bucket_lifecycleRule.php b/vendor/qiniu/php-sdk/examples/bucket_lifecycleRule.php deleted file mode 100644 index 8827207a..00000000 --- a/vendor/qiniu/php-sdk/examples/bucket_lifecycleRule.php +++ /dev/null @@ -1,36 +0,0 @@ -bucketLifecycleRule( - $bucket, - $name, - $prefix, - $delete_after_days, - $to_line_after_days -); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_get_bandwidth.php b/vendor/qiniu/php-sdk/examples/cdn_get_bandwidth.php deleted file mode 100644 index c9de0e69..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_get_bandwidth.php +++ /dev/null @@ -1,41 +0,0 @@ -getBandwidthData( - $domains, - $startDate, - $endDate, - $granularity -); - -if ($getBandwidthErr != null) { - var_dump($getBandwidthErr); -} else { - echo "get bandwidth data success\n"; - print_r($bandwidthData); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_get_flux.php b/vendor/qiniu/php-sdk/examples/cdn_get_flux.php deleted file mode 100644 index 57df8085..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_get_flux.php +++ /dev/null @@ -1,35 +0,0 @@ -getFluxData($domains, $startDate, $endDate, $granularity); -if ($getFluxErr != null) { - var_dump($getFluxErr); -} else { - echo "get flux data success\n"; - print_r($fluxData); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_get_log_list.php b/vendor/qiniu/php-sdk/examples/cdn_get_log_list.php deleted file mode 100644 index 2b3f7dd8..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_get_log_list.php +++ /dev/null @@ -1,31 +0,0 @@ -getCdnLogList($domains, $logDate); -if ($getLogErr != null) { - var_dump($getLogErr); -} else { - echo "get cdn log list success\n"; - print_r($logListData); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_get_prefetch_list.php b/vendor/qiniu/php-sdk/examples/cdn_get_prefetch_list.php deleted file mode 100644 index 958e5eb4..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_get_prefetch_list.php +++ /dev/null @@ -1,46 +0,0 @@ -getCdnPrefetchList( - $requestId, - $urls, - $state, - $pageNo, - $pageSize, - $startTime, - $endTime -); -echo "\n====> query prefetch list: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_get_refresh_list.php b/vendor/qiniu/php-sdk/examples/cdn_get_refresh_list.php deleted file mode 100644 index ad4fca2f..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_get_refresh_list.php +++ /dev/null @@ -1,48 +0,0 @@ -getCdnRefreshList( - $requestId, - $isDir, - $urls, - $state, - $pageNo, - $pageSize, - $startTime, - $endTime -); -echo "\n====> query refresh list: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_refresh_urls_dirs.php b/vendor/qiniu/php-sdk/examples/cdn_refresh_urls_dirs.php deleted file mode 100644 index 21403786..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_refresh_urls_dirs.php +++ /dev/null @@ -1,59 +0,0 @@ -refreshUrlsAndDirs($urls, $dirs); -if ($refreshErr != null) { - var_dump($refreshErr); -} else { - echo "refresh request sent\n"; - print_r($refreshResult); -} - -//---------------------------------------- demo2 ---------------------------------------- -// 刷新文件 - -list($refreshResult, $refreshErr) = $cdnManager->refreshUrls($urls); -if ($refreshErr != null) { - var_dump($refreshErr); -} else { - echo "refresh urls request sent\n"; - print_r($refreshResult); -} - -//---------------------------------------- demo3 ---------------------------------------- -// 刷新目录 - -list($refreshResult, $refreshErr) = $cdnManager->refreshDirs($dirs); -if ($refreshErr != null) { - var_dump($refreshErr); -} else { - echo "refresh dirs request sent\n"; - print_r($refreshResult); -} diff --git a/vendor/qiniu/php-sdk/examples/cdn_timestamp_antileech.php b/vendor/qiniu/php-sdk/examples/cdn_timestamp_antileech.php deleted file mode 100644 index f2d78558..00000000 --- a/vendor/qiniu/php-sdk/examples/cdn_timestamp_antileech.php +++ /dev/null @@ -1,20 +0,0 @@ -censorImage($body); -echo "\n====> Result is: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/censor_video.php b/vendor/qiniu/php-sdk/examples/censor_video.php deleted file mode 100755 index 7ac056fa..00000000 --- a/vendor/qiniu/php-sdk/examples/censor_video.php +++ /dev/null @@ -1,52 +0,0 @@ -censorVideo($body); -echo "\n====> Result is: \n"; -if ($err !== null) { - var_dump($err); -} else { - echo "job_id is: $jobid\n"; -} - -// 查询视频审核结果 -list($ret, $err) = $argusManager->censorStatus($jobid); -echo "\n====> job status: \n"; - -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/delete_bucket.php b/vendor/qiniu/php-sdk/examples/delete_bucket.php deleted file mode 100644 index 325a47a7..00000000 --- a/vendor/qiniu/php-sdk/examples/delete_bucket.php +++ /dev/null @@ -1,27 +0,0 @@ -deleteBucket($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/delete_bucketEvent.php b/vendor/qiniu/php-sdk/examples/delete_bucketEvent.php deleted file mode 100644 index 7eb744de..00000000 --- a/vendor/qiniu/php-sdk/examples/delete_bucketEvent.php +++ /dev/null @@ -1,28 +0,0 @@ -deleteBucketEvent($bucket, $name); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/delete_bucketLifecycleRule.php b/vendor/qiniu/php-sdk/examples/delete_bucketLifecycleRule.php deleted file mode 100644 index 2146b1b5..00000000 --- a/vendor/qiniu/php-sdk/examples/delete_bucketLifecycleRule.php +++ /dev/null @@ -1,27 +0,0 @@ -deleteBucketLifecycleRule($bucket, $name); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_bucketEvents.php b/vendor/qiniu/php-sdk/examples/get_bucketEvents.php deleted file mode 100644 index 23795847..00000000 --- a/vendor/qiniu/php-sdk/examples/get_bucketEvents.php +++ /dev/null @@ -1,26 +0,0 @@ -getBucketEvents($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_bucketLifecycleRules.php b/vendor/qiniu/php-sdk/examples/get_bucketLifecycleRules.php deleted file mode 100644 index a35feed4..00000000 --- a/vendor/qiniu/php-sdk/examples/get_bucketLifecycleRules.php +++ /dev/null @@ -1,26 +0,0 @@ -getBucketLifecycleRules($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_bucketList.php b/vendor/qiniu/php-sdk/examples/get_bucketList.php deleted file mode 100644 index 6a2f7b08..00000000 --- a/vendor/qiniu/php-sdk/examples/get_bucketList.php +++ /dev/null @@ -1,26 +0,0 @@ -listbuckets($region); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_bucketQuota.php b/vendor/qiniu/php-sdk/examples/get_bucketQuota.php deleted file mode 100644 index 93474b53..00000000 --- a/vendor/qiniu/php-sdk/examples/get_bucketQuota.php +++ /dev/null @@ -1,26 +0,0 @@ -getBucketQuota($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_bucketinfo.php b/vendor/qiniu/php-sdk/examples/get_bucketinfo.php deleted file mode 100644 index 98fd9f73..00000000 --- a/vendor/qiniu/php-sdk/examples/get_bucketinfo.php +++ /dev/null @@ -1,25 +0,0 @@ -bucketInfo($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_bucketinfos.php b/vendor/qiniu/php-sdk/examples/get_bucketinfos.php deleted file mode 100644 index 5eec1d8b..00000000 --- a/vendor/qiniu/php-sdk/examples/get_bucketinfos.php +++ /dev/null @@ -1,26 +0,0 @@ -bucketInfos($region); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/get_corsRules.php b/vendor/qiniu/php-sdk/examples/get_corsRules.php deleted file mode 100644 index 58e28bed..00000000 --- a/vendor/qiniu/php-sdk/examples/get_corsRules.php +++ /dev/null @@ -1,26 +0,0 @@ -getCorsRules($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/image_url_builder.php b/vendor/qiniu/php-sdk/examples/image_url_builder.php deleted file mode 100644 index 20e2b00f..00000000 --- a/vendor/qiniu/php-sdk/examples/image_url_builder.php +++ /dev/null @@ -1,74 +0,0 @@ - - */ -$thumbLink = $imageUrlBuilder->thumbnail($url, 1, 100, 100); - -// 函数方式调用 也可拼接多个操作参数 图片+水印 -$thumbLink2 = \Qiniu\thumbnail($url2, 1, 100, 100); -var_dump($thumbLink, $thumbLink2); - -/** - * 图片水印 - * - * @param string $url 图片链接 - * @param string $image 水印图片链接 - * @param int $dissolve 透明度 [可选] - * @param string $gravity 水印位置 [可选] - * @param int $dx 横轴边距 [可选] - * @param int $dy 纵轴边距 [可选] - * @param int $watermarkScale 自适应原图的短边比例 [可选] - * @link https://developer.qiniu.com/dora/api/1316/image-watermarking-processing-watermark - * @return string - * @author Sherlock Ren - */ -$waterLink = $imageUrlBuilder->waterImg($url, $waterImage); -// 函数调用方法 -//$waterLink = \Qiniu\waterImg($url, $waterImage); -var_dump($waterLink); - -/** - * 文字水印 - * - * @param string $url 图片链接 - * @param string $text 文字 - * @param string $font 文字字体 - * @param string $fontSize 文字字号 - * @param string $fontColor 文字颜色 [可选] - * @param int $dissolve 透明度 [可选] - * @param string $gravity 水印位置 [可选] - * @param int $dx 横轴边距 [可选] - * @param int $dy 纵轴边距 [可选] - * @link http://developer.qiniu.com/code/v6/api/kodo-api/image/watermark.html#text-watermark - * @return string - * @author Sherlock Ren - */ -$textLink = $imageUrlBuilder->waterText($url, '你瞅啥', '微软雅黑', 300); -// 函数调用方法 -// $textLink = \Qiniu\waterText($url, '你瞅啥', '微软雅黑', 300); -var_dump($textLink); diff --git a/vendor/qiniu/php-sdk/examples/persistent_fop_init.php b/vendor/qiniu/php-sdk/examples/persistent_fop_init.php deleted file mode 100644 index baca8464..00000000 --- a/vendor/qiniu/php-sdk/examples/persistent_fop_init.php +++ /dev/null @@ -1,18 +0,0 @@ -useHTTPS=true; - -// 初始化 -$pfop = new PersistentFop($auth, $config); diff --git a/vendor/qiniu/php-sdk/examples/persistent_fop_status.php b/vendor/qiniu/php-sdk/examples/persistent_fop_status.php deleted file mode 100644 index 73e85a38..00000000 --- a/vendor/qiniu/php-sdk/examples/persistent_fop_status.php +++ /dev/null @@ -1,19 +0,0 @@ -status($persistentId); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/pfop_mkzip.php b/vendor/qiniu/php-sdk/examples/pfop_mkzip.php deleted file mode 100644 index fb95cc22..00000000 --- a/vendor/qiniu/php-sdk/examples/pfop_mkzip.php +++ /dev/null @@ -1,58 +0,0 @@ -execute($bucket, $key, $fops, $pipeline, $notify_url, $force); - -echo "\n====> pfop mkzip result: \n"; -if ($err != null) { - var_dump($err); -} else { - echo "PersistentFop Id: $id\n"; -} - -// 查询转码的进度和状态 -list($ret, $err) = $pfop->status($id); -echo "\n====> pfop mkzip status: \n"; -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/pfop_vframe.php b/vendor/qiniu/php-sdk/examples/pfop_vframe.php deleted file mode 100644 index 49fd36d8..00000000 --- a/vendor/qiniu/php-sdk/examples/pfop_vframe.php +++ /dev/null @@ -1,55 +0,0 @@ -useHTTPS = true; -$pfop = new PersistentFop($auth, $config); - -// 视频处理完毕后保存到空间中的名称 -$saveasKey = 'qiniu_480x360.jpg'; - -// 进行视频截帧操作 -$fops = "vframe/jpg/offset/1/w/480/h/360/rotate/90|saveas/" . - \Qiniu\base64_urlSafeEncode("$bucket:$saveasKey"); - -list($id, $err) = $pfop->execute($bucket, $key, $fops, $pipeline, $notifyUrl, $force); -echo "\n====> pfop avthumb result: \n"; -if ($err != null) { - var_dump($err); -} else { - echo "PersistentFop Id: $id\n"; -} - -// 查询转码的进度和状态 -list($ret, $err) = $pfop->status($id); -echo "\n====> pfop avthumb status: \n"; -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/pfop_video_avthumb.php b/vendor/qiniu/php-sdk/examples/pfop_video_avthumb.php deleted file mode 100644 index 986aa8cc..00000000 --- a/vendor/qiniu/php-sdk/examples/pfop_video_avthumb.php +++ /dev/null @@ -1,55 +0,0 @@ -useHTTPS=true; - -// 视频处理完毕后保存到空间中的名称 -$saveasKey = 'qiniu_640x360.mp4'; - -$pfop = new PersistentFop($auth, $config); - -// 进行视频转码操作 -$fops = "avthumb/mp4/s/640x360/vb/1.4m|saveas/" . \Qiniu\base64_urlSafeEncode("$bucket:$saveasKey"); - -list($id, $err) = $pfop->execute($bucket, $key, $fops, $pipeline, $notifyUrl, $force); -echo "\n====> pfop avthumb result: \n"; -if ($err != null) { - var_dump($err); -} else { - echo "PersistentFop Id: $id\n"; -} - -// 查询转码的进度和状态 -list($ret, $err) = $pfop->status($id); -echo "\n====> pfop avthumb status: \n"; -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/pfop_watermark.php b/vendor/qiniu/php-sdk/examples/pfop_watermark.php deleted file mode 100644 index ea3d6bc8..00000000 --- a/vendor/qiniu/php-sdk/examples/pfop_watermark.php +++ /dev/null @@ -1,59 +0,0 @@ -useHTTPS=true; -$pfop = new PersistentFop($auth, $config); - -// 图片水印的源路径,也就是给视频打图片水印的图片 -$base64URL = Qiniu\base64_urlSafeEncode('http://test-2.qiniudn.com/logo.png'); - -// 视频处理完毕后保存到空间中的名称 -$saveasKey = 'qiniu_watermark.mp4'; - -// 进行视频打图片水印操作 -$fops = "avthumb/mp4/wmImage/" . $base64URL . "|saveas/" - . \Qiniu\base64_urlSafeEncode("$bucket:$saveasKey"); - -list($id, $err) = $pfop->execute($bucket, $key, $fops, $pipeline, $notifyUrl, $force); -echo "\n====> pfop avthumb result: \n"; -if ($err != null) { - var_dump($err); -} else { - echo "PersistentFop Id: $id\n"; -} - -// 查询转码的进度和状态 -list($ret, $err) = $pfop->status($id); -echo "\n====> pfop avthumb status: \n"; -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/php-logo.png b/vendor/qiniu/php-sdk/examples/php-logo.png deleted file mode 100644 index 77e051fe..00000000 Binary files a/vendor/qiniu/php-sdk/examples/php-logo.png and /dev/null differ diff --git a/vendor/qiniu/php-sdk/examples/prefop.php b/vendor/qiniu/php-sdk/examples/prefop.php deleted file mode 100644 index 1b8950ae..00000000 --- a/vendor/qiniu/php-sdk/examples/prefop.php +++ /dev/null @@ -1,27 +0,0 @@ -useHTTPS=true; - -$pfop = new PersistentFop($auth, $config); - -$id = "z2.01z201c4oyre6q1hgy00murnel0002nh"; - -// 查询持久化处理的进度和状态 -list($ret, $err) = $pfop->status($id); -echo "\n====> pfop avthumb status: \n"; -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/put_bucketAccessMode.php b/vendor/qiniu/php-sdk/examples/put_bucketAccessMode.php deleted file mode 100644 index 638ae3c3..00000000 --- a/vendor/qiniu/php-sdk/examples/put_bucketAccessMode.php +++ /dev/null @@ -1,27 +0,0 @@ -putBucketAccessMode($bucket, $private); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/put_bucketAccessStyleMode.php b/vendor/qiniu/php-sdk/examples/put_bucketAccessStyleMode.php deleted file mode 100644 index 3cc2aec7..00000000 --- a/vendor/qiniu/php-sdk/examples/put_bucketAccessStyleMode.php +++ /dev/null @@ -1,27 +0,0 @@ -putBucketAccessStyleMode($bucket, $mode); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/put_bucketEvent.php b/vendor/qiniu/php-sdk/examples/put_bucketEvent.php deleted file mode 100644 index f3c830d5..00000000 --- a/vendor/qiniu/php-sdk/examples/put_bucketEvent.php +++ /dev/null @@ -1,32 +0,0 @@ -putBucketEvent($bucket, $name, $prefix, $suffix, $event, $callbackURL); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/put_bucketMaxAge.php b/vendor/qiniu/php-sdk/examples/put_bucketMaxAge.php deleted file mode 100644 index 48901746..00000000 --- a/vendor/qiniu/php-sdk/examples/put_bucketMaxAge.php +++ /dev/null @@ -1,27 +0,0 @@ -putBucketMaxAge($bucket, $maxAge); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/put_bucketQuota.php b/vendor/qiniu/php-sdk/examples/put_bucketQuota.php deleted file mode 100644 index b00ec489..00000000 --- a/vendor/qiniu/php-sdk/examples/put_bucketQuota.php +++ /dev/null @@ -1,29 +0,0 @@ -putBucketQuota($bucket, $size, $count); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/put_referAntiLeech.php b/vendor/qiniu/php-sdk/examples/put_referAntiLeech.php deleted file mode 100644 index 7d56d1ed..00000000 --- a/vendor/qiniu/php-sdk/examples/put_referAntiLeech.php +++ /dev/null @@ -1,30 +0,0 @@ -putReferAntiLeech($bucket, $mode, $norefer, $pattern); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/qetag.php b/vendor/qiniu/php-sdk/examples/qetag.php deleted file mode 100644 index 1fe90d16..00000000 --- a/vendor/qiniu/php-sdk/examples/qetag.php +++ /dev/null @@ -1,14 +0,0 @@ -useHTTPS = true; // 接口是否使用 HTTPS 协议 - -$bucketManager = new BucketManager($auth, $config); - -// 异步第三方资源抓取 -// 参考文档:https://developer.qiniu.com/kodo/api/4097/asynch-fetch - -// 需要抓取的文件 URL -$url = 'http://devtools.qiniu.com/qiniu.png'; - -//回调 URL(需要可以公网访问,并能够相应 200 OK) -$callbackurl = "http://your.domain.com/upload_verify_callback.php"; - -// 回调Body -$callbackbody = '{"key":"$(key)","hash":"$(etag)","w":"$(imageInfo.width)","h":"$(imageInfo.height)"}'; - - -//---------------------------------------- demo1 ---------------------------------------- -// 指定抓取的文件保存到七牛云空间中的名称 - -$key = time() . '.png'; -list($ret, $err) = $bucketManager->asynchFetch($url, $bucket, null, $key, null, null, $callbackurl, $callbackbody); -echo "=====> asynch fetch $url to bucket: $bucket key: $key\n"; -if ($err !== null) { - var_dump($err); -} else { - $id = $ret['id']; - echo "id is: $id\n"; -} - -//---------------------------------------- demo2 ---------------------------------------- -// 不指定 key 时,以文件内容的 hash 作为文件名 - -$key = null; -list($ret, $err) = $bucketManager->asynchFetch($url, $bucket, null, $key, null, null, $callbackurl, $callbackbody); -echo "=====> asynch fetch $url to bucket: $bucket key: $(etag)\n"; -if ($err !== null) { - var_dump($err); -} else { - $id = $ret['id']; - echo "id is: $id\n"; -} - -// 查询异步抓取的进度和状态 - -// 华东:z0,华北:z1,华南:z2,北美:na0,东南亚:as0 -$zone = 'z2'; - -sleep(10); // 由于异步抓取需要耗时,等待 10 秒后再查询状态 -list($ret, $err) = $bucketManager->asynchFetchStatus($zone, $id); -echo "\n====> asynch fetch status: \n"; -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_change_mime.php b/vendor/qiniu/php-sdk/examples/rs_batch_change_mime.php deleted file mode 100644 index c5bd6b45..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_change_mime.php +++ /dev/null @@ -1,32 +0,0 @@ - 'video/x-mp4', - 'qiniu.png' => 'image/x-png', - 'qiniu.jpg' => 'image/x-jpg' -); - -$ops = $bucketManager->buildBatchChangeMime($bucket, $keyMimePairs); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_change_type.php b/vendor/qiniu/php-sdk/examples/rs_batch_change_type.php deleted file mode 100644 index 8a224833..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_change_type.php +++ /dev/null @@ -1,39 +0,0 @@ -buildBatchChangeType($bucket, $keyTypePairs); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_copy.php b/vendor/qiniu/php-sdk/examples/rs_batch_copy.php deleted file mode 100644 index 66c4d4d4..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_copy.php +++ /dev/null @@ -1,40 +0,0 @@ -buildBatchCopy($srcBucket, $keyPairs, $destBucket, true); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_delete.php b/vendor/qiniu/php-sdk/examples/rs_batch_delete.php deleted file mode 100644 index ebcdbe66..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_delete.php +++ /dev/null @@ -1,32 +0,0 @@ -buildBatchDelete($bucket, $keys); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_delete_after_days.php b/vendor/qiniu/php-sdk/examples/rs_batch_delete_after_days.php deleted file mode 100644 index 928dd149..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_delete_after_days.php +++ /dev/null @@ -1,39 +0,0 @@ -buildBatchDeleteAfterDays($bucket, $keyDayPairs); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_move.php b/vendor/qiniu/php-sdk/examples/rs_batch_move.php deleted file mode 100644 index 01d8c919..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_move.php +++ /dev/null @@ -1,40 +0,0 @@ -buildBatchMove($srcBucket, $keyPairs, $destBucket, true); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_batch_stat.php b/vendor/qiniu/php-sdk/examples/rs_batch_stat.php deleted file mode 100644 index 88bc32e0..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_batch_stat.php +++ /dev/null @@ -1,32 +0,0 @@ -buildBatchStat($bucket, $keys); -list($ret, $err) = $bucketManager->batch($ops); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_bucket_domains.php b/vendor/qiniu/php-sdk/examples/rs_bucket_domains.php deleted file mode 100644 index 3cc9cb3e..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_bucket_domains.php +++ /dev/null @@ -1,26 +0,0 @@ -domains($bucket); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_buckets.php b/vendor/qiniu/php-sdk/examples/rs_buckets.php deleted file mode 100644 index 84263a90..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_buckets.php +++ /dev/null @@ -1,25 +0,0 @@ -buckets(true); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_change_mime.php b/vendor/qiniu/php-sdk/examples/rs_change_mime.php deleted file mode 100644 index 399143de..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_change_mime.php +++ /dev/null @@ -1,27 +0,0 @@ -changeMime($bucket, $key, $newMime); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_change_status.php b/vendor/qiniu/php-sdk/examples/rs_change_status.php deleted file mode 100644 index 40d243bf..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_change_status.php +++ /dev/null @@ -1,27 +0,0 @@ -changeStatus($bucket, $key, $status); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_change_type.php b/vendor/qiniu/php-sdk/examples/rs_change_type.php deleted file mode 100644 index 4b87c6fd..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_change_type.php +++ /dev/null @@ -1,29 +0,0 @@ -changeType($bucket, $key, $fileType); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_copy.php b/vendor/qiniu/php-sdk/examples/rs_copy.php deleted file mode 100644 index 2e593741..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_copy.php +++ /dev/null @@ -1,31 +0,0 @@ -copy($srcBucket, $srcKey, $destBucket, $destKey, true); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_delete.php b/vendor/qiniu/php-sdk/examples/rs_delete.php deleted file mode 100644 index a41cf22b..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_delete.php +++ /dev/null @@ -1,25 +0,0 @@ -delete($bucket, $key); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_delete_after_days.php b/vendor/qiniu/php-sdk/examples/rs_delete_after_days.php deleted file mode 100644 index 546d7ccb..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_delete_after_days.php +++ /dev/null @@ -1,24 +0,0 @@ -deleteAfterDays($bucket, $key, $days); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_download_urls.php b/vendor/qiniu/php-sdk/examples/rs_download_urls.php deleted file mode 100644 index e803ddcb..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_download_urls.php +++ /dev/null @@ -1,19 +0,0 @@ -/,一定要带访问协议,也就是 http:// 或者 https:// -$baseUrl = 'http://if-pri.qiniudn.com/qiniu.png?imageView2/1/h/500'; - -// 对链接进行签名,参考文档:https://developer.qiniu.com/kodo/manual/1656/download-private -$signedUrl = $auth->privateDownloadUrl($baseUrl); - -echo $signedUrl; diff --git a/vendor/qiniu/php-sdk/examples/rs_fetch.php b/vendor/qiniu/php-sdk/examples/rs_fetch.php deleted file mode 100644 index 5c1a5abb..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_fetch.php +++ /dev/null @@ -1,43 +0,0 @@ -fetch($url, $bucket, $key); -echo "=====> fetch $url to bucket: $bucket key: $key\n"; -if ($err !== null) { - var_dump($err); -} else { - print_r($ret); -} - -//---------------------------------------- demo2 ---------------------------------------- -// 不指定 key 时,以文件内容的 hash 作为文件名 - -$key = null; -list($ret, $err) = $bucketManager->fetch($url, $bucket, $key); -echo "=====> fetch $url to bucket: $bucket key: $(etag)\n"; -if ($err !== null) { - var_dump($err); -} else { - print_r($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_move.php b/vendor/qiniu/php-sdk/examples/rs_move.php deleted file mode 100644 index bffbfb66..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_move.php +++ /dev/null @@ -1,27 +0,0 @@ -move($srcBucket, $srcKey, $destBucket, $destKey, true); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_prefetch.php b/vendor/qiniu/php-sdk/examples/rs_prefetch.php deleted file mode 100644 index 6ddc3603..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_prefetch.php +++ /dev/null @@ -1,23 +0,0 @@ -prefetch($bucket, $key); -if ($err) { - print_r($err); -} diff --git a/vendor/qiniu/php-sdk/examples/rs_stat.php b/vendor/qiniu/php-sdk/examples/rs_stat.php deleted file mode 100644 index 36e863ef..00000000 --- a/vendor/qiniu/php-sdk/examples/rs_stat.php +++ /dev/null @@ -1,28 +0,0 @@ -stat($bucket, $key); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rsf_list_bucket.php b/vendor/qiniu/php-sdk/examples/rsf_list_bucket.php deleted file mode 100644 index 97a5838a..00000000 --- a/vendor/qiniu/php-sdk/examples/rsf_list_bucket.php +++ /dev/null @@ -1,47 +0,0 @@ -listFiles($bucket, $prefix, $marker, $limit, $delimiter); - if ($err !== null) { - echo "\n====> list file err: \n"; - var_dump($err); - } else { - $marker = null; - if (array_key_exists('marker', $ret)) { - $marker = $ret['marker']; - } - echo "Marker: $marker\n"; - echo "\nList Items====>\n"; - //var_dump($ret['items']); - print('items count:' . count($ret['items']) . "\n"); - if (array_key_exists('commonPrefixes', $ret)) { - print_r($ret['commonPrefixes']); - } - } -} while (!empty($marker)); diff --git a/vendor/qiniu/php-sdk/examples/rsf_list_files.php b/vendor/qiniu/php-sdk/examples/rsf_list_files.php deleted file mode 100644 index 31c455b4..00000000 --- a/vendor/qiniu/php-sdk/examples/rsf_list_files.php +++ /dev/null @@ -1,39 +0,0 @@ -listFiles($bucket, $prefix, $marker, $limit, $delimiter); -if ($err !== null) { - echo "\n====> list file err: \n"; - var_dump($err); -} else { - if (array_key_exists('marker', $ret)) { - echo "Marker:" . $ret["marker"] . "\n"; - } - echo "\nList Iterms====>\n"; -} diff --git a/vendor/qiniu/php-sdk/examples/rsf_v2list_bucket.php b/vendor/qiniu/php-sdk/examples/rsf_v2list_bucket.php deleted file mode 100644 index 5f9d763b..00000000 --- a/vendor/qiniu/php-sdk/examples/rsf_v2list_bucket.php +++ /dev/null @@ -1,34 +0,0 @@ -listFilesv2($bucket, $prefix, $marker, $limit, $delimiter, true); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/README.md b/vendor/qiniu/php-sdk/examples/rtc/README.md deleted file mode 100755 index c7fff4d8..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Rtc Streaming Cloud Server-Side Library For PHP - -## Features - -- RoomToken 签发 - - [x] 生成 RoomToken: client->appToken() - -- App 管理 - - [x] 创建应用: client->createApp() - - [x] 获取应用配置信息: client->getApp() - - [x] 更新应用配置信息: client->updateApp() - - [x] 删除应用: client->deleteApp() - -- 房间管理 - - [x] 列举房间下的所有用户: client->listUser() - - [x] 指定一个用户踢出房间: client->kickUser() - - [x] 停止一个房间的合流转推: client->stopMerge() - - [x] 获取当前所有活跃的房间: client->listActiveRooms() - -## Demo -- RoomToken 签发 - - [生成 RoomToken](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_create_roomToken.php) - -- App 管理 - - [创建应用](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_createApp.php) - - [获取应用配置信息](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_getApp.php) - - [更新应用配置信息](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_updateApp.php) - - [删除应用](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_deleteApp.php) - -- 房间管理 - - [列举房间下的所有用户](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_rooms_listUser.php) - - [指定一个用户踢出房间](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_rooms_kickUser.php) - - [停止一个房间的合流转推](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_rooms_stopMerge.php) - - [获取当前所有活跃的房间](https://github.com/qiniu/php-sdk/tree/master/examples/rtc/rtc_rooms_listActiveRooms.php) \ No newline at end of file diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_createApp.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_createApp.php deleted file mode 100644 index 039eadd9..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_createApp.php +++ /dev/null @@ -1,32 +0,0 @@ -createApp($hub, $title, $maxUsers); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Create Successfully: \n"; - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_create_roomToken.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_create_roomToken.php deleted file mode 100644 index 6a62aa28..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_create_roomToken.php +++ /dev/null @@ -1,34 +0,0 @@ -appToken($appId, $roomName, $userId, $expireAt, $permission); -echo "\n====> Create RoomToken Successfully: \n"; -var_dump($RoomToken); diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_deleteApp.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_deleteApp.php deleted file mode 100644 index 68bff336..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_deleteApp.php +++ /dev/null @@ -1,25 +0,0 @@ -deleteApp($appId); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Delete $appId Successfully \n"; -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_getApp.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_getApp.php deleted file mode 100644 index 9f8e3748..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_getApp.php +++ /dev/null @@ -1,26 +0,0 @@ -getApp($appId); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> $appId Conf: \n"; - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_kickUser.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_kickUser.php deleted file mode 100644 index 019c3f21..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_kickUser.php +++ /dev/null @@ -1,31 +0,0 @@ -kickUser($appId, $roomName, $userId); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Kick User $userId Successfully \n"; -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_listActiveRooms.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_listActiveRooms.php deleted file mode 100644 index 16e60275..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_listActiveRooms.php +++ /dev/null @@ -1,35 +0,0 @@ -listActiveRooms($appId, $prefix, $offset, $limit); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Active Rooms:\n"; - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_listUser.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_listUser.php deleted file mode 100644 index a8397280..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_listUser.php +++ /dev/null @@ -1,29 +0,0 @@ -listUser($appId, $roomName); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> User List: \n"; - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_stopMerge.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_stopMerge.php deleted file mode 100644 index e140907d..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_rooms_stopMerge.php +++ /dev/null @@ -1,28 +0,0 @@ -stopMerge($appId, $roomName); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Stop Merge Successfully \n"; -} diff --git a/vendor/qiniu/php-sdk/examples/rtc/rtc_updateApp.php b/vendor/qiniu/php-sdk/examples/rtc/rtc_updateApp.php deleted file mode 100644 index f7710754..00000000 --- a/vendor/qiniu/php-sdk/examples/rtc/rtc_updateApp.php +++ /dev/null @@ -1,40 +0,0 @@ -updateApp($appId, $hub, $title, $maxUsers, false, $mergePublishRtmp); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Update $appId Conf Successfully: \n"; - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/saveas.php b/vendor/qiniu/php-sdk/examples/saveas.php deleted file mode 100644 index 5d51ef4b..00000000 --- a/vendor/qiniu/php-sdk/examples/saveas.php +++ /dev/null @@ -1,33 +0,0 @@ -为生成缩略图的文件名 -$entry = ':'; - -// 生成的值 -$encodedEntryURI = \Qiniu\base64_urlSafeEncode($entry); - -// 使用 SecretKey 对新的下载 URL 进行 HMAC1-SHA1 签名 -$newurl = "78re52.com1.z0.glb.clouddn.com/resource/Ship.jpg?imageView2/2/w/200/h/200|saveas/" . $encodedEntryURI; - -$sign = hash_hmac("sha1", $newurl, $secretKey, true); - -// 对签名进行 URL 安全的 Base64 编码 -$encodedSign = \Qiniu\base64_urlSafeEncode($sign); - -// 最终得到的完整下载 URL -$finalURL = "http://" . $newurl . "/sign/" . $accessKey . ":" . $encodedSign; - -$callbackBody = file_get_contents("$finalURL"); - -echo $callbackBody; diff --git a/vendor/qiniu/php-sdk/examples/sms/README.md b/vendor/qiniu/php-sdk/examples/sms/README.md deleted file mode 100755 index 8c80a389..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# SMS Server-Side Library For PHP - -## Features - -- 签名管理 - - [x] 创建签名: client->createSignature() - - [x] 列出签名: client->checkSignature() - - [x] 查询单个签名: client->checkSingleSignature() - - [x] 编辑签名: client->updateSignature() - - [x] 删除签名: client->deleteSignature() - -- 模板管理 - - [x] 创建模板: client->createTemplate() - - [x] 列出模板: client->queryTemplate() - - [x] 查询单个模板: client->querySingleTemplate() - - [x] 编辑模板: client->updateTemplate() - - [x] 删除模板: client->deleteTemplate() - -- 发送短信 - - [x] 发送短信: client->sendMessage() - -- 查询发送记录 - - [x] 查询发送记录: client->querySendSms() - -## Demo - -- 签名管理 - - [创建签名](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_create_signature.php) - - [列出签名](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_query_signature.php) - - [查询单个签名](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_query_single_signature.php) - - [编辑签名](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_edit_signature.php) - - [删除签名](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_delete_signature.php) - -- 模板管理 - - [创建模板](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_create_template.php) - - [列出模板](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_query_template.php) - - [查询单个模板](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_query_single_template.php) - - [编辑模板](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_edit_template.php) - - [删除模板](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_delete_template.php) - -- 发送短信 - - [发送短信](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_send_message.php) - -- 查询发送记录 - - [查询发送记录](https://github.com/qiniu/php-sdk/tree/master/examples/sms/sms_query_send_sms.php) diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_create_signature.php b/vendor/qiniu/php-sdk/examples/sms/sms_create_signature.php deleted file mode 100644 index ea1f158a..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_create_signature.php +++ /dev/null @@ -1,29 +0,0 @@ -createSignature($signature, $source, $pics); - -echo "\n====> create signature result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_create_template.php b/vendor/qiniu/php-sdk/examples/sms/sms_create_template.php deleted file mode 100644 index 3cb3874d..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_create_template.php +++ /dev/null @@ -1,33 +0,0 @@ -createTemplate($name, $template, $type, $description, $signature_id); - -echo "\n====> create signature result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_delete_signature.php b/vendor/qiniu/php-sdk/examples/sms/sms_delete_signature.php deleted file mode 100644 index fd873fa3..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_delete_signature.php +++ /dev/null @@ -1,25 +0,0 @@ -deleteSignature($signature_id); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Delete Signature $signature_id Successfully\n"; -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_delete_template.php b/vendor/qiniu/php-sdk/examples/sms/sms_delete_template.php deleted file mode 100644 index 45908351..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_delete_template.php +++ /dev/null @@ -1,25 +0,0 @@ -deleteTemplate($template_id); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Delete Template $template_id Successfully\n"; -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_edit_signature.php b/vendor/qiniu/php-sdk/examples/sms/sms_edit_signature.php deleted file mode 100644 index edf14e0c..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_edit_signature.php +++ /dev/null @@ -1,30 +0,0 @@ -updateSignature($id, $signature, $source, $pics); - -echo "\n====> edit signature result: \n"; -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Update Signature Successfully\n"; -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_edit_template.php b/vendor/qiniu/php-sdk/examples/sms/sms_edit_template.php deleted file mode 100644 index 1be55098..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_edit_template.php +++ /dev/null @@ -1,31 +0,0 @@ -updateTemplate($template_id, $name, $template, $description, $signature_id); - -echo "\n====> edit template result: \n"; -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Update Template Successfully\n"; -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_query_send_sms.php b/vendor/qiniu/php-sdk/examples/sms/sms_query_send_sms.php deleted file mode 100644 index cdbbe71d..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_query_send_sms.php +++ /dev/null @@ -1,50 +0,0 @@ -querySendSms( - $job_id, - $message_id, - $mobile, - $status, - $template_id, - $type, - $start, - $end, - $page, - $page_size -); -echo "\n====> query send sms result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_query_signature.php b/vendor/qiniu/php-sdk/examples/sms/sms_query_signature.php deleted file mode 100644 index 224d09bd..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_query_signature.php +++ /dev/null @@ -1,28 +0,0 @@ -querySignature($audit_status, $page, $page_size); -echo "\n====> query signature result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_query_single_signature.php b/vendor/qiniu/php-sdk/examples/sms/sms_query_single_signature.php deleted file mode 100644 index 8afb4d58..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_query_single_signature.php +++ /dev/null @@ -1,26 +0,0 @@ -checkSingleSignature($signature_id); -echo "\n====> query single signature result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_query_single_template.php b/vendor/qiniu/php-sdk/examples/sms/sms_query_single_template.php deleted file mode 100644 index 8e0b2798..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_query_single_template.php +++ /dev/null @@ -1,26 +0,0 @@ -querySingleTemplate($template_id); -echo "\n====> query single template result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_query_template.php b/vendor/qiniu/php-sdk/examples/sms/sms_query_template.php deleted file mode 100644 index 6be260e0..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_query_template.php +++ /dev/null @@ -1,28 +0,0 @@ -queryTemplate($audit_status, $page, $page_size); -echo "\n====> query template result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/sms/sms_send_message.php b/vendor/qiniu/php-sdk/examples/sms/sms_send_message.php deleted file mode 100644 index d943e520..00000000 --- a/vendor/qiniu/php-sdk/examples/sms/sms_send_message.php +++ /dev/null @@ -1,32 +0,0 @@ - 'xxxx'); - -list($ret, $err) = $client->sendMessage($template_id, $mobiles, $code); -if ($err !== null) { - var_dump($err); -} else { - echo "\n====> Send Message Successfully: \n"; - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/update_bucketEvent.php b/vendor/qiniu/php-sdk/examples/update_bucketEvent.php deleted file mode 100644 index 7b0d1d05..00000000 --- a/vendor/qiniu/php-sdk/examples/update_bucketEvent.php +++ /dev/null @@ -1,31 +0,0 @@ -updateBucketEvent($bucket, $name, $prefix, $suffix, $event, $callbackURL); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/update_bucketLifecycleRule.php b/vendor/qiniu/php-sdk/examples/update_bucketLifecycleRule.php deleted file mode 100644 index 73f0f566..00000000 --- a/vendor/qiniu/php-sdk/examples/update_bucketLifecycleRule.php +++ /dev/null @@ -1,36 +0,0 @@ -updateBucketLifecycleRule( - $bucket, - $name, - $prefix, - $delete_after_days, - $to_line_after_days -); -if ($err != null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/upload_and_callback.php b/vendor/qiniu/php-sdk/examples/upload_and_callback.php deleted file mode 100644 index a0c793a1..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_and_callback.php +++ /dev/null @@ -1,31 +0,0 @@ - 'http://your.domain.com/upload_verify_callback.php', - 'callbackBody' => 'filename=$(fname)&filesize=$(fsize)' -); -$uptoken = $auth->uploadToken($bucket, null, 3600, $policy); - -// 上传文件的本地路径 -$filePath = './php-logo.png'; - -$uploadMgr = new UploadManager(); -list($ret, $err) = $uploadMgr->putFile($uptoken, null, $filePath); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/upload_and_pfop.php b/vendor/qiniu/php-sdk/examples/upload_and_pfop.php deleted file mode 100644 index 32c1eb51..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_and_pfop.php +++ /dev/null @@ -1,49 +0,0 @@ - $pfop, - 'persistentNotifyUrl' => $notifyUrl, - 'persistentPipeline' => $pipeline -); -$token = $auth->uploadToken($bucket, null, 3600, $policy); - -list($ret, $err) = $uploadMgr->putFile($token, $key, $filePath); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/upload_mgr_init.php b/vendor/qiniu/php-sdk/examples/upload_mgr_init.php deleted file mode 100644 index 1164c905..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_mgr_init.php +++ /dev/null @@ -1,19 +0,0 @@ -uploadToken($bucket); - -// 构建 UploadManager 对象 -$uploadMgr = new UploadManager(); diff --git a/vendor/qiniu/php-sdk/examples/upload_multi_demos.php b/vendor/qiniu/php-sdk/examples/upload_multi_demos.php deleted file mode 100644 index d7242358..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_multi_demos.php +++ /dev/null @@ -1,89 +0,0 @@ -uploadToken($bucket); -$uploadMgr = new UploadManager(); - -//---------------------------------------- upload demo1 ---------------------------------------- -// 上传字符串到七牛 - -list($ret, $err) = $uploadMgr->put($token, null, 'content string'); -echo "\n====> put result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} - - -//---------------------------------------- upload demo2 ---------------------------------------- -// 上传文件到七牛 - -$filePath = './php-logo.png'; -$key = 'php-logo.png'; -list($ret, $err) = $uploadMgr->putFile($token, $key, $filePath); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} - - -//---------------------------------------- upload demo3 ---------------------------------------- -// 上传文件到七牛后, 七牛将文件名和文件大小回调给业务服务器. -// 可参考文档: https://developer.qiniu.com/kodo/manual/1206/put-policy - -$policy = array( - 'callbackUrl' => 'http://172.30.251.210/upload_verify_callback.php', - 'callbackBody' => 'filename=$(fname)&filesize=$(fsize)' -// 'callbackBodyType' => 'application/json', -// 'callbackBody' => '{"filename":$(fname), "filesize": $(fsize)}' //设置application/json格式回调 -); -$token = $auth->uploadToken($bucket, null, 3600, $policy); - - -list($ret, $err) = $uploadMgr->putFile($token, null, $key); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} - - -//---------------------------------------- upload demo4 ---------------------------------------- -// 上传视频,上传完成后进行 m3u8 的转码, 并给视频打水印 - -$wmImg = Qiniu\base64_urlSafeEncode('http://devtools.qiniudn.com/qiniu.png'); -$pfop = "avthumb/m3u8/wmImage/$wmImg"; - -// 转码完成后回调到业务服务器。(公网可以访问,并相应 200 OK) -$notifyUrl = 'http://notify.fake.com'; - -$policy = array( - 'persistentOps' => $pfop, - 'persistentNotifyUrl' => $notifyUrl, - 'persistentPipeline' => $pipeline -); -$token = $auth->uploadToken($bucket, null, 3600, $policy); -print($token); -list($ret, $err) = $uploadMgr->putFile($token, null, $key); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/upload_simple_file.php b/vendor/qiniu/php-sdk/examples/upload_simple_file.php deleted file mode 100644 index f495a027..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_simple_file.php +++ /dev/null @@ -1,37 +0,0 @@ -uploadToken($bucket); - -// 要上传文件的本地路径 -$filePath = './php-logo.png'; - -// 上传到七牛存储后保存的文件名 -$key = 'my-php-logo.png'; - -// 初始化 UploadManager 对象并进行文件的上传。 -$uploadMgr = new UploadManager(); - -// 调用 UploadManager 的 putFile 方法进行文件的上传,该方法会判断文件大小,进而决定使用表单上传还是分片上传,无需手动配置。 -list($ret, $err) = $uploadMgr->putFile($token, $key, $filePath); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/upload_tokens.php b/vendor/qiniu/php-sdk/examples/upload_tokens.php deleted file mode 100644 index d2cf02c1..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_tokens.php +++ /dev/null @@ -1,82 +0,0 @@ -uploadToken($bucket, null, $expires, $policy, true); -print($upToken . "\n"); - -//---------------------------------------- demo2 ---------------------------------------- -// 自定义凭证有效期(示例2小时) - -$expires = 7200; -$upToken = $auth->uploadToken($bucket, null, $expires, $policy, true); -print($upToken . "\n"); - -//---------------------------------------- demo3 ---------------------------------------- -// 覆盖上传凭证 - -$expires = 3600; -$keyToOverwrite = 'qiniu.mp4'; -$upToken = $auth->uploadToken($bucket, $keyToOverwrite, $expires, $policy, true); -print($upToken . "\n"); - -//---------------------------------------- demo4 ---------------------------------------- -// 自定义上传回复(非callback模式)凭证 - -$returnBody = '{"key":"$(key)","hash":"$(etag)","fsize":$(fsize),"bucket":"$(bucket)","name":"$(x:name)"}'; -$policy = array( - 'returnBody' => $returnBody -); -$upToken = $auth->uploadToken($bucket, null, $expires, $policy, true); -print($upToken . "\n"); - -//---------------------------------------- demo5 ---------------------------------------- -// 带回调业务服务器的凭证(application/json) - -$policy = array( - 'callbackUrl' => 'http://api.example.com/qiniu/upload/callback', - 'callbackBody' => '{"key":"$(key)","hash":"$(etag)","fsize":$(fsize),"bucket":"$(bucket)","name":"$(x:name)"}', - 'callbackBodyType' => 'application/json' -); -$upToken = $auth->uploadToken($bucket, null, $expires, $policy, true); -print($upToken . "\n"); - -//---------------------------------------- demo6 ---------------------------------------- -// 带回调业务服务器的凭证(application/x-www-form-urlencoded) - -$policy = array( - 'callbackUrl' => 'http://api.example.com/qiniu/upload/callback', - 'callbackBody' => 'key=$(key)&hash=$(etag)&bucket=$(bucket)&fsize=$(fsize)&name=$(x:name)' -); -$upToken = $auth->uploadToken($bucket, null, $expires, $policy, true); -print($upToken . "\n"); - -//---------------------------------------- demo7 ---------------------------------------- -// 带数据处理的凭证 - -$saveMp4Entry = \Qiniu\base64_urlSafeEncode($bucket . ":avthumb_test_target.mp4"); -$saveJpgEntry = \Qiniu\base64_urlSafeEncode($bucket . ":vframe_test_target.jpg"); -$avthumbMp4Fop = "avthumb/mp4|saveas/" . $saveMp4Entry; -$vframeJpgFop = "vframe/jpg/offset/1|saveas/" . $saveJpgEntry; -$policy = array( - 'persistentOps' => $avthumbMp4Fop . ";" . $vframeJpgFop, - 'persistentPipeline' => "video-pipe", - 'persistentNotifyUrl' => "http://api.example.com/qiniu/pfop/notify", -); -$upToken = $auth->uploadToken($bucket, null, $expires, $policy, true); -print($upToken . "\n"); diff --git a/vendor/qiniu/php-sdk/examples/upload_verify_callback.php b/vendor/qiniu/php-sdk/examples/upload_verify_callback.php deleted file mode 100644 index dcb64c95..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_verify_callback.php +++ /dev/null @@ -1,34 +0,0 @@ -verifyCallback($contentType, $authorization, $url, $callbackBody); - -if ($isQiniuCallback) { - $resp = array('ret' => 'success'); -} else { - $resp = array('ret' => 'failed'); -} - -echo json_encode($resp); diff --git a/vendor/qiniu/php-sdk/examples/upload_with_qvmzone.php b/vendor/qiniu/php-sdk/examples/upload_with_qvmzone.php deleted file mode 100644 index ce2b21fd..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_with_qvmzone.php +++ /dev/null @@ -1,40 +0,0 @@ -uploadToken($bucket); - -// 上传文件的本地路径 -$filePath = './php-logo.png'; - -// 七牛云主机QVM和七牛对象存储KODO内网上传,目前支持华东1区域(杭州)和华北2区域(北京)的云主机可以访问同区域的对象存储服务 -// 参考文档:https://developer.qiniu.com/qvm/manual/4269/qvm-kodo - -$zone = Zone::qvmZonez0(); // 华东:z0,华北:z1 -$config = new Config($zone); -$config->useHTTPS = true; - -// 指定 config -$uploadMgr = new UploadManager($config); - -list($ret, $err) = $uploadMgr->putFile($uptoken, $key, $filePath); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/examples/upload_with_zone.php b/vendor/qiniu/php-sdk/examples/upload_with_zone.php deleted file mode 100644 index 61926660..00000000 --- a/vendor/qiniu/php-sdk/examples/upload_with_zone.php +++ /dev/null @@ -1,39 +0,0 @@ -uploadToken($bucket); - -// 上传文件的本地路径 -$filePath = './php-logo.png'; - -// 指定 zone 上传 -// 参考文档:https://developer.qiniu.com/kodo/manual/1671/region-endpoint -$zone = Zone::zonez0(); // 华东:z0,华北:z1,华南:z2,北美:na0,东南亚:as0 -$config = new Config($zone); -$config->useHTTPS = true; - -// 指定 config -$uploadMgr = new UploadManager($config); - -list($ret, $err) = $uploadMgr->putFile($uptoken, $key, $filePath); -echo "\n====> putFile result: \n"; -if ($err !== null) { - var_dump($err); -} else { - var_dump($ret); -} diff --git a/vendor/qiniu/php-sdk/phpunit.xml.dist b/vendor/qiniu/php-sdk/phpunit.xml.dist deleted file mode 100644 index 840f6e56..00000000 --- a/vendor/qiniu/php-sdk/phpunit.xml.dist +++ /dev/null @@ -1,18 +0,0 @@ - - - - - tests - - - - diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Auth.php b/vendor/qiniu/php-sdk/src/Qiniu/Auth.php deleted file mode 100644 index 8452ac05..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Auth.php +++ /dev/null @@ -1,188 +0,0 @@ -accessKey = $accessKey; - $this->secretKey = $secretKey; - } - - public function getAccessKey() - { - return $this->accessKey; - } - - public function sign($data) - { - $hmac = hash_hmac('sha1', $data, $this->secretKey, true); - return $this->accessKey . ':' . \Qiniu\base64_urlSafeEncode($hmac); - } - - public function signWithData($data) - { - $encodedData = \Qiniu\base64_urlSafeEncode($data); - return $this->sign($encodedData) . ':' . $encodedData; - } - - public function signRequest($urlString, $body, $contentType = null) - { - $url = parse_url($urlString); - $data = ''; - if (array_key_exists('path', $url)) { - $data = $url['path']; - } - if (array_key_exists('query', $url)) { - $data .= '?' . $url['query']; - } - $data .= "\n"; - - if ($body !== null && $contentType === 'application/x-www-form-urlencoded') { - $data .= $body; - } - return $this->sign($data); - } - - public function verifyCallback($contentType, $originAuthorization, $url, $body) - { - $authorization = 'QBox ' . $this->signRequest($url, $body, $contentType); - return $originAuthorization === $authorization; - } - - public function privateDownloadUrl($baseUrl, $expires = 3600) - { - $deadline = time() + $expires; - - $pos = strpos($baseUrl, '?'); - if ($pos !== false) { - $baseUrl .= '&e='; - } else { - $baseUrl .= '?e='; - } - $baseUrl .= $deadline; - - $token = $this->sign($baseUrl); - return "$baseUrl&token=$token"; - } - - public function uploadToken($bucket, $key = null, $expires = 3600, $policy = null, $strictPolicy = true) - { - $deadline = time() + $expires; - $scope = $bucket; - if ($key !== null) { - $scope .= ':' . $key; - } - - $args = self::copyPolicy($args, $policy, $strictPolicy); - $args['scope'] = $scope; - $args['deadline'] = $deadline; - - $b = json_encode($args); - return $this->signWithData($b); - } - - /** - *上传策略,参数规格详见 - *http://developer.qiniu.com/docs/v6/api/reference/security/put-policy.html - */ - private static $policyFields = array( - 'callbackUrl', - 'callbackBody', - 'callbackHost', - 'callbackBodyType', - 'callbackFetchKey', - - 'returnUrl', - 'returnBody', - - 'endUser', - 'saveKey', - 'forceSaveKey', - 'insertOnly', - - 'detectMime', - 'mimeLimit', - 'fsizeMin', - 'fsizeLimit', - - 'persistentOps', - 'persistentNotifyUrl', - 'persistentPipeline', - - 'deleteAfterDays', - 'fileType', - 'isPrefixalScope', - ); - - private static function copyPolicy(&$policy, $originPolicy, $strictPolicy) - { - if ($originPolicy === null) { - return array(); - } - foreach ($originPolicy as $key => $value) { - if (!$strictPolicy || in_array((string)$key, self::$policyFields, true)) { - $policy[$key] = $value; - } - } - return $policy; - } - - public function authorization($url, $body = null, $contentType = null) - { - $authorization = 'QBox ' . $this->signRequest($url, $body, $contentType); - return array('Authorization' => $authorization); - } - - public function authorizationV2($url, $method, $body = null, $contentType = null) - { - $urlItems = parse_url($url); - $host = $urlItems['host']; - - if (isset($urlItems['port'])) { - $port = $urlItems['port']; - } else { - $port = ''; - } - - $path = $urlItems['path']; - if (isset($urlItems['query'])) { - $query = $urlItems['query']; - } else { - $query = ''; - } - - //write request uri - $toSignStr = $method . ' ' . $path; - if (!empty($query)) { - $toSignStr .= '?' . $query; - } - - //write host and port - $toSignStr .= "\nHost: " . $host; - if (!empty($port)) { - $toSignStr .= ":" . $port; - } - - //write content type - if (!empty($contentType)) { - $toSignStr .= "\nContent-Type: " . $contentType; - } - - $toSignStr .= "\n\n"; - - //write body - if (!empty($body)) { - $toSignStr .= $body; - } - - $sign = $this->sign($toSignStr); - $auth = 'Qiniu ' . $sign; - return array('Authorization' => $auth); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Cdn/CdnManager.php b/vendor/qiniu/php-sdk/src/Qiniu/Cdn/CdnManager.php deleted file mode 100644 index a6efcedb..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Cdn/CdnManager.php +++ /dev/null @@ -1,260 +0,0 @@ -auth = $auth; - $this->server = 'http://fusion.qiniuapi.com'; - } - - /** - * @param array $urls 待刷新的文件链接数组 - * @return array - */ - public function refreshUrls(array $urls) - { - return $this->refreshUrlsAndDirs($urls, array()); - } - - /** - * @param array $dirs 待刷新的文件链接数组 - * @return array - * 目前客户默认没有目录刷新权限,刷新会有400038报错,参考:https://developer.qiniu.com/fusion/api/1229/cache-refresh - * 需要刷新目录请工单联系技术支持 https://support.qiniu.com/tickets/category - */ - public function refreshDirs(array $dirs) - { - return $this->refreshUrlsAndDirs(array(), $dirs); - } - - /** - * @param array $urls 待刷新的文件链接数组 - * @param array $dirs 待刷新的目录链接数组 - * - * @return array 刷新的请求回复和错误,参考 examples/cdn_manager.php 代码 - * @link http://developer.qiniu.com/article/fusion/api/refresh.html - * - * 目前客户默认没有目录刷新权限,刷新会有400038报错,参考:https://developer.qiniu.com/fusion/api/1229/cache-refresh - * 需要刷新目录请工单联系技术支持 https://support.qiniu.com/tickets/category - */ - public function refreshUrlsAndDirs(array $urls, array $dirs) - { - $req = array(); - if (!empty($urls)) { - $req['urls'] = $urls; - } - if (!empty($dirs)) { - $req['dirs'] = $dirs; - } - - $url = $this->server . '/v2/tune/refresh'; - $body = json_encode($req); - return $this->post($url, $body); - } - - /** - * 查询 CDN 刷新记录 - * - * @param string $requestId 指定要查询记录所在的刷新请求id - * @param string $isDir 指定是否查询目录,取值为 yes/no,默认不填则为两种类型记录都查询 - * @param array $urls 要查询的url列表,每个url可以是文件url,也可以是目录url - * @param string $state 指定要查询记录的状态,取值processing/success/failure - * @param int $pageNo 要求返回的页号,默认为0 - * @param int $pageSize 要求返回的页长度,默认为100 - * @param string $startTime 指定查询的开始日期,格式2006-01-01 - * @param string $endTime 指定查询的结束日期,格式2006-01-01 - * @return array - * @link https://developer.qiniu.com/fusion/api/1229/cache-refresh#4 - */ - public function getCdnRefreshList( - $requestId = null, - $isDir = null, - $urls = array(), - $state = null, - $pageNo = 0, - $pageSize = 100, - $startTime = null, - $endTime = null - ) { - $req = array(); - \Qiniu\setWithoutEmpty($req, 'requestId', $requestId); - \Qiniu\setWithoutEmpty($req, 'isDir', $isDir); - \Qiniu\setWithoutEmpty($req, 'urls', $urls); - \Qiniu\setWithoutEmpty($req, 'state', $state); - \Qiniu\setWithoutEmpty($req, 'pageNo', $pageNo); - \Qiniu\setWithoutEmpty($req, 'pageSize', $pageSize); - \Qiniu\setWithoutEmpty($req, 'startTime', $startTime); - \Qiniu\setWithoutEmpty($req, 'endTime', $endTime); - - $body = json_encode($req); - $url = $this->server . '/v2/tune/refresh/list'; - return $this->post($url, $body); - } - - /** - * @param array $urls 待预取的文件链接数组 - * - * @return array 预取的请求回复和错误,参考 examples/cdn_manager.php 代码 - * - * @link http://developer.qiniu.com/article/fusion/api/refresh.html - */ - public function prefetchUrls(array $urls) - { - $req = array( - 'urls' => $urls, - ); - - $url = $this->server . '/v2/tune/prefetch'; - $body = json_encode($req); - return $this->post($url, $body); - } - - /** - * 查询 CDN 预取记录 - * - * @param string $requestId 指定要查询记录所在的刷新请求id - * @param array $urls 要查询的url列表,每个url可以是文件url,也可以是目录url - * @param string $state 指定要查询记录的状态,取值processing/success/failure - * @param int $pageNo 要求返回的页号,默认为0 - * @param int $pageSize 要求返回的页长度,默认为100 - * @param string $startTime 指定查询的开始日期,格式2006-01-01 - * @param string $endTime 指定查询的结束日期,格式2006-01-01 - * @return array - * @link https://developer.qiniu.com/fusion/api/1227/file-prefetching#4 - */ - public function getCdnPrefetchList( - $requestId = null, - $urls = array(), - $state = null, - $pageNo = 0, - $pageSize = 100, - $startTime = null, - $endTime = null - ) { - $req = array(); - \Qiniu\setWithoutEmpty($req, 'requestId', $requestId); - \Qiniu\setWithoutEmpty($req, 'urls', $urls); - \Qiniu\setWithoutEmpty($req, 'state', $state); - \Qiniu\setWithoutEmpty($req, 'pageNo', $pageNo); - \Qiniu\setWithoutEmpty($req, 'pageSize', $pageSize); - \Qiniu\setWithoutEmpty($req, 'startTime', $startTime); - \Qiniu\setWithoutEmpty($req, 'endTime', $endTime); - - $body = json_encode($req); - $url = $this->server . '/v2/tune/prefetch/list'; - return $this->post($url, $body); - } - - /** - * @param array $domains 待获取带宽数据的域名数组 - * @param string $startDate 开始的日期,格式类似 2017-01-01 - * @param string $endDate 结束的日期,格式类似 2017-01-01 - * @param string $granularity 获取数据的时间间隔,可以是 5min, hour 或者 day - * - * @return array 带宽数据和错误信息,参考 examples/cdn_manager.php 代码 - * - * @link http://developer.qiniu.com/article/fusion/api/traffic-bandwidth.html - */ - public function getBandwidthData(array $domains, $startDate, $endDate, $granularity) - { - $req = array(); - $req['domains'] = implode(';', $domains); - $req['startDate'] = $startDate; - $req['endDate'] = $endDate; - $req['granularity'] = $granularity; - - $url = $this->server . '/v2/tune/bandwidth'; - $body = json_encode($req); - return $this->post($url, $body); - } - - /** - * @param array $domains 待获取流量数据的域名数组 - * @param string $startDate 开始的日期,格式类似 2017-01-01 - * @param string $endDate 结束的日期,格式类似 2017-01-01 - * @param string $granularity 获取数据的时间间隔,可以是 5min, hour 或者 day - * - * @return array 流量数据和错误信息,参考 examples/cdn_manager.php 代码 - * - * @link http://developer.qiniu.com/article/fusion/api/traffic-bandwidth.html - */ - public function getFluxData(array $domains, $startDate, $endDate, $granularity) - { - $req = array(); - $req['domains'] = implode(';', $domains); - $req['startDate'] = $startDate; - $req['endDate'] = $endDate; - $req['granularity'] = $granularity; - - $url = $this->server . '/v2/tune/flux'; - $body = json_encode($req); - return $this->post($url, $body); - } - - /** - * @param array $domains 待获取日志下载链接的域名数组 - * @param string $logDate 获取指定日期的日志下载链接,格式类似 2017-01-01 - * - * @return array 日志下载链接数据和错误信息,参考 examples/cdn_manager.php 代码 - * - * @link http://developer.qiniu.com/article/fusion/api/log.html - */ - public function getCdnLogList(array $domains, $logDate) - { - $req = array(); - $req['domains'] = implode(';', $domains); - $req['day'] = $logDate; - - $url = $this->server . '/v2/tune/log/list'; - $body = json_encode($req); - return $this->post($url, $body); - } - - private function post($url, $body) - { - $headers = $this->auth->authorization($url, $body, 'application/json'); - $headers['Content-Type'] = 'application/json'; - $ret = Client::post($url, $body, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - return array($r, null); - } - - /** - * 构建时间戳防盗链鉴权的访问外链 - * - * @param string $rawUrl 需要签名的资源url - * @param string $encryptKey 时间戳防盗链密钥 - * @param string $durationInSeconds 链接的有效期(以秒为单位) - * - * @return string 带鉴权信息的资源外链,参考 examples/cdn_timestamp_antileech.php 代码 - */ - public static function createTimestampAntiLeechUrl($rawUrl, $encryptKey, $durationInSeconds) - { - $parsedUrl = parse_url($rawUrl); - $deadline = time() + $durationInSeconds; - $expireHex = dechex($deadline); - $path = isset($parsedUrl['path']) ? $parsedUrl['path'] : ''; - $strToSign = $encryptKey . $path . $expireHex; - $signStr = md5($strToSign); - if (isset($parsedUrl['query'])) { - $signedUrl = $rawUrl . '&sign=' . $signStr . '&t=' . $expireHex; - } else { - $signedUrl = $rawUrl . '?sign=' . $signStr . '&t=' . $expireHex; - } - return $signedUrl; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Config.php b/vendor/qiniu/php-sdk/src/Qiniu/Config.php deleted file mode 100644 index 4ada27a2..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Config.php +++ /dev/null @@ -1,140 +0,0 @@ -zone = $z; - $this->useHTTPS = false; - $this->useCdnDomains = false; - $this->regionCache = array(); - } - - public function getUpHost($accessKey, $bucket) - { - $region = $this->getRegion($accessKey, $bucket); - if ($this->useHTTPS === true) { - $scheme = "https://"; - } else { - $scheme = "http://"; - } - - $host = $region->srcUpHosts[0]; - if ($this->useCdnDomains === true) { - $host = $region->cdnUpHosts[0]; - } - - return $scheme . $host; - } - - public function getUpBackupHost($accessKey, $bucket) - { - $region = $this->getRegion($accessKey, $bucket); - if ($this->useHTTPS === true) { - $scheme = "https://"; - } else { - $scheme = "http://"; - } - - $host = $region->cdnUpHosts[0]; - if ($this->useCdnDomains === true) { - $host = $region->srcUpHosts[0]; - } - - return $scheme . $host; - } - - public function getRsHost($accessKey, $bucket) - { - $region = $this->getRegion($accessKey, $bucket); - - if ($this->useHTTPS === true) { - $scheme = "https://"; - } else { - $scheme = "http://"; - } - - return $scheme . $region->rsHost; - } - - public function getRsfHost($accessKey, $bucket) - { - $region = $this->getRegion($accessKey, $bucket); - - if ($this->useHTTPS === true) { - $scheme = "https://"; - } else { - $scheme = "http://"; - } - - return $scheme . $region->rsfHost; - } - - public function getIovipHost($accessKey, $bucket) - { - $region = $this->getRegion($accessKey, $bucket); - - if ($this->useHTTPS === true) { - $scheme = "https://"; - } else { - $scheme = "http://"; - } - - return $scheme . $region->iovipHost; - } - - public function getApiHost($accessKey, $bucket) - { - $region = $this->getRegion($accessKey, $bucket); - - if ($this->useHTTPS === true) { - $scheme = "https://"; - } else { - $scheme = "http://"; - } - - return $scheme . $region->apiHost; - } - - private function getRegion($accessKey, $bucket) - { - $cacheId = "$accessKey:$bucket"; - - if (isset($this->regionCache[$cacheId])) { - $region = $this->regionCache[$cacheId]; - } elseif (isset($this->zone)) { - $region = $this->zone; - $this->regionCache[$cacheId] = $region; - } else { - $region = Zone::queryZone($accessKey, $bucket); - $this->regionCache[$cacheId] = $region; - } - return $region; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Etag.php b/vendor/qiniu/php-sdk/src/Qiniu/Etag.php deleted file mode 100644 index d7be0644..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Etag.php +++ /dev/null @@ -1,76 +0,0 @@ - $val) { - array_push($data, '--' . $mimeBoundary); - array_push($data, "Content-Disposition: form-data; name=\"$key\""); - array_push($data, ''); - array_push($data, $val); - } - - array_push($data, '--' . $mimeBoundary); - $finalMimeType = empty($mimeType) ? 'application/octet-stream' : $mimeType; - $finalFileName = self::escapeQuotes($fileName); - array_push($data, "Content-Disposition: form-data; name=\"$name\"; filename=\"$finalFileName\""); - array_push($data, "Content-Type: $finalMimeType"); - array_push($data, ''); - array_push($data, $fileBody); - - array_push($data, '--' . $mimeBoundary . '--'); - array_push($data, ''); - - $body = implode("\r\n", $data); - // var_dump($data);exit; - $contentType = 'multipart/form-data; boundary=' . $mimeBoundary; - $headers['Content-Type'] = $contentType; - $request = new Request('POST', $url, $headers, $body); - return self::sendRequest($request); - } - - private static function userAgent() - { - $sdkInfo = "QiniuPHP/" . Config::SDK_VER; - - $systemInfo = php_uname("s"); - $machineInfo = php_uname("m"); - - $envInfo = "($systemInfo/$machineInfo)"; - - $phpVer = phpversion(); - - $ua = "$sdkInfo $envInfo PHP/$phpVer"; - return $ua; - } - - public static function sendRequest($request) - { - $t1 = microtime(true); - $ch = curl_init(); - $options = array( - CURLOPT_USERAGENT => self::userAgent(), - CURLOPT_RETURNTRANSFER => true, - CURLOPT_SSL_VERIFYPEER => false, - CURLOPT_SSL_VERIFYHOST => false, - CURLOPT_HEADER => true, - CURLOPT_NOBODY => false, - CURLOPT_CUSTOMREQUEST => $request->method, - CURLOPT_URL => $request->url, - ); - // Handle open_basedir & safe mode - if (!ini_get('safe_mode') && !ini_get('open_basedir')) { - $options[CURLOPT_FOLLOWLOCATION] = true; - } - if (!empty($request->headers)) { - $headers = array(); - foreach ($request->headers as $key => $val) { - array_push($headers, "$key: $val"); - } - $options[CURLOPT_HTTPHEADER] = $headers; - } - curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:')); - if (!empty($request->body)) { - $options[CURLOPT_POSTFIELDS] = $request->body; - } - curl_setopt_array($ch, $options); - $result = curl_exec($ch); - $t2 = microtime(true); - $duration = round($t2 - $t1, 3); - $ret = curl_errno($ch); - if ($ret !== 0) { - $r = new Response(-1, $duration, array(), null, curl_error($ch)); - curl_close($ch); - return $r; - } - $code = curl_getinfo($ch, CURLINFO_HTTP_CODE); - $header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE); - $headers = self::parseHeaders(substr($result, 0, $header_size)); - $body = substr($result, $header_size); - curl_close($ch); - return new Response($code, $duration, $headers, $body, null); - } - - private static function parseHeaders($raw) - { - $headers = array(); - $headerLines = explode("\r\n", $raw); - foreach ($headerLines as $line) { - $headerLine = trim($line); - $kv = explode(':', $headerLine); - if (count($kv) > 1) { - $kv[0] =self::ucwordsHyphen($kv[0]); - $headers[$kv[0]] = trim($kv[1]); - } - } - return $headers; - } - - private static function escapeQuotes($str) - { - $find = array("\\", "\""); - $replace = array("\\\\", "\\\""); - return str_replace($find, $replace, $str); - } - - private static function ucwordsHyphen($str) - { - return str_replace('- ', '-', ucwords(str_replace('-', '- ', $str))); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Http/Error.php b/vendor/qiniu/php-sdk/src/Qiniu/Http/Error.php deleted file mode 100644 index 73477cf4..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Http/Error.php +++ /dev/null @@ -1,35 +0,0 @@ - - * {"error" : "detailed error message"} - * - */ -final class Error -{ - private $url; - private $response; - - public function __construct($url, $response) - { - $this->url = $url; - $this->response = $response; - } - - public function code() - { - return $this->response->statusCode; - } - - public function getResponse() - { - return $this->response; - } - - public function message() - { - return $this->response->error; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php b/vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php deleted file mode 100644 index 43b0bfdb..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Http/Request.php +++ /dev/null @@ -1,18 +0,0 @@ -method = strtoupper($method); - $this->url = $url; - $this->headers = $headers; - $this->body = $body; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Http/Response.php b/vendor/qiniu/php-sdk/src/Qiniu/Http/Response.php deleted file mode 100644 index 4f54663f..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Http/Response.php +++ /dev/null @@ -1,176 +0,0 @@ - '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', - 226 => 'IM Used', - 300 => 'Multiple Choices', - 301 => 'Moved Permanently', - 302 => 'Found', - 303 => 'See Other', - 304 => 'Not Modified', - 305 => 'Use 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 Timeout', - 409 => 'Conflict', - 410 => 'Gone', - 411 => 'Length Required', - 412 => 'Precondition Failed', - 413 => 'Request Entity Too Large', - 414 => 'Request-URI Too Long', - 415 => 'Unsupported Media Type', - 416 => 'Requested Range Not Satisfiable', - 417 => 'Expectation Failed', - 422 => 'Unprocessable Entity', - 423 => 'Locked', - 424 => 'Failed Dependency', - 425 => 'Reserved for WebDAV advanced collections expired proposal', - 426 => 'Upgrade required', - 428 => 'Precondition Required', - 429 => 'Too Many Requests', - 431 => 'Request Header Fields Too Large', - 500 => 'Internal Server Error', - 501 => 'Not Implemented', - 502 => 'Bad Gateway', - 503 => 'Service Unavailable', - 504 => 'Gateway Timeout', - 505 => 'HTTP Version Not Supported', - 506 => 'Variant Also Negotiates (Experimental)', - 507 => 'Insufficient Storage', - 508 => 'Loop Detected', - 510 => 'Not Extended', - 511 => 'Network Authentication Required', - ); - - /** - * @param int $code 状态码 - * @param double $duration 请求时长 - * @param array $headers 响应头部 - * @param string $body 响应内容 - * @param string $error 错误描述 - */ - public function __construct($code, $duration, array $headers = array(), $body = null, $error = null) - { - $this->statusCode = $code; - $this->duration = $duration; - $this->headers = $headers; - $this->body = $body; - $this->error = $error; - $this->jsonData = null; - if ($error !== null) { - return; - } - - if ($body === null) { - if ($code >= 400) { - $this->error = self::$statusTexts[$code]; - } - return; - } - if (self::isJson($headers)) { - try { - $jsonData = self::bodyJson($body); - if ($code >= 400) { - $this->error = $body; - if ($jsonData['error'] !== null) { - $this->error = $jsonData['error']; - } - } - $this->jsonData = $jsonData; - } catch (\InvalidArgumentException $e) { - $this->error = $body; - if ($code >= 200 && $code < 300) { - $this->error = $e->getMessage(); - } - } - } elseif ($code >= 400) { - $this->error = $body; - } - return; - } - - public function json() - { - return $this->jsonData; - } - - private static function bodyJson($body) - { - return \Qiniu\json_decode((string) $body, true, 512); - } - - public function xVia() - { - $via = $this->headers['X-Via']; - if ($via === null) { - $via = $this->headers['X-Px']; - } - if ($via === null) { - $via = $this->headers['Fw-Via']; - } - return $via; - } - - public function xLog() - { - return $this->headers['X-Log']; - } - - public function xReqId() - { - return $this->headers['X-Reqid']; - } - - public function ok() - { - return $this->statusCode >= 200 && $this->statusCode < 300 && $this->error === null; - } - - public function needRetry() - { - $code = $this->statusCode; - if ($code < 0 || ($code / 100 === 5 and $code !== 579) || $code === 996) { - return true; - } - } - - private static function isJson($headers) - { - return array_key_exists('content-type', $headers) || array_key_exists('Content-Type', $headers) && - strpos($headers['Content-Type'], 'application/json') === 0; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Processing/ImageUrlBuilder.php b/vendor/qiniu/php-sdk/src/Qiniu/Processing/ImageUrlBuilder.php deleted file mode 100644 index f5575ed9..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Processing/ImageUrlBuilder.php +++ /dev/null @@ -1,292 +0,0 @@ - - */ - public function thumbnail( - $url, - $mode, - $width, - $height, - $format = null, - $interlace = null, - $quality = null, - $ignoreError = 1 - ) { - - // url合法效验 - if (!$this->isUrl($url)) { - return $url; - } - - // 参数合法性效验 - if (!in_array(intval($mode), $this->modeArr, true)) { - return $url; - } - - if (!$width || !$height) { - return $url; - } - - $thumbStr = 'imageView2/' . $mode . '/w/' . $width . '/h/' . $height . '/'; - - // 拼接输出格式 - if (!is_null($format) - && in_array($format, $this->formatArr) - ) { - $thumbStr .= 'format/' . $format . '/'; - } - - // 拼接渐进显示 - if (!is_null($interlace) - && in_array(intval($interlace), array(0, 1), true) - ) { - $thumbStr .= 'interlace/' . $interlace . '/'; - } - - // 拼接图片质量 - if (!is_null($quality) - && intval($quality) >= 0 - && intval($quality) <= 100 - ) { - $thumbStr .= 'q/' . $quality . '/'; - } - - $thumbStr .= 'ignore-error/' . $ignoreError . '/'; - - // 如果有query_string用|线分割实现多参数 - return $url . ($this->hasQuery($url) ? '|' : '?') . $thumbStr; - } - - /** - * 图片水印 - * - * @param string $url 图片链接 - * @param string $image 水印图片链接 - * @param int $dissolve 透明度 - * @param string $gravity 水印位置 - * @param int $dx 横轴边距 - * @param int $dy 纵轴边距 - * @param int $watermarkScale 自适应原图的短边比例 - * @return string - * @link http://developer.qiniu.com/code/v6/api/kodo-api/image/watermark.html - * @author Sherlock Ren - */ - public function waterImg( - $url, - $image, - $dissolve = 100, - $gravity = 'SouthEast', - $dx = null, - $dy = null, - $watermarkScale = null - ) { - // url合法效验 - if (!$this->isUrl($url)) { - return $url; - } - - $waterStr = 'watermark/1/image/' . \Qiniu\base64_urlSafeEncode($image) . '/'; - - // 拼接水印透明度 - if (is_numeric($dissolve) - && $dissolve <= 100 - ) { - $waterStr .= 'dissolve/' . $dissolve . '/'; - } - - // 拼接水印位置 - if (in_array($gravity, $this->gravityArr, true)) { - $waterStr .= 'gravity/' . $gravity . '/'; - } - - // 拼接横轴边距 - if (!is_null($dx) - && is_numeric($dx) - ) { - $waterStr .= 'dx/' . $dx . '/'; - } - - // 拼接纵轴边距 - if (!is_null($dy) - && is_numeric($dy) - ) { - $waterStr .= 'dy/' . $dy . '/'; - } - - // 拼接自适应原图的短边比例 - if (!is_null($watermarkScale) - && is_numeric($watermarkScale) - && $watermarkScale > 0 - && $watermarkScale < 1 - ) { - $waterStr .= 'ws/' . $watermarkScale . '/'; - } - - // 如果有query_string用|线分割实现多参数 - return $url . ($this->hasQuery($url) ? '|' : '?') . $waterStr; - } - - /** - * 文字水印 - * - * @param string $url 图片链接 - * @param string $text 文字 - * @param string $font 文字字体 - * @param string $fontSize 文字字号 - * @param string $fontColor 文字颜色 - * @param int $dissolve 透明度 - * @param string $gravity 水印位置 - * @param int $dx 横轴边距 - * @param int $dy 纵轴边距 - * @return string - * @link http://developer.qiniu.com/code/v6/api/kodo-api/image/watermark.html#text-watermark - * @author Sherlock Ren - */ - public function waterText( - $url, - $text, - $font = '黑体', - $fontSize = 0, - $fontColor = null, - $dissolve = 100, - $gravity = 'SouthEast', - $dx = null, - $dy = null - ) { - // url合法效验 - if (!$this->isUrl($url)) { - return $url; - } - - $waterStr = 'watermark/2/text/' - . \Qiniu\base64_urlSafeEncode($text) . '/font/' - . \Qiniu\base64_urlSafeEncode($font) . '/'; - - // 拼接文字大小 - if (is_int($fontSize)) { - $waterStr .= 'fontsize/' . $fontSize . '/'; - } - - // 拼接文字颜色 - if (!is_null($fontColor) - && $fontColor - ) { - $waterStr .= 'fill/' . \Qiniu\base64_urlSafeEncode($fontColor) . '/'; - } - - // 拼接水印透明度 - if (is_numeric($dissolve) - && $dissolve <= 100 - ) { - $waterStr .= 'dissolve/' . $dissolve . '/'; - } - - // 拼接水印位置 - if (in_array($gravity, $this->gravityArr, true)) { - $waterStr .= 'gravity/' . $gravity . '/'; - } - - // 拼接横轴边距 - if (!is_null($dx) - && is_numeric($dx) - ) { - $waterStr .= 'dx/' . $dx . '/'; - } - - // 拼接纵轴边距 - if (!is_null($dy) - && is_numeric($dy) - ) { - $waterStr .= 'dy/' . $dy . '/'; - } - - // 如果有query_string用|线分割实现多参数 - return $url . ($this->hasQuery($url) ? '|' : '?') . $waterStr; - } - - /** - * 效验url合法性 - * - * @param string $url url链接 - * @return string - * @author Sherlock Ren - */ - protected function isUrl($url) - { - $urlArr = parse_url($url); - - return $urlArr['scheme'] - && in_array($urlArr['scheme'], array('http', 'https')) - && $urlArr['host'] - && $urlArr['path']; - } - - /** - * 检测是否有query - * - * @param string $url url链接 - * @return string - * @author Sherlock Ren - */ - protected function hasQuery($url) - { - $urlArr = parse_url($url); - - return !empty($urlArr['query']); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Processing/Operation.php b/vendor/qiniu/php-sdk/src/Qiniu/Processing/Operation.php deleted file mode 100644 index 7cdd352b..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Processing/Operation.php +++ /dev/null @@ -1,60 +0,0 @@ -auth = $auth; - $this->domain = $domain; - $this->token_expire = $token_expire; - } - - - /** - * 对资源文件进行处理 - * - * @param string $key 待处理的资源文件名 - * @param string $fops string|array fop操作,多次fop操作以array的形式传入。 - * eg. imageView2/1/w/200/h/200, imageMogr2/thumbnail/!75px - * - * @return array 文件处理后的结果及错误。 - * - * @link http://developer.qiniu.com/docs/v6/api/reference/fop/ - */ - public function execute($key, $fops) - { - $url = $this->buildUrl($key, $fops); - $resp = Client::get($url); - if (!$resp->ok()) { - return array(null, new Error($url, $resp)); - } - if ($resp->json() !== null) { - return array($resp->json(), null); - } - return array($resp->body, null); - } - - public function buildUrl($key, $fops, $protocol = 'http') - { - if (is_array($fops)) { - $fops = implode('|', $fops); - } - - $url = $protocol . "://$this->domain/$key?$fops"; - if ($this->auth !== null) { - $url = $this->auth->privateDownloadUrl($url, $this->token_expire); - } - - return $url; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Processing/PersistentFop.php b/vendor/qiniu/php-sdk/src/Qiniu/Processing/PersistentFop.php deleted file mode 100644 index ac95d251..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Processing/PersistentFop.php +++ /dev/null @@ -1,94 +0,0 @@ -auth = $auth; - if ($config == null) { - $this->config = new Config(); - } else { - $this->config = $config; - } - } - - /** - * 对资源文件进行异步持久化处理 - * @param string $bucket 资源所在空间 - * @param string $key 待处理的源文件 - * @param string $fops string|array 待处理的pfop操作,多个pfop操作以array的形式传入。 - * eg. avthumb/mp3/ab/192k, vframe/jpg/offset/7/w/480/h/360 - * @param string $pipeline 资源处理队列 - * @param string $notify_url 处理结果通知地址 - * @param bool $force 是否强制执行一次新的指令 - * - * - * @return array 返回持久化处理的persistentId, 和返回的错误。 - * - * @link http://developer.qiniu.com/docs/v6/api/reference/fop/ - */ - public function execute($bucket, $key, $fops, $pipeline = null, $notify_url = null, $force = false) - { - if (is_array($fops)) { - $fops = implode(';', $fops); - } - $params = array('bucket' => $bucket, 'key' => $key, 'fops' => $fops); - \Qiniu\setWithoutEmpty($params, 'pipeline', $pipeline); - \Qiniu\setWithoutEmpty($params, 'notifyURL', $notify_url); - if ($force) { - $params['force'] = 1; - } - $data = http_build_query($params); - $scheme = "http://"; - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - $url = $scheme . Config::API_HOST . '/pfop/'; - $headers = $this->auth->authorization($url, $data, 'application/x-www-form-urlencoded'); - $headers['Content-Type'] = 'application/x-www-form-urlencoded'; - $response = Client::post($url, $data, $headers); - if (!$response->ok()) { - return array(null, new Error($url, $response)); - } - $r = $response->json(); - $id = $r['persistentId']; - return array($id, null); - } - - public function status($id) - { - $scheme = "http://"; - - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - $url = $scheme . Config::API_HOST . "/status/get/prefop?id=$id"; - $response = Client::get($url); - if (!$response->ok()) { - return array(null, new Error($url, $response)); - } - return array($response->json(), null); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Region.php b/vendor/qiniu/php-sdk/src/Qiniu/Region.php deleted file mode 100644 index eae21d19..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Region.php +++ /dev/null @@ -1,196 +0,0 @@ -srcUpHosts = $srcUpHosts; - $this->cdnUpHosts = $cdnUpHosts; - $this->rsHost = $rsHost; - $this->rsfHost = $rsfHost; - $this->apiHost = $apiHost; - $this->iovipHost = $iovipHost; - } - - //华东机房 - public static function regionHuadong() - { - $regionHuadong = new Region( - array("up.qiniup.com", 'up-jjh.qiniup.com', 'up-xs.qiniup.com'), - array('upload.qiniup.com', 'upload-jjh.qiniup.com', 'upload-xs.qiniup.com'), - 'rs.qbox.me', - 'rsf.qbox.me', - 'api.qiniu.com', - 'iovip.qbox.me' - ); - return $regionHuadong; - } - - //华东机房内网上传 - public static function qvmRegionHuadong() - { - $qvmRegionHuadong = new Region( - array("free-qvm-z0-xs.qiniup.com"), - 'rs.qbox.me', - 'rsf.qbox.me', - 'api.qiniu.com', - 'iovip.qbox.me' - ); - return $qvmRegionHuadong; - } - - //华北机房内网上传 - public static function qvmRegionHuabei() - { - $qvmRegionHuabei = new Region( - array("free-qvm-z1-zz.qiniup.com"), - "rs-z1.qbox.me", - "rsf-z1.qbox.me", - "api-z1.qiniu.com", - "iovip-z1.qbox.me" - ); - return $qvmRegionHuabei; - } - - //华北机房 - public static function regionHuabei() - { - $regionHuabei = new Region( - array('up-z1.qiniup.com'), - array('upload-z1.qiniup.com'), - "rs-z1.qbox.me", - "rsf-z1.qbox.me", - "api-z1.qiniu.com", - "iovip-z1.qbox.me" - ); - - return $regionHuabei; - } - - //华南机房 - public static function regionHuanan() - { - $regionHuanan = new Region( - array('up-z2.qiniup.com', 'up-dg.qiniup.com', 'up-fs.qiniup.com'), - array('upload-z2.qiniup.com', 'upload-dg.qiniup.com', 'upload-fs.qiniup.com'), - "rs-z2.qbox.me", - "rsf-z2.qbox.me", - "api-z2.qiniu.com", - "iovip-z2.qbox.me" - ); - return $regionHuanan; - } - - //北美机房 - public static function regionNorthAmerica() - { - //北美机房 - $regionNorthAmerica = new Region( - array('up-na0.qiniup.com'), - array('upload-na0.qiniup.com'), - "rs-na0.qbox.me", - "rsf-na0.qbox.me", - "api-na0.qiniu.com", - "iovip-na0.qbox.me" - ); - return $regionNorthAmerica; - } - - //新加坡机房 - public static function regionSingapore() - { - //新加坡机房 - $regionSingapore = new Region( - array('up-as0.qiniup.com'), - array('upload-as0.qiniup.com'), - "rs-as0.qbox.me", - "rsf-as0.qbox.me", - "api-as0.qiniu.com", - "iovip-as0.qbox.me" - ); - return $regionSingapore; - } - - /* - * GET /v2/query?ak=&&bucket= - **/ - public static function queryRegion($ak, $bucket) - { - $Region = new Region(); - $url = Config::API_HOST . '/v2/query' . "?ak=$ak&bucket=$bucket"; - $ret = Client::Get($url); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - //parse Region; - - $iovipHost = $r['io']['src']['main'][0]; - $Region->iovipHost = $iovipHost; - $accMain = $r['up']['acc']['main'][0]; - array_push($Region->cdnUpHosts, $accMain); - if (isset($r['up']['acc']['backup'])) { - foreach ($r['up']['acc']['backup'] as $key => $value) { - array_push($Region->cdnUpHosts, $value); - } - } - $srcMain = $r['up']['src']['main'][0]; - array_push($Region->srcUpHosts, $srcMain); - if (isset($r['up']['src']['backup'])) { - foreach ($r['up']['src']['backup'] as $key => $value) { - array_push($Region->srcUpHosts, $value); - } - } - - //set specific hosts - if (strstr($Region->iovipHost, "z1") !== false) { - $Region->rsHost = "rs-z1.qbox.me"; - $Region->rsfHost = "rsf-z1.qbox.me"; - $Region->apiHost = "api-z1.qiniu.com"; - } elseif (strstr($Region->iovipHost, "z2") !== false) { - $Region->rsHost = "rs-z2.qbox.me"; - $Region->rsfHost = "rsf-z2.qbox.me"; - $Region->apiHost = "api-z2.qiniu.com"; - } elseif (strstr($Region->iovipHost, "na0") !== false) { - $Region->rsHost = "rs-na0.qbox.me"; - $Region->rsfHost = "rsf-na0.qbox.me"; - $Region->apiHost = "api-na0.qiniu.com"; - } elseif (strstr($Region->iovipHost, "as0") !== false) { - $Region->rsHost = "rs-as0.qbox.me"; - $Region->rsfHost = "rsf-as0.qbox.me"; - $Region->apiHost = "api-as0.qiniu.com"; - } else { - $Region->rsHost = "rs.qbox.me"; - $Region->rsfHost = "rsf.qbox.me"; - $Region->apiHost = "api.qiniu.com"; - } - - return $Region; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Rtc/AppClient.php b/vendor/qiniu/php-sdk/src/Qiniu/Rtc/AppClient.php deleted file mode 100755 index 4f45aaeb..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Rtc/AppClient.php +++ /dev/null @@ -1,234 +0,0 @@ -auth = $auth; - - $this->baseURL = sprintf("%s/%s/apps", Config::RTCAPI_HOST, Config::RTCAPI_VERSION); - } - - /** - * 创建应用 - * - * @param string $hub 绑定的直播 hub - * @param string $title app 的名称 注意,Title 不是唯一标识,重复 create 动作将生成多个 app - * @param int $maxUsers 连麦房间支持的最大在线人数 - * @param bool $noAutoKickUser 禁止自动踢人(抢流),默认为 false - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_1 - */ - public function createApp($hub, $title, $maxUsers = null, $noAutoKickUser = null) - { - $params = array(); - $params['hub'] = $hub; - $params['title'] = $title; - if (!empty($maxUsers)) { - $params['maxUsers'] = $maxUsers; - } - if ($noAutoKickUser !== null) { - $params['noAutoKickUser'] = $noAutoKickUser; - } - $body = json_encode($params); - return $this->post($this->baseURL, $body); - } - - /** - * 更新一个应用的配置信息 - * - * @param string $appId app 的唯一标识,创建的时候由系统生成 - * @param string $hub app 的名称,可选 - * @param string $title 绑定的直播 hub,可选,用于合流后 rtmp 推流 - * @param int $maxUsers 连麦房间支持的最大在线人数,可选 - * @param bool $noAutoKickUser 禁止自动踢人,可选 - * @param null $mergePublishRtmp 连麦合流转推 RTMP 的配置,可选择。其详细配置可以参考文档 - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_1 - */ - public function updateApp($appId, $hub, $title, $maxUsers = null, $noAutoKickUser = null, $mergePublishRtmp = null) - { - $url = $this->baseURL . '/' . $appId; - $params = array(); - $params['hub'] = $hub; - $params['title'] = $title; - if (!empty($maxUsers)) { - $params['maxUsers'] = $maxUsers; - } - if ($noAutoKickUser !== null) { - $params['noAutoKickUser'] = $noAutoKickUser; - } - if (!empty($mergePublishRtmp)) { - $params['mergePublishRtmp'] = $mergePublishRtmp; - } - $body = json_encode($params); - return $this->post($url, $body); - } - - /** - * 获取应用信息 - * - * @param string $appId - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_1 - */ - public function getApp($appId) - { - $url = $this->baseURL . '/' . $appId; - return $this->get($url); - } - - /** - * 删除应用 - * - * @param string $appId app 的唯一标识,创建的时候由系统生成 - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_1 - */ - public function deleteApp($appId) - { - $url = $this->baseURL . '/' . $appId; - return $this->delete($url); - } - - /** - * 获取房间内用户列表 - * - * @param string $appId app 的唯一标识,创建的时候由系统生成 - * @param string $roomName 操作所查询的连麦房间 - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_2 - */ - public function listUser($appId, $roomName) - { - $url = sprintf("%s/%s/rooms/%s/users", $this->baseURL, $appId, $roomName); - return $this->get($url); - } - - /** - * 指定一个用户踢出房间 - * - * @param string $appId app 的唯一标识,创建的时候由系统生成 - * @param string $roomName 连麦房间 - * @param string $userId 操作所剔除的用户 - * @return mixed - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_2 - */ - public function kickUser($appId, $roomName, $userId) - { - $url = sprintf("%s/%s/rooms/%s/users/%s", $this->baseURL, $appId, $roomName, $userId); - return $this->delete($url); - } - - /** - * 停止一个房间的合流转推 - * - * @param string $appId - * @param string $roomName - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_2 - */ - public function stopMerge($appId, $roomName) - { - $url = sprintf("%s/%s/rooms/%s/merge", $this->baseURL, $appId, $roomName); - return $this->delete($url); - } - - /** - * 获取应用中活跃房间 - * - * @param string $appId 连麦房间所属的 app - * @param null $prefix 所查询房间名的前缀索引,可以为空。 - * @param int $offset 分页查询的位移标记 - * @param int $limit 此次查询的最大长度 - * @return array - * @link https://doc.qnsdk.com/rtn/docs/server_overview#2_2 - */ - public function listActiveRooms($appId, $prefix = null, $offset = null, $limit = null) - { - $query = array(); - if (isset($prefix)) { - $query['prefix'] = $prefix; - } - if (isset($offset)) { - $query['offset'] = $offset; - } - if (isset($limit)) { - $query['limit'] = $limit; - } - if (isset($query) && !empty($query)) { - $query = '?' . http_build_query($query); - $url = sprintf("%s/%s/rooms%s", $this->baseURL, $appId, $query); - } else { - $url = sprintf("%s/%s/rooms", $this->baseURL, $appId); - } - return $this->get($url); - } - - /** - * 生成加入房间的令牌 - * - * @param string $appId app 的唯一标识,创建的时候由系统生成 - * @param string $roomName 房间名称,需满足规格 ^[a-zA-Z0-9_-]{3,64}$ - * @param string $userId 请求加入房间的用户 ID,需满足规格 ^[a-zA-Z0-9_-]{3,50}$ - * @param int $expireAt 鉴权的有效时间,传入以秒为单位的64位 Unix 绝对时间 - * @param string $permission 该用户的房间管理权限,"admin" 或 "user",默认为 "user" - * @return string - * @link https://doc.qnsdk.com/rtn/docs/server_overview#1 - */ - public function appToken($appId, $roomName, $userId, $expireAt, $permission) - { - $params = array(); - $params['appId'] = $appId; - $params['userId'] = $userId; - $params['roomName'] = $roomName; - $params['permission'] = $permission; - $params['expireAt'] = $expireAt; - $appAccessString = json_encode($params); - return $this->auth->signWithData($appAccessString); - } - - private function get($url, $cType = null) - { - $rtcToken = $this->auth->authorizationV2($url, "GET", null, $cType); - $rtcToken['Content-Type'] = $cType; - $ret = Client::get($url, $rtcToken); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - return array($ret->json(), null); - } - - private function delete($url, $contentType = 'application/json') - { - $rtcToken = $this->auth->authorizationV2($url, "DELETE", null, $contentType); - $rtcToken['Content-Type'] = $contentType; - $ret = Client::delete($url, $rtcToken); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - return array($ret->json(), null); - } - - private function post($url, $body, $contentType = 'application/json') - { - $rtcToken = $this->auth->authorizationV2($url, "POST", $body, $contentType); - $rtcToken['Content-Type'] = $contentType; - $ret = Client::post($url, $body, $rtcToken); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - return array($r, null); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Sms/Sms.php b/vendor/qiniu/php-sdk/src/Qiniu/Sms/Sms.php deleted file mode 100644 index 625ec304..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Sms/Sms.php +++ /dev/null @@ -1,380 +0,0 @@ -auth = $auth; - - $this->baseURL = sprintf("%s/%s/", Config::SMS_HOST, Config::SMS_VERSION); - } - - /** - * 创建签名 - * - * @param string $signature 签名 - * @param string $source 签名来源,申请签名时必须指定签名来源 - * @param string $pics 签名对应的资质证明图片进行 base64 编码格式转换后的字符串,可选 - * @return array - * - * @link https://developer.qiniu.com/sms/api/5844/sms-api-create-signature - */ - public function createSignature($signature, $source, $pics = null) - { - $params = array(); - $params['signature'] = $signature; - $params['source'] = $source; - if (!empty($pics)) { - $params['pics'] = array($this->imgToBase64($pics)); - } - $body = json_encode($params); - $url = $this->baseURL . 'signature'; - return $this->post($url, $body); - } - - /** - * 编辑签名 - * - * @param string $id 签名 ID - * @param string $signature 签名 - * @param string $source 签名来源 - * @param string $pics 签名对应的资质证明图片进行 base64 编码格式转换后的字符串,可选 - * @return array - * @link https://developer.qiniu.com/sms/api/5890/sms-api-edit-signature - */ - public function updateSignature($id, $signature, $source, $pics = null) - { - $params = array(); - $params['signature'] = $signature; - $params['source'] = $source; - if (!empty($pics)) { - $params['pics'] = array($this->imgToBase64($pics)); - } - $body = json_encode($params); - $url = $this->baseURL . 'signature/' . $id; - return $this->PUT($url, $body); - } - - /** - * 列出签名 - * - * @param string $audit_status 审核状态:"passed"(通过), "rejected"(未通过), "reviewing"(审核中) - * @param int $page 页码。默认为 1 - * @param int $page_size 分页大小。默认为 20 - * @return array - * @link https://developer.qiniu.com/sms/api/5889/sms-api-query-signature - */ - public function querySignature($audit_status = null, $page = 1, $page_size = 20) - { - - $url = sprintf( - "%s?audit_status=%s&page=%s&page_size=%s", - $this->baseURL . 'signature', - $audit_status, - $page, - $page_size - ); - return $this->get($url); - } - - /** - * 查询单个签名 - * - * @param string $signature_id - * @return array - * @link https://developer.qiniu.com/sms/api/5970/query-a-single-signature - */ - public function checkSingleSignature($signature_id) - { - - $url = sprintf( - "%s/%s", - $this->baseURL . 'signature', - $signature_id - ); - return $this->get($url); - } - - /** - * 删除签名 - * - * @param string $signature_id 签名 ID - * @return array - * @link https://developer.qiniu.com/sms/api/5891/sms-api-delete-signature - */ - public function deleteSignature($signature_id) - { - $url = $this->baseURL . 'signature/' . $signature_id; - return $this->delete($url); - } - - /** - * 创建模板 - * - * @param string $name 模板名称 - * @param string $template 模板内容 可设置自定义变量,发送短信时候使用,参考:${code} - * @param string $type notification:通知类,verification:验证码,marketing:营销类,voice:语音类 - * @param string $description 申请理由简述 - * @param string $signature_id 已经审核通过的签名 - * @return array array - * @link https://developer.qiniu.com/sms/api/5893/sms-api-create-template - */ - public function createTemplate( - $name, - $template, - $type, - $description, - $signature_id - ) { - $params = array(); - $params['name'] = $name; - $params['template'] = $template; - $params['type'] = $type; - $params['description'] = $description; - $params['signature_id'] = $signature_id; - - $body = json_encode($params); - $url = $this->baseURL . 'template'; - return $this->post($url, $body); - } - - /** - * 列出模板 - * - * @param string $audit_status 审核状态:passed (通过), rejected (未通过), reviewing (审核中) - * @param int $page 页码。默认为 1 - * @param int $page_size 分页大小。默认为 20 - * @return array - * @link https://developer.qiniu.com/sms/api/5894/sms-api-query-template - */ - public function queryTemplate($audit_status = null, $page = 1, $page_size = 20) - { - - $url = sprintf( - "%s?audit_status=%s&page=%s&page_size=%s", - $this->baseURL . 'template', - $audit_status, - $page, - $page_size - ); - return $this->get($url); - } - - /** - * 查询单个模版 - * - * @param string $template_id 模版ID - * @return array - * @link https://developer.qiniu.com/sms/api/5969/query-a-single-template - */ - public function querySingleTemplate($template_id) - { - - $url = sprintf( - "%s/%s", - $this->baseURL . 'template', - $template_id - ); - return $this->get($url); - } - - /** - * 编辑模板 - * - * @param string $id 模板 ID - * @param string $name 模板名称 - * @param string $template 模板内容 - * @param string $description 申请理由简述 - * @param string $signature_id 已经审核通过的签名 ID - * @return array - * @link https://developer.qiniu.com/sms/api/5895/sms-api-edit-template - */ - public function updateTemplate( - $id, - $name, - $template, - $description, - $signature_id - ) { - $params = array(); - $params['name'] = $name; - $params['template'] = $template; - $params['description'] = $description; - $params['signature_id'] = $signature_id; - $body = json_encode($params); - $url = $this->baseURL . 'template/' . $id; - return $this->PUT($url, $body); - } - - /** - * 删除模板 - * - * @param string $template_id 模板 ID - * @return array - * @link https://developer.qiniu.com/sms/api/5896/sms-api-delete-template - */ - public function deleteTemplate($template_id) - { - $url = $this->baseURL . 'template/' . $template_id; - return $this->delete($url); - } - - /** - * 发送短信 - * - * @param string $template_id 模板 ID - * @param array $mobiles 手机号 - * @param array $parameters 自定义模板变量,变量设置在创建模板时,参数template指定 - * @return array - * @link https://developer.qiniu.com/sms/api/5897/sms-api-send-message - */ - public function sendMessage($template_id, $mobiles, $parameters = null) - { - $params = array(); - $params['template_id'] = $template_id; - $params['mobiles'] = $mobiles; - if (!empty($parameters)) { - $params['parameters'] = $parameters; - } - $body = json_encode($params); - $url = $this->baseURL . 'message'; - return $this->post($url, $body); - } - - /** - * 查询发送记录 - * - * @param string $job_id 发送任务返回的 id - * @param string $message_id 单条短信发送接口返回的 id - * @param string $mobile 接收短信的手机号码 - * @param string $status sending: 发送中,success: 发送成功,failed: 发送失败,waiting: 等待发送 - * @param string $template_id 模版 id - * @param string $type marketing:营销,notification:通知,verification:验证码,voice:语音 - * @param string $start 开始时间,timestamp,例如: 1563280448 - * @param int $end 结束时间,timestamp,例如: 1563280471 - * @param int $page 页码,默认为 1 - * @param int $page_size 每页返回的数据条数,默认20,最大200 - * @return array - * @link https://developer.qiniu.com/sms/api/5852/query-send-sms - */ - public function querySendSms( - $job_id = null, - $message_id = null, - $mobile = null, - $status = null, - $template_id = null, - $type = null, - $start = null, - $end = null, - $page = 1, - $page_size = 20 - ) { - $query = array(); - \Qiniu\setWithoutEmpty($query, 'job_id', $job_id); - \Qiniu\setWithoutEmpty($query, 'message_id', $message_id); - \Qiniu\setWithoutEmpty($query, 'mobile', $mobile); - \Qiniu\setWithoutEmpty($query, 'status', $status); - \Qiniu\setWithoutEmpty($query, 'template_id', $template_id); - \Qiniu\setWithoutEmpty($query, 'type', $type); - \Qiniu\setWithoutEmpty($query, 'start', $start); - \Qiniu\setWithoutEmpty($query, 'end', $end); - \Qiniu\setWithoutEmpty($query, 'page', $page); - \Qiniu\setWithoutEmpty($query, 'page_size', $page_size); - - $url = $this->baseURL . 'messages?' . http_build_query($query); - return $this->get($url); - } - - - public function imgToBase64($img_file) - { - $img_base64 = ''; - if (file_exists($img_file)) { - $app_img_file = $img_file; // 图片路径 - $img_info = getimagesize($app_img_file); // 取得图片的大小,类型等 - $fp = fopen($app_img_file, "r"); // 图片是否可读权限 - if ($fp) { - $filesize = filesize($app_img_file); - if ($filesize > 5 * 1024 * 1024) { - die("pic size < 5M !"); - } - $img_type = null; - $content = fread($fp, $filesize); - $file_content = chunk_split(base64_encode($content)); // base64编码 - switch ($img_info[2]) { //判读图片类型 - case 1: - $img_type = 'gif'; - break; - case 2: - $img_type = 'jpg'; - break; - case 3: - $img_type = 'png'; - break; - } - //合成图片的base64编码 - $img_base64 = 'data:image/' . $img_type . ';base64,' . $file_content; - } - fclose($fp); - } - - return $img_base64; - } - - private function get($url, $contentType = 'application/x-www-form-urlencoded') - { - $headers = $this->auth->authorizationV2($url, "GET", null, $contentType); - $headers['Content-Type'] = $contentType; - $ret = Client::get($url, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - return array($ret->json(), null); - } - - private function delete($url, $contentType = 'application/json') - { - $headers = $this->auth->authorizationV2($url, "DELETE", null, $contentType); - $headers['Content-Type'] = $contentType; - $ret = Client::delete($url, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - return array($ret->json(), null); - } - - private function post($url, $body, $contentType = 'application/json') - { - $headers = $this->auth->authorizationV2($url, "POST", $body, $contentType); - - $headers['Content-Type'] = $contentType; - $ret = Client::post($url, $body, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - return array($r, null); - } - - private function PUT($url, $body, $contentType = 'application/json') - { - $headers = $this->auth->authorizationV2($url, "PUT", $body, $contentType); - $headers['Content-Type'] = $contentType; - $ret = Client::put($url, $body, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - return array($r, null); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Storage/ArgusManager.php b/vendor/qiniu/php-sdk/src/Qiniu/Storage/ArgusManager.php deleted file mode 100644 index 0f2baee2..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Storage/ArgusManager.php +++ /dev/null @@ -1,123 +0,0 @@ -auth = $auth; - if ($config == null) { - $this->config = new Config(); - } else { - $this->config = $config; - } - } - - /** - * 视频审核 - * - * @param string $body body信息 - * - * @return array 成功返回NULL,失败返回对象Qiniu\Http\Error - * @link https://developer.qiniu.com/censor/api/5620/video-censor - */ - public function censorVideo($body) - { - $path = '/v3/video/censor'; - - return $this->arPost($path, $body); - } - - - /** - * 图片审核 - * - * @param string $body - * - * @return array 成功返回NULL,失败返回对象Qiniu\Http\Error - * @link https://developer.qiniu.com/censor/api/5588/image-censor - */ - public function censorImage($body) - { - $path = '/v3/image/censor'; - - return $this->arPost($path, $body); - } - - /** - * 查询视频审核结果 - * - * @param string $jobid 任务ID - * @return array - * @link https://developer.qiniu.com/censor/api/5620/video-censor - */ - public function censorStatus($jobid) - { - $scheme = "http://"; - - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - $url = $scheme . Config::ARGUS_HOST . "/v3/jobs/video/$jobid"; - $response = $this->get($url); - if (!$response->ok()) { - print("statusCode: " . $response->statusCode); - return array(null, new Error($url, $response)); - } - return array($response->json(), null); - } - - private function getArHost() - { - $scheme = "http://"; - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - return $scheme . Config::ARGUS_HOST; - } - - private function arPost($path, $body = null) - { - $url = $this->getArHost() . $path; - return $this->post($url, $body); - } - - private function get($url) - { - $headers = $this->auth->authorizationV2($url, 'GET'); - - return Client::get($url, $headers); - } - - private function post($url, $body) - { - $headers = $this->auth->authorizationV2($url, 'POST', $body, 'application/json'); - $headers['Content-Type'] = 'application/json'; - $ret = Client::post($url, $body, $headers); - if (!$ret->ok()) { - print("statusCode: " . $ret->statusCode); - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - if (strstr($url, "video")) { - $jobid = $r['job']; - return array($jobid, null); - } - return array($r, null); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Storage/BucketManager.php b/vendor/qiniu/php-sdk/src/Qiniu/Storage/BucketManager.php deleted file mode 100644 index 600cb6c7..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Storage/BucketManager.php +++ /dev/null @@ -1,1067 +0,0 @@ -auth = $auth; - if ($config == null) { - $this->config = new Config(); - } else { - $this->config = $config; - } - } - - /** - * 获取指定账号下所有的空间名 - * - * @param bool $shared 指定共享空间,rw:读写权限空间,rd:读权限空间 - * @return array 包含所有空间名 - */ - public function buckets($shared = true) - { - $includeShared = "false"; - if ($shared === true) { - $includeShared = "true"; - } - return $this->rsGet('/buckets?shared=' . $includeShared); - } - - /** - * 列举空间,返回bucket列表 - * - * @param string $region 区域 - * @param string $line - * @param string $shared 指定共享空间,rw:读写权限空间,rd:读权限空间 - * @return array - */ - public function listbuckets( - $region = null, - $line = 'false', - $shared = 'false' - ) { - $path = '/v3/buckets?region=' . $region . '&line=' . $line . '&shared=' . $shared; - return $this->ucPost($path); - } - - /** - * 创建空间 - * - * @param string $name 创建的空间名 - * @param string $region 创建的区域,默认华东 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1382/mkbucketv3 - */ - public function createBucket($name, $region = 'z0') - { - $path = '/mkbucketv3/' . $name . '/region/' . $region; - return $this->rsPost($path, null); - } - - /** - * 删除空间 - * - * @param string $name 需要删除的目标空间名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1601/drop-bucket - */ - public function deleteBucket($name) - { - $path = '/drop/' . $name; - return $this->rsPost($path, null); - } - - /** - * 获取指定空间绑定的所有的域名 - * - * @param string $bucket 空间名称 - * @return array - */ - public function domains($bucket) - { - return $this->apiGet('/v6/domain/list?tbl=' . $bucket); - } - - /** - * 获取指定空间的相关信息 - * - * @param string $bucket 空间名称 - * @return array - */ - public function bucketInfo($bucket) - { - $path = '/v2/bucketInfo?bucket=' . $bucket; - return $this->ucPost($path); - } - - /** - * 获取指定zone的空间信息列表 - * - * @param string $region 区域 - * @param string $shared 指定共享空间,rw:读写权限空间,rd:读权限空间 - * @param string $fs 如果为 true,会返回每个空间当前的文件数和存储量(实时数据) - * @return array - */ - public function bucketInfos($region = null, $shared = 'false', $fs = 'false') - { - $path = '/v2/bucketInfos?region=' . $region . '&shared=' . $shared . '&fs=' . $fs; - return $this->ucPost($path); - } - - /** - * 列取空间的文件列表 - * - * @param string $bucket 空间名 - * @param string $prefix 列举前缀 - * @param string $marker 列举标识符 - * @param int $limit 单次列举个数限制 - * @param string $delimiter 指定目录分隔符 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1284/list - */ - public function listFiles( - $bucket, - $prefix = null, - $marker = null, - $limit = 1000, - $delimiter = null - ) { - $query = array('bucket' => $bucket); - \Qiniu\setWithoutEmpty($query, 'prefix', $prefix); - \Qiniu\setWithoutEmpty($query, 'marker', $marker); - \Qiniu\setWithoutEmpty($query, 'limit', $limit); - \Qiniu\setWithoutEmpty($query, 'delimiter', $delimiter); - $url = $this->getRsfHost() . '/list?' . http_build_query($query); - return $this->get($url); - } - - /** - * 列取空间的文件列表 - * - * @param string $bucket 空间名 - * @param string $prefix 列举前缀 - * @param string $marker 列举标识符 - * @param int $limit 单次列举个数限制 - * @param string $delimiter 指定目录分隔符 - * @param bool $skipconfirm 是否跳过已删除条目的确认机制 - * - * @return array - * @link http://developer.qiniu.com/docs/v6/api/reference/rs/list.html - */ - public function listFilesv2( - $bucket, - $prefix = null, - $marker = null, - $limit = 1000, - $delimiter = null, - $skipconfirm = true - ) { - $query = array('bucket' => $bucket); - \Qiniu\setWithoutEmpty($query, 'prefix', $prefix); - \Qiniu\setWithoutEmpty($query, 'marker', $marker); - \Qiniu\setWithoutEmpty($query, 'limit', $limit); - \Qiniu\setWithoutEmpty($query, 'delimiter', $delimiter); - \Qiniu\setWithoutEmpty($query, 'skipconfirm', $skipconfirm); - $path = '/v2/list?' . http_build_query($query); - $url = $this->getRsfHost() . $path; - $headers = $this->auth->authorization($url, null, 'application/x-www-form-urlencoded'); - $ret = Client::post($url, null, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = explode("\n", $ret->body); - array_pop($r); - return array($r, null); - } - - /** - * 增加bucket生命规则 - * - * @param string $bucket 空间名 - * @param string $name 规则名称 bucket 内唯一,长度小于50,不能为空,只能为 - * 字母、数字、下划线 - * @param string $prefix 同一个 bucket 里面前缀不能重复 - * @param int $delete_after_days 指定上传文件多少天后删除,指定为0表示不删除, - * 大于0表示多少天后删除,需大于 to_line_after_days - * @param int $to_line_after_days 指定文件上传多少天后转低频存储。指定为0表示 - * 不转低频存储,小于0表示上传的文件立即变低频存储 - * @return array - */ - public function bucketLifecycleRule( - $bucket, - $name, - $prefix, - $delete_after_days, - $to_line_after_days - ) { - $path = '/rules/add'; - $params = array(); - if ($bucket) { - $params['bucket'] = $bucket; - } - if ($name) { - $params['name'] = $name; - } - if ($prefix) { - $params['prefix'] = $prefix; - } - if ($delete_after_days) { - $params['delete_after_days'] = $delete_after_days; - } - if ($to_line_after_days) { - $params['to_line_after_days'] = $to_line_after_days; - } - $data = http_build_query($params); - $info = $this->ucPost($path, $data); - return $info; - } - - /** - * 更新bucket生命规则 - * - * @param string $bucket 空间名 - * @param string $name 规则名称 bucket 内唯一,长度小于50,不能为空,只能为字母、 - * 数字、下划线 - * @param string $prefix 同一个 bucket 里面前缀不能重复 - * @param int $delete_after_days 指定上传文件多少天后删除,指定为0表示不删除, - * 大于0表示多少天后删除,需大于 to_line_after_days - * @param int $to_line_after_days 指定文件上传多少天后转低频存储。指定为0表示不 - * 转低频存储,小于0表示上传的文件立即变低频存储 - * @return array - */ - public function updateBucketLifecycleRule( - $bucket, - $name, - $prefix, - $delete_after_days, - $to_line_after_days - ) { - $path = '/rules/update'; - $params = array(); - if ($bucket) { - $params['bucket'] = $bucket; - } - if ($name) { - $params['name'] = $name; - } - if ($prefix) { - $params['prefix'] = $prefix; - } - if ($delete_after_days) { - $params['delete_after_days'] = $delete_after_days; - } - if ($to_line_after_days) { - $params['to_line_after_days'] = $to_line_after_days; - } - $data = http_build_query($params); - return $this->ucPost($path, $data); - } - - /** - * 获取bucket生命规则 - * - * @param string $bucket 空间名 - * @return array - */ - public function getBucketLifecycleRules($bucket) - { - $path = '/rules/get?bucket=' . $bucket; - $info = $this->ucGet($path); - return $info; - } - - /** - * 删除bucket生命规则 - * - * @param string $bucket 空间名 - * @param string $name 规则名称 bucket 内唯一,长度小于50,不能为空, - * 只能为字母、数字、下划线() - * @return array - */ - public function deleteBucketLifecycleRule($bucket, $name) - { - $path = '/rules/delete'; - $params = array(); - if ($bucket) { - $params['bucket'] = $bucket; - } - if ($name) { - $params['name'] = $name; - } - $data = http_build_query($params); - $info = $this->ucPost($path, $data); - return $info; - } - - /** - * 增加bucket事件通知规则 - * - * @param string $bucket 空间名 - * @param string $name 规则名称 bucket 内唯一,长度小于50,不能为空, - * 只能为字母、数字、下划线() - * @param string $prefix 同一个 bucket 里面前缀不能重复 - * @param string $suffix 可选,文件配置的后缀 - * @param array $event 事件类型,可以指定多个,包括 put,mkfile,delete,copy,move,append, - * disable,enable,deleteMarkerCreate - * @param string $callbackURL 通知URL,可以指定多个,失败依次重试 - * @param string $access_key 可选,设置的话会对通知请求用对应的ak、sk进行签名 - * @param string $host 可选,通知请求的host - * - * @return array - */ - public function putBucketEvent( - $bucket, - $name, - $prefix, - $suffix, - $event, - $callbackURL, - $access_key = null, - $host = null - ) { - $path = '/events/add'; - $params = array(); - if (!empty($bucket)) { - $params['bucket'] = $bucket; - } - if (!empty($name)) { - $params['name'] = $name; - } - if (!empty($prefix)) { - $params['prefix'] = $prefix; - } - if (!empty($suffix)) { - $params['suffix'] = $suffix; - } - if (!empty($callbackURL)) { - $params['callbackURL'] = $callbackURL; - } - if (!empty($access_key)) { - $params['access_key'] = $access_key; - } - if (!empty($host)) { - $params['host'] = $host; - } - $data = http_build_query($params); - if (!empty($event)) { - $eventpath = ""; - foreach ($event as $key => $value) { - $eventpath .= "&event=$value"; - } - $data .= $eventpath; - } - $info = $this->ucPost($path, $data); - return $info; - } - - /** - * 更新bucket事件通知规则 - * - * @param string $bucket 空间名 - * @param string $name 规则名称 bucket 内唯一,长度小于50,不能为空, - * 只能为字母、数字、下划线() - * @param string $prefix 同一个 bucket 里面前缀不能重复 - * @param string $suffix 可选,文件配置的后缀 - * @param array $event 事件类型,可以指定多个,包括 put,mkfile,delete,copy,move,append,disable, - * enable,deleteMarkerCreate - * @param string $callbackURL 通知URL,可以指定多个,失败依次重试 - * @param string $access_key 可选,设置的话会对通知请求用对应的ak、sk进行签名 - * @param string $host 可选,通知请求的host - * - * @return array - */ - public function updateBucketEvent( - $bucket, - $name, - $prefix, - $suffix, - $event, - $callbackURL, - $access_key = null, - $host = null - ) { - $path = '/events/update'; - $params = array(); - if (!empty($bucket)) { - $params['bucket'] = $bucket; - } - if (!empty($name)) { - $params['name'] = $name; - } - if (!empty($prefix)) { - $params['prefix'] = $prefix; - } - if ($suffix) { - $params['suffix'] = $suffix; - } - if (!empty($event)) { - $params['event'] = $event; - } - if (!empty($callbackURL)) { - $params['callbackURL'] = $callbackURL; - } - if (!empty($access_key)) { - $params['access_key'] = $access_key; - } - if (!empty($host)) { - $params['host'] = $host; - } - $data = http_build_query($params); - if (!empty($event)) { - $eventpath = ""; - foreach ($event as $key => $value) { - $eventpath .= "&event=$value"; - } - $data .= $eventpath; - } - return $this->ucPost($path, $data); - } - - /** - * 获取bucket事件通知规则 - * - * @param string $bucket 空间名 - * @return array - */ - public function getBucketEvents($bucket) - { - $path = '/events/get?bucket=' . $bucket; - return $this->ucGet($path); - } - - /** - * 删除bucket事件通知规则 - * - * @param string $bucket 空间名 - * @param string $name 规则名称bucket内唯一,长度小于50,不能为空,只能为字母、数字、下划线 - * @return array - */ - public function deleteBucketEvent($bucket, $name) - { - $path = '/events/delete'; - $params = array(); - if ($bucket) { - $params['bucket'] = $bucket; - } - if ($name) { - $params['name'] = $name; - } - $data = http_build_query($params); - return $this->ucPost($path, $data); - } - - /** - * 获取bucket的跨域信息 - * - * @param string $bucket 空间名 - * @return array - */ - public function getCorsRules($bucket) - { - $path = '/corsRules/get/' . $bucket; - return $this->ucGet($path); - } - - /** - * 开关原图保护 - * - * @param string $bucket 空间名称 - * @param int $mode mode 为1表示开启原图保护,0表示关闭 - * @return array - */ - public function putBucketAccessStyleMode($bucket, $mode) - { - $path = '/accessMode/' . $bucket . '/mode/' . $mode; - return $this->ucPost($path, null); - } - - /** - * 设置私有属性 - * - * @param string $bucket 空间名称 - * @param int $private private为0表示公开,为1表示私有 - * @return array - */ - public function putBucketAccessMode($bucket, $private) - { - $path = "/private?bucket=$bucket&private=$private"; - return $this->ucPost($path, null); - } - - /** - * 设置 referer 防盗链 - * - * @param string $bucket 空间名称 - * @param int $mode 0:关闭Referer(使用此选项将会忽略以下参数并将恢复默认值); - * 1:设置Referer白名单; 2:设置Referer黑名单 - * @param string $norefer 0:不允许空 Refer 访问; 1:表示允许空Refer访问 - * @param string $pattern 规则字符串 - * @param int $enabled 源站是否支持,默认为0只给CDN配置, 设置为1表示开启源站防盗链 - * @return array - * @link https://developer.qiniu.com/kodo/manual/6093/set-the-hotlinking-prevention - */ - public function putReferAntiLeech($bucket, $mode, $norefer, $pattern, $enabled = 1) - { - $path = "/referAntiLeech?bucket=$bucket&mode=$mode&norefer=$norefer&pattern=$pattern&source_enabled=$enabled"; - return $this->ucPost($path, null); - } - - /** - * 设置Bucket的maxAge - * - * @param string $bucket 空间名称 - * @param int $maxAge maxAge为0或者负数表示为默认值(31536000) - * @return array - */ - public function putBucketMaxAge($bucket, $maxAge) - { - $path = '/maxAge?bucket=' . $bucket . '&maxAge=' . $maxAge; - return $this->ucPost($path, null); - } - - /** - * 设置空间配额 - * - * @param string $bucket 空间名称,不支持授权空间 - * @param string $size 空间存储量配额,参数传入0或不传表示不更改当前配置,传入-1表示取消限额,新创建的空间默认没有限额 - * @param string $count 空间文件数配额,参数含义同 - * @return array - */ - public function putBucketQuota($bucket, $size, $count) - { - $path = '/setbucketquota/' . $bucket . '/size/' . $size . '/count/' . $count; - return $this->apiPost($path, null); - } - - /** - * 获取空间配额 - * - * @param string $bucket 空间名称 - * @return array - */ - public function getBucketQuota($bucket) - { - $path = '/getbucketquota/' . $bucket; - return $this->apiPost($path, null); - } - - /** - * 获取资源的元信息,但不返回文件内容 - * - * @param string $bucket 待获取信息资源所在的空间 - * @param string $key 待获取资源的文件名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1308/stat - */ - public function stat($bucket, $key) - { - $path = '/stat/' . \Qiniu\entry($bucket, $key); - return $this->rsGet($path); - } - - /** - * 删除指定资源 - * - * @param string $bucket 待删除资源所在的空间 - * @param string $key 待删除资源的文件名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1257/delete - */ - public function delete($bucket, $key) - { - $path = '/delete/' . \Qiniu\entry($bucket, $key); - return $this->rsPost($path); - } - - /** - * 给资源进行重命名,本质为move操作。 - * - * @param string $bucket 待操作资源所在空间 - * @param string $oldname 待操作资源文件名 - * @param string $newname 目标资源文件名 - * - * @return array - */ - public function rename($bucket, $oldname, $newname) - { - return $this->move($bucket, $oldname, $bucket, $newname); - } - - /** - * 对资源进行复制。 - * - * @param string $from_bucket 待操作资源所在空间 - * @param string $from_key 待操作资源文件名 - * @param string $to_bucket 目标资源空间名 - * @param string $to_key 目标资源文件名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1254/copy - */ - public function copy($from_bucket, $from_key, $to_bucket, $to_key, $force = false) - { - $from = \Qiniu\entry($from_bucket, $from_key); - $to = \Qiniu\entry($to_bucket, $to_key); - $path = '/copy/' . $from . '/' . $to; - if ($force === true) { - $path .= '/force/true'; - } - return $this->rsPost($path); - } - - /** - * 将资源从一个空间到另一个空间 - * - * @param string $from_bucket 待操作资源所在空间 - * @param string $from_key 待操作资源文件名 - * @param string $to_bucket 目标资源空间名 - * @param string $to_key 目标资源文件名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1288/move - */ - public function move($from_bucket, $from_key, $to_bucket, $to_key, $force = false) - { - $from = \Qiniu\entry($from_bucket, $from_key); - $to = \Qiniu\entry($to_bucket, $to_key); - $path = '/move/' . $from . '/' . $to; - if ($force) { - $path .= '/force/true'; - } - return $this->rsPost($path); - } - - /** - * 主动修改指定资源的文件元信息 - * - * @param string $bucket 待操作资源所在空间 - * @param string $key 待操作资源文件名 - * @param string $mime 待操作文件目标mimeType - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1252/chgm - */ - public function changeMime($bucket, $key, $mime) - { - $resource = \Qiniu\entry($bucket, $key); - $encode_mime = \Qiniu\base64_urlSafeEncode($mime); - $path = '/chgm/' . $resource . '/mime/' . $encode_mime; - return $this->rsPost($path); - } - - - /** - * 修改指定资源的存储类型 - * - * @param string $bucket 待操作资源所在空间 - * @param string $key 待操作资源文件名 - * @param int $fileType 0 表示标准存储;1 表示低频存储;2 表示归档存储 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/3710/chtype - */ - public function changeType($bucket, $key, $fileType) - { - $resource = \Qiniu\entry($bucket, $key); - $path = '/chtype/' . $resource . '/type/' . $fileType; - return $this->rsPost($path); - } - - /** - * 修改文件的存储状态,即禁用状态和启用状态间的的互相转换 - * - * @param string $bucket 待操作资源所在空间 - * @param string $key 待操作资源文件名 - * @param int $status 0表示启用;1表示禁用 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/4173/modify-the-file-status - */ - public function changeStatus($bucket, $key, $status) - { - $resource = \Qiniu\entry($bucket, $key); - $path = '/chstatus/' . $resource . '/status/' . $status; - return $this->rsPost($path); - } - - /** - * 从指定URL抓取资源,并将该资源存储到指定空间中 - * - * @param string $url 指定的URL - * @param string $bucket 目标资源空间 - * @param string $key 目标资源文件名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1263/fetch - */ - public function fetch($url, $bucket, $key = null) - { - - $resource = \Qiniu\base64_urlSafeEncode($url); - $to = \Qiniu\entry($bucket, $key); - $path = '/fetch/' . $resource . '/to/' . $to; - - $ak = $this->auth->getAccessKey(); - $ioHost = $this->config->getIovipHost($ak, $bucket); - - $url = $ioHost . $path; - return $this->post($url, null); - } - - /** - * 从指定URL异步抓取资源,并将该资源存储到指定空间中 - * - * @param string $url 需要抓取的url - * @param string $bucket 所在区域的bucket - * @param string $host 从指定url下载数据时使用的Host - * @param string $key 文件存储的key - * @param string $md5 文件md5 - * @param string $etag 文件etag - * @param string $callbackurl 回调URL - * @param string $callbackbody 回调Body - * @param string $callbackbodytype 回调Body内容类型,默认为"application/x-www-form-urlencoded" - * @param string $callbackhost 回调时使用的Host - * @param int $file_type 存储文件类型 0:标准存储(默认),1:低频存储,2:归档存储 - * @param bool $ignore_same_key 如果空间中已经存在同名文件则放弃本次抓取 - * @return array - * @link https://developer.qiniu.com/kodo/api/4097/asynch-fetch - */ - public function asynchFetch( - $url, - $bucket, - $host = null, - $key = null, - $md5 = null, - $etag = null, - $callbackurl = null, - $callbackbody = null, - $callbackbodytype = 'application/x-www-form-urlencoded', - $callbackhost = null, - $file_type = 0, - $ignore_same_key = false - ) { - $path = '/sisyphus/fetch'; - - $params = array('url' => $url, 'bucket' => $bucket); - \Qiniu\setWithoutEmpty($params, 'host', $host); - \Qiniu\setWithoutEmpty($params, 'key', $key); - \Qiniu\setWithoutEmpty($params, 'md5', $md5); - \Qiniu\setWithoutEmpty($params, 'etag', $etag); - \Qiniu\setWithoutEmpty($params, 'callbackurl', $callbackurl); - \Qiniu\setWithoutEmpty($params, 'callbackbody', $callbackbody); - \Qiniu\setWithoutEmpty($params, 'callbackbodytype', $callbackbodytype); - \Qiniu\setWithoutEmpty($params, 'callbackhost', $callbackhost); - \Qiniu\setWithoutEmpty($params, 'file_type', $file_type); - \Qiniu\setWithoutEmpty($params, 'ignore_same_key', $ignore_same_key); - $data = json_encode($params); - - $ak = $this->auth->getAccessKey(); - $apiHost = $this->config->getApiHost($ak, $bucket); - $url = $apiHost . $path; - - return $this->postV2($url, $data); - } - - - /** - * 查询异步第三方资源抓取任务状态 - * - * @param string $zone - * @param string $id - * @return array - * @link https://developer.qiniu.com/kodo/api/4097/asynch-fetch - */ - public function asynchFetchStatus($zone, $id) - { - $scheme = "http://"; - - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - - $url = $scheme . "api-" . $zone . ".qiniu.com/sisyphus/fetch?id=" . $id; - - $response = $this->getV2($url); - - if (!$response->ok()) { - print("statusCode: " . $response->statusCode); - return array(null, new Error($url, $response)); - } - return array($response->json(), null); - } - - - /** - * 从镜像源站抓取资源到空间中,如果空间中已经存在,则覆盖该资源 - * - * @param string $bucket 待获取资源所在的空间 - * @param string $key 代获取资源文件名 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/1293/prefetch - */ - public function prefetch($bucket, $key) - { - $resource = \Qiniu\entry($bucket, $key); - $path = '/prefetch/' . $resource; - - $ak = $this->auth->getAccessKey(); - $ioHost = $this->config->getIovipHost($ak, $bucket); - - $url = $ioHost . $path; - return $this->post($url, null); - } - - /** - * 在单次请求中进行多个资源管理操作 - * - * @param array $operations 资源管理操作数组 - * - * @return array 每个资源的处理情况,结果类似: - * [ - * { "code" => , "data" => }, - * { "code" => }, - * { "code" => }, - * { "code" => }, - * { "code" => , "data" => { "error": "" } }, - * ... - * ] - * @link http://developer.qiniu.com/docs/v6/api/reference/rs/batch.html - */ - public function batch($operations) - { - $params = 'op=' . implode('&op=', $operations); - return $this->rsPost('/batch', $params); - } - - /** - * 设置文件的生命周期 - * - * @param string $bucket 设置文件生命周期文件所在的空间 - * @param string $key 设置文件生命周期文件的文件名 - * @param int $days 设置该文件多少天后删除,当$days设置为0时表示取消该文件的生命周期 - * - * @return array - * @link https://developer.qiniu.com/kodo/api/update-file-lifecycle - */ - public function deleteAfterDays($bucket, $key, $days) - { - $entry = \Qiniu\entry($bucket, $key); - $path = "/deleteAfterDays/$entry/$days"; - return $this->rsPost($path); - } - - private function getRsfHost() - { - $scheme = "http://"; - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - return $scheme . Config::RSF_HOST; - } - - private function getRsHost() - { - $scheme = "http://"; - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - return $scheme . Config::RS_HOST; - } - - private function getApiHost() - { - $scheme = "http://"; - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - return $scheme . Config::API_HOST; - } - - private function getUcHost() - { - $scheme = "http://"; - if ($this->config->useHTTPS === true) { - $scheme = "https://"; - } - return $scheme . Config::UC_HOST; - } - - private function rsPost($path, $body = null) - { - $url = $this->getRsHost() . $path; - return $this->post($url, $body); - } - - private function apiPost($path, $body = null) - { - $url = $this->getApiHost() . $path; - return $this->post($url, $body); - } - - private function ucPost($path, $body = null) - { - $url = $this->getUcHost() . $path; - return $this->post($url, $body); - } - - private function ucGet($path) - { - $url = $this->getUcHost() . $path; - return $this->get($url); - } - - private function apiGet($path) - { - $url = $this->getApiHost() . $path; - return $this->get($url); - } - - private function rsGet($path) - { - $url = $this->getRsHost() . $path; - return $this->get($url); - } - - private function get($url) - { - $headers = $this->auth->authorization($url); - $ret = Client::get($url, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - return array($ret->json(), null); - } - - private function getV2($url) - { - $headers = $this->auth->authorizationV2($url, 'GET'); - return Client::get($url, $headers); - } - - private function post($url, $body) - { - $headers = $this->auth->authorization($url, $body, 'application/x-www-form-urlencoded'); - $ret = Client::post($url, $body, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - return array($r, null); - } - - private function postV2($url, $body) - { - $headers = $this->auth->authorizationV2($url, 'POST', $body, 'application/json'); - $headers["Content-Type"] = 'application/json'; - $ret = Client::post($url, $body, $headers); - if (!$ret->ok()) { - return array(null, new Error($url, $ret)); - } - $r = ($ret->body === null) ? array() : $ret->json(); - return array($r, null); - } - - public static function buildBatchCopy($source_bucket, $key_pairs, $target_bucket, $force) - { - return self::twoKeyBatch('/copy', $source_bucket, $key_pairs, $target_bucket, $force); - } - - - public static function buildBatchRename($bucket, $key_pairs, $force) - { - return self::buildBatchMove($bucket, $key_pairs, $bucket, $force); - } - - - public static function buildBatchMove($source_bucket, $key_pairs, $target_bucket, $force) - { - return self::twoKeyBatch('/move', $source_bucket, $key_pairs, $target_bucket, $force); - } - - - public static function buildBatchDelete($bucket, $keys) - { - return self::oneKeyBatch('/delete', $bucket, $keys); - } - - - public static function buildBatchStat($bucket, $keys) - { - return self::oneKeyBatch('/stat', $bucket, $keys); - } - - public static function buildBatchDeleteAfterDays($bucket, $key_day_pairs) - { - $data = array(); - foreach ($key_day_pairs as $key => $day) { - array_push($data, '/deleteAfterDays/' . \Qiniu\entry($bucket, $key) . '/' . $day); - } - return $data; - } - - public static function buildBatchChangeMime($bucket, $key_mime_pairs) - { - $data = array(); - foreach ($key_mime_pairs as $key => $mime) { - array_push($data, '/chgm/' . \Qiniu\entry($bucket, $key) . '/mime/' . base64_encode($mime)); - } - return $data; - } - - public static function buildBatchChangeType($bucket, $key_type_pairs) - { - $data = array(); - foreach ($key_type_pairs as $key => $type) { - array_push($data, '/chtype/' . \Qiniu\entry($bucket, $key) . '/type/' . $type); - } - return $data; - } - - private static function oneKeyBatch($operation, $bucket, $keys) - { - $data = array(); - foreach ($keys as $key) { - array_push($data, $operation . '/' . \Qiniu\entry($bucket, $key)); - } - return $data; - } - - private static function twoKeyBatch($operation, $source_bucket, $key_pairs, $target_bucket, $force) - { - if ($target_bucket === null) { - $target_bucket = $source_bucket; - } - $data = array(); - $forceOp = "false"; - if ($force) { - $forceOp = "true"; - } - foreach ($key_pairs as $from_key => $to_key) { - $from = \Qiniu\entry($source_bucket, $from_key); - $to = \Qiniu\entry($target_bucket, $to_key); - array_push($data, $operation . '/' . $from . '/' . $to . "/force/" . $forceOp); - } - return $data; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Storage/FormUploader.php b/vendor/qiniu/php-sdk/src/Qiniu/Storage/FormUploader.php deleted file mode 100644 index 1267004e..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Storage/FormUploader.php +++ /dev/null @@ -1,140 +0,0 @@ - "", - * "key" => "" - * ] - */ - public static function put( - $upToken, - $key, - $data, - $config, - $params, - $mime, - $fname - ) { - $fields = array('token' => $upToken); - if ($key === null) { - } else { - $fields['key'] = $key; - } - - //enable crc32 check by default - $fields['crc32'] = \Qiniu\crc32_data($data); - - if ($params) { - foreach ($params as $k => $v) { - $fields[$k] = $v; - } - } - - list($accessKey, $bucket, $err) = \Qiniu\explodeUpToken($upToken); - if ($err != null) { - return array(null, $err); - } - - $upHost = $config->getUpHost($accessKey, $bucket); - - $response = Client::multipartPost($upHost, $fields, 'file', $fname, $data, $mime); - if (!$response->ok()) { - return array(null, new Error($upHost, $response)); - } - return array($response->json(), null); - } - - /** - * 上传文件到七牛,内部使用 - * - * @param string $upToken 上传凭证 - * @param string $key 上传文件名 - * @param string $filePath 上传文件的路径 - * @param string $config 上传配置 - * @param string $params 自定义变量,规格参考 - * https://developer.qiniu.com/kodo/manual/1235/vars#xvar - * @param string $mime 上传数据的mimeType - * - * @return array 包含已上传文件的信息,类似: - * [ - * "hash" => "", - * "key" => "" - * ] - */ - public static function putFile( - $upToken, - $key, - $filePath, - $config, - $params, - $mime - ) { - - - $fields = array('token' => $upToken, 'file' => self::createFile($filePath, $mime)); - if ($key !== null) { - $fields['key'] = $key; - } - - $fields['crc32'] = \Qiniu\crc32_file($filePath); - - if ($params) { - foreach ($params as $k => $v) { - $fields[$k] = $v; - } - } - $fields['key'] = $key; - $headers = array('Content-Type' => 'multipart/form-data'); - - list($accessKey, $bucket, $err) = \Qiniu\explodeUpToken($upToken); - if ($err != null) { - return array(null, $err); - } - - $upHost = $config->getUpHost($accessKey, $bucket); - - $response = Client::post($upHost, $fields, $headers); - if (!$response->ok()) { - return array(null, new Error($upHost, $response)); - } - return array($response->json(), null); - } - - private static function createFile($filename, $mime) - { - // PHP 5.5 introduced a CurlFile object that deprecates the old @filename syntax - // See: https://wiki.php.net/rfc/curl-file-upload - if (function_exists('curl_file_create')) { - return curl_file_create($filename, $mime); - } - - // Use the old style if using an older version of PHP - $value = "@{$filename}"; - if (!empty($mime)) { - $value .= ';type=' . $mime; - } - - return $value; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Storage/ResumeUploader.php b/vendor/qiniu/php-sdk/src/Qiniu/Storage/ResumeUploader.php deleted file mode 100644 index 278bc0e4..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Storage/ResumeUploader.php +++ /dev/null @@ -1,383 +0,0 @@ -upToken = $upToken; - $this->key = $key; - $this->inputStream = $inputStream; - $this->size = $size; - $this->params = $params; - $this->mime = $mime; - $this->contexts = array(); - $this->finishedEtags = array("etags"=>array(), "uploadId"=>"", "expiredAt"=>0, "uploaded"=>0); - $this->config = $config; - $this->resumeRecordFile = $resumeRecordFile ? $resumeRecordFile : null; - $this->version = $version ? $version : 'v1'; - $this->partSize = $partSize ? $partSize : config::BLOCK_SIZE; - - list($accessKey, $bucket, $err) = \Qiniu\explodeUpToken($upToken); - $this->bucket = $bucket; - if ($err != null) { - return array(null, $err); - } - - $upHost = $config->getUpHost($accessKey, $bucket); - if ($err != null) { - throw new \Exception($err->message(), 1); - } - $this->host = $upHost; - } - - /** - * 上传操作 - */ - public function upload($fname) - { - $uploaded = 0; - if ($this->version == 'v2') { - $partNumber = 1; - $encodedObjectName = $this->key? \Qiniu\base64_urlSafeEncode($this->key) : '~'; - }; - // get upload record from resumeRecordFile - if ($this->resumeRecordFile != null) { - $blkputRets = null; - if (file_exists($this->resumeRecordFile)) { - $stream = fopen($this->resumeRecordFile, 'r'); - if ($stream) { - $streamLen = filesize($this->resumeRecordFile); - if ($streamLen > 0) { - $contents = fread($stream, $streamLen); - fclose($stream); - if ($contents) { - $blkputRets = json_decode($contents, true); - if ($blkputRets === null) { - error_log("resumeFile contents decode error"); - } - } else { - error_log("read resumeFile failed"); - } - } else { - error_log("resumeFile is empty"); - } - } else { - error_log("resumeFile open failed"); - } - } else { - error_log("resumeFile not exists"); - } - - if ($blkputRets) { - if ($this->version == 'v1') { - if (isset($blkputRets['contexts']) && isset($blkputRets['uploaded']) && - is_array($blkputRets['contexts']) && is_int($blkputRets['uploaded'])) { - $this->contexts = $blkputRets['contexts']; - $uploaded = $blkputRets['uploaded']; - } - } elseif ($this->version == 'v2') { - if (isset($blkputRets["etags"]) && isset($blkputRets["uploadId"]) && - isset($blkputRets["expiredAt"]) && $blkputRets["expiredAt"] > time() - && $blkputRets["uploaded"] > 0 && is_array($blkputRets["etags"]) && - is_string($blkputRets["uploadId"]) && is_int($blkputRets["expiredAt"])) { - $this->finishedEtags['etags'] = $blkputRets["etags"]; - $this->finishedEtags["uploadId"] = $blkputRets["uploadId"]; - $this->finishedEtags["expiredAt"] = $blkputRets["expiredAt"]; - $this->finishedEtags["uploaded"] = $blkputRets["uploaded"]; - $uploaded = $blkputRets["uploaded"]; - $partNumber = count($this->finishedEtags["etags"]) + 1; - } else { - $this->makeInitReq($encodedObjectName); - } - } else { - throw new \Exception("only support v1/v2 now!"); - } - } else { - if ($this->version == 'v2') { - $this->makeInitReq($encodedObjectName); - } - } - } else { - // init a Multipart Upload task if choose v2 - if ($this->version == 'v2') { - $this->makeInitReq($encodedObjectName); - } - } - - while ($uploaded < $this->size) { - $blockSize = $this->blockSize($uploaded); - $data = fread($this->inputStream, $blockSize); - if ($data === false) { - throw new \Exception("file read failed", 1); - } - if ($this->version == 'v1') { - $crc = \Qiniu\crc32_data($data); - $response = $this->makeBlock($data, $blockSize); - } else { - $md5 = md5($data); - $response = $this->uploadPart($data, $partNumber, $this->finishedEtags["uploadId"], $encodedObjectName); - } - - $ret = null; - if ($response->ok() && $response->json() != null) { - $ret = $response->json(); - } - if ($response->statusCode < 0) { - list($accessKey, $bucket, $err) = \Qiniu\explodeUpToken($this->upToken); - if ($err != null) { - return array(null, $err); - } - $upHostBackup = $this->config->getUpBackupHost($accessKey, $bucket); - $this->host = $upHostBackup; - } - - if ($this->version == 'v1') { - if ($response->needRetry() || !isset($ret['crc32']) || $crc != $ret['crc32']) { - $response = $this->makeBlock($data, $blockSize); - $ret = $response->json(); - } - - if (!$response->ok() || !isset($ret['crc32']) || $crc != $ret['crc32']) { - return array(null, new Error($this->currentUrl, $response)); - } - array_push($this->contexts, $ret['ctx']); - } else { - if ($response->needRetry() || !isset($ret['md5']) || $md5 != $ret['md5']) { - $response = $this->uploadPart( - $data, - $partNumber, - $this->finishedEtags["uploadId"], - $encodedObjectName - ); - $ret = $response->json(); - } - - if (!$response->ok() || !isset($ret['md5']) || $md5 != $ret['md5']) { - return array(null, new Error($this->currentUrl, $response)); - } - $blockStatus = array('etag' => $ret['etag'], 'partNumber' => $partNumber); - array_push($this->finishedEtags['etags'], $blockStatus); - $partNumber += 1; - } - - $uploaded += $blockSize; - if ($this->version == 'v2') { - $this->finishedEtags['uploaded'] = $uploaded; - } - - if ($this->resumeRecordFile !== null) { - if ($this->version == 'v1') { - $recordData = array( - 'contexts' => $this->contexts, - 'uploaded' => $uploaded - ); - $recordData = json_encode($recordData); - } else { - $recordData = json_encode($this->finishedEtags); - } - if ($recordData) { - $isWritten = file_put_contents($this->resumeRecordFile, $recordData); - if ($isWritten === false) { - error_log("write resumeRecordFile failed"); - } - } else { - error_log('resumeRecordData encode failed'); - } - } - } - if ($this->version == 'v1') { - return $this->makeFile($fname); - } else { - return $this->completeParts($fname, $this->finishedEtags['uploadId'], $encodedObjectName); - } - } - - /** - * 创建块 - */ - private function makeBlock($block, $blockSize) - { - $url = $this->host . '/mkblk/' . $blockSize; - return $this->post($url, $block); - } - - private function fileUrl($fname) - { - $url = $this->host . '/mkfile/' . $this->size; - $url .= '/mimeType/' . \Qiniu\base64_urlSafeEncode($this->mime); - if ($this->key != null) { - $url .= '/key/' . \Qiniu\base64_urlSafeEncode($this->key); - } - $url .= '/fname/' . \Qiniu\base64_urlSafeEncode($fname); - if (!empty($this->params)) { - foreach ($this->params as $key => $value) { - $val = \Qiniu\base64_urlSafeEncode($value); - $url .= "/$key/$val"; - } - } - return $url; - } - - /** - * 创建文件 - */ - private function makeFile($fname) - { - $url = $this->fileUrl($fname); - $body = implode(',', $this->contexts); - $response = $this->post($url, $body); - if ($response->needRetry()) { - $response = $this->post($url, $body); - } - if (!$response->ok()) { - return array(null, new Error($this->currentUrl, $response)); - } - return array($response->json(), null); - } - - private function post($url, $data) - { - $this->currentUrl = $url; - $headers = array('Authorization' => 'UpToken ' . $this->upToken); - return Client::post($url, $data, $headers); - } - - private function blockSize($uploaded) - { - if ($this->size < $uploaded + $this->partSize) { - return $this->size - $uploaded; - } - return $this->partSize; - } - - private function makeInitReq($encodedObjectName) - { - $res = $this->initReq($encodedObjectName); - $this->finishedEtags["uploadId"] = $res['uploadId']; - $this->finishedEtags["expiredAt"] = $res['expireAt']; - } - - /** - * 初始化上传任务 - */ - private function initReq($encodedObjectName) - { - $url = $this->host.'/buckets/'.$this->bucket.'/objects/'.$encodedObjectName.'/uploads'; - $headers = array( - 'Authorization' => 'UpToken ' . $this->upToken, - 'Content-Type' => 'application/json' - ); - $response = $this->postWithHeaders($url, null, $headers); - return $response->json(); - } - - /** - * 分块上传v2 - */ - private function uploadPart($block, $partNumber, $uploadId, $encodedObjectName) - { - $headers = array( - 'Authorization' => 'UpToken ' . $this->upToken, - 'Content-Type' => 'application/octet-stream', - 'Content-MD5' => $block - ); - $url = $this->host.'/buckets/'.$this->bucket.'/objects/'.$encodedObjectName. - '/uploads/'.$uploadId.'/'.$partNumber; - $response = $this->put($url, $block, $headers); - return $response; - } - - private function completeParts($fname, $uploadId, $encodedObjectName) - { - $headers = array( - 'Authorization' => 'UpToken '.$this->upToken, - 'Content-Type' => 'application/json' - ); - $etags = $this->finishedEtags['etags']; - $sortedEtags = \Qiniu\arraySort($etags, 'partNumber'); - $body = array( - 'fname' => $fname, - '$mimeType' => $this->mime, - 'customVars' => $this->params, - 'parts' => $sortedEtags - ); - $jsonBody = json_encode($body); - $url = $this->host.'/buckets/'.$this->bucket.'/objects/'.$encodedObjectName.'/uploads/'.$uploadId; - $response = $this->postWithHeaders($url, $jsonBody, $headers); - if ($response->needRetry()) { - $response = $this->postWithHeaders($url, $jsonBody, $headers); - } - if (!$response->ok()) { - return array(null, new Error($this->currentUrl, $response)); - } - return array($response->json(), null); - } - - private function put($url, $data, $headers) - { - $this->currentUrl = $url; - return Client::put($url, $data, $headers); - } - - private function postWithHeaders($url, $data, $headers) - { - $this->currentUrl = $url; - return Client::post($url, $data, $headers); - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php b/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php deleted file mode 100644 index cdf1f18e..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php +++ /dev/null @@ -1,152 +0,0 @@ -config = $config; - } - - /** - * 上传二进制流到七牛 - * - * @param $upToken 上传凭证 - * @param $key 上传文件名 - * @param $data 上传二进制流 - * @param $params 自定义变量,规格参考 - * http://developer.qiniu.com/docs/v6/api/overview/up/response/vars.html#xvar - * @param $mime 上传数据的mimeType - * @param $checkCrc 是否校验crc32 - * - * @return array 包含已上传文件的信息,类似: - * [ - * "hash" => "", - * "key" => "" - * ] - */ - public function put( - $upToken, - $key, - $data, - $params = null, - $mime = 'application/octet-stream', - $fname = "default_filename" - ) { - - $params = self::trimParams($params); - return FormUploader::put( - $upToken, - $key, - $data, - $this->config, - $params, - $mime, - $fname - ); - } - - - /** - * 上传文件到七牛 - * - * @param $upToken 上传凭证 - * @param $key 上传文件名 - * @param $filePath 上传文件的路径 - * @param $params 自定义变量,规格参考 - * http://developer.qiniu.com/docs/v6/api/overview/up/response/vars.html#xvar - * @param $mime 上传数据的mimeType - * @param $checkCrc 是否校验crc32 - * @param $version 分片上传版本 目前支持v1/v2版本 默认v1 - * @param $partSize 分片上传v2字段 默认大小为4MB 分片大小范围为1 MB - 1 GB - * @param $resumeRecordFile 断点续传文件路径 默认为null - * @return array 包含已上传文件的信息,类似: - * [ - * "hash" => "", - * "key" => "" - * ] - */ - public function putFile( - $upToken, - $key, - $filePath, - $params = null, - $mime = 'application/octet-stream', - $checkCrc = false, - $resumeRecordFile = null, - $version = 'v1', - $partSize = config::BLOCK_SIZE - ) { - - $file = fopen($filePath, 'rb'); - if ($file === false) { - throw new \Exception("file can not open", 1); - } - $params = self::trimParams($params); - $stat = fstat($file); - $size = $stat['size']; - if ($size <= Config::BLOCK_SIZE) { - $data = fread($file, $size); - fclose($file); - if ($data === false) { - throw new \Exception("file can not read", 1); - } - return FormUploader::put( - $upToken, - $key, - $data, - $this->config, - $params, - $mime, - basename($filePath) - ); - } - - $up = new ResumeUploader( - $upToken, - $key, - $file, - $size, - $params, - $mime, - $this->config, - $resumeRecordFile, - $version, - $partSize - ); - $ret = $up->upload(basename($filePath)); - fclose($file); - return $ret; - } - - public static function trimParams($params) - { - if ($params === null) { - return null; - } - $ret = array(); - foreach ($params as $k => $v) { - $pos1 = strpos($k, 'x:'); - $pos2 = strpos($k, 'x-qn-meta-'); - if (($pos1 === 0 || $pos2 === 0) && !empty($v)) { - $ret[$k] = $v; - } - } - return $ret; - } -} diff --git a/vendor/qiniu/php-sdk/src/Qiniu/Zone.php b/vendor/qiniu/php-sdk/src/Qiniu/Zone.php deleted file mode 100644 index 7af0e3f5..00000000 --- a/vendor/qiniu/php-sdk/src/Qiniu/Zone.php +++ /dev/null @@ -1,47 +0,0 @@ - $v) { - $keysValue[$k] = $v[$key]; - } - array_multisort($keysValue, $sort, $array); - return $array; - } - - /** - * Wrapper for JSON decode that implements error detection with helpful - * error messages. - * - * @param string $json JSON data to parse - * @param bool $assoc When true, returned objects will be converted - * into associative arrays. - * @param int $depth User specified recursion depth. - * - * @return mixed - * @throws \InvalidArgumentException if the JSON cannot be parsed. - * @link http://www.php.net/manual/en/function.json-decode.php - */ - function json_decode($json, $assoc = false, $depth = 512) - { - static $jsonErrors = array( - JSON_ERROR_DEPTH => 'JSON_ERROR_DEPTH - Maximum stack depth exceeded', - JSON_ERROR_STATE_MISMATCH => 'JSON_ERROR_STATE_MISMATCH - Underflow or the modes mismatch', - JSON_ERROR_CTRL_CHAR => 'JSON_ERROR_CTRL_CHAR - Unexpected control character found', - JSON_ERROR_SYNTAX => 'JSON_ERROR_SYNTAX - Syntax error, malformed JSON', - JSON_ERROR_UTF8 => 'JSON_ERROR_UTF8 - Malformed UTF-8 characters, possibly incorrectly encoded' - ); - - if (empty($json)) { - return null; - } - $data = \json_decode($json, $assoc, $depth); - - if (JSON_ERROR_NONE !== json_last_error()) { - $last = json_last_error(); - throw new \InvalidArgumentException( - 'Unable to parse JSON data: ' - . (isset($jsonErrors[$last]) - ? $jsonErrors[$last] - : 'Unknown error') - ); - } - - return $data; - } - - /** - * 计算七牛API中的数据格式 - * - * @param string $bucket 待操作的空间名 - * @param string $key 待操作的文件名 - * - * @return string 符合七牛API规格的数据格式 - * @link http://developer.qiniu.com/docs/v6/api/reference/data-formats.html - */ - function entry($bucket, $key) - { - $en = $bucket; - if (!empty($key)) { - $en = $bucket . ':' . $key; - } - return base64_urlSafeEncode($en); - } - - /** - * array 辅助方法,无值时不set - * - * @param array $array 待操作array - * @param string $key key - * @param string $value value 为null时 不设置 - * - * @return array 原来的array,便于连续操作 - */ - function setWithoutEmpty(&$array, $key, $value) - { - if (!empty($value)) { - $array[$key] = $value; - } - return $array; - } - - /** - * 缩略图链接拼接 - * - * @param string $url 图片链接 - * @param int $mode 缩略模式 - * @param int $width 宽度 - * @param int $height 长度 - * @param string $format 输出类型 - * @param int $quality 图片质量 - * @param int $interlace 是否支持渐进显示 - * @param int $ignoreError 忽略结果 - * @return string - * @link http://developer.qiniu.com/code/v6/api/kodo-api/image/imageview2.html - * @author Sherlock Ren - */ - function thumbnail( - $url, - $mode, - $width, - $height, - $format = null, - $quality = null, - $interlace = null, - $ignoreError = 1 - ) { - - static $imageUrlBuilder = null; - if (is_null($imageUrlBuilder)) { - $imageUrlBuilder = new \Qiniu\Processing\ImageUrlBuilder; - } - - return call_user_func_array(array($imageUrlBuilder, 'thumbnail'), func_get_args()); - } - - /** - * 图片水印 - * - * @param string $url 图片链接 - * @param string $image 水印图片链接 - * @param numeric $dissolve 透明度 - * @param string $gravity 水印位置 - * @param numeric $dx 横轴边距 - * @param numeric $dy 纵轴边距 - * @param numeric $watermarkScale 自适应原图的短边比例 - * @link http://developer.qiniu.com/code/v6/api/kodo-api/image/watermark.html - * @return string - * @author Sherlock Ren - */ - function waterImg( - $url, - $image, - $dissolve = 100, - $gravity = 'SouthEast', - $dx = null, - $dy = null, - $watermarkScale = null - ) { - - static $imageUrlBuilder = null; - if (is_null($imageUrlBuilder)) { - $imageUrlBuilder = new \Qiniu\Processing\ImageUrlBuilder; - } - - return call_user_func_array(array($imageUrlBuilder, 'waterImg'), func_get_args()); - } - - /** - * 文字水印 - * - * @param string $url 图片链接 - * @param string $text 文字 - * @param string $font 文字字体 - * @param string $fontSize 文字字号 - * @param string $fontColor 文字颜色 - * @param numeric $dissolve 透明度 - * @param string $gravity 水印位置 - * @param numeric $dx 横轴边距 - * @param numeric $dy 纵轴边距 - * @link http://developer.qiniu.com/code/v6/api/kodo-api/image/watermark.html#text-watermark - * @return string - * @author Sherlock Ren - */ - function waterText( - $url, - $text, - $font = '黑体', - $fontSize = 0, - $fontColor = null, - $dissolve = 100, - $gravity = 'SouthEast', - $dx = null, - $dy = null - ) { - - static $imageUrlBuilder = null; - if (is_null($imageUrlBuilder)) { - $imageUrlBuilder = new \Qiniu\Processing\ImageUrlBuilder; - } - - return call_user_func_array(array($imageUrlBuilder, 'waterText'), func_get_args()); - } - - /** - * 从uptoken解析accessKey和bucket - * - * @param $upToken - * @return array(ak,bucket,err=null) - */ - function explodeUpToken($upToken) - { - $items = explode(':', $upToken); - if (count($items) != 3) { - return array(null, null, "invalid uptoken"); - } - $accessKey = $items[0]; - $putPolicy = json_decode(base64_urlSafeDecode($items[2])); - $scope = $putPolicy->scope; - $scopeItems = explode(':', $scope); - $bucket = $scopeItems[0]; - return array($accessKey, $bucket, null); - } -} diff --git a/vendor/qiniu/php-sdk/test-env.sh b/vendor/qiniu/php-sdk/test-env.sh deleted file mode 100755 index eedf6b50..00000000 --- a/vendor/qiniu/php-sdk/test-env.sh +++ /dev/null @@ -1,4 +0,0 @@ -export QINIU_ACCESS_KEY=xxx -export QINIU_SECRET_KEY=xxx -export QINIU_TEST_BUCKET=phpsdk -export QINIU_TEST_DOMAIN=phpsdk.qiniudn.com \ No newline at end of file diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/AuthTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/AuthTest.php deleted file mode 100755 index 712cbd57..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/AuthTest.php +++ /dev/null @@ -1,71 +0,0 @@ -sign('test'); - $this->assertEquals('abcdefghklmnopq:mSNBTR7uS2crJsyFr2Amwv1LaYg=', $token); - } - - public function testSignWithData() - { - global $dummyAuth; - $token = $dummyAuth->signWithData('test'); - $this->assertEquals('abcdefghklmnopq:-jP8eEV9v48MkYiBGs81aDxl60E=:dGVzdA==', $token); - } - - public function testSignRequest() - { - global $dummyAuth; - $token = $dummyAuth->signRequest('http://www.qiniu.com?go=1', 'test', ''); - $this->assertEquals('abcdefghklmnopq:cFyRVoWrE3IugPIMP5YJFTO-O-Y=', $token); - $ctype = 'application/x-www-form-urlencoded'; - $token = $dummyAuth->signRequest('http://www.qiniu.com?go=1', 'test', $ctype); - $this->assertEquals($token, 'abcdefghklmnopq:svWRNcacOE-YMsc70nuIYdaa1e4='); - } - - public function testPrivateDownloadUrl() - { - global $dummyAuth; - $_SERVER['override_qiniu_auth_time'] = true; - $url = $dummyAuth->privateDownloadUrl('http://www.qiniu.com?go=1'); - $expect = 'http://www.qiniu.com?go=1&e=1234571490&token=abcdefghklmnopq:8vzBeLZ9W3E4kbBLFLW0Xe0u7v4='; - $this->assertEquals($expect, $url); - unset($_SERVER['override_qiniu_auth_time']); - } - - public function testUploadToken() - { - global $dummyAuth; - $_SERVER['override_qiniu_auth_time'] = true; - $token = $dummyAuth->uploadToken('1', '2', 3600, array('endUser' => 'y')); - // @codingStandardsIgnoreStart - $exp = 'abcdefghklmnopq:yyeexeUkPOROoTGvwBjJ0F0VLEo=:eyJlbmRVc2VyIjoieSIsInNjb3BlIjoiMToyIiwiZGVhZGxpbmUiOjEyMzQ1NzE0OTB9'; - // @codingStandardsIgnoreEnd - $this->assertEquals($exp, $token); - unset($_SERVER['override_qiniu_auth_time']); - } - - public function testVerifyCallback() - { - } - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php deleted file mode 100755 index 6d633530..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Base64Test.php +++ /dev/null @@ -1,14 +0,0 @@ -assertEquals($a, \Qiniu\base64_urlSafeDecode($b)); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/BucketTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/BucketTest.php deleted file mode 100755 index 098ef133..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/BucketTest.php +++ /dev/null @@ -1,451 +0,0 @@ -bucketName = $bucketName; - $this->key = $key; - $this->key2 = $key2; - - global $customCallbackURL; - $this->customCallbackURL = $customCallbackURL; - - global $testAuth; - $config = new Config(); - $this->bucketManager = new BucketManager($testAuth, $config); - - global $dummyAuth; - $this->dummyBucketManager = new BucketManager($dummyAuth); - } - - public function testBuckets() - { - - list($list, $error) = $this->bucketManager->buckets(); - $this->assertTrue(in_array($this->bucketName, $list)); - $this->assertNull($error); - - list($list2, $error) = $this->dummyBucketManager->buckets(); - $this->assertEquals(401, $error->code()); - $this->assertNull($list2); - $this->assertNotNull($error->message()); - $this->assertNotNull($error->getResponse()); - } - - public function testListbuckets() - { - list($ret, $error) = $this->bucketManager->listbuckets('z0'); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testCreateBucket() - { - list($ret, $error) = $this->bucketManager->createBucket('phpsdk-ci-test'); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testDeleteBucket() - { - list($ret, $error) = $this->bucketManager->deleteBucket('phpsdk-ci-test'); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testDomains() - { - list($ret, $error) = $this->bucketManager->domains($this->bucketName); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testBucketInfo() - { - list($ret, $error) = $this->bucketManager->bucketInfo($this->bucketName); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testBucketInfos() - { - list($ret, $error) = $this->bucketManager->bucketInfos('z0'); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testList() - { - list($ret, $error) = $this->bucketManager->listFiles($this->bucketName, null, null, 10); - $this->assertNotNull($ret['items'][0]); - $this->assertNotNull($ret['marker']); - $this->assertNull($error); - } - - public function testListFilesv2() - { - list($ret, $error) = $this->bucketManager->listFilesv2($this->bucketName, null, null, 10); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testBucketLifecycleRule() - { - list($ret, $error) = $this->bucketManager->bucketLifecycleRule($this->bucketName, 'demo', 'test', 80, 70); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testGetbucketLifecycleRule() - { - list($ret, $error) = $this->bucketManager->getBucketLifecycleRules($this->bucketName); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testUpdatebucketLifecycleRule() - { - list($ret, $error) = $this->bucketManager->updateBucketLifecycleRule( - $this->bucketName, - 'demo', - 'testupdate', - 80, - 70 - ); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testDeleteBucketLifecycleRule() - { - list($ret, $error) = $this->bucketManager->deleteBucketLifecycleRule($this->bucketName, 'demo'); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testPutBucketEvent() - { - list($ret, $error) = $this->bucketManager->putBucketEvent( - $this->bucketName, - 'bucketevent', - 'test', - 'img', - array('copy'), - $this->customCallbackURL - ); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testUpdateBucketEvent() - { - list($ret, $error) = $this->bucketManager->updateBucketEvent( - $this->bucketName, - 'bucketevent', - 'test', - 'video', - array('copy'), - $this->customCallbackURL - ); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testGetBucketEvent() - { - list($ret, $error) = $this->bucketManager->getBucketEvents($this->bucketName); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testDeleteBucketEvent() - { - list($ret, $error) = $this->bucketManager->deleteBucketEvent($this->bucketName, 'bucketevent'); - $this->assertNotNull($ret); - $this->assertNull($error); - } - - public function testStat() - { - list($stat, $error) = $this->bucketManager->stat($this->bucketName, $this->key); - $this->assertNotNull($stat); - $this->assertNull($error); - $this->assertNotNull($stat['hash']); - - list($stat, $error) = $this->bucketManager->stat($this->bucketName, 'nofile'); - $this->assertNull($stat); - $this->assertEquals(612, $error->code()); - $this->assertNotNull($error->message()); - - list($stat, $error) = $this->bucketManager->stat('nobucket', 'nofile'); - $this->assertNull($stat); - $this->assertEquals(631, $error->code()); - $this->assertNotNull($error->message()); - } - - public function testDelete() - { - list($ret, $error) = $this->bucketManager->delete($this->bucketName, 'del'); - $this->assertNull($ret); - $this->assertNotNull($error); - } - - - public function testRename() - { - $key = 'renamefrom' . rand(); - $this->bucketManager->copy($this->bucketName, $this->key, $this->bucketName, $key); - $key2 = 'renameto' . $key; - list($ret, $error) = $this->bucketManager->rename($this->bucketName, $key, $key2); - $this->assertNull($error); - list($ret, $error) = $this->bucketManager->delete($this->bucketName, $key2); - $this->assertNull($error); - } - - - public function testCopy() - { - $key = 'copyto' . rand(); - $this->bucketManager->delete($this->bucketName, $key); - - list($ret, $error) = $this->bucketManager->copy( - $this->bucketName, - $this->key, - $this->bucketName, - $key - ); - $this->assertNull($error); - - //test force copy - list($ret, $error) = $this->bucketManager->copy( - $this->bucketName, - $this->key2, - $this->bucketName, - $key, - true - ); - $this->assertNull($error); - - list($key2Stat,) = $this->bucketManager->stat($this->bucketName, $this->key2); - list($key2CopiedStat,) = $this->bucketManager->stat($this->bucketName, $key); - - $this->assertEquals($key2Stat['hash'], $key2CopiedStat['hash']); - - list($ret, $error) = $this->bucketManager->delete($this->bucketName, $key); - $this->assertNull($error); - } - - - public function testChangeMime() - { - list($ret, $error) = $this->bucketManager->changeMime( - $this->bucketName, - 'php-sdk.html', - 'text/html' - ); - $this->assertNull($error); - } - - public function testPrefetch() - { - list($ret, $error) = $this->bucketManager->prefetch( - $this->bucketName, - 'php-sdk.html' - ); - $this->assertNull($error); - } - - public function testFetch() - { - list($ret, $error) = $this->bucketManager->fetch( - 'http://developer.qiniu.com/docs/v6/sdk/php-sdk.html', - $this->bucketName, - 'fetch.html' - ); - $this->assertArrayHasKey('hash', $ret); - $this->assertNull($error); - - list($ret, $error) = $this->bucketManager->fetch( - 'http://developer.qiniu.com/docs/v6/sdk/php-sdk.html', - $this->bucketName, - '' - ); - $this->assertArrayHasKey('key', $ret); - $this->assertNull($error); - - list($ret, $error) = $this->bucketManager->fetch( - 'http://developer.qiniu.com/docs/v6/sdk/php-sdk.html', - $this->bucketName - ); - $this->assertArrayHasKey('key', $ret); - $this->assertNull($error); - } - - public function testAsynchFetch() - { - list($ret, $error) = $this->bucketManager->asynchFetch( - 'http://devtools.qiniu.com/qiniu.png', - $this->bucketName, - null, - 'qiniu.png' - ); - $this->assertArrayHasKey('id', $ret); - $this->assertNull($error); - - list($ret, $error) = $this->bucketManager->asynchFetch( - 'http://devtools.qiniu.com/qiniu.png', - $this->bucketName, - null, - '' - ); - $this->assertArrayHasKey('id', $ret); - $this->assertNull($error); - - list($ret, $error) = $this->bucketManager->asynchFetch( - 'http://devtools.qiniu.com/qiniu.png', - $this->bucketName - ); - $this->assertArrayHasKey('id', $ret); - $this->assertNull($error); - } - - - public function testBatchCopy() - { - $key = 'copyto' . rand(); - $ops = BucketManager::buildBatchCopy( - $this->bucketName, - array($this->key => $key), - $this->bucketName, - true - ); - list($ret, $error) = $this->bucketManager->batch($ops); - $this->assertEquals(200, $ret[0]['code']); - $ops = BucketManager::buildBatchDelete($this->bucketName, array($key)); - list($ret, $error) = $this->bucketManager->batch($ops); - $this->assertEquals(200, $ret[0]['code']); - } - - public function testBatchMove() - { - $key = 'movefrom' . rand(); - $this->bucketManager->copy($this->bucketName, $this->key, $this->bucketName, $key); - $key2 = $key . 'to'; - $ops = BucketManager::buildBatchMove( - $this->bucketName, - array($key => $key2), - $this->bucketName, - true - ); - list($ret, $error) = $this->bucketManager->batch($ops); - $this->assertEquals(200, $ret[0]['code']); - list($ret, $error) = $this->bucketManager->delete($this->bucketName, $key2); - $this->assertNull($error); - } - - public function testBatchRename() - { - $key = 'rename' . rand(); - $this->bucketManager->copy($this->bucketName, $this->key, $this->bucketName, $key); - $key2 = $key . 'to'; - $ops = BucketManager::buildBatchRename($this->bucketName, array($key => $key2), true); - list($ret, $error) = $this->bucketManager->batch($ops); - $this->assertEquals(200, $ret[0]['code']); - list($ret, $error) = $this->bucketManager->delete($this->bucketName, $key2); - $this->assertNull($error); - } - - public function testBatchStat() - { - $ops = BucketManager::buildBatchStat($this->bucketName, array('php-sdk.html')); - list($ret, $error) = $this->bucketManager->batch($ops); - $this->assertEquals(200, $ret[0]['code']); - } - - public function testDeleteAfterDays() - { - $key = rand(); - list($ret, $error) = $this->bucketManager->deleteAfterDays($this->bucketName, $key, 1); - $this->assertNotNull($error); - - $this->bucketManager->copy($this->bucketName, $this->key, $this->bucketName, $key); - list($ret, $error) = $this->bucketManager->deleteAfterDays($this->bucketName, $key, 1); - $this->assertEquals(null, $ret); - } - - public function testGetCorsRules() - { - list($ret, $err) = $this->bucketManager->getCorsRules($this->bucketName); - $this->assertNull($err); - } - - public function testPutBucketAccessStyleMode() - { - list($ret, $err) = $this->bucketManager->putBucketAccessStyleMode($this->bucketName, 0); - $this->assertNull($err); - } - - public function testPutBucketAccessMode() - { - list($ret, $err) = $this->bucketManager->putBucketAccessMode($this->bucketName, 0); - $this->assertNull($err); - } - - public function testPutReferAntiLeech() - { - list($ret, $err) = $this->bucketManager->putReferAntiLeech($this->bucketName, 0, "1", "*"); - $this->assertNull($err); - } - - public function testPutBucketMaxAge() - { - list($ret, $err) = $this->bucketManager->putBucketMaxAge($this->bucketName, 31536000); - $this->assertNull($err); - } - - public function testPutBucketQuota() - { - list($ret, $err) = $this->bucketManager->putBucketQuota($this->bucketName, -1, -1); - $this->assertNull($err); - } - - public function testGetBucketQuota() - { - list($ret, $err) = $this->bucketManager->getBucketQuota($this->bucketName); - $this->assertNull($err); - } - - public function testChangeType() - { - list($ret, $err) = $this->bucketManager->changeType($this->bucketName, $this->key, 0); - $this->assertNull($err); - - list($ret, $err) = $this->bucketManager->changeType($this->bucketName, $this->key, 1); - $this->assertNull($err); - } - - public function testChangeStatus() - { - list($ret, $err) = $this->bucketManager->changeStatus($this->bucketName, $this->key, 1); - $this->assertNull($err); - - list($ret, $err) = $this->bucketManager->changeStatus($this->bucketName, $this->key, 0); - $this->assertNull($err); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/CdnManagerTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/CdnManagerTest.php deleted file mode 100755 index 1a12704b..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/CdnManagerTest.php +++ /dev/null @@ -1,145 +0,0 @@ -cdnManager = new CdnManager($testAuth); - - global $timestampAntiLeechEncryptKey; - $this->encryptKey = $timestampAntiLeechEncryptKey; - - global $testStartDate; - $this->testStartDate = $testStartDate; - - global $testEndDate; - $this->testEndDate = $testEndDate; - - global $testGranularity; - $this->testGranularity = $testGranularity; - - global $testLogDate; - $this->testLogDate = $testLogDate; - - global $customDomain; - $this->refreshUrl = $customDomain . '/sdktest.png'; - $this->refreshDirs = $customDomain; - $this->customDomain = $customDomain; - - global $customDomain2; - $this->customDomain2 = $customDomain2; - } - - public function testRefreshUrls() - { - list($ret, $err) = $this->cdnManager->refreshUrls(array($this->refreshUrl)); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testRefreshDirs() - { - list($ret, $err) = $this->cdnManager->refreshDirs(array($this->refreshDirs)); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testRefreshUrlsAndDirs() - { - list($ret, $err) = $this->cdnManager->refreshUrlsAndDirs(array($this->refreshUrl), array($this->refreshDirs)); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testGetCdnRefreshList() - { - list($ret, $err) = $this->cdnManager->getCdnRefreshList(null, null, null, 'success'); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testPrefetchUrls() - { - list($ret, $err) = $this->cdnManager->prefetchUrls(array($this->refreshUrl)); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testGetCdnPrefetchList() - { - list($ret, $err) = $this->cdnManager->getCdnPrefetchList(null, null, 'success'); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testGetBandwidthData() - { - list($ret, $err) = $this->cdnManager->getBandwidthData( - array($this->customDomain2), - $this->testStartDate, - $this->testEndDate, - $this->testGranularity - ); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testGetFluxData() - { - list($ret, $err) = $this->cdnManager->getFluxData( - array($this->customDomain2), - $this->testStartDate, - $this->testEndDate, - $this->testGranularity - ); - $this->assertNotNull($ret); - $this->assertNull($err); - } - - public function testGetCdnLogList() - { - list($ret, $err) = $this->cdnManager->getCdnLogList(array('fake.qiniu.com'), $this->testLogDate); - $this->assertNull($ret); - $this->assertNotNull($err); - } - - public function testCreateTimestampAntiLeechUrl() - { - $signUrl = $this->cdnManager->createTimestampAntiLeechUrl($this->refreshUrl, $this->encryptKey, 3600); - $response = Client::get($signUrl); - $this->assertEquals($response->statusCode, 200); - $this->assertNull($response->error); - - $signUrl = $this->cdnManager->createTimestampAntiLeechUrl( - $this->refreshUrl . '?qiniu', - $this->encryptKey, - 3600 - ); - $response = Client::get($signUrl); - $this->assertEquals($response->statusCode, 200); - $this->assertNull($response->error); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Crc32Test.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Crc32Test.php deleted file mode 100755 index bfb36da8..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/Crc32Test.php +++ /dev/null @@ -1,21 +0,0 @@ -assertEquals('1352841281', $b); - } - - public function testFile() - { - $b = \Qiniu\crc32_file(__file__); - $c = \Qiniu\crc32_file(__file__); - $this->assertEquals($c, $b); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/DownloadTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/DownloadTest.php deleted file mode 100755 index 5373ab37..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/DownloadTest.php +++ /dev/null @@ -1,25 +0,0 @@ -privateDownloadUrl($base_url); - $response = Client::get($private_url); - $this->assertEquals(200, $response->statusCode); - } - - public function testFop() - { - global $testAuth; - $base_url = 'http://sdk.peterpy.cn/gogopher.jpg?exif'; - $private_url = $testAuth->privateDownloadUrl($base_url); - $response = Client::get($private_url); - $this->assertEquals(200, $response->statusCode); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/EtagTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/EtagTest.php deleted file mode 100755 index 42a14993..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/EtagTest.php +++ /dev/null @@ -1,52 +0,0 @@ -assertEquals('Fto5o-5ea0sNMlW_75VgGJCv2AcJ', $r); - $this->assertNull($error); - } - - public function testLess4M() - { - $file = qiniuTempFile(3 * 1024 * 1024); - list($r, $error) = Etag::sum($file); - unlink($file); - $this->assertEquals('Fs5BpnAjRykYTg6o5E09cjuXrDkG', $r); - $this->assertNull($error); - } - - public function test4M() - { - $file = qiniuTempFile(4 * 1024 * 1024); - list($r, $error) = Etag::sum($file); - unlink($file); - $this->assertEquals('FiuKULnybewpEnrfTmxjsxc-3dWp', $r); - $this->assertNull($error); - } - - public function testMore4M() - { - $file = qiniuTempFile(5 * 1024 * 1024); - list($r, $error) = Etag::sum($file); - unlink($file); - $this->assertEquals('lhvyfIWMYFTq4s4alzlhXoAkqfVL', $r); - $this->assertNull($error); - } - - public function test8M() - { - $file = qiniuTempFile(8 * 1024 * 1024); - list($r, $error) = Etag::sum($file); - unlink($file); - $this->assertEquals('lmRm9ZfGZ86bnMys4wRTWtJj9ClG', $r); - $this->assertNull($error); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FopTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FopTest.php deleted file mode 100755 index 6cbdb7f7..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FopTest.php +++ /dev/null @@ -1,37 +0,0 @@ -execute('gogopher.jpg', 'exif'); - $this->assertNull($error); - $this->assertNotNull($exif); - } - - public function testExifPrivate() - { - global $testAuth; - $fop = new Operation('private-res.qiniudn.com', $testAuth); - list($exif, $error) = $fop->execute('noexif.jpg', 'exif'); - $this->assertNotNull($error); - $this->assertNull($exif); - } - - public function testbuildUrl() - { - $fops = 'imageView2/2/h/200'; - $fop = new Operation('testres.qiniudn.com'); - $url = $fop->buildUrl('gogopher.jpg', $fops); - $this->assertEquals($url, 'http://testres.qiniudn.com/gogopher.jpg?imageView2/2/h/200'); - - $fops = array('imageView2/2/h/200', 'imageInfo'); - $url = $fop->buildUrl('gogopher.jpg', $fops); - $this->assertEquals($url, 'http://testres.qiniudn.com/gogopher.jpg?imageView2/2/h/200|imageInfo'); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FormUpTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FormUpTest.php deleted file mode 100755 index 4813eed9..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/FormUpTest.php +++ /dev/null @@ -1,59 +0,0 @@ -bucketName = $bucketName; - - global $testAuth; - $this->auth = $testAuth; - $this->cfg = new Config(); - } - - public function testData() - { - $token = $this->auth->uploadToken($this->bucketName); - list($ret, $error) = FormUploader::put($token, 'formput', 'hello world', $this->cfg, null, 'text/plain', null); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - } - - public function testData2() - { - $upManager = new UploadManager(); - $token = $this->auth->uploadToken($this->bucketName); - list($ret, $error) = $upManager->put($token, 'formput', 'hello world', null, 'text/plain', null); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - } - - public function testFile() - { - $key = 'formPutFile'; - $token = $this->auth->uploadToken($this->bucketName, $key); - list($ret, $error) = FormUploader::putFile($token, $key, __file__, $this->cfg, null, 'text/plain', null); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - } - - public function testFile2() - { - $key = 'formPutFile'; - $token = $this->auth->uploadToken($this->bucketName, $key); - $upManager = new UploadManager(); - list($ret, $error) = $upManager->putFile($token, $key, __file__, null, 'text/plain', null); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/HttpTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/HttpTest.php deleted file mode 100755 index 558bc1f1..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/HttpTest.php +++ /dev/null @@ -1,79 +0,0 @@ -assertEquals($response->statusCode, 200); - $this->assertNotNull($response->body); - $this->assertNull($response->error); - } - - public function testGetQiniu() - { - $response = Client::get('upload.qiniu.com'); - $this->assertEquals(405, $response->statusCode); - $this->assertNotNull($response->body); - $this->assertNotNull($response->xReqId()); - $this->assertNotNull($response->xLog()); - $this->assertNotNull($response->error); - } - - public function testDelete() - { - $response = Client::delete('uc.qbox.me/bucketTagging', array()); - $this->assertEquals($response->statusCode, 401); - $this->assertNotNull($response->body); - $this->assertNotNull($response->error); - } - - public function testDeleteQiniu() - { - $response = Client::delete('uc.qbox.me/bucketTagging', array()); - $this->assertEquals(401, $response->statusCode); - $this->assertNotNull($response->body); - $this->assertNotNull($response->xReqId()); - $this->assertNotNull($response->xLog()); - $this->assertNotNull($response->error); - } - - public function testPost() - { - $response = Client::post('qiniu.com', null); - $this->assertEquals($response->statusCode, 200); - $this->assertNotNull($response->body); - $this->assertNull($response->error); - } - - public function testPostQiniu() - { - $response = Client::post('upload.qiniu.com', null); - $this->assertEquals($response->statusCode, 400); - $this->assertNotNull($response->body); - $this->assertNotNull($response->xReqId()); - $this->assertNotNull($response->xLog()); - $this->assertNotNull($response->error); - } - - public function testPut() - { - $response = Client::PUT('uc.qbox.me/bucketTagging', null); - $this->assertEquals($response->statusCode, 401); - $this->assertNotNull($response->body); - $this->assertNotNull($response->error); - } - - public function testPutQiniu() - { - $response = Client::put('uc.qbox.me/bucketTagging', null); - $this->assertEquals(401, $response->statusCode); - $this->assertNotNull($response->body); - $this->assertNotNull($response->xReqId()); - $this->assertNotNull($response->xLog()); - $this->assertNotNull($response->error); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ImageUrlBuilderTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ImageUrlBuilderTest.php deleted file mode 100755 index fca87b6f..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ImageUrlBuilderTest.php +++ /dev/null @@ -1,261 +0,0 @@ - - */ -class ImageUrlBuilderTest extends \PHPUnit_Framework_TestCase -{ - /** - * 缩略图测试 - * - * @test - * @return void - * @author Sherlock Ren - */ - public function testThumbutl() - { - $imageUrlBuilder = new \Qiniu\Processing\ImageUrlBuilder(); - $url = 'http://78re52.com1.z0.glb.clouddn.com/resource/gogopher.jpg'; - $url2 = $url . '?watermark/1/gravity/SouthEast/dx/0/dy/0/image/' - . 'aHR0cDovL2Fkcy1jZG4uY2h1Y2h1amllLmNvbS9Ga1R6bnpIY2RLdmRBUFc5cHZZZ3pTc21UY0tB'; - // 异常测试 - $this->assertEquals($url, $imageUrlBuilder->thumbnail($url, 1, 0, 0)); - $this->assertEquals($url, \Qiniu\thumbnail($url, 1, 0, 0)); - - // 简单缩略测试 - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/ignore-error/1/', - $imageUrlBuilder->thumbnail($url, 1, 200, 200) - ); - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/ignore-error/1/', - \Qiniu\thumbnail($url, 1, 200, 200) - ); - - // 输出格式测试 - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/format/png/ignore-error/1/', - $imageUrlBuilder->thumbnail($url, 1, 200, 200, 'png') - ); - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/format/png/ignore-error/1/', - \Qiniu\thumbnail($url, 1, 200, 200, 'png') - ); - - // 渐进显示测试 - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/format/png/interlace/1/ignore-error/1/', - $imageUrlBuilder->thumbnail($url, 1, 200, 200, 'png', 1) - ); - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/format/png/ignore-error/1/', - \Qiniu\thumbnail($url, 1, 200, 200, 'png', 2) - ); - - // 图片质量测试 - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/format/png/interlace/1/q/80/ignore-error/1/', - $imageUrlBuilder->thumbnail($url, 1, 200, 200, 'png', 1, 80) - ); - $this->assertEquals( - $url . '?imageView2/1/w/200/h/200/format/png/interlace/1/ignore-error/1/', - \Qiniu\thumbnail($url, 1, 200, 200, 'png', 1, 101) - ); - - // 多参数测试 - $this->assertEquals( - $url2 . '|imageView2/1/w/200/h/200/ignore-error/1/', - $imageUrlBuilder->thumbnail($url2, 1, 200, 200) - ); - $this->assertEquals( - $url2 . '|imageView2/1/w/200/h/200/ignore-error/1/', - \Qiniu\thumbnail($url2, 1, 200, 200) - ); - } - - /** - * 图片水印测试 - * - * @test - * @param void - * @return void - * @author Sherlock Ren - */ - public function waterImgTest() - { - $imageUrlBuilder = new \Qiniu\Processing\ImageUrlBuilder(); - $url = 'http://78re52.com1.z0.glb.clouddn.com/resource/gogopher.jpg'; - $url2 = $url . '?imageView2/1/w/200/h/200/format/png/ignore-error/1/'; - $image = 'http://developer.qiniu.com/resource/logo-2.jpg'; - - // 水印简单测试 - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - $imageUrlBuilder->waterImg($url, $image) - ); - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/gravity/SouthEast/', - $imageUrlBuilder->waterImg($url, $image, 101) - ); - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==/', - $imageUrlBuilder->waterImg($url, $image, 101, 'sdfsd') - ); - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - \Qiniu\waterImg($url, $image) - ); - - // 横轴边距测试 - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/dx/10/', - $imageUrlBuilder->waterImg($url, $image, 100, 'SouthEast', 10) - ); - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - \Qiniu\waterImg($url, $image, 100, 'SouthEast', 'sad') - ); - - // 纵轴边距测试 - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/dx/10/dy/10/', - $imageUrlBuilder->waterImg($url, $image, 100, 'SouthEast', 10, 10) - ); - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - \Qiniu\waterImg($url, $image, 100, 'SouthEast', 'sad', 'asdf') - ); - - // 自适应原图的短边比例测试 - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/dx/10/dy/10/ws/0.5/', - $imageUrlBuilder->waterImg($url, $image, 100, 'SouthEast', 10, 10, 0.5) - ); - $this->assertEquals( - $url . '?watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - \Qiniu\waterImg($url, $image, 100, 'SouthEast', 'sad', 'asdf', 2) - ); - - // 多参数测试 - $this->assertEquals( - $url2 . '|watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - $imageUrlBuilder->waterImg($url2, $image) - ); - $this->assertEquals( - $url2 . '|watermark/1/image/aHR0cDovL2RldmVsb3Blci5xaW5pdS5jb20vcmVzb3VyY2UvbG9nby0yLmpwZw==' - . '/dissolve/100/gravity/SouthEast/', - \Qiniu\waterImg($url2, $image) - ); - } - - /** - * 文字水印测试 - * - * @test - * @param void - * @return void - * @author Sherlock Ren - */ - public function waterTextTest() - { - $imageUrlBuilder = new \Qiniu\Processing\ImageUrlBuilder(); - $url = 'http://78re52.com1.z0.glb.clouddn.com/resource/gogopher.jpg'; - $url2 = $url . '?imageView2/1/w/200/h/200/format/png/ignore-error/1/'; - $text = '测试一下'; - $font = '微软雅黑'; - $fontColor = '#FF0000'; - - // 水印简单测试 - $this->assertEquals($url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/' - . 'fontsize/500/dissolve/100/gravity/SouthEast/', $imageUrlBuilder->waterText($url, $text, $font, 500)); - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/' - . 'dissolve/100/gravity/SouthEast/', - \Qiniu\waterText($url, $text, $font, 'sdf') - ); - - // 字体颜色测试 - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fontsize/500/fill/' - . 'I0ZGMDAwMA==/dissolve/100/gravity/SouthEast/', - $imageUrlBuilder->waterText($url, $text, $font, 500, $fontColor) - ); - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fill/I0ZGMDAwMA==' - . '/dissolve/100/gravity/SouthEast/', - \Qiniu\waterText($url, $text, $font, 'sdf', $fontColor) - ); - - // 透明度测试 - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fontsize/500/fill/I0ZGMDAwMA==' - . '/dissolve/80/gravity/SouthEast/', - $imageUrlBuilder->waterText($url, $text, $font, 500, $fontColor, 80) - ); - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fill/I0ZGMDAwMA==' - . '/gravity/SouthEast/', - \Qiniu\waterText($url, $text, $font, 'sdf', $fontColor, 101) - ); - - // 水印位置测试 - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fontsize/500/fill/I0ZGMDAwMA==' - . '/dissolve/80/gravity/East/', - $imageUrlBuilder->waterText($url, $text, $font, 500, $fontColor, 80, 'East') - ); - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fill/I0ZGMDAwMA==/', - \Qiniu\waterText($url, $text, $font, 'sdf', $fontColor, 101, 'sdfsdf') - ); - - // 横轴距离测试 - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fontsize/500/fill/I0ZGMDAwMA==' - . '/dissolve/80/gravity/East/dx/10/', - $imageUrlBuilder->waterText($url, $text, $font, 500, $fontColor, 80, 'East', 10) - ); - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fill/I0ZGMDAwMA==/', - \Qiniu\waterText($url, $text, $font, 'sdf', $fontColor, 101, 'sdfsdf', 'sdfs') - ); - - // 纵轴距离测试 - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fontsize/500/fill/I0ZGMDAwMA==' - . '/dissolve/80/gravity/East/dx/10/dy/10/', - $imageUrlBuilder->waterText($url, $text, $font, 500, $fontColor, 80, 'East', 10, 10) - ); - $this->assertEquals( - $url . '?watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/fill/I0ZGMDAwMA==/', - \Qiniu\waterText($url, $text, $font, 'sdf', $fontColor, 101, 'sdfsdf', 'sdfs', 'ssdf') - ); - // 多参数测试 - $this->assertEquals( - $url2 . '|watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/' - . 'fontsize/500/dissolve/100/gravity/SouthEast/', - $imageUrlBuilder->waterText($url2, $text, $font, 500) - ); - $this->assertEquals( - $url2 . '|watermark/2/text/5rWL6K-V5LiA5LiL/font/5b6u6L2v6ZuF6buR/' - . 'fontsize/500/dissolve/100/gravity/SouthEast/', - \Qiniu\waterText($url2, $text, $font, 500) - ); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/PfopTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/PfopTest.php deleted file mode 100755 index d03b3f6e..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/PfopTest.php +++ /dev/null @@ -1,66 +0,0 @@ -execute($bucket, $key, $fops); - $this->assertNull($error); - list($status, $error) = $pfop->status($id); - $this->assertNotNull($status); - $this->assertNull($error); - } - - - public function testPfops() - { - global $testAuth; - $bucket = 'testres'; - $key = 'sintel_trailer.mp4'; - $fops = array( - 'avthumb/m3u8/segtime/10/vcodec/libx264/s/320x240', - 'vframe/jpg/offset/7/w/480/h/360', - ); - $pfop = new PersistentFop($testAuth, null); - - list($id, $error) = $pfop->execute($bucket, $key, $fops); - $this->assertNull($error); - - list($status, $error) = $pfop->status($id); - $this->assertNotNull($status); - $this->assertNull($error); - } - - public function testMkzip() - { - global $testAuth; - $bucket = 'phpsdk'; - $key = 'php-logo.png'; - $pfop = new PersistentFop($testAuth, null); - - $url1 = 'http://phpsdk.qiniudn.com/php-logo.png'; - $url2 = 'http://phpsdk.qiniudn.com/php-sdk.html'; - $zipKey = 'test.zip'; - - $fops = 'mkzip/2/url/' . \Qiniu\base64_urlSafeEncode($url1); - $fops .= '/url/' . \Qiniu\base64_urlSafeEncode($url2); - $fops .= '|saveas/' . \Qiniu\base64_urlSafeEncode("$bucket:$zipKey"); - - list($id, $error) = $pfop->execute($bucket, $key, $fops); - $this->assertNull($error); - - list($status, $error) = $pfop->status($id); - $this->assertNotNull($status); - $this->assertNull($error); - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ResumeUpTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ResumeUpTest.php deleted file mode 100755 index 543f208b..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ResumeUpTest.php +++ /dev/null @@ -1,121 +0,0 @@ -bucketName = $bucketName; - - global $testAuth; - $this->auth = $testAuth; - } - - public function test4ML() - { - $key = 'resumePutFile4ML'; - $upManager = new UploadManager(); - $token = $this->auth->uploadToken($this->bucketName, $key); - $tempFile = qiniuTempFile(4 * 1024 * 1024 + 10); - $resumeFile = tempnam(sys_get_temp_dir(), 'resume_file'); - $this->assertNotFalse($resumeFile); - list($ret, $error) = $upManager->putFile( - $token, - $key, - $tempFile, - null, - 'application/octet-stream', - false, - $resumeFile - ); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - unlink($resumeFile); - unlink($tempFile); - } - - public function test4ML2() - { - $key = 'resumePutFile4ML'; - $zone = new Zone(array('upload.fake.qiniu.com'), array('upload.qiniup.com')); - $cfg = new Config($zone); - $upManager = new UploadManager($cfg); - $token = $this->auth->uploadToken($this->bucketName, $key); - $tempFile = qiniuTempFile(4 * 1024 * 1024 + 10); - $resumeFile = tempnam(sys_get_temp_dir(), 'resume_file'); - $this->assertNotFalse($resumeFile); - list($ret, $error) = $upManager->putFile( - $token, - $key, - $tempFile, - null, - 'application/octet-stream', - false, - $resumeFile - ); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - unlink($resumeFile); - unlink($tempFile); - } - - // public function test8M() - // { - // $key = 'resumePutFile8M'; - // $upManager = new UploadManager(); - // $token = $this->auth->uploadToken($this->bucketName, $key); - // $tempFile = qiniuTempFile(8*1024*1024+10); - // list($ret, $error) = $upManager->putFile($token, $key, $tempFile); - // $this->assertNull($error); - // $this->assertNotNull($ret['hash']); - // unlink($tempFile); - // } - - public function testResumeUploadV2() - { - $key = 'resumePutFile4ML'; - $zone = new Zone(array('up.qiniup.com')); - $cfg = new Config($zone); - $upManager = new UploadManager($cfg); - $token = $this->auth->uploadToken($this->bucketName, $key); - $testFileSize = array( - config::BLOCK_SIZE / 2, - config::BLOCK_SIZE, - config::BLOCK_SIZE + 10, - config::BLOCK_SIZE * 2, - config::BLOCK_SIZE * 2.5 - ); - $partSize = 5 * 1024 * 1024; - foreach ($testFileSize as $item) { - $tempFile = qiniuTempFile($item); - $resumeFile = tempnam(sys_get_temp_dir(), 'resume_file'); - $this->assertNotFalse($resumeFile); - list($ret, $error) = $upManager->putFile( - $token, - $key, - $tempFile, - null, - 'application/octet-stream', - false, - $resumeFile, - 'v2', - $partSize - ); - $this->assertNull($error); - $this->assertNotNull($ret['hash']); - unlink($resumeFile); - unlink($tempFile); - } - } -} diff --git a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ZoneTest.php b/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ZoneTest.php deleted file mode 100755 index cc5cce50..00000000 --- a/vendor/qiniu/php-sdk/tests/Qiniu/Tests/ZoneTest.php +++ /dev/null @@ -1,125 +0,0 @@ -bucketName = $bucketName; - - global $bucketNameBC; - $this->bucketNameBC = $bucketNameBC; - - global $bucketNameNA; - $this->bucketNameNA = $bucketNameNA; - - global $bucketNameFS; - $this->bucketNameFS = $bucketNameFS; - - global $bucketNameAS; - $this->bucketNameAS = $bucketNameAS; - - global $accessKey; - $this->ak = $accessKey; - - $this->zone = new Zone(); - $this->zoneHttps = new Zone('https'); - } - - public function testUpHosts() - { - list($ret, $err) = Zone::queryZone($this->ak, 'fakebucket'); - $this->assertNull($ret); - $this->assertNotNull($err); - - $zone = Zone::queryZone($this->ak, $this->bucketName); - $this->assertContains('upload.qiniup.com', $zone->cdnUpHosts); - - $zone = Zone::queryZone($this->ak, $this->bucketNameBC); - $this->assertContains('upload-z1.qiniup.com', $zone->cdnUpHosts); - - $zone = Zone::queryZone($this->ak, $this->bucketNameFS); - $this->assertContains('upload-z2.qiniup.com', $zone->cdnUpHosts); - - $zone = Zone::queryZone($this->ak, $this->bucketNameNA); - $this->assertContains('upload-na0.qiniup.com', $zone->cdnUpHosts); - - $zone = Zone::queryZone($this->ak, $this->bucketNameAS); - $this->assertContains('upload-as0.qiniup.com', $zone->cdnUpHosts); - } - - public function testIoHosts() - { - $zone = Zone::queryZone($this->ak, $this->bucketName); - $this->assertEquals($zone->iovipHost, 'iovip.qbox.me'); - - $zone = Zone::queryZone($this->ak, $this->bucketNameBC); - $this->assertEquals($zone->iovipHost, 'iovip-z1.qbox.me'); - - $zone = Zone::queryZone($this->ak, $this->bucketNameFS); - $this->assertEquals($zone->iovipHost, 'iovip-z2.qbox.me'); - - $zone = Zone::queryZone($this->ak, $this->bucketNameNA); - $this->assertEquals($zone->iovipHost, 'iovip-na0.qbox.me'); - - $zone = Zone::queryZone($this->ak, $this->bucketNameAS); - $this->assertEquals($zone->iovipHost, 'iovip-as0.qbox.me'); - } - - public function testZonez0() - { - $zone = Zone::zonez0(); - $this->assertContains('upload.qiniup.com', $zone->cdnUpHosts); - } - - public function testZonez1() - { - $zone = Zone::zonez1(); - $this->assertContains('upload-z1.qiniup.com', $zone->cdnUpHosts); - } - - public function testZonez2() - { - $zone = Zone::zonez2(); - $this->assertContains('upload-z2.qiniup.com', $zone->cdnUpHosts); - } - - public function testZoneNa0() - { - $zone = Zone::zoneNa0(); - $this->assertContains('upload-na0.qiniup.com', $zone->cdnUpHosts); - } - - public function testZoneAs0() - { - $zone = Zone::zoneAs0(); - $this->assertContains('upload-as0.qiniup.com', $zone->cdnUpHosts); - } - - public function testQvmZonez0() - { - $zone = Zone::qvmZonez0(); - $this->assertContains('free-qvm-z0-xs.qiniup.com', $zone->srcUpHosts); - } - - public function testQvmZonez1() - { - $zone = Zone::qvmZonez1(); - $this->assertContains('free-qvm-z1-zz.qiniup.com', $zone->srcUpHosts); - } -} diff --git a/vendor/qiniu/php-sdk/tests/bootstrap.php b/vendor/qiniu/php-sdk/tests/bootstrap.php deleted file mode 100755 index a3831e75..00000000 --- a/vendor/qiniu/php-sdk/tests/bootstrap.php +++ /dev/null @@ -1,52 +0,0 @@ - 0) { - fseek($file, $size - 1); - fwrite($file, ' '); - } - fclose($file); - return $fileName; -} \ No newline at end of file diff --git a/vendor/ralouphie/getallheaders/LICENSE b/vendor/ralouphie/getallheaders/LICENSE deleted file mode 100644 index be5540c2..00000000 --- a/vendor/ralouphie/getallheaders/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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 deleted file mode 100644 index 9430d76b..00000000 --- a/vendor/ralouphie/getallheaders/README.md +++ /dev/null @@ -1,27 +0,0 @@ -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 deleted file mode 100644 index de8ce62e..00000000 --- a/vendor/ralouphie/getallheaders/composer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "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 deleted file mode 100644 index c7285a5b..00000000 --- a/vendor/ralouphie/getallheaders/src/getallheaders.php +++ /dev/null @@ -1,46 +0,0 @@ - '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/polyfill-intl-idn/Idn.php b/vendor/symfony/polyfill-intl-idn/Idn.php deleted file mode 100644 index fee3026d..00000000 --- a/vendor/symfony/polyfill-intl-idn/Idn.php +++ /dev/null @@ -1,925 +0,0 @@ - and Trevor Rowbotham - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Intl\Idn; - -use Exception; -use Normalizer; -use Symfony\Polyfill\Intl\Idn\Resources\unidata\DisallowedRanges; -use Symfony\Polyfill\Intl\Idn\Resources\unidata\Regex; - -/** - * @see https://www.unicode.org/reports/tr46/ - * - * @internal - */ -final class Idn -{ - public const ERROR_EMPTY_LABEL = 1; - public const ERROR_LABEL_TOO_LONG = 2; - public const ERROR_DOMAIN_NAME_TOO_LONG = 4; - public const ERROR_LEADING_HYPHEN = 8; - public const ERROR_TRAILING_HYPHEN = 0x10; - public const ERROR_HYPHEN_3_4 = 0x20; - public const ERROR_LEADING_COMBINING_MARK = 0x40; - public const ERROR_DISALLOWED = 0x80; - public const ERROR_PUNYCODE = 0x100; - public const ERROR_LABEL_HAS_DOT = 0x200; - public const ERROR_INVALID_ACE_LABEL = 0x400; - public const ERROR_BIDI = 0x800; - public const ERROR_CONTEXTJ = 0x1000; - public const ERROR_CONTEXTO_PUNCTUATION = 0x2000; - public const ERROR_CONTEXTO_DIGITS = 0x4000; - - public const INTL_IDNA_VARIANT_2003 = 0; - public const INTL_IDNA_VARIANT_UTS46 = 1; - - public const IDNA_DEFAULT = 0; - public const IDNA_ALLOW_UNASSIGNED = 1; - public const IDNA_USE_STD3_RULES = 2; - public const IDNA_CHECK_BIDI = 4; - public const IDNA_CHECK_CONTEXTJ = 8; - public const IDNA_NONTRANSITIONAL_TO_ASCII = 16; - public const IDNA_NONTRANSITIONAL_TO_UNICODE = 32; - - public const MAX_DOMAIN_SIZE = 253; - public const MAX_LABEL_SIZE = 63; - - public const BASE = 36; - public const TMIN = 1; - public const TMAX = 26; - public const SKEW = 38; - public const DAMP = 700; - public const INITIAL_BIAS = 72; - public const INITIAL_N = 128; - public const DELIMITER = '-'; - public const MAX_INT = 2147483647; - - /** - * Contains the numeric value of a basic code point (for use in representing integers) in the - * range 0 to BASE-1, or -1 if b is does not represent a value. - * - * @var array - */ - private static $basicToDigit = [ - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, -1, -1, -1, -1, -1, -1, - - -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, - - -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, - - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - ]; - - /** - * @var array - */ - private static $virama; - - /** - * @var array - */ - private static $mapped; - - /** - * @var array - */ - private static $ignored; - - /** - * @var array - */ - private static $deviation; - - /** - * @var array - */ - private static $disallowed; - - /** - * @var array - */ - private static $disallowed_STD3_mapped; - - /** - * @var array - */ - private static $disallowed_STD3_valid; - - /** - * @var bool - */ - private static $mappingTableLoaded = false; - - /** - * @see https://www.unicode.org/reports/tr46/#ToASCII - * - * @param string $domainName - * @param int $options - * @param int $variant - * @param array $idna_info - * - * @return string|false - */ - public static function idn_to_ascii($domainName, $options = self::IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = []) - { - if (\PHP_VERSION_ID >= 70200 && self::INTL_IDNA_VARIANT_2003 === $variant) { - @trigger_error('idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated', \E_USER_DEPRECATED); - } - - $options = [ - 'CheckHyphens' => true, - 'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & self::IDNA_CHECK_BIDI), - 'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & self::IDNA_CHECK_CONTEXTJ), - 'UseSTD3ASCIIRules' => 0 !== ($options & self::IDNA_USE_STD3_RULES), - 'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & self::IDNA_NONTRANSITIONAL_TO_ASCII), - 'VerifyDnsLength' => true, - ]; - $info = new Info(); - $labels = self::process((string) $domainName, $options, $info); - - foreach ($labels as $i => $label) { - // Only convert labels to punycode that contain non-ASCII code points - if (1 === preg_match('/[^\x00-\x7F]/', $label)) { - try { - $label = 'xn--'.self::punycodeEncode($label); - } catch (Exception $e) { - $info->errors |= self::ERROR_PUNYCODE; - } - - $labels[$i] = $label; - } - } - - if ($options['VerifyDnsLength']) { - self::validateDomainAndLabelLength($labels, $info); - } - - $idna_info = [ - 'result' => implode('.', $labels), - 'isTransitionalDifferent' => $info->transitionalDifferent, - 'errors' => $info->errors, - ]; - - return 0 === $info->errors ? $idna_info['result'] : false; - } - - /** - * @see https://www.unicode.org/reports/tr46/#ToUnicode - * - * @param string $domainName - * @param int $options - * @param int $variant - * @param array $idna_info - * - * @return string|false - */ - public static function idn_to_utf8($domainName, $options = self::IDNA_DEFAULT, $variant = self::INTL_IDNA_VARIANT_UTS46, &$idna_info = []) - { - if (\PHP_VERSION_ID >= 70200 && self::INTL_IDNA_VARIANT_2003 === $variant) { - @trigger_error('idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated', \E_USER_DEPRECATED); - } - - $info = new Info(); - $labels = self::process((string) $domainName, [ - 'CheckHyphens' => true, - 'CheckBidi' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 !== ($options & self::IDNA_CHECK_BIDI), - 'CheckJoiners' => self::INTL_IDNA_VARIANT_UTS46 === $variant && 0 !== ($options & self::IDNA_CHECK_CONTEXTJ), - 'UseSTD3ASCIIRules' => 0 !== ($options & self::IDNA_USE_STD3_RULES), - 'Transitional_Processing' => self::INTL_IDNA_VARIANT_2003 === $variant || 0 === ($options & self::IDNA_NONTRANSITIONAL_TO_UNICODE), - ], $info); - $idna_info = [ - 'result' => implode('.', $labels), - 'isTransitionalDifferent' => $info->transitionalDifferent, - 'errors' => $info->errors, - ]; - - return 0 === $info->errors ? $idna_info['result'] : false; - } - - /** - * @param string $label - * - * @return bool - */ - private static function isValidContextJ(array $codePoints, $label) - { - if (!isset(self::$virama)) { - self::$virama = require __DIR__.\DIRECTORY_SEPARATOR.'Resources'.\DIRECTORY_SEPARATOR.'unidata'.\DIRECTORY_SEPARATOR.'virama.php'; - } - - $offset = 0; - - foreach ($codePoints as $i => $codePoint) { - if (0x200C !== $codePoint && 0x200D !== $codePoint) { - continue; - } - - if (!isset($codePoints[$i - 1])) { - return false; - } - - // If Canonical_Combining_Class(Before(cp)) .eq. Virama Then True; - if (isset(self::$virama[$codePoints[$i - 1]])) { - continue; - } - - // If RegExpMatch((Joining_Type:{L,D})(Joining_Type:T)*\u200C(Joining_Type:T)*(Joining_Type:{R,D})) Then - // True; - // Generated RegExp = ([Joining_Type:{L,D}][Joining_Type:T]*\u200C[Joining_Type:T]*)[Joining_Type:{R,D}] - if (0x200C === $codePoint && 1 === preg_match(Regex::ZWNJ, $label, $matches, \PREG_OFFSET_CAPTURE, $offset)) { - $offset += \strlen($matches[1][0]); - - continue; - } - - return false; - } - - return true; - } - - /** - * @see https://www.unicode.org/reports/tr46/#ProcessingStepMap - * - * @param string $input - * @param array $options - * - * @return string - */ - private static function mapCodePoints($input, array $options, Info $info) - { - $str = ''; - $useSTD3ASCIIRules = $options['UseSTD3ASCIIRules']; - $transitional = $options['Transitional_Processing']; - - foreach (self::utf8Decode($input) as $codePoint) { - $data = self::lookupCodePointStatus($codePoint, $useSTD3ASCIIRules); - - switch ($data['status']) { - case 'disallowed': - $info->errors |= self::ERROR_DISALLOWED; - - // no break. - - case 'valid': - $str .= mb_chr($codePoint, 'utf-8'); - - break; - - case 'ignored': - // Do nothing. - break; - - case 'mapped': - $str .= $data['mapping']; - - break; - - case 'deviation': - $info->transitionalDifferent = true; - $str .= ($transitional ? $data['mapping'] : mb_chr($codePoint, 'utf-8')); - - break; - } - } - - return $str; - } - - /** - * @see https://www.unicode.org/reports/tr46/#Processing - * - * @param string $domain - * @param array $options - * - * @return array - */ - private static function process($domain, array $options, Info $info) - { - // If VerifyDnsLength is not set, we are doing ToUnicode otherwise we are doing ToASCII and - // we need to respect the VerifyDnsLength option. - $checkForEmptyLabels = !isset($options['VerifyDnsLength']) || $options['VerifyDnsLength']; - - if ($checkForEmptyLabels && '' === $domain) { - $info->errors |= self::ERROR_EMPTY_LABEL; - - return [$domain]; - } - - // Step 1. Map each code point in the domain name string - $domain = self::mapCodePoints($domain, $options, $info); - - // Step 2. Normalize the domain name string to Unicode Normalization Form C. - if (!Normalizer::isNormalized($domain, Normalizer::FORM_C)) { - $domain = Normalizer::normalize($domain, Normalizer::FORM_C); - } - - // Step 3. Break the string into labels at U+002E (.) FULL STOP. - $labels = explode('.', $domain); - $lastLabelIndex = \count($labels) - 1; - - // Step 4. Convert and validate each label in the domain name string. - foreach ($labels as $i => $label) { - $validationOptions = $options; - - if ('xn--' === substr($label, 0, 4)) { - try { - $label = self::punycodeDecode(substr($label, 4)); - } catch (Exception $e) { - $info->errors |= self::ERROR_PUNYCODE; - - continue; - } - - $validationOptions['Transitional_Processing'] = false; - $labels[$i] = $label; - } - - self::validateLabel($label, $info, $validationOptions, $i > 0 && $i === $lastLabelIndex); - } - - if ($info->bidiDomain && !$info->validBidiDomain) { - $info->errors |= self::ERROR_BIDI; - } - - // Any input domain name string that does not record an error has been successfully - // processed according to this specification. Conversely, if an input domain_name string - // causes an error, then the processing of the input domain_name string fails. Determining - // what to do with error input is up to the caller, and not in the scope of this document. - return $labels; - } - - /** - * @see https://tools.ietf.org/html/rfc5893#section-2 - * - * @param string $label - */ - private static function validateBidiLabel($label, Info $info) - { - if (1 === preg_match(Regex::RTL_LABEL, $label)) { - $info->bidiDomain = true; - - // Step 1. The first character must be a character with Bidi property L, R, or AL. - // If it has the R or AL property, it is an RTL label - if (1 !== preg_match(Regex::BIDI_STEP_1_RTL, $label)) { - $info->validBidiDomain = false; - - return; - } - - // Step 2. In an RTL label, only characters with the Bidi properties R, AL, AN, EN, ES, - // CS, ET, ON, BN, or NSM are allowed. - if (1 === preg_match(Regex::BIDI_STEP_2, $label)) { - $info->validBidiDomain = false; - - return; - } - - // Step 3. In an RTL label, the end of the label must be a character with Bidi property - // R, AL, EN, or AN, followed by zero or more characters with Bidi property NSM. - if (1 !== preg_match(Regex::BIDI_STEP_3, $label)) { - $info->validBidiDomain = false; - - return; - } - - // Step 4. In an RTL label, if an EN is present, no AN may be present, and vice versa. - if (1 === preg_match(Regex::BIDI_STEP_4_AN, $label) && 1 === preg_match(Regex::BIDI_STEP_4_EN, $label)) { - $info->validBidiDomain = false; - - return; - } - - return; - } - - // We are a LTR label - // Step 1. The first character must be a character with Bidi property L, R, or AL. - // If it has the L property, it is an LTR label. - if (1 !== preg_match(Regex::BIDI_STEP_1_LTR, $label)) { - $info->validBidiDomain = false; - - return; - } - - // Step 5. In an LTR label, only characters with the Bidi properties L, EN, - // ES, CS, ET, ON, BN, or NSM are allowed. - if (1 === preg_match(Regex::BIDI_STEP_5, $label)) { - $info->validBidiDomain = false; - - return; - } - - // Step 6.In an LTR label, the end of the label must be a character with Bidi property L or - // EN, followed by zero or more characters with Bidi property NSM. - if (1 !== preg_match(Regex::BIDI_STEP_6, $label)) { - $info->validBidiDomain = false; - - return; - } - } - - /** - * @param array $labels - */ - private static function validateDomainAndLabelLength(array $labels, Info $info) - { - $maxDomainSize = self::MAX_DOMAIN_SIZE; - $length = \count($labels); - - // Number of "." delimiters. - $domainLength = $length - 1; - - // If the last label is empty and it is not the first label, then it is the root label. - // Increase the max size by 1, making it 254, to account for the root label's "." - // delimiter. This also means we don't need to check the last label's length for being too - // long. - if ($length > 1 && '' === $labels[$length - 1]) { - ++$maxDomainSize; - --$length; - } - - for ($i = 0; $i < $length; ++$i) { - $bytes = \strlen($labels[$i]); - $domainLength += $bytes; - - if ($bytes > self::MAX_LABEL_SIZE) { - $info->errors |= self::ERROR_LABEL_TOO_LONG; - } - } - - if ($domainLength > $maxDomainSize) { - $info->errors |= self::ERROR_DOMAIN_NAME_TOO_LONG; - } - } - - /** - * @see https://www.unicode.org/reports/tr46/#Validity_Criteria - * - * @param string $label - * @param array $options - * @param bool $canBeEmpty - */ - private static function validateLabel($label, Info $info, array $options, $canBeEmpty) - { - if ('' === $label) { - if (!$canBeEmpty && (!isset($options['VerifyDnsLength']) || $options['VerifyDnsLength'])) { - $info->errors |= self::ERROR_EMPTY_LABEL; - } - - return; - } - - // Step 1. The label must be in Unicode Normalization Form C. - if (!Normalizer::isNormalized($label, Normalizer::FORM_C)) { - $info->errors |= self::ERROR_INVALID_ACE_LABEL; - } - - $codePoints = self::utf8Decode($label); - - if ($options['CheckHyphens']) { - // Step 2. If CheckHyphens, the label must not contain a U+002D HYPHEN-MINUS character - // in both the thrid and fourth positions. - if (isset($codePoints[2], $codePoints[3]) && 0x002D === $codePoints[2] && 0x002D === $codePoints[3]) { - $info->errors |= self::ERROR_HYPHEN_3_4; - } - - // Step 3. If CheckHyphens, the label must neither begin nor end with a U+002D - // HYPHEN-MINUS character. - if ('-' === substr($label, 0, 1)) { - $info->errors |= self::ERROR_LEADING_HYPHEN; - } - - if ('-' === substr($label, -1, 1)) { - $info->errors |= self::ERROR_TRAILING_HYPHEN; - } - } - - // Step 4. The label must not contain a U+002E (.) FULL STOP. - if (false !== strpos($label, '.')) { - $info->errors |= self::ERROR_LABEL_HAS_DOT; - } - - // Step 5. The label must not begin with a combining mark, that is: General_Category=Mark. - if (1 === preg_match(Regex::COMBINING_MARK, $label)) { - $info->errors |= self::ERROR_LEADING_COMBINING_MARK; - } - - // Step 6. Each code point in the label must only have certain status values according to - // Section 5, IDNA Mapping Table: - $transitional = $options['Transitional_Processing']; - $useSTD3ASCIIRules = $options['UseSTD3ASCIIRules']; - - foreach ($codePoints as $codePoint) { - $data = self::lookupCodePointStatus($codePoint, $useSTD3ASCIIRules); - $status = $data['status']; - - if ('valid' === $status || (!$transitional && 'deviation' === $status)) { - continue; - } - - $info->errors |= self::ERROR_DISALLOWED; - - break; - } - - // Step 7. If CheckJoiners, the label must satisify the ContextJ rules from Appendix A, in - // The Unicode Code Points and Internationalized Domain Names for Applications (IDNA) - // [IDNA2008]. - if ($options['CheckJoiners'] && !self::isValidContextJ($codePoints, $label)) { - $info->errors |= self::ERROR_CONTEXTJ; - } - - // Step 8. If CheckBidi, and if the domain name is a Bidi domain name, then the label must - // satisfy all six of the numbered conditions in [IDNA2008] RFC 5893, Section 2. - if ($options['CheckBidi'] && (!$info->bidiDomain || $info->validBidiDomain)) { - self::validateBidiLabel($label, $info); - } - } - - /** - * @see https://tools.ietf.org/html/rfc3492#section-6.2 - * - * @param string $input - * - * @return string - */ - private static function punycodeDecode($input) - { - $n = self::INITIAL_N; - $out = 0; - $i = 0; - $bias = self::INITIAL_BIAS; - $lastDelimIndex = strrpos($input, self::DELIMITER); - $b = false === $lastDelimIndex ? 0 : $lastDelimIndex; - $inputLength = \strlen($input); - $output = []; - $bytes = array_map('ord', str_split($input)); - - for ($j = 0; $j < $b; ++$j) { - if ($bytes[$j] > 0x7F) { - throw new Exception('Invalid input'); - } - - $output[$out++] = $input[$j]; - } - - if ($b > 0) { - ++$b; - } - - for ($in = $b; $in < $inputLength; ++$out) { - $oldi = $i; - $w = 1; - - for ($k = self::BASE; /* no condition */; $k += self::BASE) { - if ($in >= $inputLength) { - throw new Exception('Invalid input'); - } - - $digit = self::$basicToDigit[$bytes[$in++] & 0xFF]; - - if ($digit < 0) { - throw new Exception('Invalid input'); - } - - if ($digit > intdiv(self::MAX_INT - $i, $w)) { - throw new Exception('Integer overflow'); - } - - $i += $digit * $w; - - if ($k <= $bias) { - $t = self::TMIN; - } elseif ($k >= $bias + self::TMAX) { - $t = self::TMAX; - } else { - $t = $k - $bias; - } - - if ($digit < $t) { - break; - } - - $baseMinusT = self::BASE - $t; - - if ($w > intdiv(self::MAX_INT, $baseMinusT)) { - throw new Exception('Integer overflow'); - } - - $w *= $baseMinusT; - } - - $outPlusOne = $out + 1; - $bias = self::adaptBias($i - $oldi, $outPlusOne, 0 === $oldi); - - if (intdiv($i, $outPlusOne) > self::MAX_INT - $n) { - throw new Exception('Integer overflow'); - } - - $n += intdiv($i, $outPlusOne); - $i %= $outPlusOne; - array_splice($output, $i++, 0, [mb_chr($n, 'utf-8')]); - } - - return implode('', $output); - } - - /** - * @see https://tools.ietf.org/html/rfc3492#section-6.3 - * - * @param string $input - * - * @return string - */ - private static function punycodeEncode($input) - { - $n = self::INITIAL_N; - $delta = 0; - $out = 0; - $bias = self::INITIAL_BIAS; - $inputLength = 0; - $output = ''; - $iter = self::utf8Decode($input); - - foreach ($iter as $codePoint) { - ++$inputLength; - - if ($codePoint < 0x80) { - $output .= \chr($codePoint); - ++$out; - } - } - - $h = $out; - $b = $out; - - if ($b > 0) { - $output .= self::DELIMITER; - ++$out; - } - - while ($h < $inputLength) { - $m = self::MAX_INT; - - foreach ($iter as $codePoint) { - if ($codePoint >= $n && $codePoint < $m) { - $m = $codePoint; - } - } - - if ($m - $n > intdiv(self::MAX_INT - $delta, $h + 1)) { - throw new Exception('Integer overflow'); - } - - $delta += ($m - $n) * ($h + 1); - $n = $m; - - foreach ($iter as $codePoint) { - if ($codePoint < $n && 0 === ++$delta) { - throw new Exception('Integer overflow'); - } - - if ($codePoint === $n) { - $q = $delta; - - for ($k = self::BASE; /* no condition */; $k += self::BASE) { - if ($k <= $bias) { - $t = self::TMIN; - } elseif ($k >= $bias + self::TMAX) { - $t = self::TMAX; - } else { - $t = $k - $bias; - } - - if ($q < $t) { - break; - } - - $qMinusT = $q - $t; - $baseMinusT = self::BASE - $t; - $output .= self::encodeDigit($t + ($qMinusT) % ($baseMinusT), false); - ++$out; - $q = intdiv($qMinusT, $baseMinusT); - } - - $output .= self::encodeDigit($q, false); - ++$out; - $bias = self::adaptBias($delta, $h + 1, $h === $b); - $delta = 0; - ++$h; - } - } - - ++$delta; - ++$n; - } - - return $output; - } - - /** - * @see https://tools.ietf.org/html/rfc3492#section-6.1 - * - * @param int $delta - * @param int $numPoints - * @param bool $firstTime - * - * @return int - */ - private static function adaptBias($delta, $numPoints, $firstTime) - { - // xxx >> 1 is a faster way of doing intdiv(xxx, 2) - $delta = $firstTime ? intdiv($delta, self::DAMP) : $delta >> 1; - $delta += intdiv($delta, $numPoints); - $k = 0; - - while ($delta > ((self::BASE - self::TMIN) * self::TMAX) >> 1) { - $delta = intdiv($delta, self::BASE - self::TMIN); - $k += self::BASE; - } - - return $k + intdiv((self::BASE - self::TMIN + 1) * $delta, $delta + self::SKEW); - } - - /** - * @param int $d - * @param bool $flag - * - * @return string - */ - private static function encodeDigit($d, $flag) - { - return \chr($d + 22 + 75 * ($d < 26 ? 1 : 0) - (($flag ? 1 : 0) << 5)); - } - - /** - * Takes a UTF-8 encoded string and converts it into a series of integer code points. Any - * invalid byte sequences will be replaced by a U+FFFD replacement code point. - * - * @see https://encoding.spec.whatwg.org/#utf-8-decoder - * - * @param string $input - * - * @return array - */ - private static function utf8Decode($input) - { - $bytesSeen = 0; - $bytesNeeded = 0; - $lowerBoundary = 0x80; - $upperBoundary = 0xBF; - $codePoint = 0; - $codePoints = []; - $length = \strlen($input); - - for ($i = 0; $i < $length; ++$i) { - $byte = \ord($input[$i]); - - if (0 === $bytesNeeded) { - if ($byte >= 0x00 && $byte <= 0x7F) { - $codePoints[] = $byte; - - continue; - } - - if ($byte >= 0xC2 && $byte <= 0xDF) { - $bytesNeeded = 1; - $codePoint = $byte & 0x1F; - } elseif ($byte >= 0xE0 && $byte <= 0xEF) { - if (0xE0 === $byte) { - $lowerBoundary = 0xA0; - } elseif (0xED === $byte) { - $upperBoundary = 0x9F; - } - - $bytesNeeded = 2; - $codePoint = $byte & 0xF; - } elseif ($byte >= 0xF0 && $byte <= 0xF4) { - if (0xF0 === $byte) { - $lowerBoundary = 0x90; - } elseif (0xF4 === $byte) { - $upperBoundary = 0x8F; - } - - $bytesNeeded = 3; - $codePoint = $byte & 0x7; - } else { - $codePoints[] = 0xFFFD; - } - - continue; - } - - if ($byte < $lowerBoundary || $byte > $upperBoundary) { - $codePoint = 0; - $bytesNeeded = 0; - $bytesSeen = 0; - $lowerBoundary = 0x80; - $upperBoundary = 0xBF; - --$i; - $codePoints[] = 0xFFFD; - - continue; - } - - $lowerBoundary = 0x80; - $upperBoundary = 0xBF; - $codePoint = ($codePoint << 6) | ($byte & 0x3F); - - if (++$bytesSeen !== $bytesNeeded) { - continue; - } - - $codePoints[] = $codePoint; - $codePoint = 0; - $bytesNeeded = 0; - $bytesSeen = 0; - } - - // String unexpectedly ended, so append a U+FFFD code point. - if (0 !== $bytesNeeded) { - $codePoints[] = 0xFFFD; - } - - return $codePoints; - } - - /** - * @param int $codePoint - * @param bool $useSTD3ASCIIRules - * - * @return array{status: string, mapping?: string} - */ - private static function lookupCodePointStatus($codePoint, $useSTD3ASCIIRules) - { - if (!self::$mappingTableLoaded) { - self::$mappingTableLoaded = true; - self::$mapped = require __DIR__.'/Resources/unidata/mapped.php'; - self::$ignored = require __DIR__.'/Resources/unidata/ignored.php'; - self::$deviation = require __DIR__.'/Resources/unidata/deviation.php'; - self::$disallowed = require __DIR__.'/Resources/unidata/disallowed.php'; - self::$disallowed_STD3_mapped = require __DIR__.'/Resources/unidata/disallowed_STD3_mapped.php'; - self::$disallowed_STD3_valid = require __DIR__.'/Resources/unidata/disallowed_STD3_valid.php'; - } - - if (isset(self::$mapped[$codePoint])) { - return ['status' => 'mapped', 'mapping' => self::$mapped[$codePoint]]; - } - - if (isset(self::$ignored[$codePoint])) { - return ['status' => 'ignored']; - } - - if (isset(self::$deviation[$codePoint])) { - return ['status' => 'deviation', 'mapping' => self::$deviation[$codePoint]]; - } - - if (isset(self::$disallowed[$codePoint]) || DisallowedRanges::inRange($codePoint)) { - return ['status' => 'disallowed']; - } - - $isDisallowedMapped = isset(self::$disallowed_STD3_mapped[$codePoint]); - - if ($isDisallowedMapped || isset(self::$disallowed_STD3_valid[$codePoint])) { - $status = 'disallowed'; - - if (!$useSTD3ASCIIRules) { - $status = $isDisallowedMapped ? 'mapped' : 'valid'; - } - - if ($isDisallowedMapped) { - return ['status' => $status, 'mapping' => self::$disallowed_STD3_mapped[$codePoint]]; - } - - return ['status' => $status]; - } - - return ['status' => 'valid']; - } -} diff --git a/vendor/symfony/polyfill-intl-idn/Info.php b/vendor/symfony/polyfill-intl-idn/Info.php deleted file mode 100644 index 25c3582b..00000000 --- a/vendor/symfony/polyfill-intl-idn/Info.php +++ /dev/null @@ -1,23 +0,0 @@ - and Trevor Rowbotham - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Intl\Idn; - -/** - * @internal - */ -class Info -{ - public $bidiDomain = false; - public $errors = 0; - public $validBidiDomain = true; - public $transitionalDifferent = false; -} diff --git a/vendor/symfony/polyfill-intl-idn/LICENSE b/vendor/symfony/polyfill-intl-idn/LICENSE deleted file mode 100644 index 03c5e257..00000000 --- a/vendor/symfony/polyfill-intl-idn/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2018-2019 Fabien Potencier and Trevor Rowbotham - -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/polyfill-intl-idn/README.md b/vendor/symfony/polyfill-intl-idn/README.md deleted file mode 100644 index 2e75f2e5..00000000 --- a/vendor/symfony/polyfill-intl-idn/README.md +++ /dev/null @@ -1,12 +0,0 @@ -Symfony Polyfill / Intl: Idn -============================ - -This component provides [`idn_to_ascii`](https://php.net/idn-to-ascii) and [`idn_to_utf8`](https://php.net/idn-to-utf8) functions to users who run php versions without the [Intl](https://php.net/intl) extension. - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php deleted file mode 100644 index 5bb70e48..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php +++ /dev/null @@ -1,375 +0,0 @@ -= 128 && $codePoint <= 159) { - return true; - } - - if ($codePoint >= 2155 && $codePoint <= 2207) { - return true; - } - - if ($codePoint >= 3676 && $codePoint <= 3712) { - return true; - } - - if ($codePoint >= 3808 && $codePoint <= 3839) { - return true; - } - - if ($codePoint >= 4059 && $codePoint <= 4095) { - return true; - } - - if ($codePoint >= 4256 && $codePoint <= 4293) { - return true; - } - - if ($codePoint >= 6849 && $codePoint <= 6911) { - return true; - } - - if ($codePoint >= 11859 && $codePoint <= 11903) { - return true; - } - - if ($codePoint >= 42955 && $codePoint <= 42996) { - return true; - } - - if ($codePoint >= 55296 && $codePoint <= 57343) { - return true; - } - - if ($codePoint >= 57344 && $codePoint <= 63743) { - return true; - } - - if ($codePoint >= 64218 && $codePoint <= 64255) { - return true; - } - - if ($codePoint >= 64976 && $codePoint <= 65007) { - return true; - } - - if ($codePoint >= 65630 && $codePoint <= 65663) { - return true; - } - - if ($codePoint >= 65953 && $codePoint <= 65999) { - return true; - } - - if ($codePoint >= 66046 && $codePoint <= 66175) { - return true; - } - - if ($codePoint >= 66518 && $codePoint <= 66559) { - return true; - } - - if ($codePoint >= 66928 && $codePoint <= 67071) { - return true; - } - - if ($codePoint >= 67432 && $codePoint <= 67583) { - return true; - } - - if ($codePoint >= 67760 && $codePoint <= 67807) { - return true; - } - - if ($codePoint >= 67904 && $codePoint <= 67967) { - return true; - } - - if ($codePoint >= 68256 && $codePoint <= 68287) { - return true; - } - - if ($codePoint >= 68528 && $codePoint <= 68607) { - return true; - } - - if ($codePoint >= 68681 && $codePoint <= 68735) { - return true; - } - - if ($codePoint >= 68922 && $codePoint <= 69215) { - return true; - } - - if ($codePoint >= 69298 && $codePoint <= 69375) { - return true; - } - - if ($codePoint >= 69466 && $codePoint <= 69551) { - return true; - } - - if ($codePoint >= 70207 && $codePoint <= 70271) { - return true; - } - - if ($codePoint >= 70517 && $codePoint <= 70655) { - return true; - } - - if ($codePoint >= 70874 && $codePoint <= 71039) { - return true; - } - - if ($codePoint >= 71134 && $codePoint <= 71167) { - return true; - } - - if ($codePoint >= 71370 && $codePoint <= 71423) { - return true; - } - - if ($codePoint >= 71488 && $codePoint <= 71679) { - return true; - } - - if ($codePoint >= 71740 && $codePoint <= 71839) { - return true; - } - - if ($codePoint >= 72026 && $codePoint <= 72095) { - return true; - } - - if ($codePoint >= 72441 && $codePoint <= 72703) { - return true; - } - - if ($codePoint >= 72887 && $codePoint <= 72959) { - return true; - } - - if ($codePoint >= 73130 && $codePoint <= 73439) { - return true; - } - - if ($codePoint >= 73465 && $codePoint <= 73647) { - return true; - } - - if ($codePoint >= 74650 && $codePoint <= 74751) { - return true; - } - - if ($codePoint >= 75076 && $codePoint <= 77823) { - return true; - } - - if ($codePoint >= 78905 && $codePoint <= 82943) { - return true; - } - - if ($codePoint >= 83527 && $codePoint <= 92159) { - return true; - } - - if ($codePoint >= 92784 && $codePoint <= 92879) { - return true; - } - - if ($codePoint >= 93072 && $codePoint <= 93759) { - return true; - } - - if ($codePoint >= 93851 && $codePoint <= 93951) { - return true; - } - - if ($codePoint >= 94112 && $codePoint <= 94175) { - return true; - } - - if ($codePoint >= 101590 && $codePoint <= 101631) { - return true; - } - - if ($codePoint >= 101641 && $codePoint <= 110591) { - return true; - } - - if ($codePoint >= 110879 && $codePoint <= 110927) { - return true; - } - - if ($codePoint >= 111356 && $codePoint <= 113663) { - return true; - } - - if ($codePoint >= 113828 && $codePoint <= 118783) { - return true; - } - - if ($codePoint >= 119366 && $codePoint <= 119519) { - return true; - } - - if ($codePoint >= 119673 && $codePoint <= 119807) { - return true; - } - - if ($codePoint >= 121520 && $codePoint <= 122879) { - return true; - } - - if ($codePoint >= 122923 && $codePoint <= 123135) { - return true; - } - - if ($codePoint >= 123216 && $codePoint <= 123583) { - return true; - } - - if ($codePoint >= 123648 && $codePoint <= 124927) { - return true; - } - - if ($codePoint >= 125143 && $codePoint <= 125183) { - return true; - } - - if ($codePoint >= 125280 && $codePoint <= 126064) { - return true; - } - - if ($codePoint >= 126133 && $codePoint <= 126208) { - return true; - } - - if ($codePoint >= 126270 && $codePoint <= 126463) { - return true; - } - - if ($codePoint >= 126652 && $codePoint <= 126703) { - return true; - } - - if ($codePoint >= 126706 && $codePoint <= 126975) { - return true; - } - - if ($codePoint >= 127406 && $codePoint <= 127461) { - return true; - } - - if ($codePoint >= 127590 && $codePoint <= 127743) { - return true; - } - - if ($codePoint >= 129202 && $codePoint <= 129279) { - return true; - } - - if ($codePoint >= 129751 && $codePoint <= 129791) { - return true; - } - - if ($codePoint >= 129995 && $codePoint <= 130031) { - return true; - } - - if ($codePoint >= 130042 && $codePoint <= 131069) { - return true; - } - - if ($codePoint >= 173790 && $codePoint <= 173823) { - return true; - } - - if ($codePoint >= 191457 && $codePoint <= 194559) { - return true; - } - - if ($codePoint >= 195102 && $codePoint <= 196605) { - return true; - } - - if ($codePoint >= 201547 && $codePoint <= 262141) { - return true; - } - - if ($codePoint >= 262144 && $codePoint <= 327677) { - return true; - } - - if ($codePoint >= 327680 && $codePoint <= 393213) { - return true; - } - - if ($codePoint >= 393216 && $codePoint <= 458749) { - return true; - } - - if ($codePoint >= 458752 && $codePoint <= 524285) { - return true; - } - - if ($codePoint >= 524288 && $codePoint <= 589821) { - return true; - } - - if ($codePoint >= 589824 && $codePoint <= 655357) { - return true; - } - - if ($codePoint >= 655360 && $codePoint <= 720893) { - return true; - } - - if ($codePoint >= 720896 && $codePoint <= 786429) { - return true; - } - - if ($codePoint >= 786432 && $codePoint <= 851965) { - return true; - } - - if ($codePoint >= 851968 && $codePoint <= 917501) { - return true; - } - - if ($codePoint >= 917536 && $codePoint <= 917631) { - return true; - } - - if ($codePoint >= 917632 && $codePoint <= 917759) { - return true; - } - - if ($codePoint >= 918000 && $codePoint <= 983037) { - return true; - } - - if ($codePoint >= 983040 && $codePoint <= 1048573) { - return true; - } - - if ($codePoint >= 1048576 && $codePoint <= 1114109) { - return true; - } - - return false; - } -} diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/Regex.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/Regex.php deleted file mode 100644 index 5c1c51dd..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/Regex.php +++ /dev/null @@ -1,24 +0,0 @@ - 'ss', - 962 => 'σ', - 8204 => '', - 8205 => '', -); diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed.php deleted file mode 100644 index 25a5f564..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed.php +++ /dev/null @@ -1,2638 +0,0 @@ - true, - 889 => true, - 896 => true, - 897 => true, - 898 => true, - 899 => true, - 907 => true, - 909 => true, - 930 => true, - 1216 => true, - 1328 => true, - 1367 => true, - 1368 => true, - 1419 => true, - 1420 => true, - 1424 => true, - 1480 => true, - 1481 => true, - 1482 => true, - 1483 => true, - 1484 => true, - 1485 => true, - 1486 => true, - 1487 => true, - 1515 => true, - 1516 => true, - 1517 => true, - 1518 => true, - 1525 => true, - 1526 => true, - 1527 => true, - 1528 => true, - 1529 => true, - 1530 => true, - 1531 => true, - 1532 => true, - 1533 => true, - 1534 => true, - 1535 => true, - 1536 => true, - 1537 => true, - 1538 => true, - 1539 => true, - 1540 => true, - 1541 => true, - 1564 => true, - 1565 => true, - 1757 => true, - 1806 => true, - 1807 => true, - 1867 => true, - 1868 => true, - 1970 => true, - 1971 => true, - 1972 => true, - 1973 => true, - 1974 => true, - 1975 => true, - 1976 => true, - 1977 => true, - 1978 => true, - 1979 => true, - 1980 => true, - 1981 => true, - 1982 => true, - 1983 => true, - 2043 => true, - 2044 => true, - 2094 => true, - 2095 => true, - 2111 => true, - 2140 => true, - 2141 => true, - 2143 => true, - 2229 => true, - 2248 => true, - 2249 => true, - 2250 => true, - 2251 => true, - 2252 => true, - 2253 => true, - 2254 => true, - 2255 => true, - 2256 => true, - 2257 => true, - 2258 => true, - 2274 => true, - 2436 => true, - 2445 => true, - 2446 => true, - 2449 => true, - 2450 => true, - 2473 => true, - 2481 => true, - 2483 => true, - 2484 => true, - 2485 => true, - 2490 => true, - 2491 => true, - 2501 => true, - 2502 => true, - 2505 => true, - 2506 => true, - 2511 => true, - 2512 => true, - 2513 => true, - 2514 => true, - 2515 => true, - 2516 => true, - 2517 => true, - 2518 => true, - 2520 => true, - 2521 => true, - 2522 => true, - 2523 => true, - 2526 => true, - 2532 => true, - 2533 => true, - 2559 => true, - 2560 => true, - 2564 => true, - 2571 => true, - 2572 => true, - 2573 => true, - 2574 => true, - 2577 => true, - 2578 => true, - 2601 => true, - 2609 => true, - 2612 => true, - 2615 => true, - 2618 => true, - 2619 => true, - 2621 => true, - 2627 => true, - 2628 => true, - 2629 => true, - 2630 => true, - 2633 => true, - 2634 => true, - 2638 => true, - 2639 => true, - 2640 => true, - 2642 => true, - 2643 => true, - 2644 => true, - 2645 => true, - 2646 => true, - 2647 => true, - 2648 => true, - 2653 => true, - 2655 => true, - 2656 => true, - 2657 => true, - 2658 => true, - 2659 => true, - 2660 => true, - 2661 => true, - 2679 => true, - 2680 => true, - 2681 => true, - 2682 => true, - 2683 => true, - 2684 => true, - 2685 => true, - 2686 => true, - 2687 => true, - 2688 => true, - 2692 => true, - 2702 => true, - 2706 => true, - 2729 => true, - 2737 => true, - 2740 => true, - 2746 => true, - 2747 => true, - 2758 => true, - 2762 => true, - 2766 => true, - 2767 => true, - 2769 => true, - 2770 => true, - 2771 => true, - 2772 => true, - 2773 => true, - 2774 => true, - 2775 => true, - 2776 => true, - 2777 => true, - 2778 => true, - 2779 => true, - 2780 => true, - 2781 => true, - 2782 => true, - 2783 => true, - 2788 => true, - 2789 => true, - 2802 => true, - 2803 => true, - 2804 => true, - 2805 => true, - 2806 => true, - 2807 => true, - 2808 => true, - 2816 => true, - 2820 => true, - 2829 => true, - 2830 => true, - 2833 => true, - 2834 => true, - 2857 => true, - 2865 => true, - 2868 => true, - 2874 => true, - 2875 => true, - 2885 => true, - 2886 => true, - 2889 => true, - 2890 => true, - 2894 => true, - 2895 => true, - 2896 => true, - 2897 => true, - 2898 => true, - 2899 => true, - 2900 => true, - 2904 => true, - 2905 => true, - 2906 => true, - 2907 => true, - 2910 => true, - 2916 => true, - 2917 => true, - 2936 => true, - 2937 => true, - 2938 => true, - 2939 => true, - 2940 => true, - 2941 => true, - 2942 => true, - 2943 => true, - 2944 => true, - 2945 => true, - 2948 => true, - 2955 => true, - 2956 => true, - 2957 => true, - 2961 => true, - 2966 => true, - 2967 => true, - 2968 => true, - 2971 => true, - 2973 => true, - 2976 => true, - 2977 => true, - 2978 => true, - 2981 => true, - 2982 => true, - 2983 => true, - 2987 => true, - 2988 => true, - 2989 => true, - 3002 => true, - 3003 => true, - 3004 => true, - 3005 => true, - 3011 => true, - 3012 => true, - 3013 => true, - 3017 => true, - 3022 => true, - 3023 => true, - 3025 => true, - 3026 => true, - 3027 => true, - 3028 => true, - 3029 => true, - 3030 => true, - 3032 => true, - 3033 => true, - 3034 => true, - 3035 => true, - 3036 => true, - 3037 => true, - 3038 => true, - 3039 => true, - 3040 => true, - 3041 => true, - 3042 => true, - 3043 => true, - 3044 => true, - 3045 => true, - 3067 => true, - 3068 => true, - 3069 => true, - 3070 => true, - 3071 => true, - 3085 => true, - 3089 => true, - 3113 => true, - 3130 => true, - 3131 => true, - 3132 => true, - 3141 => true, - 3145 => true, - 3150 => true, - 3151 => true, - 3152 => true, - 3153 => true, - 3154 => true, - 3155 => true, - 3156 => true, - 3159 => true, - 3163 => true, - 3164 => true, - 3165 => true, - 3166 => true, - 3167 => true, - 3172 => true, - 3173 => true, - 3184 => true, - 3185 => true, - 3186 => true, - 3187 => true, - 3188 => true, - 3189 => true, - 3190 => true, - 3213 => true, - 3217 => true, - 3241 => true, - 3252 => true, - 3258 => true, - 3259 => true, - 3269 => true, - 3273 => true, - 3278 => true, - 3279 => true, - 3280 => true, - 3281 => true, - 3282 => true, - 3283 => true, - 3284 => true, - 3287 => true, - 3288 => true, - 3289 => true, - 3290 => true, - 3291 => true, - 3292 => true, - 3293 => true, - 3295 => true, - 3300 => true, - 3301 => true, - 3312 => true, - 3315 => true, - 3316 => true, - 3317 => true, - 3318 => true, - 3319 => true, - 3320 => true, - 3321 => true, - 3322 => true, - 3323 => true, - 3324 => true, - 3325 => true, - 3326 => true, - 3327 => true, - 3341 => true, - 3345 => true, - 3397 => true, - 3401 => true, - 3408 => true, - 3409 => true, - 3410 => true, - 3411 => true, - 3428 => true, - 3429 => true, - 3456 => true, - 3460 => true, - 3479 => true, - 3480 => true, - 3481 => true, - 3506 => true, - 3516 => true, - 3518 => true, - 3519 => true, - 3527 => true, - 3528 => true, - 3529 => true, - 3531 => true, - 3532 => true, - 3533 => true, - 3534 => true, - 3541 => true, - 3543 => true, - 3552 => true, - 3553 => true, - 3554 => true, - 3555 => true, - 3556 => true, - 3557 => true, - 3568 => true, - 3569 => true, - 3573 => true, - 3574 => true, - 3575 => true, - 3576 => true, - 3577 => true, - 3578 => true, - 3579 => true, - 3580 => true, - 3581 => true, - 3582 => true, - 3583 => true, - 3584 => true, - 3643 => true, - 3644 => true, - 3645 => true, - 3646 => true, - 3715 => true, - 3717 => true, - 3723 => true, - 3748 => true, - 3750 => true, - 3774 => true, - 3775 => true, - 3781 => true, - 3783 => true, - 3790 => true, - 3791 => true, - 3802 => true, - 3803 => true, - 3912 => true, - 3949 => true, - 3950 => true, - 3951 => true, - 3952 => true, - 3992 => true, - 4029 => true, - 4045 => true, - 4294 => true, - 4296 => true, - 4297 => true, - 4298 => true, - 4299 => true, - 4300 => true, - 4302 => true, - 4303 => true, - 4447 => true, - 4448 => true, - 4681 => true, - 4686 => true, - 4687 => true, - 4695 => true, - 4697 => true, - 4702 => true, - 4703 => true, - 4745 => true, - 4750 => true, - 4751 => true, - 4785 => true, - 4790 => true, - 4791 => true, - 4799 => true, - 4801 => true, - 4806 => true, - 4807 => true, - 4823 => true, - 4881 => true, - 4886 => true, - 4887 => true, - 4955 => true, - 4956 => true, - 4989 => true, - 4990 => true, - 4991 => true, - 5018 => true, - 5019 => true, - 5020 => true, - 5021 => true, - 5022 => true, - 5023 => true, - 5110 => true, - 5111 => true, - 5118 => true, - 5119 => true, - 5760 => true, - 5789 => true, - 5790 => true, - 5791 => true, - 5881 => true, - 5882 => true, - 5883 => true, - 5884 => true, - 5885 => true, - 5886 => true, - 5887 => true, - 5901 => true, - 5909 => true, - 5910 => true, - 5911 => true, - 5912 => true, - 5913 => true, - 5914 => true, - 5915 => true, - 5916 => true, - 5917 => true, - 5918 => true, - 5919 => true, - 5943 => true, - 5944 => true, - 5945 => true, - 5946 => true, - 5947 => true, - 5948 => true, - 5949 => true, - 5950 => true, - 5951 => true, - 5972 => true, - 5973 => true, - 5974 => true, - 5975 => true, - 5976 => true, - 5977 => true, - 5978 => true, - 5979 => true, - 5980 => true, - 5981 => true, - 5982 => true, - 5983 => true, - 5997 => true, - 6001 => true, - 6004 => true, - 6005 => true, - 6006 => true, - 6007 => true, - 6008 => true, - 6009 => true, - 6010 => true, - 6011 => true, - 6012 => true, - 6013 => true, - 6014 => true, - 6015 => true, - 6068 => true, - 6069 => true, - 6110 => true, - 6111 => true, - 6122 => true, - 6123 => true, - 6124 => true, - 6125 => true, - 6126 => true, - 6127 => true, - 6138 => true, - 6139 => true, - 6140 => true, - 6141 => true, - 6142 => true, - 6143 => true, - 6150 => true, - 6158 => true, - 6159 => true, - 6170 => true, - 6171 => true, - 6172 => true, - 6173 => true, - 6174 => true, - 6175 => true, - 6265 => true, - 6266 => true, - 6267 => true, - 6268 => true, - 6269 => true, - 6270 => true, - 6271 => true, - 6315 => true, - 6316 => true, - 6317 => true, - 6318 => true, - 6319 => true, - 6390 => true, - 6391 => true, - 6392 => true, - 6393 => true, - 6394 => true, - 6395 => true, - 6396 => true, - 6397 => true, - 6398 => true, - 6399 => true, - 6431 => true, - 6444 => true, - 6445 => true, - 6446 => true, - 6447 => true, - 6460 => true, - 6461 => true, - 6462 => true, - 6463 => true, - 6465 => true, - 6466 => true, - 6467 => true, - 6510 => true, - 6511 => true, - 6517 => true, - 6518 => true, - 6519 => true, - 6520 => true, - 6521 => true, - 6522 => true, - 6523 => true, - 6524 => true, - 6525 => true, - 6526 => true, - 6527 => true, - 6572 => true, - 6573 => true, - 6574 => true, - 6575 => true, - 6602 => true, - 6603 => true, - 6604 => true, - 6605 => true, - 6606 => true, - 6607 => true, - 6619 => true, - 6620 => true, - 6621 => true, - 6684 => true, - 6685 => true, - 6751 => true, - 6781 => true, - 6782 => true, - 6794 => true, - 6795 => true, - 6796 => true, - 6797 => true, - 6798 => true, - 6799 => true, - 6810 => true, - 6811 => true, - 6812 => true, - 6813 => true, - 6814 => true, - 6815 => true, - 6830 => true, - 6831 => true, - 6988 => true, - 6989 => true, - 6990 => true, - 6991 => true, - 7037 => true, - 7038 => true, - 7039 => true, - 7156 => true, - 7157 => true, - 7158 => true, - 7159 => true, - 7160 => true, - 7161 => true, - 7162 => true, - 7163 => true, - 7224 => true, - 7225 => true, - 7226 => true, - 7242 => true, - 7243 => true, - 7244 => true, - 7305 => true, - 7306 => true, - 7307 => true, - 7308 => true, - 7309 => true, - 7310 => true, - 7311 => true, - 7355 => true, - 7356 => true, - 7368 => true, - 7369 => true, - 7370 => true, - 7371 => true, - 7372 => true, - 7373 => true, - 7374 => true, - 7375 => true, - 7419 => true, - 7420 => true, - 7421 => true, - 7422 => true, - 7423 => true, - 7674 => true, - 7958 => true, - 7959 => true, - 7966 => true, - 7967 => true, - 8006 => true, - 8007 => true, - 8014 => true, - 8015 => true, - 8024 => true, - 8026 => true, - 8028 => true, - 8030 => true, - 8062 => true, - 8063 => true, - 8117 => true, - 8133 => true, - 8148 => true, - 8149 => true, - 8156 => true, - 8176 => true, - 8177 => true, - 8181 => true, - 8191 => true, - 8206 => true, - 8207 => true, - 8228 => true, - 8229 => true, - 8230 => true, - 8232 => true, - 8233 => true, - 8234 => true, - 8235 => true, - 8236 => true, - 8237 => true, - 8238 => true, - 8289 => true, - 8290 => true, - 8291 => true, - 8293 => true, - 8294 => true, - 8295 => true, - 8296 => true, - 8297 => true, - 8298 => true, - 8299 => true, - 8300 => true, - 8301 => true, - 8302 => true, - 8303 => true, - 8306 => true, - 8307 => true, - 8335 => true, - 8349 => true, - 8350 => true, - 8351 => true, - 8384 => true, - 8385 => true, - 8386 => true, - 8387 => true, - 8388 => true, - 8389 => true, - 8390 => true, - 8391 => true, - 8392 => true, - 8393 => true, - 8394 => true, - 8395 => true, - 8396 => true, - 8397 => true, - 8398 => true, - 8399 => true, - 8433 => true, - 8434 => true, - 8435 => true, - 8436 => true, - 8437 => true, - 8438 => true, - 8439 => true, - 8440 => true, - 8441 => true, - 8442 => true, - 8443 => true, - 8444 => true, - 8445 => true, - 8446 => true, - 8447 => true, - 8498 => true, - 8579 => true, - 8588 => true, - 8589 => true, - 8590 => true, - 8591 => true, - 9255 => true, - 9256 => true, - 9257 => true, - 9258 => true, - 9259 => true, - 9260 => true, - 9261 => true, - 9262 => true, - 9263 => true, - 9264 => true, - 9265 => true, - 9266 => true, - 9267 => true, - 9268 => true, - 9269 => true, - 9270 => true, - 9271 => true, - 9272 => true, - 9273 => true, - 9274 => true, - 9275 => true, - 9276 => true, - 9277 => true, - 9278 => true, - 9279 => true, - 9291 => true, - 9292 => true, - 9293 => true, - 9294 => true, - 9295 => true, - 9296 => true, - 9297 => true, - 9298 => true, - 9299 => true, - 9300 => true, - 9301 => true, - 9302 => true, - 9303 => true, - 9304 => true, - 9305 => true, - 9306 => true, - 9307 => true, - 9308 => true, - 9309 => true, - 9310 => true, - 9311 => true, - 9352 => true, - 9353 => true, - 9354 => true, - 9355 => true, - 9356 => true, - 9357 => true, - 9358 => true, - 9359 => true, - 9360 => true, - 9361 => true, - 9362 => true, - 9363 => true, - 9364 => true, - 9365 => true, - 9366 => true, - 9367 => true, - 9368 => true, - 9369 => true, - 9370 => true, - 9371 => true, - 11124 => true, - 11125 => true, - 11158 => true, - 11311 => true, - 11359 => true, - 11508 => true, - 11509 => true, - 11510 => true, - 11511 => true, - 11512 => true, - 11558 => true, - 11560 => true, - 11561 => true, - 11562 => true, - 11563 => true, - 11564 => true, - 11566 => true, - 11567 => true, - 11624 => true, - 11625 => true, - 11626 => true, - 11627 => true, - 11628 => true, - 11629 => true, - 11630 => true, - 11633 => true, - 11634 => true, - 11635 => true, - 11636 => true, - 11637 => true, - 11638 => true, - 11639 => true, - 11640 => true, - 11641 => true, - 11642 => true, - 11643 => true, - 11644 => true, - 11645 => true, - 11646 => true, - 11671 => true, - 11672 => true, - 11673 => true, - 11674 => true, - 11675 => true, - 11676 => true, - 11677 => true, - 11678 => true, - 11679 => true, - 11687 => true, - 11695 => true, - 11703 => true, - 11711 => true, - 11719 => true, - 11727 => true, - 11735 => true, - 11743 => true, - 11930 => true, - 12020 => true, - 12021 => true, - 12022 => true, - 12023 => true, - 12024 => true, - 12025 => true, - 12026 => true, - 12027 => true, - 12028 => true, - 12029 => true, - 12030 => true, - 12031 => true, - 12246 => true, - 12247 => true, - 12248 => true, - 12249 => true, - 12250 => true, - 12251 => true, - 12252 => true, - 12253 => true, - 12254 => true, - 12255 => true, - 12256 => true, - 12257 => true, - 12258 => true, - 12259 => true, - 12260 => true, - 12261 => true, - 12262 => true, - 12263 => true, - 12264 => true, - 12265 => true, - 12266 => true, - 12267 => true, - 12268 => true, - 12269 => true, - 12270 => true, - 12271 => true, - 12272 => true, - 12273 => true, - 12274 => true, - 12275 => true, - 12276 => true, - 12277 => true, - 12278 => true, - 12279 => true, - 12280 => true, - 12281 => true, - 12282 => true, - 12283 => true, - 12284 => true, - 12285 => true, - 12286 => true, - 12287 => true, - 12352 => true, - 12439 => true, - 12440 => true, - 12544 => true, - 12545 => true, - 12546 => true, - 12547 => true, - 12548 => true, - 12592 => true, - 12644 => true, - 12687 => true, - 12772 => true, - 12773 => true, - 12774 => true, - 12775 => true, - 12776 => true, - 12777 => true, - 12778 => true, - 12779 => true, - 12780 => true, - 12781 => true, - 12782 => true, - 12783 => true, - 12831 => true, - 13250 => true, - 13255 => true, - 13272 => true, - 40957 => true, - 40958 => true, - 40959 => true, - 42125 => true, - 42126 => true, - 42127 => true, - 42183 => true, - 42184 => true, - 42185 => true, - 42186 => true, - 42187 => true, - 42188 => true, - 42189 => true, - 42190 => true, - 42191 => true, - 42540 => true, - 42541 => true, - 42542 => true, - 42543 => true, - 42544 => true, - 42545 => true, - 42546 => true, - 42547 => true, - 42548 => true, - 42549 => true, - 42550 => true, - 42551 => true, - 42552 => true, - 42553 => true, - 42554 => true, - 42555 => true, - 42556 => true, - 42557 => true, - 42558 => true, - 42559 => true, - 42744 => true, - 42745 => true, - 42746 => true, - 42747 => true, - 42748 => true, - 42749 => true, - 42750 => true, - 42751 => true, - 42944 => true, - 42945 => true, - 43053 => true, - 43054 => true, - 43055 => true, - 43066 => true, - 43067 => true, - 43068 => true, - 43069 => true, - 43070 => true, - 43071 => true, - 43128 => true, - 43129 => true, - 43130 => true, - 43131 => true, - 43132 => true, - 43133 => true, - 43134 => true, - 43135 => true, - 43206 => true, - 43207 => true, - 43208 => true, - 43209 => true, - 43210 => true, - 43211 => true, - 43212 => true, - 43213 => true, - 43226 => true, - 43227 => true, - 43228 => true, - 43229 => true, - 43230 => true, - 43231 => true, - 43348 => true, - 43349 => true, - 43350 => true, - 43351 => true, - 43352 => true, - 43353 => true, - 43354 => true, - 43355 => true, - 43356 => true, - 43357 => true, - 43358 => true, - 43389 => true, - 43390 => true, - 43391 => true, - 43470 => true, - 43482 => true, - 43483 => true, - 43484 => true, - 43485 => true, - 43519 => true, - 43575 => true, - 43576 => true, - 43577 => true, - 43578 => true, - 43579 => true, - 43580 => true, - 43581 => true, - 43582 => true, - 43583 => true, - 43598 => true, - 43599 => true, - 43610 => true, - 43611 => true, - 43715 => true, - 43716 => true, - 43717 => true, - 43718 => true, - 43719 => true, - 43720 => true, - 43721 => true, - 43722 => true, - 43723 => true, - 43724 => true, - 43725 => true, - 43726 => true, - 43727 => true, - 43728 => true, - 43729 => true, - 43730 => true, - 43731 => true, - 43732 => true, - 43733 => true, - 43734 => true, - 43735 => true, - 43736 => true, - 43737 => true, - 43738 => true, - 43767 => true, - 43768 => true, - 43769 => true, - 43770 => true, - 43771 => true, - 43772 => true, - 43773 => true, - 43774 => true, - 43775 => true, - 43776 => true, - 43783 => true, - 43784 => true, - 43791 => true, - 43792 => true, - 43799 => true, - 43800 => true, - 43801 => true, - 43802 => true, - 43803 => true, - 43804 => true, - 43805 => true, - 43806 => true, - 43807 => true, - 43815 => true, - 43823 => true, - 43884 => true, - 43885 => true, - 43886 => true, - 43887 => true, - 44014 => true, - 44015 => true, - 44026 => true, - 44027 => true, - 44028 => true, - 44029 => true, - 44030 => true, - 44031 => true, - 55204 => true, - 55205 => true, - 55206 => true, - 55207 => true, - 55208 => true, - 55209 => true, - 55210 => true, - 55211 => true, - 55212 => true, - 55213 => true, - 55214 => true, - 55215 => true, - 55239 => true, - 55240 => true, - 55241 => true, - 55242 => true, - 55292 => true, - 55293 => true, - 55294 => true, - 55295 => true, - 64110 => true, - 64111 => true, - 64263 => true, - 64264 => true, - 64265 => true, - 64266 => true, - 64267 => true, - 64268 => true, - 64269 => true, - 64270 => true, - 64271 => true, - 64272 => true, - 64273 => true, - 64274 => true, - 64280 => true, - 64281 => true, - 64282 => true, - 64283 => true, - 64284 => true, - 64311 => true, - 64317 => true, - 64319 => true, - 64322 => true, - 64325 => true, - 64450 => true, - 64451 => true, - 64452 => true, - 64453 => true, - 64454 => true, - 64455 => true, - 64456 => true, - 64457 => true, - 64458 => true, - 64459 => true, - 64460 => true, - 64461 => true, - 64462 => true, - 64463 => true, - 64464 => true, - 64465 => true, - 64466 => true, - 64832 => true, - 64833 => true, - 64834 => true, - 64835 => true, - 64836 => true, - 64837 => true, - 64838 => true, - 64839 => true, - 64840 => true, - 64841 => true, - 64842 => true, - 64843 => true, - 64844 => true, - 64845 => true, - 64846 => true, - 64847 => true, - 64912 => true, - 64913 => true, - 64968 => true, - 64969 => true, - 64970 => true, - 64971 => true, - 64972 => true, - 64973 => true, - 64974 => true, - 64975 => true, - 65022 => true, - 65023 => true, - 65042 => true, - 65049 => true, - 65050 => true, - 65051 => true, - 65052 => true, - 65053 => true, - 65054 => true, - 65055 => true, - 65072 => true, - 65106 => true, - 65107 => true, - 65127 => true, - 65132 => true, - 65133 => true, - 65134 => true, - 65135 => true, - 65141 => true, - 65277 => true, - 65278 => true, - 65280 => true, - 65440 => true, - 65471 => true, - 65472 => true, - 65473 => true, - 65480 => true, - 65481 => true, - 65488 => true, - 65489 => true, - 65496 => true, - 65497 => true, - 65501 => true, - 65502 => true, - 65503 => true, - 65511 => true, - 65519 => true, - 65520 => true, - 65521 => true, - 65522 => true, - 65523 => true, - 65524 => true, - 65525 => true, - 65526 => true, - 65527 => true, - 65528 => true, - 65529 => true, - 65530 => true, - 65531 => true, - 65532 => true, - 65533 => true, - 65534 => true, - 65535 => true, - 65548 => true, - 65575 => true, - 65595 => true, - 65598 => true, - 65614 => true, - 65615 => true, - 65787 => true, - 65788 => true, - 65789 => true, - 65790 => true, - 65791 => true, - 65795 => true, - 65796 => true, - 65797 => true, - 65798 => true, - 65844 => true, - 65845 => true, - 65846 => true, - 65935 => true, - 65949 => true, - 65950 => true, - 65951 => true, - 66205 => true, - 66206 => true, - 66207 => true, - 66257 => true, - 66258 => true, - 66259 => true, - 66260 => true, - 66261 => true, - 66262 => true, - 66263 => true, - 66264 => true, - 66265 => true, - 66266 => true, - 66267 => true, - 66268 => true, - 66269 => true, - 66270 => true, - 66271 => true, - 66300 => true, - 66301 => true, - 66302 => true, - 66303 => true, - 66340 => true, - 66341 => true, - 66342 => true, - 66343 => true, - 66344 => true, - 66345 => true, - 66346 => true, - 66347 => true, - 66348 => true, - 66379 => true, - 66380 => true, - 66381 => true, - 66382 => true, - 66383 => true, - 66427 => true, - 66428 => true, - 66429 => true, - 66430 => true, - 66431 => true, - 66462 => true, - 66500 => true, - 66501 => true, - 66502 => true, - 66503 => true, - 66718 => true, - 66719 => true, - 66730 => true, - 66731 => true, - 66732 => true, - 66733 => true, - 66734 => true, - 66735 => true, - 66772 => true, - 66773 => true, - 66774 => true, - 66775 => true, - 66812 => true, - 66813 => true, - 66814 => true, - 66815 => true, - 66856 => true, - 66857 => true, - 66858 => true, - 66859 => true, - 66860 => true, - 66861 => true, - 66862 => true, - 66863 => true, - 66916 => true, - 66917 => true, - 66918 => true, - 66919 => true, - 66920 => true, - 66921 => true, - 66922 => true, - 66923 => true, - 66924 => true, - 66925 => true, - 66926 => true, - 67383 => true, - 67384 => true, - 67385 => true, - 67386 => true, - 67387 => true, - 67388 => true, - 67389 => true, - 67390 => true, - 67391 => true, - 67414 => true, - 67415 => true, - 67416 => true, - 67417 => true, - 67418 => true, - 67419 => true, - 67420 => true, - 67421 => true, - 67422 => true, - 67423 => true, - 67590 => true, - 67591 => true, - 67593 => true, - 67638 => true, - 67641 => true, - 67642 => true, - 67643 => true, - 67645 => true, - 67646 => true, - 67670 => true, - 67743 => true, - 67744 => true, - 67745 => true, - 67746 => true, - 67747 => true, - 67748 => true, - 67749 => true, - 67750 => true, - 67827 => true, - 67830 => true, - 67831 => true, - 67832 => true, - 67833 => true, - 67834 => true, - 67868 => true, - 67869 => true, - 67870 => true, - 67898 => true, - 67899 => true, - 67900 => true, - 67901 => true, - 67902 => true, - 68024 => true, - 68025 => true, - 68026 => true, - 68027 => true, - 68048 => true, - 68049 => true, - 68100 => true, - 68103 => true, - 68104 => true, - 68105 => true, - 68106 => true, - 68107 => true, - 68116 => true, - 68120 => true, - 68150 => true, - 68151 => true, - 68155 => true, - 68156 => true, - 68157 => true, - 68158 => true, - 68169 => true, - 68170 => true, - 68171 => true, - 68172 => true, - 68173 => true, - 68174 => true, - 68175 => true, - 68185 => true, - 68186 => true, - 68187 => true, - 68188 => true, - 68189 => true, - 68190 => true, - 68191 => true, - 68327 => true, - 68328 => true, - 68329 => true, - 68330 => true, - 68343 => true, - 68344 => true, - 68345 => true, - 68346 => true, - 68347 => true, - 68348 => true, - 68349 => true, - 68350 => true, - 68351 => true, - 68406 => true, - 68407 => true, - 68408 => true, - 68438 => true, - 68439 => true, - 68467 => true, - 68468 => true, - 68469 => true, - 68470 => true, - 68471 => true, - 68498 => true, - 68499 => true, - 68500 => true, - 68501 => true, - 68502 => true, - 68503 => true, - 68504 => true, - 68509 => true, - 68510 => true, - 68511 => true, - 68512 => true, - 68513 => true, - 68514 => true, - 68515 => true, - 68516 => true, - 68517 => true, - 68518 => true, - 68519 => true, - 68520 => true, - 68787 => true, - 68788 => true, - 68789 => true, - 68790 => true, - 68791 => true, - 68792 => true, - 68793 => true, - 68794 => true, - 68795 => true, - 68796 => true, - 68797 => true, - 68798 => true, - 68799 => true, - 68851 => true, - 68852 => true, - 68853 => true, - 68854 => true, - 68855 => true, - 68856 => true, - 68857 => true, - 68904 => true, - 68905 => true, - 68906 => true, - 68907 => true, - 68908 => true, - 68909 => true, - 68910 => true, - 68911 => true, - 69247 => true, - 69290 => true, - 69294 => true, - 69295 => true, - 69416 => true, - 69417 => true, - 69418 => true, - 69419 => true, - 69420 => true, - 69421 => true, - 69422 => true, - 69423 => true, - 69580 => true, - 69581 => true, - 69582 => true, - 69583 => true, - 69584 => true, - 69585 => true, - 69586 => true, - 69587 => true, - 69588 => true, - 69589 => true, - 69590 => true, - 69591 => true, - 69592 => true, - 69593 => true, - 69594 => true, - 69595 => true, - 69596 => true, - 69597 => true, - 69598 => true, - 69599 => true, - 69623 => true, - 69624 => true, - 69625 => true, - 69626 => true, - 69627 => true, - 69628 => true, - 69629 => true, - 69630 => true, - 69631 => true, - 69710 => true, - 69711 => true, - 69712 => true, - 69713 => true, - 69744 => true, - 69745 => true, - 69746 => true, - 69747 => true, - 69748 => true, - 69749 => true, - 69750 => true, - 69751 => true, - 69752 => true, - 69753 => true, - 69754 => true, - 69755 => true, - 69756 => true, - 69757 => true, - 69758 => true, - 69821 => true, - 69826 => true, - 69827 => true, - 69828 => true, - 69829 => true, - 69830 => true, - 69831 => true, - 69832 => true, - 69833 => true, - 69834 => true, - 69835 => true, - 69836 => true, - 69837 => true, - 69838 => true, - 69839 => true, - 69865 => true, - 69866 => true, - 69867 => true, - 69868 => true, - 69869 => true, - 69870 => true, - 69871 => true, - 69882 => true, - 69883 => true, - 69884 => true, - 69885 => true, - 69886 => true, - 69887 => true, - 69941 => true, - 69960 => true, - 69961 => true, - 69962 => true, - 69963 => true, - 69964 => true, - 69965 => true, - 69966 => true, - 69967 => true, - 70007 => true, - 70008 => true, - 70009 => true, - 70010 => true, - 70011 => true, - 70012 => true, - 70013 => true, - 70014 => true, - 70015 => true, - 70112 => true, - 70133 => true, - 70134 => true, - 70135 => true, - 70136 => true, - 70137 => true, - 70138 => true, - 70139 => true, - 70140 => true, - 70141 => true, - 70142 => true, - 70143 => true, - 70162 => true, - 70279 => true, - 70281 => true, - 70286 => true, - 70302 => true, - 70314 => true, - 70315 => true, - 70316 => true, - 70317 => true, - 70318 => true, - 70319 => true, - 70379 => true, - 70380 => true, - 70381 => true, - 70382 => true, - 70383 => true, - 70394 => true, - 70395 => true, - 70396 => true, - 70397 => true, - 70398 => true, - 70399 => true, - 70404 => true, - 70413 => true, - 70414 => true, - 70417 => true, - 70418 => true, - 70441 => true, - 70449 => true, - 70452 => true, - 70458 => true, - 70469 => true, - 70470 => true, - 70473 => true, - 70474 => true, - 70478 => true, - 70479 => true, - 70481 => true, - 70482 => true, - 70483 => true, - 70484 => true, - 70485 => true, - 70486 => true, - 70488 => true, - 70489 => true, - 70490 => true, - 70491 => true, - 70492 => true, - 70500 => true, - 70501 => true, - 70509 => true, - 70510 => true, - 70511 => true, - 70748 => true, - 70754 => true, - 70755 => true, - 70756 => true, - 70757 => true, - 70758 => true, - 70759 => true, - 70760 => true, - 70761 => true, - 70762 => true, - 70763 => true, - 70764 => true, - 70765 => true, - 70766 => true, - 70767 => true, - 70768 => true, - 70769 => true, - 70770 => true, - 70771 => true, - 70772 => true, - 70773 => true, - 70774 => true, - 70775 => true, - 70776 => true, - 70777 => true, - 70778 => true, - 70779 => true, - 70780 => true, - 70781 => true, - 70782 => true, - 70783 => true, - 70856 => true, - 70857 => true, - 70858 => true, - 70859 => true, - 70860 => true, - 70861 => true, - 70862 => true, - 70863 => true, - 71094 => true, - 71095 => true, - 71237 => true, - 71238 => true, - 71239 => true, - 71240 => true, - 71241 => true, - 71242 => true, - 71243 => true, - 71244 => true, - 71245 => true, - 71246 => true, - 71247 => true, - 71258 => true, - 71259 => true, - 71260 => true, - 71261 => true, - 71262 => true, - 71263 => true, - 71277 => true, - 71278 => true, - 71279 => true, - 71280 => true, - 71281 => true, - 71282 => true, - 71283 => true, - 71284 => true, - 71285 => true, - 71286 => true, - 71287 => true, - 71288 => true, - 71289 => true, - 71290 => true, - 71291 => true, - 71292 => true, - 71293 => true, - 71294 => true, - 71295 => true, - 71353 => true, - 71354 => true, - 71355 => true, - 71356 => true, - 71357 => true, - 71358 => true, - 71359 => true, - 71451 => true, - 71452 => true, - 71468 => true, - 71469 => true, - 71470 => true, - 71471 => true, - 71923 => true, - 71924 => true, - 71925 => true, - 71926 => true, - 71927 => true, - 71928 => true, - 71929 => true, - 71930 => true, - 71931 => true, - 71932 => true, - 71933 => true, - 71934 => true, - 71943 => true, - 71944 => true, - 71946 => true, - 71947 => true, - 71956 => true, - 71959 => true, - 71990 => true, - 71993 => true, - 71994 => true, - 72007 => true, - 72008 => true, - 72009 => true, - 72010 => true, - 72011 => true, - 72012 => true, - 72013 => true, - 72014 => true, - 72015 => true, - 72104 => true, - 72105 => true, - 72152 => true, - 72153 => true, - 72165 => true, - 72166 => true, - 72167 => true, - 72168 => true, - 72169 => true, - 72170 => true, - 72171 => true, - 72172 => true, - 72173 => true, - 72174 => true, - 72175 => true, - 72176 => true, - 72177 => true, - 72178 => true, - 72179 => true, - 72180 => true, - 72181 => true, - 72182 => true, - 72183 => true, - 72184 => true, - 72185 => true, - 72186 => true, - 72187 => true, - 72188 => true, - 72189 => true, - 72190 => true, - 72191 => true, - 72264 => true, - 72265 => true, - 72266 => true, - 72267 => true, - 72268 => true, - 72269 => true, - 72270 => true, - 72271 => true, - 72355 => true, - 72356 => true, - 72357 => true, - 72358 => true, - 72359 => true, - 72360 => true, - 72361 => true, - 72362 => true, - 72363 => true, - 72364 => true, - 72365 => true, - 72366 => true, - 72367 => true, - 72368 => true, - 72369 => true, - 72370 => true, - 72371 => true, - 72372 => true, - 72373 => true, - 72374 => true, - 72375 => true, - 72376 => true, - 72377 => true, - 72378 => true, - 72379 => true, - 72380 => true, - 72381 => true, - 72382 => true, - 72383 => true, - 72713 => true, - 72759 => true, - 72774 => true, - 72775 => true, - 72776 => true, - 72777 => true, - 72778 => true, - 72779 => true, - 72780 => true, - 72781 => true, - 72782 => true, - 72783 => true, - 72813 => true, - 72814 => true, - 72815 => true, - 72848 => true, - 72849 => true, - 72872 => true, - 72967 => true, - 72970 => true, - 73015 => true, - 73016 => true, - 73017 => true, - 73019 => true, - 73022 => true, - 73032 => true, - 73033 => true, - 73034 => true, - 73035 => true, - 73036 => true, - 73037 => true, - 73038 => true, - 73039 => true, - 73050 => true, - 73051 => true, - 73052 => true, - 73053 => true, - 73054 => true, - 73055 => true, - 73062 => true, - 73065 => true, - 73103 => true, - 73106 => true, - 73113 => true, - 73114 => true, - 73115 => true, - 73116 => true, - 73117 => true, - 73118 => true, - 73119 => true, - 73649 => true, - 73650 => true, - 73651 => true, - 73652 => true, - 73653 => true, - 73654 => true, - 73655 => true, - 73656 => true, - 73657 => true, - 73658 => true, - 73659 => true, - 73660 => true, - 73661 => true, - 73662 => true, - 73663 => true, - 73714 => true, - 73715 => true, - 73716 => true, - 73717 => true, - 73718 => true, - 73719 => true, - 73720 => true, - 73721 => true, - 73722 => true, - 73723 => true, - 73724 => true, - 73725 => true, - 73726 => true, - 74863 => true, - 74869 => true, - 74870 => true, - 74871 => true, - 74872 => true, - 74873 => true, - 74874 => true, - 74875 => true, - 74876 => true, - 74877 => true, - 74878 => true, - 74879 => true, - 78895 => true, - 78896 => true, - 78897 => true, - 78898 => true, - 78899 => true, - 78900 => true, - 78901 => true, - 78902 => true, - 78903 => true, - 78904 => true, - 92729 => true, - 92730 => true, - 92731 => true, - 92732 => true, - 92733 => true, - 92734 => true, - 92735 => true, - 92767 => true, - 92778 => true, - 92779 => true, - 92780 => true, - 92781 => true, - 92910 => true, - 92911 => true, - 92918 => true, - 92919 => true, - 92920 => true, - 92921 => true, - 92922 => true, - 92923 => true, - 92924 => true, - 92925 => true, - 92926 => true, - 92927 => true, - 92998 => true, - 92999 => true, - 93000 => true, - 93001 => true, - 93002 => true, - 93003 => true, - 93004 => true, - 93005 => true, - 93006 => true, - 93007 => true, - 93018 => true, - 93026 => true, - 93048 => true, - 93049 => true, - 93050 => true, - 93051 => true, - 93052 => true, - 94027 => true, - 94028 => true, - 94029 => true, - 94030 => true, - 94088 => true, - 94089 => true, - 94090 => true, - 94091 => true, - 94092 => true, - 94093 => true, - 94094 => true, - 94181 => true, - 94182 => true, - 94183 => true, - 94184 => true, - 94185 => true, - 94186 => true, - 94187 => true, - 94188 => true, - 94189 => true, - 94190 => true, - 94191 => true, - 94194 => true, - 94195 => true, - 94196 => true, - 94197 => true, - 94198 => true, - 94199 => true, - 94200 => true, - 94201 => true, - 94202 => true, - 94203 => true, - 94204 => true, - 94205 => true, - 94206 => true, - 94207 => true, - 100344 => true, - 100345 => true, - 100346 => true, - 100347 => true, - 100348 => true, - 100349 => true, - 100350 => true, - 100351 => true, - 110931 => true, - 110932 => true, - 110933 => true, - 110934 => true, - 110935 => true, - 110936 => true, - 110937 => true, - 110938 => true, - 110939 => true, - 110940 => true, - 110941 => true, - 110942 => true, - 110943 => true, - 110944 => true, - 110945 => true, - 110946 => true, - 110947 => true, - 110952 => true, - 110953 => true, - 110954 => true, - 110955 => true, - 110956 => true, - 110957 => true, - 110958 => true, - 110959 => true, - 113771 => true, - 113772 => true, - 113773 => true, - 113774 => true, - 113775 => true, - 113789 => true, - 113790 => true, - 113791 => true, - 113801 => true, - 113802 => true, - 113803 => true, - 113804 => true, - 113805 => true, - 113806 => true, - 113807 => true, - 113818 => true, - 113819 => true, - 119030 => true, - 119031 => true, - 119032 => true, - 119033 => true, - 119034 => true, - 119035 => true, - 119036 => true, - 119037 => true, - 119038 => true, - 119039 => true, - 119079 => true, - 119080 => true, - 119155 => true, - 119156 => true, - 119157 => true, - 119158 => true, - 119159 => true, - 119160 => true, - 119161 => true, - 119162 => true, - 119273 => true, - 119274 => true, - 119275 => true, - 119276 => true, - 119277 => true, - 119278 => true, - 119279 => true, - 119280 => true, - 119281 => true, - 119282 => true, - 119283 => true, - 119284 => true, - 119285 => true, - 119286 => true, - 119287 => true, - 119288 => true, - 119289 => true, - 119290 => true, - 119291 => true, - 119292 => true, - 119293 => true, - 119294 => true, - 119295 => true, - 119540 => true, - 119541 => true, - 119542 => true, - 119543 => true, - 119544 => true, - 119545 => true, - 119546 => true, - 119547 => true, - 119548 => true, - 119549 => true, - 119550 => true, - 119551 => true, - 119639 => true, - 119640 => true, - 119641 => true, - 119642 => true, - 119643 => true, - 119644 => true, - 119645 => true, - 119646 => true, - 119647 => true, - 119893 => true, - 119965 => true, - 119968 => true, - 119969 => true, - 119971 => true, - 119972 => true, - 119975 => true, - 119976 => true, - 119981 => true, - 119994 => true, - 119996 => true, - 120004 => true, - 120070 => true, - 120075 => true, - 120076 => true, - 120085 => true, - 120093 => true, - 120122 => true, - 120127 => true, - 120133 => true, - 120135 => true, - 120136 => true, - 120137 => true, - 120145 => true, - 120486 => true, - 120487 => true, - 120780 => true, - 120781 => true, - 121484 => true, - 121485 => true, - 121486 => true, - 121487 => true, - 121488 => true, - 121489 => true, - 121490 => true, - 121491 => true, - 121492 => true, - 121493 => true, - 121494 => true, - 121495 => true, - 121496 => true, - 121497 => true, - 121498 => true, - 121504 => true, - 122887 => true, - 122905 => true, - 122906 => true, - 122914 => true, - 122917 => true, - 123181 => true, - 123182 => true, - 123183 => true, - 123198 => true, - 123199 => true, - 123210 => true, - 123211 => true, - 123212 => true, - 123213 => true, - 123642 => true, - 123643 => true, - 123644 => true, - 123645 => true, - 123646 => true, - 125125 => true, - 125126 => true, - 125260 => true, - 125261 => true, - 125262 => true, - 125263 => true, - 125274 => true, - 125275 => true, - 125276 => true, - 125277 => true, - 126468 => true, - 126496 => true, - 126499 => true, - 126501 => true, - 126502 => true, - 126504 => true, - 126515 => true, - 126520 => true, - 126522 => true, - 126524 => true, - 126525 => true, - 126526 => true, - 126527 => true, - 126528 => true, - 126529 => true, - 126531 => true, - 126532 => true, - 126533 => true, - 126534 => true, - 126536 => true, - 126538 => true, - 126540 => true, - 126544 => true, - 126547 => true, - 126549 => true, - 126550 => true, - 126552 => true, - 126554 => true, - 126556 => true, - 126558 => true, - 126560 => true, - 126563 => true, - 126565 => true, - 126566 => true, - 126571 => true, - 126579 => true, - 126584 => true, - 126589 => true, - 126591 => true, - 126602 => true, - 126620 => true, - 126621 => true, - 126622 => true, - 126623 => true, - 126624 => true, - 126628 => true, - 126634 => true, - 127020 => true, - 127021 => true, - 127022 => true, - 127023 => true, - 127124 => true, - 127125 => true, - 127126 => true, - 127127 => true, - 127128 => true, - 127129 => true, - 127130 => true, - 127131 => true, - 127132 => true, - 127133 => true, - 127134 => true, - 127135 => true, - 127151 => true, - 127152 => true, - 127168 => true, - 127184 => true, - 127222 => true, - 127223 => true, - 127224 => true, - 127225 => true, - 127226 => true, - 127227 => true, - 127228 => true, - 127229 => true, - 127230 => true, - 127231 => true, - 127232 => true, - 127491 => true, - 127492 => true, - 127493 => true, - 127494 => true, - 127495 => true, - 127496 => true, - 127497 => true, - 127498 => true, - 127499 => true, - 127500 => true, - 127501 => true, - 127502 => true, - 127503 => true, - 127548 => true, - 127549 => true, - 127550 => true, - 127551 => true, - 127561 => true, - 127562 => true, - 127563 => true, - 127564 => true, - 127565 => true, - 127566 => true, - 127567 => true, - 127570 => true, - 127571 => true, - 127572 => true, - 127573 => true, - 127574 => true, - 127575 => true, - 127576 => true, - 127577 => true, - 127578 => true, - 127579 => true, - 127580 => true, - 127581 => true, - 127582 => true, - 127583 => true, - 128728 => true, - 128729 => true, - 128730 => true, - 128731 => true, - 128732 => true, - 128733 => true, - 128734 => true, - 128735 => true, - 128749 => true, - 128750 => true, - 128751 => true, - 128765 => true, - 128766 => true, - 128767 => true, - 128884 => true, - 128885 => true, - 128886 => true, - 128887 => true, - 128888 => true, - 128889 => true, - 128890 => true, - 128891 => true, - 128892 => true, - 128893 => true, - 128894 => true, - 128895 => true, - 128985 => true, - 128986 => true, - 128987 => true, - 128988 => true, - 128989 => true, - 128990 => true, - 128991 => true, - 129004 => true, - 129005 => true, - 129006 => true, - 129007 => true, - 129008 => true, - 129009 => true, - 129010 => true, - 129011 => true, - 129012 => true, - 129013 => true, - 129014 => true, - 129015 => true, - 129016 => true, - 129017 => true, - 129018 => true, - 129019 => true, - 129020 => true, - 129021 => true, - 129022 => true, - 129023 => true, - 129036 => true, - 129037 => true, - 129038 => true, - 129039 => true, - 129096 => true, - 129097 => true, - 129098 => true, - 129099 => true, - 129100 => true, - 129101 => true, - 129102 => true, - 129103 => true, - 129114 => true, - 129115 => true, - 129116 => true, - 129117 => true, - 129118 => true, - 129119 => true, - 129160 => true, - 129161 => true, - 129162 => true, - 129163 => true, - 129164 => true, - 129165 => true, - 129166 => true, - 129167 => true, - 129198 => true, - 129199 => true, - 129401 => true, - 129484 => true, - 129620 => true, - 129621 => true, - 129622 => true, - 129623 => true, - 129624 => true, - 129625 => true, - 129626 => true, - 129627 => true, - 129628 => true, - 129629 => true, - 129630 => true, - 129631 => true, - 129646 => true, - 129647 => true, - 129653 => true, - 129654 => true, - 129655 => true, - 129659 => true, - 129660 => true, - 129661 => true, - 129662 => true, - 129663 => true, - 129671 => true, - 129672 => true, - 129673 => true, - 129674 => true, - 129675 => true, - 129676 => true, - 129677 => true, - 129678 => true, - 129679 => true, - 129705 => true, - 129706 => true, - 129707 => true, - 129708 => true, - 129709 => true, - 129710 => true, - 129711 => true, - 129719 => true, - 129720 => true, - 129721 => true, - 129722 => true, - 129723 => true, - 129724 => true, - 129725 => true, - 129726 => true, - 129727 => true, - 129731 => true, - 129732 => true, - 129733 => true, - 129734 => true, - 129735 => true, - 129736 => true, - 129737 => true, - 129738 => true, - 129739 => true, - 129740 => true, - 129741 => true, - 129742 => true, - 129743 => true, - 129939 => true, - 131070 => true, - 131071 => true, - 177973 => true, - 177974 => true, - 177975 => true, - 177976 => true, - 177977 => true, - 177978 => true, - 177979 => true, - 177980 => true, - 177981 => true, - 177982 => true, - 177983 => true, - 178206 => true, - 178207 => true, - 183970 => true, - 183971 => true, - 183972 => true, - 183973 => true, - 183974 => true, - 183975 => true, - 183976 => true, - 183977 => true, - 183978 => true, - 183979 => true, - 183980 => true, - 183981 => true, - 183982 => true, - 183983 => true, - 194664 => true, - 194676 => true, - 194847 => true, - 194911 => true, - 195007 => true, - 196606 => true, - 196607 => true, - 262142 => true, - 262143 => true, - 327678 => true, - 327679 => true, - 393214 => true, - 393215 => true, - 458750 => true, - 458751 => true, - 524286 => true, - 524287 => true, - 589822 => true, - 589823 => true, - 655358 => true, - 655359 => true, - 720894 => true, - 720895 => true, - 786430 => true, - 786431 => true, - 851966 => true, - 851967 => true, - 917502 => true, - 917503 => true, - 917504 => true, - 917505 => true, - 917506 => true, - 917507 => true, - 917508 => true, - 917509 => true, - 917510 => true, - 917511 => true, - 917512 => true, - 917513 => true, - 917514 => true, - 917515 => true, - 917516 => true, - 917517 => true, - 917518 => true, - 917519 => true, - 917520 => true, - 917521 => true, - 917522 => true, - 917523 => true, - 917524 => true, - 917525 => true, - 917526 => true, - 917527 => true, - 917528 => true, - 917529 => true, - 917530 => true, - 917531 => true, - 917532 => true, - 917533 => true, - 917534 => true, - 917535 => true, - 983038 => true, - 983039 => true, - 1048574 => true, - 1048575 => true, - 1114110 => true, - 1114111 => true, -); diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_mapped.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_mapped.php deleted file mode 100644 index 54f21cc0..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_mapped.php +++ /dev/null @@ -1,308 +0,0 @@ - ' ', - 168 => ' ̈', - 175 => ' ̄', - 180 => ' ́', - 184 => ' ̧', - 728 => ' ̆', - 729 => ' ̇', - 730 => ' ̊', - 731 => ' ̨', - 732 => ' ̃', - 733 => ' ̋', - 890 => ' ι', - 894 => ';', - 900 => ' ́', - 901 => ' ̈́', - 8125 => ' ̓', - 8127 => ' ̓', - 8128 => ' ͂', - 8129 => ' ̈͂', - 8141 => ' ̓̀', - 8142 => ' ̓́', - 8143 => ' ̓͂', - 8157 => ' ̔̀', - 8158 => ' ̔́', - 8159 => ' ̔͂', - 8173 => ' ̈̀', - 8174 => ' ̈́', - 8175 => '`', - 8189 => ' ́', - 8190 => ' ̔', - 8192 => ' ', - 8193 => ' ', - 8194 => ' ', - 8195 => ' ', - 8196 => ' ', - 8197 => ' ', - 8198 => ' ', - 8199 => ' ', - 8200 => ' ', - 8201 => ' ', - 8202 => ' ', - 8215 => ' ̳', - 8239 => ' ', - 8252 => '!!', - 8254 => ' ̅', - 8263 => '??', - 8264 => '?!', - 8265 => '!?', - 8287 => ' ', - 8314 => '+', - 8316 => '=', - 8317 => '(', - 8318 => ')', - 8330 => '+', - 8332 => '=', - 8333 => '(', - 8334 => ')', - 8448 => 'a/c', - 8449 => 'a/s', - 8453 => 'c/o', - 8454 => 'c/u', - 9332 => '(1)', - 9333 => '(2)', - 9334 => '(3)', - 9335 => '(4)', - 9336 => '(5)', - 9337 => '(6)', - 9338 => '(7)', - 9339 => '(8)', - 9340 => '(9)', - 9341 => '(10)', - 9342 => '(11)', - 9343 => '(12)', - 9344 => '(13)', - 9345 => '(14)', - 9346 => '(15)', - 9347 => '(16)', - 9348 => '(17)', - 9349 => '(18)', - 9350 => '(19)', - 9351 => '(20)', - 9372 => '(a)', - 9373 => '(b)', - 9374 => '(c)', - 9375 => '(d)', - 9376 => '(e)', - 9377 => '(f)', - 9378 => '(g)', - 9379 => '(h)', - 9380 => '(i)', - 9381 => '(j)', - 9382 => '(k)', - 9383 => '(l)', - 9384 => '(m)', - 9385 => '(n)', - 9386 => '(o)', - 9387 => '(p)', - 9388 => '(q)', - 9389 => '(r)', - 9390 => '(s)', - 9391 => '(t)', - 9392 => '(u)', - 9393 => '(v)', - 9394 => '(w)', - 9395 => '(x)', - 9396 => '(y)', - 9397 => '(z)', - 10868 => '::=', - 10869 => '==', - 10870 => '===', - 12288 => ' ', - 12443 => ' ゙', - 12444 => ' ゚', - 12800 => '(ᄀ)', - 12801 => '(ᄂ)', - 12802 => '(ᄃ)', - 12803 => '(ᄅ)', - 12804 => '(ᄆ)', - 12805 => '(ᄇ)', - 12806 => '(ᄉ)', - 12807 => '(ᄋ)', - 12808 => '(ᄌ)', - 12809 => '(ᄎ)', - 12810 => '(ᄏ)', - 12811 => '(ᄐ)', - 12812 => '(ᄑ)', - 12813 => '(ᄒ)', - 12814 => '(가)', - 12815 => '(나)', - 12816 => '(다)', - 12817 => '(라)', - 12818 => '(마)', - 12819 => '(바)', - 12820 => '(사)', - 12821 => '(아)', - 12822 => '(자)', - 12823 => '(차)', - 12824 => '(카)', - 12825 => '(타)', - 12826 => '(파)', - 12827 => '(하)', - 12828 => '(주)', - 12829 => '(오전)', - 12830 => '(오후)', - 12832 => '(一)', - 12833 => '(二)', - 12834 => '(三)', - 12835 => '(四)', - 12836 => '(五)', - 12837 => '(六)', - 12838 => '(七)', - 12839 => '(八)', - 12840 => '(九)', - 12841 => '(十)', - 12842 => '(月)', - 12843 => '(火)', - 12844 => '(水)', - 12845 => '(木)', - 12846 => '(金)', - 12847 => '(土)', - 12848 => '(日)', - 12849 => '(株)', - 12850 => '(有)', - 12851 => '(社)', - 12852 => '(名)', - 12853 => '(特)', - 12854 => '(財)', - 12855 => '(祝)', - 12856 => '(労)', - 12857 => '(代)', - 12858 => '(呼)', - 12859 => '(学)', - 12860 => '(監)', - 12861 => '(企)', - 12862 => '(資)', - 12863 => '(協)', - 12864 => '(祭)', - 12865 => '(休)', - 12866 => '(自)', - 12867 => '(至)', - 64297 => '+', - 64606 => ' ٌّ', - 64607 => ' ٍّ', - 64608 => ' َّ', - 64609 => ' ُّ', - 64610 => ' ِّ', - 64611 => ' ّٰ', - 65018 => 'صلى الله عليه وسلم', - 65019 => 'جل جلاله', - 65040 => ',', - 65043 => ':', - 65044 => ';', - 65045 => '!', - 65046 => '?', - 65075 => '_', - 65076 => '_', - 65077 => '(', - 65078 => ')', - 65079 => '{', - 65080 => '}', - 65095 => '[', - 65096 => ']', - 65097 => ' ̅', - 65098 => ' ̅', - 65099 => ' ̅', - 65100 => ' ̅', - 65101 => '_', - 65102 => '_', - 65103 => '_', - 65104 => ',', - 65108 => ';', - 65109 => ':', - 65110 => '?', - 65111 => '!', - 65113 => '(', - 65114 => ')', - 65115 => '{', - 65116 => '}', - 65119 => '#', - 65120 => '&', - 65121 => '*', - 65122 => '+', - 65124 => '<', - 65125 => '>', - 65126 => '=', - 65128 => '\\', - 65129 => '$', - 65130 => '%', - 65131 => '@', - 65136 => ' ً', - 65138 => ' ٌ', - 65140 => ' ٍ', - 65142 => ' َ', - 65144 => ' ُ', - 65146 => ' ِ', - 65148 => ' ّ', - 65150 => ' ْ', - 65281 => '!', - 65282 => '"', - 65283 => '#', - 65284 => '$', - 65285 => '%', - 65286 => '&', - 65287 => '\'', - 65288 => '(', - 65289 => ')', - 65290 => '*', - 65291 => '+', - 65292 => ',', - 65295 => '/', - 65306 => ':', - 65307 => ';', - 65308 => '<', - 65309 => '=', - 65310 => '>', - 65311 => '?', - 65312 => '@', - 65339 => '[', - 65340 => '\\', - 65341 => ']', - 65342 => '^', - 65343 => '_', - 65344 => '`', - 65371 => '{', - 65372 => '|', - 65373 => '}', - 65374 => '~', - 65507 => ' ̄', - 127233 => '0,', - 127234 => '1,', - 127235 => '2,', - 127236 => '3,', - 127237 => '4,', - 127238 => '5,', - 127239 => '6,', - 127240 => '7,', - 127241 => '8,', - 127242 => '9,', - 127248 => '(a)', - 127249 => '(b)', - 127250 => '(c)', - 127251 => '(d)', - 127252 => '(e)', - 127253 => '(f)', - 127254 => '(g)', - 127255 => '(h)', - 127256 => '(i)', - 127257 => '(j)', - 127258 => '(k)', - 127259 => '(l)', - 127260 => '(m)', - 127261 => '(n)', - 127262 => '(o)', - 127263 => '(p)', - 127264 => '(q)', - 127265 => '(r)', - 127266 => '(s)', - 127267 => '(t)', - 127268 => '(u)', - 127269 => '(v)', - 127270 => '(w)', - 127271 => '(x)', - 127272 => '(y)', - 127273 => '(z)', -); diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_valid.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_valid.php deleted file mode 100644 index 223396ec..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/disallowed_STD3_valid.php +++ /dev/null @@ -1,71 +0,0 @@ - true, - 1 => true, - 2 => true, - 3 => true, - 4 => true, - 5 => true, - 6 => true, - 7 => true, - 8 => true, - 9 => true, - 10 => true, - 11 => true, - 12 => true, - 13 => true, - 14 => true, - 15 => true, - 16 => true, - 17 => true, - 18 => true, - 19 => true, - 20 => true, - 21 => true, - 22 => true, - 23 => true, - 24 => true, - 25 => true, - 26 => true, - 27 => true, - 28 => true, - 29 => true, - 30 => true, - 31 => true, - 32 => true, - 33 => true, - 34 => true, - 35 => true, - 36 => true, - 37 => true, - 38 => true, - 39 => true, - 40 => true, - 41 => true, - 42 => true, - 43 => true, - 44 => true, - 47 => true, - 58 => true, - 59 => true, - 60 => true, - 61 => true, - 62 => true, - 63 => true, - 64 => true, - 91 => true, - 92 => true, - 93 => true, - 94 => true, - 95 => true, - 96 => true, - 123 => true, - 124 => true, - 125 => true, - 126 => true, - 127 => true, - 8800 => true, - 8814 => true, - 8815 => true, -); diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/ignored.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/ignored.php deleted file mode 100644 index b3778441..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/ignored.php +++ /dev/null @@ -1,273 +0,0 @@ - true, - 847 => true, - 6155 => true, - 6156 => true, - 6157 => true, - 8203 => true, - 8288 => true, - 8292 => true, - 65024 => true, - 65025 => true, - 65026 => true, - 65027 => true, - 65028 => true, - 65029 => true, - 65030 => true, - 65031 => true, - 65032 => true, - 65033 => true, - 65034 => true, - 65035 => true, - 65036 => true, - 65037 => true, - 65038 => true, - 65039 => true, - 65279 => true, - 113824 => true, - 113825 => true, - 113826 => true, - 113827 => true, - 917760 => true, - 917761 => true, - 917762 => true, - 917763 => true, - 917764 => true, - 917765 => true, - 917766 => true, - 917767 => true, - 917768 => true, - 917769 => true, - 917770 => true, - 917771 => true, - 917772 => true, - 917773 => true, - 917774 => true, - 917775 => true, - 917776 => true, - 917777 => true, - 917778 => true, - 917779 => true, - 917780 => true, - 917781 => true, - 917782 => true, - 917783 => true, - 917784 => true, - 917785 => true, - 917786 => true, - 917787 => true, - 917788 => true, - 917789 => true, - 917790 => true, - 917791 => true, - 917792 => true, - 917793 => true, - 917794 => true, - 917795 => true, - 917796 => true, - 917797 => true, - 917798 => true, - 917799 => true, - 917800 => true, - 917801 => true, - 917802 => true, - 917803 => true, - 917804 => true, - 917805 => true, - 917806 => true, - 917807 => true, - 917808 => true, - 917809 => true, - 917810 => true, - 917811 => true, - 917812 => true, - 917813 => true, - 917814 => true, - 917815 => true, - 917816 => true, - 917817 => true, - 917818 => true, - 917819 => true, - 917820 => true, - 917821 => true, - 917822 => true, - 917823 => true, - 917824 => true, - 917825 => true, - 917826 => true, - 917827 => true, - 917828 => true, - 917829 => true, - 917830 => true, - 917831 => true, - 917832 => true, - 917833 => true, - 917834 => true, - 917835 => true, - 917836 => true, - 917837 => true, - 917838 => true, - 917839 => true, - 917840 => true, - 917841 => true, - 917842 => true, - 917843 => true, - 917844 => true, - 917845 => true, - 917846 => true, - 917847 => true, - 917848 => true, - 917849 => true, - 917850 => true, - 917851 => true, - 917852 => true, - 917853 => true, - 917854 => true, - 917855 => true, - 917856 => true, - 917857 => true, - 917858 => true, - 917859 => true, - 917860 => true, - 917861 => true, - 917862 => true, - 917863 => true, - 917864 => true, - 917865 => true, - 917866 => true, - 917867 => true, - 917868 => true, - 917869 => true, - 917870 => true, - 917871 => true, - 917872 => true, - 917873 => true, - 917874 => true, - 917875 => true, - 917876 => true, - 917877 => true, - 917878 => true, - 917879 => true, - 917880 => true, - 917881 => true, - 917882 => true, - 917883 => true, - 917884 => true, - 917885 => true, - 917886 => true, - 917887 => true, - 917888 => true, - 917889 => true, - 917890 => true, - 917891 => true, - 917892 => true, - 917893 => true, - 917894 => true, - 917895 => true, - 917896 => true, - 917897 => true, - 917898 => true, - 917899 => true, - 917900 => true, - 917901 => true, - 917902 => true, - 917903 => true, - 917904 => true, - 917905 => true, - 917906 => true, - 917907 => true, - 917908 => true, - 917909 => true, - 917910 => true, - 917911 => true, - 917912 => true, - 917913 => true, - 917914 => true, - 917915 => true, - 917916 => true, - 917917 => true, - 917918 => true, - 917919 => true, - 917920 => true, - 917921 => true, - 917922 => true, - 917923 => true, - 917924 => true, - 917925 => true, - 917926 => true, - 917927 => true, - 917928 => true, - 917929 => true, - 917930 => true, - 917931 => true, - 917932 => true, - 917933 => true, - 917934 => true, - 917935 => true, - 917936 => true, - 917937 => true, - 917938 => true, - 917939 => true, - 917940 => true, - 917941 => true, - 917942 => true, - 917943 => true, - 917944 => true, - 917945 => true, - 917946 => true, - 917947 => true, - 917948 => true, - 917949 => true, - 917950 => true, - 917951 => true, - 917952 => true, - 917953 => true, - 917954 => true, - 917955 => true, - 917956 => true, - 917957 => true, - 917958 => true, - 917959 => true, - 917960 => true, - 917961 => true, - 917962 => true, - 917963 => true, - 917964 => true, - 917965 => true, - 917966 => true, - 917967 => true, - 917968 => true, - 917969 => true, - 917970 => true, - 917971 => true, - 917972 => true, - 917973 => true, - 917974 => true, - 917975 => true, - 917976 => true, - 917977 => true, - 917978 => true, - 917979 => true, - 917980 => true, - 917981 => true, - 917982 => true, - 917983 => true, - 917984 => true, - 917985 => true, - 917986 => true, - 917987 => true, - 917988 => true, - 917989 => true, - 917990 => true, - 917991 => true, - 917992 => true, - 917993 => true, - 917994 => true, - 917995 => true, - 917996 => true, - 917997 => true, - 917998 => true, - 917999 => true, -); diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/mapped.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/mapped.php deleted file mode 100644 index 9b85fe9d..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/mapped.php +++ /dev/null @@ -1,5778 +0,0 @@ - 'a', - 66 => 'b', - 67 => 'c', - 68 => 'd', - 69 => 'e', - 70 => 'f', - 71 => 'g', - 72 => 'h', - 73 => 'i', - 74 => 'j', - 75 => 'k', - 76 => 'l', - 77 => 'm', - 78 => 'n', - 79 => 'o', - 80 => 'p', - 81 => 'q', - 82 => 'r', - 83 => 's', - 84 => 't', - 85 => 'u', - 86 => 'v', - 87 => 'w', - 88 => 'x', - 89 => 'y', - 90 => 'z', - 170 => 'a', - 178 => '2', - 179 => '3', - 181 => 'μ', - 185 => '1', - 186 => 'o', - 188 => '1⁄4', - 189 => '1⁄2', - 190 => '3⁄4', - 192 => 'à', - 193 => 'á', - 194 => 'â', - 195 => 'ã', - 196 => 'ä', - 197 => 'å', - 198 => 'æ', - 199 => 'ç', - 200 => 'è', - 201 => 'é', - 202 => 'ê', - 203 => 'ë', - 204 => 'ì', - 205 => 'í', - 206 => 'î', - 207 => 'ï', - 208 => 'ð', - 209 => 'ñ', - 210 => 'ò', - 211 => 'ó', - 212 => 'ô', - 213 => 'õ', - 214 => 'ö', - 216 => 'ø', - 217 => 'ù', - 218 => 'ú', - 219 => 'û', - 220 => 'ü', - 221 => 'ý', - 222 => 'þ', - 256 => 'ā', - 258 => 'ă', - 260 => 'ą', - 262 => 'ć', - 264 => 'ĉ', - 266 => 'ċ', - 268 => 'č', - 270 => 'ď', - 272 => 'đ', - 274 => 'ē', - 276 => 'ĕ', - 278 => 'ė', - 280 => 'ę', - 282 => 'ě', - 284 => 'ĝ', - 286 => 'ğ', - 288 => 'ġ', - 290 => 'ģ', - 292 => 'ĥ', - 294 => 'ħ', - 296 => 'ĩ', - 298 => 'ī', - 300 => 'ĭ', - 302 => 'į', - 304 => 'i̇', - 306 => 'ij', - 307 => 'ij', - 308 => 'ĵ', - 310 => 'ķ', - 313 => 'ĺ', - 315 => 'ļ', - 317 => 'ľ', - 319 => 'l·', - 320 => 'l·', - 321 => 'ł', - 323 => 'ń', - 325 => 'ņ', - 327 => 'ň', - 329 => 'ʼn', - 330 => 'ŋ', - 332 => 'ō', - 334 => 'ŏ', - 336 => 'ő', - 338 => 'œ', - 340 => 'ŕ', - 342 => 'ŗ', - 344 => 'ř', - 346 => 'ś', - 348 => 'ŝ', - 350 => 'ş', - 352 => 'š', - 354 => 'ţ', - 356 => 'ť', - 358 => 'ŧ', - 360 => 'ũ', - 362 => 'ū', - 364 => 'ŭ', - 366 => 'ů', - 368 => 'ű', - 370 => 'ų', - 372 => 'ŵ', - 374 => 'ŷ', - 376 => 'ÿ', - 377 => 'ź', - 379 => 'ż', - 381 => 'ž', - 383 => 's', - 385 => 'ɓ', - 386 => 'ƃ', - 388 => 'ƅ', - 390 => 'ɔ', - 391 => 'ƈ', - 393 => 'ɖ', - 394 => 'ɗ', - 395 => 'ƌ', - 398 => 'ǝ', - 399 => 'ə', - 400 => 'ɛ', - 401 => 'ƒ', - 403 => 'ɠ', - 404 => 'ɣ', - 406 => 'ɩ', - 407 => 'ɨ', - 408 => 'ƙ', - 412 => 'ɯ', - 413 => 'ɲ', - 415 => 'ɵ', - 416 => 'ơ', - 418 => 'ƣ', - 420 => 'ƥ', - 422 => 'ʀ', - 423 => 'ƨ', - 425 => 'ʃ', - 428 => 'ƭ', - 430 => 'ʈ', - 431 => 'ư', - 433 => 'ʊ', - 434 => 'ʋ', - 435 => 'ƴ', - 437 => 'ƶ', - 439 => 'ʒ', - 440 => 'ƹ', - 444 => 'ƽ', - 452 => 'dž', - 453 => 'dž', - 454 => 'dž', - 455 => 'lj', - 456 => 'lj', - 457 => 'lj', - 458 => 'nj', - 459 => 'nj', - 460 => 'nj', - 461 => 'ǎ', - 463 => 'ǐ', - 465 => 'ǒ', - 467 => 'ǔ', - 469 => 'ǖ', - 471 => 'ǘ', - 473 => 'ǚ', - 475 => 'ǜ', - 478 => 'ǟ', - 480 => 'ǡ', - 482 => 'ǣ', - 484 => 'ǥ', - 486 => 'ǧ', - 488 => 'ǩ', - 490 => 'ǫ', - 492 => 'ǭ', - 494 => 'ǯ', - 497 => 'dz', - 498 => 'dz', - 499 => 'dz', - 500 => 'ǵ', - 502 => 'ƕ', - 503 => 'ƿ', - 504 => 'ǹ', - 506 => 'ǻ', - 508 => 'ǽ', - 510 => 'ǿ', - 512 => 'ȁ', - 514 => 'ȃ', - 516 => 'ȅ', - 518 => 'ȇ', - 520 => 'ȉ', - 522 => 'ȋ', - 524 => 'ȍ', - 526 => 'ȏ', - 528 => 'ȑ', - 530 => 'ȓ', - 532 => 'ȕ', - 534 => 'ȗ', - 536 => 'ș', - 538 => 'ț', - 540 => 'ȝ', - 542 => 'ȟ', - 544 => 'ƞ', - 546 => 'ȣ', - 548 => 'ȥ', - 550 => 'ȧ', - 552 => 'ȩ', - 554 => 'ȫ', - 556 => 'ȭ', - 558 => 'ȯ', - 560 => 'ȱ', - 562 => 'ȳ', - 570 => 'ⱥ', - 571 => 'ȼ', - 573 => 'ƚ', - 574 => 'ⱦ', - 577 => 'ɂ', - 579 => 'ƀ', - 580 => 'ʉ', - 581 => 'ʌ', - 582 => 'ɇ', - 584 => 'ɉ', - 586 => 'ɋ', - 588 => 'ɍ', - 590 => 'ɏ', - 688 => 'h', - 689 => 'ɦ', - 690 => 'j', - 691 => 'r', - 692 => 'ɹ', - 693 => 'ɻ', - 694 => 'ʁ', - 695 => 'w', - 696 => 'y', - 736 => 'ɣ', - 737 => 'l', - 738 => 's', - 739 => 'x', - 740 => 'ʕ', - 832 => '̀', - 833 => '́', - 835 => '̓', - 836 => '̈́', - 837 => 'ι', - 880 => 'ͱ', - 882 => 'ͳ', - 884 => 'ʹ', - 886 => 'ͷ', - 895 => 'ϳ', - 902 => 'ά', - 903 => '·', - 904 => 'έ', - 905 => 'ή', - 906 => 'ί', - 908 => 'ό', - 910 => 'ύ', - 911 => 'ώ', - 913 => 'α', - 914 => 'β', - 915 => 'γ', - 916 => 'δ', - 917 => 'ε', - 918 => 'ζ', - 919 => 'η', - 920 => 'θ', - 921 => 'ι', - 922 => 'κ', - 923 => 'λ', - 924 => 'μ', - 925 => 'ν', - 926 => 'ξ', - 927 => 'ο', - 928 => 'π', - 929 => 'ρ', - 931 => 'σ', - 932 => 'τ', - 933 => 'υ', - 934 => 'φ', - 935 => 'χ', - 936 => 'ψ', - 937 => 'ω', - 938 => 'ϊ', - 939 => 'ϋ', - 975 => 'ϗ', - 976 => 'β', - 977 => 'θ', - 978 => 'υ', - 979 => 'ύ', - 980 => 'ϋ', - 981 => 'φ', - 982 => 'π', - 984 => 'ϙ', - 986 => 'ϛ', - 988 => 'ϝ', - 990 => 'ϟ', - 992 => 'ϡ', - 994 => 'ϣ', - 996 => 'ϥ', - 998 => 'ϧ', - 1000 => 'ϩ', - 1002 => 'ϫ', - 1004 => 'ϭ', - 1006 => 'ϯ', - 1008 => 'κ', - 1009 => 'ρ', - 1010 => 'σ', - 1012 => 'θ', - 1013 => 'ε', - 1015 => 'ϸ', - 1017 => 'σ', - 1018 => 'ϻ', - 1021 => 'ͻ', - 1022 => 'ͼ', - 1023 => 'ͽ', - 1024 => 'ѐ', - 1025 => 'ё', - 1026 => 'ђ', - 1027 => 'ѓ', - 1028 => 'є', - 1029 => 'ѕ', - 1030 => 'і', - 1031 => 'ї', - 1032 => 'ј', - 1033 => 'љ', - 1034 => 'њ', - 1035 => 'ћ', - 1036 => 'ќ', - 1037 => 'ѝ', - 1038 => 'ў', - 1039 => 'џ', - 1040 => 'а', - 1041 => 'б', - 1042 => 'в', - 1043 => 'г', - 1044 => 'д', - 1045 => 'е', - 1046 => 'ж', - 1047 => 'з', - 1048 => 'и', - 1049 => 'й', - 1050 => 'к', - 1051 => 'л', - 1052 => 'м', - 1053 => 'н', - 1054 => 'о', - 1055 => 'п', - 1056 => 'р', - 1057 => 'с', - 1058 => 'т', - 1059 => 'у', - 1060 => 'ф', - 1061 => 'х', - 1062 => 'ц', - 1063 => 'ч', - 1064 => 'ш', - 1065 => 'щ', - 1066 => 'ъ', - 1067 => 'ы', - 1068 => 'ь', - 1069 => 'э', - 1070 => 'ю', - 1071 => 'я', - 1120 => 'ѡ', - 1122 => 'ѣ', - 1124 => 'ѥ', - 1126 => 'ѧ', - 1128 => 'ѩ', - 1130 => 'ѫ', - 1132 => 'ѭ', - 1134 => 'ѯ', - 1136 => 'ѱ', - 1138 => 'ѳ', - 1140 => 'ѵ', - 1142 => 'ѷ', - 1144 => 'ѹ', - 1146 => 'ѻ', - 1148 => 'ѽ', - 1150 => 'ѿ', - 1152 => 'ҁ', - 1162 => 'ҋ', - 1164 => 'ҍ', - 1166 => 'ҏ', - 1168 => 'ґ', - 1170 => 'ғ', - 1172 => 'ҕ', - 1174 => 'җ', - 1176 => 'ҙ', - 1178 => 'қ', - 1180 => 'ҝ', - 1182 => 'ҟ', - 1184 => 'ҡ', - 1186 => 'ң', - 1188 => 'ҥ', - 1190 => 'ҧ', - 1192 => 'ҩ', - 1194 => 'ҫ', - 1196 => 'ҭ', - 1198 => 'ү', - 1200 => 'ұ', - 1202 => 'ҳ', - 1204 => 'ҵ', - 1206 => 'ҷ', - 1208 => 'ҹ', - 1210 => 'һ', - 1212 => 'ҽ', - 1214 => 'ҿ', - 1217 => 'ӂ', - 1219 => 'ӄ', - 1221 => 'ӆ', - 1223 => 'ӈ', - 1225 => 'ӊ', - 1227 => 'ӌ', - 1229 => 'ӎ', - 1232 => 'ӑ', - 1234 => 'ӓ', - 1236 => 'ӕ', - 1238 => 'ӗ', - 1240 => 'ә', - 1242 => 'ӛ', - 1244 => 'ӝ', - 1246 => 'ӟ', - 1248 => 'ӡ', - 1250 => 'ӣ', - 1252 => 'ӥ', - 1254 => 'ӧ', - 1256 => 'ө', - 1258 => 'ӫ', - 1260 => 'ӭ', - 1262 => 'ӯ', - 1264 => 'ӱ', - 1266 => 'ӳ', - 1268 => 'ӵ', - 1270 => 'ӷ', - 1272 => 'ӹ', - 1274 => 'ӻ', - 1276 => 'ӽ', - 1278 => 'ӿ', - 1280 => 'ԁ', - 1282 => 'ԃ', - 1284 => 'ԅ', - 1286 => 'ԇ', - 1288 => 'ԉ', - 1290 => 'ԋ', - 1292 => 'ԍ', - 1294 => 'ԏ', - 1296 => 'ԑ', - 1298 => 'ԓ', - 1300 => 'ԕ', - 1302 => 'ԗ', - 1304 => 'ԙ', - 1306 => 'ԛ', - 1308 => 'ԝ', - 1310 => 'ԟ', - 1312 => 'ԡ', - 1314 => 'ԣ', - 1316 => 'ԥ', - 1318 => 'ԧ', - 1320 => 'ԩ', - 1322 => 'ԫ', - 1324 => 'ԭ', - 1326 => 'ԯ', - 1329 => 'ա', - 1330 => 'բ', - 1331 => 'գ', - 1332 => 'դ', - 1333 => 'ե', - 1334 => 'զ', - 1335 => 'է', - 1336 => 'ը', - 1337 => 'թ', - 1338 => 'ժ', - 1339 => 'ի', - 1340 => 'լ', - 1341 => 'խ', - 1342 => 'ծ', - 1343 => 'կ', - 1344 => 'հ', - 1345 => 'ձ', - 1346 => 'ղ', - 1347 => 'ճ', - 1348 => 'մ', - 1349 => 'յ', - 1350 => 'ն', - 1351 => 'շ', - 1352 => 'ո', - 1353 => 'չ', - 1354 => 'պ', - 1355 => 'ջ', - 1356 => 'ռ', - 1357 => 'ս', - 1358 => 'վ', - 1359 => 'տ', - 1360 => 'ր', - 1361 => 'ց', - 1362 => 'ւ', - 1363 => 'փ', - 1364 => 'ք', - 1365 => 'օ', - 1366 => 'ֆ', - 1415 => 'եւ', - 1653 => 'اٴ', - 1654 => 'وٴ', - 1655 => 'ۇٴ', - 1656 => 'يٴ', - 2392 => 'क़', - 2393 => 'ख़', - 2394 => 'ग़', - 2395 => 'ज़', - 2396 => 'ड़', - 2397 => 'ढ़', - 2398 => 'फ़', - 2399 => 'य़', - 2524 => 'ড়', - 2525 => 'ঢ়', - 2527 => 'য়', - 2611 => 'ਲ਼', - 2614 => 'ਸ਼', - 2649 => 'ਖ਼', - 2650 => 'ਗ਼', - 2651 => 'ਜ਼', - 2654 => 'ਫ਼', - 2908 => 'ଡ଼', - 2909 => 'ଢ଼', - 3635 => 'ํา', - 3763 => 'ໍາ', - 3804 => 'ຫນ', - 3805 => 'ຫມ', - 3852 => '་', - 3907 => 'གྷ', - 3917 => 'ཌྷ', - 3922 => 'དྷ', - 3927 => 'བྷ', - 3932 => 'ཛྷ', - 3945 => 'ཀྵ', - 3955 => 'ཱི', - 3957 => 'ཱུ', - 3958 => 'ྲྀ', - 3959 => 'ྲཱྀ', - 3960 => 'ླྀ', - 3961 => 'ླཱྀ', - 3969 => 'ཱྀ', - 3987 => 'ྒྷ', - 3997 => 'ྜྷ', - 4002 => 'ྡྷ', - 4007 => 'ྦྷ', - 4012 => 'ྫྷ', - 4025 => 'ྐྵ', - 4295 => 'ⴧ', - 4301 => 'ⴭ', - 4348 => 'ნ', - 5112 => 'Ᏸ', - 5113 => 'Ᏹ', - 5114 => 'Ᏺ', - 5115 => 'Ᏻ', - 5116 => 'Ᏼ', - 5117 => 'Ᏽ', - 7296 => 'в', - 7297 => 'д', - 7298 => 'о', - 7299 => 'с', - 7300 => 'т', - 7301 => 'т', - 7302 => 'ъ', - 7303 => 'ѣ', - 7304 => 'ꙋ', - 7312 => 'ა', - 7313 => 'ბ', - 7314 => 'გ', - 7315 => 'დ', - 7316 => 'ე', - 7317 => 'ვ', - 7318 => 'ზ', - 7319 => 'თ', - 7320 => 'ი', - 7321 => 'კ', - 7322 => 'ლ', - 7323 => 'მ', - 7324 => 'ნ', - 7325 => 'ო', - 7326 => 'პ', - 7327 => 'ჟ', - 7328 => 'რ', - 7329 => 'ს', - 7330 => 'ტ', - 7331 => 'უ', - 7332 => 'ფ', - 7333 => 'ქ', - 7334 => 'ღ', - 7335 => 'ყ', - 7336 => 'შ', - 7337 => 'ჩ', - 7338 => 'ც', - 7339 => 'ძ', - 7340 => 'წ', - 7341 => 'ჭ', - 7342 => 'ხ', - 7343 => 'ჯ', - 7344 => 'ჰ', - 7345 => 'ჱ', - 7346 => 'ჲ', - 7347 => 'ჳ', - 7348 => 'ჴ', - 7349 => 'ჵ', - 7350 => 'ჶ', - 7351 => 'ჷ', - 7352 => 'ჸ', - 7353 => 'ჹ', - 7354 => 'ჺ', - 7357 => 'ჽ', - 7358 => 'ჾ', - 7359 => 'ჿ', - 7468 => 'a', - 7469 => 'æ', - 7470 => 'b', - 7472 => 'd', - 7473 => 'e', - 7474 => 'ǝ', - 7475 => 'g', - 7476 => 'h', - 7477 => 'i', - 7478 => 'j', - 7479 => 'k', - 7480 => 'l', - 7481 => 'm', - 7482 => 'n', - 7484 => 'o', - 7485 => 'ȣ', - 7486 => 'p', - 7487 => 'r', - 7488 => 't', - 7489 => 'u', - 7490 => 'w', - 7491 => 'a', - 7492 => 'ɐ', - 7493 => 'ɑ', - 7494 => 'ᴂ', - 7495 => 'b', - 7496 => 'd', - 7497 => 'e', - 7498 => 'ə', - 7499 => 'ɛ', - 7500 => 'ɜ', - 7501 => 'g', - 7503 => 'k', - 7504 => 'm', - 7505 => 'ŋ', - 7506 => 'o', - 7507 => 'ɔ', - 7508 => 'ᴖ', - 7509 => 'ᴗ', - 7510 => 'p', - 7511 => 't', - 7512 => 'u', - 7513 => 'ᴝ', - 7514 => 'ɯ', - 7515 => 'v', - 7516 => 'ᴥ', - 7517 => 'β', - 7518 => 'γ', - 7519 => 'δ', - 7520 => 'φ', - 7521 => 'χ', - 7522 => 'i', - 7523 => 'r', - 7524 => 'u', - 7525 => 'v', - 7526 => 'β', - 7527 => 'γ', - 7528 => 'ρ', - 7529 => 'φ', - 7530 => 'χ', - 7544 => 'н', - 7579 => 'ɒ', - 7580 => 'c', - 7581 => 'ɕ', - 7582 => 'ð', - 7583 => 'ɜ', - 7584 => 'f', - 7585 => 'ɟ', - 7586 => 'ɡ', - 7587 => 'ɥ', - 7588 => 'ɨ', - 7589 => 'ɩ', - 7590 => 'ɪ', - 7591 => 'ᵻ', - 7592 => 'ʝ', - 7593 => 'ɭ', - 7594 => 'ᶅ', - 7595 => 'ʟ', - 7596 => 'ɱ', - 7597 => 'ɰ', - 7598 => 'ɲ', - 7599 => 'ɳ', - 7600 => 'ɴ', - 7601 => 'ɵ', - 7602 => 'ɸ', - 7603 => 'ʂ', - 7604 => 'ʃ', - 7605 => 'ƫ', - 7606 => 'ʉ', - 7607 => 'ʊ', - 7608 => 'ᴜ', - 7609 => 'ʋ', - 7610 => 'ʌ', - 7611 => 'z', - 7612 => 'ʐ', - 7613 => 'ʑ', - 7614 => 'ʒ', - 7615 => 'θ', - 7680 => 'ḁ', - 7682 => 'ḃ', - 7684 => 'ḅ', - 7686 => 'ḇ', - 7688 => 'ḉ', - 7690 => 'ḋ', - 7692 => 'ḍ', - 7694 => 'ḏ', - 7696 => 'ḑ', - 7698 => 'ḓ', - 7700 => 'ḕ', - 7702 => 'ḗ', - 7704 => 'ḙ', - 7706 => 'ḛ', - 7708 => 'ḝ', - 7710 => 'ḟ', - 7712 => 'ḡ', - 7714 => 'ḣ', - 7716 => 'ḥ', - 7718 => 'ḧ', - 7720 => 'ḩ', - 7722 => 'ḫ', - 7724 => 'ḭ', - 7726 => 'ḯ', - 7728 => 'ḱ', - 7730 => 'ḳ', - 7732 => 'ḵ', - 7734 => 'ḷ', - 7736 => 'ḹ', - 7738 => 'ḻ', - 7740 => 'ḽ', - 7742 => 'ḿ', - 7744 => 'ṁ', - 7746 => 'ṃ', - 7748 => 'ṅ', - 7750 => 'ṇ', - 7752 => 'ṉ', - 7754 => 'ṋ', - 7756 => 'ṍ', - 7758 => 'ṏ', - 7760 => 'ṑ', - 7762 => 'ṓ', - 7764 => 'ṕ', - 7766 => 'ṗ', - 7768 => 'ṙ', - 7770 => 'ṛ', - 7772 => 'ṝ', - 7774 => 'ṟ', - 7776 => 'ṡ', - 7778 => 'ṣ', - 7780 => 'ṥ', - 7782 => 'ṧ', - 7784 => 'ṩ', - 7786 => 'ṫ', - 7788 => 'ṭ', - 7790 => 'ṯ', - 7792 => 'ṱ', - 7794 => 'ṳ', - 7796 => 'ṵ', - 7798 => 'ṷ', - 7800 => 'ṹ', - 7802 => 'ṻ', - 7804 => 'ṽ', - 7806 => 'ṿ', - 7808 => 'ẁ', - 7810 => 'ẃ', - 7812 => 'ẅ', - 7814 => 'ẇ', - 7816 => 'ẉ', - 7818 => 'ẋ', - 7820 => 'ẍ', - 7822 => 'ẏ', - 7824 => 'ẑ', - 7826 => 'ẓ', - 7828 => 'ẕ', - 7834 => 'aʾ', - 7835 => 'ṡ', - 7838 => 'ss', - 7840 => 'ạ', - 7842 => 'ả', - 7844 => 'ấ', - 7846 => 'ầ', - 7848 => 'ẩ', - 7850 => 'ẫ', - 7852 => 'ậ', - 7854 => 'ắ', - 7856 => 'ằ', - 7858 => 'ẳ', - 7860 => 'ẵ', - 7862 => 'ặ', - 7864 => 'ẹ', - 7866 => 'ẻ', - 7868 => 'ẽ', - 7870 => 'ế', - 7872 => 'ề', - 7874 => 'ể', - 7876 => 'ễ', - 7878 => 'ệ', - 7880 => 'ỉ', - 7882 => 'ị', - 7884 => 'ọ', - 7886 => 'ỏ', - 7888 => 'ố', - 7890 => 'ồ', - 7892 => 'ổ', - 7894 => 'ỗ', - 7896 => 'ộ', - 7898 => 'ớ', - 7900 => 'ờ', - 7902 => 'ở', - 7904 => 'ỡ', - 7906 => 'ợ', - 7908 => 'ụ', - 7910 => 'ủ', - 7912 => 'ứ', - 7914 => 'ừ', - 7916 => 'ử', - 7918 => 'ữ', - 7920 => 'ự', - 7922 => 'ỳ', - 7924 => 'ỵ', - 7926 => 'ỷ', - 7928 => 'ỹ', - 7930 => 'ỻ', - 7932 => 'ỽ', - 7934 => 'ỿ', - 7944 => 'ἀ', - 7945 => 'ἁ', - 7946 => 'ἂ', - 7947 => 'ἃ', - 7948 => 'ἄ', - 7949 => 'ἅ', - 7950 => 'ἆ', - 7951 => 'ἇ', - 7960 => 'ἐ', - 7961 => 'ἑ', - 7962 => 'ἒ', - 7963 => 'ἓ', - 7964 => 'ἔ', - 7965 => 'ἕ', - 7976 => 'ἠ', - 7977 => 'ἡ', - 7978 => 'ἢ', - 7979 => 'ἣ', - 7980 => 'ἤ', - 7981 => 'ἥ', - 7982 => 'ἦ', - 7983 => 'ἧ', - 7992 => 'ἰ', - 7993 => 'ἱ', - 7994 => 'ἲ', - 7995 => 'ἳ', - 7996 => 'ἴ', - 7997 => 'ἵ', - 7998 => 'ἶ', - 7999 => 'ἷ', - 8008 => 'ὀ', - 8009 => 'ὁ', - 8010 => 'ὂ', - 8011 => 'ὃ', - 8012 => 'ὄ', - 8013 => 'ὅ', - 8025 => 'ὑ', - 8027 => 'ὓ', - 8029 => 'ὕ', - 8031 => 'ὗ', - 8040 => 'ὠ', - 8041 => 'ὡ', - 8042 => 'ὢ', - 8043 => 'ὣ', - 8044 => 'ὤ', - 8045 => 'ὥ', - 8046 => 'ὦ', - 8047 => 'ὧ', - 8049 => 'ά', - 8051 => 'έ', - 8053 => 'ή', - 8055 => 'ί', - 8057 => 'ό', - 8059 => 'ύ', - 8061 => 'ώ', - 8064 => 'ἀι', - 8065 => 'ἁι', - 8066 => 'ἂι', - 8067 => 'ἃι', - 8068 => 'ἄι', - 8069 => 'ἅι', - 8070 => 'ἆι', - 8071 => 'ἇι', - 8072 => 'ἀι', - 8073 => 'ἁι', - 8074 => 'ἂι', - 8075 => 'ἃι', - 8076 => 'ἄι', - 8077 => 'ἅι', - 8078 => 'ἆι', - 8079 => 'ἇι', - 8080 => 'ἠι', - 8081 => 'ἡι', - 8082 => 'ἢι', - 8083 => 'ἣι', - 8084 => 'ἤι', - 8085 => 'ἥι', - 8086 => 'ἦι', - 8087 => 'ἧι', - 8088 => 'ἠι', - 8089 => 'ἡι', - 8090 => 'ἢι', - 8091 => 'ἣι', - 8092 => 'ἤι', - 8093 => 'ἥι', - 8094 => 'ἦι', - 8095 => 'ἧι', - 8096 => 'ὠι', - 8097 => 'ὡι', - 8098 => 'ὢι', - 8099 => 'ὣι', - 8100 => 'ὤι', - 8101 => 'ὥι', - 8102 => 'ὦι', - 8103 => 'ὧι', - 8104 => 'ὠι', - 8105 => 'ὡι', - 8106 => 'ὢι', - 8107 => 'ὣι', - 8108 => 'ὤι', - 8109 => 'ὥι', - 8110 => 'ὦι', - 8111 => 'ὧι', - 8114 => 'ὰι', - 8115 => 'αι', - 8116 => 'άι', - 8119 => 'ᾶι', - 8120 => 'ᾰ', - 8121 => 'ᾱ', - 8122 => 'ὰ', - 8123 => 'ά', - 8124 => 'αι', - 8126 => 'ι', - 8130 => 'ὴι', - 8131 => 'ηι', - 8132 => 'ήι', - 8135 => 'ῆι', - 8136 => 'ὲ', - 8137 => 'έ', - 8138 => 'ὴ', - 8139 => 'ή', - 8140 => 'ηι', - 8147 => 'ΐ', - 8152 => 'ῐ', - 8153 => 'ῑ', - 8154 => 'ὶ', - 8155 => 'ί', - 8163 => 'ΰ', - 8168 => 'ῠ', - 8169 => 'ῡ', - 8170 => 'ὺ', - 8171 => 'ύ', - 8172 => 'ῥ', - 8178 => 'ὼι', - 8179 => 'ωι', - 8180 => 'ώι', - 8183 => 'ῶι', - 8184 => 'ὸ', - 8185 => 'ό', - 8186 => 'ὼ', - 8187 => 'ώ', - 8188 => 'ωι', - 8209 => '‐', - 8243 => '′′', - 8244 => '′′′', - 8246 => '‵‵', - 8247 => '‵‵‵', - 8279 => '′′′′', - 8304 => '0', - 8305 => 'i', - 8308 => '4', - 8309 => '5', - 8310 => '6', - 8311 => '7', - 8312 => '8', - 8313 => '9', - 8315 => '−', - 8319 => 'n', - 8320 => '0', - 8321 => '1', - 8322 => '2', - 8323 => '3', - 8324 => '4', - 8325 => '5', - 8326 => '6', - 8327 => '7', - 8328 => '8', - 8329 => '9', - 8331 => '−', - 8336 => 'a', - 8337 => 'e', - 8338 => 'o', - 8339 => 'x', - 8340 => 'ə', - 8341 => 'h', - 8342 => 'k', - 8343 => 'l', - 8344 => 'm', - 8345 => 'n', - 8346 => 'p', - 8347 => 's', - 8348 => 't', - 8360 => 'rs', - 8450 => 'c', - 8451 => '°c', - 8455 => 'ɛ', - 8457 => '°f', - 8458 => 'g', - 8459 => 'h', - 8460 => 'h', - 8461 => 'h', - 8462 => 'h', - 8463 => 'ħ', - 8464 => 'i', - 8465 => 'i', - 8466 => 'l', - 8467 => 'l', - 8469 => 'n', - 8470 => 'no', - 8473 => 'p', - 8474 => 'q', - 8475 => 'r', - 8476 => 'r', - 8477 => 'r', - 8480 => 'sm', - 8481 => 'tel', - 8482 => 'tm', - 8484 => 'z', - 8486 => 'ω', - 8488 => 'z', - 8490 => 'k', - 8491 => 'å', - 8492 => 'b', - 8493 => 'c', - 8495 => 'e', - 8496 => 'e', - 8497 => 'f', - 8499 => 'm', - 8500 => 'o', - 8501 => 'א', - 8502 => 'ב', - 8503 => 'ג', - 8504 => 'ד', - 8505 => 'i', - 8507 => 'fax', - 8508 => 'π', - 8509 => 'γ', - 8510 => 'γ', - 8511 => 'π', - 8512 => '∑', - 8517 => 'd', - 8518 => 'd', - 8519 => 'e', - 8520 => 'i', - 8521 => 'j', - 8528 => '1⁄7', - 8529 => '1⁄9', - 8530 => '1⁄10', - 8531 => '1⁄3', - 8532 => '2⁄3', - 8533 => '1⁄5', - 8534 => '2⁄5', - 8535 => '3⁄5', - 8536 => '4⁄5', - 8537 => '1⁄6', - 8538 => '5⁄6', - 8539 => '1⁄8', - 8540 => '3⁄8', - 8541 => '5⁄8', - 8542 => '7⁄8', - 8543 => '1⁄', - 8544 => 'i', - 8545 => 'ii', - 8546 => 'iii', - 8547 => 'iv', - 8548 => 'v', - 8549 => 'vi', - 8550 => 'vii', - 8551 => 'viii', - 8552 => 'ix', - 8553 => 'x', - 8554 => 'xi', - 8555 => 'xii', - 8556 => 'l', - 8557 => 'c', - 8558 => 'd', - 8559 => 'm', - 8560 => 'i', - 8561 => 'ii', - 8562 => 'iii', - 8563 => 'iv', - 8564 => 'v', - 8565 => 'vi', - 8566 => 'vii', - 8567 => 'viii', - 8568 => 'ix', - 8569 => 'x', - 8570 => 'xi', - 8571 => 'xii', - 8572 => 'l', - 8573 => 'c', - 8574 => 'd', - 8575 => 'm', - 8585 => '0⁄3', - 8748 => '∫∫', - 8749 => '∫∫∫', - 8751 => '∮∮', - 8752 => '∮∮∮', - 9001 => '〈', - 9002 => '〉', - 9312 => '1', - 9313 => '2', - 9314 => '3', - 9315 => '4', - 9316 => '5', - 9317 => '6', - 9318 => '7', - 9319 => '8', - 9320 => '9', - 9321 => '10', - 9322 => '11', - 9323 => '12', - 9324 => '13', - 9325 => '14', - 9326 => '15', - 9327 => '16', - 9328 => '17', - 9329 => '18', - 9330 => '19', - 9331 => '20', - 9398 => 'a', - 9399 => 'b', - 9400 => 'c', - 9401 => 'd', - 9402 => 'e', - 9403 => 'f', - 9404 => 'g', - 9405 => 'h', - 9406 => 'i', - 9407 => 'j', - 9408 => 'k', - 9409 => 'l', - 9410 => 'm', - 9411 => 'n', - 9412 => 'o', - 9413 => 'p', - 9414 => 'q', - 9415 => 'r', - 9416 => 's', - 9417 => 't', - 9418 => 'u', - 9419 => 'v', - 9420 => 'w', - 9421 => 'x', - 9422 => 'y', - 9423 => 'z', - 9424 => 'a', - 9425 => 'b', - 9426 => 'c', - 9427 => 'd', - 9428 => 'e', - 9429 => 'f', - 9430 => 'g', - 9431 => 'h', - 9432 => 'i', - 9433 => 'j', - 9434 => 'k', - 9435 => 'l', - 9436 => 'm', - 9437 => 'n', - 9438 => 'o', - 9439 => 'p', - 9440 => 'q', - 9441 => 'r', - 9442 => 's', - 9443 => 't', - 9444 => 'u', - 9445 => 'v', - 9446 => 'w', - 9447 => 'x', - 9448 => 'y', - 9449 => 'z', - 9450 => '0', - 10764 => '∫∫∫∫', - 10972 => '⫝̸', - 11264 => 'ⰰ', - 11265 => 'ⰱ', - 11266 => 'ⰲ', - 11267 => 'ⰳ', - 11268 => 'ⰴ', - 11269 => 'ⰵ', - 11270 => 'ⰶ', - 11271 => 'ⰷ', - 11272 => 'ⰸ', - 11273 => 'ⰹ', - 11274 => 'ⰺ', - 11275 => 'ⰻ', - 11276 => 'ⰼ', - 11277 => 'ⰽ', - 11278 => 'ⰾ', - 11279 => 'ⰿ', - 11280 => 'ⱀ', - 11281 => 'ⱁ', - 11282 => 'ⱂ', - 11283 => 'ⱃ', - 11284 => 'ⱄ', - 11285 => 'ⱅ', - 11286 => 'ⱆ', - 11287 => 'ⱇ', - 11288 => 'ⱈ', - 11289 => 'ⱉ', - 11290 => 'ⱊ', - 11291 => 'ⱋ', - 11292 => 'ⱌ', - 11293 => 'ⱍ', - 11294 => 'ⱎ', - 11295 => 'ⱏ', - 11296 => 'ⱐ', - 11297 => 'ⱑ', - 11298 => 'ⱒ', - 11299 => 'ⱓ', - 11300 => 'ⱔ', - 11301 => 'ⱕ', - 11302 => 'ⱖ', - 11303 => 'ⱗ', - 11304 => 'ⱘ', - 11305 => 'ⱙ', - 11306 => 'ⱚ', - 11307 => 'ⱛ', - 11308 => 'ⱜ', - 11309 => 'ⱝ', - 11310 => 'ⱞ', - 11360 => 'ⱡ', - 11362 => 'ɫ', - 11363 => 'ᵽ', - 11364 => 'ɽ', - 11367 => 'ⱨ', - 11369 => 'ⱪ', - 11371 => 'ⱬ', - 11373 => 'ɑ', - 11374 => 'ɱ', - 11375 => 'ɐ', - 11376 => 'ɒ', - 11378 => 'ⱳ', - 11381 => 'ⱶ', - 11388 => 'j', - 11389 => 'v', - 11390 => 'ȿ', - 11391 => 'ɀ', - 11392 => 'ⲁ', - 11394 => 'ⲃ', - 11396 => 'ⲅ', - 11398 => 'ⲇ', - 11400 => 'ⲉ', - 11402 => 'ⲋ', - 11404 => 'ⲍ', - 11406 => 'ⲏ', - 11408 => 'ⲑ', - 11410 => 'ⲓ', - 11412 => 'ⲕ', - 11414 => 'ⲗ', - 11416 => 'ⲙ', - 11418 => 'ⲛ', - 11420 => 'ⲝ', - 11422 => 'ⲟ', - 11424 => 'ⲡ', - 11426 => 'ⲣ', - 11428 => 'ⲥ', - 11430 => 'ⲧ', - 11432 => 'ⲩ', - 11434 => 'ⲫ', - 11436 => 'ⲭ', - 11438 => 'ⲯ', - 11440 => 'ⲱ', - 11442 => 'ⲳ', - 11444 => 'ⲵ', - 11446 => 'ⲷ', - 11448 => 'ⲹ', - 11450 => 'ⲻ', - 11452 => 'ⲽ', - 11454 => 'ⲿ', - 11456 => 'ⳁ', - 11458 => 'ⳃ', - 11460 => 'ⳅ', - 11462 => 'ⳇ', - 11464 => 'ⳉ', - 11466 => 'ⳋ', - 11468 => 'ⳍ', - 11470 => 'ⳏ', - 11472 => 'ⳑ', - 11474 => 'ⳓ', - 11476 => 'ⳕ', - 11478 => 'ⳗ', - 11480 => 'ⳙ', - 11482 => 'ⳛ', - 11484 => 'ⳝ', - 11486 => 'ⳟ', - 11488 => 'ⳡ', - 11490 => 'ⳣ', - 11499 => 'ⳬ', - 11501 => 'ⳮ', - 11506 => 'ⳳ', - 11631 => 'ⵡ', - 11935 => '母', - 12019 => '龟', - 12032 => '一', - 12033 => '丨', - 12034 => '丶', - 12035 => '丿', - 12036 => '乙', - 12037 => '亅', - 12038 => '二', - 12039 => '亠', - 12040 => '人', - 12041 => '儿', - 12042 => '入', - 12043 => '八', - 12044 => '冂', - 12045 => '冖', - 12046 => '冫', - 12047 => '几', - 12048 => '凵', - 12049 => '刀', - 12050 => '力', - 12051 => '勹', - 12052 => '匕', - 12053 => '匚', - 12054 => '匸', - 12055 => '十', - 12056 => '卜', - 12057 => '卩', - 12058 => '厂', - 12059 => '厶', - 12060 => '又', - 12061 => '口', - 12062 => '囗', - 12063 => '土', - 12064 => '士', - 12065 => '夂', - 12066 => '夊', - 12067 => '夕', - 12068 => '大', - 12069 => '女', - 12070 => '子', - 12071 => '宀', - 12072 => '寸', - 12073 => '小', - 12074 => '尢', - 12075 => '尸', - 12076 => '屮', - 12077 => '山', - 12078 => '巛', - 12079 => '工', - 12080 => '己', - 12081 => '巾', - 12082 => '干', - 12083 => '幺', - 12084 => '广', - 12085 => '廴', - 12086 => '廾', - 12087 => '弋', - 12088 => '弓', - 12089 => '彐', - 12090 => '彡', - 12091 => '彳', - 12092 => '心', - 12093 => '戈', - 12094 => '戶', - 12095 => '手', - 12096 => '支', - 12097 => '攴', - 12098 => '文', - 12099 => '斗', - 12100 => '斤', - 12101 => '方', - 12102 => '无', - 12103 => '日', - 12104 => '曰', - 12105 => '月', - 12106 => '木', - 12107 => '欠', - 12108 => '止', - 12109 => '歹', - 12110 => '殳', - 12111 => '毋', - 12112 => '比', - 12113 => '毛', - 12114 => '氏', - 12115 => '气', - 12116 => '水', - 12117 => '火', - 12118 => '爪', - 12119 => '父', - 12120 => '爻', - 12121 => '爿', - 12122 => '片', - 12123 => '牙', - 12124 => '牛', - 12125 => '犬', - 12126 => '玄', - 12127 => '玉', - 12128 => '瓜', - 12129 => '瓦', - 12130 => '甘', - 12131 => '生', - 12132 => '用', - 12133 => '田', - 12134 => '疋', - 12135 => '疒', - 12136 => '癶', - 12137 => '白', - 12138 => '皮', - 12139 => '皿', - 12140 => '目', - 12141 => '矛', - 12142 => '矢', - 12143 => '石', - 12144 => '示', - 12145 => '禸', - 12146 => '禾', - 12147 => '穴', - 12148 => '立', - 12149 => '竹', - 12150 => '米', - 12151 => '糸', - 12152 => '缶', - 12153 => '网', - 12154 => '羊', - 12155 => '羽', - 12156 => '老', - 12157 => '而', - 12158 => '耒', - 12159 => '耳', - 12160 => '聿', - 12161 => '肉', - 12162 => '臣', - 12163 => '自', - 12164 => '至', - 12165 => '臼', - 12166 => '舌', - 12167 => '舛', - 12168 => '舟', - 12169 => '艮', - 12170 => '色', - 12171 => '艸', - 12172 => '虍', - 12173 => '虫', - 12174 => '血', - 12175 => '行', - 12176 => '衣', - 12177 => '襾', - 12178 => '見', - 12179 => '角', - 12180 => '言', - 12181 => '谷', - 12182 => '豆', - 12183 => '豕', - 12184 => '豸', - 12185 => '貝', - 12186 => '赤', - 12187 => '走', - 12188 => '足', - 12189 => '身', - 12190 => '車', - 12191 => '辛', - 12192 => '辰', - 12193 => '辵', - 12194 => '邑', - 12195 => '酉', - 12196 => '釆', - 12197 => '里', - 12198 => '金', - 12199 => '長', - 12200 => '門', - 12201 => '阜', - 12202 => '隶', - 12203 => '隹', - 12204 => '雨', - 12205 => '靑', - 12206 => '非', - 12207 => '面', - 12208 => '革', - 12209 => '韋', - 12210 => '韭', - 12211 => '音', - 12212 => '頁', - 12213 => '風', - 12214 => '飛', - 12215 => '食', - 12216 => '首', - 12217 => '香', - 12218 => '馬', - 12219 => '骨', - 12220 => '高', - 12221 => '髟', - 12222 => '鬥', - 12223 => '鬯', - 12224 => '鬲', - 12225 => '鬼', - 12226 => '魚', - 12227 => '鳥', - 12228 => '鹵', - 12229 => '鹿', - 12230 => '麥', - 12231 => '麻', - 12232 => '黃', - 12233 => '黍', - 12234 => '黑', - 12235 => '黹', - 12236 => '黽', - 12237 => '鼎', - 12238 => '鼓', - 12239 => '鼠', - 12240 => '鼻', - 12241 => '齊', - 12242 => '齒', - 12243 => '龍', - 12244 => '龜', - 12245 => '龠', - 12290 => '.', - 12342 => '〒', - 12344 => '十', - 12345 => '卄', - 12346 => '卅', - 12447 => 'より', - 12543 => 'コト', - 12593 => 'ᄀ', - 12594 => 'ᄁ', - 12595 => 'ᆪ', - 12596 => 'ᄂ', - 12597 => 'ᆬ', - 12598 => 'ᆭ', - 12599 => 'ᄃ', - 12600 => 'ᄄ', - 12601 => 'ᄅ', - 12602 => 'ᆰ', - 12603 => 'ᆱ', - 12604 => 'ᆲ', - 12605 => 'ᆳ', - 12606 => 'ᆴ', - 12607 => 'ᆵ', - 12608 => 'ᄚ', - 12609 => 'ᄆ', - 12610 => 'ᄇ', - 12611 => 'ᄈ', - 12612 => 'ᄡ', - 12613 => 'ᄉ', - 12614 => 'ᄊ', - 12615 => 'ᄋ', - 12616 => 'ᄌ', - 12617 => 'ᄍ', - 12618 => 'ᄎ', - 12619 => 'ᄏ', - 12620 => 'ᄐ', - 12621 => 'ᄑ', - 12622 => 'ᄒ', - 12623 => 'ᅡ', - 12624 => 'ᅢ', - 12625 => 'ᅣ', - 12626 => 'ᅤ', - 12627 => 'ᅥ', - 12628 => 'ᅦ', - 12629 => 'ᅧ', - 12630 => 'ᅨ', - 12631 => 'ᅩ', - 12632 => 'ᅪ', - 12633 => 'ᅫ', - 12634 => 'ᅬ', - 12635 => 'ᅭ', - 12636 => 'ᅮ', - 12637 => 'ᅯ', - 12638 => 'ᅰ', - 12639 => 'ᅱ', - 12640 => 'ᅲ', - 12641 => 'ᅳ', - 12642 => 'ᅴ', - 12643 => 'ᅵ', - 12645 => 'ᄔ', - 12646 => 'ᄕ', - 12647 => 'ᇇ', - 12648 => 'ᇈ', - 12649 => 'ᇌ', - 12650 => 'ᇎ', - 12651 => 'ᇓ', - 12652 => 'ᇗ', - 12653 => 'ᇙ', - 12654 => 'ᄜ', - 12655 => 'ᇝ', - 12656 => 'ᇟ', - 12657 => 'ᄝ', - 12658 => 'ᄞ', - 12659 => 'ᄠ', - 12660 => 'ᄢ', - 12661 => 'ᄣ', - 12662 => 'ᄧ', - 12663 => 'ᄩ', - 12664 => 'ᄫ', - 12665 => 'ᄬ', - 12666 => 'ᄭ', - 12667 => 'ᄮ', - 12668 => 'ᄯ', - 12669 => 'ᄲ', - 12670 => 'ᄶ', - 12671 => 'ᅀ', - 12672 => 'ᅇ', - 12673 => 'ᅌ', - 12674 => 'ᇱ', - 12675 => 'ᇲ', - 12676 => 'ᅗ', - 12677 => 'ᅘ', - 12678 => 'ᅙ', - 12679 => 'ᆄ', - 12680 => 'ᆅ', - 12681 => 'ᆈ', - 12682 => 'ᆑ', - 12683 => 'ᆒ', - 12684 => 'ᆔ', - 12685 => 'ᆞ', - 12686 => 'ᆡ', - 12690 => '一', - 12691 => '二', - 12692 => '三', - 12693 => '四', - 12694 => '上', - 12695 => '中', - 12696 => '下', - 12697 => '甲', - 12698 => '乙', - 12699 => '丙', - 12700 => '丁', - 12701 => '天', - 12702 => '地', - 12703 => '人', - 12868 => '問', - 12869 => '幼', - 12870 => '文', - 12871 => '箏', - 12880 => 'pte', - 12881 => '21', - 12882 => '22', - 12883 => '23', - 12884 => '24', - 12885 => '25', - 12886 => '26', - 12887 => '27', - 12888 => '28', - 12889 => '29', - 12890 => '30', - 12891 => '31', - 12892 => '32', - 12893 => '33', - 12894 => '34', - 12895 => '35', - 12896 => 'ᄀ', - 12897 => 'ᄂ', - 12898 => 'ᄃ', - 12899 => 'ᄅ', - 12900 => 'ᄆ', - 12901 => 'ᄇ', - 12902 => 'ᄉ', - 12903 => 'ᄋ', - 12904 => 'ᄌ', - 12905 => 'ᄎ', - 12906 => 'ᄏ', - 12907 => 'ᄐ', - 12908 => 'ᄑ', - 12909 => 'ᄒ', - 12910 => '가', - 12911 => '나', - 12912 => '다', - 12913 => '라', - 12914 => '마', - 12915 => '바', - 12916 => '사', - 12917 => '아', - 12918 => '자', - 12919 => '차', - 12920 => '카', - 12921 => '타', - 12922 => '파', - 12923 => '하', - 12924 => '참고', - 12925 => '주의', - 12926 => '우', - 12928 => '一', - 12929 => '二', - 12930 => '三', - 12931 => '四', - 12932 => '五', - 12933 => '六', - 12934 => '七', - 12935 => '八', - 12936 => '九', - 12937 => '十', - 12938 => '月', - 12939 => '火', - 12940 => '水', - 12941 => '木', - 12942 => '金', - 12943 => '土', - 12944 => '日', - 12945 => '株', - 12946 => '有', - 12947 => '社', - 12948 => '名', - 12949 => '特', - 12950 => '財', - 12951 => '祝', - 12952 => '労', - 12953 => '秘', - 12954 => '男', - 12955 => '女', - 12956 => '適', - 12957 => '優', - 12958 => '印', - 12959 => '注', - 12960 => '項', - 12961 => '休', - 12962 => '写', - 12963 => '正', - 12964 => '上', - 12965 => '中', - 12966 => '下', - 12967 => '左', - 12968 => '右', - 12969 => '医', - 12970 => '宗', - 12971 => '学', - 12972 => '監', - 12973 => '企', - 12974 => '資', - 12975 => '協', - 12976 => '夜', - 12977 => '36', - 12978 => '37', - 12979 => '38', - 12980 => '39', - 12981 => '40', - 12982 => '41', - 12983 => '42', - 12984 => '43', - 12985 => '44', - 12986 => '45', - 12987 => '46', - 12988 => '47', - 12989 => '48', - 12990 => '49', - 12991 => '50', - 12992 => '1月', - 12993 => '2月', - 12994 => '3月', - 12995 => '4月', - 12996 => '5月', - 12997 => '6月', - 12998 => '7月', - 12999 => '8月', - 13000 => '9月', - 13001 => '10月', - 13002 => '11月', - 13003 => '12月', - 13004 => 'hg', - 13005 => 'erg', - 13006 => 'ev', - 13007 => 'ltd', - 13008 => 'ア', - 13009 => 'イ', - 13010 => 'ウ', - 13011 => 'エ', - 13012 => 'オ', - 13013 => 'カ', - 13014 => 'キ', - 13015 => 'ク', - 13016 => 'ケ', - 13017 => 'コ', - 13018 => 'サ', - 13019 => 'シ', - 13020 => 'ス', - 13021 => 'セ', - 13022 => 'ソ', - 13023 => 'タ', - 13024 => 'チ', - 13025 => 'ツ', - 13026 => 'テ', - 13027 => 'ト', - 13028 => 'ナ', - 13029 => 'ニ', - 13030 => 'ヌ', - 13031 => 'ネ', - 13032 => 'ノ', - 13033 => 'ハ', - 13034 => 'ヒ', - 13035 => 'フ', - 13036 => 'ヘ', - 13037 => 'ホ', - 13038 => 'マ', - 13039 => 'ミ', - 13040 => 'ム', - 13041 => 'メ', - 13042 => 'モ', - 13043 => 'ヤ', - 13044 => 'ユ', - 13045 => 'ヨ', - 13046 => 'ラ', - 13047 => 'リ', - 13048 => 'ル', - 13049 => 'レ', - 13050 => 'ロ', - 13051 => 'ワ', - 13052 => 'ヰ', - 13053 => 'ヱ', - 13054 => 'ヲ', - 13055 => '令和', - 13056 => 'アパート', - 13057 => 'アルファ', - 13058 => 'アンペア', - 13059 => 'アール', - 13060 => 'イニング', - 13061 => 'インチ', - 13062 => 'ウォン', - 13063 => 'エスクード', - 13064 => 'エーカー', - 13065 => 'オンス', - 13066 => 'オーム', - 13067 => 'カイリ', - 13068 => 'カラット', - 13069 => 'カロリー', - 13070 => 'ガロン', - 13071 => 'ガンマ', - 13072 => 'ギガ', - 13073 => 'ギニー', - 13074 => 'キュリー', - 13075 => 'ギルダー', - 13076 => 'キロ', - 13077 => 'キログラム', - 13078 => 'キロメートル', - 13079 => 'キロワット', - 13080 => 'グラム', - 13081 => 'グラムトン', - 13082 => 'クルゼイロ', - 13083 => 'クローネ', - 13084 => 'ケース', - 13085 => 'コルナ', - 13086 => 'コーポ', - 13087 => 'サイクル', - 13088 => 'サンチーム', - 13089 => 'シリング', - 13090 => 'センチ', - 13091 => 'セント', - 13092 => 'ダース', - 13093 => 'デシ', - 13094 => 'ドル', - 13095 => 'トン', - 13096 => 'ナノ', - 13097 => 'ノット', - 13098 => 'ハイツ', - 13099 => 'パーセント', - 13100 => 'パーツ', - 13101 => 'バーレル', - 13102 => 'ピアストル', - 13103 => 'ピクル', - 13104 => 'ピコ', - 13105 => 'ビル', - 13106 => 'ファラッド', - 13107 => 'フィート', - 13108 => 'ブッシェル', - 13109 => 'フラン', - 13110 => 'ヘクタール', - 13111 => 'ペソ', - 13112 => 'ペニヒ', - 13113 => 'ヘルツ', - 13114 => 'ペンス', - 13115 => 'ページ', - 13116 => 'ベータ', - 13117 => 'ポイント', - 13118 => 'ボルト', - 13119 => 'ホン', - 13120 => 'ポンド', - 13121 => 'ホール', - 13122 => 'ホーン', - 13123 => 'マイクロ', - 13124 => 'マイル', - 13125 => 'マッハ', - 13126 => 'マルク', - 13127 => 'マンション', - 13128 => 'ミクロン', - 13129 => 'ミリ', - 13130 => 'ミリバール', - 13131 => 'メガ', - 13132 => 'メガトン', - 13133 => 'メートル', - 13134 => 'ヤード', - 13135 => 'ヤール', - 13136 => 'ユアン', - 13137 => 'リットル', - 13138 => 'リラ', - 13139 => 'ルピー', - 13140 => 'ルーブル', - 13141 => 'レム', - 13142 => 'レントゲン', - 13143 => 'ワット', - 13144 => '0点', - 13145 => '1点', - 13146 => '2点', - 13147 => '3点', - 13148 => '4点', - 13149 => '5点', - 13150 => '6点', - 13151 => '7点', - 13152 => '8点', - 13153 => '9点', - 13154 => '10点', - 13155 => '11点', - 13156 => '12点', - 13157 => '13点', - 13158 => '14点', - 13159 => '15点', - 13160 => '16点', - 13161 => '17点', - 13162 => '18点', - 13163 => '19点', - 13164 => '20点', - 13165 => '21点', - 13166 => '22点', - 13167 => '23点', - 13168 => '24点', - 13169 => 'hpa', - 13170 => 'da', - 13171 => 'au', - 13172 => 'bar', - 13173 => 'ov', - 13174 => 'pc', - 13175 => 'dm', - 13176 => 'dm2', - 13177 => 'dm3', - 13178 => 'iu', - 13179 => '平成', - 13180 => '昭和', - 13181 => '大正', - 13182 => '明治', - 13183 => '株式会社', - 13184 => 'pa', - 13185 => 'na', - 13186 => 'μa', - 13187 => 'ma', - 13188 => 'ka', - 13189 => 'kb', - 13190 => 'mb', - 13191 => 'gb', - 13192 => 'cal', - 13193 => 'kcal', - 13194 => 'pf', - 13195 => 'nf', - 13196 => 'μf', - 13197 => 'μg', - 13198 => 'mg', - 13199 => 'kg', - 13200 => 'hz', - 13201 => 'khz', - 13202 => 'mhz', - 13203 => 'ghz', - 13204 => 'thz', - 13205 => 'μl', - 13206 => 'ml', - 13207 => 'dl', - 13208 => 'kl', - 13209 => 'fm', - 13210 => 'nm', - 13211 => 'μm', - 13212 => 'mm', - 13213 => 'cm', - 13214 => 'km', - 13215 => 'mm2', - 13216 => 'cm2', - 13217 => 'm2', - 13218 => 'km2', - 13219 => 'mm3', - 13220 => 'cm3', - 13221 => 'm3', - 13222 => 'km3', - 13223 => 'm∕s', - 13224 => 'm∕s2', - 13225 => 'pa', - 13226 => 'kpa', - 13227 => 'mpa', - 13228 => 'gpa', - 13229 => 'rad', - 13230 => 'rad∕s', - 13231 => 'rad∕s2', - 13232 => 'ps', - 13233 => 'ns', - 13234 => 'μs', - 13235 => 'ms', - 13236 => 'pv', - 13237 => 'nv', - 13238 => 'μv', - 13239 => 'mv', - 13240 => 'kv', - 13241 => 'mv', - 13242 => 'pw', - 13243 => 'nw', - 13244 => 'μw', - 13245 => 'mw', - 13246 => 'kw', - 13247 => 'mw', - 13248 => 'kω', - 13249 => 'mω', - 13251 => 'bq', - 13252 => 'cc', - 13253 => 'cd', - 13254 => 'c∕kg', - 13256 => 'db', - 13257 => 'gy', - 13258 => 'ha', - 13259 => 'hp', - 13260 => 'in', - 13261 => 'kk', - 13262 => 'km', - 13263 => 'kt', - 13264 => 'lm', - 13265 => 'ln', - 13266 => 'log', - 13267 => 'lx', - 13268 => 'mb', - 13269 => 'mil', - 13270 => 'mol', - 13271 => 'ph', - 13273 => 'ppm', - 13274 => 'pr', - 13275 => 'sr', - 13276 => 'sv', - 13277 => 'wb', - 13278 => 'v∕m', - 13279 => 'a∕m', - 13280 => '1日', - 13281 => '2日', - 13282 => '3日', - 13283 => '4日', - 13284 => '5日', - 13285 => '6日', - 13286 => '7日', - 13287 => '8日', - 13288 => '9日', - 13289 => '10日', - 13290 => '11日', - 13291 => '12日', - 13292 => '13日', - 13293 => '14日', - 13294 => '15日', - 13295 => '16日', - 13296 => '17日', - 13297 => '18日', - 13298 => '19日', - 13299 => '20日', - 13300 => '21日', - 13301 => '22日', - 13302 => '23日', - 13303 => '24日', - 13304 => '25日', - 13305 => '26日', - 13306 => '27日', - 13307 => '28日', - 13308 => '29日', - 13309 => '30日', - 13310 => '31日', - 13311 => 'gal', - 42560 => 'ꙁ', - 42562 => 'ꙃ', - 42564 => 'ꙅ', - 42566 => 'ꙇ', - 42568 => 'ꙉ', - 42570 => 'ꙋ', - 42572 => 'ꙍ', - 42574 => 'ꙏ', - 42576 => 'ꙑ', - 42578 => 'ꙓ', - 42580 => 'ꙕ', - 42582 => 'ꙗ', - 42584 => 'ꙙ', - 42586 => 'ꙛ', - 42588 => 'ꙝ', - 42590 => 'ꙟ', - 42592 => 'ꙡ', - 42594 => 'ꙣ', - 42596 => 'ꙥ', - 42598 => 'ꙧ', - 42600 => 'ꙩ', - 42602 => 'ꙫ', - 42604 => 'ꙭ', - 42624 => 'ꚁ', - 42626 => 'ꚃ', - 42628 => 'ꚅ', - 42630 => 'ꚇ', - 42632 => 'ꚉ', - 42634 => 'ꚋ', - 42636 => 'ꚍ', - 42638 => 'ꚏ', - 42640 => 'ꚑ', - 42642 => 'ꚓ', - 42644 => 'ꚕ', - 42646 => 'ꚗ', - 42648 => 'ꚙ', - 42650 => 'ꚛ', - 42652 => 'ъ', - 42653 => 'ь', - 42786 => 'ꜣ', - 42788 => 'ꜥ', - 42790 => 'ꜧ', - 42792 => 'ꜩ', - 42794 => 'ꜫ', - 42796 => 'ꜭ', - 42798 => 'ꜯ', - 42802 => 'ꜳ', - 42804 => 'ꜵ', - 42806 => 'ꜷ', - 42808 => 'ꜹ', - 42810 => 'ꜻ', - 42812 => 'ꜽ', - 42814 => 'ꜿ', - 42816 => 'ꝁ', - 42818 => 'ꝃ', - 42820 => 'ꝅ', - 42822 => 'ꝇ', - 42824 => 'ꝉ', - 42826 => 'ꝋ', - 42828 => 'ꝍ', - 42830 => 'ꝏ', - 42832 => 'ꝑ', - 42834 => 'ꝓ', - 42836 => 'ꝕ', - 42838 => 'ꝗ', - 42840 => 'ꝙ', - 42842 => 'ꝛ', - 42844 => 'ꝝ', - 42846 => 'ꝟ', - 42848 => 'ꝡ', - 42850 => 'ꝣ', - 42852 => 'ꝥ', - 42854 => 'ꝧ', - 42856 => 'ꝩ', - 42858 => 'ꝫ', - 42860 => 'ꝭ', - 42862 => 'ꝯ', - 42864 => 'ꝯ', - 42873 => 'ꝺ', - 42875 => 'ꝼ', - 42877 => 'ᵹ', - 42878 => 'ꝿ', - 42880 => 'ꞁ', - 42882 => 'ꞃ', - 42884 => 'ꞅ', - 42886 => 'ꞇ', - 42891 => 'ꞌ', - 42893 => 'ɥ', - 42896 => 'ꞑ', - 42898 => 'ꞓ', - 42902 => 'ꞗ', - 42904 => 'ꞙ', - 42906 => 'ꞛ', - 42908 => 'ꞝ', - 42910 => 'ꞟ', - 42912 => 'ꞡ', - 42914 => 'ꞣ', - 42916 => 'ꞥ', - 42918 => 'ꞧ', - 42920 => 'ꞩ', - 42922 => 'ɦ', - 42923 => 'ɜ', - 42924 => 'ɡ', - 42925 => 'ɬ', - 42926 => 'ɪ', - 42928 => 'ʞ', - 42929 => 'ʇ', - 42930 => 'ʝ', - 42931 => 'ꭓ', - 42932 => 'ꞵ', - 42934 => 'ꞷ', - 42936 => 'ꞹ', - 42938 => 'ꞻ', - 42940 => 'ꞽ', - 42942 => 'ꞿ', - 42946 => 'ꟃ', - 42948 => 'ꞔ', - 42949 => 'ʂ', - 42950 => 'ᶎ', - 42951 => 'ꟈ', - 42953 => 'ꟊ', - 42997 => 'ꟶ', - 43000 => 'ħ', - 43001 => 'œ', - 43868 => 'ꜧ', - 43869 => 'ꬷ', - 43870 => 'ɫ', - 43871 => 'ꭒ', - 43881 => 'ʍ', - 43888 => 'Ꭰ', - 43889 => 'Ꭱ', - 43890 => 'Ꭲ', - 43891 => 'Ꭳ', - 43892 => 'Ꭴ', - 43893 => 'Ꭵ', - 43894 => 'Ꭶ', - 43895 => 'Ꭷ', - 43896 => 'Ꭸ', - 43897 => 'Ꭹ', - 43898 => 'Ꭺ', - 43899 => 'Ꭻ', - 43900 => 'Ꭼ', - 43901 => 'Ꭽ', - 43902 => 'Ꭾ', - 43903 => 'Ꭿ', - 43904 => 'Ꮀ', - 43905 => 'Ꮁ', - 43906 => 'Ꮂ', - 43907 => 'Ꮃ', - 43908 => 'Ꮄ', - 43909 => 'Ꮅ', - 43910 => 'Ꮆ', - 43911 => 'Ꮇ', - 43912 => 'Ꮈ', - 43913 => 'Ꮉ', - 43914 => 'Ꮊ', - 43915 => 'Ꮋ', - 43916 => 'Ꮌ', - 43917 => 'Ꮍ', - 43918 => 'Ꮎ', - 43919 => 'Ꮏ', - 43920 => 'Ꮐ', - 43921 => 'Ꮑ', - 43922 => 'Ꮒ', - 43923 => 'Ꮓ', - 43924 => 'Ꮔ', - 43925 => 'Ꮕ', - 43926 => 'Ꮖ', - 43927 => 'Ꮗ', - 43928 => 'Ꮘ', - 43929 => 'Ꮙ', - 43930 => 'Ꮚ', - 43931 => 'Ꮛ', - 43932 => 'Ꮜ', - 43933 => 'Ꮝ', - 43934 => 'Ꮞ', - 43935 => 'Ꮟ', - 43936 => 'Ꮠ', - 43937 => 'Ꮡ', - 43938 => 'Ꮢ', - 43939 => 'Ꮣ', - 43940 => 'Ꮤ', - 43941 => 'Ꮥ', - 43942 => 'Ꮦ', - 43943 => 'Ꮧ', - 43944 => 'Ꮨ', - 43945 => 'Ꮩ', - 43946 => 'Ꮪ', - 43947 => 'Ꮫ', - 43948 => 'Ꮬ', - 43949 => 'Ꮭ', - 43950 => 'Ꮮ', - 43951 => 'Ꮯ', - 43952 => 'Ꮰ', - 43953 => 'Ꮱ', - 43954 => 'Ꮲ', - 43955 => 'Ꮳ', - 43956 => 'Ꮴ', - 43957 => 'Ꮵ', - 43958 => 'Ꮶ', - 43959 => 'Ꮷ', - 43960 => 'Ꮸ', - 43961 => 'Ꮹ', - 43962 => 'Ꮺ', - 43963 => 'Ꮻ', - 43964 => 'Ꮼ', - 43965 => 'Ꮽ', - 43966 => 'Ꮾ', - 43967 => 'Ꮿ', - 63744 => '豈', - 63745 => '更', - 63746 => '車', - 63747 => '賈', - 63748 => '滑', - 63749 => '串', - 63750 => '句', - 63751 => '龜', - 63752 => '龜', - 63753 => '契', - 63754 => '金', - 63755 => '喇', - 63756 => '奈', - 63757 => '懶', - 63758 => '癩', - 63759 => '羅', - 63760 => '蘿', - 63761 => '螺', - 63762 => '裸', - 63763 => '邏', - 63764 => '樂', - 63765 => '洛', - 63766 => '烙', - 63767 => '珞', - 63768 => '落', - 63769 => '酪', - 63770 => '駱', - 63771 => '亂', - 63772 => '卵', - 63773 => '欄', - 63774 => '爛', - 63775 => '蘭', - 63776 => '鸞', - 63777 => '嵐', - 63778 => '濫', - 63779 => '藍', - 63780 => '襤', - 63781 => '拉', - 63782 => '臘', - 63783 => '蠟', - 63784 => '廊', - 63785 => '朗', - 63786 => '浪', - 63787 => '狼', - 63788 => '郎', - 63789 => '來', - 63790 => '冷', - 63791 => '勞', - 63792 => '擄', - 63793 => '櫓', - 63794 => '爐', - 63795 => '盧', - 63796 => '老', - 63797 => '蘆', - 63798 => '虜', - 63799 => '路', - 63800 => '露', - 63801 => '魯', - 63802 => '鷺', - 63803 => '碌', - 63804 => '祿', - 63805 => '綠', - 63806 => '菉', - 63807 => '錄', - 63808 => '鹿', - 63809 => '論', - 63810 => '壟', - 63811 => '弄', - 63812 => '籠', - 63813 => '聾', - 63814 => '牢', - 63815 => '磊', - 63816 => '賂', - 63817 => '雷', - 63818 => '壘', - 63819 => '屢', - 63820 => '樓', - 63821 => '淚', - 63822 => '漏', - 63823 => '累', - 63824 => '縷', - 63825 => '陋', - 63826 => '勒', - 63827 => '肋', - 63828 => '凜', - 63829 => '凌', - 63830 => '稜', - 63831 => '綾', - 63832 => '菱', - 63833 => '陵', - 63834 => '讀', - 63835 => '拏', - 63836 => '樂', - 63837 => '諾', - 63838 => '丹', - 63839 => '寧', - 63840 => '怒', - 63841 => '率', - 63842 => '異', - 63843 => '北', - 63844 => '磻', - 63845 => '便', - 63846 => '復', - 63847 => '不', - 63848 => '泌', - 63849 => '數', - 63850 => '索', - 63851 => '參', - 63852 => '塞', - 63853 => '省', - 63854 => '葉', - 63855 => '說', - 63856 => '殺', - 63857 => '辰', - 63858 => '沈', - 63859 => '拾', - 63860 => '若', - 63861 => '掠', - 63862 => '略', - 63863 => '亮', - 63864 => '兩', - 63865 => '凉', - 63866 => '梁', - 63867 => '糧', - 63868 => '良', - 63869 => '諒', - 63870 => '量', - 63871 => '勵', - 63872 => '呂', - 63873 => '女', - 63874 => '廬', - 63875 => '旅', - 63876 => '濾', - 63877 => '礪', - 63878 => '閭', - 63879 => '驪', - 63880 => '麗', - 63881 => '黎', - 63882 => '力', - 63883 => '曆', - 63884 => '歷', - 63885 => '轢', - 63886 => '年', - 63887 => '憐', - 63888 => '戀', - 63889 => '撚', - 63890 => '漣', - 63891 => '煉', - 63892 => '璉', - 63893 => '秊', - 63894 => '練', - 63895 => '聯', - 63896 => '輦', - 63897 => '蓮', - 63898 => '連', - 63899 => '鍊', - 63900 => '列', - 63901 => '劣', - 63902 => '咽', - 63903 => '烈', - 63904 => '裂', - 63905 => '說', - 63906 => '廉', - 63907 => '念', - 63908 => '捻', - 63909 => '殮', - 63910 => '簾', - 63911 => '獵', - 63912 => '令', - 63913 => '囹', - 63914 => '寧', - 63915 => '嶺', - 63916 => '怜', - 63917 => '玲', - 63918 => '瑩', - 63919 => '羚', - 63920 => '聆', - 63921 => '鈴', - 63922 => '零', - 63923 => '靈', - 63924 => '領', - 63925 => '例', - 63926 => '禮', - 63927 => '醴', - 63928 => '隸', - 63929 => '惡', - 63930 => '了', - 63931 => '僚', - 63932 => '寮', - 63933 => '尿', - 63934 => '料', - 63935 => '樂', - 63936 => '燎', - 63937 => '療', - 63938 => '蓼', - 63939 => '遼', - 63940 => '龍', - 63941 => '暈', - 63942 => '阮', - 63943 => '劉', - 63944 => '杻', - 63945 => '柳', - 63946 => '流', - 63947 => '溜', - 63948 => '琉', - 63949 => '留', - 63950 => '硫', - 63951 => '紐', - 63952 => '類', - 63953 => '六', - 63954 => '戮', - 63955 => '陸', - 63956 => '倫', - 63957 => '崙', - 63958 => '淪', - 63959 => '輪', - 63960 => '律', - 63961 => '慄', - 63962 => '栗', - 63963 => '率', - 63964 => '隆', - 63965 => '利', - 63966 => '吏', - 63967 => '履', - 63968 => '易', - 63969 => '李', - 63970 => '梨', - 63971 => '泥', - 63972 => '理', - 63973 => '痢', - 63974 => '罹', - 63975 => '裏', - 63976 => '裡', - 63977 => '里', - 63978 => '離', - 63979 => '匿', - 63980 => '溺', - 63981 => '吝', - 63982 => '燐', - 63983 => '璘', - 63984 => '藺', - 63985 => '隣', - 63986 => '鱗', - 63987 => '麟', - 63988 => '林', - 63989 => '淋', - 63990 => '臨', - 63991 => '立', - 63992 => '笠', - 63993 => '粒', - 63994 => '狀', - 63995 => '炙', - 63996 => '識', - 63997 => '什', - 63998 => '茶', - 63999 => '刺', - 64000 => '切', - 64001 => '度', - 64002 => '拓', - 64003 => '糖', - 64004 => '宅', - 64005 => '洞', - 64006 => '暴', - 64007 => '輻', - 64008 => '行', - 64009 => '降', - 64010 => '見', - 64011 => '廓', - 64012 => '兀', - 64013 => '嗀', - 64016 => '塚', - 64018 => '晴', - 64021 => '凞', - 64022 => '猪', - 64023 => '益', - 64024 => '礼', - 64025 => '神', - 64026 => '祥', - 64027 => '福', - 64028 => '靖', - 64029 => '精', - 64030 => '羽', - 64032 => '蘒', - 64034 => '諸', - 64037 => '逸', - 64038 => '都', - 64042 => '飯', - 64043 => '飼', - 64044 => '館', - 64045 => '鶴', - 64046 => '郞', - 64047 => '隷', - 64048 => '侮', - 64049 => '僧', - 64050 => '免', - 64051 => '勉', - 64052 => '勤', - 64053 => '卑', - 64054 => '喝', - 64055 => '嘆', - 64056 => '器', - 64057 => '塀', - 64058 => '墨', - 64059 => '層', - 64060 => '屮', - 64061 => '悔', - 64062 => '慨', - 64063 => '憎', - 64064 => '懲', - 64065 => '敏', - 64066 => '既', - 64067 => '暑', - 64068 => '梅', - 64069 => '海', - 64070 => '渚', - 64071 => '漢', - 64072 => '煮', - 64073 => '爫', - 64074 => '琢', - 64075 => '碑', - 64076 => '社', - 64077 => '祉', - 64078 => '祈', - 64079 => '祐', - 64080 => '祖', - 64081 => '祝', - 64082 => '禍', - 64083 => '禎', - 64084 => '穀', - 64085 => '突', - 64086 => '節', - 64087 => '練', - 64088 => '縉', - 64089 => '繁', - 64090 => '署', - 64091 => '者', - 64092 => '臭', - 64093 => '艹', - 64094 => '艹', - 64095 => '著', - 64096 => '褐', - 64097 => '視', - 64098 => '謁', - 64099 => '謹', - 64100 => '賓', - 64101 => '贈', - 64102 => '辶', - 64103 => '逸', - 64104 => '難', - 64105 => '響', - 64106 => '頻', - 64107 => '恵', - 64108 => '𤋮', - 64109 => '舘', - 64112 => '並', - 64113 => '况', - 64114 => '全', - 64115 => '侀', - 64116 => '充', - 64117 => '冀', - 64118 => '勇', - 64119 => '勺', - 64120 => '喝', - 64121 => '啕', - 64122 => '喙', - 64123 => '嗢', - 64124 => '塚', - 64125 => '墳', - 64126 => '奄', - 64127 => '奔', - 64128 => '婢', - 64129 => '嬨', - 64130 => '廒', - 64131 => '廙', - 64132 => '彩', - 64133 => '徭', - 64134 => '惘', - 64135 => '慎', - 64136 => '愈', - 64137 => '憎', - 64138 => '慠', - 64139 => '懲', - 64140 => '戴', - 64141 => '揄', - 64142 => '搜', - 64143 => '摒', - 64144 => '敖', - 64145 => '晴', - 64146 => '朗', - 64147 => '望', - 64148 => '杖', - 64149 => '歹', - 64150 => '殺', - 64151 => '流', - 64152 => '滛', - 64153 => '滋', - 64154 => '漢', - 64155 => '瀞', - 64156 => '煮', - 64157 => '瞧', - 64158 => '爵', - 64159 => '犯', - 64160 => '猪', - 64161 => '瑱', - 64162 => '甆', - 64163 => '画', - 64164 => '瘝', - 64165 => '瘟', - 64166 => '益', - 64167 => '盛', - 64168 => '直', - 64169 => '睊', - 64170 => '着', - 64171 => '磌', - 64172 => '窱', - 64173 => '節', - 64174 => '类', - 64175 => '絛', - 64176 => '練', - 64177 => '缾', - 64178 => '者', - 64179 => '荒', - 64180 => '華', - 64181 => '蝹', - 64182 => '襁', - 64183 => '覆', - 64184 => '視', - 64185 => '調', - 64186 => '諸', - 64187 => '請', - 64188 => '謁', - 64189 => '諾', - 64190 => '諭', - 64191 => '謹', - 64192 => '變', - 64193 => '贈', - 64194 => '輸', - 64195 => '遲', - 64196 => '醙', - 64197 => '鉶', - 64198 => '陼', - 64199 => '難', - 64200 => '靖', - 64201 => '韛', - 64202 => '響', - 64203 => '頋', - 64204 => '頻', - 64205 => '鬒', - 64206 => '龜', - 64207 => '𢡊', - 64208 => '𢡄', - 64209 => '𣏕', - 64210 => '㮝', - 64211 => '䀘', - 64212 => '䀹', - 64213 => '𥉉', - 64214 => '𥳐', - 64215 => '𧻓', - 64216 => '齃', - 64217 => '龎', - 64256 => 'ff', - 64257 => 'fi', - 64258 => 'fl', - 64259 => 'ffi', - 64260 => 'ffl', - 64261 => 'st', - 64262 => 'st', - 64275 => 'մն', - 64276 => 'մե', - 64277 => 'մի', - 64278 => 'վն', - 64279 => 'մխ', - 64285 => 'יִ', - 64287 => 'ײַ', - 64288 => 'ע', - 64289 => 'א', - 64290 => 'ד', - 64291 => 'ה', - 64292 => 'כ', - 64293 => 'ל', - 64294 => 'ם', - 64295 => 'ר', - 64296 => 'ת', - 64298 => 'שׁ', - 64299 => 'שׂ', - 64300 => 'שּׁ', - 64301 => 'שּׂ', - 64302 => 'אַ', - 64303 => 'אָ', - 64304 => 'אּ', - 64305 => 'בּ', - 64306 => 'גּ', - 64307 => 'דּ', - 64308 => 'הּ', - 64309 => 'וּ', - 64310 => 'זּ', - 64312 => 'טּ', - 64313 => 'יּ', - 64314 => 'ךּ', - 64315 => 'כּ', - 64316 => 'לּ', - 64318 => 'מּ', - 64320 => 'נּ', - 64321 => 'סּ', - 64323 => 'ףּ', - 64324 => 'פּ', - 64326 => 'צּ', - 64327 => 'קּ', - 64328 => 'רּ', - 64329 => 'שּ', - 64330 => 'תּ', - 64331 => 'וֹ', - 64332 => 'בֿ', - 64333 => 'כֿ', - 64334 => 'פֿ', - 64335 => 'אל', - 64336 => 'ٱ', - 64337 => 'ٱ', - 64338 => 'ٻ', - 64339 => 'ٻ', - 64340 => 'ٻ', - 64341 => 'ٻ', - 64342 => 'پ', - 64343 => 'پ', - 64344 => 'پ', - 64345 => 'پ', - 64346 => 'ڀ', - 64347 => 'ڀ', - 64348 => 'ڀ', - 64349 => 'ڀ', - 64350 => 'ٺ', - 64351 => 'ٺ', - 64352 => 'ٺ', - 64353 => 'ٺ', - 64354 => 'ٿ', - 64355 => 'ٿ', - 64356 => 'ٿ', - 64357 => 'ٿ', - 64358 => 'ٹ', - 64359 => 'ٹ', - 64360 => 'ٹ', - 64361 => 'ٹ', - 64362 => 'ڤ', - 64363 => 'ڤ', - 64364 => 'ڤ', - 64365 => 'ڤ', - 64366 => 'ڦ', - 64367 => 'ڦ', - 64368 => 'ڦ', - 64369 => 'ڦ', - 64370 => 'ڄ', - 64371 => 'ڄ', - 64372 => 'ڄ', - 64373 => 'ڄ', - 64374 => 'ڃ', - 64375 => 'ڃ', - 64376 => 'ڃ', - 64377 => 'ڃ', - 64378 => 'چ', - 64379 => 'چ', - 64380 => 'چ', - 64381 => 'چ', - 64382 => 'ڇ', - 64383 => 'ڇ', - 64384 => 'ڇ', - 64385 => 'ڇ', - 64386 => 'ڍ', - 64387 => 'ڍ', - 64388 => 'ڌ', - 64389 => 'ڌ', - 64390 => 'ڎ', - 64391 => 'ڎ', - 64392 => 'ڈ', - 64393 => 'ڈ', - 64394 => 'ژ', - 64395 => 'ژ', - 64396 => 'ڑ', - 64397 => 'ڑ', - 64398 => 'ک', - 64399 => 'ک', - 64400 => 'ک', - 64401 => 'ک', - 64402 => 'گ', - 64403 => 'گ', - 64404 => 'گ', - 64405 => 'گ', - 64406 => 'ڳ', - 64407 => 'ڳ', - 64408 => 'ڳ', - 64409 => 'ڳ', - 64410 => 'ڱ', - 64411 => 'ڱ', - 64412 => 'ڱ', - 64413 => 'ڱ', - 64414 => 'ں', - 64415 => 'ں', - 64416 => 'ڻ', - 64417 => 'ڻ', - 64418 => 'ڻ', - 64419 => 'ڻ', - 64420 => 'ۀ', - 64421 => 'ۀ', - 64422 => 'ہ', - 64423 => 'ہ', - 64424 => 'ہ', - 64425 => 'ہ', - 64426 => 'ھ', - 64427 => 'ھ', - 64428 => 'ھ', - 64429 => 'ھ', - 64430 => 'ے', - 64431 => 'ے', - 64432 => 'ۓ', - 64433 => 'ۓ', - 64467 => 'ڭ', - 64468 => 'ڭ', - 64469 => 'ڭ', - 64470 => 'ڭ', - 64471 => 'ۇ', - 64472 => 'ۇ', - 64473 => 'ۆ', - 64474 => 'ۆ', - 64475 => 'ۈ', - 64476 => 'ۈ', - 64477 => 'ۇٴ', - 64478 => 'ۋ', - 64479 => 'ۋ', - 64480 => 'ۅ', - 64481 => 'ۅ', - 64482 => 'ۉ', - 64483 => 'ۉ', - 64484 => 'ې', - 64485 => 'ې', - 64486 => 'ې', - 64487 => 'ې', - 64488 => 'ى', - 64489 => 'ى', - 64490 => 'ئا', - 64491 => 'ئا', - 64492 => 'ئە', - 64493 => 'ئە', - 64494 => 'ئو', - 64495 => 'ئو', - 64496 => 'ئۇ', - 64497 => 'ئۇ', - 64498 => 'ئۆ', - 64499 => 'ئۆ', - 64500 => 'ئۈ', - 64501 => 'ئۈ', - 64502 => 'ئې', - 64503 => 'ئې', - 64504 => 'ئې', - 64505 => 'ئى', - 64506 => 'ئى', - 64507 => 'ئى', - 64508 => 'ی', - 64509 => 'ی', - 64510 => 'ی', - 64511 => 'ی', - 64512 => 'ئج', - 64513 => 'ئح', - 64514 => 'ئم', - 64515 => 'ئى', - 64516 => 'ئي', - 64517 => 'بج', - 64518 => 'بح', - 64519 => 'بخ', - 64520 => 'بم', - 64521 => 'بى', - 64522 => 'بي', - 64523 => 'تج', - 64524 => 'تح', - 64525 => 'تخ', - 64526 => 'تم', - 64527 => 'تى', - 64528 => 'تي', - 64529 => 'ثج', - 64530 => 'ثم', - 64531 => 'ثى', - 64532 => 'ثي', - 64533 => 'جح', - 64534 => 'جم', - 64535 => 'حج', - 64536 => 'حم', - 64537 => 'خج', - 64538 => 'خح', - 64539 => 'خم', - 64540 => 'سج', - 64541 => 'سح', - 64542 => 'سخ', - 64543 => 'سم', - 64544 => 'صح', - 64545 => 'صم', - 64546 => 'ضج', - 64547 => 'ضح', - 64548 => 'ضخ', - 64549 => 'ضم', - 64550 => 'طح', - 64551 => 'طم', - 64552 => 'ظم', - 64553 => 'عج', - 64554 => 'عم', - 64555 => 'غج', - 64556 => 'غم', - 64557 => 'فج', - 64558 => 'فح', - 64559 => 'فخ', - 64560 => 'فم', - 64561 => 'فى', - 64562 => 'في', - 64563 => 'قح', - 64564 => 'قم', - 64565 => 'قى', - 64566 => 'قي', - 64567 => 'كا', - 64568 => 'كج', - 64569 => 'كح', - 64570 => 'كخ', - 64571 => 'كل', - 64572 => 'كم', - 64573 => 'كى', - 64574 => 'كي', - 64575 => 'لج', - 64576 => 'لح', - 64577 => 'لخ', - 64578 => 'لم', - 64579 => 'لى', - 64580 => 'لي', - 64581 => 'مج', - 64582 => 'مح', - 64583 => 'مخ', - 64584 => 'مم', - 64585 => 'مى', - 64586 => 'مي', - 64587 => 'نج', - 64588 => 'نح', - 64589 => 'نخ', - 64590 => 'نم', - 64591 => 'نى', - 64592 => 'ني', - 64593 => 'هج', - 64594 => 'هم', - 64595 => 'هى', - 64596 => 'هي', - 64597 => 'يج', - 64598 => 'يح', - 64599 => 'يخ', - 64600 => 'يم', - 64601 => 'يى', - 64602 => 'يي', - 64603 => 'ذٰ', - 64604 => 'رٰ', - 64605 => 'ىٰ', - 64612 => 'ئر', - 64613 => 'ئز', - 64614 => 'ئم', - 64615 => 'ئن', - 64616 => 'ئى', - 64617 => 'ئي', - 64618 => 'بر', - 64619 => 'بز', - 64620 => 'بم', - 64621 => 'بن', - 64622 => 'بى', - 64623 => 'بي', - 64624 => 'تر', - 64625 => 'تز', - 64626 => 'تم', - 64627 => 'تن', - 64628 => 'تى', - 64629 => 'تي', - 64630 => 'ثر', - 64631 => 'ثز', - 64632 => 'ثم', - 64633 => 'ثن', - 64634 => 'ثى', - 64635 => 'ثي', - 64636 => 'فى', - 64637 => 'في', - 64638 => 'قى', - 64639 => 'قي', - 64640 => 'كا', - 64641 => 'كل', - 64642 => 'كم', - 64643 => 'كى', - 64644 => 'كي', - 64645 => 'لم', - 64646 => 'لى', - 64647 => 'لي', - 64648 => 'ما', - 64649 => 'مم', - 64650 => 'نر', - 64651 => 'نز', - 64652 => 'نم', - 64653 => 'نن', - 64654 => 'نى', - 64655 => 'ني', - 64656 => 'ىٰ', - 64657 => 'ير', - 64658 => 'يز', - 64659 => 'يم', - 64660 => 'ين', - 64661 => 'يى', - 64662 => 'يي', - 64663 => 'ئج', - 64664 => 'ئح', - 64665 => 'ئخ', - 64666 => 'ئم', - 64667 => 'ئه', - 64668 => 'بج', - 64669 => 'بح', - 64670 => 'بخ', - 64671 => 'بم', - 64672 => 'به', - 64673 => 'تج', - 64674 => 'تح', - 64675 => 'تخ', - 64676 => 'تم', - 64677 => 'ته', - 64678 => 'ثم', - 64679 => 'جح', - 64680 => 'جم', - 64681 => 'حج', - 64682 => 'حم', - 64683 => 'خج', - 64684 => 'خم', - 64685 => 'سج', - 64686 => 'سح', - 64687 => 'سخ', - 64688 => 'سم', - 64689 => 'صح', - 64690 => 'صخ', - 64691 => 'صم', - 64692 => 'ضج', - 64693 => 'ضح', - 64694 => 'ضخ', - 64695 => 'ضم', - 64696 => 'طح', - 64697 => 'ظم', - 64698 => 'عج', - 64699 => 'عم', - 64700 => 'غج', - 64701 => 'غم', - 64702 => 'فج', - 64703 => 'فح', - 64704 => 'فخ', - 64705 => 'فم', - 64706 => 'قح', - 64707 => 'قم', - 64708 => 'كج', - 64709 => 'كح', - 64710 => 'كخ', - 64711 => 'كل', - 64712 => 'كم', - 64713 => 'لج', - 64714 => 'لح', - 64715 => 'لخ', - 64716 => 'لم', - 64717 => 'له', - 64718 => 'مج', - 64719 => 'مح', - 64720 => 'مخ', - 64721 => 'مم', - 64722 => 'نج', - 64723 => 'نح', - 64724 => 'نخ', - 64725 => 'نم', - 64726 => 'نه', - 64727 => 'هج', - 64728 => 'هم', - 64729 => 'هٰ', - 64730 => 'يج', - 64731 => 'يح', - 64732 => 'يخ', - 64733 => 'يم', - 64734 => 'يه', - 64735 => 'ئم', - 64736 => 'ئه', - 64737 => 'بم', - 64738 => 'به', - 64739 => 'تم', - 64740 => 'ته', - 64741 => 'ثم', - 64742 => 'ثه', - 64743 => 'سم', - 64744 => 'سه', - 64745 => 'شم', - 64746 => 'شه', - 64747 => 'كل', - 64748 => 'كم', - 64749 => 'لم', - 64750 => 'نم', - 64751 => 'نه', - 64752 => 'يم', - 64753 => 'يه', - 64754 => 'ـَّ', - 64755 => 'ـُّ', - 64756 => 'ـِّ', - 64757 => 'طى', - 64758 => 'طي', - 64759 => 'عى', - 64760 => 'عي', - 64761 => 'غى', - 64762 => 'غي', - 64763 => 'سى', - 64764 => 'سي', - 64765 => 'شى', - 64766 => 'شي', - 64767 => 'حى', - 64768 => 'حي', - 64769 => 'جى', - 64770 => 'جي', - 64771 => 'خى', - 64772 => 'خي', - 64773 => 'صى', - 64774 => 'صي', - 64775 => 'ضى', - 64776 => 'ضي', - 64777 => 'شج', - 64778 => 'شح', - 64779 => 'شخ', - 64780 => 'شم', - 64781 => 'شر', - 64782 => 'سر', - 64783 => 'صر', - 64784 => 'ضر', - 64785 => 'طى', - 64786 => 'طي', - 64787 => 'عى', - 64788 => 'عي', - 64789 => 'غى', - 64790 => 'غي', - 64791 => 'سى', - 64792 => 'سي', - 64793 => 'شى', - 64794 => 'شي', - 64795 => 'حى', - 64796 => 'حي', - 64797 => 'جى', - 64798 => 'جي', - 64799 => 'خى', - 64800 => 'خي', - 64801 => 'صى', - 64802 => 'صي', - 64803 => 'ضى', - 64804 => 'ضي', - 64805 => 'شج', - 64806 => 'شح', - 64807 => 'شخ', - 64808 => 'شم', - 64809 => 'شر', - 64810 => 'سر', - 64811 => 'صر', - 64812 => 'ضر', - 64813 => 'شج', - 64814 => 'شح', - 64815 => 'شخ', - 64816 => 'شم', - 64817 => 'سه', - 64818 => 'شه', - 64819 => 'طم', - 64820 => 'سج', - 64821 => 'سح', - 64822 => 'سخ', - 64823 => 'شج', - 64824 => 'شح', - 64825 => 'شخ', - 64826 => 'طم', - 64827 => 'ظم', - 64828 => 'اً', - 64829 => 'اً', - 64848 => 'تجم', - 64849 => 'تحج', - 64850 => 'تحج', - 64851 => 'تحم', - 64852 => 'تخم', - 64853 => 'تمج', - 64854 => 'تمح', - 64855 => 'تمخ', - 64856 => 'جمح', - 64857 => 'جمح', - 64858 => 'حمي', - 64859 => 'حمى', - 64860 => 'سحج', - 64861 => 'سجح', - 64862 => 'سجى', - 64863 => 'سمح', - 64864 => 'سمح', - 64865 => 'سمج', - 64866 => 'سمم', - 64867 => 'سمم', - 64868 => 'صحح', - 64869 => 'صحح', - 64870 => 'صمم', - 64871 => 'شحم', - 64872 => 'شحم', - 64873 => 'شجي', - 64874 => 'شمخ', - 64875 => 'شمخ', - 64876 => 'شمم', - 64877 => 'شمم', - 64878 => 'ضحى', - 64879 => 'ضخم', - 64880 => 'ضخم', - 64881 => 'طمح', - 64882 => 'طمح', - 64883 => 'طمم', - 64884 => 'طمي', - 64885 => 'عجم', - 64886 => 'عمم', - 64887 => 'عمم', - 64888 => 'عمى', - 64889 => 'غمم', - 64890 => 'غمي', - 64891 => 'غمى', - 64892 => 'فخم', - 64893 => 'فخم', - 64894 => 'قمح', - 64895 => 'قمم', - 64896 => 'لحم', - 64897 => 'لحي', - 64898 => 'لحى', - 64899 => 'لجج', - 64900 => 'لجج', - 64901 => 'لخم', - 64902 => 'لخم', - 64903 => 'لمح', - 64904 => 'لمح', - 64905 => 'محج', - 64906 => 'محم', - 64907 => 'محي', - 64908 => 'مجح', - 64909 => 'مجم', - 64910 => 'مخج', - 64911 => 'مخم', - 64914 => 'مجخ', - 64915 => 'همج', - 64916 => 'همم', - 64917 => 'نحم', - 64918 => 'نحى', - 64919 => 'نجم', - 64920 => 'نجم', - 64921 => 'نجى', - 64922 => 'نمي', - 64923 => 'نمى', - 64924 => 'يمم', - 64925 => 'يمم', - 64926 => 'بخي', - 64927 => 'تجي', - 64928 => 'تجى', - 64929 => 'تخي', - 64930 => 'تخى', - 64931 => 'تمي', - 64932 => 'تمى', - 64933 => 'جمي', - 64934 => 'جحى', - 64935 => 'جمى', - 64936 => 'سخى', - 64937 => 'صحي', - 64938 => 'شحي', - 64939 => 'ضحي', - 64940 => 'لجي', - 64941 => 'لمي', - 64942 => 'يحي', - 64943 => 'يجي', - 64944 => 'يمي', - 64945 => 'ممي', - 64946 => 'قمي', - 64947 => 'نحي', - 64948 => 'قمح', - 64949 => 'لحم', - 64950 => 'عمي', - 64951 => 'كمي', - 64952 => 'نجح', - 64953 => 'مخي', - 64954 => 'لجم', - 64955 => 'كمم', - 64956 => 'لجم', - 64957 => 'نجح', - 64958 => 'جحي', - 64959 => 'حجي', - 64960 => 'مجي', - 64961 => 'فمي', - 64962 => 'بحي', - 64963 => 'كمم', - 64964 => 'عجم', - 64965 => 'صمم', - 64966 => 'سخي', - 64967 => 'نجي', - 65008 => 'صلے', - 65009 => 'قلے', - 65010 => 'الله', - 65011 => 'اكبر', - 65012 => 'محمد', - 65013 => 'صلعم', - 65014 => 'رسول', - 65015 => 'عليه', - 65016 => 'وسلم', - 65017 => 'صلى', - 65020 => 'ریال', - 65041 => '、', - 65047 => '〖', - 65048 => '〗', - 65073 => '—', - 65074 => '–', - 65081 => '〔', - 65082 => '〕', - 65083 => '【', - 65084 => '】', - 65085 => '《', - 65086 => '》', - 65087 => '〈', - 65088 => '〉', - 65089 => '「', - 65090 => '」', - 65091 => '『', - 65092 => '』', - 65105 => '、', - 65112 => '—', - 65117 => '〔', - 65118 => '〕', - 65123 => '-', - 65137 => 'ـً', - 65143 => 'ـَ', - 65145 => 'ـُ', - 65147 => 'ـِ', - 65149 => 'ـّ', - 65151 => 'ـْ', - 65152 => 'ء', - 65153 => 'آ', - 65154 => 'آ', - 65155 => 'أ', - 65156 => 'أ', - 65157 => 'ؤ', - 65158 => 'ؤ', - 65159 => 'إ', - 65160 => 'إ', - 65161 => 'ئ', - 65162 => 'ئ', - 65163 => 'ئ', - 65164 => 'ئ', - 65165 => 'ا', - 65166 => 'ا', - 65167 => 'ب', - 65168 => 'ب', - 65169 => 'ب', - 65170 => 'ب', - 65171 => 'ة', - 65172 => 'ة', - 65173 => 'ت', - 65174 => 'ت', - 65175 => 'ت', - 65176 => 'ت', - 65177 => 'ث', - 65178 => 'ث', - 65179 => 'ث', - 65180 => 'ث', - 65181 => 'ج', - 65182 => 'ج', - 65183 => 'ج', - 65184 => 'ج', - 65185 => 'ح', - 65186 => 'ح', - 65187 => 'ح', - 65188 => 'ح', - 65189 => 'خ', - 65190 => 'خ', - 65191 => 'خ', - 65192 => 'خ', - 65193 => 'د', - 65194 => 'د', - 65195 => 'ذ', - 65196 => 'ذ', - 65197 => 'ر', - 65198 => 'ر', - 65199 => 'ز', - 65200 => 'ز', - 65201 => 'س', - 65202 => 'س', - 65203 => 'س', - 65204 => 'س', - 65205 => 'ش', - 65206 => 'ش', - 65207 => 'ش', - 65208 => 'ش', - 65209 => 'ص', - 65210 => 'ص', - 65211 => 'ص', - 65212 => 'ص', - 65213 => 'ض', - 65214 => 'ض', - 65215 => 'ض', - 65216 => 'ض', - 65217 => 'ط', - 65218 => 'ط', - 65219 => 'ط', - 65220 => 'ط', - 65221 => 'ظ', - 65222 => 'ظ', - 65223 => 'ظ', - 65224 => 'ظ', - 65225 => 'ع', - 65226 => 'ع', - 65227 => 'ع', - 65228 => 'ع', - 65229 => 'غ', - 65230 => 'غ', - 65231 => 'غ', - 65232 => 'غ', - 65233 => 'ف', - 65234 => 'ف', - 65235 => 'ف', - 65236 => 'ف', - 65237 => 'ق', - 65238 => 'ق', - 65239 => 'ق', - 65240 => 'ق', - 65241 => 'ك', - 65242 => 'ك', - 65243 => 'ك', - 65244 => 'ك', - 65245 => 'ل', - 65246 => 'ل', - 65247 => 'ل', - 65248 => 'ل', - 65249 => 'م', - 65250 => 'م', - 65251 => 'م', - 65252 => 'م', - 65253 => 'ن', - 65254 => 'ن', - 65255 => 'ن', - 65256 => 'ن', - 65257 => 'ه', - 65258 => 'ه', - 65259 => 'ه', - 65260 => 'ه', - 65261 => 'و', - 65262 => 'و', - 65263 => 'ى', - 65264 => 'ى', - 65265 => 'ي', - 65266 => 'ي', - 65267 => 'ي', - 65268 => 'ي', - 65269 => 'لآ', - 65270 => 'لآ', - 65271 => 'لأ', - 65272 => 'لأ', - 65273 => 'لإ', - 65274 => 'لإ', - 65275 => 'لا', - 65276 => 'لا', - 65293 => '-', - 65294 => '.', - 65296 => '0', - 65297 => '1', - 65298 => '2', - 65299 => '3', - 65300 => '4', - 65301 => '5', - 65302 => '6', - 65303 => '7', - 65304 => '8', - 65305 => '9', - 65313 => 'a', - 65314 => 'b', - 65315 => 'c', - 65316 => 'd', - 65317 => 'e', - 65318 => 'f', - 65319 => 'g', - 65320 => 'h', - 65321 => 'i', - 65322 => 'j', - 65323 => 'k', - 65324 => 'l', - 65325 => 'm', - 65326 => 'n', - 65327 => 'o', - 65328 => 'p', - 65329 => 'q', - 65330 => 'r', - 65331 => 's', - 65332 => 't', - 65333 => 'u', - 65334 => 'v', - 65335 => 'w', - 65336 => 'x', - 65337 => 'y', - 65338 => 'z', - 65345 => 'a', - 65346 => 'b', - 65347 => 'c', - 65348 => 'd', - 65349 => 'e', - 65350 => 'f', - 65351 => 'g', - 65352 => 'h', - 65353 => 'i', - 65354 => 'j', - 65355 => 'k', - 65356 => 'l', - 65357 => 'm', - 65358 => 'n', - 65359 => 'o', - 65360 => 'p', - 65361 => 'q', - 65362 => 'r', - 65363 => 's', - 65364 => 't', - 65365 => 'u', - 65366 => 'v', - 65367 => 'w', - 65368 => 'x', - 65369 => 'y', - 65370 => 'z', - 65375 => '⦅', - 65376 => '⦆', - 65377 => '.', - 65378 => '「', - 65379 => '」', - 65380 => '、', - 65381 => '・', - 65382 => 'ヲ', - 65383 => 'ァ', - 65384 => 'ィ', - 65385 => 'ゥ', - 65386 => 'ェ', - 65387 => 'ォ', - 65388 => 'ャ', - 65389 => 'ュ', - 65390 => 'ョ', - 65391 => 'ッ', - 65392 => 'ー', - 65393 => 'ア', - 65394 => 'イ', - 65395 => 'ウ', - 65396 => 'エ', - 65397 => 'オ', - 65398 => 'カ', - 65399 => 'キ', - 65400 => 'ク', - 65401 => 'ケ', - 65402 => 'コ', - 65403 => 'サ', - 65404 => 'シ', - 65405 => 'ス', - 65406 => 'セ', - 65407 => 'ソ', - 65408 => 'タ', - 65409 => 'チ', - 65410 => 'ツ', - 65411 => 'テ', - 65412 => 'ト', - 65413 => 'ナ', - 65414 => 'ニ', - 65415 => 'ヌ', - 65416 => 'ネ', - 65417 => 'ノ', - 65418 => 'ハ', - 65419 => 'ヒ', - 65420 => 'フ', - 65421 => 'ヘ', - 65422 => 'ホ', - 65423 => 'マ', - 65424 => 'ミ', - 65425 => 'ム', - 65426 => 'メ', - 65427 => 'モ', - 65428 => 'ヤ', - 65429 => 'ユ', - 65430 => 'ヨ', - 65431 => 'ラ', - 65432 => 'リ', - 65433 => 'ル', - 65434 => 'レ', - 65435 => 'ロ', - 65436 => 'ワ', - 65437 => 'ン', - 65438 => '゙', - 65439 => '゚', - 65441 => 'ᄀ', - 65442 => 'ᄁ', - 65443 => 'ᆪ', - 65444 => 'ᄂ', - 65445 => 'ᆬ', - 65446 => 'ᆭ', - 65447 => 'ᄃ', - 65448 => 'ᄄ', - 65449 => 'ᄅ', - 65450 => 'ᆰ', - 65451 => 'ᆱ', - 65452 => 'ᆲ', - 65453 => 'ᆳ', - 65454 => 'ᆴ', - 65455 => 'ᆵ', - 65456 => 'ᄚ', - 65457 => 'ᄆ', - 65458 => 'ᄇ', - 65459 => 'ᄈ', - 65460 => 'ᄡ', - 65461 => 'ᄉ', - 65462 => 'ᄊ', - 65463 => 'ᄋ', - 65464 => 'ᄌ', - 65465 => 'ᄍ', - 65466 => 'ᄎ', - 65467 => 'ᄏ', - 65468 => 'ᄐ', - 65469 => 'ᄑ', - 65470 => 'ᄒ', - 65474 => 'ᅡ', - 65475 => 'ᅢ', - 65476 => 'ᅣ', - 65477 => 'ᅤ', - 65478 => 'ᅥ', - 65479 => 'ᅦ', - 65482 => 'ᅧ', - 65483 => 'ᅨ', - 65484 => 'ᅩ', - 65485 => 'ᅪ', - 65486 => 'ᅫ', - 65487 => 'ᅬ', - 65490 => 'ᅭ', - 65491 => 'ᅮ', - 65492 => 'ᅯ', - 65493 => 'ᅰ', - 65494 => 'ᅱ', - 65495 => 'ᅲ', - 65498 => 'ᅳ', - 65499 => 'ᅴ', - 65500 => 'ᅵ', - 65504 => '¢', - 65505 => '£', - 65506 => '¬', - 65508 => '¦', - 65509 => '¥', - 65510 => '₩', - 65512 => '│', - 65513 => '←', - 65514 => '↑', - 65515 => '→', - 65516 => '↓', - 65517 => '■', - 65518 => '○', - 66560 => '𐐨', - 66561 => '𐐩', - 66562 => '𐐪', - 66563 => '𐐫', - 66564 => '𐐬', - 66565 => '𐐭', - 66566 => '𐐮', - 66567 => '𐐯', - 66568 => '𐐰', - 66569 => '𐐱', - 66570 => '𐐲', - 66571 => '𐐳', - 66572 => '𐐴', - 66573 => '𐐵', - 66574 => '𐐶', - 66575 => '𐐷', - 66576 => '𐐸', - 66577 => '𐐹', - 66578 => '𐐺', - 66579 => '𐐻', - 66580 => '𐐼', - 66581 => '𐐽', - 66582 => '𐐾', - 66583 => '𐐿', - 66584 => '𐑀', - 66585 => '𐑁', - 66586 => '𐑂', - 66587 => '𐑃', - 66588 => '𐑄', - 66589 => '𐑅', - 66590 => '𐑆', - 66591 => '𐑇', - 66592 => '𐑈', - 66593 => '𐑉', - 66594 => '𐑊', - 66595 => '𐑋', - 66596 => '𐑌', - 66597 => '𐑍', - 66598 => '𐑎', - 66599 => '𐑏', - 66736 => '𐓘', - 66737 => '𐓙', - 66738 => '𐓚', - 66739 => '𐓛', - 66740 => '𐓜', - 66741 => '𐓝', - 66742 => '𐓞', - 66743 => '𐓟', - 66744 => '𐓠', - 66745 => '𐓡', - 66746 => '𐓢', - 66747 => '𐓣', - 66748 => '𐓤', - 66749 => '𐓥', - 66750 => '𐓦', - 66751 => '𐓧', - 66752 => '𐓨', - 66753 => '𐓩', - 66754 => '𐓪', - 66755 => '𐓫', - 66756 => '𐓬', - 66757 => '𐓭', - 66758 => '𐓮', - 66759 => '𐓯', - 66760 => '𐓰', - 66761 => '𐓱', - 66762 => '𐓲', - 66763 => '𐓳', - 66764 => '𐓴', - 66765 => '𐓵', - 66766 => '𐓶', - 66767 => '𐓷', - 66768 => '𐓸', - 66769 => '𐓹', - 66770 => '𐓺', - 66771 => '𐓻', - 68736 => '𐳀', - 68737 => '𐳁', - 68738 => '𐳂', - 68739 => '𐳃', - 68740 => '𐳄', - 68741 => '𐳅', - 68742 => '𐳆', - 68743 => '𐳇', - 68744 => '𐳈', - 68745 => '𐳉', - 68746 => '𐳊', - 68747 => '𐳋', - 68748 => '𐳌', - 68749 => '𐳍', - 68750 => '𐳎', - 68751 => '𐳏', - 68752 => '𐳐', - 68753 => '𐳑', - 68754 => '𐳒', - 68755 => '𐳓', - 68756 => '𐳔', - 68757 => '𐳕', - 68758 => '𐳖', - 68759 => '𐳗', - 68760 => '𐳘', - 68761 => '𐳙', - 68762 => '𐳚', - 68763 => '𐳛', - 68764 => '𐳜', - 68765 => '𐳝', - 68766 => '𐳞', - 68767 => '𐳟', - 68768 => '𐳠', - 68769 => '𐳡', - 68770 => '𐳢', - 68771 => '𐳣', - 68772 => '𐳤', - 68773 => '𐳥', - 68774 => '𐳦', - 68775 => '𐳧', - 68776 => '𐳨', - 68777 => '𐳩', - 68778 => '𐳪', - 68779 => '𐳫', - 68780 => '𐳬', - 68781 => '𐳭', - 68782 => '𐳮', - 68783 => '𐳯', - 68784 => '𐳰', - 68785 => '𐳱', - 68786 => '𐳲', - 71840 => '𑣀', - 71841 => '𑣁', - 71842 => '𑣂', - 71843 => '𑣃', - 71844 => '𑣄', - 71845 => '𑣅', - 71846 => '𑣆', - 71847 => '𑣇', - 71848 => '𑣈', - 71849 => '𑣉', - 71850 => '𑣊', - 71851 => '𑣋', - 71852 => '𑣌', - 71853 => '𑣍', - 71854 => '𑣎', - 71855 => '𑣏', - 71856 => '𑣐', - 71857 => '𑣑', - 71858 => '𑣒', - 71859 => '𑣓', - 71860 => '𑣔', - 71861 => '𑣕', - 71862 => '𑣖', - 71863 => '𑣗', - 71864 => '𑣘', - 71865 => '𑣙', - 71866 => '𑣚', - 71867 => '𑣛', - 71868 => '𑣜', - 71869 => '𑣝', - 71870 => '𑣞', - 71871 => '𑣟', - 93760 => '𖹠', - 93761 => '𖹡', - 93762 => '𖹢', - 93763 => '𖹣', - 93764 => '𖹤', - 93765 => '𖹥', - 93766 => '𖹦', - 93767 => '𖹧', - 93768 => '𖹨', - 93769 => '𖹩', - 93770 => '𖹪', - 93771 => '𖹫', - 93772 => '𖹬', - 93773 => '𖹭', - 93774 => '𖹮', - 93775 => '𖹯', - 93776 => '𖹰', - 93777 => '𖹱', - 93778 => '𖹲', - 93779 => '𖹳', - 93780 => '𖹴', - 93781 => '𖹵', - 93782 => '𖹶', - 93783 => '𖹷', - 93784 => '𖹸', - 93785 => '𖹹', - 93786 => '𖹺', - 93787 => '𖹻', - 93788 => '𖹼', - 93789 => '𖹽', - 93790 => '𖹾', - 93791 => '𖹿', - 119134 => '𝅗𝅥', - 119135 => '𝅘𝅥', - 119136 => '𝅘𝅥𝅮', - 119137 => '𝅘𝅥𝅯', - 119138 => '𝅘𝅥𝅰', - 119139 => '𝅘𝅥𝅱', - 119140 => '𝅘𝅥𝅲', - 119227 => '𝆹𝅥', - 119228 => '𝆺𝅥', - 119229 => '𝆹𝅥𝅮', - 119230 => '𝆺𝅥𝅮', - 119231 => '𝆹𝅥𝅯', - 119232 => '𝆺𝅥𝅯', - 119808 => 'a', - 119809 => 'b', - 119810 => 'c', - 119811 => 'd', - 119812 => 'e', - 119813 => 'f', - 119814 => 'g', - 119815 => 'h', - 119816 => 'i', - 119817 => 'j', - 119818 => 'k', - 119819 => 'l', - 119820 => 'm', - 119821 => 'n', - 119822 => 'o', - 119823 => 'p', - 119824 => 'q', - 119825 => 'r', - 119826 => 's', - 119827 => 't', - 119828 => 'u', - 119829 => 'v', - 119830 => 'w', - 119831 => 'x', - 119832 => 'y', - 119833 => 'z', - 119834 => 'a', - 119835 => 'b', - 119836 => 'c', - 119837 => 'd', - 119838 => 'e', - 119839 => 'f', - 119840 => 'g', - 119841 => 'h', - 119842 => 'i', - 119843 => 'j', - 119844 => 'k', - 119845 => 'l', - 119846 => 'm', - 119847 => 'n', - 119848 => 'o', - 119849 => 'p', - 119850 => 'q', - 119851 => 'r', - 119852 => 's', - 119853 => 't', - 119854 => 'u', - 119855 => 'v', - 119856 => 'w', - 119857 => 'x', - 119858 => 'y', - 119859 => 'z', - 119860 => 'a', - 119861 => 'b', - 119862 => 'c', - 119863 => 'd', - 119864 => 'e', - 119865 => 'f', - 119866 => 'g', - 119867 => 'h', - 119868 => 'i', - 119869 => 'j', - 119870 => 'k', - 119871 => 'l', - 119872 => 'm', - 119873 => 'n', - 119874 => 'o', - 119875 => 'p', - 119876 => 'q', - 119877 => 'r', - 119878 => 's', - 119879 => 't', - 119880 => 'u', - 119881 => 'v', - 119882 => 'w', - 119883 => 'x', - 119884 => 'y', - 119885 => 'z', - 119886 => 'a', - 119887 => 'b', - 119888 => 'c', - 119889 => 'd', - 119890 => 'e', - 119891 => 'f', - 119892 => 'g', - 119894 => 'i', - 119895 => 'j', - 119896 => 'k', - 119897 => 'l', - 119898 => 'm', - 119899 => 'n', - 119900 => 'o', - 119901 => 'p', - 119902 => 'q', - 119903 => 'r', - 119904 => 's', - 119905 => 't', - 119906 => 'u', - 119907 => 'v', - 119908 => 'w', - 119909 => 'x', - 119910 => 'y', - 119911 => 'z', - 119912 => 'a', - 119913 => 'b', - 119914 => 'c', - 119915 => 'd', - 119916 => 'e', - 119917 => 'f', - 119918 => 'g', - 119919 => 'h', - 119920 => 'i', - 119921 => 'j', - 119922 => 'k', - 119923 => 'l', - 119924 => 'm', - 119925 => 'n', - 119926 => 'o', - 119927 => 'p', - 119928 => 'q', - 119929 => 'r', - 119930 => 's', - 119931 => 't', - 119932 => 'u', - 119933 => 'v', - 119934 => 'w', - 119935 => 'x', - 119936 => 'y', - 119937 => 'z', - 119938 => 'a', - 119939 => 'b', - 119940 => 'c', - 119941 => 'd', - 119942 => 'e', - 119943 => 'f', - 119944 => 'g', - 119945 => 'h', - 119946 => 'i', - 119947 => 'j', - 119948 => 'k', - 119949 => 'l', - 119950 => 'm', - 119951 => 'n', - 119952 => 'o', - 119953 => 'p', - 119954 => 'q', - 119955 => 'r', - 119956 => 's', - 119957 => 't', - 119958 => 'u', - 119959 => 'v', - 119960 => 'w', - 119961 => 'x', - 119962 => 'y', - 119963 => 'z', - 119964 => 'a', - 119966 => 'c', - 119967 => 'd', - 119970 => 'g', - 119973 => 'j', - 119974 => 'k', - 119977 => 'n', - 119978 => 'o', - 119979 => 'p', - 119980 => 'q', - 119982 => 's', - 119983 => 't', - 119984 => 'u', - 119985 => 'v', - 119986 => 'w', - 119987 => 'x', - 119988 => 'y', - 119989 => 'z', - 119990 => 'a', - 119991 => 'b', - 119992 => 'c', - 119993 => 'd', - 119995 => 'f', - 119997 => 'h', - 119998 => 'i', - 119999 => 'j', - 120000 => 'k', - 120001 => 'l', - 120002 => 'm', - 120003 => 'n', - 120005 => 'p', - 120006 => 'q', - 120007 => 'r', - 120008 => 's', - 120009 => 't', - 120010 => 'u', - 120011 => 'v', - 120012 => 'w', - 120013 => 'x', - 120014 => 'y', - 120015 => 'z', - 120016 => 'a', - 120017 => 'b', - 120018 => 'c', - 120019 => 'd', - 120020 => 'e', - 120021 => 'f', - 120022 => 'g', - 120023 => 'h', - 120024 => 'i', - 120025 => 'j', - 120026 => 'k', - 120027 => 'l', - 120028 => 'm', - 120029 => 'n', - 120030 => 'o', - 120031 => 'p', - 120032 => 'q', - 120033 => 'r', - 120034 => 's', - 120035 => 't', - 120036 => 'u', - 120037 => 'v', - 120038 => 'w', - 120039 => 'x', - 120040 => 'y', - 120041 => 'z', - 120042 => 'a', - 120043 => 'b', - 120044 => 'c', - 120045 => 'd', - 120046 => 'e', - 120047 => 'f', - 120048 => 'g', - 120049 => 'h', - 120050 => 'i', - 120051 => 'j', - 120052 => 'k', - 120053 => 'l', - 120054 => 'm', - 120055 => 'n', - 120056 => 'o', - 120057 => 'p', - 120058 => 'q', - 120059 => 'r', - 120060 => 's', - 120061 => 't', - 120062 => 'u', - 120063 => 'v', - 120064 => 'w', - 120065 => 'x', - 120066 => 'y', - 120067 => 'z', - 120068 => 'a', - 120069 => 'b', - 120071 => 'd', - 120072 => 'e', - 120073 => 'f', - 120074 => 'g', - 120077 => 'j', - 120078 => 'k', - 120079 => 'l', - 120080 => 'm', - 120081 => 'n', - 120082 => 'o', - 120083 => 'p', - 120084 => 'q', - 120086 => 's', - 120087 => 't', - 120088 => 'u', - 120089 => 'v', - 120090 => 'w', - 120091 => 'x', - 120092 => 'y', - 120094 => 'a', - 120095 => 'b', - 120096 => 'c', - 120097 => 'd', - 120098 => 'e', - 120099 => 'f', - 120100 => 'g', - 120101 => 'h', - 120102 => 'i', - 120103 => 'j', - 120104 => 'k', - 120105 => 'l', - 120106 => 'm', - 120107 => 'n', - 120108 => 'o', - 120109 => 'p', - 120110 => 'q', - 120111 => 'r', - 120112 => 's', - 120113 => 't', - 120114 => 'u', - 120115 => 'v', - 120116 => 'w', - 120117 => 'x', - 120118 => 'y', - 120119 => 'z', - 120120 => 'a', - 120121 => 'b', - 120123 => 'd', - 120124 => 'e', - 120125 => 'f', - 120126 => 'g', - 120128 => 'i', - 120129 => 'j', - 120130 => 'k', - 120131 => 'l', - 120132 => 'm', - 120134 => 'o', - 120138 => 's', - 120139 => 't', - 120140 => 'u', - 120141 => 'v', - 120142 => 'w', - 120143 => 'x', - 120144 => 'y', - 120146 => 'a', - 120147 => 'b', - 120148 => 'c', - 120149 => 'd', - 120150 => 'e', - 120151 => 'f', - 120152 => 'g', - 120153 => 'h', - 120154 => 'i', - 120155 => 'j', - 120156 => 'k', - 120157 => 'l', - 120158 => 'm', - 120159 => 'n', - 120160 => 'o', - 120161 => 'p', - 120162 => 'q', - 120163 => 'r', - 120164 => 's', - 120165 => 't', - 120166 => 'u', - 120167 => 'v', - 120168 => 'w', - 120169 => 'x', - 120170 => 'y', - 120171 => 'z', - 120172 => 'a', - 120173 => 'b', - 120174 => 'c', - 120175 => 'd', - 120176 => 'e', - 120177 => 'f', - 120178 => 'g', - 120179 => 'h', - 120180 => 'i', - 120181 => 'j', - 120182 => 'k', - 120183 => 'l', - 120184 => 'm', - 120185 => 'n', - 120186 => 'o', - 120187 => 'p', - 120188 => 'q', - 120189 => 'r', - 120190 => 's', - 120191 => 't', - 120192 => 'u', - 120193 => 'v', - 120194 => 'w', - 120195 => 'x', - 120196 => 'y', - 120197 => 'z', - 120198 => 'a', - 120199 => 'b', - 120200 => 'c', - 120201 => 'd', - 120202 => 'e', - 120203 => 'f', - 120204 => 'g', - 120205 => 'h', - 120206 => 'i', - 120207 => 'j', - 120208 => 'k', - 120209 => 'l', - 120210 => 'm', - 120211 => 'n', - 120212 => 'o', - 120213 => 'p', - 120214 => 'q', - 120215 => 'r', - 120216 => 's', - 120217 => 't', - 120218 => 'u', - 120219 => 'v', - 120220 => 'w', - 120221 => 'x', - 120222 => 'y', - 120223 => 'z', - 120224 => 'a', - 120225 => 'b', - 120226 => 'c', - 120227 => 'd', - 120228 => 'e', - 120229 => 'f', - 120230 => 'g', - 120231 => 'h', - 120232 => 'i', - 120233 => 'j', - 120234 => 'k', - 120235 => 'l', - 120236 => 'm', - 120237 => 'n', - 120238 => 'o', - 120239 => 'p', - 120240 => 'q', - 120241 => 'r', - 120242 => 's', - 120243 => 't', - 120244 => 'u', - 120245 => 'v', - 120246 => 'w', - 120247 => 'x', - 120248 => 'y', - 120249 => 'z', - 120250 => 'a', - 120251 => 'b', - 120252 => 'c', - 120253 => 'd', - 120254 => 'e', - 120255 => 'f', - 120256 => 'g', - 120257 => 'h', - 120258 => 'i', - 120259 => 'j', - 120260 => 'k', - 120261 => 'l', - 120262 => 'm', - 120263 => 'n', - 120264 => 'o', - 120265 => 'p', - 120266 => 'q', - 120267 => 'r', - 120268 => 's', - 120269 => 't', - 120270 => 'u', - 120271 => 'v', - 120272 => 'w', - 120273 => 'x', - 120274 => 'y', - 120275 => 'z', - 120276 => 'a', - 120277 => 'b', - 120278 => 'c', - 120279 => 'd', - 120280 => 'e', - 120281 => 'f', - 120282 => 'g', - 120283 => 'h', - 120284 => 'i', - 120285 => 'j', - 120286 => 'k', - 120287 => 'l', - 120288 => 'm', - 120289 => 'n', - 120290 => 'o', - 120291 => 'p', - 120292 => 'q', - 120293 => 'r', - 120294 => 's', - 120295 => 't', - 120296 => 'u', - 120297 => 'v', - 120298 => 'w', - 120299 => 'x', - 120300 => 'y', - 120301 => 'z', - 120302 => 'a', - 120303 => 'b', - 120304 => 'c', - 120305 => 'd', - 120306 => 'e', - 120307 => 'f', - 120308 => 'g', - 120309 => 'h', - 120310 => 'i', - 120311 => 'j', - 120312 => 'k', - 120313 => 'l', - 120314 => 'm', - 120315 => 'n', - 120316 => 'o', - 120317 => 'p', - 120318 => 'q', - 120319 => 'r', - 120320 => 's', - 120321 => 't', - 120322 => 'u', - 120323 => 'v', - 120324 => 'w', - 120325 => 'x', - 120326 => 'y', - 120327 => 'z', - 120328 => 'a', - 120329 => 'b', - 120330 => 'c', - 120331 => 'd', - 120332 => 'e', - 120333 => 'f', - 120334 => 'g', - 120335 => 'h', - 120336 => 'i', - 120337 => 'j', - 120338 => 'k', - 120339 => 'l', - 120340 => 'm', - 120341 => 'n', - 120342 => 'o', - 120343 => 'p', - 120344 => 'q', - 120345 => 'r', - 120346 => 's', - 120347 => 't', - 120348 => 'u', - 120349 => 'v', - 120350 => 'w', - 120351 => 'x', - 120352 => 'y', - 120353 => 'z', - 120354 => 'a', - 120355 => 'b', - 120356 => 'c', - 120357 => 'd', - 120358 => 'e', - 120359 => 'f', - 120360 => 'g', - 120361 => 'h', - 120362 => 'i', - 120363 => 'j', - 120364 => 'k', - 120365 => 'l', - 120366 => 'm', - 120367 => 'n', - 120368 => 'o', - 120369 => 'p', - 120370 => 'q', - 120371 => 'r', - 120372 => 's', - 120373 => 't', - 120374 => 'u', - 120375 => 'v', - 120376 => 'w', - 120377 => 'x', - 120378 => 'y', - 120379 => 'z', - 120380 => 'a', - 120381 => 'b', - 120382 => 'c', - 120383 => 'd', - 120384 => 'e', - 120385 => 'f', - 120386 => 'g', - 120387 => 'h', - 120388 => 'i', - 120389 => 'j', - 120390 => 'k', - 120391 => 'l', - 120392 => 'm', - 120393 => 'n', - 120394 => 'o', - 120395 => 'p', - 120396 => 'q', - 120397 => 'r', - 120398 => 's', - 120399 => 't', - 120400 => 'u', - 120401 => 'v', - 120402 => 'w', - 120403 => 'x', - 120404 => 'y', - 120405 => 'z', - 120406 => 'a', - 120407 => 'b', - 120408 => 'c', - 120409 => 'd', - 120410 => 'e', - 120411 => 'f', - 120412 => 'g', - 120413 => 'h', - 120414 => 'i', - 120415 => 'j', - 120416 => 'k', - 120417 => 'l', - 120418 => 'm', - 120419 => 'n', - 120420 => 'o', - 120421 => 'p', - 120422 => 'q', - 120423 => 'r', - 120424 => 's', - 120425 => 't', - 120426 => 'u', - 120427 => 'v', - 120428 => 'w', - 120429 => 'x', - 120430 => 'y', - 120431 => 'z', - 120432 => 'a', - 120433 => 'b', - 120434 => 'c', - 120435 => 'd', - 120436 => 'e', - 120437 => 'f', - 120438 => 'g', - 120439 => 'h', - 120440 => 'i', - 120441 => 'j', - 120442 => 'k', - 120443 => 'l', - 120444 => 'm', - 120445 => 'n', - 120446 => 'o', - 120447 => 'p', - 120448 => 'q', - 120449 => 'r', - 120450 => 's', - 120451 => 't', - 120452 => 'u', - 120453 => 'v', - 120454 => 'w', - 120455 => 'x', - 120456 => 'y', - 120457 => 'z', - 120458 => 'a', - 120459 => 'b', - 120460 => 'c', - 120461 => 'd', - 120462 => 'e', - 120463 => 'f', - 120464 => 'g', - 120465 => 'h', - 120466 => 'i', - 120467 => 'j', - 120468 => 'k', - 120469 => 'l', - 120470 => 'm', - 120471 => 'n', - 120472 => 'o', - 120473 => 'p', - 120474 => 'q', - 120475 => 'r', - 120476 => 's', - 120477 => 't', - 120478 => 'u', - 120479 => 'v', - 120480 => 'w', - 120481 => 'x', - 120482 => 'y', - 120483 => 'z', - 120484 => 'ı', - 120485 => 'ȷ', - 120488 => 'α', - 120489 => 'β', - 120490 => 'γ', - 120491 => 'δ', - 120492 => 'ε', - 120493 => 'ζ', - 120494 => 'η', - 120495 => 'θ', - 120496 => 'ι', - 120497 => 'κ', - 120498 => 'λ', - 120499 => 'μ', - 120500 => 'ν', - 120501 => 'ξ', - 120502 => 'ο', - 120503 => 'π', - 120504 => 'ρ', - 120505 => 'θ', - 120506 => 'σ', - 120507 => 'τ', - 120508 => 'υ', - 120509 => 'φ', - 120510 => 'χ', - 120511 => 'ψ', - 120512 => 'ω', - 120513 => '∇', - 120514 => 'α', - 120515 => 'β', - 120516 => 'γ', - 120517 => 'δ', - 120518 => 'ε', - 120519 => 'ζ', - 120520 => 'η', - 120521 => 'θ', - 120522 => 'ι', - 120523 => 'κ', - 120524 => 'λ', - 120525 => 'μ', - 120526 => 'ν', - 120527 => 'ξ', - 120528 => 'ο', - 120529 => 'π', - 120530 => 'ρ', - 120531 => 'σ', - 120532 => 'σ', - 120533 => 'τ', - 120534 => 'υ', - 120535 => 'φ', - 120536 => 'χ', - 120537 => 'ψ', - 120538 => 'ω', - 120539 => '∂', - 120540 => 'ε', - 120541 => 'θ', - 120542 => 'κ', - 120543 => 'φ', - 120544 => 'ρ', - 120545 => 'π', - 120546 => 'α', - 120547 => 'β', - 120548 => 'γ', - 120549 => 'δ', - 120550 => 'ε', - 120551 => 'ζ', - 120552 => 'η', - 120553 => 'θ', - 120554 => 'ι', - 120555 => 'κ', - 120556 => 'λ', - 120557 => 'μ', - 120558 => 'ν', - 120559 => 'ξ', - 120560 => 'ο', - 120561 => 'π', - 120562 => 'ρ', - 120563 => 'θ', - 120564 => 'σ', - 120565 => 'τ', - 120566 => 'υ', - 120567 => 'φ', - 120568 => 'χ', - 120569 => 'ψ', - 120570 => 'ω', - 120571 => '∇', - 120572 => 'α', - 120573 => 'β', - 120574 => 'γ', - 120575 => 'δ', - 120576 => 'ε', - 120577 => 'ζ', - 120578 => 'η', - 120579 => 'θ', - 120580 => 'ι', - 120581 => 'κ', - 120582 => 'λ', - 120583 => 'μ', - 120584 => 'ν', - 120585 => 'ξ', - 120586 => 'ο', - 120587 => 'π', - 120588 => 'ρ', - 120589 => 'σ', - 120590 => 'σ', - 120591 => 'τ', - 120592 => 'υ', - 120593 => 'φ', - 120594 => 'χ', - 120595 => 'ψ', - 120596 => 'ω', - 120597 => '∂', - 120598 => 'ε', - 120599 => 'θ', - 120600 => 'κ', - 120601 => 'φ', - 120602 => 'ρ', - 120603 => 'π', - 120604 => 'α', - 120605 => 'β', - 120606 => 'γ', - 120607 => 'δ', - 120608 => 'ε', - 120609 => 'ζ', - 120610 => 'η', - 120611 => 'θ', - 120612 => 'ι', - 120613 => 'κ', - 120614 => 'λ', - 120615 => 'μ', - 120616 => 'ν', - 120617 => 'ξ', - 120618 => 'ο', - 120619 => 'π', - 120620 => 'ρ', - 120621 => 'θ', - 120622 => 'σ', - 120623 => 'τ', - 120624 => 'υ', - 120625 => 'φ', - 120626 => 'χ', - 120627 => 'ψ', - 120628 => 'ω', - 120629 => '∇', - 120630 => 'α', - 120631 => 'β', - 120632 => 'γ', - 120633 => 'δ', - 120634 => 'ε', - 120635 => 'ζ', - 120636 => 'η', - 120637 => 'θ', - 120638 => 'ι', - 120639 => 'κ', - 120640 => 'λ', - 120641 => 'μ', - 120642 => 'ν', - 120643 => 'ξ', - 120644 => 'ο', - 120645 => 'π', - 120646 => 'ρ', - 120647 => 'σ', - 120648 => 'σ', - 120649 => 'τ', - 120650 => 'υ', - 120651 => 'φ', - 120652 => 'χ', - 120653 => 'ψ', - 120654 => 'ω', - 120655 => '∂', - 120656 => 'ε', - 120657 => 'θ', - 120658 => 'κ', - 120659 => 'φ', - 120660 => 'ρ', - 120661 => 'π', - 120662 => 'α', - 120663 => 'β', - 120664 => 'γ', - 120665 => 'δ', - 120666 => 'ε', - 120667 => 'ζ', - 120668 => 'η', - 120669 => 'θ', - 120670 => 'ι', - 120671 => 'κ', - 120672 => 'λ', - 120673 => 'μ', - 120674 => 'ν', - 120675 => 'ξ', - 120676 => 'ο', - 120677 => 'π', - 120678 => 'ρ', - 120679 => 'θ', - 120680 => 'σ', - 120681 => 'τ', - 120682 => 'υ', - 120683 => 'φ', - 120684 => 'χ', - 120685 => 'ψ', - 120686 => 'ω', - 120687 => '∇', - 120688 => 'α', - 120689 => 'β', - 120690 => 'γ', - 120691 => 'δ', - 120692 => 'ε', - 120693 => 'ζ', - 120694 => 'η', - 120695 => 'θ', - 120696 => 'ι', - 120697 => 'κ', - 120698 => 'λ', - 120699 => 'μ', - 120700 => 'ν', - 120701 => 'ξ', - 120702 => 'ο', - 120703 => 'π', - 120704 => 'ρ', - 120705 => 'σ', - 120706 => 'σ', - 120707 => 'τ', - 120708 => 'υ', - 120709 => 'φ', - 120710 => 'χ', - 120711 => 'ψ', - 120712 => 'ω', - 120713 => '∂', - 120714 => 'ε', - 120715 => 'θ', - 120716 => 'κ', - 120717 => 'φ', - 120718 => 'ρ', - 120719 => 'π', - 120720 => 'α', - 120721 => 'β', - 120722 => 'γ', - 120723 => 'δ', - 120724 => 'ε', - 120725 => 'ζ', - 120726 => 'η', - 120727 => 'θ', - 120728 => 'ι', - 120729 => 'κ', - 120730 => 'λ', - 120731 => 'μ', - 120732 => 'ν', - 120733 => 'ξ', - 120734 => 'ο', - 120735 => 'π', - 120736 => 'ρ', - 120737 => 'θ', - 120738 => 'σ', - 120739 => 'τ', - 120740 => 'υ', - 120741 => 'φ', - 120742 => 'χ', - 120743 => 'ψ', - 120744 => 'ω', - 120745 => '∇', - 120746 => 'α', - 120747 => 'β', - 120748 => 'γ', - 120749 => 'δ', - 120750 => 'ε', - 120751 => 'ζ', - 120752 => 'η', - 120753 => 'θ', - 120754 => 'ι', - 120755 => 'κ', - 120756 => 'λ', - 120757 => 'μ', - 120758 => 'ν', - 120759 => 'ξ', - 120760 => 'ο', - 120761 => 'π', - 120762 => 'ρ', - 120763 => 'σ', - 120764 => 'σ', - 120765 => 'τ', - 120766 => 'υ', - 120767 => 'φ', - 120768 => 'χ', - 120769 => 'ψ', - 120770 => 'ω', - 120771 => '∂', - 120772 => 'ε', - 120773 => 'θ', - 120774 => 'κ', - 120775 => 'φ', - 120776 => 'ρ', - 120777 => 'π', - 120778 => 'ϝ', - 120779 => 'ϝ', - 120782 => '0', - 120783 => '1', - 120784 => '2', - 120785 => '3', - 120786 => '4', - 120787 => '5', - 120788 => '6', - 120789 => '7', - 120790 => '8', - 120791 => '9', - 120792 => '0', - 120793 => '1', - 120794 => '2', - 120795 => '3', - 120796 => '4', - 120797 => '5', - 120798 => '6', - 120799 => '7', - 120800 => '8', - 120801 => '9', - 120802 => '0', - 120803 => '1', - 120804 => '2', - 120805 => '3', - 120806 => '4', - 120807 => '5', - 120808 => '6', - 120809 => '7', - 120810 => '8', - 120811 => '9', - 120812 => '0', - 120813 => '1', - 120814 => '2', - 120815 => '3', - 120816 => '4', - 120817 => '5', - 120818 => '6', - 120819 => '7', - 120820 => '8', - 120821 => '9', - 120822 => '0', - 120823 => '1', - 120824 => '2', - 120825 => '3', - 120826 => '4', - 120827 => '5', - 120828 => '6', - 120829 => '7', - 120830 => '8', - 120831 => '9', - 125184 => '𞤢', - 125185 => '𞤣', - 125186 => '𞤤', - 125187 => '𞤥', - 125188 => '𞤦', - 125189 => '𞤧', - 125190 => '𞤨', - 125191 => '𞤩', - 125192 => '𞤪', - 125193 => '𞤫', - 125194 => '𞤬', - 125195 => '𞤭', - 125196 => '𞤮', - 125197 => '𞤯', - 125198 => '𞤰', - 125199 => '𞤱', - 125200 => '𞤲', - 125201 => '𞤳', - 125202 => '𞤴', - 125203 => '𞤵', - 125204 => '𞤶', - 125205 => '𞤷', - 125206 => '𞤸', - 125207 => '𞤹', - 125208 => '𞤺', - 125209 => '𞤻', - 125210 => '𞤼', - 125211 => '𞤽', - 125212 => '𞤾', - 125213 => '𞤿', - 125214 => '𞥀', - 125215 => '𞥁', - 125216 => '𞥂', - 125217 => '𞥃', - 126464 => 'ا', - 126465 => 'ب', - 126466 => 'ج', - 126467 => 'د', - 126469 => 'و', - 126470 => 'ز', - 126471 => 'ح', - 126472 => 'ط', - 126473 => 'ي', - 126474 => 'ك', - 126475 => 'ل', - 126476 => 'م', - 126477 => 'ن', - 126478 => 'س', - 126479 => 'ع', - 126480 => 'ف', - 126481 => 'ص', - 126482 => 'ق', - 126483 => 'ر', - 126484 => 'ش', - 126485 => 'ت', - 126486 => 'ث', - 126487 => 'خ', - 126488 => 'ذ', - 126489 => 'ض', - 126490 => 'ظ', - 126491 => 'غ', - 126492 => 'ٮ', - 126493 => 'ں', - 126494 => 'ڡ', - 126495 => 'ٯ', - 126497 => 'ب', - 126498 => 'ج', - 126500 => 'ه', - 126503 => 'ح', - 126505 => 'ي', - 126506 => 'ك', - 126507 => 'ل', - 126508 => 'م', - 126509 => 'ن', - 126510 => 'س', - 126511 => 'ع', - 126512 => 'ف', - 126513 => 'ص', - 126514 => 'ق', - 126516 => 'ش', - 126517 => 'ت', - 126518 => 'ث', - 126519 => 'خ', - 126521 => 'ض', - 126523 => 'غ', - 126530 => 'ج', - 126535 => 'ح', - 126537 => 'ي', - 126539 => 'ل', - 126541 => 'ن', - 126542 => 'س', - 126543 => 'ع', - 126545 => 'ص', - 126546 => 'ق', - 126548 => 'ش', - 126551 => 'خ', - 126553 => 'ض', - 126555 => 'غ', - 126557 => 'ں', - 126559 => 'ٯ', - 126561 => 'ب', - 126562 => 'ج', - 126564 => 'ه', - 126567 => 'ح', - 126568 => 'ط', - 126569 => 'ي', - 126570 => 'ك', - 126572 => 'م', - 126573 => 'ن', - 126574 => 'س', - 126575 => 'ع', - 126576 => 'ف', - 126577 => 'ص', - 126578 => 'ق', - 126580 => 'ش', - 126581 => 'ت', - 126582 => 'ث', - 126583 => 'خ', - 126585 => 'ض', - 126586 => 'ظ', - 126587 => 'غ', - 126588 => 'ٮ', - 126590 => 'ڡ', - 126592 => 'ا', - 126593 => 'ب', - 126594 => 'ج', - 126595 => 'د', - 126596 => 'ه', - 126597 => 'و', - 126598 => 'ز', - 126599 => 'ح', - 126600 => 'ط', - 126601 => 'ي', - 126603 => 'ل', - 126604 => 'م', - 126605 => 'ن', - 126606 => 'س', - 126607 => 'ع', - 126608 => 'ف', - 126609 => 'ص', - 126610 => 'ق', - 126611 => 'ر', - 126612 => 'ش', - 126613 => 'ت', - 126614 => 'ث', - 126615 => 'خ', - 126616 => 'ذ', - 126617 => 'ض', - 126618 => 'ظ', - 126619 => 'غ', - 126625 => 'ب', - 126626 => 'ج', - 126627 => 'د', - 126629 => 'و', - 126630 => 'ز', - 126631 => 'ح', - 126632 => 'ط', - 126633 => 'ي', - 126635 => 'ل', - 126636 => 'م', - 126637 => 'ن', - 126638 => 'س', - 126639 => 'ع', - 126640 => 'ف', - 126641 => 'ص', - 126642 => 'ق', - 126643 => 'ر', - 126644 => 'ش', - 126645 => 'ت', - 126646 => 'ث', - 126647 => 'خ', - 126648 => 'ذ', - 126649 => 'ض', - 126650 => 'ظ', - 126651 => 'غ', - 127274 => '〔s〕', - 127275 => 'c', - 127276 => 'r', - 127277 => 'cd', - 127278 => 'wz', - 127280 => 'a', - 127281 => 'b', - 127282 => 'c', - 127283 => 'd', - 127284 => 'e', - 127285 => 'f', - 127286 => 'g', - 127287 => 'h', - 127288 => 'i', - 127289 => 'j', - 127290 => 'k', - 127291 => 'l', - 127292 => 'm', - 127293 => 'n', - 127294 => 'o', - 127295 => 'p', - 127296 => 'q', - 127297 => 'r', - 127298 => 's', - 127299 => 't', - 127300 => 'u', - 127301 => 'v', - 127302 => 'w', - 127303 => 'x', - 127304 => 'y', - 127305 => 'z', - 127306 => 'hv', - 127307 => 'mv', - 127308 => 'sd', - 127309 => 'ss', - 127310 => 'ppv', - 127311 => 'wc', - 127338 => 'mc', - 127339 => 'md', - 127340 => 'mr', - 127376 => 'dj', - 127488 => 'ほか', - 127489 => 'ココ', - 127490 => 'サ', - 127504 => '手', - 127505 => '字', - 127506 => '双', - 127507 => 'デ', - 127508 => '二', - 127509 => '多', - 127510 => '解', - 127511 => '天', - 127512 => '交', - 127513 => '映', - 127514 => '無', - 127515 => '料', - 127516 => '前', - 127517 => '後', - 127518 => '再', - 127519 => '新', - 127520 => '初', - 127521 => '終', - 127522 => '生', - 127523 => '販', - 127524 => '声', - 127525 => '吹', - 127526 => '演', - 127527 => '投', - 127528 => '捕', - 127529 => '一', - 127530 => '三', - 127531 => '遊', - 127532 => '左', - 127533 => '中', - 127534 => '右', - 127535 => '指', - 127536 => '走', - 127537 => '打', - 127538 => '禁', - 127539 => '空', - 127540 => '合', - 127541 => '満', - 127542 => '有', - 127543 => '月', - 127544 => '申', - 127545 => '割', - 127546 => '営', - 127547 => '配', - 127552 => '〔本〕', - 127553 => '〔三〕', - 127554 => '〔二〕', - 127555 => '〔安〕', - 127556 => '〔点〕', - 127557 => '〔打〕', - 127558 => '〔盗〕', - 127559 => '〔勝〕', - 127560 => '〔敗〕', - 127568 => '得', - 127569 => '可', - 130032 => '0', - 130033 => '1', - 130034 => '2', - 130035 => '3', - 130036 => '4', - 130037 => '5', - 130038 => '6', - 130039 => '7', - 130040 => '8', - 130041 => '9', - 194560 => '丽', - 194561 => '丸', - 194562 => '乁', - 194563 => '𠄢', - 194564 => '你', - 194565 => '侮', - 194566 => '侻', - 194567 => '倂', - 194568 => '偺', - 194569 => '備', - 194570 => '僧', - 194571 => '像', - 194572 => '㒞', - 194573 => '𠘺', - 194574 => '免', - 194575 => '兔', - 194576 => '兤', - 194577 => '具', - 194578 => '𠔜', - 194579 => '㒹', - 194580 => '內', - 194581 => '再', - 194582 => '𠕋', - 194583 => '冗', - 194584 => '冤', - 194585 => '仌', - 194586 => '冬', - 194587 => '况', - 194588 => '𩇟', - 194589 => '凵', - 194590 => '刃', - 194591 => '㓟', - 194592 => '刻', - 194593 => '剆', - 194594 => '割', - 194595 => '剷', - 194596 => '㔕', - 194597 => '勇', - 194598 => '勉', - 194599 => '勤', - 194600 => '勺', - 194601 => '包', - 194602 => '匆', - 194603 => '北', - 194604 => '卉', - 194605 => '卑', - 194606 => '博', - 194607 => '即', - 194608 => '卽', - 194609 => '卿', - 194610 => '卿', - 194611 => '卿', - 194612 => '𠨬', - 194613 => '灰', - 194614 => '及', - 194615 => '叟', - 194616 => '𠭣', - 194617 => '叫', - 194618 => '叱', - 194619 => '吆', - 194620 => '咞', - 194621 => '吸', - 194622 => '呈', - 194623 => '周', - 194624 => '咢', - 194625 => '哶', - 194626 => '唐', - 194627 => '啓', - 194628 => '啣', - 194629 => '善', - 194630 => '善', - 194631 => '喙', - 194632 => '喫', - 194633 => '喳', - 194634 => '嗂', - 194635 => '圖', - 194636 => '嘆', - 194637 => '圗', - 194638 => '噑', - 194639 => '噴', - 194640 => '切', - 194641 => '壮', - 194642 => '城', - 194643 => '埴', - 194644 => '堍', - 194645 => '型', - 194646 => '堲', - 194647 => '報', - 194648 => '墬', - 194649 => '𡓤', - 194650 => '売', - 194651 => '壷', - 194652 => '夆', - 194653 => '多', - 194654 => '夢', - 194655 => '奢', - 194656 => '𡚨', - 194657 => '𡛪', - 194658 => '姬', - 194659 => '娛', - 194660 => '娧', - 194661 => '姘', - 194662 => '婦', - 194663 => '㛮', - 194665 => '嬈', - 194666 => '嬾', - 194667 => '嬾', - 194668 => '𡧈', - 194669 => '寃', - 194670 => '寘', - 194671 => '寧', - 194672 => '寳', - 194673 => '𡬘', - 194674 => '寿', - 194675 => '将', - 194677 => '尢', - 194678 => '㞁', - 194679 => '屠', - 194680 => '屮', - 194681 => '峀', - 194682 => '岍', - 194683 => '𡷤', - 194684 => '嵃', - 194685 => '𡷦', - 194686 => '嵮', - 194687 => '嵫', - 194688 => '嵼', - 194689 => '巡', - 194690 => '巢', - 194691 => '㠯', - 194692 => '巽', - 194693 => '帨', - 194694 => '帽', - 194695 => '幩', - 194696 => '㡢', - 194697 => '𢆃', - 194698 => '㡼', - 194699 => '庰', - 194700 => '庳', - 194701 => '庶', - 194702 => '廊', - 194703 => '𪎒', - 194704 => '廾', - 194705 => '𢌱', - 194706 => '𢌱', - 194707 => '舁', - 194708 => '弢', - 194709 => '弢', - 194710 => '㣇', - 194711 => '𣊸', - 194712 => '𦇚', - 194713 => '形', - 194714 => '彫', - 194715 => '㣣', - 194716 => '徚', - 194717 => '忍', - 194718 => '志', - 194719 => '忹', - 194720 => '悁', - 194721 => '㤺', - 194722 => '㤜', - 194723 => '悔', - 194724 => '𢛔', - 194725 => '惇', - 194726 => '慈', - 194727 => '慌', - 194728 => '慎', - 194729 => '慌', - 194730 => '慺', - 194731 => '憎', - 194732 => '憲', - 194733 => '憤', - 194734 => '憯', - 194735 => '懞', - 194736 => '懲', - 194737 => '懶', - 194738 => '成', - 194739 => '戛', - 194740 => '扝', - 194741 => '抱', - 194742 => '拔', - 194743 => '捐', - 194744 => '𢬌', - 194745 => '挽', - 194746 => '拼', - 194747 => '捨', - 194748 => '掃', - 194749 => '揤', - 194750 => '𢯱', - 194751 => '搢', - 194752 => '揅', - 194753 => '掩', - 194754 => '㨮', - 194755 => '摩', - 194756 => '摾', - 194757 => '撝', - 194758 => '摷', - 194759 => '㩬', - 194760 => '敏', - 194761 => '敬', - 194762 => '𣀊', - 194763 => '旣', - 194764 => '書', - 194765 => '晉', - 194766 => '㬙', - 194767 => '暑', - 194768 => '㬈', - 194769 => '㫤', - 194770 => '冒', - 194771 => '冕', - 194772 => '最', - 194773 => '暜', - 194774 => '肭', - 194775 => '䏙', - 194776 => '朗', - 194777 => '望', - 194778 => '朡', - 194779 => '杞', - 194780 => '杓', - 194781 => '𣏃', - 194782 => '㭉', - 194783 => '柺', - 194784 => '枅', - 194785 => '桒', - 194786 => '梅', - 194787 => '𣑭', - 194788 => '梎', - 194789 => '栟', - 194790 => '椔', - 194791 => '㮝', - 194792 => '楂', - 194793 => '榣', - 194794 => '槪', - 194795 => '檨', - 194796 => '𣚣', - 194797 => '櫛', - 194798 => '㰘', - 194799 => '次', - 194800 => '𣢧', - 194801 => '歔', - 194802 => '㱎', - 194803 => '歲', - 194804 => '殟', - 194805 => '殺', - 194806 => '殻', - 194807 => '𣪍', - 194808 => '𡴋', - 194809 => '𣫺', - 194810 => '汎', - 194811 => '𣲼', - 194812 => '沿', - 194813 => '泍', - 194814 => '汧', - 194815 => '洖', - 194816 => '派', - 194817 => '海', - 194818 => '流', - 194819 => '浩', - 194820 => '浸', - 194821 => '涅', - 194822 => '𣴞', - 194823 => '洴', - 194824 => '港', - 194825 => '湮', - 194826 => '㴳', - 194827 => '滋', - 194828 => '滇', - 194829 => '𣻑', - 194830 => '淹', - 194831 => '潮', - 194832 => '𣽞', - 194833 => '𣾎', - 194834 => '濆', - 194835 => '瀹', - 194836 => '瀞', - 194837 => '瀛', - 194838 => '㶖', - 194839 => '灊', - 194840 => '災', - 194841 => '灷', - 194842 => '炭', - 194843 => '𠔥', - 194844 => '煅', - 194845 => '𤉣', - 194846 => '熜', - 194848 => '爨', - 194849 => '爵', - 194850 => '牐', - 194851 => '𤘈', - 194852 => '犀', - 194853 => '犕', - 194854 => '𤜵', - 194855 => '𤠔', - 194856 => '獺', - 194857 => '王', - 194858 => '㺬', - 194859 => '玥', - 194860 => '㺸', - 194861 => '㺸', - 194862 => '瑇', - 194863 => '瑜', - 194864 => '瑱', - 194865 => '璅', - 194866 => '瓊', - 194867 => '㼛', - 194868 => '甤', - 194869 => '𤰶', - 194870 => '甾', - 194871 => '𤲒', - 194872 => '異', - 194873 => '𢆟', - 194874 => '瘐', - 194875 => '𤾡', - 194876 => '𤾸', - 194877 => '𥁄', - 194878 => '㿼', - 194879 => '䀈', - 194880 => '直', - 194881 => '𥃳', - 194882 => '𥃲', - 194883 => '𥄙', - 194884 => '𥄳', - 194885 => '眞', - 194886 => '真', - 194887 => '真', - 194888 => '睊', - 194889 => '䀹', - 194890 => '瞋', - 194891 => '䁆', - 194892 => '䂖', - 194893 => '𥐝', - 194894 => '硎', - 194895 => '碌', - 194896 => '磌', - 194897 => '䃣', - 194898 => '𥘦', - 194899 => '祖', - 194900 => '𥚚', - 194901 => '𥛅', - 194902 => '福', - 194903 => '秫', - 194904 => '䄯', - 194905 => '穀', - 194906 => '穊', - 194907 => '穏', - 194908 => '𥥼', - 194909 => '𥪧', - 194910 => '𥪧', - 194912 => '䈂', - 194913 => '𥮫', - 194914 => '篆', - 194915 => '築', - 194916 => '䈧', - 194917 => '𥲀', - 194918 => '糒', - 194919 => '䊠', - 194920 => '糨', - 194921 => '糣', - 194922 => '紀', - 194923 => '𥾆', - 194924 => '絣', - 194925 => '䌁', - 194926 => '緇', - 194927 => '縂', - 194928 => '繅', - 194929 => '䌴', - 194930 => '𦈨', - 194931 => '𦉇', - 194932 => '䍙', - 194933 => '𦋙', - 194934 => '罺', - 194935 => '𦌾', - 194936 => '羕', - 194937 => '翺', - 194938 => '者', - 194939 => '𦓚', - 194940 => '𦔣', - 194941 => '聠', - 194942 => '𦖨', - 194943 => '聰', - 194944 => '𣍟', - 194945 => '䏕', - 194946 => '育', - 194947 => '脃', - 194948 => '䐋', - 194949 => '脾', - 194950 => '媵', - 194951 => '𦞧', - 194952 => '𦞵', - 194953 => '𣎓', - 194954 => '𣎜', - 194955 => '舁', - 194956 => '舄', - 194957 => '辞', - 194958 => '䑫', - 194959 => '芑', - 194960 => '芋', - 194961 => '芝', - 194962 => '劳', - 194963 => '花', - 194964 => '芳', - 194965 => '芽', - 194966 => '苦', - 194967 => '𦬼', - 194968 => '若', - 194969 => '茝', - 194970 => '荣', - 194971 => '莭', - 194972 => '茣', - 194973 => '莽', - 194974 => '菧', - 194975 => '著', - 194976 => '荓', - 194977 => '菊', - 194978 => '菌', - 194979 => '菜', - 194980 => '𦰶', - 194981 => '𦵫', - 194982 => '𦳕', - 194983 => '䔫', - 194984 => '蓱', - 194985 => '蓳', - 194986 => '蔖', - 194987 => '𧏊', - 194988 => '蕤', - 194989 => '𦼬', - 194990 => '䕝', - 194991 => '䕡', - 194992 => '𦾱', - 194993 => '𧃒', - 194994 => '䕫', - 194995 => '虐', - 194996 => '虜', - 194997 => '虧', - 194998 => '虩', - 194999 => '蚩', - 195000 => '蚈', - 195001 => '蜎', - 195002 => '蛢', - 195003 => '蝹', - 195004 => '蜨', - 195005 => '蝫', - 195006 => '螆', - 195008 => '蟡', - 195009 => '蠁', - 195010 => '䗹', - 195011 => '衠', - 195012 => '衣', - 195013 => '𧙧', - 195014 => '裗', - 195015 => '裞', - 195016 => '䘵', - 195017 => '裺', - 195018 => '㒻', - 195019 => '𧢮', - 195020 => '𧥦', - 195021 => '䚾', - 195022 => '䛇', - 195023 => '誠', - 195024 => '諭', - 195025 => '變', - 195026 => '豕', - 195027 => '𧲨', - 195028 => '貫', - 195029 => '賁', - 195030 => '贛', - 195031 => '起', - 195032 => '𧼯', - 195033 => '𠠄', - 195034 => '跋', - 195035 => '趼', - 195036 => '跰', - 195037 => '𠣞', - 195038 => '軔', - 195039 => '輸', - 195040 => '𨗒', - 195041 => '𨗭', - 195042 => '邔', - 195043 => '郱', - 195044 => '鄑', - 195045 => '𨜮', - 195046 => '鄛', - 195047 => '鈸', - 195048 => '鋗', - 195049 => '鋘', - 195050 => '鉼', - 195051 => '鏹', - 195052 => '鐕', - 195053 => '𨯺', - 195054 => '開', - 195055 => '䦕', - 195056 => '閷', - 195057 => '𨵷', - 195058 => '䧦', - 195059 => '雃', - 195060 => '嶲', - 195061 => '霣', - 195062 => '𩅅', - 195063 => '𩈚', - 195064 => '䩮', - 195065 => '䩶', - 195066 => '韠', - 195067 => '𩐊', - 195068 => '䪲', - 195069 => '𩒖', - 195070 => '頋', - 195071 => '頋', - 195072 => '頩', - 195073 => '𩖶', - 195074 => '飢', - 195075 => '䬳', - 195076 => '餩', - 195077 => '馧', - 195078 => '駂', - 195079 => '駾', - 195080 => '䯎', - 195081 => '𩬰', - 195082 => '鬒', - 195083 => '鱀', - 195084 => '鳽', - 195085 => '䳎', - 195086 => '䳭', - 195087 => '鵧', - 195088 => '𪃎', - 195089 => '䳸', - 195090 => '𪄅', - 195091 => '𪈎', - 195092 => '𪊑', - 195093 => '麻', - 195094 => '䵖', - 195095 => '黹', - 195096 => '黾', - 195097 => '鼅', - 195098 => '鼏', - 195099 => '鼖', - 195100 => '鼻', - 195101 => '𪘀', -); diff --git a/vendor/symfony/polyfill-intl-idn/Resources/unidata/virama.php b/vendor/symfony/polyfill-intl-idn/Resources/unidata/virama.php deleted file mode 100644 index 1958e37e..00000000 --- a/vendor/symfony/polyfill-intl-idn/Resources/unidata/virama.php +++ /dev/null @@ -1,65 +0,0 @@ - 9, - 2509 => 9, - 2637 => 9, - 2765 => 9, - 2893 => 9, - 3021 => 9, - 3149 => 9, - 3277 => 9, - 3387 => 9, - 3388 => 9, - 3405 => 9, - 3530 => 9, - 3642 => 9, - 3770 => 9, - 3972 => 9, - 4153 => 9, - 4154 => 9, - 5908 => 9, - 5940 => 9, - 6098 => 9, - 6752 => 9, - 6980 => 9, - 7082 => 9, - 7083 => 9, - 7154 => 9, - 7155 => 9, - 11647 => 9, - 43014 => 9, - 43052 => 9, - 43204 => 9, - 43347 => 9, - 43456 => 9, - 43766 => 9, - 44013 => 9, - 68159 => 9, - 69702 => 9, - 69759 => 9, - 69817 => 9, - 69939 => 9, - 69940 => 9, - 70080 => 9, - 70197 => 9, - 70378 => 9, - 70477 => 9, - 70722 => 9, - 70850 => 9, - 71103 => 9, - 71231 => 9, - 71350 => 9, - 71467 => 9, - 71737 => 9, - 71997 => 9, - 71998 => 9, - 72160 => 9, - 72244 => 9, - 72263 => 9, - 72345 => 9, - 72767 => 9, - 73028 => 9, - 73029 => 9, - 73111 => 9, -); diff --git a/vendor/symfony/polyfill-intl-idn/bootstrap.php b/vendor/symfony/polyfill-intl-idn/bootstrap.php deleted file mode 100644 index 57c78356..00000000 --- a/vendor/symfony/polyfill-intl-idn/bootstrap.php +++ /dev/null @@ -1,145 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Intl\Idn as p; - -if (extension_loaded('intl')) { - return; -} - -if (\PHP_VERSION_ID >= 80000) { - return require __DIR__.'/bootstrap80.php'; -} - -if (!defined('U_IDNA_PROHIBITED_ERROR')) { - define('U_IDNA_PROHIBITED_ERROR', 66560); -} -if (!defined('U_IDNA_ERROR_START')) { - define('U_IDNA_ERROR_START', 66560); -} -if (!defined('U_IDNA_UNASSIGNED_ERROR')) { - define('U_IDNA_UNASSIGNED_ERROR', 66561); -} -if (!defined('U_IDNA_CHECK_BIDI_ERROR')) { - define('U_IDNA_CHECK_BIDI_ERROR', 66562); -} -if (!defined('U_IDNA_STD3_ASCII_RULES_ERROR')) { - define('U_IDNA_STD3_ASCII_RULES_ERROR', 66563); -} -if (!defined('U_IDNA_ACE_PREFIX_ERROR')) { - define('U_IDNA_ACE_PREFIX_ERROR', 66564); -} -if (!defined('U_IDNA_VERIFICATION_ERROR')) { - define('U_IDNA_VERIFICATION_ERROR', 66565); -} -if (!defined('U_IDNA_LABEL_TOO_LONG_ERROR')) { - define('U_IDNA_LABEL_TOO_LONG_ERROR', 66566); -} -if (!defined('U_IDNA_ZERO_LENGTH_LABEL_ERROR')) { - define('U_IDNA_ZERO_LENGTH_LABEL_ERROR', 66567); -} -if (!defined('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR')) { - define('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR', 66568); -} -if (!defined('U_IDNA_ERROR_LIMIT')) { - define('U_IDNA_ERROR_LIMIT', 66569); -} -if (!defined('U_STRINGPREP_PROHIBITED_ERROR')) { - define('U_STRINGPREP_PROHIBITED_ERROR', 66560); -} -if (!defined('U_STRINGPREP_UNASSIGNED_ERROR')) { - define('U_STRINGPREP_UNASSIGNED_ERROR', 66561); -} -if (!defined('U_STRINGPREP_CHECK_BIDI_ERROR')) { - define('U_STRINGPREP_CHECK_BIDI_ERROR', 66562); -} -if (!defined('IDNA_DEFAULT')) { - define('IDNA_DEFAULT', 0); -} -if (!defined('IDNA_ALLOW_UNASSIGNED')) { - define('IDNA_ALLOW_UNASSIGNED', 1); -} -if (!defined('IDNA_USE_STD3_RULES')) { - define('IDNA_USE_STD3_RULES', 2); -} -if (!defined('IDNA_CHECK_BIDI')) { - define('IDNA_CHECK_BIDI', 4); -} -if (!defined('IDNA_CHECK_CONTEXTJ')) { - define('IDNA_CHECK_CONTEXTJ', 8); -} -if (!defined('IDNA_NONTRANSITIONAL_TO_ASCII')) { - define('IDNA_NONTRANSITIONAL_TO_ASCII', 16); -} -if (!defined('IDNA_NONTRANSITIONAL_TO_UNICODE')) { - define('IDNA_NONTRANSITIONAL_TO_UNICODE', 32); -} -if (!defined('INTL_IDNA_VARIANT_2003')) { - define('INTL_IDNA_VARIANT_2003', 0); -} -if (!defined('INTL_IDNA_VARIANT_UTS46')) { - define('INTL_IDNA_VARIANT_UTS46', 1); -} -if (!defined('IDNA_ERROR_EMPTY_LABEL')) { - define('IDNA_ERROR_EMPTY_LABEL', 1); -} -if (!defined('IDNA_ERROR_LABEL_TOO_LONG')) { - define('IDNA_ERROR_LABEL_TOO_LONG', 2); -} -if (!defined('IDNA_ERROR_DOMAIN_NAME_TOO_LONG')) { - define('IDNA_ERROR_DOMAIN_NAME_TOO_LONG', 4); -} -if (!defined('IDNA_ERROR_LEADING_HYPHEN')) { - define('IDNA_ERROR_LEADING_HYPHEN', 8); -} -if (!defined('IDNA_ERROR_TRAILING_HYPHEN')) { - define('IDNA_ERROR_TRAILING_HYPHEN', 16); -} -if (!defined('IDNA_ERROR_HYPHEN_3_4')) { - define('IDNA_ERROR_HYPHEN_3_4', 32); -} -if (!defined('IDNA_ERROR_LEADING_COMBINING_MARK')) { - define('IDNA_ERROR_LEADING_COMBINING_MARK', 64); -} -if (!defined('IDNA_ERROR_DISALLOWED')) { - define('IDNA_ERROR_DISALLOWED', 128); -} -if (!defined('IDNA_ERROR_PUNYCODE')) { - define('IDNA_ERROR_PUNYCODE', 256); -} -if (!defined('IDNA_ERROR_LABEL_HAS_DOT')) { - define('IDNA_ERROR_LABEL_HAS_DOT', 512); -} -if (!defined('IDNA_ERROR_INVALID_ACE_LABEL')) { - define('IDNA_ERROR_INVALID_ACE_LABEL', 1024); -} -if (!defined('IDNA_ERROR_BIDI')) { - define('IDNA_ERROR_BIDI', 2048); -} -if (!defined('IDNA_ERROR_CONTEXTJ')) { - define('IDNA_ERROR_CONTEXTJ', 4096); -} - -if (\PHP_VERSION_ID < 70400) { - if (!function_exists('idn_to_ascii')) { - function idn_to_ascii($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_2003, &$idna_info = null) { return p\Idn::idn_to_ascii($domain, $flags, $variant, $idna_info); } - } - if (!function_exists('idn_to_utf8')) { - function idn_to_utf8($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_2003, &$idna_info = null) { return p\Idn::idn_to_utf8($domain, $flags, $variant, $idna_info); } - } -} else { - if (!function_exists('idn_to_ascii')) { - function idn_to_ascii($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_ascii($domain, $flags, $variant, $idna_info); } - } - if (!function_exists('idn_to_utf8')) { - function idn_to_utf8($domain, $flags = 0, $variant = \INTL_IDNA_VARIANT_UTS46, &$idna_info = null) { return p\Idn::idn_to_utf8($domain, $flags, $variant, $idna_info); } - } -} diff --git a/vendor/symfony/polyfill-intl-idn/bootstrap80.php b/vendor/symfony/polyfill-intl-idn/bootstrap80.php deleted file mode 100644 index a42ab81a..00000000 --- a/vendor/symfony/polyfill-intl-idn/bootstrap80.php +++ /dev/null @@ -1,125 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Intl\Idn as p; - -if (!defined('U_IDNA_PROHIBITED_ERROR')) { - define('U_IDNA_PROHIBITED_ERROR', 66560); -} -if (!defined('U_IDNA_ERROR_START')) { - define('U_IDNA_ERROR_START', 66560); -} -if (!defined('U_IDNA_UNASSIGNED_ERROR')) { - define('U_IDNA_UNASSIGNED_ERROR', 66561); -} -if (!defined('U_IDNA_CHECK_BIDI_ERROR')) { - define('U_IDNA_CHECK_BIDI_ERROR', 66562); -} -if (!defined('U_IDNA_STD3_ASCII_RULES_ERROR')) { - define('U_IDNA_STD3_ASCII_RULES_ERROR', 66563); -} -if (!defined('U_IDNA_ACE_PREFIX_ERROR')) { - define('U_IDNA_ACE_PREFIX_ERROR', 66564); -} -if (!defined('U_IDNA_VERIFICATION_ERROR')) { - define('U_IDNA_VERIFICATION_ERROR', 66565); -} -if (!defined('U_IDNA_LABEL_TOO_LONG_ERROR')) { - define('U_IDNA_LABEL_TOO_LONG_ERROR', 66566); -} -if (!defined('U_IDNA_ZERO_LENGTH_LABEL_ERROR')) { - define('U_IDNA_ZERO_LENGTH_LABEL_ERROR', 66567); -} -if (!defined('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR')) { - define('U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR', 66568); -} -if (!defined('U_IDNA_ERROR_LIMIT')) { - define('U_IDNA_ERROR_LIMIT', 66569); -} -if (!defined('U_STRINGPREP_PROHIBITED_ERROR')) { - define('U_STRINGPREP_PROHIBITED_ERROR', 66560); -} -if (!defined('U_STRINGPREP_UNASSIGNED_ERROR')) { - define('U_STRINGPREP_UNASSIGNED_ERROR', 66561); -} -if (!defined('U_STRINGPREP_CHECK_BIDI_ERROR')) { - define('U_STRINGPREP_CHECK_BIDI_ERROR', 66562); -} -if (!defined('IDNA_DEFAULT')) { - define('IDNA_DEFAULT', 0); -} -if (!defined('IDNA_ALLOW_UNASSIGNED')) { - define('IDNA_ALLOW_UNASSIGNED', 1); -} -if (!defined('IDNA_USE_STD3_RULES')) { - define('IDNA_USE_STD3_RULES', 2); -} -if (!defined('IDNA_CHECK_BIDI')) { - define('IDNA_CHECK_BIDI', 4); -} -if (!defined('IDNA_CHECK_CONTEXTJ')) { - define('IDNA_CHECK_CONTEXTJ', 8); -} -if (!defined('IDNA_NONTRANSITIONAL_TO_ASCII')) { - define('IDNA_NONTRANSITIONAL_TO_ASCII', 16); -} -if (!defined('IDNA_NONTRANSITIONAL_TO_UNICODE')) { - define('IDNA_NONTRANSITIONAL_TO_UNICODE', 32); -} -if (!defined('INTL_IDNA_VARIANT_UTS46')) { - define('INTL_IDNA_VARIANT_UTS46', 1); -} -if (!defined('IDNA_ERROR_EMPTY_LABEL')) { - define('IDNA_ERROR_EMPTY_LABEL', 1); -} -if (!defined('IDNA_ERROR_LABEL_TOO_LONG')) { - define('IDNA_ERROR_LABEL_TOO_LONG', 2); -} -if (!defined('IDNA_ERROR_DOMAIN_NAME_TOO_LONG')) { - define('IDNA_ERROR_DOMAIN_NAME_TOO_LONG', 4); -} -if (!defined('IDNA_ERROR_LEADING_HYPHEN')) { - define('IDNA_ERROR_LEADING_HYPHEN', 8); -} -if (!defined('IDNA_ERROR_TRAILING_HYPHEN')) { - define('IDNA_ERROR_TRAILING_HYPHEN', 16); -} -if (!defined('IDNA_ERROR_HYPHEN_3_4')) { - define('IDNA_ERROR_HYPHEN_3_4', 32); -} -if (!defined('IDNA_ERROR_LEADING_COMBINING_MARK')) { - define('IDNA_ERROR_LEADING_COMBINING_MARK', 64); -} -if (!defined('IDNA_ERROR_DISALLOWED')) { - define('IDNA_ERROR_DISALLOWED', 128); -} -if (!defined('IDNA_ERROR_PUNYCODE')) { - define('IDNA_ERROR_PUNYCODE', 256); -} -if (!defined('IDNA_ERROR_LABEL_HAS_DOT')) { - define('IDNA_ERROR_LABEL_HAS_DOT', 512); -} -if (!defined('IDNA_ERROR_INVALID_ACE_LABEL')) { - define('IDNA_ERROR_INVALID_ACE_LABEL', 1024); -} -if (!defined('IDNA_ERROR_BIDI')) { - define('IDNA_ERROR_BIDI', 2048); -} -if (!defined('IDNA_ERROR_CONTEXTJ')) { - define('IDNA_ERROR_CONTEXTJ', 4096); -} - -if (!function_exists('idn_to_ascii')) { - function idn_to_ascii(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_ascii((string) $domain, (int) $flags, (int) $variant, $idna_info); } -} -if (!function_exists('idn_to_utf8')) { - function idn_to_utf8(?string $domain, ?int $flags = 0, ?int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_info = null): string|false { return p\Idn::idn_to_utf8((string) $domain, (int) $flags, (int) $variant, $idna_info); } -} diff --git a/vendor/symfony/polyfill-intl-idn/composer.json b/vendor/symfony/polyfill-intl-idn/composer.json deleted file mode 100644 index c5a2a462..00000000 --- a/vendor/symfony/polyfill-intl-idn/composer.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "symfony/polyfill-intl-idn", - "type": "library", - "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", - "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "idn"], - "homepage": "https://symfony.com", - "license": "MIT", - "authors": [ - { - "name": "Laurent Bassin", - "email": "laurent@bassin.info" - }, - { - "name": "Trevor Rowbotham", - "email": "trevor.rowbotham@pm.me" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" - }, - "autoload": { - "psr-4": { "Symfony\\Polyfill\\Intl\\Idn\\": "" }, - "files": [ "bootstrap.php" ] - }, - "suggest": { - "ext-intl": "For best performance" - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/vendor/symfony/polyfill-intl-normalizer/LICENSE b/vendor/symfony/polyfill-intl-normalizer/LICENSE deleted file mode 100644 index 4cd8bdd3..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2015-2019 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/polyfill-intl-normalizer/Normalizer.php b/vendor/symfony/polyfill-intl-normalizer/Normalizer.php deleted file mode 100644 index 4443c232..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/Normalizer.php +++ /dev/null @@ -1,310 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Intl\Normalizer; - -/** - * Normalizer is a PHP fallback implementation of the Normalizer class provided by the intl extension. - * - * It has been validated with Unicode 6.3 Normalization Conformance Test. - * See http://www.unicode.org/reports/tr15/ for detailed info about Unicode normalizations. - * - * @author Nicolas Grekas - * - * @internal - */ -class Normalizer -{ - public const FORM_D = \Normalizer::FORM_D; - public const FORM_KD = \Normalizer::FORM_KD; - public const FORM_C = \Normalizer::FORM_C; - public const FORM_KC = \Normalizer::FORM_KC; - public const NFD = \Normalizer::NFD; - public const NFKD = \Normalizer::NFKD; - public const NFC = \Normalizer::NFC; - public const NFKC = \Normalizer::NFKC; - - private static $C; - private static $D; - private static $KD; - private static $cC; - private static $ulenMask = ["\xC0" => 2, "\xD0" => 2, "\xE0" => 3, "\xF0" => 4]; - private static $ASCII = "\x20\x65\x69\x61\x73\x6E\x74\x72\x6F\x6C\x75\x64\x5D\x5B\x63\x6D\x70\x27\x0A\x67\x7C\x68\x76\x2E\x66\x62\x2C\x3A\x3D\x2D\x71\x31\x30\x43\x32\x2A\x79\x78\x29\x28\x4C\x39\x41\x53\x2F\x50\x22\x45\x6A\x4D\x49\x6B\x33\x3E\x35\x54\x3C\x44\x34\x7D\x42\x7B\x38\x46\x77\x52\x36\x37\x55\x47\x4E\x3B\x4A\x7A\x56\x23\x48\x4F\x57\x5F\x26\x21\x4B\x3F\x58\x51\x25\x59\x5C\x09\x5A\x2B\x7E\x5E\x24\x40\x60\x7F\x00\x01\x02\x03\x04\x05\x06\x07\x08\x0B\x0C\x0D\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F"; - - public static function isNormalized(string $s, int $form = self::FORM_C) - { - if (!\in_array($form, [self::NFD, self::NFKD, self::NFC, self::NFKC])) { - return false; - } - if (!isset($s[strspn($s, self::$ASCII)])) { - return true; - } - if (self::NFC == $form && preg_match('//u', $s) && !preg_match('/[^\x00-\x{2FF}]/u', $s)) { - return true; - } - - return self::normalize($s, $form) === $s; - } - - public static function normalize(string $s, int $form = self::FORM_C) - { - if (!preg_match('//u', $s)) { - return false; - } - - switch ($form) { - case self::NFC: $C = true; $K = false; break; - case self::NFD: $C = false; $K = false; break; - case self::NFKC: $C = true; $K = true; break; - case self::NFKD: $C = false; $K = true; break; - default: - if (\defined('Normalizer::NONE') && \Normalizer::NONE == $form) { - return $s; - } - - if (80000 > \PHP_VERSION_ID) { - return false; - } - - throw new \ValueError('normalizer_normalize(): Argument #2 ($form) must be a a valid normalization form'); - } - - if ('' === $s) { - return ''; - } - - if ($K && null === self::$KD) { - self::$KD = self::getData('compatibilityDecomposition'); - } - - if (null === self::$D) { - self::$D = self::getData('canonicalDecomposition'); - self::$cC = self::getData('combiningClass'); - } - - if (null !== $mbEncoding = (2 /* MB_OVERLOAD_STRING */ & (int) ini_get('mbstring.func_overload')) ? mb_internal_encoding() : null) { - mb_internal_encoding('8bit'); - } - - $r = self::decompose($s, $K); - - if ($C) { - if (null === self::$C) { - self::$C = self::getData('canonicalComposition'); - } - - $r = self::recompose($r); - } - if (null !== $mbEncoding) { - mb_internal_encoding($mbEncoding); - } - - return $r; - } - - private static function recompose($s) - { - $ASCII = self::$ASCII; - $compMap = self::$C; - $combClass = self::$cC; - $ulenMask = self::$ulenMask; - - $result = $tail = ''; - - $i = $s[0] < "\x80" ? 1 : $ulenMask[$s[0] & "\xF0"]; - $len = \strlen($s); - - $lastUchr = substr($s, 0, $i); - $lastUcls = isset($combClass[$lastUchr]) ? 256 : 0; - - while ($i < $len) { - if ($s[$i] < "\x80") { - // ASCII chars - - if ($tail) { - $lastUchr .= $tail; - $tail = ''; - } - - if ($j = strspn($s, $ASCII, $i + 1)) { - $lastUchr .= substr($s, $i, $j); - $i += $j; - } - - $result .= $lastUchr; - $lastUchr = $s[$i]; - $lastUcls = 0; - ++$i; - continue; - } - - $ulen = $ulenMask[$s[$i] & "\xF0"]; - $uchr = substr($s, $i, $ulen); - - if ($lastUchr < "\xE1\x84\x80" || "\xE1\x84\x92" < $lastUchr - || $uchr < "\xE1\x85\xA1" || "\xE1\x85\xB5" < $uchr - || $lastUcls) { - // Table lookup and combining chars composition - - $ucls = $combClass[$uchr] ?? 0; - - if (isset($compMap[$lastUchr.$uchr]) && (!$lastUcls || $lastUcls < $ucls)) { - $lastUchr = $compMap[$lastUchr.$uchr]; - } elseif ($lastUcls = $ucls) { - $tail .= $uchr; - } else { - if ($tail) { - $lastUchr .= $tail; - $tail = ''; - } - - $result .= $lastUchr; - $lastUchr = $uchr; - } - } else { - // Hangul chars - - $L = \ord($lastUchr[2]) - 0x80; - $V = \ord($uchr[2]) - 0xA1; - $T = 0; - - $uchr = substr($s, $i + $ulen, 3); - - if ("\xE1\x86\xA7" <= $uchr && $uchr <= "\xE1\x87\x82") { - $T = \ord($uchr[2]) - 0xA7; - 0 > $T && $T += 0x40; - $ulen += 3; - } - - $L = 0xAC00 + ($L * 21 + $V) * 28 + $T; - $lastUchr = \chr(0xE0 | $L >> 12).\chr(0x80 | $L >> 6 & 0x3F).\chr(0x80 | $L & 0x3F); - } - - $i += $ulen; - } - - return $result.$lastUchr.$tail; - } - - private static function decompose($s, $c) - { - $result = ''; - - $ASCII = self::$ASCII; - $decompMap = self::$D; - $combClass = self::$cC; - $ulenMask = self::$ulenMask; - if ($c) { - $compatMap = self::$KD; - } - - $c = []; - $i = 0; - $len = \strlen($s); - - while ($i < $len) { - if ($s[$i] < "\x80") { - // ASCII chars - - if ($c) { - ksort($c); - $result .= implode('', $c); - $c = []; - } - - $j = 1 + strspn($s, $ASCII, $i + 1); - $result .= substr($s, $i, $j); - $i += $j; - continue; - } - - $ulen = $ulenMask[$s[$i] & "\xF0"]; - $uchr = substr($s, $i, $ulen); - $i += $ulen; - - if ($uchr < "\xEA\xB0\x80" || "\xED\x9E\xA3" < $uchr) { - // Table lookup - - if ($uchr !== $j = $compatMap[$uchr] ?? ($decompMap[$uchr] ?? $uchr)) { - $uchr = $j; - - $j = \strlen($uchr); - $ulen = $uchr[0] < "\x80" ? 1 : $ulenMask[$uchr[0] & "\xF0"]; - - if ($ulen != $j) { - // Put trailing chars in $s - - $j -= $ulen; - $i -= $j; - - if (0 > $i) { - $s = str_repeat(' ', -$i).$s; - $len -= $i; - $i = 0; - } - - while ($j--) { - $s[$i + $j] = $uchr[$ulen + $j]; - } - - $uchr = substr($uchr, 0, $ulen); - } - } - if (isset($combClass[$uchr])) { - // Combining chars, for sorting - - if (!isset($c[$combClass[$uchr]])) { - $c[$combClass[$uchr]] = ''; - } - $c[$combClass[$uchr]] .= $uchr; - continue; - } - } else { - // Hangul chars - - $uchr = unpack('C*', $uchr); - $j = (($uchr[1] - 224) << 12) + (($uchr[2] - 128) << 6) + $uchr[3] - 0xAC80; - - $uchr = "\xE1\x84".\chr(0x80 + (int) ($j / 588)) - ."\xE1\x85".\chr(0xA1 + (int) (($j % 588) / 28)); - - if ($j %= 28) { - $uchr .= $j < 25 - ? ("\xE1\x86".\chr(0xA7 + $j)) - : ("\xE1\x87".\chr(0x67 + $j)); - } - } - if ($c) { - ksort($c); - $result .= implode('', $c); - $c = []; - } - - $result .= $uchr; - } - - if ($c) { - ksort($c); - $result .= implode('', $c); - } - - return $result; - } - - private static function getData($file) - { - if (file_exists($file = __DIR__.'/Resources/unidata/'.$file.'.php')) { - return require $file; - } - - return false; - } -} diff --git a/vendor/symfony/polyfill-intl-normalizer/README.md b/vendor/symfony/polyfill-intl-normalizer/README.md deleted file mode 100644 index 15060c5f..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/README.md +++ /dev/null @@ -1,14 +0,0 @@ -Symfony Polyfill / Intl: Normalizer -=================================== - -This component provides a fallback implementation for the -[`Normalizer`](https://php.net/Normalizer) class provided -by the [Intl](https://php.net/intl) extension. - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php b/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php deleted file mode 100644 index 0fdfc890..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php +++ /dev/null @@ -1,17 +0,0 @@ - 'À', - 'Á' => 'Á', - 'Â' => 'Â', - 'Ã' => 'Ã', - 'Ä' => 'Ä', - 'Å' => 'Å', - 'Ç' => 'Ç', - 'È' => 'È', - 'É' => 'É', - 'Ê' => 'Ê', - 'Ë' => 'Ë', - 'Ì' => 'Ì', - 'Í' => 'Í', - 'Î' => 'Î', - 'Ï' => 'Ï', - 'Ñ' => 'Ñ', - 'Ò' => 'Ò', - 'Ó' => 'Ó', - 'Ô' => 'Ô', - 'Õ' => 'Õ', - 'Ö' => 'Ö', - 'Ù' => 'Ù', - 'Ú' => 'Ú', - 'Û' => 'Û', - 'Ü' => 'Ü', - 'Ý' => 'Ý', - 'à' => 'à', - 'á' => 'á', - 'â' => 'â', - 'ã' => 'ã', - 'ä' => 'ä', - 'å' => 'å', - 'ç' => 'ç', - 'è' => 'è', - 'é' => 'é', - 'ê' => 'ê', - 'ë' => 'ë', - 'ì' => 'ì', - 'í' => 'í', - 'î' => 'î', - 'ï' => 'ï', - 'ñ' => 'ñ', - 'ò' => 'ò', - 'ó' => 'ó', - 'ô' => 'ô', - 'õ' => 'õ', - 'ö' => 'ö', - 'ù' => 'ù', - 'ú' => 'ú', - 'û' => 'û', - 'ü' => 'ü', - 'ý' => 'ý', - 'ÿ' => 'ÿ', - 'Ā' => 'Ā', - 'ā' => 'ā', - 'Ă' => 'Ă', - 'ă' => 'ă', - 'Ą' => 'Ą', - 'ą' => 'ą', - 'Ć' => 'Ć', - 'ć' => 'ć', - 'Ĉ' => 'Ĉ', - 'ĉ' => 'ĉ', - 'Ċ' => 'Ċ', - 'ċ' => 'ċ', - 'Č' => 'Č', - 'č' => 'č', - 'Ď' => 'Ď', - 'ď' => 'ď', - 'Ē' => 'Ē', - 'ē' => 'ē', - 'Ĕ' => 'Ĕ', - 'ĕ' => 'ĕ', - 'Ė' => 'Ė', - 'ė' => 'ė', - 'Ę' => 'Ę', - 'ę' => 'ę', - 'Ě' => 'Ě', - 'ě' => 'ě', - 'Ĝ' => 'Ĝ', - 'ĝ' => 'ĝ', - 'Ğ' => 'Ğ', - 'ğ' => 'ğ', - 'Ġ' => 'Ġ', - 'ġ' => 'ġ', - 'Ģ' => 'Ģ', - 'ģ' => 'ģ', - 'Ĥ' => 'Ĥ', - 'ĥ' => 'ĥ', - 'Ĩ' => 'Ĩ', - 'ĩ' => 'ĩ', - 'Ī' => 'Ī', - 'ī' => 'ī', - 'Ĭ' => 'Ĭ', - 'ĭ' => 'ĭ', - 'Į' => 'Į', - 'į' => 'į', - 'İ' => 'İ', - 'Ĵ' => 'Ĵ', - 'ĵ' => 'ĵ', - 'Ķ' => 'Ķ', - 'ķ' => 'ķ', - 'Ĺ' => 'Ĺ', - 'ĺ' => 'ĺ', - 'Ļ' => 'Ļ', - 'ļ' => 'ļ', - 'Ľ' => 'Ľ', - 'ľ' => 'ľ', - 'Ń' => 'Ń', - 'ń' => 'ń', - 'Ņ' => 'Ņ', - 'ņ' => 'ņ', - 'Ň' => 'Ň', - 'ň' => 'ň', - 'Ō' => 'Ō', - 'ō' => 'ō', - 'Ŏ' => 'Ŏ', - 'ŏ' => 'ŏ', - 'Ő' => 'Ő', - 'ő' => 'ő', - 'Ŕ' => 'Ŕ', - 'ŕ' => 'ŕ', - 'Ŗ' => 'Ŗ', - 'ŗ' => 'ŗ', - 'Ř' => 'Ř', - 'ř' => 'ř', - 'Ś' => 'Ś', - 'ś' => 'ś', - 'Ŝ' => 'Ŝ', - 'ŝ' => 'ŝ', - 'Ş' => 'Ş', - 'ş' => 'ş', - 'Š' => 'Š', - 'š' => 'š', - 'Ţ' => 'Ţ', - 'ţ' => 'ţ', - 'Ť' => 'Ť', - 'ť' => 'ť', - 'Ũ' => 'Ũ', - 'ũ' => 'ũ', - 'Ū' => 'Ū', - 'ū' => 'ū', - 'Ŭ' => 'Ŭ', - 'ŭ' => 'ŭ', - 'Ů' => 'Ů', - 'ů' => 'ů', - 'Ű' => 'Ű', - 'ű' => 'ű', - 'Ų' => 'Ų', - 'ų' => 'ų', - 'Ŵ' => 'Ŵ', - 'ŵ' => 'ŵ', - 'Ŷ' => 'Ŷ', - 'ŷ' => 'ŷ', - 'Ÿ' => 'Ÿ', - 'Ź' => 'Ź', - 'ź' => 'ź', - 'Ż' => 'Ż', - 'ż' => 'ż', - 'Ž' => 'Ž', - 'ž' => 'ž', - 'Ơ' => 'Ơ', - 'ơ' => 'ơ', - 'Ư' => 'Ư', - 'ư' => 'ư', - 'Ǎ' => 'Ǎ', - 'ǎ' => 'ǎ', - 'Ǐ' => 'Ǐ', - 'ǐ' => 'ǐ', - 'Ǒ' => 'Ǒ', - 'ǒ' => 'ǒ', - 'Ǔ' => 'Ǔ', - 'ǔ' => 'ǔ', - 'Ǖ' => 'Ǖ', - 'ǖ' => 'ǖ', - 'Ǘ' => 'Ǘ', - 'ǘ' => 'ǘ', - 'Ǚ' => 'Ǚ', - 'ǚ' => 'ǚ', - 'Ǜ' => 'Ǜ', - 'ǜ' => 'ǜ', - 'Ǟ' => 'Ǟ', - 'ǟ' => 'ǟ', - 'Ǡ' => 'Ǡ', - 'ǡ' => 'ǡ', - 'Ǣ' => 'Ǣ', - 'ǣ' => 'ǣ', - 'Ǧ' => 'Ǧ', - 'ǧ' => 'ǧ', - 'Ǩ' => 'Ǩ', - 'ǩ' => 'ǩ', - 'Ǫ' => 'Ǫ', - 'ǫ' => 'ǫ', - 'Ǭ' => 'Ǭ', - 'ǭ' => 'ǭ', - 'Ǯ' => 'Ǯ', - 'ǯ' => 'ǯ', - 'ǰ' => 'ǰ', - 'Ǵ' => 'Ǵ', - 'ǵ' => 'ǵ', - 'Ǹ' => 'Ǹ', - 'ǹ' => 'ǹ', - 'Ǻ' => 'Ǻ', - 'ǻ' => 'ǻ', - 'Ǽ' => 'Ǽ', - 'ǽ' => 'ǽ', - 'Ǿ' => 'Ǿ', - 'ǿ' => 'ǿ', - 'Ȁ' => 'Ȁ', - 'ȁ' => 'ȁ', - 'Ȃ' => 'Ȃ', - 'ȃ' => 'ȃ', - 'Ȅ' => 'Ȅ', - 'ȅ' => 'ȅ', - 'Ȇ' => 'Ȇ', - 'ȇ' => 'ȇ', - 'Ȉ' => 'Ȉ', - 'ȉ' => 'ȉ', - 'Ȋ' => 'Ȋ', - 'ȋ' => 'ȋ', - 'Ȍ' => 'Ȍ', - 'ȍ' => 'ȍ', - 'Ȏ' => 'Ȏ', - 'ȏ' => 'ȏ', - 'Ȑ' => 'Ȑ', - 'ȑ' => 'ȑ', - 'Ȓ' => 'Ȓ', - 'ȓ' => 'ȓ', - 'Ȕ' => 'Ȕ', - 'ȕ' => 'ȕ', - 'Ȗ' => 'Ȗ', - 'ȗ' => 'ȗ', - 'Ș' => 'Ș', - 'ș' => 'ș', - 'Ț' => 'Ț', - 'ț' => 'ț', - 'Ȟ' => 'Ȟ', - 'ȟ' => 'ȟ', - 'Ȧ' => 'Ȧ', - 'ȧ' => 'ȧ', - 'Ȩ' => 'Ȩ', - 'ȩ' => 'ȩ', - 'Ȫ' => 'Ȫ', - 'ȫ' => 'ȫ', - 'Ȭ' => 'Ȭ', - 'ȭ' => 'ȭ', - 'Ȯ' => 'Ȯ', - 'ȯ' => 'ȯ', - 'Ȱ' => 'Ȱ', - 'ȱ' => 'ȱ', - 'Ȳ' => 'Ȳ', - 'ȳ' => 'ȳ', - '΅' => '΅', - 'Ά' => 'Ά', - 'Έ' => 'Έ', - 'Ή' => 'Ή', - 'Ί' => 'Ί', - 'Ό' => 'Ό', - 'Ύ' => 'Ύ', - 'Ώ' => 'Ώ', - 'ΐ' => 'ΐ', - 'Ϊ' => 'Ϊ', - 'Ϋ' => 'Ϋ', - 'ά' => 'ά', - 'έ' => 'έ', - 'ή' => 'ή', - 'ί' => 'ί', - 'ΰ' => 'ΰ', - 'ϊ' => 'ϊ', - 'ϋ' => 'ϋ', - 'ό' => 'ό', - 'ύ' => 'ύ', - 'ώ' => 'ώ', - 'ϓ' => 'ϓ', - 'ϔ' => 'ϔ', - 'Ѐ' => 'Ѐ', - 'Ё' => 'Ё', - 'Ѓ' => 'Ѓ', - 'Ї' => 'Ї', - 'Ќ' => 'Ќ', - 'Ѝ' => 'Ѝ', - 'Ў' => 'Ў', - 'Й' => 'Й', - 'й' => 'й', - 'ѐ' => 'ѐ', - 'ё' => 'ё', - 'ѓ' => 'ѓ', - 'ї' => 'ї', - 'ќ' => 'ќ', - 'ѝ' => 'ѝ', - 'ў' => 'ў', - 'Ѷ' => 'Ѷ', - 'ѷ' => 'ѷ', - 'Ӂ' => 'Ӂ', - 'ӂ' => 'ӂ', - 'Ӑ' => 'Ӑ', - 'ӑ' => 'ӑ', - 'Ӓ' => 'Ӓ', - 'ӓ' => 'ӓ', - 'Ӗ' => 'Ӗ', - 'ӗ' => 'ӗ', - 'Ӛ' => 'Ӛ', - 'ӛ' => 'ӛ', - 'Ӝ' => 'Ӝ', - 'ӝ' => 'ӝ', - 'Ӟ' => 'Ӟ', - 'ӟ' => 'ӟ', - 'Ӣ' => 'Ӣ', - 'ӣ' => 'ӣ', - 'Ӥ' => 'Ӥ', - 'ӥ' => 'ӥ', - 'Ӧ' => 'Ӧ', - 'ӧ' => 'ӧ', - 'Ӫ' => 'Ӫ', - 'ӫ' => 'ӫ', - 'Ӭ' => 'Ӭ', - 'ӭ' => 'ӭ', - 'Ӯ' => 'Ӯ', - 'ӯ' => 'ӯ', - 'Ӱ' => 'Ӱ', - 'ӱ' => 'ӱ', - 'Ӳ' => 'Ӳ', - 'ӳ' => 'ӳ', - 'Ӵ' => 'Ӵ', - 'ӵ' => 'ӵ', - 'Ӹ' => 'Ӹ', - 'ӹ' => 'ӹ', - 'آ' => 'آ', - 'أ' => 'أ', - 'ؤ' => 'ؤ', - 'إ' => 'إ', - 'ئ' => 'ئ', - 'ۀ' => 'ۀ', - 'ۂ' => 'ۂ', - 'ۓ' => 'ۓ', - 'ऩ' => 'ऩ', - 'ऱ' => 'ऱ', - 'ऴ' => 'ऴ', - 'ো' => 'ো', - 'ৌ' => 'ৌ', - 'ୈ' => 'ୈ', - 'ୋ' => 'ୋ', - 'ୌ' => 'ୌ', - 'ஔ' => 'ஔ', - 'ொ' => 'ொ', - 'ோ' => 'ோ', - 'ௌ' => 'ௌ', - 'ై' => 'ై', - 'ೀ' => 'ೀ', - 'ೇ' => 'ೇ', - 'ೈ' => 'ೈ', - 'ೊ' => 'ೊ', - 'ೋ' => 'ೋ', - 'ൊ' => 'ൊ', - 'ോ' => 'ോ', - 'ൌ' => 'ൌ', - 'ේ' => 'ේ', - 'ො' => 'ො', - 'ෝ' => 'ෝ', - 'ෞ' => 'ෞ', - 'ဦ' => 'ဦ', - 'ᬆ' => 'ᬆ', - 'ᬈ' => 'ᬈ', - 'ᬊ' => 'ᬊ', - 'ᬌ' => 'ᬌ', - 'ᬎ' => 'ᬎ', - 'ᬒ' => 'ᬒ', - 'ᬻ' => 'ᬻ', - 'ᬽ' => 'ᬽ', - 'ᭀ' => 'ᭀ', - 'ᭁ' => 'ᭁ', - 'ᭃ' => 'ᭃ', - 'Ḁ' => 'Ḁ', - 'ḁ' => 'ḁ', - 'Ḃ' => 'Ḃ', - 'ḃ' => 'ḃ', - 'Ḅ' => 'Ḅ', - 'ḅ' => 'ḅ', - 'Ḇ' => 'Ḇ', - 'ḇ' => 'ḇ', - 'Ḉ' => 'Ḉ', - 'ḉ' => 'ḉ', - 'Ḋ' => 'Ḋ', - 'ḋ' => 'ḋ', - 'Ḍ' => 'Ḍ', - 'ḍ' => 'ḍ', - 'Ḏ' => 'Ḏ', - 'ḏ' => 'ḏ', - 'Ḑ' => 'Ḑ', - 'ḑ' => 'ḑ', - 'Ḓ' => 'Ḓ', - 'ḓ' => 'ḓ', - 'Ḕ' => 'Ḕ', - 'ḕ' => 'ḕ', - 'Ḗ' => 'Ḗ', - 'ḗ' => 'ḗ', - 'Ḙ' => 'Ḙ', - 'ḙ' => 'ḙ', - 'Ḛ' => 'Ḛ', - 'ḛ' => 'ḛ', - 'Ḝ' => 'Ḝ', - 'ḝ' => 'ḝ', - 'Ḟ' => 'Ḟ', - 'ḟ' => 'ḟ', - 'Ḡ' => 'Ḡ', - 'ḡ' => 'ḡ', - 'Ḣ' => 'Ḣ', - 'ḣ' => 'ḣ', - 'Ḥ' => 'Ḥ', - 'ḥ' => 'ḥ', - 'Ḧ' => 'Ḧ', - 'ḧ' => 'ḧ', - 'Ḩ' => 'Ḩ', - 'ḩ' => 'ḩ', - 'Ḫ' => 'Ḫ', - 'ḫ' => 'ḫ', - 'Ḭ' => 'Ḭ', - 'ḭ' => 'ḭ', - 'Ḯ' => 'Ḯ', - 'ḯ' => 'ḯ', - 'Ḱ' => 'Ḱ', - 'ḱ' => 'ḱ', - 'Ḳ' => 'Ḳ', - 'ḳ' => 'ḳ', - 'Ḵ' => 'Ḵ', - 'ḵ' => 'ḵ', - 'Ḷ' => 'Ḷ', - 'ḷ' => 'ḷ', - 'Ḹ' => 'Ḹ', - 'ḹ' => 'ḹ', - 'Ḻ' => 'Ḻ', - 'ḻ' => 'ḻ', - 'Ḽ' => 'Ḽ', - 'ḽ' => 'ḽ', - 'Ḿ' => 'Ḿ', - 'ḿ' => 'ḿ', - 'Ṁ' => 'Ṁ', - 'ṁ' => 'ṁ', - 'Ṃ' => 'Ṃ', - 'ṃ' => 'ṃ', - 'Ṅ' => 'Ṅ', - 'ṅ' => 'ṅ', - 'Ṇ' => 'Ṇ', - 'ṇ' => 'ṇ', - 'Ṉ' => 'Ṉ', - 'ṉ' => 'ṉ', - 'Ṋ' => 'Ṋ', - 'ṋ' => 'ṋ', - 'Ṍ' => 'Ṍ', - 'ṍ' => 'ṍ', - 'Ṏ' => 'Ṏ', - 'ṏ' => 'ṏ', - 'Ṑ' => 'Ṑ', - 'ṑ' => 'ṑ', - 'Ṓ' => 'Ṓ', - 'ṓ' => 'ṓ', - 'Ṕ' => 'Ṕ', - 'ṕ' => 'ṕ', - 'Ṗ' => 'Ṗ', - 'ṗ' => 'ṗ', - 'Ṙ' => 'Ṙ', - 'ṙ' => 'ṙ', - 'Ṛ' => 'Ṛ', - 'ṛ' => 'ṛ', - 'Ṝ' => 'Ṝ', - 'ṝ' => 'ṝ', - 'Ṟ' => 'Ṟ', - 'ṟ' => 'ṟ', - 'Ṡ' => 'Ṡ', - 'ṡ' => 'ṡ', - 'Ṣ' => 'Ṣ', - 'ṣ' => 'ṣ', - 'Ṥ' => 'Ṥ', - 'ṥ' => 'ṥ', - 'Ṧ' => 'Ṧ', - 'ṧ' => 'ṧ', - 'Ṩ' => 'Ṩ', - 'ṩ' => 'ṩ', - 'Ṫ' => 'Ṫ', - 'ṫ' => 'ṫ', - 'Ṭ' => 'Ṭ', - 'ṭ' => 'ṭ', - 'Ṯ' => 'Ṯ', - 'ṯ' => 'ṯ', - 'Ṱ' => 'Ṱ', - 'ṱ' => 'ṱ', - 'Ṳ' => 'Ṳ', - 'ṳ' => 'ṳ', - 'Ṵ' => 'Ṵ', - 'ṵ' => 'ṵ', - 'Ṷ' => 'Ṷ', - 'ṷ' => 'ṷ', - 'Ṹ' => 'Ṹ', - 'ṹ' => 'ṹ', - 'Ṻ' => 'Ṻ', - 'ṻ' => 'ṻ', - 'Ṽ' => 'Ṽ', - 'ṽ' => 'ṽ', - 'Ṿ' => 'Ṿ', - 'ṿ' => 'ṿ', - 'Ẁ' => 'Ẁ', - 'ẁ' => 'ẁ', - 'Ẃ' => 'Ẃ', - 'ẃ' => 'ẃ', - 'Ẅ' => 'Ẅ', - 'ẅ' => 'ẅ', - 'Ẇ' => 'Ẇ', - 'ẇ' => 'ẇ', - 'Ẉ' => 'Ẉ', - 'ẉ' => 'ẉ', - 'Ẋ' => 'Ẋ', - 'ẋ' => 'ẋ', - 'Ẍ' => 'Ẍ', - 'ẍ' => 'ẍ', - 'Ẏ' => 'Ẏ', - 'ẏ' => 'ẏ', - 'Ẑ' => 'Ẑ', - 'ẑ' => 'ẑ', - 'Ẓ' => 'Ẓ', - 'ẓ' => 'ẓ', - 'Ẕ' => 'Ẕ', - 'ẕ' => 'ẕ', - 'ẖ' => 'ẖ', - 'ẗ' => 'ẗ', - 'ẘ' => 'ẘ', - 'ẙ' => 'ẙ', - 'ẛ' => 'ẛ', - 'Ạ' => 'Ạ', - 'ạ' => 'ạ', - 'Ả' => 'Ả', - 'ả' => 'ả', - 'Ấ' => 'Ấ', - 'ấ' => 'ấ', - 'Ầ' => 'Ầ', - 'ầ' => 'ầ', - 'Ẩ' => 'Ẩ', - 'ẩ' => 'ẩ', - 'Ẫ' => 'Ẫ', - 'ẫ' => 'ẫ', - 'Ậ' => 'Ậ', - 'ậ' => 'ậ', - 'Ắ' => 'Ắ', - 'ắ' => 'ắ', - 'Ằ' => 'Ằ', - 'ằ' => 'ằ', - 'Ẳ' => 'Ẳ', - 'ẳ' => 'ẳ', - 'Ẵ' => 'Ẵ', - 'ẵ' => 'ẵ', - 'Ặ' => 'Ặ', - 'ặ' => 'ặ', - 'Ẹ' => 'Ẹ', - 'ẹ' => 'ẹ', - 'Ẻ' => 'Ẻ', - 'ẻ' => 'ẻ', - 'Ẽ' => 'Ẽ', - 'ẽ' => 'ẽ', - 'Ế' => 'Ế', - 'ế' => 'ế', - 'Ề' => 'Ề', - 'ề' => 'ề', - 'Ể' => 'Ể', - 'ể' => 'ể', - 'Ễ' => 'Ễ', - 'ễ' => 'ễ', - 'Ệ' => 'Ệ', - 'ệ' => 'ệ', - 'Ỉ' => 'Ỉ', - 'ỉ' => 'ỉ', - 'Ị' => 'Ị', - 'ị' => 'ị', - 'Ọ' => 'Ọ', - 'ọ' => 'ọ', - 'Ỏ' => 'Ỏ', - 'ỏ' => 'ỏ', - 'Ố' => 'Ố', - 'ố' => 'ố', - 'Ồ' => 'Ồ', - 'ồ' => 'ồ', - 'Ổ' => 'Ổ', - 'ổ' => 'ổ', - 'Ỗ' => 'Ỗ', - 'ỗ' => 'ỗ', - 'Ộ' => 'Ộ', - 'ộ' => 'ộ', - 'Ớ' => 'Ớ', - 'ớ' => 'ớ', - 'Ờ' => 'Ờ', - 'ờ' => 'ờ', - 'Ở' => 'Ở', - 'ở' => 'ở', - 'Ỡ' => 'Ỡ', - 'ỡ' => 'ỡ', - 'Ợ' => 'Ợ', - 'ợ' => 'ợ', - 'Ụ' => 'Ụ', - 'ụ' => 'ụ', - 'Ủ' => 'Ủ', - 'ủ' => 'ủ', - 'Ứ' => 'Ứ', - 'ứ' => 'ứ', - 'Ừ' => 'Ừ', - 'ừ' => 'ừ', - 'Ử' => 'Ử', - 'ử' => 'ử', - 'Ữ' => 'Ữ', - 'ữ' => 'ữ', - 'Ự' => 'Ự', - 'ự' => 'ự', - 'Ỳ' => 'Ỳ', - 'ỳ' => 'ỳ', - 'Ỵ' => 'Ỵ', - 'ỵ' => 'ỵ', - 'Ỷ' => 'Ỷ', - 'ỷ' => 'ỷ', - 'Ỹ' => 'Ỹ', - 'ỹ' => 'ỹ', - 'ἀ' => 'ἀ', - 'ἁ' => 'ἁ', - 'ἂ' => 'ἂ', - 'ἃ' => 'ἃ', - 'ἄ' => 'ἄ', - 'ἅ' => 'ἅ', - 'ἆ' => 'ἆ', - 'ἇ' => 'ἇ', - 'Ἀ' => 'Ἀ', - 'Ἁ' => 'Ἁ', - 'Ἂ' => 'Ἂ', - 'Ἃ' => 'Ἃ', - 'Ἄ' => 'Ἄ', - 'Ἅ' => 'Ἅ', - 'Ἆ' => 'Ἆ', - 'Ἇ' => 'Ἇ', - 'ἐ' => 'ἐ', - 'ἑ' => 'ἑ', - 'ἒ' => 'ἒ', - 'ἓ' => 'ἓ', - 'ἔ' => 'ἔ', - 'ἕ' => 'ἕ', - 'Ἐ' => 'Ἐ', - 'Ἑ' => 'Ἑ', - 'Ἒ' => 'Ἒ', - 'Ἓ' => 'Ἓ', - 'Ἔ' => 'Ἔ', - 'Ἕ' => 'Ἕ', - 'ἠ' => 'ἠ', - 'ἡ' => 'ἡ', - 'ἢ' => 'ἢ', - 'ἣ' => 'ἣ', - 'ἤ' => 'ἤ', - 'ἥ' => 'ἥ', - 'ἦ' => 'ἦ', - 'ἧ' => 'ἧ', - 'Ἠ' => 'Ἠ', - 'Ἡ' => 'Ἡ', - 'Ἢ' => 'Ἢ', - 'Ἣ' => 'Ἣ', - 'Ἤ' => 'Ἤ', - 'Ἥ' => 'Ἥ', - 'Ἦ' => 'Ἦ', - 'Ἧ' => 'Ἧ', - 'ἰ' => 'ἰ', - 'ἱ' => 'ἱ', - 'ἲ' => 'ἲ', - 'ἳ' => 'ἳ', - 'ἴ' => 'ἴ', - 'ἵ' => 'ἵ', - 'ἶ' => 'ἶ', - 'ἷ' => 'ἷ', - 'Ἰ' => 'Ἰ', - 'Ἱ' => 'Ἱ', - 'Ἲ' => 'Ἲ', - 'Ἳ' => 'Ἳ', - 'Ἴ' => 'Ἴ', - 'Ἵ' => 'Ἵ', - 'Ἶ' => 'Ἶ', - 'Ἷ' => 'Ἷ', - 'ὀ' => 'ὀ', - 'ὁ' => 'ὁ', - 'ὂ' => 'ὂ', - 'ὃ' => 'ὃ', - 'ὄ' => 'ὄ', - 'ὅ' => 'ὅ', - 'Ὀ' => 'Ὀ', - 'Ὁ' => 'Ὁ', - 'Ὂ' => 'Ὂ', - 'Ὃ' => 'Ὃ', - 'Ὄ' => 'Ὄ', - 'Ὅ' => 'Ὅ', - 'ὐ' => 'ὐ', - 'ὑ' => 'ὑ', - 'ὒ' => 'ὒ', - 'ὓ' => 'ὓ', - 'ὔ' => 'ὔ', - 'ὕ' => 'ὕ', - 'ὖ' => 'ὖ', - 'ὗ' => 'ὗ', - 'Ὑ' => 'Ὑ', - 'Ὓ' => 'Ὓ', - 'Ὕ' => 'Ὕ', - 'Ὗ' => 'Ὗ', - 'ὠ' => 'ὠ', - 'ὡ' => 'ὡ', - 'ὢ' => 'ὢ', - 'ὣ' => 'ὣ', - 'ὤ' => 'ὤ', - 'ὥ' => 'ὥ', - 'ὦ' => 'ὦ', - 'ὧ' => 'ὧ', - 'Ὠ' => 'Ὠ', - 'Ὡ' => 'Ὡ', - 'Ὢ' => 'Ὢ', - 'Ὣ' => 'Ὣ', - 'Ὤ' => 'Ὤ', - 'Ὥ' => 'Ὥ', - 'Ὦ' => 'Ὦ', - 'Ὧ' => 'Ὧ', - 'ὰ' => 'ὰ', - 'ὲ' => 'ὲ', - 'ὴ' => 'ὴ', - 'ὶ' => 'ὶ', - 'ὸ' => 'ὸ', - 'ὺ' => 'ὺ', - 'ὼ' => 'ὼ', - 'ᾀ' => 'ᾀ', - 'ᾁ' => 'ᾁ', - 'ᾂ' => 'ᾂ', - 'ᾃ' => 'ᾃ', - 'ᾄ' => 'ᾄ', - 'ᾅ' => 'ᾅ', - 'ᾆ' => 'ᾆ', - 'ᾇ' => 'ᾇ', - 'ᾈ' => 'ᾈ', - 'ᾉ' => 'ᾉ', - 'ᾊ' => 'ᾊ', - 'ᾋ' => 'ᾋ', - 'ᾌ' => 'ᾌ', - 'ᾍ' => 'ᾍ', - 'ᾎ' => 'ᾎ', - 'ᾏ' => 'ᾏ', - 'ᾐ' => 'ᾐ', - 'ᾑ' => 'ᾑ', - 'ᾒ' => 'ᾒ', - 'ᾓ' => 'ᾓ', - 'ᾔ' => 'ᾔ', - 'ᾕ' => 'ᾕ', - 'ᾖ' => 'ᾖ', - 'ᾗ' => 'ᾗ', - 'ᾘ' => 'ᾘ', - 'ᾙ' => 'ᾙ', - 'ᾚ' => 'ᾚ', - 'ᾛ' => 'ᾛ', - 'ᾜ' => 'ᾜ', - 'ᾝ' => 'ᾝ', - 'ᾞ' => 'ᾞ', - 'ᾟ' => 'ᾟ', - 'ᾠ' => 'ᾠ', - 'ᾡ' => 'ᾡ', - 'ᾢ' => 'ᾢ', - 'ᾣ' => 'ᾣ', - 'ᾤ' => 'ᾤ', - 'ᾥ' => 'ᾥ', - 'ᾦ' => 'ᾦ', - 'ᾧ' => 'ᾧ', - 'ᾨ' => 'ᾨ', - 'ᾩ' => 'ᾩ', - 'ᾪ' => 'ᾪ', - 'ᾫ' => 'ᾫ', - 'ᾬ' => 'ᾬ', - 'ᾭ' => 'ᾭ', - 'ᾮ' => 'ᾮ', - 'ᾯ' => 'ᾯ', - 'ᾰ' => 'ᾰ', - 'ᾱ' => 'ᾱ', - 'ᾲ' => 'ᾲ', - 'ᾳ' => 'ᾳ', - 'ᾴ' => 'ᾴ', - 'ᾶ' => 'ᾶ', - 'ᾷ' => 'ᾷ', - 'Ᾰ' => 'Ᾰ', - 'Ᾱ' => 'Ᾱ', - 'Ὰ' => 'Ὰ', - 'ᾼ' => 'ᾼ', - '῁' => '῁', - 'ῂ' => 'ῂ', - 'ῃ' => 'ῃ', - 'ῄ' => 'ῄ', - 'ῆ' => 'ῆ', - 'ῇ' => 'ῇ', - 'Ὲ' => 'Ὲ', - 'Ὴ' => 'Ὴ', - 'ῌ' => 'ῌ', - '῍' => '῍', - '῎' => '῎', - '῏' => '῏', - 'ῐ' => 'ῐ', - 'ῑ' => 'ῑ', - 'ῒ' => 'ῒ', - 'ῖ' => 'ῖ', - 'ῗ' => 'ῗ', - 'Ῐ' => 'Ῐ', - 'Ῑ' => 'Ῑ', - 'Ὶ' => 'Ὶ', - '῝' => '῝', - '῞' => '῞', - '῟' => '῟', - 'ῠ' => 'ῠ', - 'ῡ' => 'ῡ', - 'ῢ' => 'ῢ', - 'ῤ' => 'ῤ', - 'ῥ' => 'ῥ', - 'ῦ' => 'ῦ', - 'ῧ' => 'ῧ', - 'Ῠ' => 'Ῠ', - 'Ῡ' => 'Ῡ', - 'Ὺ' => 'Ὺ', - 'Ῥ' => 'Ῥ', - '῭' => '῭', - 'ῲ' => 'ῲ', - 'ῳ' => 'ῳ', - 'ῴ' => 'ῴ', - 'ῶ' => 'ῶ', - 'ῷ' => 'ῷ', - 'Ὸ' => 'Ὸ', - 'Ὼ' => 'Ὼ', - 'ῼ' => 'ῼ', - '↚' => '↚', - '↛' => '↛', - '↮' => '↮', - '⇍' => '⇍', - '⇎' => '⇎', - '⇏' => '⇏', - '∄' => '∄', - '∉' => '∉', - '∌' => '∌', - '∤' => '∤', - '∦' => '∦', - '≁' => '≁', - '≄' => '≄', - '≇' => '≇', - '≉' => '≉', - '≠' => '≠', - '≢' => '≢', - '≭' => '≭', - '≮' => '≮', - '≯' => '≯', - '≰' => '≰', - '≱' => '≱', - '≴' => '≴', - '≵' => '≵', - '≸' => '≸', - '≹' => '≹', - '⊀' => '⊀', - '⊁' => '⊁', - '⊄' => '⊄', - '⊅' => '⊅', - '⊈' => '⊈', - '⊉' => '⊉', - '⊬' => '⊬', - '⊭' => '⊭', - '⊮' => '⊮', - '⊯' => '⊯', - '⋠' => '⋠', - '⋡' => '⋡', - '⋢' => '⋢', - '⋣' => '⋣', - '⋪' => '⋪', - '⋫' => '⋫', - '⋬' => '⋬', - '⋭' => '⋭', - 'が' => 'が', - 'ぎ' => 'ぎ', - 'ぐ' => 'ぐ', - 'げ' => 'げ', - 'ご' => 'ご', - 'ざ' => 'ざ', - 'じ' => 'じ', - 'ず' => 'ず', - 'ぜ' => 'ぜ', - 'ぞ' => 'ぞ', - 'だ' => 'だ', - 'ぢ' => 'ぢ', - 'づ' => 'づ', - 'で' => 'で', - 'ど' => 'ど', - 'ば' => 'ば', - 'ぱ' => 'ぱ', - 'び' => 'び', - 'ぴ' => 'ぴ', - 'ぶ' => 'ぶ', - 'ぷ' => 'ぷ', - 'べ' => 'べ', - 'ぺ' => 'ぺ', - 'ぼ' => 'ぼ', - 'ぽ' => 'ぽ', - 'ゔ' => 'ゔ', - 'ゞ' => 'ゞ', - 'ガ' => 'ガ', - 'ギ' => 'ギ', - 'グ' => 'グ', - 'ゲ' => 'ゲ', - 'ゴ' => 'ゴ', - 'ザ' => 'ザ', - 'ジ' => 'ジ', - 'ズ' => 'ズ', - 'ゼ' => 'ゼ', - 'ゾ' => 'ゾ', - 'ダ' => 'ダ', - 'ヂ' => 'ヂ', - 'ヅ' => 'ヅ', - 'デ' => 'デ', - 'ド' => 'ド', - 'バ' => 'バ', - 'パ' => 'パ', - 'ビ' => 'ビ', - 'ピ' => 'ピ', - 'ブ' => 'ブ', - 'プ' => 'プ', - 'ベ' => 'ベ', - 'ペ' => 'ペ', - 'ボ' => 'ボ', - 'ポ' => 'ポ', - 'ヴ' => 'ヴ', - 'ヷ' => 'ヷ', - 'ヸ' => 'ヸ', - 'ヹ' => 'ヹ', - 'ヺ' => 'ヺ', - 'ヾ' => 'ヾ', - '𑂚' => '𑂚', - '𑂜' => '𑂜', - '𑂫' => '𑂫', - '𑄮' => '𑄮', - '𑄯' => '𑄯', - '𑍋' => '𑍋', - '𑍌' => '𑍌', - '𑒻' => '𑒻', - '𑒼' => '𑒼', - '𑒾' => '𑒾', - '𑖺' => '𑖺', - '𑖻' => '𑖻', - '𑤸' => '𑤸', -); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php deleted file mode 100644 index 5a3e8e09..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php +++ /dev/null @@ -1,2065 +0,0 @@ - 'À', - 'Á' => 'Á', - 'Â' => 'Â', - 'Ã' => 'Ã', - 'Ä' => 'Ä', - 'Å' => 'Å', - 'Ç' => 'Ç', - 'È' => 'È', - 'É' => 'É', - 'Ê' => 'Ê', - 'Ë' => 'Ë', - 'Ì' => 'Ì', - 'Í' => 'Í', - 'Î' => 'Î', - 'Ï' => 'Ï', - 'Ñ' => 'Ñ', - 'Ò' => 'Ò', - 'Ó' => 'Ó', - 'Ô' => 'Ô', - 'Õ' => 'Õ', - 'Ö' => 'Ö', - 'Ù' => 'Ù', - 'Ú' => 'Ú', - 'Û' => 'Û', - 'Ü' => 'Ü', - 'Ý' => 'Ý', - 'à' => 'à', - 'á' => 'á', - 'â' => 'â', - 'ã' => 'ã', - 'ä' => 'ä', - 'å' => 'å', - 'ç' => 'ç', - 'è' => 'è', - 'é' => 'é', - 'ê' => 'ê', - 'ë' => 'ë', - 'ì' => 'ì', - 'í' => 'í', - 'î' => 'î', - 'ï' => 'ï', - 'ñ' => 'ñ', - 'ò' => 'ò', - 'ó' => 'ó', - 'ô' => 'ô', - 'õ' => 'õ', - 'ö' => 'ö', - 'ù' => 'ù', - 'ú' => 'ú', - 'û' => 'û', - 'ü' => 'ü', - 'ý' => 'ý', - 'ÿ' => 'ÿ', - 'Ā' => 'Ā', - 'ā' => 'ā', - 'Ă' => 'Ă', - 'ă' => 'ă', - 'Ą' => 'Ą', - 'ą' => 'ą', - 'Ć' => 'Ć', - 'ć' => 'ć', - 'Ĉ' => 'Ĉ', - 'ĉ' => 'ĉ', - 'Ċ' => 'Ċ', - 'ċ' => 'ċ', - 'Č' => 'Č', - 'č' => 'č', - 'Ď' => 'Ď', - 'ď' => 'ď', - 'Ē' => 'Ē', - 'ē' => 'ē', - 'Ĕ' => 'Ĕ', - 'ĕ' => 'ĕ', - 'Ė' => 'Ė', - 'ė' => 'ė', - 'Ę' => 'Ę', - 'ę' => 'ę', - 'Ě' => 'Ě', - 'ě' => 'ě', - 'Ĝ' => 'Ĝ', - 'ĝ' => 'ĝ', - 'Ğ' => 'Ğ', - 'ğ' => 'ğ', - 'Ġ' => 'Ġ', - 'ġ' => 'ġ', - 'Ģ' => 'Ģ', - 'ģ' => 'ģ', - 'Ĥ' => 'Ĥ', - 'ĥ' => 'ĥ', - 'Ĩ' => 'Ĩ', - 'ĩ' => 'ĩ', - 'Ī' => 'Ī', - 'ī' => 'ī', - 'Ĭ' => 'Ĭ', - 'ĭ' => 'ĭ', - 'Į' => 'Į', - 'į' => 'į', - 'İ' => 'İ', - 'Ĵ' => 'Ĵ', - 'ĵ' => 'ĵ', - 'Ķ' => 'Ķ', - 'ķ' => 'ķ', - 'Ĺ' => 'Ĺ', - 'ĺ' => 'ĺ', - 'Ļ' => 'Ļ', - 'ļ' => 'ļ', - 'Ľ' => 'Ľ', - 'ľ' => 'ľ', - 'Ń' => 'Ń', - 'ń' => 'ń', - 'Ņ' => 'Ņ', - 'ņ' => 'ņ', - 'Ň' => 'Ň', - 'ň' => 'ň', - 'Ō' => 'Ō', - 'ō' => 'ō', - 'Ŏ' => 'Ŏ', - 'ŏ' => 'ŏ', - 'Ő' => 'Ő', - 'ő' => 'ő', - 'Ŕ' => 'Ŕ', - 'ŕ' => 'ŕ', - 'Ŗ' => 'Ŗ', - 'ŗ' => 'ŗ', - 'Ř' => 'Ř', - 'ř' => 'ř', - 'Ś' => 'Ś', - 'ś' => 'ś', - 'Ŝ' => 'Ŝ', - 'ŝ' => 'ŝ', - 'Ş' => 'Ş', - 'ş' => 'ş', - 'Š' => 'Š', - 'š' => 'š', - 'Ţ' => 'Ţ', - 'ţ' => 'ţ', - 'Ť' => 'Ť', - 'ť' => 'ť', - 'Ũ' => 'Ũ', - 'ũ' => 'ũ', - 'Ū' => 'Ū', - 'ū' => 'ū', - 'Ŭ' => 'Ŭ', - 'ŭ' => 'ŭ', - 'Ů' => 'Ů', - 'ů' => 'ů', - 'Ű' => 'Ű', - 'ű' => 'ű', - 'Ų' => 'Ų', - 'ų' => 'ų', - 'Ŵ' => 'Ŵ', - 'ŵ' => 'ŵ', - 'Ŷ' => 'Ŷ', - 'ŷ' => 'ŷ', - 'Ÿ' => 'Ÿ', - 'Ź' => 'Ź', - 'ź' => 'ź', - 'Ż' => 'Ż', - 'ż' => 'ż', - 'Ž' => 'Ž', - 'ž' => 'ž', - 'Ơ' => 'Ơ', - 'ơ' => 'ơ', - 'Ư' => 'Ư', - 'ư' => 'ư', - 'Ǎ' => 'Ǎ', - 'ǎ' => 'ǎ', - 'Ǐ' => 'Ǐ', - 'ǐ' => 'ǐ', - 'Ǒ' => 'Ǒ', - 'ǒ' => 'ǒ', - 'Ǔ' => 'Ǔ', - 'ǔ' => 'ǔ', - 'Ǖ' => 'Ǖ', - 'ǖ' => 'ǖ', - 'Ǘ' => 'Ǘ', - 'ǘ' => 'ǘ', - 'Ǚ' => 'Ǚ', - 'ǚ' => 'ǚ', - 'Ǜ' => 'Ǜ', - 'ǜ' => 'ǜ', - 'Ǟ' => 'Ǟ', - 'ǟ' => 'ǟ', - 'Ǡ' => 'Ǡ', - 'ǡ' => 'ǡ', - 'Ǣ' => 'Ǣ', - 'ǣ' => 'ǣ', - 'Ǧ' => 'Ǧ', - 'ǧ' => 'ǧ', - 'Ǩ' => 'Ǩ', - 'ǩ' => 'ǩ', - 'Ǫ' => 'Ǫ', - 'ǫ' => 'ǫ', - 'Ǭ' => 'Ǭ', - 'ǭ' => 'ǭ', - 'Ǯ' => 'Ǯ', - 'ǯ' => 'ǯ', - 'ǰ' => 'ǰ', - 'Ǵ' => 'Ǵ', - 'ǵ' => 'ǵ', - 'Ǹ' => 'Ǹ', - 'ǹ' => 'ǹ', - 'Ǻ' => 'Ǻ', - 'ǻ' => 'ǻ', - 'Ǽ' => 'Ǽ', - 'ǽ' => 'ǽ', - 'Ǿ' => 'Ǿ', - 'ǿ' => 'ǿ', - 'Ȁ' => 'Ȁ', - 'ȁ' => 'ȁ', - 'Ȃ' => 'Ȃ', - 'ȃ' => 'ȃ', - 'Ȅ' => 'Ȅ', - 'ȅ' => 'ȅ', - 'Ȇ' => 'Ȇ', - 'ȇ' => 'ȇ', - 'Ȉ' => 'Ȉ', - 'ȉ' => 'ȉ', - 'Ȋ' => 'Ȋ', - 'ȋ' => 'ȋ', - 'Ȍ' => 'Ȍ', - 'ȍ' => 'ȍ', - 'Ȏ' => 'Ȏ', - 'ȏ' => 'ȏ', - 'Ȑ' => 'Ȑ', - 'ȑ' => 'ȑ', - 'Ȓ' => 'Ȓ', - 'ȓ' => 'ȓ', - 'Ȕ' => 'Ȕ', - 'ȕ' => 'ȕ', - 'Ȗ' => 'Ȗ', - 'ȗ' => 'ȗ', - 'Ș' => 'Ș', - 'ș' => 'ș', - 'Ț' => 'Ț', - 'ț' => 'ț', - 'Ȟ' => 'Ȟ', - 'ȟ' => 'ȟ', - 'Ȧ' => 'Ȧ', - 'ȧ' => 'ȧ', - 'Ȩ' => 'Ȩ', - 'ȩ' => 'ȩ', - 'Ȫ' => 'Ȫ', - 'ȫ' => 'ȫ', - 'Ȭ' => 'Ȭ', - 'ȭ' => 'ȭ', - 'Ȯ' => 'Ȯ', - 'ȯ' => 'ȯ', - 'Ȱ' => 'Ȱ', - 'ȱ' => 'ȱ', - 'Ȳ' => 'Ȳ', - 'ȳ' => 'ȳ', - '̀' => '̀', - '́' => '́', - '̓' => '̓', - '̈́' => '̈́', - 'ʹ' => 'ʹ', - ';' => ';', - '΅' => '΅', - 'Ά' => 'Ά', - '·' => '·', - 'Έ' => 'Έ', - 'Ή' => 'Ή', - 'Ί' => 'Ί', - 'Ό' => 'Ό', - 'Ύ' => 'Ύ', - 'Ώ' => 'Ώ', - 'ΐ' => 'ΐ', - 'Ϊ' => 'Ϊ', - 'Ϋ' => 'Ϋ', - 'ά' => 'ά', - 'έ' => 'έ', - 'ή' => 'ή', - 'ί' => 'ί', - 'ΰ' => 'ΰ', - 'ϊ' => 'ϊ', - 'ϋ' => 'ϋ', - 'ό' => 'ό', - 'ύ' => 'ύ', - 'ώ' => 'ώ', - 'ϓ' => 'ϓ', - 'ϔ' => 'ϔ', - 'Ѐ' => 'Ѐ', - 'Ё' => 'Ё', - 'Ѓ' => 'Ѓ', - 'Ї' => 'Ї', - 'Ќ' => 'Ќ', - 'Ѝ' => 'Ѝ', - 'Ў' => 'Ў', - 'Й' => 'Й', - 'й' => 'й', - 'ѐ' => 'ѐ', - 'ё' => 'ё', - 'ѓ' => 'ѓ', - 'ї' => 'ї', - 'ќ' => 'ќ', - 'ѝ' => 'ѝ', - 'ў' => 'ў', - 'Ѷ' => 'Ѷ', - 'ѷ' => 'ѷ', - 'Ӂ' => 'Ӂ', - 'ӂ' => 'ӂ', - 'Ӑ' => 'Ӑ', - 'ӑ' => 'ӑ', - 'Ӓ' => 'Ӓ', - 'ӓ' => 'ӓ', - 'Ӗ' => 'Ӗ', - 'ӗ' => 'ӗ', - 'Ӛ' => 'Ӛ', - 'ӛ' => 'ӛ', - 'Ӝ' => 'Ӝ', - 'ӝ' => 'ӝ', - 'Ӟ' => 'Ӟ', - 'ӟ' => 'ӟ', - 'Ӣ' => 'Ӣ', - 'ӣ' => 'ӣ', - 'Ӥ' => 'Ӥ', - 'ӥ' => 'ӥ', - 'Ӧ' => 'Ӧ', - 'ӧ' => 'ӧ', - 'Ӫ' => 'Ӫ', - 'ӫ' => 'ӫ', - 'Ӭ' => 'Ӭ', - 'ӭ' => 'ӭ', - 'Ӯ' => 'Ӯ', - 'ӯ' => 'ӯ', - 'Ӱ' => 'Ӱ', - 'ӱ' => 'ӱ', - 'Ӳ' => 'Ӳ', - 'ӳ' => 'ӳ', - 'Ӵ' => 'Ӵ', - 'ӵ' => 'ӵ', - 'Ӹ' => 'Ӹ', - 'ӹ' => 'ӹ', - 'آ' => 'آ', - 'أ' => 'أ', - 'ؤ' => 'ؤ', - 'إ' => 'إ', - 'ئ' => 'ئ', - 'ۀ' => 'ۀ', - 'ۂ' => 'ۂ', - 'ۓ' => 'ۓ', - 'ऩ' => 'ऩ', - 'ऱ' => 'ऱ', - 'ऴ' => 'ऴ', - 'क़' => 'क़', - 'ख़' => 'ख़', - 'ग़' => 'ग़', - 'ज़' => 'ज़', - 'ड़' => 'ड़', - 'ढ़' => 'ढ़', - 'फ़' => 'फ़', - 'य़' => 'य़', - 'ো' => 'ো', - 'ৌ' => 'ৌ', - 'ড়' => 'ড়', - 'ঢ়' => 'ঢ়', - 'য়' => 'য়', - 'ਲ਼' => 'ਲ਼', - 'ਸ਼' => 'ਸ਼', - 'ਖ਼' => 'ਖ਼', - 'ਗ਼' => 'ਗ਼', - 'ਜ਼' => 'ਜ਼', - 'ਫ਼' => 'ਫ਼', - 'ୈ' => 'ୈ', - 'ୋ' => 'ୋ', - 'ୌ' => 'ୌ', - 'ଡ଼' => 'ଡ଼', - 'ଢ଼' => 'ଢ଼', - 'ஔ' => 'ஔ', - 'ொ' => 'ொ', - 'ோ' => 'ோ', - 'ௌ' => 'ௌ', - 'ై' => 'ై', - 'ೀ' => 'ೀ', - 'ೇ' => 'ೇ', - 'ೈ' => 'ೈ', - 'ೊ' => 'ೊ', - 'ೋ' => 'ೋ', - 'ൊ' => 'ൊ', - 'ോ' => 'ോ', - 'ൌ' => 'ൌ', - 'ේ' => 'ේ', - 'ො' => 'ො', - 'ෝ' => 'ෝ', - 'ෞ' => 'ෞ', - 'གྷ' => 'གྷ', - 'ཌྷ' => 'ཌྷ', - 'དྷ' => 'དྷ', - 'བྷ' => 'བྷ', - 'ཛྷ' => 'ཛྷ', - 'ཀྵ' => 'ཀྵ', - 'ཱི' => 'ཱི', - 'ཱུ' => 'ཱུ', - 'ྲྀ' => 'ྲྀ', - 'ླྀ' => 'ླྀ', - 'ཱྀ' => 'ཱྀ', - 'ྒྷ' => 'ྒྷ', - 'ྜྷ' => 'ྜྷ', - 'ྡྷ' => 'ྡྷ', - 'ྦྷ' => 'ྦྷ', - 'ྫྷ' => 'ྫྷ', - 'ྐྵ' => 'ྐྵ', - 'ဦ' => 'ဦ', - 'ᬆ' => 'ᬆ', - 'ᬈ' => 'ᬈ', - 'ᬊ' => 'ᬊ', - 'ᬌ' => 'ᬌ', - 'ᬎ' => 'ᬎ', - 'ᬒ' => 'ᬒ', - 'ᬻ' => 'ᬻ', - 'ᬽ' => 'ᬽ', - 'ᭀ' => 'ᭀ', - 'ᭁ' => 'ᭁ', - 'ᭃ' => 'ᭃ', - 'Ḁ' => 'Ḁ', - 'ḁ' => 'ḁ', - 'Ḃ' => 'Ḃ', - 'ḃ' => 'ḃ', - 'Ḅ' => 'Ḅ', - 'ḅ' => 'ḅ', - 'Ḇ' => 'Ḇ', - 'ḇ' => 'ḇ', - 'Ḉ' => 'Ḉ', - 'ḉ' => 'ḉ', - 'Ḋ' => 'Ḋ', - 'ḋ' => 'ḋ', - 'Ḍ' => 'Ḍ', - 'ḍ' => 'ḍ', - 'Ḏ' => 'Ḏ', - 'ḏ' => 'ḏ', - 'Ḑ' => 'Ḑ', - 'ḑ' => 'ḑ', - 'Ḓ' => 'Ḓ', - 'ḓ' => 'ḓ', - 'Ḕ' => 'Ḕ', - 'ḕ' => 'ḕ', - 'Ḗ' => 'Ḗ', - 'ḗ' => 'ḗ', - 'Ḙ' => 'Ḙ', - 'ḙ' => 'ḙ', - 'Ḛ' => 'Ḛ', - 'ḛ' => 'ḛ', - 'Ḝ' => 'Ḝ', - 'ḝ' => 'ḝ', - 'Ḟ' => 'Ḟ', - 'ḟ' => 'ḟ', - 'Ḡ' => 'Ḡ', - 'ḡ' => 'ḡ', - 'Ḣ' => 'Ḣ', - 'ḣ' => 'ḣ', - 'Ḥ' => 'Ḥ', - 'ḥ' => 'ḥ', - 'Ḧ' => 'Ḧ', - 'ḧ' => 'ḧ', - 'Ḩ' => 'Ḩ', - 'ḩ' => 'ḩ', - 'Ḫ' => 'Ḫ', - 'ḫ' => 'ḫ', - 'Ḭ' => 'Ḭ', - 'ḭ' => 'ḭ', - 'Ḯ' => 'Ḯ', - 'ḯ' => 'ḯ', - 'Ḱ' => 'Ḱ', - 'ḱ' => 'ḱ', - 'Ḳ' => 'Ḳ', - 'ḳ' => 'ḳ', - 'Ḵ' => 'Ḵ', - 'ḵ' => 'ḵ', - 'Ḷ' => 'Ḷ', - 'ḷ' => 'ḷ', - 'Ḹ' => 'Ḹ', - 'ḹ' => 'ḹ', - 'Ḻ' => 'Ḻ', - 'ḻ' => 'ḻ', - 'Ḽ' => 'Ḽ', - 'ḽ' => 'ḽ', - 'Ḿ' => 'Ḿ', - 'ḿ' => 'ḿ', - 'Ṁ' => 'Ṁ', - 'ṁ' => 'ṁ', - 'Ṃ' => 'Ṃ', - 'ṃ' => 'ṃ', - 'Ṅ' => 'Ṅ', - 'ṅ' => 'ṅ', - 'Ṇ' => 'Ṇ', - 'ṇ' => 'ṇ', - 'Ṉ' => 'Ṉ', - 'ṉ' => 'ṉ', - 'Ṋ' => 'Ṋ', - 'ṋ' => 'ṋ', - 'Ṍ' => 'Ṍ', - 'ṍ' => 'ṍ', - 'Ṏ' => 'Ṏ', - 'ṏ' => 'ṏ', - 'Ṑ' => 'Ṑ', - 'ṑ' => 'ṑ', - 'Ṓ' => 'Ṓ', - 'ṓ' => 'ṓ', - 'Ṕ' => 'Ṕ', - 'ṕ' => 'ṕ', - 'Ṗ' => 'Ṗ', - 'ṗ' => 'ṗ', - 'Ṙ' => 'Ṙ', - 'ṙ' => 'ṙ', - 'Ṛ' => 'Ṛ', - 'ṛ' => 'ṛ', - 'Ṝ' => 'Ṝ', - 'ṝ' => 'ṝ', - 'Ṟ' => 'Ṟ', - 'ṟ' => 'ṟ', - 'Ṡ' => 'Ṡ', - 'ṡ' => 'ṡ', - 'Ṣ' => 'Ṣ', - 'ṣ' => 'ṣ', - 'Ṥ' => 'Ṥ', - 'ṥ' => 'ṥ', - 'Ṧ' => 'Ṧ', - 'ṧ' => 'ṧ', - 'Ṩ' => 'Ṩ', - 'ṩ' => 'ṩ', - 'Ṫ' => 'Ṫ', - 'ṫ' => 'ṫ', - 'Ṭ' => 'Ṭ', - 'ṭ' => 'ṭ', - 'Ṯ' => 'Ṯ', - 'ṯ' => 'ṯ', - 'Ṱ' => 'Ṱ', - 'ṱ' => 'ṱ', - 'Ṳ' => 'Ṳ', - 'ṳ' => 'ṳ', - 'Ṵ' => 'Ṵ', - 'ṵ' => 'ṵ', - 'Ṷ' => 'Ṷ', - 'ṷ' => 'ṷ', - 'Ṹ' => 'Ṹ', - 'ṹ' => 'ṹ', - 'Ṻ' => 'Ṻ', - 'ṻ' => 'ṻ', - 'Ṽ' => 'Ṽ', - 'ṽ' => 'ṽ', - 'Ṿ' => 'Ṿ', - 'ṿ' => 'ṿ', - 'Ẁ' => 'Ẁ', - 'ẁ' => 'ẁ', - 'Ẃ' => 'Ẃ', - 'ẃ' => 'ẃ', - 'Ẅ' => 'Ẅ', - 'ẅ' => 'ẅ', - 'Ẇ' => 'Ẇ', - 'ẇ' => 'ẇ', - 'Ẉ' => 'Ẉ', - 'ẉ' => 'ẉ', - 'Ẋ' => 'Ẋ', - 'ẋ' => 'ẋ', - 'Ẍ' => 'Ẍ', - 'ẍ' => 'ẍ', - 'Ẏ' => 'Ẏ', - 'ẏ' => 'ẏ', - 'Ẑ' => 'Ẑ', - 'ẑ' => 'ẑ', - 'Ẓ' => 'Ẓ', - 'ẓ' => 'ẓ', - 'Ẕ' => 'Ẕ', - 'ẕ' => 'ẕ', - 'ẖ' => 'ẖ', - 'ẗ' => 'ẗ', - 'ẘ' => 'ẘ', - 'ẙ' => 'ẙ', - 'ẛ' => 'ẛ', - 'Ạ' => 'Ạ', - 'ạ' => 'ạ', - 'Ả' => 'Ả', - 'ả' => 'ả', - 'Ấ' => 'Ấ', - 'ấ' => 'ấ', - 'Ầ' => 'Ầ', - 'ầ' => 'ầ', - 'Ẩ' => 'Ẩ', - 'ẩ' => 'ẩ', - 'Ẫ' => 'Ẫ', - 'ẫ' => 'ẫ', - 'Ậ' => 'Ậ', - 'ậ' => 'ậ', - 'Ắ' => 'Ắ', - 'ắ' => 'ắ', - 'Ằ' => 'Ằ', - 'ằ' => 'ằ', - 'Ẳ' => 'Ẳ', - 'ẳ' => 'ẳ', - 'Ẵ' => 'Ẵ', - 'ẵ' => 'ẵ', - 'Ặ' => 'Ặ', - 'ặ' => 'ặ', - 'Ẹ' => 'Ẹ', - 'ẹ' => 'ẹ', - 'Ẻ' => 'Ẻ', - 'ẻ' => 'ẻ', - 'Ẽ' => 'Ẽ', - 'ẽ' => 'ẽ', - 'Ế' => 'Ế', - 'ế' => 'ế', - 'Ề' => 'Ề', - 'ề' => 'ề', - 'Ể' => 'Ể', - 'ể' => 'ể', - 'Ễ' => 'Ễ', - 'ễ' => 'ễ', - 'Ệ' => 'Ệ', - 'ệ' => 'ệ', - 'Ỉ' => 'Ỉ', - 'ỉ' => 'ỉ', - 'Ị' => 'Ị', - 'ị' => 'ị', - 'Ọ' => 'Ọ', - 'ọ' => 'ọ', - 'Ỏ' => 'Ỏ', - 'ỏ' => 'ỏ', - 'Ố' => 'Ố', - 'ố' => 'ố', - 'Ồ' => 'Ồ', - 'ồ' => 'ồ', - 'Ổ' => 'Ổ', - 'ổ' => 'ổ', - 'Ỗ' => 'Ỗ', - 'ỗ' => 'ỗ', - 'Ộ' => 'Ộ', - 'ộ' => 'ộ', - 'Ớ' => 'Ớ', - 'ớ' => 'ớ', - 'Ờ' => 'Ờ', - 'ờ' => 'ờ', - 'Ở' => 'Ở', - 'ở' => 'ở', - 'Ỡ' => 'Ỡ', - 'ỡ' => 'ỡ', - 'Ợ' => 'Ợ', - 'ợ' => 'ợ', - 'Ụ' => 'Ụ', - 'ụ' => 'ụ', - 'Ủ' => 'Ủ', - 'ủ' => 'ủ', - 'Ứ' => 'Ứ', - 'ứ' => 'ứ', - 'Ừ' => 'Ừ', - 'ừ' => 'ừ', - 'Ử' => 'Ử', - 'ử' => 'ử', - 'Ữ' => 'Ữ', - 'ữ' => 'ữ', - 'Ự' => 'Ự', - 'ự' => 'ự', - 'Ỳ' => 'Ỳ', - 'ỳ' => 'ỳ', - 'Ỵ' => 'Ỵ', - 'ỵ' => 'ỵ', - 'Ỷ' => 'Ỷ', - 'ỷ' => 'ỷ', - 'Ỹ' => 'Ỹ', - 'ỹ' => 'ỹ', - 'ἀ' => 'ἀ', - 'ἁ' => 'ἁ', - 'ἂ' => 'ἂ', - 'ἃ' => 'ἃ', - 'ἄ' => 'ἄ', - 'ἅ' => 'ἅ', - 'ἆ' => 'ἆ', - 'ἇ' => 'ἇ', - 'Ἀ' => 'Ἀ', - 'Ἁ' => 'Ἁ', - 'Ἂ' => 'Ἂ', - 'Ἃ' => 'Ἃ', - 'Ἄ' => 'Ἄ', - 'Ἅ' => 'Ἅ', - 'Ἆ' => 'Ἆ', - 'Ἇ' => 'Ἇ', - 'ἐ' => 'ἐ', - 'ἑ' => 'ἑ', - 'ἒ' => 'ἒ', - 'ἓ' => 'ἓ', - 'ἔ' => 'ἔ', - 'ἕ' => 'ἕ', - 'Ἐ' => 'Ἐ', - 'Ἑ' => 'Ἑ', - 'Ἒ' => 'Ἒ', - 'Ἓ' => 'Ἓ', - 'Ἔ' => 'Ἔ', - 'Ἕ' => 'Ἕ', - 'ἠ' => 'ἠ', - 'ἡ' => 'ἡ', - 'ἢ' => 'ἢ', - 'ἣ' => 'ἣ', - 'ἤ' => 'ἤ', - 'ἥ' => 'ἥ', - 'ἦ' => 'ἦ', - 'ἧ' => 'ἧ', - 'Ἠ' => 'Ἠ', - 'Ἡ' => 'Ἡ', - 'Ἢ' => 'Ἢ', - 'Ἣ' => 'Ἣ', - 'Ἤ' => 'Ἤ', - 'Ἥ' => 'Ἥ', - 'Ἦ' => 'Ἦ', - 'Ἧ' => 'Ἧ', - 'ἰ' => 'ἰ', - 'ἱ' => 'ἱ', - 'ἲ' => 'ἲ', - 'ἳ' => 'ἳ', - 'ἴ' => 'ἴ', - 'ἵ' => 'ἵ', - 'ἶ' => 'ἶ', - 'ἷ' => 'ἷ', - 'Ἰ' => 'Ἰ', - 'Ἱ' => 'Ἱ', - 'Ἲ' => 'Ἲ', - 'Ἳ' => 'Ἳ', - 'Ἴ' => 'Ἴ', - 'Ἵ' => 'Ἵ', - 'Ἶ' => 'Ἶ', - 'Ἷ' => 'Ἷ', - 'ὀ' => 'ὀ', - 'ὁ' => 'ὁ', - 'ὂ' => 'ὂ', - 'ὃ' => 'ὃ', - 'ὄ' => 'ὄ', - 'ὅ' => 'ὅ', - 'Ὀ' => 'Ὀ', - 'Ὁ' => 'Ὁ', - 'Ὂ' => 'Ὂ', - 'Ὃ' => 'Ὃ', - 'Ὄ' => 'Ὄ', - 'Ὅ' => 'Ὅ', - 'ὐ' => 'ὐ', - 'ὑ' => 'ὑ', - 'ὒ' => 'ὒ', - 'ὓ' => 'ὓ', - 'ὔ' => 'ὔ', - 'ὕ' => 'ὕ', - 'ὖ' => 'ὖ', - 'ὗ' => 'ὗ', - 'Ὑ' => 'Ὑ', - 'Ὓ' => 'Ὓ', - 'Ὕ' => 'Ὕ', - 'Ὗ' => 'Ὗ', - 'ὠ' => 'ὠ', - 'ὡ' => 'ὡ', - 'ὢ' => 'ὢ', - 'ὣ' => 'ὣ', - 'ὤ' => 'ὤ', - 'ὥ' => 'ὥ', - 'ὦ' => 'ὦ', - 'ὧ' => 'ὧ', - 'Ὠ' => 'Ὠ', - 'Ὡ' => 'Ὡ', - 'Ὢ' => 'Ὢ', - 'Ὣ' => 'Ὣ', - 'Ὤ' => 'Ὤ', - 'Ὥ' => 'Ὥ', - 'Ὦ' => 'Ὦ', - 'Ὧ' => 'Ὧ', - 'ὰ' => 'ὰ', - 'ά' => 'ά', - 'ὲ' => 'ὲ', - 'έ' => 'έ', - 'ὴ' => 'ὴ', - 'ή' => 'ή', - 'ὶ' => 'ὶ', - 'ί' => 'ί', - 'ὸ' => 'ὸ', - 'ό' => 'ό', - 'ὺ' => 'ὺ', - 'ύ' => 'ύ', - 'ὼ' => 'ὼ', - 'ώ' => 'ώ', - 'ᾀ' => 'ᾀ', - 'ᾁ' => 'ᾁ', - 'ᾂ' => 'ᾂ', - 'ᾃ' => 'ᾃ', - 'ᾄ' => 'ᾄ', - 'ᾅ' => 'ᾅ', - 'ᾆ' => 'ᾆ', - 'ᾇ' => 'ᾇ', - 'ᾈ' => 'ᾈ', - 'ᾉ' => 'ᾉ', - 'ᾊ' => 'ᾊ', - 'ᾋ' => 'ᾋ', - 'ᾌ' => 'ᾌ', - 'ᾍ' => 'ᾍ', - 'ᾎ' => 'ᾎ', - 'ᾏ' => 'ᾏ', - 'ᾐ' => 'ᾐ', - 'ᾑ' => 'ᾑ', - 'ᾒ' => 'ᾒ', - 'ᾓ' => 'ᾓ', - 'ᾔ' => 'ᾔ', - 'ᾕ' => 'ᾕ', - 'ᾖ' => 'ᾖ', - 'ᾗ' => 'ᾗ', - 'ᾘ' => 'ᾘ', - 'ᾙ' => 'ᾙ', - 'ᾚ' => 'ᾚ', - 'ᾛ' => 'ᾛ', - 'ᾜ' => 'ᾜ', - 'ᾝ' => 'ᾝ', - 'ᾞ' => 'ᾞ', - 'ᾟ' => 'ᾟ', - 'ᾠ' => 'ᾠ', - 'ᾡ' => 'ᾡ', - 'ᾢ' => 'ᾢ', - 'ᾣ' => 'ᾣ', - 'ᾤ' => 'ᾤ', - 'ᾥ' => 'ᾥ', - 'ᾦ' => 'ᾦ', - 'ᾧ' => 'ᾧ', - 'ᾨ' => 'ᾨ', - 'ᾩ' => 'ᾩ', - 'ᾪ' => 'ᾪ', - 'ᾫ' => 'ᾫ', - 'ᾬ' => 'ᾬ', - 'ᾭ' => 'ᾭ', - 'ᾮ' => 'ᾮ', - 'ᾯ' => 'ᾯ', - 'ᾰ' => 'ᾰ', - 'ᾱ' => 'ᾱ', - 'ᾲ' => 'ᾲ', - 'ᾳ' => 'ᾳ', - 'ᾴ' => 'ᾴ', - 'ᾶ' => 'ᾶ', - 'ᾷ' => 'ᾷ', - 'Ᾰ' => 'Ᾰ', - 'Ᾱ' => 'Ᾱ', - 'Ὰ' => 'Ὰ', - 'Ά' => 'Ά', - 'ᾼ' => 'ᾼ', - 'ι' => 'ι', - '῁' => '῁', - 'ῂ' => 'ῂ', - 'ῃ' => 'ῃ', - 'ῄ' => 'ῄ', - 'ῆ' => 'ῆ', - 'ῇ' => 'ῇ', - 'Ὲ' => 'Ὲ', - 'Έ' => 'Έ', - 'Ὴ' => 'Ὴ', - 'Ή' => 'Ή', - 'ῌ' => 'ῌ', - '῍' => '῍', - '῎' => '῎', - '῏' => '῏', - 'ῐ' => 'ῐ', - 'ῑ' => 'ῑ', - 'ῒ' => 'ῒ', - 'ΐ' => 'ΐ', - 'ῖ' => 'ῖ', - 'ῗ' => 'ῗ', - 'Ῐ' => 'Ῐ', - 'Ῑ' => 'Ῑ', - 'Ὶ' => 'Ὶ', - 'Ί' => 'Ί', - '῝' => '῝', - '῞' => '῞', - '῟' => '῟', - 'ῠ' => 'ῠ', - 'ῡ' => 'ῡ', - 'ῢ' => 'ῢ', - 'ΰ' => 'ΰ', - 'ῤ' => 'ῤ', - 'ῥ' => 'ῥ', - 'ῦ' => 'ῦ', - 'ῧ' => 'ῧ', - 'Ῠ' => 'Ῠ', - 'Ῡ' => 'Ῡ', - 'Ὺ' => 'Ὺ', - 'Ύ' => 'Ύ', - 'Ῥ' => 'Ῥ', - '῭' => '῭', - '΅' => '΅', - '`' => '`', - 'ῲ' => 'ῲ', - 'ῳ' => 'ῳ', - 'ῴ' => 'ῴ', - 'ῶ' => 'ῶ', - 'ῷ' => 'ῷ', - 'Ὸ' => 'Ὸ', - 'Ό' => 'Ό', - 'Ὼ' => 'Ὼ', - 'Ώ' => 'Ώ', - 'ῼ' => 'ῼ', - '´' => '´', - ' ' => ' ', - ' ' => ' ', - 'Ω' => 'Ω', - 'K' => 'K', - 'Å' => 'Å', - '↚' => '↚', - '↛' => '↛', - '↮' => '↮', - '⇍' => '⇍', - '⇎' => '⇎', - '⇏' => '⇏', - '∄' => '∄', - '∉' => '∉', - '∌' => '∌', - '∤' => '∤', - '∦' => '∦', - '≁' => '≁', - '≄' => '≄', - '≇' => '≇', - '≉' => '≉', - '≠' => '≠', - '≢' => '≢', - '≭' => '≭', - '≮' => '≮', - '≯' => '≯', - '≰' => '≰', - '≱' => '≱', - '≴' => '≴', - '≵' => '≵', - '≸' => '≸', - '≹' => '≹', - '⊀' => '⊀', - '⊁' => '⊁', - '⊄' => '⊄', - '⊅' => '⊅', - '⊈' => '⊈', - '⊉' => '⊉', - '⊬' => '⊬', - '⊭' => '⊭', - '⊮' => '⊮', - '⊯' => '⊯', - '⋠' => '⋠', - '⋡' => '⋡', - '⋢' => '⋢', - '⋣' => '⋣', - '⋪' => '⋪', - '⋫' => '⋫', - '⋬' => '⋬', - '⋭' => '⋭', - '〈' => '〈', - '〉' => '〉', - '⫝̸' => '⫝̸', - 'が' => 'が', - 'ぎ' => 'ぎ', - 'ぐ' => 'ぐ', - 'げ' => 'げ', - 'ご' => 'ご', - 'ざ' => 'ざ', - 'じ' => 'じ', - 'ず' => 'ず', - 'ぜ' => 'ぜ', - 'ぞ' => 'ぞ', - 'だ' => 'だ', - 'ぢ' => 'ぢ', - 'づ' => 'づ', - 'で' => 'で', - 'ど' => 'ど', - 'ば' => 'ば', - 'ぱ' => 'ぱ', - 'び' => 'び', - 'ぴ' => 'ぴ', - 'ぶ' => 'ぶ', - 'ぷ' => 'ぷ', - 'べ' => 'べ', - 'ぺ' => 'ぺ', - 'ぼ' => 'ぼ', - 'ぽ' => 'ぽ', - 'ゔ' => 'ゔ', - 'ゞ' => 'ゞ', - 'ガ' => 'ガ', - 'ギ' => 'ギ', - 'グ' => 'グ', - 'ゲ' => 'ゲ', - 'ゴ' => 'ゴ', - 'ザ' => 'ザ', - 'ジ' => 'ジ', - 'ズ' => 'ズ', - 'ゼ' => 'ゼ', - 'ゾ' => 'ゾ', - 'ダ' => 'ダ', - 'ヂ' => 'ヂ', - 'ヅ' => 'ヅ', - 'デ' => 'デ', - 'ド' => 'ド', - 'バ' => 'バ', - 'パ' => 'パ', - 'ビ' => 'ビ', - 'ピ' => 'ピ', - 'ブ' => 'ブ', - 'プ' => 'プ', - 'ベ' => 'ベ', - 'ペ' => 'ペ', - 'ボ' => 'ボ', - 'ポ' => 'ポ', - 'ヴ' => 'ヴ', - 'ヷ' => 'ヷ', - 'ヸ' => 'ヸ', - 'ヹ' => 'ヹ', - 'ヺ' => 'ヺ', - 'ヾ' => 'ヾ', - '豈' => '豈', - '更' => '更', - '車' => '車', - '賈' => '賈', - '滑' => '滑', - '串' => '串', - '句' => '句', - '龜' => '龜', - '龜' => '龜', - '契' => '契', - '金' => '金', - '喇' => '喇', - '奈' => '奈', - '懶' => '懶', - '癩' => '癩', - '羅' => '羅', - '蘿' => '蘿', - '螺' => '螺', - '裸' => '裸', - '邏' => '邏', - '樂' => '樂', - '洛' => '洛', - '烙' => '烙', - '珞' => '珞', - '落' => '落', - '酪' => '酪', - '駱' => '駱', - '亂' => '亂', - '卵' => '卵', - '欄' => '欄', - '爛' => '爛', - '蘭' => '蘭', - '鸞' => '鸞', - '嵐' => '嵐', - '濫' => '濫', - '藍' => '藍', - '襤' => '襤', - '拉' => '拉', - '臘' => '臘', - '蠟' => '蠟', - '廊' => '廊', - '朗' => '朗', - '浪' => '浪', - '狼' => '狼', - '郎' => '郎', - '來' => '來', - '冷' => '冷', - '勞' => '勞', - '擄' => '擄', - '櫓' => '櫓', - '爐' => '爐', - '盧' => '盧', - '老' => '老', - '蘆' => '蘆', - '虜' => '虜', - '路' => '路', - '露' => '露', - '魯' => '魯', - '鷺' => '鷺', - '碌' => '碌', - '祿' => '祿', - '綠' => '綠', - '菉' => '菉', - '錄' => '錄', - '鹿' => '鹿', - '論' => '論', - '壟' => '壟', - '弄' => '弄', - '籠' => '籠', - '聾' => '聾', - '牢' => '牢', - '磊' => '磊', - '賂' => '賂', - '雷' => '雷', - '壘' => '壘', - '屢' => '屢', - '樓' => '樓', - '淚' => '淚', - '漏' => '漏', - '累' => '累', - '縷' => '縷', - '陋' => '陋', - '勒' => '勒', - '肋' => '肋', - '凜' => '凜', - '凌' => '凌', - '稜' => '稜', - '綾' => '綾', - '菱' => '菱', - '陵' => '陵', - '讀' => '讀', - '拏' => '拏', - '樂' => '樂', - '諾' => '諾', - '丹' => '丹', - '寧' => '寧', - '怒' => '怒', - '率' => '率', - '異' => '異', - '北' => '北', - '磻' => '磻', - '便' => '便', - '復' => '復', - '不' => '不', - '泌' => '泌', - '數' => '數', - '索' => '索', - '參' => '參', - '塞' => '塞', - '省' => '省', - '葉' => '葉', - '說' => '說', - '殺' => '殺', - '辰' => '辰', - '沈' => '沈', - '拾' => '拾', - '若' => '若', - '掠' => '掠', - '略' => '略', - '亮' => '亮', - '兩' => '兩', - '凉' => '凉', - '梁' => '梁', - '糧' => '糧', - '良' => '良', - '諒' => '諒', - '量' => '量', - '勵' => '勵', - '呂' => '呂', - '女' => '女', - '廬' => '廬', - '旅' => '旅', - '濾' => '濾', - '礪' => '礪', - '閭' => '閭', - '驪' => '驪', - '麗' => '麗', - '黎' => '黎', - '力' => '力', - '曆' => '曆', - '歷' => '歷', - '轢' => '轢', - '年' => '年', - '憐' => '憐', - '戀' => '戀', - '撚' => '撚', - '漣' => '漣', - '煉' => '煉', - '璉' => '璉', - '秊' => '秊', - '練' => '練', - '聯' => '聯', - '輦' => '輦', - '蓮' => '蓮', - '連' => '連', - '鍊' => '鍊', - '列' => '列', - '劣' => '劣', - '咽' => '咽', - '烈' => '烈', - '裂' => '裂', - '說' => '說', - '廉' => '廉', - '念' => '念', - '捻' => '捻', - '殮' => '殮', - '簾' => '簾', - '獵' => '獵', - '令' => '令', - '囹' => '囹', - '寧' => '寧', - '嶺' => '嶺', - '怜' => '怜', - '玲' => '玲', - '瑩' => '瑩', - '羚' => '羚', - '聆' => '聆', - '鈴' => '鈴', - '零' => '零', - '靈' => '靈', - '領' => '領', - '例' => '例', - '禮' => '禮', - '醴' => '醴', - '隸' => '隸', - '惡' => '惡', - '了' => '了', - '僚' => '僚', - '寮' => '寮', - '尿' => '尿', - '料' => '料', - '樂' => '樂', - '燎' => '燎', - '療' => '療', - '蓼' => '蓼', - '遼' => '遼', - '龍' => '龍', - '暈' => '暈', - '阮' => '阮', - '劉' => '劉', - '杻' => '杻', - '柳' => '柳', - '流' => '流', - '溜' => '溜', - '琉' => '琉', - '留' => '留', - '硫' => '硫', - '紐' => '紐', - '類' => '類', - '六' => '六', - '戮' => '戮', - '陸' => '陸', - '倫' => '倫', - '崙' => '崙', - '淪' => '淪', - '輪' => '輪', - '律' => '律', - '慄' => '慄', - '栗' => '栗', - '率' => '率', - '隆' => '隆', - '利' => '利', - '吏' => '吏', - '履' => '履', - '易' => '易', - '李' => '李', - '梨' => '梨', - '泥' => '泥', - '理' => '理', - '痢' => '痢', - '罹' => '罹', - '裏' => '裏', - '裡' => '裡', - '里' => '里', - '離' => '離', - '匿' => '匿', - '溺' => '溺', - '吝' => '吝', - '燐' => '燐', - '璘' => '璘', - '藺' => '藺', - '隣' => '隣', - '鱗' => '鱗', - '麟' => '麟', - '林' => '林', - '淋' => '淋', - '臨' => '臨', - '立' => '立', - '笠' => '笠', - '粒' => '粒', - '狀' => '狀', - '炙' => '炙', - '識' => '識', - '什' => '什', - '茶' => '茶', - '刺' => '刺', - '切' => '切', - '度' => '度', - '拓' => '拓', - '糖' => '糖', - '宅' => '宅', - '洞' => '洞', - '暴' => '暴', - '輻' => '輻', - '行' => '行', - '降' => '降', - '見' => '見', - '廓' => '廓', - '兀' => '兀', - '嗀' => '嗀', - '塚' => '塚', - '晴' => '晴', - '凞' => '凞', - '猪' => '猪', - '益' => '益', - '礼' => '礼', - '神' => '神', - '祥' => '祥', - '福' => '福', - '靖' => '靖', - '精' => '精', - '羽' => '羽', - '蘒' => '蘒', - '諸' => '諸', - '逸' => '逸', - '都' => '都', - '飯' => '飯', - '飼' => '飼', - '館' => '館', - '鶴' => '鶴', - '郞' => '郞', - '隷' => '隷', - '侮' => '侮', - '僧' => '僧', - '免' => '免', - '勉' => '勉', - '勤' => '勤', - '卑' => '卑', - '喝' => '喝', - '嘆' => '嘆', - '器' => '器', - '塀' => '塀', - '墨' => '墨', - '層' => '層', - '屮' => '屮', - '悔' => '悔', - '慨' => '慨', - '憎' => '憎', - '懲' => '懲', - '敏' => '敏', - '既' => '既', - '暑' => '暑', - '梅' => '梅', - '海' => '海', - '渚' => '渚', - '漢' => '漢', - '煮' => '煮', - '爫' => '爫', - '琢' => '琢', - '碑' => '碑', - '社' => '社', - '祉' => '祉', - '祈' => '祈', - '祐' => '祐', - '祖' => '祖', - '祝' => '祝', - '禍' => '禍', - '禎' => '禎', - '穀' => '穀', - '突' => '突', - '節' => '節', - '練' => '練', - '縉' => '縉', - '繁' => '繁', - '署' => '署', - '者' => '者', - '臭' => '臭', - '艹' => '艹', - '艹' => '艹', - '著' => '著', - '褐' => '褐', - '視' => '視', - '謁' => '謁', - '謹' => '謹', - '賓' => '賓', - '贈' => '贈', - '辶' => '辶', - '逸' => '逸', - '難' => '難', - '響' => '響', - '頻' => '頻', - '恵' => '恵', - '𤋮' => '𤋮', - '舘' => '舘', - '並' => '並', - '况' => '况', - '全' => '全', - '侀' => '侀', - '充' => '充', - '冀' => '冀', - '勇' => '勇', - '勺' => '勺', - '喝' => '喝', - '啕' => '啕', - '喙' => '喙', - '嗢' => '嗢', - '塚' => '塚', - '墳' => '墳', - '奄' => '奄', - '奔' => '奔', - '婢' => '婢', - '嬨' => '嬨', - '廒' => '廒', - '廙' => '廙', - '彩' => '彩', - '徭' => '徭', - '惘' => '惘', - '慎' => '慎', - '愈' => '愈', - '憎' => '憎', - '慠' => '慠', - '懲' => '懲', - '戴' => '戴', - '揄' => '揄', - '搜' => '搜', - '摒' => '摒', - '敖' => '敖', - '晴' => '晴', - '朗' => '朗', - '望' => '望', - '杖' => '杖', - '歹' => '歹', - '殺' => '殺', - '流' => '流', - '滛' => '滛', - '滋' => '滋', - '漢' => '漢', - '瀞' => '瀞', - '煮' => '煮', - '瞧' => '瞧', - '爵' => '爵', - '犯' => '犯', - '猪' => '猪', - '瑱' => '瑱', - '甆' => '甆', - '画' => '画', - '瘝' => '瘝', - '瘟' => '瘟', - '益' => '益', - '盛' => '盛', - '直' => '直', - '睊' => '睊', - '着' => '着', - '磌' => '磌', - '窱' => '窱', - '節' => '節', - '类' => '类', - '絛' => '絛', - '練' => '練', - '缾' => '缾', - '者' => '者', - '荒' => '荒', - '華' => '華', - '蝹' => '蝹', - '襁' => '襁', - '覆' => '覆', - '視' => '視', - '調' => '調', - '諸' => '諸', - '請' => '請', - '謁' => '謁', - '諾' => '諾', - '諭' => '諭', - '謹' => '謹', - '變' => '變', - '贈' => '贈', - '輸' => '輸', - '遲' => '遲', - '醙' => '醙', - '鉶' => '鉶', - '陼' => '陼', - '難' => '難', - '靖' => '靖', - '韛' => '韛', - '響' => '響', - '頋' => '頋', - '頻' => '頻', - '鬒' => '鬒', - '龜' => '龜', - '𢡊' => '𢡊', - '𢡄' => '𢡄', - '𣏕' => '𣏕', - '㮝' => '㮝', - '䀘' => '䀘', - '䀹' => '䀹', - '𥉉' => '𥉉', - '𥳐' => '𥳐', - '𧻓' => '𧻓', - '齃' => '齃', - '龎' => '龎', - 'יִ' => 'יִ', - 'ײַ' => 'ײַ', - 'שׁ' => 'שׁ', - 'שׂ' => 'שׂ', - 'שּׁ' => 'שּׁ', - 'שּׂ' => 'שּׂ', - 'אַ' => 'אַ', - 'אָ' => 'אָ', - 'אּ' => 'אּ', - 'בּ' => 'בּ', - 'גּ' => 'גּ', - 'דּ' => 'דּ', - 'הּ' => 'הּ', - 'וּ' => 'וּ', - 'זּ' => 'זּ', - 'טּ' => 'טּ', - 'יּ' => 'יּ', - 'ךּ' => 'ךּ', - 'כּ' => 'כּ', - 'לּ' => 'לּ', - 'מּ' => 'מּ', - 'נּ' => 'נּ', - 'סּ' => 'סּ', - 'ףּ' => 'ףּ', - 'פּ' => 'פּ', - 'צּ' => 'צּ', - 'קּ' => 'קּ', - 'רּ' => 'רּ', - 'שּ' => 'שּ', - 'תּ' => 'תּ', - 'וֹ' => 'וֹ', - 'בֿ' => 'בֿ', - 'כֿ' => 'כֿ', - 'פֿ' => 'פֿ', - '𑂚' => '𑂚', - '𑂜' => '𑂜', - '𑂫' => '𑂫', - '𑄮' => '𑄮', - '𑄯' => '𑄯', - '𑍋' => '𑍋', - '𑍌' => '𑍌', - '𑒻' => '𑒻', - '𑒼' => '𑒼', - '𑒾' => '𑒾', - '𑖺' => '𑖺', - '𑖻' => '𑖻', - '𑤸' => '𑤸', - '𝅗𝅥' => '𝅗𝅥', - '𝅘𝅥' => '𝅘𝅥', - '𝅘𝅥𝅮' => '𝅘𝅥𝅮', - '𝅘𝅥𝅯' => '𝅘𝅥𝅯', - '𝅘𝅥𝅰' => '𝅘𝅥𝅰', - '𝅘𝅥𝅱' => '𝅘𝅥𝅱', - '𝅘𝅥𝅲' => '𝅘𝅥𝅲', - '𝆹𝅥' => '𝆹𝅥', - '𝆺𝅥' => '𝆺𝅥', - '𝆹𝅥𝅮' => '𝆹𝅥𝅮', - '𝆺𝅥𝅮' => '𝆺𝅥𝅮', - '𝆹𝅥𝅯' => '𝆹𝅥𝅯', - '𝆺𝅥𝅯' => '𝆺𝅥𝅯', - '丽' => '丽', - '丸' => '丸', - '乁' => '乁', - '𠄢' => '𠄢', - '你' => '你', - '侮' => '侮', - '侻' => '侻', - '倂' => '倂', - '偺' => '偺', - '備' => '備', - '僧' => '僧', - '像' => '像', - '㒞' => '㒞', - '𠘺' => '𠘺', - '免' => '免', - '兔' => '兔', - '兤' => '兤', - '具' => '具', - '𠔜' => '𠔜', - '㒹' => '㒹', - '內' => '內', - '再' => '再', - '𠕋' => '𠕋', - '冗' => '冗', - '冤' => '冤', - '仌' => '仌', - '冬' => '冬', - '况' => '况', - '𩇟' => '𩇟', - '凵' => '凵', - '刃' => '刃', - '㓟' => '㓟', - '刻' => '刻', - '剆' => '剆', - '割' => '割', - '剷' => '剷', - '㔕' => '㔕', - '勇' => '勇', - '勉' => '勉', - '勤' => '勤', - '勺' => '勺', - '包' => '包', - '匆' => '匆', - '北' => '北', - '卉' => '卉', - '卑' => '卑', - '博' => '博', - '即' => '即', - '卽' => '卽', - '卿' => '卿', - '卿' => '卿', - '卿' => '卿', - '𠨬' => '𠨬', - '灰' => '灰', - '及' => '及', - '叟' => '叟', - '𠭣' => '𠭣', - '叫' => '叫', - '叱' => '叱', - '吆' => '吆', - '咞' => '咞', - '吸' => '吸', - '呈' => '呈', - '周' => '周', - '咢' => '咢', - '哶' => '哶', - '唐' => '唐', - '啓' => '啓', - '啣' => '啣', - '善' => '善', - '善' => '善', - '喙' => '喙', - '喫' => '喫', - '喳' => '喳', - '嗂' => '嗂', - '圖' => '圖', - '嘆' => '嘆', - '圗' => '圗', - '噑' => '噑', - '噴' => '噴', - '切' => '切', - '壮' => '壮', - '城' => '城', - '埴' => '埴', - '堍' => '堍', - '型' => '型', - '堲' => '堲', - '報' => '報', - '墬' => '墬', - '𡓤' => '𡓤', - '売' => '売', - '壷' => '壷', - '夆' => '夆', - '多' => '多', - '夢' => '夢', - '奢' => '奢', - '𡚨' => '𡚨', - '𡛪' => '𡛪', - '姬' => '姬', - '娛' => '娛', - '娧' => '娧', - '姘' => '姘', - '婦' => '婦', - '㛮' => '㛮', - '㛼' => '㛼', - '嬈' => '嬈', - '嬾' => '嬾', - '嬾' => '嬾', - '𡧈' => '𡧈', - '寃' => '寃', - '寘' => '寘', - '寧' => '寧', - '寳' => '寳', - '𡬘' => '𡬘', - '寿' => '寿', - '将' => '将', - '当' => '当', - '尢' => '尢', - '㞁' => '㞁', - '屠' => '屠', - '屮' => '屮', - '峀' => '峀', - '岍' => '岍', - '𡷤' => '𡷤', - '嵃' => '嵃', - '𡷦' => '𡷦', - '嵮' => '嵮', - '嵫' => '嵫', - '嵼' => '嵼', - '巡' => '巡', - '巢' => '巢', - '㠯' => '㠯', - '巽' => '巽', - '帨' => '帨', - '帽' => '帽', - '幩' => '幩', - '㡢' => '㡢', - '𢆃' => '𢆃', - '㡼' => '㡼', - '庰' => '庰', - '庳' => '庳', - '庶' => '庶', - '廊' => '廊', - '𪎒' => '𪎒', - '廾' => '廾', - '𢌱' => '𢌱', - '𢌱' => '𢌱', - '舁' => '舁', - '弢' => '弢', - '弢' => '弢', - '㣇' => '㣇', - '𣊸' => '𣊸', - '𦇚' => '𦇚', - '形' => '形', - '彫' => '彫', - '㣣' => '㣣', - '徚' => '徚', - '忍' => '忍', - '志' => '志', - '忹' => '忹', - '悁' => '悁', - '㤺' => '㤺', - '㤜' => '㤜', - '悔' => '悔', - '𢛔' => '𢛔', - '惇' => '惇', - '慈' => '慈', - '慌' => '慌', - '慎' => '慎', - '慌' => '慌', - '慺' => '慺', - '憎' => '憎', - '憲' => '憲', - '憤' => '憤', - '憯' => '憯', - '懞' => '懞', - '懲' => '懲', - '懶' => '懶', - '成' => '成', - '戛' => '戛', - '扝' => '扝', - '抱' => '抱', - '拔' => '拔', - '捐' => '捐', - '𢬌' => '𢬌', - '挽' => '挽', - '拼' => '拼', - '捨' => '捨', - '掃' => '掃', - '揤' => '揤', - '𢯱' => '𢯱', - '搢' => '搢', - '揅' => '揅', - '掩' => '掩', - '㨮' => '㨮', - '摩' => '摩', - '摾' => '摾', - '撝' => '撝', - '摷' => '摷', - '㩬' => '㩬', - '敏' => '敏', - '敬' => '敬', - '𣀊' => '𣀊', - '旣' => '旣', - '書' => '書', - '晉' => '晉', - '㬙' => '㬙', - '暑' => '暑', - '㬈' => '㬈', - '㫤' => '㫤', - '冒' => '冒', - '冕' => '冕', - '最' => '最', - '暜' => '暜', - '肭' => '肭', - '䏙' => '䏙', - '朗' => '朗', - '望' => '望', - '朡' => '朡', - '杞' => '杞', - '杓' => '杓', - '𣏃' => '𣏃', - '㭉' => '㭉', - '柺' => '柺', - '枅' => '枅', - '桒' => '桒', - '梅' => '梅', - '𣑭' => '𣑭', - '梎' => '梎', - '栟' => '栟', - '椔' => '椔', - '㮝' => '㮝', - '楂' => '楂', - '榣' => '榣', - '槪' => '槪', - '檨' => '檨', - '𣚣' => '𣚣', - '櫛' => '櫛', - '㰘' => '㰘', - '次' => '次', - '𣢧' => '𣢧', - '歔' => '歔', - '㱎' => '㱎', - '歲' => '歲', - '殟' => '殟', - '殺' => '殺', - '殻' => '殻', - '𣪍' => '𣪍', - '𡴋' => '𡴋', - '𣫺' => '𣫺', - '汎' => '汎', - '𣲼' => '𣲼', - '沿' => '沿', - '泍' => '泍', - '汧' => '汧', - '洖' => '洖', - '派' => '派', - '海' => '海', - '流' => '流', - '浩' => '浩', - '浸' => '浸', - '涅' => '涅', - '𣴞' => '𣴞', - '洴' => '洴', - '港' => '港', - '湮' => '湮', - '㴳' => '㴳', - '滋' => '滋', - '滇' => '滇', - '𣻑' => '𣻑', - '淹' => '淹', - '潮' => '潮', - '𣽞' => '𣽞', - '𣾎' => '𣾎', - '濆' => '濆', - '瀹' => '瀹', - '瀞' => '瀞', - '瀛' => '瀛', - '㶖' => '㶖', - '灊' => '灊', - '災' => '災', - '灷' => '灷', - '炭' => '炭', - '𠔥' => '𠔥', - '煅' => '煅', - '𤉣' => '𤉣', - '熜' => '熜', - '𤎫' => '𤎫', - '爨' => '爨', - '爵' => '爵', - '牐' => '牐', - '𤘈' => '𤘈', - '犀' => '犀', - '犕' => '犕', - '𤜵' => '𤜵', - '𤠔' => '𤠔', - '獺' => '獺', - '王' => '王', - '㺬' => '㺬', - '玥' => '玥', - '㺸' => '㺸', - '㺸' => '㺸', - '瑇' => '瑇', - '瑜' => '瑜', - '瑱' => '瑱', - '璅' => '璅', - '瓊' => '瓊', - '㼛' => '㼛', - '甤' => '甤', - '𤰶' => '𤰶', - '甾' => '甾', - '𤲒' => '𤲒', - '異' => '異', - '𢆟' => '𢆟', - '瘐' => '瘐', - '𤾡' => '𤾡', - '𤾸' => '𤾸', - '𥁄' => '𥁄', - '㿼' => '㿼', - '䀈' => '䀈', - '直' => '直', - '𥃳' => '𥃳', - '𥃲' => '𥃲', - '𥄙' => '𥄙', - '𥄳' => '𥄳', - '眞' => '眞', - '真' => '真', - '真' => '真', - '睊' => '睊', - '䀹' => '䀹', - '瞋' => '瞋', - '䁆' => '䁆', - '䂖' => '䂖', - '𥐝' => '𥐝', - '硎' => '硎', - '碌' => '碌', - '磌' => '磌', - '䃣' => '䃣', - '𥘦' => '𥘦', - '祖' => '祖', - '𥚚' => '𥚚', - '𥛅' => '𥛅', - '福' => '福', - '秫' => '秫', - '䄯' => '䄯', - '穀' => '穀', - '穊' => '穊', - '穏' => '穏', - '𥥼' => '𥥼', - '𥪧' => '𥪧', - '𥪧' => '𥪧', - '竮' => '竮', - '䈂' => '䈂', - '𥮫' => '𥮫', - '篆' => '篆', - '築' => '築', - '䈧' => '䈧', - '𥲀' => '𥲀', - '糒' => '糒', - '䊠' => '䊠', - '糨' => '糨', - '糣' => '糣', - '紀' => '紀', - '𥾆' => '𥾆', - '絣' => '絣', - '䌁' => '䌁', - '緇' => '緇', - '縂' => '縂', - '繅' => '繅', - '䌴' => '䌴', - '𦈨' => '𦈨', - '𦉇' => '𦉇', - '䍙' => '䍙', - '𦋙' => '𦋙', - '罺' => '罺', - '𦌾' => '𦌾', - '羕' => '羕', - '翺' => '翺', - '者' => '者', - '𦓚' => '𦓚', - '𦔣' => '𦔣', - '聠' => '聠', - '𦖨' => '𦖨', - '聰' => '聰', - '𣍟' => '𣍟', - '䏕' => '䏕', - '育' => '育', - '脃' => '脃', - '䐋' => '䐋', - '脾' => '脾', - '媵' => '媵', - '𦞧' => '𦞧', - '𦞵' => '𦞵', - '𣎓' => '𣎓', - '𣎜' => '𣎜', - '舁' => '舁', - '舄' => '舄', - '辞' => '辞', - '䑫' => '䑫', - '芑' => '芑', - '芋' => '芋', - '芝' => '芝', - '劳' => '劳', - '花' => '花', - '芳' => '芳', - '芽' => '芽', - '苦' => '苦', - '𦬼' => '𦬼', - '若' => '若', - '茝' => '茝', - '荣' => '荣', - '莭' => '莭', - '茣' => '茣', - '莽' => '莽', - '菧' => '菧', - '著' => '著', - '荓' => '荓', - '菊' => '菊', - '菌' => '菌', - '菜' => '菜', - '𦰶' => '𦰶', - '𦵫' => '𦵫', - '𦳕' => '𦳕', - '䔫' => '䔫', - '蓱' => '蓱', - '蓳' => '蓳', - '蔖' => '蔖', - '𧏊' => '𧏊', - '蕤' => '蕤', - '𦼬' => '𦼬', - '䕝' => '䕝', - '䕡' => '䕡', - '𦾱' => '𦾱', - '𧃒' => '𧃒', - '䕫' => '䕫', - '虐' => '虐', - '虜' => '虜', - '虧' => '虧', - '虩' => '虩', - '蚩' => '蚩', - '蚈' => '蚈', - '蜎' => '蜎', - '蛢' => '蛢', - '蝹' => '蝹', - '蜨' => '蜨', - '蝫' => '蝫', - '螆' => '螆', - '䗗' => '䗗', - '蟡' => '蟡', - '蠁' => '蠁', - '䗹' => '䗹', - '衠' => '衠', - '衣' => '衣', - '𧙧' => '𧙧', - '裗' => '裗', - '裞' => '裞', - '䘵' => '䘵', - '裺' => '裺', - '㒻' => '㒻', - '𧢮' => '𧢮', - '𧥦' => '𧥦', - '䚾' => '䚾', - '䛇' => '䛇', - '誠' => '誠', - '諭' => '諭', - '變' => '變', - '豕' => '豕', - '𧲨' => '𧲨', - '貫' => '貫', - '賁' => '賁', - '贛' => '贛', - '起' => '起', - '𧼯' => '𧼯', - '𠠄' => '𠠄', - '跋' => '跋', - '趼' => '趼', - '跰' => '跰', - '𠣞' => '𠣞', - '軔' => '軔', - '輸' => '輸', - '𨗒' => '𨗒', - '𨗭' => '𨗭', - '邔' => '邔', - '郱' => '郱', - '鄑' => '鄑', - '𨜮' => '𨜮', - '鄛' => '鄛', - '鈸' => '鈸', - '鋗' => '鋗', - '鋘' => '鋘', - '鉼' => '鉼', - '鏹' => '鏹', - '鐕' => '鐕', - '𨯺' => '𨯺', - '開' => '開', - '䦕' => '䦕', - '閷' => '閷', - '𨵷' => '𨵷', - '䧦' => '䧦', - '雃' => '雃', - '嶲' => '嶲', - '霣' => '霣', - '𩅅' => '𩅅', - '𩈚' => '𩈚', - '䩮' => '䩮', - '䩶' => '䩶', - '韠' => '韠', - '𩐊' => '𩐊', - '䪲' => '䪲', - '𩒖' => '𩒖', - '頋' => '頋', - '頋' => '頋', - '頩' => '頩', - '𩖶' => '𩖶', - '飢' => '飢', - '䬳' => '䬳', - '餩' => '餩', - '馧' => '馧', - '駂' => '駂', - '駾' => '駾', - '䯎' => '䯎', - '𩬰' => '𩬰', - '鬒' => '鬒', - '鱀' => '鱀', - '鳽' => '鳽', - '䳎' => '䳎', - '䳭' => '䳭', - '鵧' => '鵧', - '𪃎' => '𪃎', - '䳸' => '䳸', - '𪄅' => '𪄅', - '𪈎' => '𪈎', - '𪊑' => '𪊑', - '麻' => '麻', - '䵖' => '䵖', - '黹' => '黹', - '黾' => '黾', - '鼅' => '鼅', - '鼏' => '鼏', - '鼖' => '鼖', - '鼻' => '鼻', - '𪘀' => '𪘀', -); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php deleted file mode 100644 index ec90f36e..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php +++ /dev/null @@ -1,876 +0,0 @@ - 230, - '́' => 230, - '̂' => 230, - '̃' => 230, - '̄' => 230, - '̅' => 230, - '̆' => 230, - '̇' => 230, - '̈' => 230, - '̉' => 230, - '̊' => 230, - '̋' => 230, - '̌' => 230, - '̍' => 230, - '̎' => 230, - '̏' => 230, - '̐' => 230, - '̑' => 230, - '̒' => 230, - '̓' => 230, - '̔' => 230, - '̕' => 232, - '̖' => 220, - '̗' => 220, - '̘' => 220, - '̙' => 220, - '̚' => 232, - '̛' => 216, - '̜' => 220, - '̝' => 220, - '̞' => 220, - '̟' => 220, - '̠' => 220, - '̡' => 202, - '̢' => 202, - '̣' => 220, - '̤' => 220, - '̥' => 220, - '̦' => 220, - '̧' => 202, - '̨' => 202, - '̩' => 220, - '̪' => 220, - '̫' => 220, - '̬' => 220, - '̭' => 220, - '̮' => 220, - '̯' => 220, - '̰' => 220, - '̱' => 220, - '̲' => 220, - '̳' => 220, - '̴' => 1, - '̵' => 1, - '̶' => 1, - '̷' => 1, - '̸' => 1, - '̹' => 220, - '̺' => 220, - '̻' => 220, - '̼' => 220, - '̽' => 230, - '̾' => 230, - '̿' => 230, - '̀' => 230, - '́' => 230, - '͂' => 230, - '̓' => 230, - '̈́' => 230, - 'ͅ' => 240, - '͆' => 230, - '͇' => 220, - '͈' => 220, - '͉' => 220, - '͊' => 230, - '͋' => 230, - '͌' => 230, - '͍' => 220, - '͎' => 220, - '͐' => 230, - '͑' => 230, - '͒' => 230, - '͓' => 220, - '͔' => 220, - '͕' => 220, - '͖' => 220, - '͗' => 230, - '͘' => 232, - '͙' => 220, - '͚' => 220, - '͛' => 230, - '͜' => 233, - '͝' => 234, - '͞' => 234, - '͟' => 233, - '͠' => 234, - '͡' => 234, - '͢' => 233, - 'ͣ' => 230, - 'ͤ' => 230, - 'ͥ' => 230, - 'ͦ' => 230, - 'ͧ' => 230, - 'ͨ' => 230, - 'ͩ' => 230, - 'ͪ' => 230, - 'ͫ' => 230, - 'ͬ' => 230, - 'ͭ' => 230, - 'ͮ' => 230, - 'ͯ' => 230, - '҃' => 230, - '҄' => 230, - '҅' => 230, - '҆' => 230, - '҇' => 230, - '֑' => 220, - '֒' => 230, - '֓' => 230, - '֔' => 230, - '֕' => 230, - '֖' => 220, - '֗' => 230, - '֘' => 230, - '֙' => 230, - '֚' => 222, - '֛' => 220, - '֜' => 230, - '֝' => 230, - '֞' => 230, - '֟' => 230, - '֠' => 230, - '֡' => 230, - '֢' => 220, - '֣' => 220, - '֤' => 220, - '֥' => 220, - '֦' => 220, - '֧' => 220, - '֨' => 230, - '֩' => 230, - '֪' => 220, - '֫' => 230, - '֬' => 230, - '֭' => 222, - '֮' => 228, - '֯' => 230, - 'ְ' => 10, - 'ֱ' => 11, - 'ֲ' => 12, - 'ֳ' => 13, - 'ִ' => 14, - 'ֵ' => 15, - 'ֶ' => 16, - 'ַ' => 17, - 'ָ' => 18, - 'ֹ' => 19, - 'ֺ' => 19, - 'ֻ' => 20, - 'ּ' => 21, - 'ֽ' => 22, - 'ֿ' => 23, - 'ׁ' => 24, - 'ׂ' => 25, - 'ׄ' => 230, - 'ׅ' => 220, - 'ׇ' => 18, - 'ؐ' => 230, - 'ؑ' => 230, - 'ؒ' => 230, - 'ؓ' => 230, - 'ؔ' => 230, - 'ؕ' => 230, - 'ؖ' => 230, - 'ؗ' => 230, - 'ؘ' => 30, - 'ؙ' => 31, - 'ؚ' => 32, - 'ً' => 27, - 'ٌ' => 28, - 'ٍ' => 29, - 'َ' => 30, - 'ُ' => 31, - 'ِ' => 32, - 'ّ' => 33, - 'ْ' => 34, - 'ٓ' => 230, - 'ٔ' => 230, - 'ٕ' => 220, - 'ٖ' => 220, - 'ٗ' => 230, - '٘' => 230, - 'ٙ' => 230, - 'ٚ' => 230, - 'ٛ' => 230, - 'ٜ' => 220, - 'ٝ' => 230, - 'ٞ' => 230, - 'ٟ' => 220, - 'ٰ' => 35, - 'ۖ' => 230, - 'ۗ' => 230, - 'ۘ' => 230, - 'ۙ' => 230, - 'ۚ' => 230, - 'ۛ' => 230, - 'ۜ' => 230, - '۟' => 230, - '۠' => 230, - 'ۡ' => 230, - 'ۢ' => 230, - 'ۣ' => 220, - 'ۤ' => 230, - 'ۧ' => 230, - 'ۨ' => 230, - '۪' => 220, - '۫' => 230, - '۬' => 230, - 'ۭ' => 220, - 'ܑ' => 36, - 'ܰ' => 230, - 'ܱ' => 220, - 'ܲ' => 230, - 'ܳ' => 230, - 'ܴ' => 220, - 'ܵ' => 230, - 'ܶ' => 230, - 'ܷ' => 220, - 'ܸ' => 220, - 'ܹ' => 220, - 'ܺ' => 230, - 'ܻ' => 220, - 'ܼ' => 220, - 'ܽ' => 230, - 'ܾ' => 220, - 'ܿ' => 230, - '݀' => 230, - '݁' => 230, - '݂' => 220, - '݃' => 230, - '݄' => 220, - '݅' => 230, - '݆' => 220, - '݇' => 230, - '݈' => 220, - '݉' => 230, - '݊' => 230, - '߫' => 230, - '߬' => 230, - '߭' => 230, - '߮' => 230, - '߯' => 230, - '߰' => 230, - '߱' => 230, - '߲' => 220, - '߳' => 230, - '߽' => 220, - 'ࠖ' => 230, - 'ࠗ' => 230, - '࠘' => 230, - '࠙' => 230, - 'ࠛ' => 230, - 'ࠜ' => 230, - 'ࠝ' => 230, - 'ࠞ' => 230, - 'ࠟ' => 230, - 'ࠠ' => 230, - 'ࠡ' => 230, - 'ࠢ' => 230, - 'ࠣ' => 230, - 'ࠥ' => 230, - 'ࠦ' => 230, - 'ࠧ' => 230, - 'ࠩ' => 230, - 'ࠪ' => 230, - 'ࠫ' => 230, - 'ࠬ' => 230, - '࠭' => 230, - '࡙' => 220, - '࡚' => 220, - '࡛' => 220, - '࣓' => 220, - 'ࣔ' => 230, - 'ࣕ' => 230, - 'ࣖ' => 230, - 'ࣗ' => 230, - 'ࣘ' => 230, - 'ࣙ' => 230, - 'ࣚ' => 230, - 'ࣛ' => 230, - 'ࣜ' => 230, - 'ࣝ' => 230, - 'ࣞ' => 230, - 'ࣟ' => 230, - '࣠' => 230, - '࣡' => 230, - 'ࣣ' => 220, - 'ࣤ' => 230, - 'ࣥ' => 230, - 'ࣦ' => 220, - 'ࣧ' => 230, - 'ࣨ' => 230, - 'ࣩ' => 220, - '࣪' => 230, - '࣫' => 230, - '࣬' => 230, - '࣭' => 220, - '࣮' => 220, - '࣯' => 220, - 'ࣰ' => 27, - 'ࣱ' => 28, - 'ࣲ' => 29, - 'ࣳ' => 230, - 'ࣴ' => 230, - 'ࣵ' => 230, - 'ࣶ' => 220, - 'ࣷ' => 230, - 'ࣸ' => 230, - 'ࣹ' => 220, - 'ࣺ' => 220, - 'ࣻ' => 230, - 'ࣼ' => 230, - 'ࣽ' => 230, - 'ࣾ' => 230, - 'ࣿ' => 230, - '़' => 7, - '्' => 9, - '॑' => 230, - '॒' => 220, - '॓' => 230, - '॔' => 230, - '়' => 7, - '্' => 9, - '৾' => 230, - '਼' => 7, - '੍' => 9, - '઼' => 7, - '્' => 9, - '଼' => 7, - '୍' => 9, - '்' => 9, - '్' => 9, - 'ౕ' => 84, - 'ౖ' => 91, - '಼' => 7, - '್' => 9, - '഻' => 9, - '഼' => 9, - '്' => 9, - '්' => 9, - 'ุ' => 103, - 'ู' => 103, - 'ฺ' => 9, - '่' => 107, - '้' => 107, - '๊' => 107, - '๋' => 107, - 'ຸ' => 118, - 'ູ' => 118, - '຺' => 9, - '່' => 122, - '້' => 122, - '໊' => 122, - '໋' => 122, - '༘' => 220, - '༙' => 220, - '༵' => 220, - '༷' => 220, - '༹' => 216, - 'ཱ' => 129, - 'ི' => 130, - 'ུ' => 132, - 'ེ' => 130, - 'ཻ' => 130, - 'ོ' => 130, - 'ཽ' => 130, - 'ྀ' => 130, - 'ྂ' => 230, - 'ྃ' => 230, - '྄' => 9, - '྆' => 230, - '྇' => 230, - '࿆' => 220, - '့' => 7, - '္' => 9, - '်' => 9, - 'ႍ' => 220, - '፝' => 230, - '፞' => 230, - '፟' => 230, - '᜔' => 9, - '᜴' => 9, - '្' => 9, - '៝' => 230, - 'ᢩ' => 228, - '᤹' => 222, - '᤺' => 230, - '᤻' => 220, - 'ᨗ' => 230, - 'ᨘ' => 220, - '᩠' => 9, - '᩵' => 230, - '᩶' => 230, - '᩷' => 230, - '᩸' => 230, - '᩹' => 230, - '᩺' => 230, - '᩻' => 230, - '᩼' => 230, - '᩿' => 220, - '᪰' => 230, - '᪱' => 230, - '᪲' => 230, - '᪳' => 230, - '᪴' => 230, - '᪵' => 220, - '᪶' => 220, - '᪷' => 220, - '᪸' => 220, - '᪹' => 220, - '᪺' => 220, - '᪻' => 230, - '᪼' => 230, - '᪽' => 220, - 'ᪿ' => 220, - 'ᫀ' => 220, - '᬴' => 7, - '᭄' => 9, - '᭫' => 230, - '᭬' => 220, - '᭭' => 230, - '᭮' => 230, - '᭯' => 230, - '᭰' => 230, - '᭱' => 230, - '᭲' => 230, - '᭳' => 230, - '᮪' => 9, - '᮫' => 9, - '᯦' => 7, - '᯲' => 9, - '᯳' => 9, - '᰷' => 7, - '᳐' => 230, - '᳑' => 230, - '᳒' => 230, - '᳔' => 1, - '᳕' => 220, - '᳖' => 220, - '᳗' => 220, - '᳘' => 220, - '᳙' => 220, - '᳚' => 230, - '᳛' => 230, - '᳜' => 220, - '᳝' => 220, - '᳞' => 220, - '᳟' => 220, - '᳠' => 230, - '᳢' => 1, - '᳣' => 1, - '᳤' => 1, - '᳥' => 1, - '᳦' => 1, - '᳧' => 1, - '᳨' => 1, - '᳭' => 220, - '᳴' => 230, - '᳸' => 230, - '᳹' => 230, - '᷀' => 230, - '᷁' => 230, - '᷂' => 220, - '᷃' => 230, - '᷄' => 230, - '᷅' => 230, - '᷆' => 230, - '᷇' => 230, - '᷈' => 230, - '᷉' => 230, - '᷊' => 220, - '᷋' => 230, - '᷌' => 230, - '᷍' => 234, - '᷎' => 214, - '᷏' => 220, - '᷐' => 202, - '᷑' => 230, - '᷒' => 230, - 'ᷓ' => 230, - 'ᷔ' => 230, - 'ᷕ' => 230, - 'ᷖ' => 230, - 'ᷗ' => 230, - 'ᷘ' => 230, - 'ᷙ' => 230, - 'ᷚ' => 230, - 'ᷛ' => 230, - 'ᷜ' => 230, - 'ᷝ' => 230, - 'ᷞ' => 230, - 'ᷟ' => 230, - 'ᷠ' => 230, - 'ᷡ' => 230, - 'ᷢ' => 230, - 'ᷣ' => 230, - 'ᷤ' => 230, - 'ᷥ' => 230, - 'ᷦ' => 230, - 'ᷧ' => 230, - 'ᷨ' => 230, - 'ᷩ' => 230, - 'ᷪ' => 230, - 'ᷫ' => 230, - 'ᷬ' => 230, - 'ᷭ' => 230, - 'ᷮ' => 230, - 'ᷯ' => 230, - 'ᷰ' => 230, - 'ᷱ' => 230, - 'ᷲ' => 230, - 'ᷳ' => 230, - 'ᷴ' => 230, - '᷵' => 230, - '᷶' => 232, - '᷷' => 228, - '᷸' => 228, - '᷹' => 220, - '᷻' => 230, - '᷼' => 233, - '᷽' => 220, - '᷾' => 230, - '᷿' => 220, - '⃐' => 230, - '⃑' => 230, - '⃒' => 1, - '⃓' => 1, - '⃔' => 230, - '⃕' => 230, - '⃖' => 230, - '⃗' => 230, - '⃘' => 1, - '⃙' => 1, - '⃚' => 1, - '⃛' => 230, - '⃜' => 230, - '⃡' => 230, - '⃥' => 1, - '⃦' => 1, - '⃧' => 230, - '⃨' => 220, - '⃩' => 230, - '⃪' => 1, - '⃫' => 1, - '⃬' => 220, - '⃭' => 220, - '⃮' => 220, - '⃯' => 220, - '⃰' => 230, - '⳯' => 230, - '⳰' => 230, - '⳱' => 230, - '⵿' => 9, - 'ⷠ' => 230, - 'ⷡ' => 230, - 'ⷢ' => 230, - 'ⷣ' => 230, - 'ⷤ' => 230, - 'ⷥ' => 230, - 'ⷦ' => 230, - 'ⷧ' => 230, - 'ⷨ' => 230, - 'ⷩ' => 230, - 'ⷪ' => 230, - 'ⷫ' => 230, - 'ⷬ' => 230, - 'ⷭ' => 230, - 'ⷮ' => 230, - 'ⷯ' => 230, - 'ⷰ' => 230, - 'ⷱ' => 230, - 'ⷲ' => 230, - 'ⷳ' => 230, - 'ⷴ' => 230, - 'ⷵ' => 230, - 'ⷶ' => 230, - 'ⷷ' => 230, - 'ⷸ' => 230, - 'ⷹ' => 230, - 'ⷺ' => 230, - 'ⷻ' => 230, - 'ⷼ' => 230, - 'ⷽ' => 230, - 'ⷾ' => 230, - 'ⷿ' => 230, - '〪' => 218, - '〫' => 228, - '〬' => 232, - '〭' => 222, - '〮' => 224, - '〯' => 224, - '゙' => 8, - '゚' => 8, - '꙯' => 230, - 'ꙴ' => 230, - 'ꙵ' => 230, - 'ꙶ' => 230, - 'ꙷ' => 230, - 'ꙸ' => 230, - 'ꙹ' => 230, - 'ꙺ' => 230, - 'ꙻ' => 230, - '꙼' => 230, - '꙽' => 230, - 'ꚞ' => 230, - 'ꚟ' => 230, - '꛰' => 230, - '꛱' => 230, - '꠆' => 9, - '꠬' => 9, - '꣄' => 9, - '꣠' => 230, - '꣡' => 230, - '꣢' => 230, - '꣣' => 230, - '꣤' => 230, - '꣥' => 230, - '꣦' => 230, - '꣧' => 230, - '꣨' => 230, - '꣩' => 230, - '꣪' => 230, - '꣫' => 230, - '꣬' => 230, - '꣭' => 230, - '꣮' => 230, - '꣯' => 230, - '꣰' => 230, - '꣱' => 230, - '꤫' => 220, - '꤬' => 220, - '꤭' => 220, - '꥓' => 9, - '꦳' => 7, - '꧀' => 9, - 'ꪰ' => 230, - 'ꪲ' => 230, - 'ꪳ' => 230, - 'ꪴ' => 220, - 'ꪷ' => 230, - 'ꪸ' => 230, - 'ꪾ' => 230, - '꪿' => 230, - '꫁' => 230, - '꫶' => 9, - '꯭' => 9, - 'ﬞ' => 26, - '︠' => 230, - '︡' => 230, - '︢' => 230, - '︣' => 230, - '︤' => 230, - '︥' => 230, - '︦' => 230, - '︧' => 220, - '︨' => 220, - '︩' => 220, - '︪' => 220, - '︫' => 220, - '︬' => 220, - '︭' => 220, - '︮' => 230, - '︯' => 230, - '𐇽' => 220, - '𐋠' => 220, - '𐍶' => 230, - '𐍷' => 230, - '𐍸' => 230, - '𐍹' => 230, - '𐍺' => 230, - '𐨍' => 220, - '𐨏' => 230, - '𐨸' => 230, - '𐨹' => 1, - '𐨺' => 220, - '𐨿' => 9, - '𐫥' => 230, - '𐫦' => 220, - '𐴤' => 230, - '𐴥' => 230, - '𐴦' => 230, - '𐴧' => 230, - '𐺫' => 230, - '𐺬' => 230, - '𐽆' => 220, - '𐽇' => 220, - '𐽈' => 230, - '𐽉' => 230, - '𐽊' => 230, - '𐽋' => 220, - '𐽌' => 230, - '𐽍' => 220, - '𐽎' => 220, - '𐽏' => 220, - '𐽐' => 220, - '𑁆' => 9, - '𑁿' => 9, - '𑂹' => 9, - '𑂺' => 7, - '𑄀' => 230, - '𑄁' => 230, - '𑄂' => 230, - '𑄳' => 9, - '𑄴' => 9, - '𑅳' => 7, - '𑇀' => 9, - '𑇊' => 7, - '𑈵' => 9, - '𑈶' => 7, - '𑋩' => 7, - '𑋪' => 9, - '𑌻' => 7, - '𑌼' => 7, - '𑍍' => 9, - '𑍦' => 230, - '𑍧' => 230, - '𑍨' => 230, - '𑍩' => 230, - '𑍪' => 230, - '𑍫' => 230, - '𑍬' => 230, - '𑍰' => 230, - '𑍱' => 230, - '𑍲' => 230, - '𑍳' => 230, - '𑍴' => 230, - '𑑂' => 9, - '𑑆' => 7, - '𑑞' => 230, - '𑓂' => 9, - '𑓃' => 7, - '𑖿' => 9, - '𑗀' => 7, - '𑘿' => 9, - '𑚶' => 9, - '𑚷' => 7, - '𑜫' => 9, - '𑠹' => 9, - '𑠺' => 7, - '𑤽' => 9, - '𑤾' => 9, - '𑥃' => 7, - '𑧠' => 9, - '𑨴' => 9, - '𑩇' => 9, - '𑪙' => 9, - '𑰿' => 9, - '𑵂' => 7, - '𑵄' => 9, - '𑵅' => 9, - '𑶗' => 9, - '𖫰' => 1, - '𖫱' => 1, - '𖫲' => 1, - '𖫳' => 1, - '𖫴' => 1, - '𖬰' => 230, - '𖬱' => 230, - '𖬲' => 230, - '𖬳' => 230, - '𖬴' => 230, - '𖬵' => 230, - '𖬶' => 230, - '𖿰' => 6, - '𖿱' => 6, - '𛲞' => 1, - '𝅥' => 216, - '𝅦' => 216, - '𝅧' => 1, - '𝅨' => 1, - '𝅩' => 1, - '𝅭' => 226, - '𝅮' => 216, - '𝅯' => 216, - '𝅰' => 216, - '𝅱' => 216, - '𝅲' => 216, - '𝅻' => 220, - '𝅼' => 220, - '𝅽' => 220, - '𝅾' => 220, - '𝅿' => 220, - '𝆀' => 220, - '𝆁' => 220, - '𝆂' => 220, - '𝆅' => 230, - '𝆆' => 230, - '𝆇' => 230, - '𝆈' => 230, - '𝆉' => 230, - '𝆊' => 220, - '𝆋' => 220, - '𝆪' => 230, - '𝆫' => 230, - '𝆬' => 230, - '𝆭' => 230, - '𝉂' => 230, - '𝉃' => 230, - '𝉄' => 230, - '𞀀' => 230, - '𞀁' => 230, - '𞀂' => 230, - '𞀃' => 230, - '𞀄' => 230, - '𞀅' => 230, - '𞀆' => 230, - '𞀈' => 230, - '𞀉' => 230, - '𞀊' => 230, - '𞀋' => 230, - '𞀌' => 230, - '𞀍' => 230, - '𞀎' => 230, - '𞀏' => 230, - '𞀐' => 230, - '𞀑' => 230, - '𞀒' => 230, - '𞀓' => 230, - '𞀔' => 230, - '𞀕' => 230, - '𞀖' => 230, - '𞀗' => 230, - '𞀘' => 230, - '𞀛' => 230, - '𞀜' => 230, - '𞀝' => 230, - '𞀞' => 230, - '𞀟' => 230, - '𞀠' => 230, - '𞀡' => 230, - '𞀣' => 230, - '𞀤' => 230, - '𞀦' => 230, - '𞀧' => 230, - '𞀨' => 230, - '𞀩' => 230, - '𞀪' => 230, - '𞄰' => 230, - '𞄱' => 230, - '𞄲' => 230, - '𞄳' => 230, - '𞄴' => 230, - '𞄵' => 230, - '𞄶' => 230, - '𞋬' => 230, - '𞋭' => 230, - '𞋮' => 230, - '𞋯' => 230, - '𞣐' => 220, - '𞣑' => 220, - '𞣒' => 220, - '𞣓' => 220, - '𞣔' => 220, - '𞣕' => 220, - '𞣖' => 220, - '𞥄' => 230, - '𞥅' => 230, - '𞥆' => 230, - '𞥇' => 230, - '𞥈' => 230, - '𞥉' => 230, - '𞥊' => 7, -); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php deleted file mode 100644 index 15749028..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php +++ /dev/null @@ -1,3695 +0,0 @@ - ' ', - '¨' => ' ̈', - 'ª' => 'a', - '¯' => ' ̄', - '²' => '2', - '³' => '3', - '´' => ' ́', - 'µ' => 'μ', - '¸' => ' ̧', - '¹' => '1', - 'º' => 'o', - '¼' => '1⁄4', - '½' => '1⁄2', - '¾' => '3⁄4', - 'IJ' => 'IJ', - 'ij' => 'ij', - 'Ŀ' => 'L·', - 'ŀ' => 'l·', - 'ʼn' => 'ʼn', - 'ſ' => 's', - 'DŽ' => 'DŽ', - 'Dž' => 'Dž', - 'dž' => 'dž', - 'LJ' => 'LJ', - 'Lj' => 'Lj', - 'lj' => 'lj', - 'NJ' => 'NJ', - 'Nj' => 'Nj', - 'nj' => 'nj', - 'DZ' => 'DZ', - 'Dz' => 'Dz', - 'dz' => 'dz', - 'ʰ' => 'h', - 'ʱ' => 'ɦ', - 'ʲ' => 'j', - 'ʳ' => 'r', - 'ʴ' => 'ɹ', - 'ʵ' => 'ɻ', - 'ʶ' => 'ʁ', - 'ʷ' => 'w', - 'ʸ' => 'y', - '˘' => ' ̆', - '˙' => ' ̇', - '˚' => ' ̊', - '˛' => ' ̨', - '˜' => ' ̃', - '˝' => ' ̋', - 'ˠ' => 'ɣ', - 'ˡ' => 'l', - 'ˢ' => 's', - 'ˣ' => 'x', - 'ˤ' => 'ʕ', - 'ͺ' => ' ͅ', - '΄' => ' ́', - '΅' => ' ̈́', - 'ϐ' => 'β', - 'ϑ' => 'θ', - 'ϒ' => 'Υ', - 'ϓ' => 'Ύ', - 'ϔ' => 'Ϋ', - 'ϕ' => 'φ', - 'ϖ' => 'π', - 'ϰ' => 'κ', - 'ϱ' => 'ρ', - 'ϲ' => 'ς', - 'ϴ' => 'Θ', - 'ϵ' => 'ε', - 'Ϲ' => 'Σ', - 'և' => 'եւ', - 'ٵ' => 'اٴ', - 'ٶ' => 'وٴ', - 'ٷ' => 'ۇٴ', - 'ٸ' => 'يٴ', - 'ำ' => 'ํา', - 'ຳ' => 'ໍາ', - 'ໜ' => 'ຫນ', - 'ໝ' => 'ຫມ', - '༌' => '་', - 'ཷ' => 'ྲཱྀ', - 'ཹ' => 'ླཱྀ', - 'ჼ' => 'ნ', - 'ᴬ' => 'A', - 'ᴭ' => 'Æ', - 'ᴮ' => 'B', - 'ᴰ' => 'D', - 'ᴱ' => 'E', - 'ᴲ' => 'Ǝ', - 'ᴳ' => 'G', - 'ᴴ' => 'H', - 'ᴵ' => 'I', - 'ᴶ' => 'J', - 'ᴷ' => 'K', - 'ᴸ' => 'L', - 'ᴹ' => 'M', - 'ᴺ' => 'N', - 'ᴼ' => 'O', - 'ᴽ' => 'Ȣ', - 'ᴾ' => 'P', - 'ᴿ' => 'R', - 'ᵀ' => 'T', - 'ᵁ' => 'U', - 'ᵂ' => 'W', - 'ᵃ' => 'a', - 'ᵄ' => 'ɐ', - 'ᵅ' => 'ɑ', - 'ᵆ' => 'ᴂ', - 'ᵇ' => 'b', - 'ᵈ' => 'd', - 'ᵉ' => 'e', - 'ᵊ' => 'ə', - 'ᵋ' => 'ɛ', - 'ᵌ' => 'ɜ', - 'ᵍ' => 'g', - 'ᵏ' => 'k', - 'ᵐ' => 'm', - 'ᵑ' => 'ŋ', - 'ᵒ' => 'o', - 'ᵓ' => 'ɔ', - 'ᵔ' => 'ᴖ', - 'ᵕ' => 'ᴗ', - 'ᵖ' => 'p', - 'ᵗ' => 't', - 'ᵘ' => 'u', - 'ᵙ' => 'ᴝ', - 'ᵚ' => 'ɯ', - 'ᵛ' => 'v', - 'ᵜ' => 'ᴥ', - 'ᵝ' => 'β', - 'ᵞ' => 'γ', - 'ᵟ' => 'δ', - 'ᵠ' => 'φ', - 'ᵡ' => 'χ', - 'ᵢ' => 'i', - 'ᵣ' => 'r', - 'ᵤ' => 'u', - 'ᵥ' => 'v', - 'ᵦ' => 'β', - 'ᵧ' => 'γ', - 'ᵨ' => 'ρ', - 'ᵩ' => 'φ', - 'ᵪ' => 'χ', - 'ᵸ' => 'н', - 'ᶛ' => 'ɒ', - 'ᶜ' => 'c', - 'ᶝ' => 'ɕ', - 'ᶞ' => 'ð', - 'ᶟ' => 'ɜ', - 'ᶠ' => 'f', - 'ᶡ' => 'ɟ', - 'ᶢ' => 'ɡ', - 'ᶣ' => 'ɥ', - 'ᶤ' => 'ɨ', - 'ᶥ' => 'ɩ', - 'ᶦ' => 'ɪ', - 'ᶧ' => 'ᵻ', - 'ᶨ' => 'ʝ', - 'ᶩ' => 'ɭ', - 'ᶪ' => 'ᶅ', - 'ᶫ' => 'ʟ', - 'ᶬ' => 'ɱ', - 'ᶭ' => 'ɰ', - 'ᶮ' => 'ɲ', - 'ᶯ' => 'ɳ', - 'ᶰ' => 'ɴ', - 'ᶱ' => 'ɵ', - 'ᶲ' => 'ɸ', - 'ᶳ' => 'ʂ', - 'ᶴ' => 'ʃ', - 'ᶵ' => 'ƫ', - 'ᶶ' => 'ʉ', - 'ᶷ' => 'ʊ', - 'ᶸ' => 'ᴜ', - 'ᶹ' => 'ʋ', - 'ᶺ' => 'ʌ', - 'ᶻ' => 'z', - 'ᶼ' => 'ʐ', - 'ᶽ' => 'ʑ', - 'ᶾ' => 'ʒ', - 'ᶿ' => 'θ', - 'ẚ' => 'aʾ', - 'ẛ' => 'ṡ', - '᾽' => ' ̓', - '᾿' => ' ̓', - '῀' => ' ͂', - '῁' => ' ̈͂', - '῍' => ' ̓̀', - '῎' => ' ̓́', - '῏' => ' ̓͂', - '῝' => ' ̔̀', - '῞' => ' ̔́', - '῟' => ' ̔͂', - '῭' => ' ̈̀', - '΅' => ' ̈́', - '´' => ' ́', - '῾' => ' ̔', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - ' ' => ' ', - '‑' => '‐', - '‗' => ' ̳', - '․' => '.', - '‥' => '..', - '…' => '...', - ' ' => ' ', - '″' => '′′', - '‴' => '′′′', - '‶' => '‵‵', - '‷' => '‵‵‵', - '‼' => '!!', - '‾' => ' ̅', - '⁇' => '??', - '⁈' => '?!', - '⁉' => '!?', - '⁗' => '′′′′', - ' ' => ' ', - '⁰' => '0', - 'ⁱ' => 'i', - '⁴' => '4', - '⁵' => '5', - '⁶' => '6', - '⁷' => '7', - '⁸' => '8', - '⁹' => '9', - '⁺' => '+', - '⁻' => '−', - '⁼' => '=', - '⁽' => '(', - '⁾' => ')', - 'ⁿ' => 'n', - '₀' => '0', - '₁' => '1', - '₂' => '2', - '₃' => '3', - '₄' => '4', - '₅' => '5', - '₆' => '6', - '₇' => '7', - '₈' => '8', - '₉' => '9', - '₊' => '+', - '₋' => '−', - '₌' => '=', - '₍' => '(', - '₎' => ')', - 'ₐ' => 'a', - 'ₑ' => 'e', - 'ₒ' => 'o', - 'ₓ' => 'x', - 'ₔ' => 'ə', - 'ₕ' => 'h', - 'ₖ' => 'k', - 'ₗ' => 'l', - 'ₘ' => 'm', - 'ₙ' => 'n', - 'ₚ' => 'p', - 'ₛ' => 's', - 'ₜ' => 't', - '₨' => 'Rs', - '℀' => 'a/c', - '℁' => 'a/s', - 'ℂ' => 'C', - '℃' => '°C', - '℅' => 'c/o', - '℆' => 'c/u', - 'ℇ' => 'Ɛ', - '℉' => '°F', - 'ℊ' => 'g', - 'ℋ' => 'H', - 'ℌ' => 'H', - 'ℍ' => 'H', - 'ℎ' => 'h', - 'ℏ' => 'ħ', - 'ℐ' => 'I', - 'ℑ' => 'I', - 'ℒ' => 'L', - 'ℓ' => 'l', - 'ℕ' => 'N', - '№' => 'No', - 'ℙ' => 'P', - 'ℚ' => 'Q', - 'ℛ' => 'R', - 'ℜ' => 'R', - 'ℝ' => 'R', - '℠' => 'SM', - '℡' => 'TEL', - '™' => 'TM', - 'ℤ' => 'Z', - 'ℨ' => 'Z', - 'ℬ' => 'B', - 'ℭ' => 'C', - 'ℯ' => 'e', - 'ℰ' => 'E', - 'ℱ' => 'F', - 'ℳ' => 'M', - 'ℴ' => 'o', - 'ℵ' => 'א', - 'ℶ' => 'ב', - 'ℷ' => 'ג', - 'ℸ' => 'ד', - 'ℹ' => 'i', - '℻' => 'FAX', - 'ℼ' => 'π', - 'ℽ' => 'γ', - 'ℾ' => 'Γ', - 'ℿ' => 'Π', - '⅀' => '∑', - 'ⅅ' => 'D', - 'ⅆ' => 'd', - 'ⅇ' => 'e', - 'ⅈ' => 'i', - 'ⅉ' => 'j', - '⅐' => '1⁄7', - '⅑' => '1⁄9', - '⅒' => '1⁄10', - '⅓' => '1⁄3', - '⅔' => '2⁄3', - '⅕' => '1⁄5', - '⅖' => '2⁄5', - '⅗' => '3⁄5', - '⅘' => '4⁄5', - '⅙' => '1⁄6', - '⅚' => '5⁄6', - '⅛' => '1⁄8', - '⅜' => '3⁄8', - '⅝' => '5⁄8', - '⅞' => '7⁄8', - '⅟' => '1⁄', - 'Ⅰ' => 'I', - 'Ⅱ' => 'II', - 'Ⅲ' => 'III', - 'Ⅳ' => 'IV', - 'Ⅴ' => 'V', - 'Ⅵ' => 'VI', - 'Ⅶ' => 'VII', - 'Ⅷ' => 'VIII', - 'Ⅸ' => 'IX', - 'Ⅹ' => 'X', - 'Ⅺ' => 'XI', - 'Ⅻ' => 'XII', - 'Ⅼ' => 'L', - 'Ⅽ' => 'C', - 'Ⅾ' => 'D', - 'Ⅿ' => 'M', - 'ⅰ' => 'i', - 'ⅱ' => 'ii', - 'ⅲ' => 'iii', - 'ⅳ' => 'iv', - 'ⅴ' => 'v', - 'ⅵ' => 'vi', - 'ⅶ' => 'vii', - 'ⅷ' => 'viii', - 'ⅸ' => 'ix', - 'ⅹ' => 'x', - 'ⅺ' => 'xi', - 'ⅻ' => 'xii', - 'ⅼ' => 'l', - 'ⅽ' => 'c', - 'ⅾ' => 'd', - 'ⅿ' => 'm', - '↉' => '0⁄3', - '∬' => '∫∫', - '∭' => '∫∫∫', - '∯' => '∮∮', - '∰' => '∮∮∮', - '①' => '1', - '②' => '2', - '③' => '3', - '④' => '4', - '⑤' => '5', - '⑥' => '6', - '⑦' => '7', - '⑧' => '8', - '⑨' => '9', - '⑩' => '10', - '⑪' => '11', - '⑫' => '12', - '⑬' => '13', - '⑭' => '14', - '⑮' => '15', - '⑯' => '16', - '⑰' => '17', - '⑱' => '18', - '⑲' => '19', - '⑳' => '20', - '⑴' => '(1)', - '⑵' => '(2)', - '⑶' => '(3)', - '⑷' => '(4)', - '⑸' => '(5)', - '⑹' => '(6)', - '⑺' => '(7)', - '⑻' => '(8)', - '⑼' => '(9)', - '⑽' => '(10)', - '⑾' => '(11)', - '⑿' => '(12)', - '⒀' => '(13)', - '⒁' => '(14)', - '⒂' => '(15)', - '⒃' => '(16)', - '⒄' => '(17)', - '⒅' => '(18)', - '⒆' => '(19)', - '⒇' => '(20)', - '⒈' => '1.', - '⒉' => '2.', - '⒊' => '3.', - '⒋' => '4.', - '⒌' => '5.', - '⒍' => '6.', - '⒎' => '7.', - '⒏' => '8.', - '⒐' => '9.', - '⒑' => '10.', - '⒒' => '11.', - '⒓' => '12.', - '⒔' => '13.', - '⒕' => '14.', - '⒖' => '15.', - '⒗' => '16.', - '⒘' => '17.', - '⒙' => '18.', - '⒚' => '19.', - '⒛' => '20.', - '⒜' => '(a)', - '⒝' => '(b)', - '⒞' => '(c)', - '⒟' => '(d)', - '⒠' => '(e)', - '⒡' => '(f)', - '⒢' => '(g)', - '⒣' => '(h)', - '⒤' => '(i)', - '⒥' => '(j)', - '⒦' => '(k)', - '⒧' => '(l)', - '⒨' => '(m)', - '⒩' => '(n)', - '⒪' => '(o)', - '⒫' => '(p)', - '⒬' => '(q)', - '⒭' => '(r)', - '⒮' => '(s)', - '⒯' => '(t)', - '⒰' => '(u)', - '⒱' => '(v)', - '⒲' => '(w)', - '⒳' => '(x)', - '⒴' => '(y)', - '⒵' => '(z)', - 'Ⓐ' => 'A', - 'Ⓑ' => 'B', - 'Ⓒ' => 'C', - 'Ⓓ' => 'D', - 'Ⓔ' => 'E', - 'Ⓕ' => 'F', - 'Ⓖ' => 'G', - 'Ⓗ' => 'H', - 'Ⓘ' => 'I', - 'Ⓙ' => 'J', - 'Ⓚ' => 'K', - 'Ⓛ' => 'L', - 'Ⓜ' => 'M', - 'Ⓝ' => 'N', - 'Ⓞ' => 'O', - 'Ⓟ' => 'P', - 'Ⓠ' => 'Q', - 'Ⓡ' => 'R', - 'Ⓢ' => 'S', - 'Ⓣ' => 'T', - 'Ⓤ' => 'U', - 'Ⓥ' => 'V', - 'Ⓦ' => 'W', - 'Ⓧ' => 'X', - 'Ⓨ' => 'Y', - 'Ⓩ' => 'Z', - 'ⓐ' => 'a', - 'ⓑ' => 'b', - 'ⓒ' => 'c', - 'ⓓ' => 'd', - 'ⓔ' => 'e', - 'ⓕ' => 'f', - 'ⓖ' => 'g', - 'ⓗ' => 'h', - 'ⓘ' => 'i', - 'ⓙ' => 'j', - 'ⓚ' => 'k', - 'ⓛ' => 'l', - 'ⓜ' => 'm', - 'ⓝ' => 'n', - 'ⓞ' => 'o', - 'ⓟ' => 'p', - 'ⓠ' => 'q', - 'ⓡ' => 'r', - 'ⓢ' => 's', - 'ⓣ' => 't', - 'ⓤ' => 'u', - 'ⓥ' => 'v', - 'ⓦ' => 'w', - 'ⓧ' => 'x', - 'ⓨ' => 'y', - 'ⓩ' => 'z', - '⓪' => '0', - '⨌' => '∫∫∫∫', - '⩴' => '::=', - '⩵' => '==', - '⩶' => '===', - 'ⱼ' => 'j', - 'ⱽ' => 'V', - 'ⵯ' => 'ⵡ', - '⺟' => '母', - '⻳' => '龟', - '⼀' => '一', - '⼁' => '丨', - '⼂' => '丶', - '⼃' => '丿', - '⼄' => '乙', - '⼅' => '亅', - '⼆' => '二', - '⼇' => '亠', - '⼈' => '人', - '⼉' => '儿', - '⼊' => '入', - '⼋' => '八', - '⼌' => '冂', - '⼍' => '冖', - '⼎' => '冫', - '⼏' => '几', - '⼐' => '凵', - '⼑' => '刀', - '⼒' => '力', - '⼓' => '勹', - '⼔' => '匕', - '⼕' => '匚', - '⼖' => '匸', - '⼗' => '十', - '⼘' => '卜', - '⼙' => '卩', - '⼚' => '厂', - '⼛' => '厶', - '⼜' => '又', - '⼝' => '口', - '⼞' => '囗', - '⼟' => '土', - '⼠' => '士', - '⼡' => '夂', - '⼢' => '夊', - '⼣' => '夕', - '⼤' => '大', - '⼥' => '女', - '⼦' => '子', - '⼧' => '宀', - '⼨' => '寸', - '⼩' => '小', - '⼪' => '尢', - '⼫' => '尸', - '⼬' => '屮', - '⼭' => '山', - '⼮' => '巛', - '⼯' => '工', - '⼰' => '己', - '⼱' => '巾', - '⼲' => '干', - '⼳' => '幺', - '⼴' => '广', - '⼵' => '廴', - '⼶' => '廾', - '⼷' => '弋', - '⼸' => '弓', - '⼹' => '彐', - '⼺' => '彡', - '⼻' => '彳', - '⼼' => '心', - '⼽' => '戈', - '⼾' => '戶', - '⼿' => '手', - '⽀' => '支', - '⽁' => '攴', - '⽂' => '文', - '⽃' => '斗', - '⽄' => '斤', - '⽅' => '方', - '⽆' => '无', - '⽇' => '日', - '⽈' => '曰', - '⽉' => '月', - '⽊' => '木', - '⽋' => '欠', - '⽌' => '止', - '⽍' => '歹', - '⽎' => '殳', - '⽏' => '毋', - '⽐' => '比', - '⽑' => '毛', - '⽒' => '氏', - '⽓' => '气', - '⽔' => '水', - '⽕' => '火', - '⽖' => '爪', - '⽗' => '父', - '⽘' => '爻', - '⽙' => '爿', - '⽚' => '片', - '⽛' => '牙', - '⽜' => '牛', - '⽝' => '犬', - '⽞' => '玄', - '⽟' => '玉', - '⽠' => '瓜', - '⽡' => '瓦', - '⽢' => '甘', - '⽣' => '生', - '⽤' => '用', - '⽥' => '田', - '⽦' => '疋', - '⽧' => '疒', - '⽨' => '癶', - '⽩' => '白', - '⽪' => '皮', - '⽫' => '皿', - '⽬' => '目', - '⽭' => '矛', - '⽮' => '矢', - '⽯' => '石', - '⽰' => '示', - '⽱' => '禸', - '⽲' => '禾', - '⽳' => '穴', - '⽴' => '立', - '⽵' => '竹', - '⽶' => '米', - '⽷' => '糸', - '⽸' => '缶', - '⽹' => '网', - '⽺' => '羊', - '⽻' => '羽', - '⽼' => '老', - '⽽' => '而', - '⽾' => '耒', - '⽿' => '耳', - '⾀' => '聿', - '⾁' => '肉', - '⾂' => '臣', - '⾃' => '自', - '⾄' => '至', - '⾅' => '臼', - '⾆' => '舌', - '⾇' => '舛', - '⾈' => '舟', - '⾉' => '艮', - '⾊' => '色', - '⾋' => '艸', - '⾌' => '虍', - '⾍' => '虫', - '⾎' => '血', - '⾏' => '行', - '⾐' => '衣', - '⾑' => '襾', - '⾒' => '見', - '⾓' => '角', - '⾔' => '言', - '⾕' => '谷', - '⾖' => '豆', - '⾗' => '豕', - '⾘' => '豸', - '⾙' => '貝', - '⾚' => '赤', - '⾛' => '走', - '⾜' => '足', - '⾝' => '身', - '⾞' => '車', - '⾟' => '辛', - '⾠' => '辰', - '⾡' => '辵', - '⾢' => '邑', - '⾣' => '酉', - '⾤' => '釆', - '⾥' => '里', - '⾦' => '金', - '⾧' => '長', - '⾨' => '門', - '⾩' => '阜', - '⾪' => '隶', - '⾫' => '隹', - '⾬' => '雨', - '⾭' => '靑', - '⾮' => '非', - '⾯' => '面', - '⾰' => '革', - '⾱' => '韋', - '⾲' => '韭', - '⾳' => '音', - '⾴' => '頁', - '⾵' => '風', - '⾶' => '飛', - '⾷' => '食', - '⾸' => '首', - '⾹' => '香', - '⾺' => '馬', - '⾻' => '骨', - '⾼' => '高', - '⾽' => '髟', - '⾾' => '鬥', - '⾿' => '鬯', - '⿀' => '鬲', - '⿁' => '鬼', - '⿂' => '魚', - '⿃' => '鳥', - '⿄' => '鹵', - '⿅' => '鹿', - '⿆' => '麥', - '⿇' => '麻', - '⿈' => '黃', - '⿉' => '黍', - '⿊' => '黑', - '⿋' => '黹', - '⿌' => '黽', - '⿍' => '鼎', - '⿎' => '鼓', - '⿏' => '鼠', - '⿐' => '鼻', - '⿑' => '齊', - '⿒' => '齒', - '⿓' => '龍', - '⿔' => '龜', - '⿕' => '龠', - ' ' => ' ', - '〶' => '〒', - '〸' => '十', - '〹' => '卄', - '〺' => '卅', - '゛' => ' ゙', - '゜' => ' ゚', - 'ゟ' => 'より', - 'ヿ' => 'コト', - 'ㄱ' => 'ᄀ', - 'ㄲ' => 'ᄁ', - 'ㄳ' => 'ᆪ', - 'ㄴ' => 'ᄂ', - 'ㄵ' => 'ᆬ', - 'ㄶ' => 'ᆭ', - 'ㄷ' => 'ᄃ', - 'ㄸ' => 'ᄄ', - 'ㄹ' => 'ᄅ', - 'ㄺ' => 'ᆰ', - 'ㄻ' => 'ᆱ', - 'ㄼ' => 'ᆲ', - 'ㄽ' => 'ᆳ', - 'ㄾ' => 'ᆴ', - 'ㄿ' => 'ᆵ', - 'ㅀ' => 'ᄚ', - 'ㅁ' => 'ᄆ', - 'ㅂ' => 'ᄇ', - 'ㅃ' => 'ᄈ', - 'ㅄ' => 'ᄡ', - 'ㅅ' => 'ᄉ', - 'ㅆ' => 'ᄊ', - 'ㅇ' => 'ᄋ', - 'ㅈ' => 'ᄌ', - 'ㅉ' => 'ᄍ', - 'ㅊ' => 'ᄎ', - 'ㅋ' => 'ᄏ', - 'ㅌ' => 'ᄐ', - 'ㅍ' => 'ᄑ', - 'ㅎ' => 'ᄒ', - 'ㅏ' => 'ᅡ', - 'ㅐ' => 'ᅢ', - 'ㅑ' => 'ᅣ', - 'ㅒ' => 'ᅤ', - 'ㅓ' => 'ᅥ', - 'ㅔ' => 'ᅦ', - 'ㅕ' => 'ᅧ', - 'ㅖ' => 'ᅨ', - 'ㅗ' => 'ᅩ', - 'ㅘ' => 'ᅪ', - 'ㅙ' => 'ᅫ', - 'ㅚ' => 'ᅬ', - 'ㅛ' => 'ᅭ', - 'ㅜ' => 'ᅮ', - 'ㅝ' => 'ᅯ', - 'ㅞ' => 'ᅰ', - 'ㅟ' => 'ᅱ', - 'ㅠ' => 'ᅲ', - 'ㅡ' => 'ᅳ', - 'ㅢ' => 'ᅴ', - 'ㅣ' => 'ᅵ', - 'ㅤ' => 'ᅠ', - 'ㅥ' => 'ᄔ', - 'ㅦ' => 'ᄕ', - 'ㅧ' => 'ᇇ', - 'ㅨ' => 'ᇈ', - 'ㅩ' => 'ᇌ', - 'ㅪ' => 'ᇎ', - 'ㅫ' => 'ᇓ', - 'ㅬ' => 'ᇗ', - 'ㅭ' => 'ᇙ', - 'ㅮ' => 'ᄜ', - 'ㅯ' => 'ᇝ', - 'ㅰ' => 'ᇟ', - 'ㅱ' => 'ᄝ', - 'ㅲ' => 'ᄞ', - 'ㅳ' => 'ᄠ', - 'ㅴ' => 'ᄢ', - 'ㅵ' => 'ᄣ', - 'ㅶ' => 'ᄧ', - 'ㅷ' => 'ᄩ', - 'ㅸ' => 'ᄫ', - 'ㅹ' => 'ᄬ', - 'ㅺ' => 'ᄭ', - 'ㅻ' => 'ᄮ', - 'ㅼ' => 'ᄯ', - 'ㅽ' => 'ᄲ', - 'ㅾ' => 'ᄶ', - 'ㅿ' => 'ᅀ', - 'ㆀ' => 'ᅇ', - 'ㆁ' => 'ᅌ', - 'ㆂ' => 'ᇱ', - 'ㆃ' => 'ᇲ', - 'ㆄ' => 'ᅗ', - 'ㆅ' => 'ᅘ', - 'ㆆ' => 'ᅙ', - 'ㆇ' => 'ᆄ', - 'ㆈ' => 'ᆅ', - 'ㆉ' => 'ᆈ', - 'ㆊ' => 'ᆑ', - 'ㆋ' => 'ᆒ', - 'ㆌ' => 'ᆔ', - 'ㆍ' => 'ᆞ', - 'ㆎ' => 'ᆡ', - '㆒' => '一', - '㆓' => '二', - '㆔' => '三', - '㆕' => '四', - '㆖' => '上', - '㆗' => '中', - '㆘' => '下', - '㆙' => '甲', - '㆚' => '乙', - '㆛' => '丙', - '㆜' => '丁', - '㆝' => '天', - '㆞' => '地', - '㆟' => '人', - '㈀' => '(ᄀ)', - '㈁' => '(ᄂ)', - '㈂' => '(ᄃ)', - '㈃' => '(ᄅ)', - '㈄' => '(ᄆ)', - '㈅' => '(ᄇ)', - '㈆' => '(ᄉ)', - '㈇' => '(ᄋ)', - '㈈' => '(ᄌ)', - '㈉' => '(ᄎ)', - '㈊' => '(ᄏ)', - '㈋' => '(ᄐ)', - '㈌' => '(ᄑ)', - '㈍' => '(ᄒ)', - '㈎' => '(가)', - '㈏' => '(나)', - '㈐' => '(다)', - '㈑' => '(라)', - '㈒' => '(마)', - '㈓' => '(바)', - '㈔' => '(사)', - '㈕' => '(아)', - '㈖' => '(자)', - '㈗' => '(차)', - '㈘' => '(카)', - '㈙' => '(타)', - '㈚' => '(파)', - '㈛' => '(하)', - '㈜' => '(주)', - '㈝' => '(오전)', - '㈞' => '(오후)', - '㈠' => '(一)', - '㈡' => '(二)', - '㈢' => '(三)', - '㈣' => '(四)', - '㈤' => '(五)', - '㈥' => '(六)', - '㈦' => '(七)', - '㈧' => '(八)', - '㈨' => '(九)', - '㈩' => '(十)', - '㈪' => '(月)', - '㈫' => '(火)', - '㈬' => '(水)', - '㈭' => '(木)', - '㈮' => '(金)', - '㈯' => '(土)', - '㈰' => '(日)', - '㈱' => '(株)', - '㈲' => '(有)', - '㈳' => '(社)', - '㈴' => '(名)', - '㈵' => '(特)', - '㈶' => '(財)', - '㈷' => '(祝)', - '㈸' => '(労)', - '㈹' => '(代)', - '㈺' => '(呼)', - '㈻' => '(学)', - '㈼' => '(監)', - '㈽' => '(企)', - '㈾' => '(資)', - '㈿' => '(協)', - '㉀' => '(祭)', - '㉁' => '(休)', - '㉂' => '(自)', - '㉃' => '(至)', - '㉄' => '問', - '㉅' => '幼', - '㉆' => '文', - '㉇' => '箏', - '㉐' => 'PTE', - '㉑' => '21', - '㉒' => '22', - '㉓' => '23', - '㉔' => '24', - '㉕' => '25', - '㉖' => '26', - '㉗' => '27', - '㉘' => '28', - '㉙' => '29', - '㉚' => '30', - '㉛' => '31', - '㉜' => '32', - '㉝' => '33', - '㉞' => '34', - '㉟' => '35', - '㉠' => 'ᄀ', - '㉡' => 'ᄂ', - '㉢' => 'ᄃ', - '㉣' => 'ᄅ', - '㉤' => 'ᄆ', - '㉥' => 'ᄇ', - '㉦' => 'ᄉ', - '㉧' => 'ᄋ', - '㉨' => 'ᄌ', - '㉩' => 'ᄎ', - '㉪' => 'ᄏ', - '㉫' => 'ᄐ', - '㉬' => 'ᄑ', - '㉭' => 'ᄒ', - '㉮' => '가', - '㉯' => '나', - '㉰' => '다', - '㉱' => '라', - '㉲' => '마', - '㉳' => '바', - '㉴' => '사', - '㉵' => '아', - '㉶' => '자', - '㉷' => '차', - '㉸' => '카', - '㉹' => '타', - '㉺' => '파', - '㉻' => '하', - '㉼' => '참고', - '㉽' => '주의', - '㉾' => '우', - '㊀' => '一', - '㊁' => '二', - '㊂' => '三', - '㊃' => '四', - '㊄' => '五', - '㊅' => '六', - '㊆' => '七', - '㊇' => '八', - '㊈' => '九', - '㊉' => '十', - '㊊' => '月', - '㊋' => '火', - '㊌' => '水', - '㊍' => '木', - '㊎' => '金', - '㊏' => '土', - '㊐' => '日', - '㊑' => '株', - '㊒' => '有', - '㊓' => '社', - '㊔' => '名', - '㊕' => '特', - '㊖' => '財', - '㊗' => '祝', - '㊘' => '労', - '㊙' => '秘', - '㊚' => '男', - '㊛' => '女', - '㊜' => '適', - '㊝' => '優', - '㊞' => '印', - '㊟' => '注', - '㊠' => '項', - '㊡' => '休', - '㊢' => '写', - '㊣' => '正', - '㊤' => '上', - '㊥' => '中', - '㊦' => '下', - '㊧' => '左', - '㊨' => '右', - '㊩' => '医', - '㊪' => '宗', - '㊫' => '学', - '㊬' => '監', - '㊭' => '企', - '㊮' => '資', - '㊯' => '協', - '㊰' => '夜', - '㊱' => '36', - '㊲' => '37', - '㊳' => '38', - '㊴' => '39', - '㊵' => '40', - '㊶' => '41', - '㊷' => '42', - '㊸' => '43', - '㊹' => '44', - '㊺' => '45', - '㊻' => '46', - '㊼' => '47', - '㊽' => '48', - '㊾' => '49', - '㊿' => '50', - '㋀' => '1月', - '㋁' => '2月', - '㋂' => '3月', - '㋃' => '4月', - '㋄' => '5月', - '㋅' => '6月', - '㋆' => '7月', - '㋇' => '8月', - '㋈' => '9月', - '㋉' => '10月', - '㋊' => '11月', - '㋋' => '12月', - '㋌' => 'Hg', - '㋍' => 'erg', - '㋎' => 'eV', - '㋏' => 'LTD', - '㋐' => 'ア', - '㋑' => 'イ', - '㋒' => 'ウ', - '㋓' => 'エ', - '㋔' => 'オ', - '㋕' => 'カ', - '㋖' => 'キ', - '㋗' => 'ク', - '㋘' => 'ケ', - '㋙' => 'コ', - '㋚' => 'サ', - '㋛' => 'シ', - '㋜' => 'ス', - '㋝' => 'セ', - '㋞' => 'ソ', - '㋟' => 'タ', - '㋠' => 'チ', - '㋡' => 'ツ', - '㋢' => 'テ', - '㋣' => 'ト', - '㋤' => 'ナ', - '㋥' => 'ニ', - '㋦' => 'ヌ', - '㋧' => 'ネ', - '㋨' => 'ノ', - '㋩' => 'ハ', - '㋪' => 'ヒ', - '㋫' => 'フ', - '㋬' => 'ヘ', - '㋭' => 'ホ', - '㋮' => 'マ', - '㋯' => 'ミ', - '㋰' => 'ム', - '㋱' => 'メ', - '㋲' => 'モ', - '㋳' => 'ヤ', - '㋴' => 'ユ', - '㋵' => 'ヨ', - '㋶' => 'ラ', - '㋷' => 'リ', - '㋸' => 'ル', - '㋹' => 'レ', - '㋺' => 'ロ', - '㋻' => 'ワ', - '㋼' => 'ヰ', - '㋽' => 'ヱ', - '㋾' => 'ヲ', - '㋿' => '令和', - '㌀' => 'アパート', - '㌁' => 'アルファ', - '㌂' => 'アンペア', - '㌃' => 'アール', - '㌄' => 'イニング', - '㌅' => 'インチ', - '㌆' => 'ウォン', - '㌇' => 'エスクード', - '㌈' => 'エーカー', - '㌉' => 'オンス', - '㌊' => 'オーム', - '㌋' => 'カイリ', - '㌌' => 'カラット', - '㌍' => 'カロリー', - '㌎' => 'ガロン', - '㌏' => 'ガンマ', - '㌐' => 'ギガ', - '㌑' => 'ギニー', - '㌒' => 'キュリー', - '㌓' => 'ギルダー', - '㌔' => 'キロ', - '㌕' => 'キログラム', - '㌖' => 'キロメートル', - '㌗' => 'キロワット', - '㌘' => 'グラム', - '㌙' => 'グラムトン', - '㌚' => 'クルゼイロ', - '㌛' => 'クローネ', - '㌜' => 'ケース', - '㌝' => 'コルナ', - '㌞' => 'コーポ', - '㌟' => 'サイクル', - '㌠' => 'サンチーム', - '㌡' => 'シリング', - '㌢' => 'センチ', - '㌣' => 'セント', - '㌤' => 'ダース', - '㌥' => 'デシ', - '㌦' => 'ドル', - '㌧' => 'トン', - '㌨' => 'ナノ', - '㌩' => 'ノット', - '㌪' => 'ハイツ', - '㌫' => 'パーセント', - '㌬' => 'パーツ', - '㌭' => 'バーレル', - '㌮' => 'ピアストル', - '㌯' => 'ピクル', - '㌰' => 'ピコ', - '㌱' => 'ビル', - '㌲' => 'ファラッド', - '㌳' => 'フィート', - '㌴' => 'ブッシェル', - '㌵' => 'フラン', - '㌶' => 'ヘクタール', - '㌷' => 'ペソ', - '㌸' => 'ペニヒ', - '㌹' => 'ヘルツ', - '㌺' => 'ペンス', - '㌻' => 'ページ', - '㌼' => 'ベータ', - '㌽' => 'ポイント', - '㌾' => 'ボルト', - '㌿' => 'ホン', - '㍀' => 'ポンド', - '㍁' => 'ホール', - '㍂' => 'ホーン', - '㍃' => 'マイクロ', - '㍄' => 'マイル', - '㍅' => 'マッハ', - '㍆' => 'マルク', - '㍇' => 'マンション', - '㍈' => 'ミクロン', - '㍉' => 'ミリ', - '㍊' => 'ミリバール', - '㍋' => 'メガ', - '㍌' => 'メガトン', - '㍍' => 'メートル', - '㍎' => 'ヤード', - '㍏' => 'ヤール', - '㍐' => 'ユアン', - '㍑' => 'リットル', - '㍒' => 'リラ', - '㍓' => 'ルピー', - '㍔' => 'ルーブル', - '㍕' => 'レム', - '㍖' => 'レントゲン', - '㍗' => 'ワット', - '㍘' => '0点', - '㍙' => '1点', - '㍚' => '2点', - '㍛' => '3点', - '㍜' => '4点', - '㍝' => '5点', - '㍞' => '6点', - '㍟' => '7点', - '㍠' => '8点', - '㍡' => '9点', - '㍢' => '10点', - '㍣' => '11点', - '㍤' => '12点', - '㍥' => '13点', - '㍦' => '14点', - '㍧' => '15点', - '㍨' => '16点', - '㍩' => '17点', - '㍪' => '18点', - '㍫' => '19点', - '㍬' => '20点', - '㍭' => '21点', - '㍮' => '22点', - '㍯' => '23点', - '㍰' => '24点', - '㍱' => 'hPa', - '㍲' => 'da', - '㍳' => 'AU', - '㍴' => 'bar', - '㍵' => 'oV', - '㍶' => 'pc', - '㍷' => 'dm', - '㍸' => 'dm2', - '㍹' => 'dm3', - '㍺' => 'IU', - '㍻' => '平成', - '㍼' => '昭和', - '㍽' => '大正', - '㍾' => '明治', - '㍿' => '株式会社', - '㎀' => 'pA', - '㎁' => 'nA', - '㎂' => 'μA', - '㎃' => 'mA', - '㎄' => 'kA', - '㎅' => 'KB', - '㎆' => 'MB', - '㎇' => 'GB', - '㎈' => 'cal', - '㎉' => 'kcal', - '㎊' => 'pF', - '㎋' => 'nF', - '㎌' => 'μF', - '㎍' => 'μg', - '㎎' => 'mg', - '㎏' => 'kg', - '㎐' => 'Hz', - '㎑' => 'kHz', - '㎒' => 'MHz', - '㎓' => 'GHz', - '㎔' => 'THz', - '㎕' => 'μl', - '㎖' => 'ml', - '㎗' => 'dl', - '㎘' => 'kl', - '㎙' => 'fm', - '㎚' => 'nm', - '㎛' => 'μm', - '㎜' => 'mm', - '㎝' => 'cm', - '㎞' => 'km', - '㎟' => 'mm2', - '㎠' => 'cm2', - '㎡' => 'm2', - '㎢' => 'km2', - '㎣' => 'mm3', - '㎤' => 'cm3', - '㎥' => 'm3', - '㎦' => 'km3', - '㎧' => 'm∕s', - '㎨' => 'm∕s2', - '㎩' => 'Pa', - '㎪' => 'kPa', - '㎫' => 'MPa', - '㎬' => 'GPa', - '㎭' => 'rad', - '㎮' => 'rad∕s', - '㎯' => 'rad∕s2', - '㎰' => 'ps', - '㎱' => 'ns', - '㎲' => 'μs', - '㎳' => 'ms', - '㎴' => 'pV', - '㎵' => 'nV', - '㎶' => 'μV', - '㎷' => 'mV', - '㎸' => 'kV', - '㎹' => 'MV', - '㎺' => 'pW', - '㎻' => 'nW', - '㎼' => 'μW', - '㎽' => 'mW', - '㎾' => 'kW', - '㎿' => 'MW', - '㏀' => 'kΩ', - '㏁' => 'MΩ', - '㏂' => 'a.m.', - '㏃' => 'Bq', - '㏄' => 'cc', - '㏅' => 'cd', - '㏆' => 'C∕kg', - '㏇' => 'Co.', - '㏈' => 'dB', - '㏉' => 'Gy', - '㏊' => 'ha', - '㏋' => 'HP', - '㏌' => 'in', - '㏍' => 'KK', - '㏎' => 'KM', - '㏏' => 'kt', - '㏐' => 'lm', - '㏑' => 'ln', - '㏒' => 'log', - '㏓' => 'lx', - '㏔' => 'mb', - '㏕' => 'mil', - '㏖' => 'mol', - '㏗' => 'PH', - '㏘' => 'p.m.', - '㏙' => 'PPM', - '㏚' => 'PR', - '㏛' => 'sr', - '㏜' => 'Sv', - '㏝' => 'Wb', - '㏞' => 'V∕m', - '㏟' => 'A∕m', - '㏠' => '1日', - '㏡' => '2日', - '㏢' => '3日', - '㏣' => '4日', - '㏤' => '5日', - '㏥' => '6日', - '㏦' => '7日', - '㏧' => '8日', - '㏨' => '9日', - '㏩' => '10日', - '㏪' => '11日', - '㏫' => '12日', - '㏬' => '13日', - '㏭' => '14日', - '㏮' => '15日', - '㏯' => '16日', - '㏰' => '17日', - '㏱' => '18日', - '㏲' => '19日', - '㏳' => '20日', - '㏴' => '21日', - '㏵' => '22日', - '㏶' => '23日', - '㏷' => '24日', - '㏸' => '25日', - '㏹' => '26日', - '㏺' => '27日', - '㏻' => '28日', - '㏼' => '29日', - '㏽' => '30日', - '㏾' => '31日', - '㏿' => 'gal', - 'ꚜ' => 'ъ', - 'ꚝ' => 'ь', - 'ꝰ' => 'ꝯ', - 'ꟸ' => 'Ħ', - 'ꟹ' => 'œ', - 'ꭜ' => 'ꜧ', - 'ꭝ' => 'ꬷ', - 'ꭞ' => 'ɫ', - 'ꭟ' => 'ꭒ', - 'ꭩ' => 'ʍ', - 'ff' => 'ff', - 'fi' => 'fi', - 'fl' => 'fl', - 'ffi' => 'ffi', - 'ffl' => 'ffl', - 'ſt' => 'st', - 'st' => 'st', - 'ﬓ' => 'մն', - 'ﬔ' => 'մե', - 'ﬕ' => 'մի', - 'ﬖ' => 'վն', - 'ﬗ' => 'մխ', - 'ﬠ' => 'ע', - 'ﬡ' => 'א', - 'ﬢ' => 'ד', - 'ﬣ' => 'ה', - 'ﬤ' => 'כ', - 'ﬥ' => 'ל', - 'ﬦ' => 'ם', - 'ﬧ' => 'ר', - 'ﬨ' => 'ת', - '﬩' => '+', - 'ﭏ' => 'אל', - 'ﭐ' => 'ٱ', - 'ﭑ' => 'ٱ', - 'ﭒ' => 'ٻ', - 'ﭓ' => 'ٻ', - 'ﭔ' => 'ٻ', - 'ﭕ' => 'ٻ', - 'ﭖ' => 'پ', - 'ﭗ' => 'پ', - 'ﭘ' => 'پ', - 'ﭙ' => 'پ', - 'ﭚ' => 'ڀ', - 'ﭛ' => 'ڀ', - 'ﭜ' => 'ڀ', - 'ﭝ' => 'ڀ', - 'ﭞ' => 'ٺ', - 'ﭟ' => 'ٺ', - 'ﭠ' => 'ٺ', - 'ﭡ' => 'ٺ', - 'ﭢ' => 'ٿ', - 'ﭣ' => 'ٿ', - 'ﭤ' => 'ٿ', - 'ﭥ' => 'ٿ', - 'ﭦ' => 'ٹ', - 'ﭧ' => 'ٹ', - 'ﭨ' => 'ٹ', - 'ﭩ' => 'ٹ', - 'ﭪ' => 'ڤ', - 'ﭫ' => 'ڤ', - 'ﭬ' => 'ڤ', - 'ﭭ' => 'ڤ', - 'ﭮ' => 'ڦ', - 'ﭯ' => 'ڦ', - 'ﭰ' => 'ڦ', - 'ﭱ' => 'ڦ', - 'ﭲ' => 'ڄ', - 'ﭳ' => 'ڄ', - 'ﭴ' => 'ڄ', - 'ﭵ' => 'ڄ', - 'ﭶ' => 'ڃ', - 'ﭷ' => 'ڃ', - 'ﭸ' => 'ڃ', - 'ﭹ' => 'ڃ', - 'ﭺ' => 'چ', - 'ﭻ' => 'چ', - 'ﭼ' => 'چ', - 'ﭽ' => 'چ', - 'ﭾ' => 'ڇ', - 'ﭿ' => 'ڇ', - 'ﮀ' => 'ڇ', - 'ﮁ' => 'ڇ', - 'ﮂ' => 'ڍ', - 'ﮃ' => 'ڍ', - 'ﮄ' => 'ڌ', - 'ﮅ' => 'ڌ', - 'ﮆ' => 'ڎ', - 'ﮇ' => 'ڎ', - 'ﮈ' => 'ڈ', - 'ﮉ' => 'ڈ', - 'ﮊ' => 'ژ', - 'ﮋ' => 'ژ', - 'ﮌ' => 'ڑ', - 'ﮍ' => 'ڑ', - 'ﮎ' => 'ک', - 'ﮏ' => 'ک', - 'ﮐ' => 'ک', - 'ﮑ' => 'ک', - 'ﮒ' => 'گ', - 'ﮓ' => 'گ', - 'ﮔ' => 'گ', - 'ﮕ' => 'گ', - 'ﮖ' => 'ڳ', - 'ﮗ' => 'ڳ', - 'ﮘ' => 'ڳ', - 'ﮙ' => 'ڳ', - 'ﮚ' => 'ڱ', - 'ﮛ' => 'ڱ', - 'ﮜ' => 'ڱ', - 'ﮝ' => 'ڱ', - 'ﮞ' => 'ں', - 'ﮟ' => 'ں', - 'ﮠ' => 'ڻ', - 'ﮡ' => 'ڻ', - 'ﮢ' => 'ڻ', - 'ﮣ' => 'ڻ', - 'ﮤ' => 'ۀ', - 'ﮥ' => 'ۀ', - 'ﮦ' => 'ہ', - 'ﮧ' => 'ہ', - 'ﮨ' => 'ہ', - 'ﮩ' => 'ہ', - 'ﮪ' => 'ھ', - 'ﮫ' => 'ھ', - 'ﮬ' => 'ھ', - 'ﮭ' => 'ھ', - 'ﮮ' => 'ے', - 'ﮯ' => 'ے', - 'ﮰ' => 'ۓ', - 'ﮱ' => 'ۓ', - 'ﯓ' => 'ڭ', - 'ﯔ' => 'ڭ', - 'ﯕ' => 'ڭ', - 'ﯖ' => 'ڭ', - 'ﯗ' => 'ۇ', - 'ﯘ' => 'ۇ', - 'ﯙ' => 'ۆ', - 'ﯚ' => 'ۆ', - 'ﯛ' => 'ۈ', - 'ﯜ' => 'ۈ', - 'ﯝ' => 'ۇٴ', - 'ﯞ' => 'ۋ', - 'ﯟ' => 'ۋ', - 'ﯠ' => 'ۅ', - 'ﯡ' => 'ۅ', - 'ﯢ' => 'ۉ', - 'ﯣ' => 'ۉ', - 'ﯤ' => 'ې', - 'ﯥ' => 'ې', - 'ﯦ' => 'ې', - 'ﯧ' => 'ې', - 'ﯨ' => 'ى', - 'ﯩ' => 'ى', - 'ﯪ' => 'ئا', - 'ﯫ' => 'ئا', - 'ﯬ' => 'ئە', - 'ﯭ' => 'ئە', - 'ﯮ' => 'ئو', - 'ﯯ' => 'ئو', - 'ﯰ' => 'ئۇ', - 'ﯱ' => 'ئۇ', - 'ﯲ' => 'ئۆ', - 'ﯳ' => 'ئۆ', - 'ﯴ' => 'ئۈ', - 'ﯵ' => 'ئۈ', - 'ﯶ' => 'ئې', - 'ﯷ' => 'ئې', - 'ﯸ' => 'ئې', - 'ﯹ' => 'ئى', - 'ﯺ' => 'ئى', - 'ﯻ' => 'ئى', - 'ﯼ' => 'ی', - 'ﯽ' => 'ی', - 'ﯾ' => 'ی', - 'ﯿ' => 'ی', - 'ﰀ' => 'ئج', - 'ﰁ' => 'ئح', - 'ﰂ' => 'ئم', - 'ﰃ' => 'ئى', - 'ﰄ' => 'ئي', - 'ﰅ' => 'بج', - 'ﰆ' => 'بح', - 'ﰇ' => 'بخ', - 'ﰈ' => 'بم', - 'ﰉ' => 'بى', - 'ﰊ' => 'بي', - 'ﰋ' => 'تج', - 'ﰌ' => 'تح', - 'ﰍ' => 'تخ', - 'ﰎ' => 'تم', - 'ﰏ' => 'تى', - 'ﰐ' => 'تي', - 'ﰑ' => 'ثج', - 'ﰒ' => 'ثم', - 'ﰓ' => 'ثى', - 'ﰔ' => 'ثي', - 'ﰕ' => 'جح', - 'ﰖ' => 'جم', - 'ﰗ' => 'حج', - 'ﰘ' => 'حم', - 'ﰙ' => 'خج', - 'ﰚ' => 'خح', - 'ﰛ' => 'خم', - 'ﰜ' => 'سج', - 'ﰝ' => 'سح', - 'ﰞ' => 'سخ', - 'ﰟ' => 'سم', - 'ﰠ' => 'صح', - 'ﰡ' => 'صم', - 'ﰢ' => 'ضج', - 'ﰣ' => 'ضح', - 'ﰤ' => 'ضخ', - 'ﰥ' => 'ضم', - 'ﰦ' => 'طح', - 'ﰧ' => 'طم', - 'ﰨ' => 'ظم', - 'ﰩ' => 'عج', - 'ﰪ' => 'عم', - 'ﰫ' => 'غج', - 'ﰬ' => 'غم', - 'ﰭ' => 'فج', - 'ﰮ' => 'فح', - 'ﰯ' => 'فخ', - 'ﰰ' => 'فم', - 'ﰱ' => 'فى', - 'ﰲ' => 'في', - 'ﰳ' => 'قح', - 'ﰴ' => 'قم', - 'ﰵ' => 'قى', - 'ﰶ' => 'قي', - 'ﰷ' => 'كا', - 'ﰸ' => 'كج', - 'ﰹ' => 'كح', - 'ﰺ' => 'كخ', - 'ﰻ' => 'كل', - 'ﰼ' => 'كم', - 'ﰽ' => 'كى', - 'ﰾ' => 'كي', - 'ﰿ' => 'لج', - 'ﱀ' => 'لح', - 'ﱁ' => 'لخ', - 'ﱂ' => 'لم', - 'ﱃ' => 'لى', - 'ﱄ' => 'لي', - 'ﱅ' => 'مج', - 'ﱆ' => 'مح', - 'ﱇ' => 'مخ', - 'ﱈ' => 'مم', - 'ﱉ' => 'مى', - 'ﱊ' => 'مي', - 'ﱋ' => 'نج', - 'ﱌ' => 'نح', - 'ﱍ' => 'نخ', - 'ﱎ' => 'نم', - 'ﱏ' => 'نى', - 'ﱐ' => 'ني', - 'ﱑ' => 'هج', - 'ﱒ' => 'هم', - 'ﱓ' => 'هى', - 'ﱔ' => 'هي', - 'ﱕ' => 'يج', - 'ﱖ' => 'يح', - 'ﱗ' => 'يخ', - 'ﱘ' => 'يم', - 'ﱙ' => 'يى', - 'ﱚ' => 'يي', - 'ﱛ' => 'ذٰ', - 'ﱜ' => 'رٰ', - 'ﱝ' => 'ىٰ', - 'ﱞ' => ' ٌّ', - 'ﱟ' => ' ٍّ', - 'ﱠ' => ' َّ', - 'ﱡ' => ' ُّ', - 'ﱢ' => ' ِّ', - 'ﱣ' => ' ّٰ', - 'ﱤ' => 'ئر', - 'ﱥ' => 'ئز', - 'ﱦ' => 'ئم', - 'ﱧ' => 'ئن', - 'ﱨ' => 'ئى', - 'ﱩ' => 'ئي', - 'ﱪ' => 'بر', - 'ﱫ' => 'بز', - 'ﱬ' => 'بم', - 'ﱭ' => 'بن', - 'ﱮ' => 'بى', - 'ﱯ' => 'بي', - 'ﱰ' => 'تر', - 'ﱱ' => 'تز', - 'ﱲ' => 'تم', - 'ﱳ' => 'تن', - 'ﱴ' => 'تى', - 'ﱵ' => 'تي', - 'ﱶ' => 'ثر', - 'ﱷ' => 'ثز', - 'ﱸ' => 'ثم', - 'ﱹ' => 'ثن', - 'ﱺ' => 'ثى', - 'ﱻ' => 'ثي', - 'ﱼ' => 'فى', - 'ﱽ' => 'في', - 'ﱾ' => 'قى', - 'ﱿ' => 'قي', - 'ﲀ' => 'كا', - 'ﲁ' => 'كل', - 'ﲂ' => 'كم', - 'ﲃ' => 'كى', - 'ﲄ' => 'كي', - 'ﲅ' => 'لم', - 'ﲆ' => 'لى', - 'ﲇ' => 'لي', - 'ﲈ' => 'ما', - 'ﲉ' => 'مم', - 'ﲊ' => 'نر', - 'ﲋ' => 'نز', - 'ﲌ' => 'نم', - 'ﲍ' => 'نن', - 'ﲎ' => 'نى', - 'ﲏ' => 'ني', - 'ﲐ' => 'ىٰ', - 'ﲑ' => 'ير', - 'ﲒ' => 'يز', - 'ﲓ' => 'يم', - 'ﲔ' => 'ين', - 'ﲕ' => 'يى', - 'ﲖ' => 'يي', - 'ﲗ' => 'ئج', - 'ﲘ' => 'ئح', - 'ﲙ' => 'ئخ', - 'ﲚ' => 'ئم', - 'ﲛ' => 'ئه', - 'ﲜ' => 'بج', - 'ﲝ' => 'بح', - 'ﲞ' => 'بخ', - 'ﲟ' => 'بم', - 'ﲠ' => 'به', - 'ﲡ' => 'تج', - 'ﲢ' => 'تح', - 'ﲣ' => 'تخ', - 'ﲤ' => 'تم', - 'ﲥ' => 'ته', - 'ﲦ' => 'ثم', - 'ﲧ' => 'جح', - 'ﲨ' => 'جم', - 'ﲩ' => 'حج', - 'ﲪ' => 'حم', - 'ﲫ' => 'خج', - 'ﲬ' => 'خم', - 'ﲭ' => 'سج', - 'ﲮ' => 'سح', - 'ﲯ' => 'سخ', - 'ﲰ' => 'سم', - 'ﲱ' => 'صح', - 'ﲲ' => 'صخ', - 'ﲳ' => 'صم', - 'ﲴ' => 'ضج', - 'ﲵ' => 'ضح', - 'ﲶ' => 'ضخ', - 'ﲷ' => 'ضم', - 'ﲸ' => 'طح', - 'ﲹ' => 'ظم', - 'ﲺ' => 'عج', - 'ﲻ' => 'عم', - 'ﲼ' => 'غج', - 'ﲽ' => 'غم', - 'ﲾ' => 'فج', - 'ﲿ' => 'فح', - 'ﳀ' => 'فخ', - 'ﳁ' => 'فم', - 'ﳂ' => 'قح', - 'ﳃ' => 'قم', - 'ﳄ' => 'كج', - 'ﳅ' => 'كح', - 'ﳆ' => 'كخ', - 'ﳇ' => 'كل', - 'ﳈ' => 'كم', - 'ﳉ' => 'لج', - 'ﳊ' => 'لح', - 'ﳋ' => 'لخ', - 'ﳌ' => 'لم', - 'ﳍ' => 'له', - 'ﳎ' => 'مج', - 'ﳏ' => 'مح', - 'ﳐ' => 'مخ', - 'ﳑ' => 'مم', - 'ﳒ' => 'نج', - 'ﳓ' => 'نح', - 'ﳔ' => 'نخ', - 'ﳕ' => 'نم', - 'ﳖ' => 'نه', - 'ﳗ' => 'هج', - 'ﳘ' => 'هم', - 'ﳙ' => 'هٰ', - 'ﳚ' => 'يج', - 'ﳛ' => 'يح', - 'ﳜ' => 'يخ', - 'ﳝ' => 'يم', - 'ﳞ' => 'يه', - 'ﳟ' => 'ئم', - 'ﳠ' => 'ئه', - 'ﳡ' => 'بم', - 'ﳢ' => 'به', - 'ﳣ' => 'تم', - 'ﳤ' => 'ته', - 'ﳥ' => 'ثم', - 'ﳦ' => 'ثه', - 'ﳧ' => 'سم', - 'ﳨ' => 'سه', - 'ﳩ' => 'شم', - 'ﳪ' => 'شه', - 'ﳫ' => 'كل', - 'ﳬ' => 'كم', - 'ﳭ' => 'لم', - 'ﳮ' => 'نم', - 'ﳯ' => 'نه', - 'ﳰ' => 'يم', - 'ﳱ' => 'يه', - 'ﳲ' => 'ـَّ', - 'ﳳ' => 'ـُّ', - 'ﳴ' => 'ـِّ', - 'ﳵ' => 'طى', - 'ﳶ' => 'طي', - 'ﳷ' => 'عى', - 'ﳸ' => 'عي', - 'ﳹ' => 'غى', - 'ﳺ' => 'غي', - 'ﳻ' => 'سى', - 'ﳼ' => 'سي', - 'ﳽ' => 'شى', - 'ﳾ' => 'شي', - 'ﳿ' => 'حى', - 'ﴀ' => 'حي', - 'ﴁ' => 'جى', - 'ﴂ' => 'جي', - 'ﴃ' => 'خى', - 'ﴄ' => 'خي', - 'ﴅ' => 'صى', - 'ﴆ' => 'صي', - 'ﴇ' => 'ضى', - 'ﴈ' => 'ضي', - 'ﴉ' => 'شج', - 'ﴊ' => 'شح', - 'ﴋ' => 'شخ', - 'ﴌ' => 'شم', - 'ﴍ' => 'شر', - 'ﴎ' => 'سر', - 'ﴏ' => 'صر', - 'ﴐ' => 'ضر', - 'ﴑ' => 'طى', - 'ﴒ' => 'طي', - 'ﴓ' => 'عى', - 'ﴔ' => 'عي', - 'ﴕ' => 'غى', - 'ﴖ' => 'غي', - 'ﴗ' => 'سى', - 'ﴘ' => 'سي', - 'ﴙ' => 'شى', - 'ﴚ' => 'شي', - 'ﴛ' => 'حى', - 'ﴜ' => 'حي', - 'ﴝ' => 'جى', - 'ﴞ' => 'جي', - 'ﴟ' => 'خى', - 'ﴠ' => 'خي', - 'ﴡ' => 'صى', - 'ﴢ' => 'صي', - 'ﴣ' => 'ضى', - 'ﴤ' => 'ضي', - 'ﴥ' => 'شج', - 'ﴦ' => 'شح', - 'ﴧ' => 'شخ', - 'ﴨ' => 'شم', - 'ﴩ' => 'شر', - 'ﴪ' => 'سر', - 'ﴫ' => 'صر', - 'ﴬ' => 'ضر', - 'ﴭ' => 'شج', - 'ﴮ' => 'شح', - 'ﴯ' => 'شخ', - 'ﴰ' => 'شم', - 'ﴱ' => 'سه', - 'ﴲ' => 'شه', - 'ﴳ' => 'طم', - 'ﴴ' => 'سج', - 'ﴵ' => 'سح', - 'ﴶ' => 'سخ', - 'ﴷ' => 'شج', - 'ﴸ' => 'شح', - 'ﴹ' => 'شخ', - 'ﴺ' => 'طم', - 'ﴻ' => 'ظم', - 'ﴼ' => 'اً', - 'ﴽ' => 'اً', - 'ﵐ' => 'تجم', - 'ﵑ' => 'تحج', - 'ﵒ' => 'تحج', - 'ﵓ' => 'تحم', - 'ﵔ' => 'تخم', - 'ﵕ' => 'تمج', - 'ﵖ' => 'تمح', - 'ﵗ' => 'تمخ', - 'ﵘ' => 'جمح', - 'ﵙ' => 'جمح', - 'ﵚ' => 'حمي', - 'ﵛ' => 'حمى', - 'ﵜ' => 'سحج', - 'ﵝ' => 'سجح', - 'ﵞ' => 'سجى', - 'ﵟ' => 'سمح', - 'ﵠ' => 'سمح', - 'ﵡ' => 'سمج', - 'ﵢ' => 'سمم', - 'ﵣ' => 'سمم', - 'ﵤ' => 'صحح', - 'ﵥ' => 'صحح', - 'ﵦ' => 'صمم', - 'ﵧ' => 'شحم', - 'ﵨ' => 'شحم', - 'ﵩ' => 'شجي', - 'ﵪ' => 'شمخ', - 'ﵫ' => 'شمخ', - 'ﵬ' => 'شمم', - 'ﵭ' => 'شمم', - 'ﵮ' => 'ضحى', - 'ﵯ' => 'ضخم', - 'ﵰ' => 'ضخم', - 'ﵱ' => 'طمح', - 'ﵲ' => 'طمح', - 'ﵳ' => 'طمم', - 'ﵴ' => 'طمي', - 'ﵵ' => 'عجم', - 'ﵶ' => 'عمم', - 'ﵷ' => 'عمم', - 'ﵸ' => 'عمى', - 'ﵹ' => 'غمم', - 'ﵺ' => 'غمي', - 'ﵻ' => 'غمى', - 'ﵼ' => 'فخم', - 'ﵽ' => 'فخم', - 'ﵾ' => 'قمح', - 'ﵿ' => 'قمم', - 'ﶀ' => 'لحم', - 'ﶁ' => 'لحي', - 'ﶂ' => 'لحى', - 'ﶃ' => 'لجج', - 'ﶄ' => 'لجج', - 'ﶅ' => 'لخم', - 'ﶆ' => 'لخم', - 'ﶇ' => 'لمح', - 'ﶈ' => 'لمح', - 'ﶉ' => 'محج', - 'ﶊ' => 'محم', - 'ﶋ' => 'محي', - 'ﶌ' => 'مجح', - 'ﶍ' => 'مجم', - 'ﶎ' => 'مخج', - 'ﶏ' => 'مخم', - 'ﶒ' => 'مجخ', - 'ﶓ' => 'همج', - 'ﶔ' => 'همم', - 'ﶕ' => 'نحم', - 'ﶖ' => 'نحى', - 'ﶗ' => 'نجم', - 'ﶘ' => 'نجم', - 'ﶙ' => 'نجى', - 'ﶚ' => 'نمي', - 'ﶛ' => 'نمى', - 'ﶜ' => 'يمم', - 'ﶝ' => 'يمم', - 'ﶞ' => 'بخي', - 'ﶟ' => 'تجي', - 'ﶠ' => 'تجى', - 'ﶡ' => 'تخي', - 'ﶢ' => 'تخى', - 'ﶣ' => 'تمي', - 'ﶤ' => 'تمى', - 'ﶥ' => 'جمي', - 'ﶦ' => 'جحى', - 'ﶧ' => 'جمى', - 'ﶨ' => 'سخى', - 'ﶩ' => 'صحي', - 'ﶪ' => 'شحي', - 'ﶫ' => 'ضحي', - 'ﶬ' => 'لجي', - 'ﶭ' => 'لمي', - 'ﶮ' => 'يحي', - 'ﶯ' => 'يجي', - 'ﶰ' => 'يمي', - 'ﶱ' => 'ممي', - 'ﶲ' => 'قمي', - 'ﶳ' => 'نحي', - 'ﶴ' => 'قمح', - 'ﶵ' => 'لحم', - 'ﶶ' => 'عمي', - 'ﶷ' => 'كمي', - 'ﶸ' => 'نجح', - 'ﶹ' => 'مخي', - 'ﶺ' => 'لجم', - 'ﶻ' => 'كمم', - 'ﶼ' => 'لجم', - 'ﶽ' => 'نجح', - 'ﶾ' => 'جحي', - 'ﶿ' => 'حجي', - 'ﷀ' => 'مجي', - 'ﷁ' => 'فمي', - 'ﷂ' => 'بحي', - 'ﷃ' => 'كمم', - 'ﷄ' => 'عجم', - 'ﷅ' => 'صمم', - 'ﷆ' => 'سخي', - 'ﷇ' => 'نجي', - 'ﷰ' => 'صلے', - 'ﷱ' => 'قلے', - 'ﷲ' => 'الله', - 'ﷳ' => 'اكبر', - 'ﷴ' => 'محمد', - 'ﷵ' => 'صلعم', - 'ﷶ' => 'رسول', - 'ﷷ' => 'عليه', - 'ﷸ' => 'وسلم', - 'ﷹ' => 'صلى', - 'ﷺ' => 'صلى الله عليه وسلم', - 'ﷻ' => 'جل جلاله', - '﷼' => 'ریال', - '︐' => ',', - '︑' => '、', - '︒' => '。', - '︓' => ':', - '︔' => ';', - '︕' => '!', - '︖' => '?', - '︗' => '〖', - '︘' => '〗', - '︙' => '...', - '︰' => '..', - '︱' => '—', - '︲' => '–', - '︳' => '_', - '︴' => '_', - '︵' => '(', - '︶' => ')', - '︷' => '{', - '︸' => '}', - '︹' => '〔', - '︺' => '〕', - '︻' => '【', - '︼' => '】', - '︽' => '《', - '︾' => '》', - '︿' => '〈', - '﹀' => '〉', - '﹁' => '「', - '﹂' => '」', - '﹃' => '『', - '﹄' => '』', - '﹇' => '[', - '﹈' => ']', - '﹉' => ' ̅', - '﹊' => ' ̅', - '﹋' => ' ̅', - '﹌' => ' ̅', - '﹍' => '_', - '﹎' => '_', - '﹏' => '_', - '﹐' => ',', - '﹑' => '、', - '﹒' => '.', - '﹔' => ';', - '﹕' => ':', - '﹖' => '?', - '﹗' => '!', - '﹘' => '—', - '﹙' => '(', - '﹚' => ')', - '﹛' => '{', - '﹜' => '}', - '﹝' => '〔', - '﹞' => '〕', - '﹟' => '#', - '﹠' => '&', - '﹡' => '*', - '﹢' => '+', - '﹣' => '-', - '﹤' => '<', - '﹥' => '>', - '﹦' => '=', - '﹨' => '\\', - '﹩' => '$', - '﹪' => '%', - '﹫' => '@', - 'ﹰ' => ' ً', - 'ﹱ' => 'ـً', - 'ﹲ' => ' ٌ', - 'ﹴ' => ' ٍ', - 'ﹶ' => ' َ', - 'ﹷ' => 'ـَ', - 'ﹸ' => ' ُ', - 'ﹹ' => 'ـُ', - 'ﹺ' => ' ِ', - 'ﹻ' => 'ـِ', - 'ﹼ' => ' ّ', - 'ﹽ' => 'ـّ', - 'ﹾ' => ' ْ', - 'ﹿ' => 'ـْ', - 'ﺀ' => 'ء', - 'ﺁ' => 'آ', - 'ﺂ' => 'آ', - 'ﺃ' => 'أ', - 'ﺄ' => 'أ', - 'ﺅ' => 'ؤ', - 'ﺆ' => 'ؤ', - 'ﺇ' => 'إ', - 'ﺈ' => 'إ', - 'ﺉ' => 'ئ', - 'ﺊ' => 'ئ', - 'ﺋ' => 'ئ', - 'ﺌ' => 'ئ', - 'ﺍ' => 'ا', - 'ﺎ' => 'ا', - 'ﺏ' => 'ب', - 'ﺐ' => 'ب', - 'ﺑ' => 'ب', - 'ﺒ' => 'ب', - 'ﺓ' => 'ة', - 'ﺔ' => 'ة', - 'ﺕ' => 'ت', - 'ﺖ' => 'ت', - 'ﺗ' => 'ت', - 'ﺘ' => 'ت', - 'ﺙ' => 'ث', - 'ﺚ' => 'ث', - 'ﺛ' => 'ث', - 'ﺜ' => 'ث', - 'ﺝ' => 'ج', - 'ﺞ' => 'ج', - 'ﺟ' => 'ج', - 'ﺠ' => 'ج', - 'ﺡ' => 'ح', - 'ﺢ' => 'ح', - 'ﺣ' => 'ح', - 'ﺤ' => 'ح', - 'ﺥ' => 'خ', - 'ﺦ' => 'خ', - 'ﺧ' => 'خ', - 'ﺨ' => 'خ', - 'ﺩ' => 'د', - 'ﺪ' => 'د', - 'ﺫ' => 'ذ', - 'ﺬ' => 'ذ', - 'ﺭ' => 'ر', - 'ﺮ' => 'ر', - 'ﺯ' => 'ز', - 'ﺰ' => 'ز', - 'ﺱ' => 'س', - 'ﺲ' => 'س', - 'ﺳ' => 'س', - 'ﺴ' => 'س', - 'ﺵ' => 'ش', - 'ﺶ' => 'ش', - 'ﺷ' => 'ش', - 'ﺸ' => 'ش', - 'ﺹ' => 'ص', - 'ﺺ' => 'ص', - 'ﺻ' => 'ص', - 'ﺼ' => 'ص', - 'ﺽ' => 'ض', - 'ﺾ' => 'ض', - 'ﺿ' => 'ض', - 'ﻀ' => 'ض', - 'ﻁ' => 'ط', - 'ﻂ' => 'ط', - 'ﻃ' => 'ط', - 'ﻄ' => 'ط', - 'ﻅ' => 'ظ', - 'ﻆ' => 'ظ', - 'ﻇ' => 'ظ', - 'ﻈ' => 'ظ', - 'ﻉ' => 'ع', - 'ﻊ' => 'ع', - 'ﻋ' => 'ع', - 'ﻌ' => 'ع', - 'ﻍ' => 'غ', - 'ﻎ' => 'غ', - 'ﻏ' => 'غ', - 'ﻐ' => 'غ', - 'ﻑ' => 'ف', - 'ﻒ' => 'ف', - 'ﻓ' => 'ف', - 'ﻔ' => 'ف', - 'ﻕ' => 'ق', - 'ﻖ' => 'ق', - 'ﻗ' => 'ق', - 'ﻘ' => 'ق', - 'ﻙ' => 'ك', - 'ﻚ' => 'ك', - 'ﻛ' => 'ك', - 'ﻜ' => 'ك', - 'ﻝ' => 'ل', - 'ﻞ' => 'ل', - 'ﻟ' => 'ل', - 'ﻠ' => 'ل', - 'ﻡ' => 'م', - 'ﻢ' => 'م', - 'ﻣ' => 'م', - 'ﻤ' => 'م', - 'ﻥ' => 'ن', - 'ﻦ' => 'ن', - 'ﻧ' => 'ن', - 'ﻨ' => 'ن', - 'ﻩ' => 'ه', - 'ﻪ' => 'ه', - 'ﻫ' => 'ه', - 'ﻬ' => 'ه', - 'ﻭ' => 'و', - 'ﻮ' => 'و', - 'ﻯ' => 'ى', - 'ﻰ' => 'ى', - 'ﻱ' => 'ي', - 'ﻲ' => 'ي', - 'ﻳ' => 'ي', - 'ﻴ' => 'ي', - 'ﻵ' => 'لآ', - 'ﻶ' => 'لآ', - 'ﻷ' => 'لأ', - 'ﻸ' => 'لأ', - 'ﻹ' => 'لإ', - 'ﻺ' => 'لإ', - 'ﻻ' => 'لا', - 'ﻼ' => 'لا', - '!' => '!', - '"' => '"', - '#' => '#', - '$' => '$', - '%' => '%', - '&' => '&', - ''' => '\'', - '(' => '(', - ')' => ')', - '*' => '*', - '+' => '+', - ',' => ',', - '-' => '-', - '.' => '.', - '/' => '/', - '0' => '0', - '1' => '1', - '2' => '2', - '3' => '3', - '4' => '4', - '5' => '5', - '6' => '6', - '7' => '7', - '8' => '8', - '9' => '9', - ':' => ':', - ';' => ';', - '<' => '<', - '=' => '=', - '>' => '>', - '?' => '?', - '@' => '@', - 'A' => 'A', - 'B' => 'B', - 'C' => 'C', - 'D' => 'D', - 'E' => 'E', - 'F' => 'F', - 'G' => 'G', - 'H' => 'H', - 'I' => 'I', - 'J' => 'J', - 'K' => 'K', - 'L' => 'L', - 'M' => 'M', - 'N' => 'N', - 'O' => 'O', - 'P' => 'P', - 'Q' => 'Q', - 'R' => 'R', - 'S' => 'S', - 'T' => 'T', - 'U' => 'U', - 'V' => 'V', - 'W' => 'W', - 'X' => 'X', - 'Y' => 'Y', - 'Z' => 'Z', - '[' => '[', - '\' => '\\', - ']' => ']', - '^' => '^', - '_' => '_', - '`' => '`', - 'a' => 'a', - 'b' => 'b', - 'c' => 'c', - 'd' => 'd', - 'e' => 'e', - 'f' => 'f', - 'g' => 'g', - 'h' => 'h', - 'i' => 'i', - 'j' => 'j', - 'k' => 'k', - 'l' => 'l', - 'm' => 'm', - 'n' => 'n', - 'o' => 'o', - 'p' => 'p', - 'q' => 'q', - 'r' => 'r', - 's' => 's', - 't' => 't', - 'u' => 'u', - 'v' => 'v', - 'w' => 'w', - 'x' => 'x', - 'y' => 'y', - 'z' => 'z', - '{' => '{', - '|' => '|', - '}' => '}', - '~' => '~', - '⦅' => '⦅', - '⦆' => '⦆', - '。' => '。', - '「' => '「', - '」' => '」', - '、' => '、', - '・' => '・', - 'ヲ' => 'ヲ', - 'ァ' => 'ァ', - 'ィ' => 'ィ', - 'ゥ' => 'ゥ', - 'ェ' => 'ェ', - 'ォ' => 'ォ', - 'ャ' => 'ャ', - 'ュ' => 'ュ', - 'ョ' => 'ョ', - 'ッ' => 'ッ', - 'ー' => 'ー', - 'ア' => 'ア', - 'イ' => 'イ', - 'ウ' => 'ウ', - 'エ' => 'エ', - 'オ' => 'オ', - 'カ' => 'カ', - 'キ' => 'キ', - 'ク' => 'ク', - 'ケ' => 'ケ', - 'コ' => 'コ', - 'サ' => 'サ', - 'シ' => 'シ', - 'ス' => 'ス', - 'セ' => 'セ', - 'ソ' => 'ソ', - 'タ' => 'タ', - 'チ' => 'チ', - 'ツ' => 'ツ', - 'テ' => 'テ', - 'ト' => 'ト', - 'ナ' => 'ナ', - 'ニ' => 'ニ', - 'ヌ' => 'ヌ', - 'ネ' => 'ネ', - 'ノ' => 'ノ', - 'ハ' => 'ハ', - 'ヒ' => 'ヒ', - 'フ' => 'フ', - 'ヘ' => 'ヘ', - 'ホ' => 'ホ', - 'マ' => 'マ', - 'ミ' => 'ミ', - 'ム' => 'ム', - 'メ' => 'メ', - 'モ' => 'モ', - 'ヤ' => 'ヤ', - 'ユ' => 'ユ', - 'ヨ' => 'ヨ', - 'ラ' => 'ラ', - 'リ' => 'リ', - 'ル' => 'ル', - 'レ' => 'レ', - 'ロ' => 'ロ', - 'ワ' => 'ワ', - 'ン' => 'ン', - '゙' => '゙', - '゚' => '゚', - 'ᅠ' => 'ᅠ', - 'ᄀ' => 'ᄀ', - 'ᄁ' => 'ᄁ', - 'ᆪ' => 'ᆪ', - 'ᄂ' => 'ᄂ', - 'ᆬ' => 'ᆬ', - 'ᆭ' => 'ᆭ', - 'ᄃ' => 'ᄃ', - 'ᄄ' => 'ᄄ', - 'ᄅ' => 'ᄅ', - 'ᆰ' => 'ᆰ', - 'ᆱ' => 'ᆱ', - 'ᆲ' => 'ᆲ', - 'ᆳ' => 'ᆳ', - 'ᆴ' => 'ᆴ', - 'ᆵ' => 'ᆵ', - 'ᄚ' => 'ᄚ', - 'ᄆ' => 'ᄆ', - 'ᄇ' => 'ᄇ', - 'ᄈ' => 'ᄈ', - 'ᄡ' => 'ᄡ', - 'ᄉ' => 'ᄉ', - 'ᄊ' => 'ᄊ', - 'ᄋ' => 'ᄋ', - 'ᄌ' => 'ᄌ', - 'ᄍ' => 'ᄍ', - 'ᄎ' => 'ᄎ', - 'ᄏ' => 'ᄏ', - 'ᄐ' => 'ᄐ', - 'ᄑ' => 'ᄑ', - 'ᄒ' => 'ᄒ', - 'ᅡ' => 'ᅡ', - 'ᅢ' => 'ᅢ', - 'ᅣ' => 'ᅣ', - 'ᅤ' => 'ᅤ', - 'ᅥ' => 'ᅥ', - 'ᅦ' => 'ᅦ', - 'ᅧ' => 'ᅧ', - 'ᅨ' => 'ᅨ', - 'ᅩ' => 'ᅩ', - 'ᅪ' => 'ᅪ', - 'ᅫ' => 'ᅫ', - 'ᅬ' => 'ᅬ', - 'ᅭ' => 'ᅭ', - 'ᅮ' => 'ᅮ', - 'ᅯ' => 'ᅯ', - 'ᅰ' => 'ᅰ', - 'ᅱ' => 'ᅱ', - 'ᅲ' => 'ᅲ', - 'ᅳ' => 'ᅳ', - 'ᅴ' => 'ᅴ', - 'ᅵ' => 'ᅵ', - '¢' => '¢', - '£' => '£', - '¬' => '¬', - ' ̄' => ' ̄', - '¦' => '¦', - '¥' => '¥', - '₩' => '₩', - '│' => '│', - '←' => '←', - '↑' => '↑', - '→' => '→', - '↓' => '↓', - '■' => '■', - '○' => '○', - '𝐀' => 'A', - '𝐁' => 'B', - '𝐂' => 'C', - '𝐃' => 'D', - '𝐄' => 'E', - '𝐅' => 'F', - '𝐆' => 'G', - '𝐇' => 'H', - '𝐈' => 'I', - '𝐉' => 'J', - '𝐊' => 'K', - '𝐋' => 'L', - '𝐌' => 'M', - '𝐍' => 'N', - '𝐎' => 'O', - '𝐏' => 'P', - '𝐐' => 'Q', - '𝐑' => 'R', - '𝐒' => 'S', - '𝐓' => 'T', - '𝐔' => 'U', - '𝐕' => 'V', - '𝐖' => 'W', - '𝐗' => 'X', - '𝐘' => 'Y', - '𝐙' => 'Z', - '𝐚' => 'a', - '𝐛' => 'b', - '𝐜' => 'c', - '𝐝' => 'd', - '𝐞' => 'e', - '𝐟' => 'f', - '𝐠' => 'g', - '𝐡' => 'h', - '𝐢' => 'i', - '𝐣' => 'j', - '𝐤' => 'k', - '𝐥' => 'l', - '𝐦' => 'm', - '𝐧' => 'n', - '𝐨' => 'o', - '𝐩' => 'p', - '𝐪' => 'q', - '𝐫' => 'r', - '𝐬' => 's', - '𝐭' => 't', - '𝐮' => 'u', - '𝐯' => 'v', - '𝐰' => 'w', - '𝐱' => 'x', - '𝐲' => 'y', - '𝐳' => 'z', - '𝐴' => 'A', - '𝐵' => 'B', - '𝐶' => 'C', - '𝐷' => 'D', - '𝐸' => 'E', - '𝐹' => 'F', - '𝐺' => 'G', - '𝐻' => 'H', - '𝐼' => 'I', - '𝐽' => 'J', - '𝐾' => 'K', - '𝐿' => 'L', - '𝑀' => 'M', - '𝑁' => 'N', - '𝑂' => 'O', - '𝑃' => 'P', - '𝑄' => 'Q', - '𝑅' => 'R', - '𝑆' => 'S', - '𝑇' => 'T', - '𝑈' => 'U', - '𝑉' => 'V', - '𝑊' => 'W', - '𝑋' => 'X', - '𝑌' => 'Y', - '𝑍' => 'Z', - '𝑎' => 'a', - '𝑏' => 'b', - '𝑐' => 'c', - '𝑑' => 'd', - '𝑒' => 'e', - '𝑓' => 'f', - '𝑔' => 'g', - '𝑖' => 'i', - '𝑗' => 'j', - '𝑘' => 'k', - '𝑙' => 'l', - '𝑚' => 'm', - '𝑛' => 'n', - '𝑜' => 'o', - '𝑝' => 'p', - '𝑞' => 'q', - '𝑟' => 'r', - '𝑠' => 's', - '𝑡' => 't', - '𝑢' => 'u', - '𝑣' => 'v', - '𝑤' => 'w', - '𝑥' => 'x', - '𝑦' => 'y', - '𝑧' => 'z', - '𝑨' => 'A', - '𝑩' => 'B', - '𝑪' => 'C', - '𝑫' => 'D', - '𝑬' => 'E', - '𝑭' => 'F', - '𝑮' => 'G', - '𝑯' => 'H', - '𝑰' => 'I', - '𝑱' => 'J', - '𝑲' => 'K', - '𝑳' => 'L', - '𝑴' => 'M', - '𝑵' => 'N', - '𝑶' => 'O', - '𝑷' => 'P', - '𝑸' => 'Q', - '𝑹' => 'R', - '𝑺' => 'S', - '𝑻' => 'T', - '𝑼' => 'U', - '𝑽' => 'V', - '𝑾' => 'W', - '𝑿' => 'X', - '𝒀' => 'Y', - '𝒁' => 'Z', - '𝒂' => 'a', - '𝒃' => 'b', - '𝒄' => 'c', - '𝒅' => 'd', - '𝒆' => 'e', - '𝒇' => 'f', - '𝒈' => 'g', - '𝒉' => 'h', - '𝒊' => 'i', - '𝒋' => 'j', - '𝒌' => 'k', - '𝒍' => 'l', - '𝒎' => 'm', - '𝒏' => 'n', - '𝒐' => 'o', - '𝒑' => 'p', - '𝒒' => 'q', - '𝒓' => 'r', - '𝒔' => 's', - '𝒕' => 't', - '𝒖' => 'u', - '𝒗' => 'v', - '𝒘' => 'w', - '𝒙' => 'x', - '𝒚' => 'y', - '𝒛' => 'z', - '𝒜' => 'A', - '𝒞' => 'C', - '𝒟' => 'D', - '𝒢' => 'G', - '𝒥' => 'J', - '𝒦' => 'K', - '𝒩' => 'N', - '𝒪' => 'O', - '𝒫' => 'P', - '𝒬' => 'Q', - '𝒮' => 'S', - '𝒯' => 'T', - '𝒰' => 'U', - '𝒱' => 'V', - '𝒲' => 'W', - '𝒳' => 'X', - '𝒴' => 'Y', - '𝒵' => 'Z', - '𝒶' => 'a', - '𝒷' => 'b', - '𝒸' => 'c', - '𝒹' => 'd', - '𝒻' => 'f', - '𝒽' => 'h', - '𝒾' => 'i', - '𝒿' => 'j', - '𝓀' => 'k', - '𝓁' => 'l', - '𝓂' => 'm', - '𝓃' => 'n', - '𝓅' => 'p', - '𝓆' => 'q', - '𝓇' => 'r', - '𝓈' => 's', - '𝓉' => 't', - '𝓊' => 'u', - '𝓋' => 'v', - '𝓌' => 'w', - '𝓍' => 'x', - '𝓎' => 'y', - '𝓏' => 'z', - '𝓐' => 'A', - '𝓑' => 'B', - '𝓒' => 'C', - '𝓓' => 'D', - '𝓔' => 'E', - '𝓕' => 'F', - '𝓖' => 'G', - '𝓗' => 'H', - '𝓘' => 'I', - '𝓙' => 'J', - '𝓚' => 'K', - '𝓛' => 'L', - '𝓜' => 'M', - '𝓝' => 'N', - '𝓞' => 'O', - '𝓟' => 'P', - '𝓠' => 'Q', - '𝓡' => 'R', - '𝓢' => 'S', - '𝓣' => 'T', - '𝓤' => 'U', - '𝓥' => 'V', - '𝓦' => 'W', - '𝓧' => 'X', - '𝓨' => 'Y', - '𝓩' => 'Z', - '𝓪' => 'a', - '𝓫' => 'b', - '𝓬' => 'c', - '𝓭' => 'd', - '𝓮' => 'e', - '𝓯' => 'f', - '𝓰' => 'g', - '𝓱' => 'h', - '𝓲' => 'i', - '𝓳' => 'j', - '𝓴' => 'k', - '𝓵' => 'l', - '𝓶' => 'm', - '𝓷' => 'n', - '𝓸' => 'o', - '𝓹' => 'p', - '𝓺' => 'q', - '𝓻' => 'r', - '𝓼' => 's', - '𝓽' => 't', - '𝓾' => 'u', - '𝓿' => 'v', - '𝔀' => 'w', - '𝔁' => 'x', - '𝔂' => 'y', - '𝔃' => 'z', - '𝔄' => 'A', - '𝔅' => 'B', - '𝔇' => 'D', - '𝔈' => 'E', - '𝔉' => 'F', - '𝔊' => 'G', - '𝔍' => 'J', - '𝔎' => 'K', - '𝔏' => 'L', - '𝔐' => 'M', - '𝔑' => 'N', - '𝔒' => 'O', - '𝔓' => 'P', - '𝔔' => 'Q', - '𝔖' => 'S', - '𝔗' => 'T', - '𝔘' => 'U', - '𝔙' => 'V', - '𝔚' => 'W', - '𝔛' => 'X', - '𝔜' => 'Y', - '𝔞' => 'a', - '𝔟' => 'b', - '𝔠' => 'c', - '𝔡' => 'd', - '𝔢' => 'e', - '𝔣' => 'f', - '𝔤' => 'g', - '𝔥' => 'h', - '𝔦' => 'i', - '𝔧' => 'j', - '𝔨' => 'k', - '𝔩' => 'l', - '𝔪' => 'm', - '𝔫' => 'n', - '𝔬' => 'o', - '𝔭' => 'p', - '𝔮' => 'q', - '𝔯' => 'r', - '𝔰' => 's', - '𝔱' => 't', - '𝔲' => 'u', - '𝔳' => 'v', - '𝔴' => 'w', - '𝔵' => 'x', - '𝔶' => 'y', - '𝔷' => 'z', - '𝔸' => 'A', - '𝔹' => 'B', - '𝔻' => 'D', - '𝔼' => 'E', - '𝔽' => 'F', - '𝔾' => 'G', - '𝕀' => 'I', - '𝕁' => 'J', - '𝕂' => 'K', - '𝕃' => 'L', - '𝕄' => 'M', - '𝕆' => 'O', - '𝕊' => 'S', - '𝕋' => 'T', - '𝕌' => 'U', - '𝕍' => 'V', - '𝕎' => 'W', - '𝕏' => 'X', - '𝕐' => 'Y', - '𝕒' => 'a', - '𝕓' => 'b', - '𝕔' => 'c', - '𝕕' => 'd', - '𝕖' => 'e', - '𝕗' => 'f', - '𝕘' => 'g', - '𝕙' => 'h', - '𝕚' => 'i', - '𝕛' => 'j', - '𝕜' => 'k', - '𝕝' => 'l', - '𝕞' => 'm', - '𝕟' => 'n', - '𝕠' => 'o', - '𝕡' => 'p', - '𝕢' => 'q', - '𝕣' => 'r', - '𝕤' => 's', - '𝕥' => 't', - '𝕦' => 'u', - '𝕧' => 'v', - '𝕨' => 'w', - '𝕩' => 'x', - '𝕪' => 'y', - '𝕫' => 'z', - '𝕬' => 'A', - '𝕭' => 'B', - '𝕮' => 'C', - '𝕯' => 'D', - '𝕰' => 'E', - '𝕱' => 'F', - '𝕲' => 'G', - '𝕳' => 'H', - '𝕴' => 'I', - '𝕵' => 'J', - '𝕶' => 'K', - '𝕷' => 'L', - '𝕸' => 'M', - '𝕹' => 'N', - '𝕺' => 'O', - '𝕻' => 'P', - '𝕼' => 'Q', - '𝕽' => 'R', - '𝕾' => 'S', - '𝕿' => 'T', - '𝖀' => 'U', - '𝖁' => 'V', - '𝖂' => 'W', - '𝖃' => 'X', - '𝖄' => 'Y', - '𝖅' => 'Z', - '𝖆' => 'a', - '𝖇' => 'b', - '𝖈' => 'c', - '𝖉' => 'd', - '𝖊' => 'e', - '𝖋' => 'f', - '𝖌' => 'g', - '𝖍' => 'h', - '𝖎' => 'i', - '𝖏' => 'j', - '𝖐' => 'k', - '𝖑' => 'l', - '𝖒' => 'm', - '𝖓' => 'n', - '𝖔' => 'o', - '𝖕' => 'p', - '𝖖' => 'q', - '𝖗' => 'r', - '𝖘' => 's', - '𝖙' => 't', - '𝖚' => 'u', - '𝖛' => 'v', - '𝖜' => 'w', - '𝖝' => 'x', - '𝖞' => 'y', - '𝖟' => 'z', - '𝖠' => 'A', - '𝖡' => 'B', - '𝖢' => 'C', - '𝖣' => 'D', - '𝖤' => 'E', - '𝖥' => 'F', - '𝖦' => 'G', - '𝖧' => 'H', - '𝖨' => 'I', - '𝖩' => 'J', - '𝖪' => 'K', - '𝖫' => 'L', - '𝖬' => 'M', - '𝖭' => 'N', - '𝖮' => 'O', - '𝖯' => 'P', - '𝖰' => 'Q', - '𝖱' => 'R', - '𝖲' => 'S', - '𝖳' => 'T', - '𝖴' => 'U', - '𝖵' => 'V', - '𝖶' => 'W', - '𝖷' => 'X', - '𝖸' => 'Y', - '𝖹' => 'Z', - '𝖺' => 'a', - '𝖻' => 'b', - '𝖼' => 'c', - '𝖽' => 'd', - '𝖾' => 'e', - '𝖿' => 'f', - '𝗀' => 'g', - '𝗁' => 'h', - '𝗂' => 'i', - '𝗃' => 'j', - '𝗄' => 'k', - '𝗅' => 'l', - '𝗆' => 'm', - '𝗇' => 'n', - '𝗈' => 'o', - '𝗉' => 'p', - '𝗊' => 'q', - '𝗋' => 'r', - '𝗌' => 's', - '𝗍' => 't', - '𝗎' => 'u', - '𝗏' => 'v', - '𝗐' => 'w', - '𝗑' => 'x', - '𝗒' => 'y', - '𝗓' => 'z', - '𝗔' => 'A', - '𝗕' => 'B', - '𝗖' => 'C', - '𝗗' => 'D', - '𝗘' => 'E', - '𝗙' => 'F', - '𝗚' => 'G', - '𝗛' => 'H', - '𝗜' => 'I', - '𝗝' => 'J', - '𝗞' => 'K', - '𝗟' => 'L', - '𝗠' => 'M', - '𝗡' => 'N', - '𝗢' => 'O', - '𝗣' => 'P', - '𝗤' => 'Q', - '𝗥' => 'R', - '𝗦' => 'S', - '𝗧' => 'T', - '𝗨' => 'U', - '𝗩' => 'V', - '𝗪' => 'W', - '𝗫' => 'X', - '𝗬' => 'Y', - '𝗭' => 'Z', - '𝗮' => 'a', - '𝗯' => 'b', - '𝗰' => 'c', - '𝗱' => 'd', - '𝗲' => 'e', - '𝗳' => 'f', - '𝗴' => 'g', - '𝗵' => 'h', - '𝗶' => 'i', - '𝗷' => 'j', - '𝗸' => 'k', - '𝗹' => 'l', - '𝗺' => 'm', - '𝗻' => 'n', - '𝗼' => 'o', - '𝗽' => 'p', - '𝗾' => 'q', - '𝗿' => 'r', - '𝘀' => 's', - '𝘁' => 't', - '𝘂' => 'u', - '𝘃' => 'v', - '𝘄' => 'w', - '𝘅' => 'x', - '𝘆' => 'y', - '𝘇' => 'z', - '𝘈' => 'A', - '𝘉' => 'B', - '𝘊' => 'C', - '𝘋' => 'D', - '𝘌' => 'E', - '𝘍' => 'F', - '𝘎' => 'G', - '𝘏' => 'H', - '𝘐' => 'I', - '𝘑' => 'J', - '𝘒' => 'K', - '𝘓' => 'L', - '𝘔' => 'M', - '𝘕' => 'N', - '𝘖' => 'O', - '𝘗' => 'P', - '𝘘' => 'Q', - '𝘙' => 'R', - '𝘚' => 'S', - '𝘛' => 'T', - '𝘜' => 'U', - '𝘝' => 'V', - '𝘞' => 'W', - '𝘟' => 'X', - '𝘠' => 'Y', - '𝘡' => 'Z', - '𝘢' => 'a', - '𝘣' => 'b', - '𝘤' => 'c', - '𝘥' => 'd', - '𝘦' => 'e', - '𝘧' => 'f', - '𝘨' => 'g', - '𝘩' => 'h', - '𝘪' => 'i', - '𝘫' => 'j', - '𝘬' => 'k', - '𝘭' => 'l', - '𝘮' => 'm', - '𝘯' => 'n', - '𝘰' => 'o', - '𝘱' => 'p', - '𝘲' => 'q', - '𝘳' => 'r', - '𝘴' => 's', - '𝘵' => 't', - '𝘶' => 'u', - '𝘷' => 'v', - '𝘸' => 'w', - '𝘹' => 'x', - '𝘺' => 'y', - '𝘻' => 'z', - '𝘼' => 'A', - '𝘽' => 'B', - '𝘾' => 'C', - '𝘿' => 'D', - '𝙀' => 'E', - '𝙁' => 'F', - '𝙂' => 'G', - '𝙃' => 'H', - '𝙄' => 'I', - '𝙅' => 'J', - '𝙆' => 'K', - '𝙇' => 'L', - '𝙈' => 'M', - '𝙉' => 'N', - '𝙊' => 'O', - '𝙋' => 'P', - '𝙌' => 'Q', - '𝙍' => 'R', - '𝙎' => 'S', - '𝙏' => 'T', - '𝙐' => 'U', - '𝙑' => 'V', - '𝙒' => 'W', - '𝙓' => 'X', - '𝙔' => 'Y', - '𝙕' => 'Z', - '𝙖' => 'a', - '𝙗' => 'b', - '𝙘' => 'c', - '𝙙' => 'd', - '𝙚' => 'e', - '𝙛' => 'f', - '𝙜' => 'g', - '𝙝' => 'h', - '𝙞' => 'i', - '𝙟' => 'j', - '𝙠' => 'k', - '𝙡' => 'l', - '𝙢' => 'm', - '𝙣' => 'n', - '𝙤' => 'o', - '𝙥' => 'p', - '𝙦' => 'q', - '𝙧' => 'r', - '𝙨' => 's', - '𝙩' => 't', - '𝙪' => 'u', - '𝙫' => 'v', - '𝙬' => 'w', - '𝙭' => 'x', - '𝙮' => 'y', - '𝙯' => 'z', - '𝙰' => 'A', - '𝙱' => 'B', - '𝙲' => 'C', - '𝙳' => 'D', - '𝙴' => 'E', - '𝙵' => 'F', - '𝙶' => 'G', - '𝙷' => 'H', - '𝙸' => 'I', - '𝙹' => 'J', - '𝙺' => 'K', - '𝙻' => 'L', - '𝙼' => 'M', - '𝙽' => 'N', - '𝙾' => 'O', - '𝙿' => 'P', - '𝚀' => 'Q', - '𝚁' => 'R', - '𝚂' => 'S', - '𝚃' => 'T', - '𝚄' => 'U', - '𝚅' => 'V', - '𝚆' => 'W', - '𝚇' => 'X', - '𝚈' => 'Y', - '𝚉' => 'Z', - '𝚊' => 'a', - '𝚋' => 'b', - '𝚌' => 'c', - '𝚍' => 'd', - '𝚎' => 'e', - '𝚏' => 'f', - '𝚐' => 'g', - '𝚑' => 'h', - '𝚒' => 'i', - '𝚓' => 'j', - '𝚔' => 'k', - '𝚕' => 'l', - '𝚖' => 'm', - '𝚗' => 'n', - '𝚘' => 'o', - '𝚙' => 'p', - '𝚚' => 'q', - '𝚛' => 'r', - '𝚜' => 's', - '𝚝' => 't', - '𝚞' => 'u', - '𝚟' => 'v', - '𝚠' => 'w', - '𝚡' => 'x', - '𝚢' => 'y', - '𝚣' => 'z', - '𝚤' => 'ı', - '𝚥' => 'ȷ', - '𝚨' => 'Α', - '𝚩' => 'Β', - '𝚪' => 'Γ', - '𝚫' => 'Δ', - '𝚬' => 'Ε', - '𝚭' => 'Ζ', - '𝚮' => 'Η', - '𝚯' => 'Θ', - '𝚰' => 'Ι', - '𝚱' => 'Κ', - '𝚲' => 'Λ', - '𝚳' => 'Μ', - '𝚴' => 'Ν', - '𝚵' => 'Ξ', - '𝚶' => 'Ο', - '𝚷' => 'Π', - '𝚸' => 'Ρ', - '𝚹' => 'Θ', - '𝚺' => 'Σ', - '𝚻' => 'Τ', - '𝚼' => 'Υ', - '𝚽' => 'Φ', - '𝚾' => 'Χ', - '𝚿' => 'Ψ', - '𝛀' => 'Ω', - '𝛁' => '∇', - '𝛂' => 'α', - '𝛃' => 'β', - '𝛄' => 'γ', - '𝛅' => 'δ', - '𝛆' => 'ε', - '𝛇' => 'ζ', - '𝛈' => 'η', - '𝛉' => 'θ', - '𝛊' => 'ι', - '𝛋' => 'κ', - '𝛌' => 'λ', - '𝛍' => 'μ', - '𝛎' => 'ν', - '𝛏' => 'ξ', - '𝛐' => 'ο', - '𝛑' => 'π', - '𝛒' => 'ρ', - '𝛓' => 'ς', - '𝛔' => 'σ', - '𝛕' => 'τ', - '𝛖' => 'υ', - '𝛗' => 'φ', - '𝛘' => 'χ', - '𝛙' => 'ψ', - '𝛚' => 'ω', - '𝛛' => '∂', - '𝛜' => 'ε', - '𝛝' => 'θ', - '𝛞' => 'κ', - '𝛟' => 'φ', - '𝛠' => 'ρ', - '𝛡' => 'π', - '𝛢' => 'Α', - '𝛣' => 'Β', - '𝛤' => 'Γ', - '𝛥' => 'Δ', - '𝛦' => 'Ε', - '𝛧' => 'Ζ', - '𝛨' => 'Η', - '𝛩' => 'Θ', - '𝛪' => 'Ι', - '𝛫' => 'Κ', - '𝛬' => 'Λ', - '𝛭' => 'Μ', - '𝛮' => 'Ν', - '𝛯' => 'Ξ', - '𝛰' => 'Ο', - '𝛱' => 'Π', - '𝛲' => 'Ρ', - '𝛳' => 'Θ', - '𝛴' => 'Σ', - '𝛵' => 'Τ', - '𝛶' => 'Υ', - '𝛷' => 'Φ', - '𝛸' => 'Χ', - '𝛹' => 'Ψ', - '𝛺' => 'Ω', - '𝛻' => '∇', - '𝛼' => 'α', - '𝛽' => 'β', - '𝛾' => 'γ', - '𝛿' => 'δ', - '𝜀' => 'ε', - '𝜁' => 'ζ', - '𝜂' => 'η', - '𝜃' => 'θ', - '𝜄' => 'ι', - '𝜅' => 'κ', - '𝜆' => 'λ', - '𝜇' => 'μ', - '𝜈' => 'ν', - '𝜉' => 'ξ', - '𝜊' => 'ο', - '𝜋' => 'π', - '𝜌' => 'ρ', - '𝜍' => 'ς', - '𝜎' => 'σ', - '𝜏' => 'τ', - '𝜐' => 'υ', - '𝜑' => 'φ', - '𝜒' => 'χ', - '𝜓' => 'ψ', - '𝜔' => 'ω', - '𝜕' => '∂', - '𝜖' => 'ε', - '𝜗' => 'θ', - '𝜘' => 'κ', - '𝜙' => 'φ', - '𝜚' => 'ρ', - '𝜛' => 'π', - '𝜜' => 'Α', - '𝜝' => 'Β', - '𝜞' => 'Γ', - '𝜟' => 'Δ', - '𝜠' => 'Ε', - '𝜡' => 'Ζ', - '𝜢' => 'Η', - '𝜣' => 'Θ', - '𝜤' => 'Ι', - '𝜥' => 'Κ', - '𝜦' => 'Λ', - '𝜧' => 'Μ', - '𝜨' => 'Ν', - '𝜩' => 'Ξ', - '𝜪' => 'Ο', - '𝜫' => 'Π', - '𝜬' => 'Ρ', - '𝜭' => 'Θ', - '𝜮' => 'Σ', - '𝜯' => 'Τ', - '𝜰' => 'Υ', - '𝜱' => 'Φ', - '𝜲' => 'Χ', - '𝜳' => 'Ψ', - '𝜴' => 'Ω', - '𝜵' => '∇', - '𝜶' => 'α', - '𝜷' => 'β', - '𝜸' => 'γ', - '𝜹' => 'δ', - '𝜺' => 'ε', - '𝜻' => 'ζ', - '𝜼' => 'η', - '𝜽' => 'θ', - '𝜾' => 'ι', - '𝜿' => 'κ', - '𝝀' => 'λ', - '𝝁' => 'μ', - '𝝂' => 'ν', - '𝝃' => 'ξ', - '𝝄' => 'ο', - '𝝅' => 'π', - '𝝆' => 'ρ', - '𝝇' => 'ς', - '𝝈' => 'σ', - '𝝉' => 'τ', - '𝝊' => 'υ', - '𝝋' => 'φ', - '𝝌' => 'χ', - '𝝍' => 'ψ', - '𝝎' => 'ω', - '𝝏' => '∂', - '𝝐' => 'ε', - '𝝑' => 'θ', - '𝝒' => 'κ', - '𝝓' => 'φ', - '𝝔' => 'ρ', - '𝝕' => 'π', - '𝝖' => 'Α', - '𝝗' => 'Β', - '𝝘' => 'Γ', - '𝝙' => 'Δ', - '𝝚' => 'Ε', - '𝝛' => 'Ζ', - '𝝜' => 'Η', - '𝝝' => 'Θ', - '𝝞' => 'Ι', - '𝝟' => 'Κ', - '𝝠' => 'Λ', - '𝝡' => 'Μ', - '𝝢' => 'Ν', - '𝝣' => 'Ξ', - '𝝤' => 'Ο', - '𝝥' => 'Π', - '𝝦' => 'Ρ', - '𝝧' => 'Θ', - '𝝨' => 'Σ', - '𝝩' => 'Τ', - '𝝪' => 'Υ', - '𝝫' => 'Φ', - '𝝬' => 'Χ', - '𝝭' => 'Ψ', - '𝝮' => 'Ω', - '𝝯' => '∇', - '𝝰' => 'α', - '𝝱' => 'β', - '𝝲' => 'γ', - '𝝳' => 'δ', - '𝝴' => 'ε', - '𝝵' => 'ζ', - '𝝶' => 'η', - '𝝷' => 'θ', - '𝝸' => 'ι', - '𝝹' => 'κ', - '𝝺' => 'λ', - '𝝻' => 'μ', - '𝝼' => 'ν', - '𝝽' => 'ξ', - '𝝾' => 'ο', - '𝝿' => 'π', - '𝞀' => 'ρ', - '𝞁' => 'ς', - '𝞂' => 'σ', - '𝞃' => 'τ', - '𝞄' => 'υ', - '𝞅' => 'φ', - '𝞆' => 'χ', - '𝞇' => 'ψ', - '𝞈' => 'ω', - '𝞉' => '∂', - '𝞊' => 'ε', - '𝞋' => 'θ', - '𝞌' => 'κ', - '𝞍' => 'φ', - '𝞎' => 'ρ', - '𝞏' => 'π', - '𝞐' => 'Α', - '𝞑' => 'Β', - '𝞒' => 'Γ', - '𝞓' => 'Δ', - '𝞔' => 'Ε', - '𝞕' => 'Ζ', - '𝞖' => 'Η', - '𝞗' => 'Θ', - '𝞘' => 'Ι', - '𝞙' => 'Κ', - '𝞚' => 'Λ', - '𝞛' => 'Μ', - '𝞜' => 'Ν', - '𝞝' => 'Ξ', - '𝞞' => 'Ο', - '𝞟' => 'Π', - '𝞠' => 'Ρ', - '𝞡' => 'Θ', - '𝞢' => 'Σ', - '𝞣' => 'Τ', - '𝞤' => 'Υ', - '𝞥' => 'Φ', - '𝞦' => 'Χ', - '𝞧' => 'Ψ', - '𝞨' => 'Ω', - '𝞩' => '∇', - '𝞪' => 'α', - '𝞫' => 'β', - '𝞬' => 'γ', - '𝞭' => 'δ', - '𝞮' => 'ε', - '𝞯' => 'ζ', - '𝞰' => 'η', - '𝞱' => 'θ', - '𝞲' => 'ι', - '𝞳' => 'κ', - '𝞴' => 'λ', - '𝞵' => 'μ', - '𝞶' => 'ν', - '𝞷' => 'ξ', - '𝞸' => 'ο', - '𝞹' => 'π', - '𝞺' => 'ρ', - '𝞻' => 'ς', - '𝞼' => 'σ', - '𝞽' => 'τ', - '𝞾' => 'υ', - '𝞿' => 'φ', - '𝟀' => 'χ', - '𝟁' => 'ψ', - '𝟂' => 'ω', - '𝟃' => '∂', - '𝟄' => 'ε', - '𝟅' => 'θ', - '𝟆' => 'κ', - '𝟇' => 'φ', - '𝟈' => 'ρ', - '𝟉' => 'π', - '𝟊' => 'Ϝ', - '𝟋' => 'ϝ', - '𝟎' => '0', - '𝟏' => '1', - '𝟐' => '2', - '𝟑' => '3', - '𝟒' => '4', - '𝟓' => '5', - '𝟔' => '6', - '𝟕' => '7', - '𝟖' => '8', - '𝟗' => '9', - '𝟘' => '0', - '𝟙' => '1', - '𝟚' => '2', - '𝟛' => '3', - '𝟜' => '4', - '𝟝' => '5', - '𝟞' => '6', - '𝟟' => '7', - '𝟠' => '8', - '𝟡' => '9', - '𝟢' => '0', - '𝟣' => '1', - '𝟤' => '2', - '𝟥' => '3', - '𝟦' => '4', - '𝟧' => '5', - '𝟨' => '6', - '𝟩' => '7', - '𝟪' => '8', - '𝟫' => '9', - '𝟬' => '0', - '𝟭' => '1', - '𝟮' => '2', - '𝟯' => '3', - '𝟰' => '4', - '𝟱' => '5', - '𝟲' => '6', - '𝟳' => '7', - '𝟴' => '8', - '𝟵' => '9', - '𝟶' => '0', - '𝟷' => '1', - '𝟸' => '2', - '𝟹' => '3', - '𝟺' => '4', - '𝟻' => '5', - '𝟼' => '6', - '𝟽' => '7', - '𝟾' => '8', - '𝟿' => '9', - '𞸀' => 'ا', - '𞸁' => 'ب', - '𞸂' => 'ج', - '𞸃' => 'د', - '𞸅' => 'و', - '𞸆' => 'ز', - '𞸇' => 'ح', - '𞸈' => 'ط', - '𞸉' => 'ي', - '𞸊' => 'ك', - '𞸋' => 'ل', - '𞸌' => 'م', - '𞸍' => 'ن', - '𞸎' => 'س', - '𞸏' => 'ع', - '𞸐' => 'ف', - '𞸑' => 'ص', - '𞸒' => 'ق', - '𞸓' => 'ر', - '𞸔' => 'ش', - '𞸕' => 'ت', - '𞸖' => 'ث', - '𞸗' => 'خ', - '𞸘' => 'ذ', - '𞸙' => 'ض', - '𞸚' => 'ظ', - '𞸛' => 'غ', - '𞸜' => 'ٮ', - '𞸝' => 'ں', - '𞸞' => 'ڡ', - '𞸟' => 'ٯ', - '𞸡' => 'ب', - '𞸢' => 'ج', - '𞸤' => 'ه', - '𞸧' => 'ح', - '𞸩' => 'ي', - '𞸪' => 'ك', - '𞸫' => 'ل', - '𞸬' => 'م', - '𞸭' => 'ن', - '𞸮' => 'س', - '𞸯' => 'ع', - '𞸰' => 'ف', - '𞸱' => 'ص', - '𞸲' => 'ق', - '𞸴' => 'ش', - '𞸵' => 'ت', - '𞸶' => 'ث', - '𞸷' => 'خ', - '𞸹' => 'ض', - '𞸻' => 'غ', - '𞹂' => 'ج', - '𞹇' => 'ح', - '𞹉' => 'ي', - '𞹋' => 'ل', - '𞹍' => 'ن', - '𞹎' => 'س', - '𞹏' => 'ع', - '𞹑' => 'ص', - '𞹒' => 'ق', - '𞹔' => 'ش', - '𞹗' => 'خ', - '𞹙' => 'ض', - '𞹛' => 'غ', - '𞹝' => 'ں', - '𞹟' => 'ٯ', - '𞹡' => 'ب', - '𞹢' => 'ج', - '𞹤' => 'ه', - '𞹧' => 'ح', - '𞹨' => 'ط', - '𞹩' => 'ي', - '𞹪' => 'ك', - '𞹬' => 'م', - '𞹭' => 'ن', - '𞹮' => 'س', - '𞹯' => 'ع', - '𞹰' => 'ف', - '𞹱' => 'ص', - '𞹲' => 'ق', - '𞹴' => 'ش', - '𞹵' => 'ت', - '𞹶' => 'ث', - '𞹷' => 'خ', - '𞹹' => 'ض', - '𞹺' => 'ظ', - '𞹻' => 'غ', - '𞹼' => 'ٮ', - '𞹾' => 'ڡ', - '𞺀' => 'ا', - '𞺁' => 'ب', - '𞺂' => 'ج', - '𞺃' => 'د', - '𞺄' => 'ه', - '𞺅' => 'و', - '𞺆' => 'ز', - '𞺇' => 'ح', - '𞺈' => 'ط', - '𞺉' => 'ي', - '𞺋' => 'ل', - '𞺌' => 'م', - '𞺍' => 'ن', - '𞺎' => 'س', - '𞺏' => 'ع', - '𞺐' => 'ف', - '𞺑' => 'ص', - '𞺒' => 'ق', - '𞺓' => 'ر', - '𞺔' => 'ش', - '𞺕' => 'ت', - '𞺖' => 'ث', - '𞺗' => 'خ', - '𞺘' => 'ذ', - '𞺙' => 'ض', - '𞺚' => 'ظ', - '𞺛' => 'غ', - '𞺡' => 'ب', - '𞺢' => 'ج', - '𞺣' => 'د', - '𞺥' => 'و', - '𞺦' => 'ز', - '𞺧' => 'ح', - '𞺨' => 'ط', - '𞺩' => 'ي', - '𞺫' => 'ل', - '𞺬' => 'م', - '𞺭' => 'ن', - '𞺮' => 'س', - '𞺯' => 'ع', - '𞺰' => 'ف', - '𞺱' => 'ص', - '𞺲' => 'ق', - '𞺳' => 'ر', - '𞺴' => 'ش', - '𞺵' => 'ت', - '𞺶' => 'ث', - '𞺷' => 'خ', - '𞺸' => 'ذ', - '𞺹' => 'ض', - '𞺺' => 'ظ', - '𞺻' => 'غ', - '🄀' => '0.', - '🄁' => '0,', - '🄂' => '1,', - '🄃' => '2,', - '🄄' => '3,', - '🄅' => '4,', - '🄆' => '5,', - '🄇' => '6,', - '🄈' => '7,', - '🄉' => '8,', - '🄊' => '9,', - '🄐' => '(A)', - '🄑' => '(B)', - '🄒' => '(C)', - '🄓' => '(D)', - '🄔' => '(E)', - '🄕' => '(F)', - '🄖' => '(G)', - '🄗' => '(H)', - '🄘' => '(I)', - '🄙' => '(J)', - '🄚' => '(K)', - '🄛' => '(L)', - '🄜' => '(M)', - '🄝' => '(N)', - '🄞' => '(O)', - '🄟' => '(P)', - '🄠' => '(Q)', - '🄡' => '(R)', - '🄢' => '(S)', - '🄣' => '(T)', - '🄤' => '(U)', - '🄥' => '(V)', - '🄦' => '(W)', - '🄧' => '(X)', - '🄨' => '(Y)', - '🄩' => '(Z)', - '🄪' => '〔S〕', - '🄫' => 'C', - '🄬' => 'R', - '🄭' => 'CD', - '🄮' => 'WZ', - '🄰' => 'A', - '🄱' => 'B', - '🄲' => 'C', - '🄳' => 'D', - '🄴' => 'E', - '🄵' => 'F', - '🄶' => 'G', - '🄷' => 'H', - '🄸' => 'I', - '🄹' => 'J', - '🄺' => 'K', - '🄻' => 'L', - '🄼' => 'M', - '🄽' => 'N', - '🄾' => 'O', - '🄿' => 'P', - '🅀' => 'Q', - '🅁' => 'R', - '🅂' => 'S', - '🅃' => 'T', - '🅄' => 'U', - '🅅' => 'V', - '🅆' => 'W', - '🅇' => 'X', - '🅈' => 'Y', - '🅉' => 'Z', - '🅊' => 'HV', - '🅋' => 'MV', - '🅌' => 'SD', - '🅍' => 'SS', - '🅎' => 'PPV', - '🅏' => 'WC', - '🅪' => 'MC', - '🅫' => 'MD', - '🅬' => 'MR', - '🆐' => 'DJ', - '🈀' => 'ほか', - '🈁' => 'ココ', - '🈂' => 'サ', - '🈐' => '手', - '🈑' => '字', - '🈒' => '双', - '🈓' => 'デ', - '🈔' => '二', - '🈕' => '多', - '🈖' => '解', - '🈗' => '天', - '🈘' => '交', - '🈙' => '映', - '🈚' => '無', - '🈛' => '料', - '🈜' => '前', - '🈝' => '後', - '🈞' => '再', - '🈟' => '新', - '🈠' => '初', - '🈡' => '終', - '🈢' => '生', - '🈣' => '販', - '🈤' => '声', - '🈥' => '吹', - '🈦' => '演', - '🈧' => '投', - '🈨' => '捕', - '🈩' => '一', - '🈪' => '三', - '🈫' => '遊', - '🈬' => '左', - '🈭' => '中', - '🈮' => '右', - '🈯' => '指', - '🈰' => '走', - '🈱' => '打', - '🈲' => '禁', - '🈳' => '空', - '🈴' => '合', - '🈵' => '満', - '🈶' => '有', - '🈷' => '月', - '🈸' => '申', - '🈹' => '割', - '🈺' => '営', - '🈻' => '配', - '🉀' => '〔本〕', - '🉁' => '〔三〕', - '🉂' => '〔二〕', - '🉃' => '〔安〕', - '🉄' => '〔点〕', - '🉅' => '〔打〕', - '🉆' => '〔盗〕', - '🉇' => '〔勝〕', - '🉈' => '〔敗〕', - '🉐' => '得', - '🉑' => '可', - '🯰' => '0', - '🯱' => '1', - '🯲' => '2', - '🯳' => '3', - '🯴' => '4', - '🯵' => '5', - '🯶' => '6', - '🯷' => '7', - '🯸' => '8', - '🯹' => '9', -); diff --git a/vendor/symfony/polyfill-intl-normalizer/bootstrap.php b/vendor/symfony/polyfill-intl-normalizer/bootstrap.php deleted file mode 100644 index 3608e5c0..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/bootstrap.php +++ /dev/null @@ -1,23 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Intl\Normalizer as p; - -if (\PHP_VERSION_ID >= 80000) { - return require __DIR__.'/bootstrap80.php'; -} - -if (!function_exists('normalizer_is_normalized')) { - function normalizer_is_normalized($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized($string, $form); } -} -if (!function_exists('normalizer_normalize')) { - function normalizer_normalize($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize($string, $form); } -} diff --git a/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php b/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php deleted file mode 100644 index e36d1a94..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php +++ /dev/null @@ -1,19 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Intl\Normalizer as p; - -if (!function_exists('normalizer_is_normalized')) { - function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); } -} -if (!function_exists('normalizer_normalize')) { - function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); } -} diff --git a/vendor/symfony/polyfill-intl-normalizer/composer.json b/vendor/symfony/polyfill-intl-normalizer/composer.json deleted file mode 100644 index 393edf70..00000000 --- a/vendor/symfony/polyfill-intl-normalizer/composer.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "symfony/polyfill-intl-normalizer", - "type": "library", - "description": "Symfony polyfill for intl's Normalizer class and related functions", - "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "normalizer"], - "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": { - "psr-4": { "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, - "files": [ "bootstrap.php" ], - "classmap": [ "Resources/stubs" ] - }, - "suggest": { - "ext-intl": "For best performance" - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/vendor/symfony/polyfill-php72/LICENSE b/vendor/symfony/polyfill-php72/LICENSE deleted file mode 100644 index 4cd8bdd3..00000000 --- a/vendor/symfony/polyfill-php72/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2015-2019 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/polyfill-php72/Php72.php b/vendor/symfony/polyfill-php72/Php72.php deleted file mode 100644 index 5e20d5bf..00000000 --- a/vendor/symfony/polyfill-php72/Php72.php +++ /dev/null @@ -1,217 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Polyfill\Php72; - -/** - * @author Nicolas Grekas - * @author Dariusz Rumiński - * - * @internal - */ -final class Php72 -{ - private static $hashMask; - - public static function utf8_encode($s) - { - $s .= $s; - $len = \strlen($s); - - for ($i = $len >> 1, $j = 0; $i < $len; ++$i, ++$j) { - switch (true) { - case $s[$i] < "\x80": $s[$j] = $s[$i]; break; - case $s[$i] < "\xC0": $s[$j] = "\xC2"; $s[++$j] = $s[$i]; break; - default: $s[$j] = "\xC3"; $s[++$j] = \chr(\ord($s[$i]) - 64); break; - } - } - - return substr($s, 0, $j); - } - - public static function utf8_decode($s) - { - $s = (string) $s; - $len = \strlen($s); - - for ($i = 0, $j = 0; $i < $len; ++$i, ++$j) { - switch ($s[$i] & "\xF0") { - case "\xC0": - case "\xD0": - $c = (\ord($s[$i] & "\x1F") << 6) | \ord($s[++$i] & "\x3F"); - $s[$j] = $c < 256 ? \chr($c) : '?'; - break; - - case "\xF0": - ++$i; - // no break - - case "\xE0": - $s[$j] = '?'; - $i += 2; - break; - - default: - $s[$j] = $s[$i]; - } - } - - return substr($s, 0, $j); - } - - public static function php_os_family() - { - if ('\\' === \DIRECTORY_SEPARATOR) { - return 'Windows'; - } - - $map = [ - 'Darwin' => 'Darwin', - 'DragonFly' => 'BSD', - 'FreeBSD' => 'BSD', - 'NetBSD' => 'BSD', - 'OpenBSD' => 'BSD', - 'Linux' => 'Linux', - 'SunOS' => 'Solaris', - ]; - - return isset($map[\PHP_OS]) ? $map[\PHP_OS] : 'Unknown'; - } - - public static function spl_object_id($object) - { - if (null === self::$hashMask) { - self::initHashMask(); - } - if (null === $hash = spl_object_hash($object)) { - return; - } - - // On 32-bit systems, PHP_INT_SIZE is 4, - return self::$hashMask ^ hexdec(substr($hash, 16 - (\PHP_INT_SIZE * 2 - 1), (\PHP_INT_SIZE * 2 - 1))); - } - - public static function sapi_windows_vt100_support($stream, $enable = null) - { - if (!\is_resource($stream)) { - trigger_error('sapi_windows_vt100_support() expects parameter 1 to be resource, '.\gettype($stream).' given', \E_USER_WARNING); - - return false; - } - - $meta = stream_get_meta_data($stream); - - if ('STDIO' !== $meta['stream_type']) { - trigger_error('sapi_windows_vt100_support() was not able to analyze the specified stream', \E_USER_WARNING); - - return false; - } - - // We cannot actually disable vt100 support if it is set - if (false === $enable || !self::stream_isatty($stream)) { - return false; - } - - // The native function does not apply to stdin - $meta = array_map('strtolower', $meta); - $stdin = 'php://stdin' === $meta['uri'] || 'php://fd/0' === $meta['uri']; - - return !$stdin - && (false !== getenv('ANSICON') - || 'ON' === getenv('ConEmuANSI') - || 'xterm' === getenv('TERM') - || 'Hyper' === getenv('TERM_PROGRAM')); - } - - public static function stream_isatty($stream) - { - if (!\is_resource($stream)) { - trigger_error('stream_isatty() expects parameter 1 to be resource, '.\gettype($stream).' given', \E_USER_WARNING); - - return false; - } - - if ('\\' === \DIRECTORY_SEPARATOR) { - $stat = @fstat($stream); - // Check if formatted mode is S_IFCHR - return $stat ? 0020000 === ($stat['mode'] & 0170000) : false; - } - - return \function_exists('posix_isatty') && @posix_isatty($stream); - } - - private static function initHashMask() - { - $obj = (object) []; - self::$hashMask = -1; - - // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below - $obFuncs = ['ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush']; - foreach (debug_backtrace(\PHP_VERSION_ID >= 50400 ? \DEBUG_BACKTRACE_IGNORE_ARGS : false) as $frame) { - if (isset($frame['function'][0]) && !isset($frame['class']) && 'o' === $frame['function'][0] && \in_array($frame['function'], $obFuncs)) { - $frame['line'] = 0; - break; - } - } - if (!empty($frame['line'])) { - ob_start(); - debug_zval_dump($obj); - self::$hashMask = (int) substr(ob_get_clean(), 17); - } - - self::$hashMask ^= hexdec(substr(spl_object_hash($obj), 16 - (\PHP_INT_SIZE * 2 - 1), (\PHP_INT_SIZE * 2 - 1))); - } - - public static function mb_chr($code, $encoding = null) - { - if (0x80 > $code %= 0x200000) { - $s = \chr($code); - } elseif (0x800 > $code) { - $s = \chr(0xC0 | $code >> 6).\chr(0x80 | $code & 0x3F); - } elseif (0x10000 > $code) { - $s = \chr(0xE0 | $code >> 12).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F); - } else { - $s = \chr(0xF0 | $code >> 18).\chr(0x80 | $code >> 12 & 0x3F).\chr(0x80 | $code >> 6 & 0x3F).\chr(0x80 | $code & 0x3F); - } - - if ('UTF-8' !== $encoding = $encoding ?? mb_internal_encoding()) { - $s = mb_convert_encoding($s, $encoding, 'UTF-8'); - } - - return $s; - } - - public static function mb_ord($s, $encoding = null) - { - if (null === $encoding) { - $s = mb_convert_encoding($s, 'UTF-8'); - } elseif ('UTF-8' !== $encoding) { - $s = mb_convert_encoding($s, 'UTF-8', $encoding); - } - - if (1 === \strlen($s)) { - return \ord($s); - } - - $code = ($s = unpack('C*', substr($s, 0, 4))) ? $s[1] : 0; - if (0xF0 <= $code) { - return (($code - 0xF0) << 18) + (($s[2] - 0x80) << 12) + (($s[3] - 0x80) << 6) + $s[4] - 0x80; - } - if (0xE0 <= $code) { - return (($code - 0xE0) << 12) + (($s[2] - 0x80) << 6) + $s[3] - 0x80; - } - if (0xC0 <= $code) { - return (($code - 0xC0) << 6) + $s[2] - 0x80; - } - - return $code; - } -} diff --git a/vendor/symfony/polyfill-php72/README.md b/vendor/symfony/polyfill-php72/README.md deleted file mode 100644 index 59dec8a2..00000000 --- a/vendor/symfony/polyfill-php72/README.md +++ /dev/null @@ -1,28 +0,0 @@ -Symfony Polyfill / Php72 -======================== - -This component provides functions added to PHP 7.2 core: - -- [`spl_object_id`](https://php.net/spl_object_id) -- [`stream_isatty`](https://php.net/stream_isatty) - -On Windows only: - -- [`sapi_windows_vt100_support`](https://php.net/sapi_windows_vt100_support) - -Moved to core since 7.2 (was in the optional XML extension earlier): - -- [`utf8_encode`](https://php.net/utf8_encode) -- [`utf8_decode`](https://php.net/utf8_decode) - -Also, it provides constants added to PHP 7.2: -- [`PHP_FLOAT_*`](https://php.net/reserved.constants#constant.php-float-dig) -- [`PHP_OS_FAMILY`](https://php.net/reserved.constants#constant.php-os-family) - -More information can be found in the -[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md). - -License -======= - -This library is released under the [MIT license](LICENSE). diff --git a/vendor/symfony/polyfill-php72/bootstrap.php b/vendor/symfony/polyfill-php72/bootstrap.php deleted file mode 100644 index b5c92d4c..00000000 --- a/vendor/symfony/polyfill-php72/bootstrap.php +++ /dev/null @@ -1,57 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -use Symfony\Polyfill\Php72 as p; - -if (\PHP_VERSION_ID >= 70200) { - return; -} - -if (!defined('PHP_FLOAT_DIG')) { - define('PHP_FLOAT_DIG', 15); -} -if (!defined('PHP_FLOAT_EPSILON')) { - define('PHP_FLOAT_EPSILON', 2.2204460492503E-16); -} -if (!defined('PHP_FLOAT_MIN')) { - define('PHP_FLOAT_MIN', 2.2250738585072E-308); -} -if (!defined('PHP_FLOAT_MAX')) { - define('PHP_FLOAT_MAX', 1.7976931348623157E+308); -} -if (!defined('PHP_OS_FAMILY')) { - define('PHP_OS_FAMILY', p\Php72::php_os_family()); -} - -if ('\\' === \DIRECTORY_SEPARATOR && !function_exists('sapi_windows_vt100_support')) { - function sapi_windows_vt100_support($stream, $enable = null) { return p\Php72::sapi_windows_vt100_support($stream, $enable); } -} -if (!function_exists('stream_isatty')) { - function stream_isatty($stream) { return p\Php72::stream_isatty($stream); } -} -if (!function_exists('utf8_encode')) { - function utf8_encode($string) { return p\Php72::utf8_encode($string); } -} -if (!function_exists('utf8_decode')) { - function utf8_decode($string) { return p\Php72::utf8_decode($string); } -} -if (!function_exists('spl_object_id')) { - function spl_object_id($object) { return p\Php72::spl_object_id($object); } -} -if (!function_exists('mb_ord')) { - function mb_ord($string, $encoding = null) { return p\Php72::mb_ord($string, $encoding); } -} -if (!function_exists('mb_chr')) { - function mb_chr($codepoint, $encoding = null) { return p\Php72::mb_chr($codepoint, $encoding); } -} -if (!function_exists('mb_scrub')) { - function mb_scrub($string, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return mb_convert_encoding($string, $encoding, $encoding); } -} diff --git a/vendor/symfony/polyfill-php72/composer.json b/vendor/symfony/polyfill-php72/composer.json deleted file mode 100644 index c96c8447..00000000 --- a/vendor/symfony/polyfill-php72/composer.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "symfony/polyfill-php72", - "type": "library", - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "keywords": ["polyfill", "shim", "compatibility", "portable"], - "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": { - "psr-4": { "Symfony\\Polyfill\\Php72\\": "" }, - "files": [ "bootstrap.php" ] - }, - "minimum-stability": "dev", - "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - } -} diff --git a/vendor/topthink/think-captcha/.gitignore b/vendor/topthink/think-captcha/.gitignore deleted file mode 100644 index 85d49cb8..00000000 --- a/vendor/topthink/think-captcha/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/vendor/ -/composer.lock -.idea \ No newline at end of file diff --git a/vendor/topthink/think-captcha/LICENSE b/vendor/topthink/think-captcha/LICENSE deleted file mode 100644 index 835ce60c..00000000 --- a/vendor/topthink/think-captcha/LICENSE +++ /dev/null @@ -1,32 +0,0 @@ - -ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 -版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn) -All rights reserved。 -ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 - -Apache Licence是著名的非盈利开源组织Apache采用的协议。 -该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, -允许代码修改,再作为开源或商业软件发布。需要满足 -的条件: -1. 需要给代码的用户一份Apache Licence ; -2. 如果你修改了代码,需要在被修改的文件中说明; -3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 -带有原来代码中的协议,商标,专利声明和其他原来作者规 -定需要包含的说明; -4. 如果再发布的产品中包含一个Notice文件,则在Notice文 -件中需要带有本协议内容。你可以在Notice中增加自己的 -许可,但不可以表现为对Apache Licence构成更改。 -具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/topthink/think-captcha/README.md b/vendor/topthink/think-captcha/README.md deleted file mode 100644 index 4a6c25c9..00000000 --- a/vendor/topthink/think-captcha/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# think-captcha -thinkphp5.1 验证码类库 - -## 安装 -> composer require topthink/think-captcha - - -##使用 - -###模板里输出验证码 - -~~~ -
          {:captcha_img()}
          -~~~ -或者 -~~~ -
          captcha
          -~~~ -> 上面两种的最终效果是一样的 - -### 控制器里验证 -使用TP5的内置验证功能即可 -~~~ -$this->validate($data,[ - 'captcha|验证码'=>'require|captcha' -]); -~~~ -或者手动验证 -~~~ -if(!captcha_check($captcha)){ - //验证失败 -}; -~~~ \ No newline at end of file diff --git a/vendor/topthink/think-captcha/assets/bgs/1.jpg b/vendor/topthink/think-captcha/assets/bgs/1.jpg deleted file mode 100644 index d417136b..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/1.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/2.jpg b/vendor/topthink/think-captcha/assets/bgs/2.jpg deleted file mode 100644 index 56640bde..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/2.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/3.jpg b/vendor/topthink/think-captcha/assets/bgs/3.jpg deleted file mode 100644 index 83e5bd90..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/3.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/4.jpg b/vendor/topthink/think-captcha/assets/bgs/4.jpg deleted file mode 100644 index 97a3721b..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/4.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/5.jpg b/vendor/topthink/think-captcha/assets/bgs/5.jpg deleted file mode 100644 index 220a17a2..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/5.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/6.jpg b/vendor/topthink/think-captcha/assets/bgs/6.jpg deleted file mode 100644 index be53ea0a..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/6.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/7.jpg b/vendor/topthink/think-captcha/assets/bgs/7.jpg deleted file mode 100644 index fbf537fa..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/7.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/bgs/8.jpg b/vendor/topthink/think-captcha/assets/bgs/8.jpg deleted file mode 100644 index e10cf281..00000000 Binary files a/vendor/topthink/think-captcha/assets/bgs/8.jpg and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/ttfs/1.ttf b/vendor/topthink/think-captcha/assets/ttfs/1.ttf deleted file mode 100644 index d4ee1558..00000000 Binary files a/vendor/topthink/think-captcha/assets/ttfs/1.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/ttfs/2.ttf b/vendor/topthink/think-captcha/assets/ttfs/2.ttf deleted file mode 100644 index 3a452b68..00000000 Binary files a/vendor/topthink/think-captcha/assets/ttfs/2.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/ttfs/3.ttf b/vendor/topthink/think-captcha/assets/ttfs/3.ttf deleted file mode 100644 index d07a4d93..00000000 Binary files a/vendor/topthink/think-captcha/assets/ttfs/3.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/ttfs/4.ttf b/vendor/topthink/think-captcha/assets/ttfs/4.ttf deleted file mode 100644 index 54a14ed1..00000000 Binary files a/vendor/topthink/think-captcha/assets/ttfs/4.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/ttfs/5.ttf b/vendor/topthink/think-captcha/assets/ttfs/5.ttf deleted file mode 100644 index d672876d..00000000 Binary files a/vendor/topthink/think-captcha/assets/ttfs/5.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/ttfs/6.ttf b/vendor/topthink/think-captcha/assets/ttfs/6.ttf deleted file mode 100644 index 7f183e20..00000000 Binary files a/vendor/topthink/think-captcha/assets/ttfs/6.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/assets/zhttfs/1.ttf b/vendor/topthink/think-captcha/assets/zhttfs/1.ttf deleted file mode 100644 index 1c14f7fa..00000000 Binary files a/vendor/topthink/think-captcha/assets/zhttfs/1.ttf and /dev/null differ diff --git a/vendor/topthink/think-captcha/composer.json b/vendor/topthink/think-captcha/composer.json deleted file mode 100644 index d5350d4e..00000000 --- a/vendor/topthink/think-captcha/composer.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "topthink/think-captcha", - "description": "captcha package for thinkphp5", - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "license": "Apache-2.0", - "require": { - "topthink/framework": "5.1.*" - }, - "autoload": { - "psr-4": { - "think\\captcha\\": "src/" - }, - "files": [ - "src/helper.php" - ] - } -} diff --git a/vendor/topthink/think-captcha/src/Captcha.php b/vendor/topthink/think-captcha/src/Captcha.php deleted file mode 100644 index 29f9dad5..00000000 --- a/vendor/topthink/think-captcha/src/Captcha.php +++ /dev/null @@ -1,320 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\captcha; - -use think\facade\Session; - -class Captcha -{ - protected $config = [ - 'seKey' => 'ThinkPHP.CN', - // 验证码加密密钥 - 'codeSet' => '2345678abcdefhijkmnpqrstuvwxyzABCDEFGHJKLMNPQRTUVWXY', - // 验证码字符集合 - 'expire' => 1800, - // 验证码过期时间(s) - 'useZh' => false, - // 使用中文验证码 - 'zhSet' => '们以我到他会作时要动国产的一是工就年阶义发成部民可出能方进在了不和有大这主中人上为来分生对于学下级地个用同行面说种过命度革而多子后自社加小机也经力线本电高量长党得实家定深法表着水理化争现所二起政三好十战无农使性前等反体合斗路图把结第里正新开论之物从当两些还天资事队批点育重其思与间内去因件日利相由压员气业代全组数果期导平各基或月毛然如应形想制心样干都向变关问比展那它最及外没看治提五解系林者米群头意只明四道马认次文通但条较克又公孔领军流入接席位情运器并飞原油放立题质指建区验活众很教决特此常石强极土少已根共直团统式转别造切九你取西持总料连任志观调七么山程百报更见必真保热委手改管处己将修支识病象几先老光专什六型具示复安带每东增则完风回南广劳轮科北打积车计给节做务被整联步类集号列温装即毫知轴研单色坚据速防史拉世设达尔场织历花受求传口断况采精金界品判参层止边清至万确究书术状厂须离再目海交权且儿青才证低越际八试规斯近注办布门铁需走议县兵固除般引齿千胜细影济白格效置推空配刀叶率述今选养德话查差半敌始片施响收华觉备名红续均药标记难存测士身紧液派准斤角降维板许破述技消底床田势端感往神便贺村构照容非搞亚磨族火段算适讲按值美态黄易彪服早班麦削信排台声该击素张密害侯草何树肥继右属市严径螺检左页抗苏显苦英快称坏移约巴材省黑武培著河帝仅针怎植京助升王眼她抓含苗副杂普谈围食射源例致酸旧却充足短划剂宣环落首尺波承粉践府鱼随考刻靠够满夫失包住促枝局菌杆周护岩师举曲春元超负砂封换太模贫减阳扬江析亩木言球朝医校古呢稻宋听唯输滑站另卫字鼓刚写刘微略范供阿块某功套友限项余倒卷创律雨让骨远帮初皮播优占死毒圈伟季训控激找叫云互跟裂粮粒母练塞钢顶策双留误础吸阻故寸盾晚丝女散焊功株亲院冷彻弹错散商视艺灭版烈零室轻血倍缺厘泵察绝富城冲喷壤简否柱李望盘磁雄似困巩益洲脱投送奴侧润盖挥距触星松送获兴独官混纪依未突架宽冬章湿偏纹吃执阀矿寨责熟稳夺硬价努翻奇甲预职评读背协损棉侵灰虽矛厚罗泥辟告卵箱掌氧恩爱停曾溶营终纲孟钱待尽俄缩沙退陈讨奋械载胞幼哪剥迫旋征槽倒握担仍呀鲜吧卡粗介钻逐弱脚怕盐末阴丰雾冠丙街莱贝辐肠付吉渗瑞惊顿挤秒悬姆烂森糖圣凹陶词迟蚕亿矩康遵牧遭幅园腔订香肉弟屋敏恢忘编印蜂急拿扩伤飞露核缘游振操央伍域甚迅辉异序免纸夜乡久隶缸夹念兰映沟乙吗儒杀汽磷艰晶插埃燃欢铁补咱芽永瓦倾阵碳演威附牙芽永瓦斜灌欧献顺猪洋腐请透司危括脉宜笑若尾束壮暴企菜穗楚汉愈绿拖牛份染既秋遍锻玉夏疗尖殖井费州访吹荣铜沿替滚客召旱悟刺脑措贯藏敢令隙炉壳硫煤迎铸粘探临薄旬善福纵择礼愿伏残雷延烟句纯渐耕跑泽慢栽鲁赤繁境潮横掉锥希池败船假亮谓托伙哲怀割摆贡呈劲财仪沉炼麻罪祖息车穿货销齐鼠抽画饲龙库守筑房歌寒喜哥洗蚀废纳腹乎录镜妇恶脂庄擦险赞钟摇典柄辩竹谷卖乱虚桥奥伯赶垂途额壁网截野遗静谋弄挂课镇妄盛耐援扎虑键归符庆聚绕摩忙舞遇索顾胶羊湖钉仁音迹碎伸灯避泛亡答勇频皇柳哈揭甘诺概宪浓岛袭谁洪谢炮浇斑讯懂灵蛋闭孩释乳巨徒私银伊景坦累匀霉杜乐勒隔弯绩招绍胡呼痛峰零柴簧午跳居尚丁秦稍追梁折耗碱殊岗挖氏刃剧堆赫荷胸衡勤膜篇登驻案刊秧缓凸役剪川雪链渔啦脸户洛孢勃盟买杨宗焦赛旗滤硅炭股坐蒸凝竟陷枪黎救冒暗洞犯筒您宋弧爆谬涂味津臂障褐陆啊健尊豆拔莫抵桑坡缝警挑污冰柬嘴啥饭塑寄赵喊垫丹渡耳刨虎笔稀昆浪萨茶滴浅拥穴覆伦娘吨浸袖珠雌妈紫戏塔锤震岁貌洁剖牢锋疑霸闪埔猛诉刷狠忽灾闹乔唐漏闻沈熔氯荒茎男凡抢像浆旁玻亦忠唱蒙予纷捕锁尤乘乌智淡允叛畜俘摸锈扫毕璃宝芯爷鉴秘净蒋钙肩腾枯抛轨堂拌爸循诱祝励肯酒绳穷塘燥泡袋朗喂铝软渠颗惯贸粪综墙趋彼届墨碍启逆卸航衣孙龄岭骗休借', - // 中文验证码字符串 - 'useImgBg' => false, - // 使用背景图片 - 'fontSize' => 25, - // 验证码字体大小(px) - 'useCurve' => true, - // 是否画混淆曲线 - 'useNoise' => true, - // 是否添加杂点 - 'imageH' => 0, - // 验证码图片高度 - 'imageW' => 0, - // 验证码图片宽度 - 'length' => 5, - // 验证码位数 - 'fontttf' => '', - // 验证码字体,不设置随机获取 - 'bg' => [243, 251, 254], - // 背景颜色 - 'reset' => true, - // 验证成功后是否重置 - ]; - - private $im = null; // 验证码图片实例 - private $color = null; // 验证码字体颜色 - - /** - * 架构方法 设置参数 - * @access public - * @param array $config 配置参数 - */ - public function __construct($config = []) - { - $this->config = array_merge($this->config, $config); - } - - /** - * 使用 $this->name 获取配置 - * @access public - * @param string $name 配置名称 - * @return mixed 配置值 - */ - public function __get($name) - { - return $this->config[$name]; - } - - /** - * 设置验证码配置 - * @access public - * @param string $name 配置名称 - * @param string $value 配置值 - * @return void - */ - public function __set($name, $value) - { - if (isset($this->config[$name])) { - $this->config[$name] = $value; - } - } - - /** - * 检查配置 - * @access public - * @param string $name 配置名称 - * @return bool - */ - public function __isset($name) - { - return isset($this->config[$name]); - } - - /** - * 验证验证码是否正确 - * @access public - * @param string $code 用户验证码 - * @param string $id 验证码标识 - * @return bool 用户验证码是否正确 - */ - public function check($code, $id = '') - { - $key = $this->authcode($this->seKey) . $id; - // 验证码不能为空 - $secode = Session::get($key, ''); - if (empty($code) || empty($secode)) { - return false; - } - // session 过期 - if (time() - $secode['verify_time'] > $this->expire) { - Session::delete($key, ''); - return false; - } - - if ($this->authcode(strtoupper($code)) == $secode['verify_code']) { - $this->reset && Session::delete($key, ''); - return true; - } - - return false; - } - - /** - * 输出验证码并把验证码的值保存的session中 - * 验证码保存到session的格式为: array('verify_code' => '验证码值', 'verify_time' => '验证码创建时间'); - * @access public - * @param string $id 要生成验证码的标识 - * @return \think\Response - */ - public function entry($id = '') - { - // 图片宽(px) - $this->imageW || $this->imageW = $this->length * $this->fontSize * 1.5 + $this->length * $this->fontSize / 2; - // 图片高(px) - $this->imageH || $this->imageH = $this->fontSize * 2.5; - // 建立一幅 $this->imageW x $this->imageH 的图像 - $this->im = imagecreate($this->imageW, $this->imageH); - // 设置背景 - imagecolorallocate($this->im, $this->bg[0], $this->bg[1], $this->bg[2]); - - // 验证码字体随机颜色 - $this->color = imagecolorallocate($this->im, mt_rand(1, 150), mt_rand(1, 150), mt_rand(1, 150)); - // 验证码使用随机字体 - $ttfPath = __DIR__ . '/../assets/' . ($this->useZh ? 'zhttfs' : 'ttfs') . '/'; - - if (empty($this->fontttf)) { - $dir = dir($ttfPath); - $ttfs = []; - while (false !== ($file = $dir->read())) { - if ('.' != $file[0] && substr($file, -4) == '.ttf') { - $ttfs[] = $file; - } - } - $dir->close(); - $this->fontttf = $ttfs[array_rand($ttfs)]; - } - $this->fontttf = $ttfPath . $this->fontttf; - - if ($this->useImgBg) { - $this->background(); - } - - if ($this->useNoise) { - // 绘杂点 - $this->writeNoise(); - } - if ($this->useCurve) { - // 绘干扰线 - $this->writeCurve(); - } - - // 绘验证码 - $code = []; // 验证码 - $codeNX = 0; // 验证码第N个字符的左边距 - if ($this->useZh) { - // 中文验证码 - for ($i = 0; $i < $this->length; $i++) { - $code[$i] = iconv_substr($this->zhSet, floor(mt_rand(0, mb_strlen($this->zhSet, 'utf-8') - 1)), 1, 'utf-8'); - imagettftext($this->im, $this->fontSize, mt_rand(-40, 40), $this->fontSize * ($i + 1) * 1.5, $this->fontSize + mt_rand(10, 20), $this->color, $this->fontttf, $code[$i]); - } - } else { - for ($i = 0; $i < $this->length; $i++) { - $code[$i] = $this->codeSet[mt_rand(0, strlen($this->codeSet) - 1)]; - $codeNX += mt_rand($this->fontSize * 1.2, $this->fontSize * 1.6); - imagettftext($this->im, $this->fontSize, mt_rand(-40, 40), $codeNX, $this->fontSize * 1.6, $this->color, $this->fontttf, $code[$i]); - } - } - - // 保存验证码 - $key = $this->authcode($this->seKey); - $code = $this->authcode(strtoupper(implode('', $code))); - $secode = []; - $secode['verify_code'] = $code; // 把校验码保存到session - $secode['verify_time'] = time(); // 验证码创建时间 - Session::set($key . $id, $secode, ''); - - ob_start(); - // 输出图像 - imagepng($this->im); - $content = ob_get_clean(); - imagedestroy($this->im); - - return response($content, 200, ['Content-Length' => strlen($content)])->contentType('image/png'); - } - - /** - * 画一条由两条连在一起构成的随机正弦函数曲线作干扰线(你可以改成更帅的曲线函数) - * - * 高中的数学公式咋都忘了涅,写出来 - * 正弦型函数解析式:y=Asin(ωx+φ)+b - * 各常数值对函数图像的影响: - * A:决定峰值(即纵向拉伸压缩的倍数) - * b:表示波形在Y轴的位置关系或纵向移动距离(上加下减) - * φ:决定波形与X轴位置关系或横向移动距离(左加右减) - * ω:决定周期(最小正周期T=2π/∣ω∣) - * - */ - private function writeCurve() - { - $px = $py = 0; - - // 曲线前部分 - $A = mt_rand(1, $this->imageH / 2); // 振幅 - $b = mt_rand(-$this->imageH / 4, $this->imageH / 4); // Y轴方向偏移量 - $f = mt_rand(-$this->imageH / 4, $this->imageH / 4); // X轴方向偏移量 - $T = mt_rand($this->imageH, $this->imageW * 2); // 周期 - $w = (2 * M_PI) / $T; - - $px1 = 0; // 曲线横坐标起始位置 - $px2 = mt_rand($this->imageW / 2, $this->imageW * 0.8); // 曲线横坐标结束位置 - - for ($px = $px1; $px <= $px2; $px = $px + 1) { - if (0 != $w) { - $py = $A * sin($w * $px + $f) + $b + $this->imageH / 2; // y = Asin(ωx+φ) + b - $i = (int) ($this->fontSize / 5); - while ($i > 0) { - imagesetpixel($this->im, $px + $i, $py + $i, $this->color); // 这里(while)循环画像素点比imagettftext和imagestring用字体大小一次画出(不用这while循环)性能要好很多 - $i--; - } - } - } - - // 曲线后部分 - $A = mt_rand(1, $this->imageH / 2); // 振幅 - $f = mt_rand(-$this->imageH / 4, $this->imageH / 4); // X轴方向偏移量 - $T = mt_rand($this->imageH, $this->imageW * 2); // 周期 - $w = (2 * M_PI) / $T; - $b = $py - $A * sin($w * $px + $f) - $this->imageH / 2; - $px1 = $px2; - $px2 = $this->imageW; - - for ($px = $px1; $px <= $px2; $px = $px + 1) { - if (0 != $w) { - $py = $A * sin($w * $px + $f) + $b + $this->imageH / 2; // y = Asin(ωx+φ) + b - $i = (int) ($this->fontSize / 5); - while ($i > 0) { - imagesetpixel($this->im, $px + $i, $py + $i, $this->color); - $i--; - } - } - } - } - - /** - * 画杂点 - * 往图片上写不同颜色的字母或数字 - */ - private function writeNoise() - { - $codeSet = '2345678abcdefhijkmnpqrstuvwxyz'; - for ($i = 0; $i < 10; $i++) { - //杂点颜色 - $noiseColor = imagecolorallocate($this->im, mt_rand(150, 225), mt_rand(150, 225), mt_rand(150, 225)); - for ($j = 0; $j < 5; $j++) { - // 绘杂点 - imagestring($this->im, 5, mt_rand(-10, $this->imageW), mt_rand(-10, $this->imageH), $codeSet[mt_rand(0, 29)], $noiseColor); - } - } - } - - /** - * 绘制背景图片 - * 注:如果验证码输出图片比较大,将占用比较多的系统资源 - */ - private function background() - { - $path = __DIR__ . '/../assets/bgs/'; - $dir = dir($path); - - $bgs = []; - while (false !== ($file = $dir->read())) { - if ('.' != $file[0] && substr($file, -4) == '.jpg') { - $bgs[] = $path . $file; - } - } - $dir->close(); - - $gb = $bgs[array_rand($bgs)]; - - list($width, $height) = @getimagesize($gb); - // Resample - $bgImage = @imagecreatefromjpeg($gb); - @imagecopyresampled($this->im, $bgImage, 0, 0, 0, 0, $this->imageW, $this->imageH, $width, $height); - @imagedestroy($bgImage); - } - - /* 加密验证码 */ - private function authcode($str) - { - $key = substr(md5($this->seKey), 5, 8); - $str = substr(md5($str), 8, 10); - return md5($key . $str); - } -} diff --git a/vendor/topthink/think-captcha/src/CaptchaController.php b/vendor/topthink/think-captcha/src/CaptchaController.php deleted file mode 100644 index 57203924..00000000 --- a/vendor/topthink/think-captcha/src/CaptchaController.php +++ /dev/null @@ -1,23 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\captcha; - -use think\facade\Config; - -class CaptchaController -{ - public function index($id = "") - { - $captcha = new Captcha((array) Config::pull('captcha')); - return $captcha->entry($id); - } -} diff --git a/vendor/topthink/think-captcha/src/helper.php b/vendor/topthink/think-captcha/src/helper.php deleted file mode 100644 index 7dd3cfb9..00000000 --- a/vendor/topthink/think-captcha/src/helper.php +++ /dev/null @@ -1,59 +0,0 @@ - -// +---------------------------------------------------------------------- - -Route::get('captcha/[:id]', "\\think\\captcha\\CaptchaController@index"); - -Validate::extend('captcha', function ($value, $id = '') { - return captcha_check($value, $id); -}); - -Validate::setTypeMsg('captcha', ':attribute错误!'); - -/** - * @param string $id - * @param array $config - * @return \think\Response - */ -function captcha($id = '', $config = []) -{ - $captcha = new \think\captcha\Captcha($config); - return $captcha->entry($id); -} - -/** - * @param $id - * @return string - */ -function captcha_src($id = '') -{ - return Url::build('/captcha' . ($id ? "/{$id}" : '')); -} - -/** - * @param $id - * @return mixed - */ -function captcha_img($id = '') -{ - return 'captcha'; -} - -/** - * @param $value - * @param string $id - * @param array $config - * @return bool - */ -function captcha_check($value, $id = '') -{ - $captcha = new \think\captcha\Captcha((array) Config::pull('captcha')); - return $captcha->check($value, $id); -} diff --git a/vendor/topthink/think-image/.gitignore b/vendor/topthink/think-image/.gitignore deleted file mode 100644 index 828149dd..00000000 --- a/vendor/topthink/think-image/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/vendor/ -/thinkphp/ -/composer.lock -/.idea/ \ No newline at end of file diff --git a/vendor/topthink/think-image/.travis.yml b/vendor/topthink/think-image/.travis.yml deleted file mode 100644 index 28ef8fbe..00000000 --- a/vendor/topthink/think-image/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: php - -php: - - 5.4 - - 5.5 - - 5.6 - - 7.0 - - hhvm - -matrix: - allow_failures: - - php: 7.0 - - php: hhvm - -before_script: - - composer self-update - - composer install --prefer-source --no-interaction --dev - -script: phpunit --coverage-clover=coverage.xml --configuration=phpunit.xml - -after_success: - - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/vendor/topthink/think-image/LICENSE b/vendor/topthink/think-image/LICENSE deleted file mode 100644 index 8dada3ed..00000000 --- a/vendor/topthink/think-image/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/vendor/topthink/think-image/README.md b/vendor/topthink/think-image/README.md deleted file mode 100644 index 866a0b48..00000000 --- a/vendor/topthink/think-image/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# The ThinkPHP5 Image Package - -[![Build Status](https://img.shields.io/travis/top-think/think-image.svg)](https://travis-ci.org/top-think/think-image) -[![Coverage Status](https://img.shields.io/codecov/c/github/top-think/think-image.svg)](https://codecov.io/github/top-think/think-image) -[![Downloads](https://img.shields.io/github/downloads/top-think/think-image/total.svg)](https://github.com/top-think/think-image/releases) -[![Releases](https://img.shields.io/github/release/top-think/think-image.svg)](https://github.com/top-think/think-image/releases/latest) -[![Releases Downloads](https://img.shields.io/github/downloads/top-think/think-image/latest/total.svg)](https://github.com/top-think/think-image/releases/latest) -[![Packagist Status](https://img.shields.io/packagist/v/top-think/think-image.svg)](https://packagist.org/packages/topthink/think-image) -[![Packagist Downloads](https://img.shields.io/packagist/dt/top-think/think-image.svg)](https://packagist.org/packages/topthink/think-image) - -## 安装 - -> composer require topthink/think-image - -## 使用 - -~~~ -$image = \think\Image::open('./image.jpg'); -或者 -$image = \think\Image::open(request()->file('image')); - - -$image->crop(...) - ->thumb(...) - ->water(...) - ->text(....) - ->save(..); - -~~~ \ No newline at end of file diff --git a/vendor/topthink/think-image/composer.json b/vendor/topthink/think-image/composer.json deleted file mode 100644 index 276d0294..00000000 --- a/vendor/topthink/think-image/composer.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "topthink/think-image", - "description": "The ThinkPHP5 Image Package", - "license": "Apache-2.0", - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "require": { - "ext-gd": "*" - }, - "require-dev": { - "topthink/framework": "^5.0", - "phpunit/phpunit": "4.8.*" - }, - "config": { - "preferred-install": "dist" - }, - "autoload": { - "psr-4": { - "think\\": "src" - } - } -} diff --git a/vendor/topthink/think-image/phpunit.xml b/vendor/topthink/think-image/phpunit.xml deleted file mode 100644 index ee938558..00000000 --- a/vendor/topthink/think-image/phpunit.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - ./tests/ - - - - - - diff --git a/vendor/topthink/think-image/src/Image.php b/vendor/topthink/think-image/src/Image.php deleted file mode 100644 index e28a13d7..00000000 --- a/vendor/topthink/think-image/src/Image.php +++ /dev/null @@ -1,610 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think; - -use think\image\Exception as ImageException; -use think\image\gif\Gif; - -class Image -{ - - /* 缩略图相关常量定义 */ - const THUMB_SCALING = 1; //常量,标识缩略图等比例缩放类型 - const THUMB_FILLED = 2; //常量,标识缩略图缩放后填充类型 - const THUMB_CENTER = 3; //常量,标识缩略图居中裁剪类型 - const THUMB_NORTHWEST = 4; //常量,标识缩略图左上角裁剪类型 - const THUMB_SOUTHEAST = 5; //常量,标识缩略图右下角裁剪类型 - const THUMB_FIXED = 6; //常量,标识缩略图固定尺寸缩放类型 - /* 水印相关常量定义 */ - const WATER_NORTHWEST = 1; //常量,标识左上角水印 - const WATER_NORTH = 2; //常量,标识上居中水印 - const WATER_NORTHEAST = 3; //常量,标识右上角水印 - const WATER_WEST = 4; //常量,标识左居中水印 - const WATER_CENTER = 5; //常量,标识居中水印 - const WATER_EAST = 6; //常量,标识右居中水印 - const WATER_SOUTHWEST = 7; //常量,标识左下角水印 - const WATER_SOUTH = 8; //常量,标识下居中水印 - const WATER_SOUTHEAST = 9; //常量,标识右下角水印 - /* 翻转相关常量定义 */ - const FLIP_X = 1; //X轴翻转 - const FLIP_Y = 2; //Y轴翻转 - - /** - * 图像资源对象 - * - * @var resource - */ - protected $im; - - /** @var Gif */ - protected $gif; - - /** - * 图像信息,包括 width, height, type, mime, size - * - * @var array - */ - protected $info; - - protected function __construct(\SplFileInfo $file) - { - //获取图像信息 - $info = @getimagesize($file->getPathname()); - - //检测图像合法性 - if (false === $info || (IMAGETYPE_GIF === $info[2] && empty($info['bits']))) { - throw new ImageException('Illegal image file'); - } - - //设置图像信息 - $this->info = [ - 'width' => $info[0], - 'height' => $info[1], - 'type' => image_type_to_extension($info[2], false), - 'mime' => $info['mime'], - ]; - - //打开图像 - if ('gif' == $this->info['type']) { - $this->gif = new Gif($file->getPathname()); - $this->im = @imagecreatefromstring($this->gif->image()); - } else { - $fun = "imagecreatefrom{$this->info['type']}"; - $this->im = @$fun($file->getPathname()); - } - - if (empty($this->im)) { - throw new ImageException('Failed to create image resources!'); - } - - } - - /** - * 打开一个图片文件 - * @param \SplFileInfo|string $file - * @return Image - */ - public static function open($file) - { - if (is_string($file)) { - $file = new \SplFileInfo($file); - } - if (!$file->isFile()) { - throw new ImageException('image file not exist'); - } - return new self($file); - } - - /** - * 保存图像 - * @param string $pathname 图像保存路径名称 - * @param null|string $type 图像类型 - * @param int $quality 图像质量 - * @param bool $interlace 是否对JPEG类型图像设置隔行扫描 - * @return $this - */ - public function save($pathname, $type = null, $quality = 80, $interlace = true) - { - //自动获取图像类型 - if (is_null($type)) { - $type = $this->info['type']; - } else { - $type = strtolower($type); - } - //保存图像 - if ('jpeg' == $type || 'jpg' == $type) { - //JPEG图像设置隔行扫描 - imageinterlace($this->im, $interlace); - imagejpeg($this->im, $pathname, $quality); - } elseif ('gif' == $type && !empty($this->gif)) { - $this->gif->save($pathname); - } elseif ('png' == $type) { - //设定保存完整的 alpha 通道信息 - imagesavealpha($this->im, true); - //ImagePNG生成图像的质量范围从0到9的 - imagepng($this->im, $pathname, min((int) ($quality / 10), 9)); - } else { - $fun = 'image' . $type; - $fun($this->im, $pathname); - } - - return $this; - } - - /** - * 返回图像宽度 - * @return int 图像宽度 - */ - public function width() - { - return $this->info['width']; - } - - /** - * 返回图像高度 - * @return int 图像高度 - */ - public function height() - { - return $this->info['height']; - } - - /** - * 返回图像类型 - * @return string 图像类型 - */ - public function type() - { - return $this->info['type']; - } - - /** - * 返回图像MIME类型 - * @return string 图像MIME类型 - */ - public function mime() - { - return $this->info['mime']; - } - - /** - * 返回图像尺寸数组 0 - 图像宽度,1 - 图像高度 - * @return array 图像尺寸 - */ - public function size() - { - return [$this->info['width'], $this->info['height']]; - } - - /** - * 旋转图像 - * @param int $degrees 顺时针旋转的度数 - * @return $this - */ - public function rotate($degrees = 90) - { - do { - $img = imagerotate($this->im, -$degrees, imagecolorallocatealpha($this->im, 0, 0, 0, 127)); - imagedestroy($this->im); - $this->im = $img; - } while (!empty($this->gif) && $this->gifNext()); - - $this->info['width'] = imagesx($this->im); - $this->info['height'] = imagesy($this->im); - - return $this; - } - - /** - * 翻转图像 - * @param integer $direction 翻转轴,X或者Y - * @return $this - */ - public function flip($direction = self::FLIP_X) - { - //原图宽度和高度 - $w = $this->info['width']; - $h = $this->info['height']; - - do { - - $img = imagecreatetruecolor($w, $h); - - switch ($direction) { - case self::FLIP_X: - for ($y = 0; $y < $h; $y++) { - imagecopy($img, $this->im, 0, $h - $y - 1, 0, $y, $w, 1); - } - break; - case self::FLIP_Y: - for ($x = 0; $x < $w; $x++) { - imagecopy($img, $this->im, $w - $x - 1, 0, $x, 0, 1, $h); - } - break; - default: - throw new ImageException('不支持的翻转类型'); - } - - imagedestroy($this->im); - $this->im = $img; - - } while (!empty($this->gif) && $this->gifNext()); - - return $this; - } - - /** - * 裁剪图像 - * - * @param integer $w 裁剪区域宽度 - * @param integer $h 裁剪区域高度 - * @param integer $x 裁剪区域x坐标 - * @param integer $y 裁剪区域y坐标 - * @param integer $width 图像保存宽度 - * @param integer $height 图像保存高度 - * - * @return $this - */ - public function crop($w, $h, $x = 0, $y = 0, $width = null, $height = null) - { - //设置保存尺寸 - empty($width) && $width = $w; - empty($height) && $height = $h; - do { - //创建新图像 - $img = imagecreatetruecolor($width, $height); - // 调整默认颜色 - $color = imagecolorallocate($img, 255, 255, 255); - imagefill($img, 0, 0, $color); - //裁剪 - imagecopyresampled($img, $this->im, 0, 0, $x, $y, $width, $height, $w, $h); - imagedestroy($this->im); //销毁原图 - //设置新图像 - $this->im = $img; - } while (!empty($this->gif) && $this->gifNext()); - $this->info['width'] = (int) $width; - $this->info['height'] = (int) $height; - return $this; - } - - /** - * 生成缩略图 - * - * @param integer $width 缩略图最大宽度 - * @param integer $height 缩略图最大高度 - * @param int $type 缩略图裁剪类型 - * - * @return $this - */ - public function thumb($width, $height, $type = self::THUMB_SCALING) - { - //原图宽度和高度 - $w = $this->info['width']; - $h = $this->info['height']; - /* 计算缩略图生成的必要参数 */ - switch ($type) { - /* 等比例缩放 */ - case self::THUMB_SCALING: - //原图尺寸小于缩略图尺寸则不进行缩略 - if ($w < $width && $h < $height) { - return $this; - } - //计算缩放比例 - $scale = min($width / $w, $height / $h); - //设置缩略图的坐标及宽度和高度 - $x = $y = 0; - $width = $w * $scale; - $height = $h * $scale; - break; - /* 居中裁剪 */ - case self::THUMB_CENTER: - //计算缩放比例 - $scale = max($width / $w, $height / $h); - //设置缩略图的坐标及宽度和高度 - $w = $width / $scale; - $h = $height / $scale; - $x = ($this->info['width'] - $w) / 2; - $y = ($this->info['height'] - $h) / 2; - break; - /* 左上角裁剪 */ - case self::THUMB_NORTHWEST: - //计算缩放比例 - $scale = max($width / $w, $height / $h); - //设置缩略图的坐标及宽度和高度 - $x = $y = 0; - $w = $width / $scale; - $h = $height / $scale; - break; - /* 右下角裁剪 */ - case self::THUMB_SOUTHEAST: - //计算缩放比例 - $scale = max($width / $w, $height / $h); - //设置缩略图的坐标及宽度和高度 - $w = $width / $scale; - $h = $height / $scale; - $x = $this->info['width'] - $w; - $y = $this->info['height'] - $h; - break; - /* 填充 */ - case self::THUMB_FILLED: - //计算缩放比例 - if ($w < $width && $h < $height) { - $scale = 1; - } else { - $scale = min($width / $w, $height / $h); - } - //设置缩略图的坐标及宽度和高度 - $neww = $w * $scale; - $newh = $h * $scale; - $x = $this->info['width'] - $w; - $y = $this->info['height'] - $h; - $posx = ($width - $w * $scale) / 2; - $posy = ($height - $h * $scale) / 2; - do { - //创建新图像 - $img = imagecreatetruecolor($width, $height); - // 调整默认颜色 - $color = imagecolorallocate($img, 255, 255, 255); - imagefill($img, 0, 0, $color); - //裁剪 - imagecopyresampled($img, $this->im, $posx, $posy, $x, $y, $neww, $newh, $w, $h); - imagedestroy($this->im); //销毁原图 - $this->im = $img; - } while (!empty($this->gif) && $this->gifNext()); - $this->info['width'] = (int) $width; - $this->info['height'] = (int) $height; - return $this; - /* 固定 */ - case self::THUMB_FIXED: - $x = $y = 0; - break; - default: - throw new ImageException('不支持的缩略图裁剪类型'); - } - /* 裁剪图像 */ - return $this->crop($w, $h, $x, $y, $width, $height); - } - - /** - * 添加水印 - * - * @param string $source 水印图片路径 - * @param int $locate 水印位置 - * @param int $alpha 透明度 - * @return $this - */ - public function water($source, $locate = self::WATER_SOUTHEAST, $alpha = 100) - { - if (!is_file($source)) { - throw new ImageException('水印图像不存在'); - } - //获取水印图像信息 - $info = getimagesize($source); - if (false === $info || (IMAGETYPE_GIF === $info[2] && empty($info['bits']))) { - throw new ImageException('非法水印文件'); - } - //创建水印图像资源 - $fun = 'imagecreatefrom' . image_type_to_extension($info[2], false); - $water = $fun($source); - //设定水印图像的混色模式 - imagealphablending($water, true); - /* 设定水印位置 */ - switch ($locate) { - /* 右下角水印 */ - case self::WATER_SOUTHEAST: - $x = $this->info['width'] - $info[0]; - $y = $this->info['height'] - $info[1]; - break; - /* 左下角水印 */ - case self::WATER_SOUTHWEST: - $x = 0; - $y = $this->info['height'] - $info[1]; - break; - /* 左上角水印 */ - case self::WATER_NORTHWEST: - $x = $y = 0; - break; - /* 右上角水印 */ - case self::WATER_NORTHEAST: - $x = $this->info['width'] - $info[0]; - $y = 0; - break; - /* 居中水印 */ - case self::WATER_CENTER: - $x = ($this->info['width'] - $info[0]) / 2; - $y = ($this->info['height'] - $info[1]) / 2; - break; - /* 下居中水印 */ - case self::WATER_SOUTH: - $x = ($this->info['width'] - $info[0]) / 2; - $y = $this->info['height'] - $info[1]; - break; - /* 右居中水印 */ - case self::WATER_EAST: - $x = $this->info['width'] - $info[0]; - $y = ($this->info['height'] - $info[1]) / 2; - break; - /* 上居中水印 */ - case self::WATER_NORTH: - $x = ($this->info['width'] - $info[0]) / 2; - $y = 0; - break; - /* 左居中水印 */ - case self::WATER_WEST: - $x = 0; - $y = ($this->info['height'] - $info[1]) / 2; - break; - default: - /* 自定义水印坐标 */ - if (is_array($locate)) { - list($x, $y) = $locate; - } else { - throw new ImageException('不支持的水印位置类型'); - } - } - do { - //添加水印 - $src = imagecreatetruecolor($info[0], $info[1]); - // 调整默认颜色 - $color = imagecolorallocate($src, 255, 255, 255); - imagefill($src, 0, 0, $color); - imagecopy($src, $this->im, 0, 0, $x, $y, $info[0], $info[1]); - imagecopy($src, $water, 0, 0, 0, 0, $info[0], $info[1]); - imagecopymerge($this->im, $src, $x, $y, 0, 0, $info[0], $info[1], $alpha); - //销毁零时图片资源 - imagedestroy($src); - } while (!empty($this->gif) && $this->gifNext()); - //销毁水印资源 - imagedestroy($water); - return $this; - } - - /** - * 图像添加文字 - * - * @param string $text 添加的文字 - * @param string $font 字体路径 - * @param integer $size 字号 - * @param string $color 文字颜色 - * @param int $locate 文字写入位置 - * @param integer $offset 文字相对当前位置的偏移量 - * @param integer $angle 文字倾斜角度 - * - * @return $this - * @throws ImageException - */ - public function text($text, $font, $size, $color = '#00000000', - $locate = self::WATER_SOUTHEAST, $offset = 0, $angle = 0) { - - if (!is_file($font)) { - throw new ImageException("不存在的字体文件:{$font}"); - } - //获取文字信息 - $info = imagettfbbox($size, $angle, $font, $text); - $minx = min($info[0], $info[2], $info[4], $info[6]); - $maxx = max($info[0], $info[2], $info[4], $info[6]); - $miny = min($info[1], $info[3], $info[5], $info[7]); - $maxy = max($info[1], $info[3], $info[5], $info[7]); - /* 计算文字初始坐标和尺寸 */ - $x = $minx; - $y = abs($miny); - $w = $maxx - $minx; - $h = $maxy - $miny; - /* 设定文字位置 */ - switch ($locate) { - /* 右下角文字 */ - case self::WATER_SOUTHEAST: - $x += $this->info['width'] - $w; - $y += $this->info['height'] - $h; - break; - /* 左下角文字 */ - case self::WATER_SOUTHWEST: - $y += $this->info['height'] - $h; - break; - /* 左上角文字 */ - case self::WATER_NORTHWEST: - // 起始坐标即为左上角坐标,无需调整 - break; - /* 右上角文字 */ - case self::WATER_NORTHEAST: - $x += $this->info['width'] - $w; - break; - /* 居中文字 */ - case self::WATER_CENTER: - $x += ($this->info['width'] - $w) / 2; - $y += ($this->info['height'] - $h) / 2; - break; - /* 下居中文字 */ - case self::WATER_SOUTH: - $x += ($this->info['width'] - $w) / 2; - $y += $this->info['height'] - $h; - break; - /* 右居中文字 */ - case self::WATER_EAST: - $x += $this->info['width'] - $w; - $y += ($this->info['height'] - $h) / 2; - break; - /* 上居中文字 */ - case self::WATER_NORTH: - $x += ($this->info['width'] - $w) / 2; - break; - /* 左居中文字 */ - case self::WATER_WEST: - $y += ($this->info['height'] - $h) / 2; - break; - default: - /* 自定义文字坐标 */ - if (is_array($locate)) { - list($posx, $posy) = $locate; - $x += $posx; - $y += $posy; - } else { - throw new ImageException('不支持的文字位置类型'); - } - } - /* 设置偏移量 */ - if (is_array($offset)) { - $offset = array_map('intval', $offset); - list($ox, $oy) = $offset; - } else { - $offset = intval($offset); - $ox = $oy = $offset; - } - /* 设置颜色 */ - if (is_string($color) && 0 === strpos($color, '#')) { - $color = str_split(substr($color, 1), 2); - $color = array_map('hexdec', $color); - if (empty($color[3]) || $color[3] > 127) { - $color[3] = 0; - } - } elseif (!is_array($color)) { - throw new ImageException('错误的颜色值'); - } - do { - /* 写入文字 */ - $col = imagecolorallocatealpha($this->im, $color[0], $color[1], $color[2], $color[3]); - imagettftext($this->im, $size, $angle, $x + $ox, $y + $oy, $col, $font, $text); - } while (!empty($this->gif) && $this->gifNext()); - return $this; - } - - /** - * 切换到GIF的下一帧并保存当前帧 - */ - protected function gifNext() - { - ob_start(); - ob_implicit_flush(0); - imagegif($this->im); - $img = ob_get_clean(); - $this->gif->image($img); - $next = $this->gif->nextImage(); - if ($next) { - imagedestroy($this->im); - $this->im = imagecreatefromstring($next); - return $next; - } else { - imagedestroy($this->im); - $this->im = imagecreatefromstring($this->gif->image()); - return false; - } - } - - /** - * 析构方法,用于销毁图像资源 - */ - public function __destruct() - { - empty($this->im) || imagedestroy($this->im); - } - -} diff --git a/vendor/topthink/think-image/src/image/Exception.php b/vendor/topthink/think-image/src/image/Exception.php deleted file mode 100644 index 2ebafd8c..00000000 --- a/vendor/topthink/think-image/src/image/Exception.php +++ /dev/null @@ -1,18 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\image; - - -class Exception extends \RuntimeException -{ - -} \ No newline at end of file diff --git a/vendor/topthink/think-image/src/image/gif/Decoder.php b/vendor/topthink/think-image/src/image/gif/Decoder.php deleted file mode 100644 index a5630926..00000000 --- a/vendor/topthink/think-image/src/image/gif/Decoder.php +++ /dev/null @@ -1,207 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\image\gif; - - -class Decoder -{ - public $GIF_buffer = []; - public $GIF_arrays = []; - public $GIF_delays = []; - public $GIF_stream = ""; - public $GIF_string = ""; - public $GIF_bfseek = 0; - public $GIF_screen = []; - public $GIF_global = []; - public $GIF_sorted; - public $GIF_colorS; - public $GIF_colorC; - public $GIF_colorF; - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFDecoder ( $GIF_pointer ) - :: - */ - public function __construct($GIF_pointer) - { - $this->GIF_stream = $GIF_pointer; - $this->getByte(6); // GIF89a - $this->getByte(7); // Logical Screen Descriptor - $this->GIF_screen = $this->GIF_buffer; - $this->GIF_colorF = $this->GIF_buffer[4] & 0x80 ? 1 : 0; - $this->GIF_sorted = $this->GIF_buffer[4] & 0x08 ? 1 : 0; - $this->GIF_colorC = $this->GIF_buffer[4] & 0x07; - $this->GIF_colorS = 2 << $this->GIF_colorC; - if (1 == $this->GIF_colorF) { - $this->getByte(3 * $this->GIF_colorS); - $this->GIF_global = $this->GIF_buffer; - } - - for ($cycle = 1; $cycle;) { - if ($this->getByte(1)) { - switch ($this->GIF_buffer[0]) { - case 0x21: - $this->readExtensions(); - break; - case 0x2C: - $this->readDescriptor(); - break; - case 0x3B: - $cycle = 0; - break; - } - } else { - $cycle = 0; - } - } - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFReadExtension ( ) - :: - */ - public function readExtensions() - { - $this->getByte(1); - for (; ;) { - $this->getByte(1); - if (($u = $this->GIF_buffer[0]) == 0x00) { - break; - } - $this->getByte($u); - /* - * 07.05.2007. - * Implemented a new line for a new function - * to determine the originaly delays between - * frames. - * - */ - if (4 == $u) { - $this->GIF_delays[] = ($this->GIF_buffer[1] | $this->GIF_buffer[2] << 8); - } - } - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFReadExtension ( ) - :: - */ - public function readDescriptor() - { - $this->getByte(9); - $GIF_screen = $this->GIF_buffer; - $GIF_colorF = $this->GIF_buffer[8] & 0x80 ? 1 : 0; - if ($GIF_colorF) { - $GIF_code = $this->GIF_buffer[8] & 0x07; - $GIF_sort = $this->GIF_buffer[8] & 0x20 ? 1 : 0; - } else { - $GIF_code = $this->GIF_colorC; - $GIF_sort = $this->GIF_sorted; - } - $GIF_size = 2 << $GIF_code; - $this->GIF_screen[4] &= 0x70; - $this->GIF_screen[4] |= 0x80; - $this->GIF_screen[4] |= $GIF_code; - if ($GIF_sort) { - $this->GIF_screen[4] |= 0x08; - } - $this->GIF_string = "GIF87a"; - $this->putByte($this->GIF_screen); - if (1 == $GIF_colorF) { - $this->getByte(3 * $GIF_size); - $this->putByte($this->GIF_buffer); - } else { - $this->putByte($this->GIF_global); - } - $this->GIF_string .= chr(0x2C); - $GIF_screen[8] &= 0x40; - $this->putByte($GIF_screen); - $this->getByte(1); - $this->putByte($this->GIF_buffer); - for (; ;) { - $this->getByte(1); - $this->putByte($this->GIF_buffer); - if (($u = $this->GIF_buffer[0]) == 0x00) { - break; - } - $this->getByte($u); - $this->putByte($this->GIF_buffer); - } - $this->GIF_string .= chr(0x3B); - /* - Add frames into $GIF_stream array... - */ - $this->GIF_arrays[] = $this->GIF_string; - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFGetByte ( $len ) - :: - */ - public function getByte($len) - { - $this->GIF_buffer = []; - for ($i = 0; $i < $len; $i++) { - if ($this->GIF_bfseek > strlen($this->GIF_stream)) { - return 0; - } - $this->GIF_buffer[] = ord($this->GIF_stream{$this->GIF_bfseek++}); - } - return 1; - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFPutByte ( $bytes ) - :: - */ - public function putByte($bytes) - { - for ($i = 0; $i < count($bytes); $i++) { - $this->GIF_string .= chr($bytes[$i]); - } - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: PUBLIC FUNCTIONS - :: - :: - :: GIFGetFrames ( ) - :: - */ - public function getFrames() - { - return ($this->GIF_arrays); - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFGetDelays ( ) - :: - */ - public function getDelays() - { - return ($this->GIF_delays); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/src/image/gif/Encoder.php b/vendor/topthink/think-image/src/image/gif/Encoder.php deleted file mode 100644 index 688f7a0a..00000000 --- a/vendor/topthink/think-image/src/image/gif/Encoder.php +++ /dev/null @@ -1,222 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace think\image\gif; - -class Encoder -{ - public $GIF = "GIF89a"; /* GIF header 6 bytes */ - public $VER = "GIFEncoder V2.05"; /* Encoder version */ - public $BUF = []; - public $LOP = 0; - public $DIS = 2; - public $COL = -1; - public $IMG = -1; - public $ERR = [ - 'ERR00' => "Does not supported function for only one image!", - 'ERR01' => "Source is not a GIF image!", - 'ERR02' => "Unintelligible flag ", - 'ERR03' => "Does not make animation from animated GIF source", - ]; - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFEncoder... - :: - */ - public function __construct( - $GIF_src, $GIF_dly, $GIF_lop, $GIF_dis, - $GIF_red, $GIF_grn, $GIF_blu, $GIF_mod - ) - { - if (!is_array($GIF_src)) { - printf("%s: %s", $this->VER, $this->ERR['ERR00']); - exit(0); - } - $this->LOP = ($GIF_lop > -1) ? $GIF_lop : 0; - $this->DIS = ($GIF_dis > -1) ? (($GIF_dis < 3) ? $GIF_dis : 3) : 2; - $this->COL = ($GIF_red > -1 && $GIF_grn > -1 && $GIF_blu > -1) ? - ($GIF_red | ($GIF_grn << 8) | ($GIF_blu << 16)) : -1; - for ($i = 0; $i < count($GIF_src); $i++) { - if (strtolower($GIF_mod) == "url") { - $this->BUF[] = fread(fopen($GIF_src[$i], "rb"), filesize($GIF_src[$i])); - } else if (strtolower($GIF_mod) == "bin") { - $this->BUF[] = $GIF_src[$i]; - } else { - printf("%s: %s ( %s )!", $this->VER, $this->ERR['ERR02'], $GIF_mod); - exit(0); - } - if (substr($this->BUF[$i], 0, 6) != "GIF87a" && substr($this->BUF[$i], 0, 6) != "GIF89a") { - printf("%s: %d %s", $this->VER, $i, $this->ERR['ERR01']); - exit(0); - } - for ($j = (13 + 3 * (2 << (ord($this->BUF[$i]{10}) & 0x07))), $k = true; $k; $j++) { - switch ($this->BUF[$i]{$j}) { - case "!": - if ((substr($this->BUF[$i], ($j + 3), 8)) == "NETSCAPE") { - printf("%s: %s ( %s source )!", $this->VER, $this->ERR['ERR03'], ($i + 1)); - exit(0); - } - break; - case ";": - $k = false; - break; - } - } - } - $this->addHeader(); - for ($i = 0; $i < count($this->BUF); $i++) { - $this->addFrames($i, $GIF_dly[$i]); - } - $this->addFooter(); - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFAddHeader... - :: - */ - public function addHeader() - { - if (ord($this->BUF[0]{10}) & 0x80) { - $cmap = 3 * (2 << (ord($this->BUF[0]{10}) & 0x07)); - $this->GIF .= substr($this->BUF[0], 6, 7); - $this->GIF .= substr($this->BUF[0], 13, $cmap); - $this->GIF .= "!\377\13NETSCAPE2.0\3\1" . $this->word($this->LOP) . "\0"; - } - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFAddFrames... - :: - */ - public function addFrames($i, $d) - { - $Locals_img = ''; - $Locals_str = 13 + 3 * (2 << (ord($this->BUF[$i]{10}) & 0x07)); - $Locals_end = strlen($this->BUF[$i]) - $Locals_str - 1; - $Locals_tmp = substr($this->BUF[$i], $Locals_str, $Locals_end); - $Global_len = 2 << (ord($this->BUF[0]{10}) & 0x07); - $Locals_len = 2 << (ord($this->BUF[$i]{10}) & 0x07); - $Global_rgb = substr($this->BUF[0], 13, - 3 * (2 << (ord($this->BUF[0]{10}) & 0x07))); - $Locals_rgb = substr($this->BUF[$i], 13, - 3 * (2 << (ord($this->BUF[$i]{10}) & 0x07))); - $Locals_ext = "!\xF9\x04" . chr(($this->DIS << 2) + 0) . - chr(($d >> 0) & 0xFF) . chr(($d >> 8) & 0xFF) . "\x0\x0"; - if ($this->COL > -1 && ord($this->BUF[$i]{10}) & 0x80) { - for ($j = 0; $j < (2 << (ord($this->BUF[$i]{10}) & 0x07)); $j++) { - if ( - ord($Locals_rgb{3 * $j + 0}) == (($this->COL >> 16) & 0xFF) && - ord($Locals_rgb{3 * $j + 1}) == (($this->COL >> 8) & 0xFF) && - ord($Locals_rgb{3 * $j + 2}) == (($this->COL >> 0) & 0xFF) - ) { - $Locals_ext = "!\xF9\x04" . chr(($this->DIS << 2) + 1) . - chr(($d >> 0) & 0xFF) . chr(($d >> 8) & 0xFF) . chr($j) . "\x0"; - break; - } - } - } - switch ($Locals_tmp{0}) { - case "!": - /** - * @var string $Locals_img ; - */ - $Locals_img = substr($Locals_tmp, 8, 10); - $Locals_tmp = substr($Locals_tmp, 18, strlen($Locals_tmp) - 18); - break; - case ",": - $Locals_img = substr($Locals_tmp, 0, 10); - $Locals_tmp = substr($Locals_tmp, 10, strlen($Locals_tmp) - 10); - break; - } - if (ord($this->BUF[$i]{10}) & 0x80 && $this->IMG > -1) { - if ($Global_len == $Locals_len) { - if ($this->blockCompare($Global_rgb, $Locals_rgb, $Global_len)) { - $this->GIF .= ($Locals_ext . $Locals_img . $Locals_tmp); - } else { - $byte = ord($Locals_img{9}); - $byte |= 0x80; - $byte &= 0xF8; - $byte |= (ord($this->BUF[0]{10}) & 0x07); - $Locals_img{9} = chr($byte); - $this->GIF .= ($Locals_ext . $Locals_img . $Locals_rgb . $Locals_tmp); - } - } else { - $byte = ord($Locals_img{9}); - $byte |= 0x80; - $byte &= 0xF8; - $byte |= (ord($this->BUF[$i]{10}) & 0x07); - $Locals_img{9} = chr($byte); - $this->GIF .= ($Locals_ext . $Locals_img . $Locals_rgb . $Locals_tmp); - } - } else { - $this->GIF .= ($Locals_ext . $Locals_img . $Locals_tmp); - } - $this->IMG = 1; - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFAddFooter... - :: - */ - public function addFooter() - { - $this->GIF .= ";"; - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFBlockCompare... - :: - */ - public function blockCompare($GlobalBlock, $LocalBlock, $Len) - { - for ($i = 0; $i < $Len; $i++) { - if ( - $GlobalBlock{3 * $i + 0} != $LocalBlock{3 * $i + 0} || - $GlobalBlock{3 * $i + 1} != $LocalBlock{3 * $i + 1} || - $GlobalBlock{3 * $i + 2} != $LocalBlock{3 * $i + 2} - ) { - return (0); - } - } - return (1); - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GIFWord... - :: - */ - public function word($int) - { - return (chr($int & 0xFF) . chr(($int >> 8) & 0xFF)); - } - - /* - ::::::::::::::::::::::::::::::::::::::::::::::::::: - :: - :: GetAnimation... - :: - */ - public function getAnimation() - { - return ($this->GIF); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/src/image/gif/Gif.php b/vendor/topthink/think-image/src/image/gif/Gif.php deleted file mode 100644 index b8909158..00000000 --- a/vendor/topthink/think-image/src/image/gif/Gif.php +++ /dev/null @@ -1,88 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\image\gif; - -class Gif -{ - /** - * GIF帧列表 - * - * @var array - */ - private $frames = []; - /** - * 每帧等待时间列表 - * - * @var array - */ - private $delays = []; - - /** - * 构造方法,用于解码GIF图片 - * - * @param string $src GIF图片数据 - * @param string $mod 图片数据类型 - * @throws \Exception - */ - public function __construct($src = null, $mod = 'url') - { - if (!is_null($src)) { - if ('url' == $mod && is_file($src)) { - $src = file_get_contents($src); - } - /* 解码GIF图片 */ - try { - $de = new Decoder($src); - $this->frames = $de->getFrames(); - $this->delays = $de->getDelays(); - } catch (\Exception $e) { - throw new \Exception("解码GIF图片出错"); - } - } - } - - /** - * 设置或获取当前帧的数据 - * - * @param string $stream 二进制数据流 - * @return mixed 获取到的数据 - */ - public function image($stream = null) - { - if (is_null($stream)) { - $current = current($this->frames); - return false === $current ? reset($this->frames) : $current; - } - $this->frames[key($this->frames)] = $stream; - } - - /** - * 将当前帧移动到下一帧 - * - * @return string 当前帧数据 - */ - public function nextImage() - { - return next($this->frames); - } - - /** - * 编码并保存当前GIF图片 - * - * @param string $pathname 图片名称 - */ - public function save($pathname) - { - $gif = new Encoder($this->frames, $this->delays, 0, 2, 0, 0, 0, 'bin'); - file_put_contents($pathname, $gif->getAnimation()); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/CropTest.php b/vendor/topthink/think-image/tests/CropTest.php deleted file mode 100644 index 26a05313..00000000 --- a/vendor/topthink/think-image/tests/CropTest.php +++ /dev/null @@ -1,67 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class CropTest extends TestCase -{ - public function testJpeg() - { - $pathname = TEST_PATH . 'tmp/crop.jpg'; - $image = Image::open($this->getJpeg()); - - $image->crop(200, 200, 100, 100, 300, 300)->save($pathname); - - $this->assertEquals(300, $image->width()); - $this->assertEquals(300, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testPng() - { - $pathname = TEST_PATH . 'tmp/crop.png'; - $image = Image::open($this->getPng()); - - $image->crop(200, 200, 100, 100, 300, 300)->save($pathname); - - $this->assertEquals(300, $image->width()); - $this->assertEquals(300, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testGif() - { - $pathname = TEST_PATH . 'tmp/crop.gif'; - $image = Image::open($this->getGif()); - - $image->crop(200, 200, 100, 100, 300, 300)->save($pathname); - - $this->assertEquals(300, $image->width()); - $this->assertEquals(300, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/FlipTest.php b/vendor/topthink/think-image/tests/FlipTest.php deleted file mode 100644 index bf7a5e26..00000000 --- a/vendor/topthink/think-image/tests/FlipTest.php +++ /dev/null @@ -1,43 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class FlipTest extends TestCase -{ - public function testJpeg() - { - $pathname = TEST_PATH . 'tmp/flip.jpg'; - $image = Image::open($this->getJpeg()); - $image->flip()->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - - public function testGif() - { - $pathname = TEST_PATH . 'tmp/flip.gif'; - $image = Image::open($this->getGif()); - $image->flip(Image::FLIP_Y)->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/InfoTest.php b/vendor/topthink/think-image/tests/InfoTest.php deleted file mode 100644 index 22132ca4..00000000 --- a/vendor/topthink/think-image/tests/InfoTest.php +++ /dev/null @@ -1,60 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class InfoTest extends TestCase -{ - - public function testOpen() - { - $this->setExpectedException("\\think\\image\\Exception"); - Image::open(''); - } - - public function testIllegal() - { - $this->setExpectedException("\\think\\image\\Exception", 'Illegal image file'); - Image::open(TEST_PATH . 'images/test.bmp'); - } - - public function testJpeg() - { - $image = Image::open($this->getJpeg()); - $this->assertEquals(800, $image->width()); - $this->assertEquals(600, $image->height()); - $this->assertEquals('jpeg', $image->type()); - $this->assertEquals('image/jpeg', $image->mime()); - $this->assertEquals([800, 600], $image->size()); - } - - - public function testPng() - { - $image = Image::open($this->getPng()); - $this->assertEquals(800, $image->width()); - $this->assertEquals(600, $image->height()); - $this->assertEquals('png', $image->type()); - $this->assertEquals('image/png', $image->mime()); - $this->assertEquals([800, 600], $image->size()); - } - - public function testGif() - { - $image = Image::open($this->getGif()); - $this->assertEquals(380, $image->width()); - $this->assertEquals(216, $image->height()); - $this->assertEquals('gif', $image->type()); - $this->assertEquals('image/gif', $image->mime()); - $this->assertEquals([380, 216], $image->size()); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/RotateTest.php b/vendor/topthink/think-image/tests/RotateTest.php deleted file mode 100644 index 56572d27..00000000 --- a/vendor/topthink/think-image/tests/RotateTest.php +++ /dev/null @@ -1,42 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class RotateTest extends TestCase -{ - public function testJpeg() - { - $pathname = TEST_PATH . 'tmp/rotate.jpg'; - $image = Image::open($this->getJpeg()); - $image->rotate(90)->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testGif() - { - $pathname = TEST_PATH . 'tmp/rotate.gif'; - $image = Image::open($this->getGif()); - $image->rotate(90)->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/TestCase.php b/vendor/topthink/think-image/tests/TestCase.php deleted file mode 100644 index 89ba1b45..00000000 --- a/vendor/topthink/think-image/tests/TestCase.php +++ /dev/null @@ -1,33 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace tests; - -use think\File; - -abstract class TestCase extends \PHPUnit_Framework_TestCase -{ - - protected function getJpeg() - { - return new File(TEST_PATH . 'images/test.jpg'); - } - - protected function getPng() - { - return new File(TEST_PATH . 'images/test.png'); - } - - protected function getGif() - { - return new File(TEST_PATH . 'images/test.gif'); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/TextTest.php b/vendor/topthink/think-image/tests/TextTest.php deleted file mode 100644 index 04506a27..00000000 --- a/vendor/topthink/think-image/tests/TextTest.php +++ /dev/null @@ -1,58 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class TextTest extends TestCase -{ - public function testJpeg() - { - $pathname = TEST_PATH . 'tmp/text.jpg'; - $image = Image::open($this->getJpeg()); - - $image->text('test', TEST_PATH . 'images/test.ttf', 12)->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testPng() - { - $pathname = TEST_PATH . 'tmp/text.png'; - $image = Image::open($this->getPng()); - - $image->text('test', TEST_PATH . 'images/test.ttf', 12)->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testGif() - { - $pathname = TEST_PATH . 'tmp/text.gif'; - $image = Image::open($this->getGif()); - - $image->text('test', TEST_PATH . 'images/test.ttf', 12)->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/ThumbTest.php b/vendor/topthink/think-image/tests/ThumbTest.php deleted file mode 100644 index 07113c8e..00000000 --- a/vendor/topthink/think-image/tests/ThumbTest.php +++ /dev/null @@ -1,284 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class ThumbTest extends TestCase -{ - public function testJpeg() - { - $pathname = TEST_PATH . 'tmp/thumb.jpg'; - - //1 - $image = Image::open($this->getJpeg()); - - $image->thumb(200, 200, Image::THUMB_CENTER)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //2 - $image = Image::open($this->getJpeg()); - - $image->thumb(200, 200, Image::THUMB_SCALING)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(150, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //3 - $image = Image::open($this->getJpeg()); - - $image->thumb(200, 200, Image::THUMB_FILLED)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //4 - $image = Image::open($this->getJpeg()); - - $image->thumb(200, 200, Image::THUMB_NORTHWEST)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //5 - $image = Image::open($this->getJpeg()); - - $image->thumb(200, 200, Image::THUMB_SOUTHEAST)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //6 - $image = Image::open($this->getJpeg()); - - $image->thumb(200, 200, Image::THUMB_FIXED)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - - public function testPng() - { - $pathname = TEST_PATH . 'tmp/thumb.png'; - - //1 - $image = Image::open($this->getPng()); - - $image->thumb(200, 200, Image::THUMB_CENTER)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //2 - $image = Image::open($this->getPng()); - - $image->thumb(200, 200, Image::THUMB_SCALING)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(150, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //3 - $image = Image::open($this->getPng()); - - $image->thumb(200, 200, Image::THUMB_FILLED)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //4 - $image = Image::open($this->getPng()); - - $image->thumb(200, 200, Image::THUMB_NORTHWEST)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //5 - $image = Image::open($this->getPng()); - - $image->thumb(200, 200, Image::THUMB_SOUTHEAST)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //6 - $image = Image::open($this->getPng()); - - $image->thumb(200, 200, Image::THUMB_FIXED)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testGif() - { - $pathname = TEST_PATH . 'tmp/thumb.gif'; - - //1 - $image = Image::open($this->getGif()); - - $image->thumb(200, 200, Image::THUMB_CENTER)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //2 - $image = Image::open($this->getGif()); - - $image->thumb(200, 200, Image::THUMB_SCALING)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(113, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //3 - $image = Image::open($this->getGif()); - - $image->thumb(200, 200, Image::THUMB_FILLED)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //4 - $image = Image::open($this->getGif()); - - $image->thumb(200, 200, Image::THUMB_NORTHWEST)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //5 - $image = Image::open($this->getGif()); - - $image->thumb(200, 200, Image::THUMB_SOUTHEAST)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - - //6 - $image = Image::open($this->getGif()); - - $image->thumb(200, 200, Image::THUMB_FIXED)->save($pathname); - - $this->assertEquals(200, $image->width()); - $this->assertEquals(200, $image->height()); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/WaterTest.php b/vendor/topthink/think-image/tests/WaterTest.php deleted file mode 100644 index b6a2bcce..00000000 --- a/vendor/topthink/think-image/tests/WaterTest.php +++ /dev/null @@ -1,58 +0,0 @@ - -// +---------------------------------------------------------------------- -namespace tests; - -use think\Image; - -class WaterTest extends TestCase -{ - public function testJpeg() - { - $pathname = TEST_PATH . 'tmp/water.jpg'; - $image = Image::open($this->getJpeg()); - - $image->water(TEST_PATH . 'images/test.gif')->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testPng() - { - $pathname = TEST_PATH . 'tmp/water.png'; - $image = Image::open($this->getPng()); - - $image->water(TEST_PATH . 'images/test.gif')->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } - - public function testGif() - { - $pathname = TEST_PATH . 'tmp/water.gif'; - $image = Image::open($this->getGif()); - - $image->water(TEST_PATH . 'images/test.jpg')->save($pathname); - - $file = new \SplFileInfo($pathname); - - $this->assertTrue($file->isFile()); - - @unlink($pathname); - } -} \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/autoload.php b/vendor/topthink/think-image/tests/autoload.php deleted file mode 100644 index f2e8aaef..00000000 --- a/vendor/topthink/think-image/tests/autoload.php +++ /dev/null @@ -1,15 +0,0 @@ - -// +---------------------------------------------------------------------- -define('TEST_PATH', __DIR__ . '/'); -// 加载框架基础文件 -require __DIR__ . '/../thinkphp/base.php'; -\think\Loader::addNamespace('tests', TEST_PATH); -\think\Loader::addNamespace('think', __DIR__ . '/../src/'); \ No newline at end of file diff --git a/vendor/topthink/think-image/tests/images/test.gif b/vendor/topthink/think-image/tests/images/test.gif deleted file mode 100644 index c6d54720..00000000 Binary files a/vendor/topthink/think-image/tests/images/test.gif and /dev/null differ diff --git a/vendor/topthink/think-image/tests/images/test.jpg b/vendor/topthink/think-image/tests/images/test.jpg deleted file mode 100644 index 4bb65491..00000000 Binary files a/vendor/topthink/think-image/tests/images/test.jpg and /dev/null differ diff --git a/vendor/topthink/think-image/tests/images/test.png b/vendor/topthink/think-image/tests/images/test.png deleted file mode 100644 index f4830e32..00000000 Binary files a/vendor/topthink/think-image/tests/images/test.png and /dev/null differ diff --git a/vendor/topthink/think-image/tests/images/test.ttf b/vendor/topthink/think-image/tests/images/test.ttf deleted file mode 100644 index 4f985c86..00000000 Binary files a/vendor/topthink/think-image/tests/images/test.ttf and /dev/null differ diff --git a/vendor/topthink/think-image/tests/tmp/.gitignore b/vendor/topthink/think-image/tests/tmp/.gitignore deleted file mode 100644 index c96a04f0..00000000 --- a/vendor/topthink/think-image/tests/tmp/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore \ No newline at end of file diff --git a/vendor/topthink/think-installer/.gitignore b/vendor/topthink/think-installer/.gitignore deleted file mode 100644 index 8f4c02d4..00000000 --- a/vendor/topthink/think-installer/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/.idea -composer.lock -/vendor \ No newline at end of file diff --git a/vendor/topthink/think-installer/composer.json b/vendor/topthink/think-installer/composer.json deleted file mode 100644 index 08bc72b9..00000000 --- a/vendor/topthink/think-installer/composer.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "topthink/think-installer", - "type": "composer-plugin", - "require": { - "composer-plugin-api": "^1.0||^2.0" - }, - "require-dev": { - "composer/composer": "^1.0||^2.0" - }, - "license": "Apache-2.0", - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "autoload": { - "psr-4": { - "think\\composer\\": "src" - } - }, - "extra": { - "class": "think\\composer\\Plugin" - } -} diff --git a/vendor/topthink/think-installer/src/LibraryInstaller.php b/vendor/topthink/think-installer/src/LibraryInstaller.php deleted file mode 100644 index 45c05bca..00000000 --- a/vendor/topthink/think-installer/src/LibraryInstaller.php +++ /dev/null @@ -1,28 +0,0 @@ -makePromise(parent::install($repo, $package)); - } - - public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target) - { - return $this->makePromise(parent::update($repo, $initial, $target)); - } - - protected function makePromise($promise) - { - if ($promise instanceof PromiseInterface) { - return $promise; - } - return new Promise(); - } -} diff --git a/vendor/topthink/think-installer/src/Plugin.php b/vendor/topthink/think-installer/src/Plugin.php deleted file mode 100644 index 44152320..00000000 --- a/vendor/topthink/think-installer/src/Plugin.php +++ /dev/null @@ -1,34 +0,0 @@ -getInstallationManager(); - - //框架核心 - $manager->addInstaller(new ThinkFramework($io, $composer)); - - //单元测试 - $manager->addInstaller(new ThinkTesting($io, $composer)); - - //扩展 - $manager->addInstaller(new ThinkExtend($io, $composer)); - } - - public function deactivate(Composer $composer, IOInterface $io) - { - - } - - public function uninstall(Composer $composer, IOInterface $io) - { - - } -} diff --git a/vendor/topthink/think-installer/src/Promise.php b/vendor/topthink/think-installer/src/Promise.php deleted file mode 100644 index 6bfed5d3..00000000 --- a/vendor/topthink/think-installer/src/Promise.php +++ /dev/null @@ -1,11 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\composer; - -use Composer\Package\PackageInterface; -use Composer\Repository\InstalledRepositoryInterface; - -class ThinkExtend extends LibraryInstaller -{ - public function install(InstalledRepositoryInterface $repo, PackageInterface $package) - { - return parent::install($repo, $package) - ->then(function () use ($package) { - $this->copyExtraFiles($package); - }); - } - - public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target) - { - return parent::update($repo, $initial, $target) - ->then(function () use ($target) { - $this->copyExtraFiles($target); - }); - } - - protected function copyExtraFiles(PackageInterface $package) - { - if ($this->composer->getPackage()->getType() == 'project') { - - $extra = $package->getExtra(); - - if (!empty($extra['think-config'])) { - - $configDir = 'config'; - - $this->filesystem->ensureDirectoryExists($configDir); - - //配置文件 - foreach ((array) $extra['think-config'] as $name => $config) { - $target = $configDir . DIRECTORY_SEPARATOR . $name . '.php'; - $source = $this->getInstallPath($package) . DIRECTORY_SEPARATOR . $config; - - if (is_file($target)) { - $this->io->write("File {$target} exist!"); - continue; - } - - if (!is_file($source)) { - $this->io->write("File {$target} not exist!"); - continue; - } - - copy($source, $target); - } - } - } - } - - public function supports($packageType) - { - return 'think-extend' === $packageType; - } -} diff --git a/vendor/topthink/think-installer/src/ThinkFramework.php b/vendor/topthink/think-installer/src/ThinkFramework.php deleted file mode 100644 index 2a7cc038..00000000 --- a/vendor/topthink/think-installer/src/ThinkFramework.php +++ /dev/null @@ -1,66 +0,0 @@ -getPrettyName()) { - throw new InvalidArgumentException('Unable to install this library!'); - } - - if ($this->composer->getPackage()->getType() !== 'project') { - return parent::getInstallPath($package); - } - - if ($this->composer->getPackage()) { - $extra = $this->composer->getPackage()->getExtra(); - if (!empty($extra['think-path'])) { - return $extra['think-path']; - } - } - - return 'thinkphp'; - } - - public function install(InstalledRepositoryInterface $repo, PackageInterface $package) - { - return parent::install($repo, $package) - ->then(function () use ($package) { - $this->removeTestDir($package); - }); - } - - public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target) - { - return parent::update($repo, $initial, $target) - ->then(function () use ($target) { - $this->removeTestDir($target); - }); - } - - protected function removeTestDir(PackageInterface $target) - { - if ($this->composer->getPackage()->getType() == 'project' && $target->getInstallationSource() != 'source') { - //remove tests dir - $this->filesystem->removeDirectory($this->getInstallPath($target) . DIRECTORY_SEPARATOR . 'tests'); - } - } - - /** - * {@inheritDoc} - */ - public function supports($packageType) - { - return 'think-framework' === $packageType; - } -} diff --git a/vendor/topthink/think-installer/src/ThinkTesting.php b/vendor/topthink/think-installer/src/ThinkTesting.php deleted file mode 100644 index af74d20e..00000000 --- a/vendor/topthink/think-installer/src/ThinkTesting.php +++ /dev/null @@ -1,66 +0,0 @@ - -// +---------------------------------------------------------------------- - -namespace think\composer; - -use Composer\Package\PackageInterface; -use Composer\Repository\InstalledRepositoryInterface; -use InvalidArgumentException; - -class ThinkTesting extends LibraryInstaller -{ - /** - * {@inheritDoc} - */ - public function getInstallPath(PackageInterface $package) - { - if ('topthink/think-testing' !== $package->getPrettyName()) { - throw new InvalidArgumentException('Unable to install this library!'); - } - - return parent::getInstallPath($package); - } - - public function install(InstalledRepositoryInterface $repo, PackageInterface $package) - { - return parent::install($repo, $package) - ->then(function () use ($package) { - $this->copyTestDir($package); - }); - } - - public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target) - { - return parent::update($repo, $initial, $target) - ->then(function () use ($target) { - $this->copyTestDir($target); - }); - } - - private function copyTestDir(PackageInterface $package) - { - $appDir = dirname($this->vendorDir); - $source = $this->getInstallPath($package) . DIRECTORY_SEPARATOR . 'example'; - if (!is_file($appDir . DIRECTORY_SEPARATOR . 'phpunit.xml')) { - $this->filesystem->copyThenRemove($source, $appDir); - } else { - $this->filesystem->removeDirectoryPhp($source); - } - } - - /** - * {@inheritDoc} - */ - public function supports($packageType) - { - return 'think-testing' === $packageType; - } -} diff --git a/vendor/upyun/sdk/.editorconfig b/vendor/upyun/sdk/.editorconfig deleted file mode 100644 index e6cda154..00000000 --- a/vendor/upyun/sdk/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*.{php,html}] -indent_style = space -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/vendor/upyun/sdk/.gitattributes b/vendor/upyun/sdk/.gitattributes deleted file mode 100644 index 7cf65400..00000000 --- a/vendor/upyun/sdk/.gitattributes +++ /dev/null @@ -1,6 +0,0 @@ -* text=auto - -/examples export-ignore -/tests export-ignore -/doc.md export-ignore -/phpunit.xml export-ignore diff --git a/vendor/upyun/sdk/.gitignore b/vendor/upyun/sdk/.gitignore deleted file mode 100644 index b7e3f72d..00000000 --- a/vendor/upyun/sdk/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -.DS_Store -.idea -vendor -composer.lock -release* -.php_cs.cache -coverage.clover diff --git a/vendor/upyun/sdk/.scrutinizer.yml b/vendor/upyun/sdk/.scrutinizer.yml deleted file mode 100644 index 5d0df19d..00000000 --- a/vendor/upyun/sdk/.scrutinizer.yml +++ /dev/null @@ -1,23 +0,0 @@ -build: - environment: - php: - version: 5.5 - dependencies: - before: - - composer install - tests: - override: - - - command: phpunit - coverage: - file: coverage.clover - format: clover -filter: - paths: - - 'src/*' - - 'tests/*' - -tools: - php_code_sniffer: - config: - standard: PSR2 diff --git a/vendor/upyun/sdk/CHANGELOG.md b/vendor/upyun/sdk/CHANGELOG.md deleted file mode 100644 index 5956ec67..00000000 --- a/vendor/upyun/sdk/CHANGELOG.md +++ /dev/null @@ -1,18 +0,0 @@ -## 3.3.0 - -- 增加同步视频处理功能 - -## 3.0.0 - -- 重写 API 接口,不兼容 2.x 版本 -- 集合分块、刷新、视频预处理功能 - -## 2.2.0 - -- 增加 composer 支持,特别感谢 [@totoleo](https://github.com/totoleo) 将 `upyun/sdk` 仓库源修改为 UPYUN 官方项目地址 -- 移除不再推荐使用的 API:`rmDir deleteFile readDir getWritedFileInfo`),建议使用推荐方法替代 -- note: `2.1.0` 版本之前已经被 [@totoleo](https://github.com/totoleo) 使用 - -## 2.0.0 - -- 使用1.0.x系列版本SDK的用户,注意原有部分方法已经不再推荐使用(`@deprecated`标注),但是出于兼容考虑目前任然保留,建议更新升级程序使用新版SDK提供的方法。 diff --git a/vendor/upyun/sdk/LICENSE b/vendor/upyun/sdk/LICENSE deleted file mode 100644 index b1c803e7..00000000 --- a/vendor/upyun/sdk/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2016 UPYUN - -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/upyun/sdk/README.md b/vendor/upyun/sdk/README.md deleted file mode 100644 index 8eda96a7..00000000 --- a/vendor/upyun/sdk/README.md +++ /dev/null @@ -1,140 +0,0 @@ -# 又拍云 SDK for PHPer -[![Build Status](https://scrutinizer-ci.com/g/upyun/php-sdk/badges/build.png?b=master)](https://scrutinizer-ci.com/g/upyun/php-sdk/build-status/master) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/upyun/php-sdk/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/upyun/php-sdk/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/upyun/php-sdk/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/upyun/php-sdk/?branch=master) - -又拍云 PHP SDK,封装了[又拍云功能丰富的开放 API](http://docs.upyun.com/api/) ,帮助开发者快速对接文件云端存储、图片音视频云处理、智能鉴黄等功能 - -- [功能列表](#list) -- [使用说明](#use-instructions) - - [安装](#install) - - [文档](#doc) - - [示例](#usage) -- [贡献代码](#contribute) -- [社区](#community) -- [许可证](#license) - - - -## 功能列表 - -SDK 包含如下功能 - -- 基于 [rest api](http://docs.upyun.com/api/rest_api/) - - 文件上传下载、目录创建删除等云存储基本操作 - - [断点续传](http://docs.upyun.com/api/rest_api/#_3) -- 基于 [form api](http://docs.upyun.com/api/form_api/) - - 文件客户端上传 见`examples/client-upload` - - 上传预处理操作 - - [同步音频处理](http://docs.upyun.com/cloud/sync_audio/) - - [文档转换](http://docs.upyun.com/cloud/uconvert/) - - [异步图片音视频处理](http://docs.upyun.com/api/form_api/#_7) - - [异步图片智能鉴黄](http://docs.upyun.com/ai/audit/) -- [异步云处理](http://docs.upyun.com/cloud/) - - [视频音频](http://docs.upyun.com/cloud/av/)异步转码、切片、截图、水印、剪辑、拼接等功能 - - [文件异步解压缩](http://docs.upyun.com/cloud/unzip/) - - [文件异步拉取](http://docs.upyun.com/cloud/spider/) - - [异步图片拼接](http://docs.upyun.com/cloud/async_image/) -- [同步视频处理](http://docs.upyun.com/cloud/sync_video/):m3u8 文件同步拼接剪辑、其他视频文件同步截图功能 -- [缓存刷新](http://docs.upyun.com/api/purge/) - -*功能列表中的异步操作,均可以设置异步回调通知地址,接收异步处理结果* -*如果需要测试回调功能,可以通过[又拍云回调服务](https://hooks.upyun.com/)创建一个临时回调地址* - - -## 使用说明 - - -### 安装 - -#### PHP >= 5.5 - -1.使用 `composer` 安装 - -推荐使用该方法安装,成为优雅的 PHPer :fire: - -建议使用速度很快的国内[全量镜像](https://pkg.phpcomposer.com/#how-to-use-packagist-mirror)([又拍云赞助](https://pkg.phpcomposer.com/#donation)) - -``` -composer require upyun/sdk -``` - -2.如果不适应 `composer` 管理,可以直接下载[压缩包](https://github.com/upyun/php-sdk/releases)(注意需要下载 `php-sdk-版本号.zip` 格式的 zip 压缩包,不是 Source code 源码压缩包),解压后,项目中添加如下代码: - -``` -require_once '/path/to/php-sdk/vendor/autoload.php'; -``` - -### 文档 - -详细文档见 [doc.md](doc.md) - - -### 示例 - -先初始化又拍云服务配置: - -```php -require_once('vendor/autoload.php'); // 只针对使用 composer 安装 -// require_once '/path/to/php-sdk/vendor/autoload.php'; // 针对压缩包安装 - -use Upyun\Upyun; -use Upyun\Config; -$serviceConfig = new Config('yourServiceName', 'yourOperatorName', 'yourOperatorPwd'); -$client = new Upyun($serviceConfig); -``` - -#### 字符串写入又拍云服务器 - -``` -$client->write('/save/path', 'file content'); -``` - -#### 文件流写入又拍云服务器 - -``` -$file = fopen('/local/path/file', 'r'); -$client->write('/save/path', $file); -``` - -#### 使用并行式断点续传上传文件 - -``` -$serviceConfig->setUploadType('BLOCK_PARALLEL'); -$client = new Upyun($serviceConfig); -$file = fopen('/local/path/file', 'r'); -$client->write('/save/path', $file); -``` - -#### 上传图片并转换格式为 `png`,详见[上传作图](http://docs.upyun.com/cloud/image/#_2) - -``` -$file = fopen('/local/path/image.jpg', 'r'); -$client->write('/save/image.png', $file, array('x-gmkerl-thumb' => '/format/png')); -``` - -#### 下载文件并保存到本地 - -``` -$saveLocal = fopen('/local/path/image.jpg', 'w'); -// 第二个参数不传时,read 方法将直接返回文件内容 -$client->read('/remote/server/image.png', $saveLocal); -``` - - -## 贡献代码 - 1. Fork - 2. 为新特性创建一个新的分支 - 3. 发送一个 pull request 到 master 分支 - - -## 社区 - - - [问答社区](http://segmentfault.com/upyun) - - [微博](http://weibo.com/upaiyun) - - -## 许可证 - -UPYUN PHP-SDK 基于 MIT 开源协议 - - - diff --git a/vendor/upyun/sdk/RoboFile.php b/vendor/upyun/sdk/RoboFile.php deleted file mode 100644 index 0edbdf38..00000000 --- a/vendor/upyun/sdk/RoboFile.php +++ /dev/null @@ -1,38 +0,0 @@ -collectionBuilder(); - $workingPath = __DIR__ . DIRECTORY_SEPARATOR . $collection->workDir("release"); - $collection->taskExec("composer create-project {$package} {$name} {$version}") - ->dir($workingPath) - ->arg('--prefer-dist') - ->arg('--no-dev') - ->arg('-vvv') - ->taskExec('composer dump-autoload --optimize') - ->dir($workingPath . DIRECTORY_SEPARATOR . $name) - ->arg('-vvv'); - $collection->run(); - - $zipFile = "release/{$name}-{$version}.zip"; - $this->_remove($zipFile); - $this->taskPack($zipFile) - ->addDir("php-sdk", __DIR__ . "/release/php-sdk") - ->run(); - $this->_deleteDir("release/$name"); - } -} diff --git a/vendor/upyun/sdk/composer.json b/vendor/upyun/sdk/composer.json deleted file mode 100644 index 64315200..00000000 --- a/vendor/upyun/sdk/composer.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "upyun/sdk", - "description": "UPYUN sdk for php", - "keywords": ["UPYUN", "sdk"], - "type": "library", - "minimum-stability": "stable", - "homepage": "https://github.com/upyun/php-sdk/", - "license": "MIT", - "require": { - "php": ">=5.5.0", - "ext-curl": "*", - "guzzlehttp/guzzle": "~6.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0", - "phpdocumentor/phpdocumentor": "^2.9", - "consolidation/robo": "^1.0" - }, - "autoload": { - "psr-4": { "Upyun\\": "src/Upyun/" } - }, - "autoload-dev": { - "psr-4": { "Upyun\\Tests\\": "tests/" } - }, - "authors": [ - { - "name": "lfeng", - "email": "bonevv@gmail.com" - }, - { - "name": "lvtongda", - "email": "riyao.lyu@gmail.com" - }, - { - "name": "totoleo", - "email": "totoleo@163.com" - }, - { - "name": "sabakugaara", - "email": "senellise@gmail.com" - } - ] -} diff --git a/vendor/upyun/sdk/src/Upyun/Api/Form.php b/vendor/upyun/sdk/src/Upyun/Api/Form.php deleted file mode 100644 index 549c639f..00000000 --- a/vendor/upyun/sdk/src/Upyun/Api/Form.php +++ /dev/null @@ -1,44 +0,0 @@ -config->serviceName; - if (!isset($params['expiration'])) { - $params['expiration'] = time() + 30 * 60 * 60; // 30 分钟 - } - - $policy = Util::base64Json($params); - $method = 'POST'; - $signature = Signature::getBodySignature($this->config, $method, '/' . $params['service'], null, $policy); - $client = new Client([ - 'timeout' => $this->config->timeout, - ]); - - $response = $client->request($method, $this->endpoint, array( - 'multipart' => array( - array( - 'name' => 'policy', - 'contents' => $policy, - ), - array( - 'name' => 'authorization', - 'contents' => $signature, - ), - array( - 'name' => 'file', - 'contents' => $stream, - ) - ) - )); - return $response->getStatusCode() === 200; - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Api/Pretreat.php b/vendor/upyun/sdk/src/Upyun/Api/Pretreat.php deleted file mode 100644 index fd17a430..00000000 --- a/vendor/upyun/sdk/src/Upyun/Api/Pretreat.php +++ /dev/null @@ -1,84 +0,0 @@ -processNotifyUrl) { - throw new \Exception("should config prosessNotifyUrl first."); - } - $this->config = $config; - } - - public function process($tasks, $optionalParams = array()) - { - $encodedTasks = Util::base64Json($tasks); - - $client = new Client([ - 'timeout' => $this->config->timeout, - ]); - - $params = array( - 'service' => $this->config->serviceName, - 'notify_url' => $this->config->processNotifyUrl, - 'tasks' => $encodedTasks, - ); - - $params = array_merge($params, $optionalParams); - - $path = '/pretreatment/'; - $method = 'POST'; - $signedHeaders = Signature::getHeaderSign($this->config, $method, $path); - - $url = $this->config->getPretreatEndPoint() . $path; - $response = $client->request($method, $url, [ - 'headers' => $signedHeaders, - 'form_params' => $params - ]); - - $body = $response->getBody()->getContents(); - return json_decode($body, true); - } - - - public function query($taskIds, $path) - { - $client = new Client([ - 'timeout' => $this->config->timeout, - ]); - - $params = array( - 'service' => $this->config->serviceName, - 'task_ids' => implode(',', $taskIds) - ); - $path = $path . '?' . http_build_query($params); - - $method = 'GET'; - $url = $this->config->getPretreatEndPoint() . $path; - $signedHeaders = Signature::getHeaderSign($this->config, $method, $path); - $response = $client->request($method, $url, [ - 'headers' => $signedHeaders - ]); - - if ($response->getStatusCode() === 200) { - $body = $response->getBody()->getContents(); - $result = json_decode($body, true); - if (is_array($result)) { - return $result['tasks']; - } - } - return false; - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Api/Rest.php b/vendor/upyun/sdk/src/Upyun/Api/Rest.php deleted file mode 100644 index be4b0a04..00000000 --- a/vendor/upyun/sdk/src/Upyun/Api/Rest.php +++ /dev/null @@ -1,132 +0,0 @@ -config = $config; - $this->endpoint = $config->getProtocol() . Config::$restApiEndPoint . '/' . $config->serviceName; - } - - public function request($method, $storagePath) - { - $this->method = strtoupper($method); - $this->storagePath = '/' . ltrim($storagePath, '/'); - return $this; - } - - - /** - * @param string|resource $file - * - * @return $this - */ - public function withFile($file) - { - $stream = Psr7\stream_for($file); - $this->file = $stream; - - return $this; - } - - /** - * @return mixed|\Psr\Http\Message\ResponseInterface - */ - public function send() - { - $client = new Client([ - 'timeout' => $this->config->timeout, - ]); - - $url = $this->endpoint . $this->storagePath; - $body = null; - if ($this->file && $this->method === 'PUT') { - $body = $this->file; - } - - $request = new Psr7\Request( - $this->method, - Util::encodeURI($url), - $this->headers, - $body - ); - $authHeader = Signature::getHeaderSign($this->config, - $this->method, - $request->getUri()->getPath() - ); - foreach ($authHeader as $head => $value) { - $request = $request->withHeader($head, $value); - } - $response = $client->send($request, [ - 'debug' => $this->config->debug - ]); - - return $response; - } - - public function withHeader($header, $value) - { - $header = strtolower(trim($header)); - - $this->headers[$header] = $value; - return $this; - } - - public function withHeaders($headers) - { - if (is_array($headers)) { - foreach ($headers as $header => $value) { - $this->withHeader($header, $value); - } - } - return $this; - } - - public function toRequest() - { - $url = $this->endpoint . $this->storagePath; - $body = null; - if ($this->file && $this->method === 'PUT') { - $body = $this->file; - } - - $request = new Psr7\Request( - $this->method, - Util::encodeURI($url), - $this->headers, - $body - ); - $authHeader = Signature::getHeaderSign($this->config, - $this->method, - $request->getUri()->getPath() - ); - foreach ($authHeader as $head => $value) { - $request = $request->withHeader($head, $value); - } - return $request; - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Api/SyncVideo.php b/vendor/upyun/sdk/src/Upyun/Api/SyncVideo.php deleted file mode 100644 index 39d19723..00000000 --- a/vendor/upyun/sdk/src/Upyun/Api/SyncVideo.php +++ /dev/null @@ -1,42 +0,0 @@ -config = $config; - } - - public function process($params, $path) { - $client = new Client([ - 'timeout' => $this->config->timeout, - ]); - - $path = '/' . $this->config->serviceName . $path; - $method = 'POST'; - $signedHeaders = Signature::getHeaderSign($this->config, $method, $path); - - $url = $this->config->getSyncVideoEndPoint() . $path; - $response = $client->request($method, $url, [ - 'headers' => $signedHeaders, - 'json' => $params - ]); - - $body = $response->getBody()->getContents(); - return json_decode($body, true); - } -} \ No newline at end of file diff --git a/vendor/upyun/sdk/src/Upyun/Config.php b/vendor/upyun/sdk/src/Upyun/Config.php deleted file mode 100644 index 1b99b6c4..00000000 --- a/vendor/upyun/sdk/src/Upyun/Config.php +++ /dev/null @@ -1,162 +0,0 @@ -serviceName = $serviceName; - $this->bucketName = $serviceName; - $this->operatorName = $operatorName; - $this->setOperatorPassword($operatorPassword); - $this->useSsl = false; - self::$restApiEndPoint = self::ED_AUTO; - } - - public function setOperatorPassword($operatorPassword) - { - $this->operatorPassword = md5($operatorPassword); - } - - public function getFormApiKey() - { - if (! $this->formApiKey) { - throw new \Exception('form api key is empty.'); - } - - return $this->formApiKey; - } - - public function setFormApiKey($key) - { - $this->formApiKey = $key; - } - - public function getVersion() - { - return $this->version; - } - - public function getPretreatEndPoint() - { - return $this->getProtocol() . self::ED_VIDEO; - } - - public function getSyncVideoEndPoint() - { - return $this->getProtocol() . self::ED_SYNC_VIDEO; - } - - public function getProtocol() - { - return $this->useSsl ? 'https://' : 'http://'; - } - - public function setUploadType($uploadType) - { - $this->uploadType = $uploadType; - } - - public function setConcurrency($concurrency) - { - $this->concurrency = $concurrency; - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Signature.php b/vendor/upyun/sdk/src/Upyun/Signature.php deleted file mode 100644 index 0fb68fe0..00000000 --- a/vendor/upyun/sdk/src/Upyun/Signature.php +++ /dev/null @@ -1,98 +0,0 @@ - $sign, - 'Date' => $gmtDate, - 'User-agent' => 'Php-Sdk/' . $serviceConfig->getVersion() - ); - return $headers; - } - - /** - * 获取请求缓存刷新接口需要的签名头 - * - * @param Config $serviceConfig - * @param $urlString - * - * @return array - */ - public static function getPurgeSignHeader(Config $serviceConfig, $urlString) - { - $gmtDate = gmdate('D, d M Y H:i:s \G\M\T'); - $sign = md5("$urlString&{$serviceConfig->serviceName}&$gmtDate&{$serviceConfig->operatorPassword}"); - return array( - 'Authorization' => "UpYun {$serviceConfig->serviceName}:{$serviceConfig->operatorName}:$sign", - 'Date' => $gmtDate, - 'User-agent' => 'Php-Sdk/' . $serviceConfig->getVersion() . ' (purge api)' - ); - } - - /** - * 获取表单 API 需要的签名,依据 body 签名规则计算 - * @param Config $serviceConfig - * @param $method 请求方法 - * @param $uri 请求路径 - * @param $date 请求时间 - * @param $policy - * @param $contentMd5 请求 body 的 md5 - * - * @return array - */ - public static function getBodySignature(Config $serviceConfig, $method, $uri, $date = null, $policy = null, $contentMd5 = null) - { - $data = array( - $method, - $uri - ); - if ($date) { - $data[] = $date; - } - - if ($policy) { - $data[] = $policy; - } - - if ($contentMd5) { - $data[] = $contentMd5; - } - $signature = base64_encode(hash_hmac('sha1', implode('&', $data), $serviceConfig->operatorPassword, true)); - return 'UPYUN ' . $serviceConfig->operatorName . ':' . $signature; - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Uploader.php b/vendor/upyun/sdk/src/Upyun/Uploader.php deleted file mode 100644 index 95e6f2f5..00000000 --- a/vendor/upyun/sdk/src/Upyun/Uploader.php +++ /dev/null @@ -1,202 +0,0 @@ -config = $config; - } - - public function upload($path, $file, $params, $withAsyncProcess) - { - $stream = Psr7\stream_for($file); - $size = $stream->getSize(); - $useBlock = $this->needUseBlock($size); - - if ($withAsyncProcess) { - $req = new Form($this->config); - return $req->upload($path, $stream, $params); - } - - if (! $useBlock) { - $req = new Rest($this->config); - return $req->request('PUT', $path) - ->withHeaders($params) - ->withFile($stream) - ->send(); - } elseif ($this->config->uploadType === 'BLOCK_PARALLEL') { - return $this->concurrentPointUpload($path, $stream, $params); - } else { - return $this->pointUpload($path, $stream, $params); - } - } - - /** - * 串行式断点续传 - * @param $path - * @param $stream - * @param $params - * - * @return mixed|\Psr\Http\Message\ResponseInterface - * @throws \Exception - */ - private function pointUpload($path, $stream, $params) - { - $req = new Rest($this->config); - $headers = array(); - if (is_array($params)) { - foreach ($params as $key => $val) { - $headers['X-Upyun-Meta-' . $key] = $val; - } - } - $res = $req->request('PUT', $path) - ->withHeaders(array_merge(array( - 'X-Upyun-Multi-Stage' => 'initiate', - 'X-Upyun-Multi-Type' => Psr7\mimetype_from_filename($path), - 'X-Upyun-Multi-Length' => $stream->getSize(), - ), $headers)) - ->send(); - if ($res->getStatusCode() !== 204) { - throw new \Exception('init request failed when poinit upload!'); - } - - $init = Util::getHeaderParams($res->getHeaders()); - $uuid = $init['x-upyun-multi-uuid']; - $blockSize = 1024 * 1024; - $partId = 0; - do { - $fileBlock = $stream->read($blockSize); - $res = $req->request('PUT', $path) - ->withHeaders(array( - 'X-Upyun-Multi-Stage' => 'upload', - 'X-Upyun-Multi-Uuid' => $uuid, - 'X-Upyun-Part-Id' => $partId - )) - ->withFile(Psr7\stream_for($fileBlock)) - ->send(); - - if ($res->getStatusCode() !== 204) { - throw new \Exception('upload request failed when poinit upload!'); - } - $data = Util::getHeaderParams($res->getHeaders()); - $partId = $data['x-upyun-next-part-id']; - } while ($partId != -1); - - $res = $req->request('PUT', $path) - ->withHeaders(array( - 'X-Upyun-Multi-Uuid' => $uuid, - 'X-Upyun-Multi-Stage' => 'complete' - )) - ->send(); - - if ($res->getStatusCode() != 204 && $res->getStatusCode() != 201) { - throw new \Exception('end request failed when poinit upload!'); - } - return $res; - } - - private function needUseBlock($fileSize) - { - if ($this->config->uploadType === 'BLOCK' || - $this->config->uploadType === 'BLOCK_PARALLEL') { - return true; - } elseif ($this->config->uploadType === 'AUTO' && - $fileSize >= $this->config->sizeBoundary) { - return true; - } else { - return false; - } - } - - /** - * 并行式断点续传 - * @param $path - * @param $stream - * @param $params - * - * @return mixed|\Psr\Http\Message\ResponseInterface - * @throws \Exception - */ - private function concurrentPointUpload($path, $stream, $params) - { - $req = new Rest($this->config); - - $headers = array(); - if (is_array($params)) { - foreach ($params as $key => $val) { - $headers['X-Upyun-Meta-' . $key] = $val; - } - } - $res = $req->request('PUT', $path) - ->withHeaders(array_merge(array( - 'X-Upyun-Multi-Disorder' => 'true', - 'X-Upyun-Multi-Stage' => 'initiate', - 'X-Upyun-Multi-Type' => Psr7\mimetype_from_filename($path), - 'X-Upyun-Multi-Length' => $stream->getSize(), - ), $headers)) - ->send(); - if ($res->getStatusCode() !== 204) { - throw new \Exception('init request failed when poinit upload!'); - } - - $init = Util::getHeaderParams($res->getHeaders()); - $uuid = $init['x-upyun-multi-uuid']; - $requests = function ($req, $path, $stream, $uuid) { - $blockSize = 1024 * 1024; - $total = ceil($stream->getSize() / $blockSize); - for ($i = 0; $i < $total; $i++) { - $fileBlock = $stream->read($blockSize); - yield $req->request('PUT', $path) - ->withHeaders(array( - 'X-Upyun-Multi-Stage' => 'upload', - 'X-Upyun-Multi-Uuid' => $uuid, - 'X-Upyun-Part-Id' => $i - )) - ->withFile(Psr7\stream_for($fileBlock)) - ->toRequest(); - } - }; - $client = new Client([ - 'timeout' => $this->config->timeout, - ]); - $pool = new Pool($client, $requests($req, $path, $stream, $uuid), [ - 'concurrency' => $this->config->concurrency, - 'fulfilled' => function ($res) { - if ($res->getStatusCode() !== 204) { - throw new \Exception('upload request failed when poinit upload!'); - } - }, - 'rejected' => function () { - throw new \Exception('upload request failed when poinit upload!'); - }, - ]); - $promise = $pool->promise(); - $promise->wait(); - - $res = $req->request('PUT', $path) - ->withHeaders(array( - 'X-Upyun-Multi-Uuid' => $uuid, - 'X-Upyun-Multi-Stage' => 'complete' - )) - ->send(); - if ($res->getStatusCode() != 204 && $res->getStatusCode() != 201) { - throw new \Exception('end request failed when poinit upload!'); - } - return $res; - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Upyun.php b/vendor/upyun/sdk/src/Upyun/Upyun.php deleted file mode 100644 index e74c6c7b..00000000 --- a/vendor/upyun/sdk/src/Upyun/Upyun.php +++ /dev/null @@ -1,574 +0,0 @@ -setConfig($config); - } - - /** - * 配置服务信息 - * - * 当需要操作的新的服务时,使用该方法传入新的服务配置即可 - * - * @param Config $config 服务配置 - * - * @return $this - */ - public function setConfig(Config $config) - { - $this->config = $config; - return $this; - } - - /** - * 上传一个文件到又拍云存储 - * - * 上传的文件格式支持文件流或者字符串方式上传。除简单的文件上传外,针对多媒体资源(图片、音视频),还可以设置同步/异步预处理多媒体资源,例如:图片的裁剪缩放,音视频的转码截图等等众多又拍云强大的云处理功能 - * - * @param string $path 被上传的文件在又拍云存储服务中保存的路径 - * @param string|resource $content 被上传的文件内容(字符串),或者打开该文件获得的文件句柄(文件流)。当上传本地大文件时,推荐使用文件流的方式上传 - * @param array $params 上传文件时,附加的自定义参数。支持 Content-MD5 Content-Type Content-Secret 等,详见 [上传参数](http://docs.upyun.com/api/rest_api/#_2),例如: - * - 设置文件[保护秘钥](http://docs.upyun.com/api/rest_api/#Content-Secret) `write($path, $content, array('Content-Secret' => 'my-secret'))`; - * - 添加[文件元信息](http://docs.upyun.com/api/rest_api/#metadata) `write($path, $content, array('X-Upyun-Meta-Foo' => - * 'bar'))` - * - [图片同步预处理](http://docs.upyun.com/cloud/image/#_5) `write($path, $content, array('x-gmkerl-thumb' => '/format/png'))` - * @param bool $withAsyncProcess 默认为 `false`,当上传图片或者音视频资源时,可以设置该参数为 `true`,开启图片音视频的[异步处理功能](http://docs.upyun.com/api/form_api/#_6) ,例如: - *``` - * // 以下参数会将新上传的图片,再异步生成另一份 png 格式的图片,原图不受影响 - * write($path, $content, array( - * 'apps' => array( - * array( - * 'name' => 'thumb', //异步图片处理任务 - * 'x-gmkerl-thumb' => '/format/png', // 格式化图片为 png 格式 - * 'save_as': '/iamge/png/new.png', // 处理成功后的图片保存路径 - * 'notify_url': 'http://your.notify.url' // 异步任务完成后的回调地址 - * ) - * ) - * ), true); - *``` - * - * - * - * @return array|bool 若文件是图片则返回图片基本信息,如:`array('x-upyun-width' => 123, 'x-upyun-height' => 50, 'x-upyun-frames' - * => 1, 'x-upyun-file-type' => 'JPEG')`,否则返回空数组。当使用异步预处理功能时,返回结果为布尔值,成功为 `true`。 - * - * @throws \Exception 上传失败时,抛出异常 - */ - public function write($path, $content, $params = array(), $withAsyncProcess = false) - { - if (!$content) { - throw new \Exception('write content can not be empty.'); - } - - $upload = new Uploader($this->config); - $response = $upload->upload($path, $content, $params, $withAsyncProcess); - if ($withAsyncProcess) { - return $response; - } - return Util::getHeaderParams($response->getHeaders()); - } - - /** - * 读取云存储文件/目录内容 - * - * @param string $path 又拍云存储中的文件或者目录路径 - * @param resource $saveHandler 文件内容写入本地文件流。例如 `$saveHandler = fopen('/local/file', 'w') - * `。当设置该参数时,将以文件流的方式,直接将又拍云中的文件写入本地的文件流,或其他可以写入的流 - * @param array $params 可选参数,读取目录内容时,需要设置三个参数: `X-List-Iter` 分页开始位置(第一页不需要设置),`X-List-Limit` 获取的文件数量(默认 100,最大 - * 10000),`X-List-Order` 结果以时间正序或者倒序 - * - * @return mixed $return 当读取文件且没有设置 `$saveHandler` 参数时,返回一个字符串类型,表示文件内容;设置了 `$saveHandler` 参数时,返回布尔值 - * `true`。当读取目录时,返回一个数组,表示目录下的文件列表。目录下文件内容过多时,需要通过判断返回数组中的 `is_end` 属性,进行分页读取内容 - * - * @throws \Exception - */ - public function read($path, $saveHandler = null, $params = array()) - { - $req = new Rest($this->config); - $response = $req->request('GET', $path) - ->withHeaders($params) - ->send(); - - - $params = Util::getHeaderParams($response->getHeaders()); - - - if (! isset($params['x-upyun-list-iter'])) { - if (is_resource($saveHandler)) { - Psr7\copy_to_stream($response->getBody(), Psr7\stream_for($saveHandler)); - return true; - } else { - return $response->getBody()->getContents(); - } - } else { - $files = Util::parseDir($response->getBody()->getContents()); - return array('files' => $files, 'is_end' => $params['x-upyun-list-iter'] === 'g2gCZAAEbmV4dGQAA2VvZg', 'iter' => $params['x-upyun-list-iter']); - } - } - - /** - * 判断文件是否存在于又拍云存储 - * - * 注意: 对刚删除的文件, 立即调用该方法可能会返回 true, 因为服务端执行删除操作后可能会有很短暂的延迟. - * - * @param string $path 云存储的文件路径 - * - * @return bool 存在时返回 `true`,否则返回 `false` - * @throws \Exception - */ - public function has($path) - { - $req = new Rest($this->config); - try { - $req->request('HEAD', $path) - ->send(); - } catch (GuzzleHttp\Exception\BadResponseException $e) { - $statusCode = $e->getResponse()->getStatusCode(); - if ($statusCode === 404) { - return false; - } else { - throw $e; - } - } - - return true; - } - - /** - * 获取云存储文件/目录的基本信息 - * - * @param string $path 云存储的文件路径 - * @param array $otherHeaders 设置了后,方法将返回其他 http header 中的信息,默认为空 - * - * @return array 返回一个数组,默认包含以下 key - * - `x-upyun-file-type` 当 $path 是目录时,值为 *folder*,当 $path 是文件时,值为 *file*, - * - `x-upyun-file-size` 文件大小 - * - `x-upyun-file-date` 文件的创建时间 - */ - public function info($path, $otherHeaders = array()) - { - $req = new Rest($this->config); - $response = $req->request('HEAD', $path) - ->send(); - return Util::getHeaderParams($response->getHeaders(), $otherHeaders); - } - - /** - * 获取文件的文档类型 - * @param string $path 云存储文件路径 - * @return string 文档类型,e.g: `appcation/json`,获取失败返回空字符串 - */ - public function getMimetype($path) - { - $params = $this->info($path, array('content-type')); - if (isset($params['content-type'])) { - return explode(';', $params['content-type'])[0]; - } - return ''; - } - - /** - * 删除文件或者目录 - * - * @param string $path 文件或目录在又拍云存储的路径 - * @param bool $async 是否异步删除,默认为 false,表示同步删除。当需要批量删除大量文件时,必须选择异步删除 - * - * @return bool 删除成功返回 true,否则 false - * @throws \Exception 删除不存在的文件将会抛出异常 - */ - public function delete($path, $async = false) - { - $req = new Rest($this->config); - $req->request('DELETE', $path); - if ($async) { - $req->withHeader('x-upyun-async', 'true'); - } - $res = $req->send(); - return $res->getStatusCode() === 200; - } - - /** - * 创建目录 - * - * @param string $path 需要在又拍云存储创建的目录路径 - * - * @return bool 创建成功返回 true,否则返回 false - * @throws \Exception - */ - public function createDir($path) - { - $path = rtrim($path, '/') . '/'; - $req = new Rest($this->config); - $res = $req->request('POST', $path) - ->withHeader('folder', 'true') - ->send(); - return $res->getStatusCode() === 200; - } - - /** - * 删除文件或者目录 - * - * @param string $path 需要被删除的云存储文件或目录路径 - * - * @return bool 成功返回 true,否则 false - * @throws \Exception - */ - public function deleteDir($path) - { - return $this->delete($path); - } - - /** - * 获取目录下存储使用量 - * - * @param string $path 云存储目录路径,默认为根目录,表示整个云存储服务使用的空间大小 - * @return string 存储使用量,单位字节 - * @throws \Exception - */ - public function usage($path = '/') - { - $path = rtrim($path, '/') . '/'; - $req = new Rest($this->config); - $response = $req->request('GET', $path . '?usage') - ->send(); - - return $response->getBody()->getContents(); - } - - /** - * 复制文件。只能操作文件,不能操作文件夹。 - * - * @param string $source 源文件地址 - * @param string $target 目标文件地址 - * @return bool 复制成功返回 true,否则 false - * @throws \Exception - */ - public function copy($source, $target) - { - $source = '/' . $this->config->serviceName . '/' . ltrim($source, '/'); - $req = new Rest($this->config); - $response = $req->request('PUT', $target) - ->withHeader('X-Upyun-Copy-Source', $source) - ->send(); - return util::isSuccess($response->getStatusCode()); - } - - /** - * 移动文件。可以进行文件重命名、文件移动,只能操作文件,不能操作文件夹。 - * - * @param string $source 源文件地址 - * @param string $target 目标文件地址 - * @return bool 移动成功返回 true,否则 false - * @throws \Exception - */ - public function move($source, $target) - { - $source = '/' . $this->config->serviceName . '/' . ltrim($source, '/'); - $req = new Rest($this->config); - $response = $req->request('PUT', $target) - ->withHeader('X-Upyun-Move-Source', $source) - ->send(); - return util::isSuccess($response->getStatusCode()); - } - - /** - * 刷新缓存 - * - * @param array|string $urls 需要刷新的文件 url 列表 - * - * @return array 刷新失败的 url 列表,若全部刷新成功则为空数组 - */ - public function purge($urls) - { - $urlString = $urls; - if (is_array($urls)) { - $urlString = implode("\n", $urls); - } - - $client = new Client([ - 'timeout' => $this->config->timeout - ]); - $response = $client->request('POST', Config::ED_PURGE, [ - 'headers' => Signature::getPurgeSignHeader($this->config, $urlString), - 'form_params' => ['purge' => $urlString] - ]); - $result = json_decode($response->getBody()->getContents(), true); - return $result['invalid_domain_of_url']; - } - - /** - * 异步云处理 - * - * 该方法是基于[又拍云云处理](http://docs.upyun.com/cloud/) 服务实现,可以实现音视频的转码、切片、剪辑;文件的压缩解压缩;文件拉取功能 - * - * 注意: - * - 所有需要调用该方法处理的资源,必须已经上传到云存储服务 - * - 使用 `process` 之前,必须配置 `config->processNotifyUrl`,否则会提交任务失败 - * - * 例如视频转码: - * ``` - * process(array( - * array( - * 'type' => 'video', // video 表示视频任务, audio 表示音频任务 - * 'avopts' => '/s/240p(4:3)/as/1/r/30', // 处理参数,`s` 表示输出的分辨率,`r` 表示视频帧率,`as` 表示是否自动调整分辨率 - * 'save_as' => '/video/240/new.mp4', // 新视频在又拍云存储的保存路径 - * ), - * ... // 同时还可以添加其他任务 - * ), Upyun::$PROCESS_TYPE_MEDIA, $source) - * ``` - * - * @param array $tasks 需要处理的任务 - * @param string $type 异步云处理任务类型,可选值: - * - `Upyun::$PROCESS_TYPE_MEDIA` 异步音视频处理 - * - `Upyun::$PROCESS_TYPE_ZIP` 文件压缩 - * - `Upyun::$PROCESS_TYPE_UNZIP` 文件解压 - * - `Upyun::$PROCESS_TYPE_SYNC_FILE` 文件拉取 - * - `Upyun::$PROCESS_TYPE_STITCH` 图片拼接 - * @param string $source 可选参数,处理异步音视频任务时,需要传递该参数,表示需要处理的文件路径 - * - * @return array 任务 ID,提交了多少任务,便会返回多少任务 ID,与提交任务的顺序保持一致。可以通过任务 ID 查询处理进度。格式如下: - * ``` - * array( - * '35f0148d414a688a275bf915ba7cebb2', - * '98adbaa52b2f63d6d7f327a0ff223348', - * ) - * ``` - * @throws \Exception - */ - public function process($tasks, $type, $source = '') - { - $video = new Api\Pretreat($this->config); - - $options = array(); - switch($type) { - case self::$PROCESS_TYPE_MEDIA: - $options['accept'] = 'json'; - $options['source'] = $source; - break; - case self::$PROCESS_TYPE_ZIP: - $options['app_name'] = 'compress'; - break; - case self::$PROCESS_TYPE_UNZIP: - $options['app_name'] = 'depress'; - break; - case self::$PROCESS_TYPE_SYNC_FILE: - $options['app_name'] = 'spiderman'; - break; - case self::$PROCESS_TYPE_CONVERT: - $options['app_name'] = 'uconvert'; - break; - case self::$PROCESS_TYPE_STITCH: - $options['app_name'] = 'jigsaw'; - break; - default: - throw new \Exception('upyun - not support process type.'); - - } - return $video->process($tasks, $options); - } - - /** - * 查询异步云处理任务进度 - * - * 根据 `process` 方法返回的任务 ID,通过该访问查询处理进度 - * - * @param array $taskIds 任务 ID - * - * @return bool|array 查询失败返回布尔值 `false`,否则返回每个任务的百分比进度信息,格式如下: - * ``` - * array( - * '35f0148d414a688a275bf915ba7cebb2' => 100, // 100 表示任务完成 - * 'c3103189fa906a5354d29bd807e8dc51' => 35, - * '98adbaa52b2f63d6d7f327a0ff223348' => null, // null 表示任务未开始,或异常 - * ) - * ``` - */ - public function queryProcessStatus($taskIds) - { - $video = new Api\Pretreat($this->config); - return $video->query($taskIds, '/status/'); - } - - /** - * 查询异步云处理任务结果 - * - * 根据 `process` 方法返回的任务 ID,通过该访问查询处理结果,会包含每个任务详细信息 - * @param array $taskIds 任务 ID - * - * @return bool|mixed 查询失败返回 `false`,否则返回每个任务的处理结果,格式如下: - * ``` - * array( - * '9d9c32b63a1034834e77672c6f51f661' => array( - * 'path' => array('/v2.mp4'), - * 'signature' => '4042c1f07f546d28', - * 'status_code' => 200, - * 'service_name' => 'your_storage_service', - * 'description' => 'OK', - * 'task_id' => '9d9c32b63a1034834e77672c6f51f661', - * 'timestamp' => 1472010684 - * ) - * ) - * ``` - */ - public function queryProcessResult($taskIds) - { - $video = new Api\Pretreat($this->config); - return $video->query($taskIds, '/result/'); - } - - /** - * 多个 m3u8 文件拼接 - * @param array $files 保存在又拍云云存储中的多个 m3u8 文件路径 - * @param string $saveAs 拼接生成的新 m3u8 文件保存路径 - * - * @return array 见 [m3u8 拼接 - 响应](http://docs.upyun.com/cloud/sync_video/#_3) - */ - public function m3u8Concat($files, $saveAs) - { - $p = new Api\SyncVideo($this->config); - return $p->process([ - 'm3u8s' => $files, - 'save_as' => $saveAs, - ], '/m3u8er/concat'); - } - - /** - * 单个 m3u8 文件剪辑 - * @param string $file 需要剪辑的又拍云云存储中的 m3u8 文件路径 - * @param string $saveAs 剪辑完成后新的 m3u8 文件保存路径 - * @param array $slice 需要被保留或删除的片段。 - * @param bool $isInclude 默认为 `true` 表示 `$slice` 参数描述的片段被保留,否则表示 `$slice` 参数描述的片段被删除 - * @param bool $index 指定 `$slice` 参数的格式,默认为 `false` 表示使用时间范围描述片段,单位秒:`[<开始时间>, <结束时间>]`;`true` 表示使用 `m3u8` 文件的分片序号,从 0 开始,这种方式可以一次对多个片段操作 - * - * @return array 见 [m3u8 剪辑 - 响应](http://docs.upyun.com/cloud/sync_video/#_6) - */ - public function m3u8Clip($file, $saveAs, $slice = array(), $isInclude = true, $index = false) - { - $p = new Api\SyncVideo($this->config); - $params = [ - 'm3u8' => $file, - 'save_as' => $saveAs, - 'index' => $index, - ]; - if ($isInclude) { - $params['include'] = $slice; - } else { - $params['exclude'] = $slice; - } - return $p->process($params, '/m3u8er/clip'); - } - - /** - * 获取单个 m3u8 文件描述信息 - * @param string $file 又拍云云存储的中的 m3u8 文件路径 - * - * @return array 见 [获取 m3u8 信息 - 响应](http://docs.upyun.com/cloud/sync_video/#_6) - */ - public function m3u8Meta($file) - { - $p = new Api\SyncVideo($this->config); - return $p->process([ - 'm3u8' => $file, - ], '/m3u8er/get_meta'); - } - - /** - * 视频截图,可以对 mp4、m3u8 等视频文件进行截图 - * @param string $file 需要截图的又拍云云存储中的视频文件路径 - * @param string $saveAs 截图保存路径 - * @param string $point 截图时间点,`HH:MM:SS` 格式 - * @param string $size 截图尺寸 `宽x高` 格式的字符串。默认和视频尺寸一致 - * @param string $format 截图保存的格式,默认根据 `$saveAs` 参数的后缀生成,可以指定 `jpg | png | webp` 三种格式 - * - * @return array 见 [视频截图 - 响应](http://docs.upyun.com/cloud/sync_video/#m3u8_2) - */ - public function snapshot($file, $saveAs, $point, $size = '', $format = '') - { - $p = new Api\SyncVideo($this->config); - $params = [ - 'source' => $file, - 'save_as' => $saveAs, - 'point' => $point, - ]; - if ($size) { - $params['size'] = $size; - } - if ($format) { - $params['format'] = $format; - } - return $p->process($params, '/snapshot'); - } - - /** - * 获取音视频文件元信息 - * @param string $file 又拍云云存储的中的音视频文件路径 - * - * @return array 见 [获取音视频文件信息 - 响应](http://docs.upyun.com/cloud/sync_video/#_16) - */ - public function avMeta($file) - { - $p = new Api\SyncVideo($this->config); - return $p->process([ - 'source' => $file, - ], '/avmeta/get_meta'); - } -} diff --git a/vendor/upyun/sdk/src/Upyun/Util.php b/vendor/upyun/sdk/src/Upyun/Util.php deleted file mode 100644 index ed0fdced..00000000 --- a/vendor/upyun/sdk/src/Upyun/Util.php +++ /dev/null @@ -1,95 +0,0 @@ - $value) { - $header = strtolower($header); - if (strpos($header, 'x-upyun-') !== false) { - $params[$header] = $value[0]; - } else if (in_array($header, $otherParams)) { - $params[$header] = $value[0]; - } - } - return $params; - } - - public static function parseDir($body) - { - $files = array(); - if (!$body) { - return array(); - } - - $lines = explode("\n", $body); - foreach ($lines as $line) { - $file = []; - list($file['name'], $file['type'], $file['size'], $file['time']) = explode("\t", $line, 4); - $files[] = $file; - } - - return $files; - } - - public static function base64Json($params) - { - return base64_encode(json_encode($params, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE)); - } - - public static function stringifyHeaders($headers) - { - $return = array(); - foreach ($headers as $key => $value) { - $return[] = "$key: $value"; - } - return $return; - } - - public static function md5Hash($resource) - { - rewind($resource); - $ctx = hash_init('md5'); - hash_update_stream($ctx, $resource); - $md5 = hash_final($ctx); - return $md5; - } - - /** - * GuzzleHttp\Psr\Uri use `parse_url`,not good for utf-8, - * So should `encodeURI` first, before `new Psr7\Request` - * @see http://stackoverflow.com/questions/4929584/encodeuri-in-php - */ - public static function encodeURI($url) - { - $unescaped = array( - '%2D'=>'-','%5F'=>'_','%2E'=>'.','%21'=>'!', '%7E'=>'~', - '%2A'=>'*', '%27'=>"'", '%28'=>'(', '%29'=>')' - ); - $reserved = array( - '%3B'=>';','%2C'=>',','%2F'=>'/','%3F'=>'?','%3A'=>':', - '%40'=>'@','%26'=>'&','%3D'=>'=','%2B'=>'+','%24'=>'$' - ); - $score = array( - '%23'=>'#' - ); - return strtr(rawurlencode($url), array_merge($reserved, $unescaped, $score)); - } - - public static function isSuccess($code) - { - return $code >= 200 && $code < 300; - } -} diff --git a/webpack.mix.js b/webpack.mix.js new file mode 100644 index 00000000..2a22dc12 --- /dev/null +++ b/webpack.mix.js @@ -0,0 +1,17 @@ +const mix = require('laravel-mix'); + +/* + |-------------------------------------------------------------------------- + | Mix Asset Management + |-------------------------------------------------------------------------- + | + | Mix provides a clean, fluent API for defining some Webpack build steps + | for your Laravel applications. By default, we are compiling the CSS + | file for the application as well as bundling up all the JS files. + | + */ + +mix.js('resources/js/app.js', 'public/js') + .postCss('resources/css/app.css', 'public/css', [ + // + ]);